]> git.sur5r.net Git - glabels/blob - configure
Imported Upstream version 3.2.0
[glabels] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for glabels 3.2.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='glabels'
593 PACKAGE_TARNAME='glabels'
594 PACKAGE_VERSION='3.2.0'
595 PACKAGE_STRING='glabels 3.2.0'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
597 PACKAGE_URL=''
598
599 ac_unique_file="src/glabels.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 MKINSTALLDIRS
641 POSUB
642 POFILES
643 PO_IN_DATADIR_FALSE
644 PO_IN_DATADIR_TRUE
645 INTLLIBS
646 INSTOBJEXT
647 GMOFILES
648 CATOBJEXT
649 CATALOGS
650 MSGFMT_OPTS
651 GETTEXT_PACKAGE
652 DISABLE_DEPRECATED_CFLAGS
653 LIBIEC16022_LIBS
654 LIBIEC16022_CFLAGS
655 LIBQRENCODE_LIBS
656 LIBQRENCODE_CFLAGS
657 LIBZINT_LIBS
658 LIBZINT_CFLAGS
659 LIBBARCODE_LIBS
660 LIBBARCODE_CFLAGS
661 LIBEBOOK_LIBS
662 LIBEBOOK_CFLAGS
663 LIBGLBARCODE_LIBS
664 LIBGLBARCODE_CFLAGS
665 LIBGLABELS_LIBS
666 LIBGLABELS_CFLAGS
667 GLABELS_LIBS
668 GLABELS_CFLAGS
669 LIBZINT_REQUIRED
670 LIBIEC16022_REQUIRED
671 LIBQRENCODE_REQUIRED
672 LIBBARCODE_REQUIRED
673 LIBEBOOK_REQUIRED
674 PANGO_REQUIRED
675 CAIRO_REQUIRED
676 LIBRSVG_REQUIRED
677 LIBXML_REQUIRED
678 GTK_REQUIRED
679 GLIB_REQUIRED
680 LIBGLBARCODE_API_VERSION
681 LIBGLABELS_API_VERSION
682 LIBGLBARCODE_BRANCH
683 LIBGLABELS_BRANCH
684 GLABELS_BRANCH
685 GTK_UPDATE_ICON_CACHE
686 GDK_PIXBUF_CSOURCE
687 GLIB_GENMARSHAL
688 WARN_CFLAGS
689 GSETTINGS_RULES
690 GLIB_COMPILE_SCHEMAS
691 gsettingsschemadir
692 GSETTINGS_DISABLE_SCHEMAS_COMPILE
693 GTK_DOC_USE_REBASE_FALSE
694 GTK_DOC_USE_REBASE_TRUE
695 GTK_DOC_USE_LIBTOOL_FALSE
696 GTK_DOC_USE_LIBTOOL_TRUE
697 GTK_DOC_BUILD_PDF_FALSE
698 GTK_DOC_BUILD_PDF_TRUE
699 GTK_DOC_BUILD_HTML_FALSE
700 GTK_DOC_BUILD_HTML_TRUE
701 ENABLE_GTK_DOC_FALSE
702 ENABLE_GTK_DOC_TRUE
703 GTKDOC_DEPS_LIBS
704 GTKDOC_DEPS_CFLAGS
705 HTML_DIR
706 GTKDOC_MKPDF
707 GTKDOC_REBASE
708 GTKDOC_CHECK
709 YELP_HELP_RULES
710 XMLLINT
711 ITSTOOL
712 HELP_DIR
713 CPP
714 OTOOL64
715 OTOOL
716 LIPO
717 NMEDIT
718 DSYMUTIL
719 MANIFEST_TOOL
720 RANLIB
721 ac_ct_AR
722 AR
723 DLLTOOL
724 OBJDUMP
725 LN_S
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 EGREP
732 GREP
733 SED
734 host_os
735 host_vendor
736 host_cpu
737 host
738 build_os
739 build_vendor
740 build_cpu
741 build
742 LIBTOOL
743 PKG_CONFIG_LIBDIR
744 PKG_CONFIG_PATH
745 PKG_CONFIG
746 DATADIRNAME
747 am__fastdepCC_FALSE
748 am__fastdepCC_TRUE
749 CCDEPMODE
750 am__nodep
751 AMDEPBACKSLASH
752 AMDEP_FALSE
753 AMDEP_TRUE
754 am__quote
755 am__include
756 DEPDIR
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
763 CC
764 ALL_LINGUAS
765 INTLTOOL_PERL
766 GMSGFMT
767 MSGFMT
768 MSGMERGE
769 XGETTEXT
770 INTLTOOL_POLICY_RULE
771 INTLTOOL_SERVICE_RULE
772 INTLTOOL_THEME_RULE
773 INTLTOOL_SCHEMAS_RULE
774 INTLTOOL_CAVES_RULE
775 INTLTOOL_XML_NOMERGE_RULE
776 INTLTOOL_XML_RULE
777 INTLTOOL_KBD_RULE
778 INTLTOOL_XAM_RULE
779 INTLTOOL_UI_RULE
780 INTLTOOL_SOUNDLIST_RULE
781 INTLTOOL_SHEET_RULE
782 INTLTOOL_SERVER_RULE
783 INTLTOOL_PONG_RULE
784 INTLTOOL_OAF_RULE
785 INTLTOOL_PROP_RULE
786 INTLTOOL_KEYS_RULE
787 INTLTOOL_DIRECTORY_RULE
788 INTLTOOL_DESKTOP_RULE
789 intltool__v_merge_options_0
790 intltool__v_merge_options_
791 INTLTOOL_V_MERGE_OPTIONS
792 INTLTOOL__v_MERGE_0
793 INTLTOOL__v_MERGE_
794 INTLTOOL_V_MERGE
795 INTLTOOL_EXTRACT
796 INTLTOOL_MERGE
797 INTLTOOL_UPDATE
798 USE_NLS
799 AM_BACKSLASH
800 AM_DEFAULT_VERBOSITY
801 AM_DEFAULT_V
802 AM_V
803 MAINT
804 MAINTAINER_MODE_FALSE
805 MAINTAINER_MODE_TRUE
806 am__untar
807 am__tar
808 AMTAR
809 am__leading_dot
810 SET_MAKE
811 AWK
812 mkdir_p
813 MKDIR_P
814 INSTALL_STRIP_PROGRAM
815 STRIP
816 install_sh
817 MAKEINFO
818 AUTOHEADER
819 AUTOMAKE
820 AUTOCONF
821 ACLOCAL
822 VERSION
823 PACKAGE
824 CYGPATH_W
825 am__isrc
826 INSTALL_DATA
827 INSTALL_SCRIPT
828 INSTALL_PROGRAM
829 target_alias
830 host_alias
831 build_alias
832 LIBS
833 ECHO_T
834 ECHO_N
835 ECHO_C
836 DEFS
837 mandir
838 localedir
839 libdir
840 psdir
841 pdfdir
842 dvidir
843 htmldir
844 infodir
845 docdir
846 oldincludedir
847 includedir
848 localstatedir
849 sharedstatedir
850 sysconfdir
851 datadir
852 datarootdir
853 libexecdir
854 sbindir
855 bindir
856 program_transform_name
857 prefix
858 exec_prefix
859 PACKAGE_URL
860 PACKAGE_BUGREPORT
861 PACKAGE_STRING
862 PACKAGE_VERSION
863 PACKAGE_TARNAME
864 PACKAGE_NAME
865 PATH_SEPARATOR
866 SHELL'
867 ac_subst_files=''
868 ac_user_opts='
869 enable_option_checking
870 enable_maintainer_mode
871 enable_silent_rules
872 enable_nls
873 enable_dependency_tracking
874 enable_shared
875 enable_static
876 with_pic
877 enable_fast_install
878 with_gnu_ld
879 with_sysroot
880 enable_libtool_lock
881 with_help_dir
882 with_html_dir
883 enable_gtk_doc
884 enable_gtk_doc_html
885 enable_gtk_doc_pdf
886 enable_schemas_compile
887 enable_compile_warnings
888 enable_iso_c
889 with_libebook
890 with_libbarcode
891 with_libzint
892 with_libqrencode
893 with_libiec16022
894 enable_deprecations
895 '
896       ac_precious_vars='build_alias
897 host_alias
898 target_alias
899 CC
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
904 PKG_CONFIG
905 PKG_CONFIG_PATH
906 PKG_CONFIG_LIBDIR
907 CPP
908 ITSTOOL
909 XMLLINT
910 GTKDOC_DEPS_CFLAGS
911 GTKDOC_DEPS_LIBS
912 GLABELS_CFLAGS
913 GLABELS_LIBS
914 LIBGLABELS_CFLAGS
915 LIBGLABELS_LIBS
916 LIBGLBARCODE_CFLAGS
917 LIBGLBARCODE_LIBS
918 LIBEBOOK_CFLAGS
919 LIBEBOOK_LIBS
920 LIBQRENCODE_CFLAGS
921 LIBQRENCODE_LIBS
922 LIBIEC16022_CFLAGS
923 LIBIEC16022_LIBS'
924
925
926 # Initialize some variables set by options.
927 ac_init_help=
928 ac_init_version=false
929 ac_unrecognized_opts=
930 ac_unrecognized_sep=
931 # The variables have the same names as the options, with
932 # dashes changed to underlines.
933 cache_file=/dev/null
934 exec_prefix=NONE
935 no_create=
936 no_recursion=
937 prefix=NONE
938 program_prefix=NONE
939 program_suffix=NONE
940 program_transform_name=s,x,x,
941 silent=
942 site=
943 srcdir=
944 verbose=
945 x_includes=NONE
946 x_libraries=NONE
947
948 # Installation directory options.
949 # These are left unexpanded so users can "make install exec_prefix=/foo"
950 # and all the variables that are supposed to be based on exec_prefix
951 # by default will actually change.
952 # Use braces instead of parens because sh, perl, etc. also accept them.
953 # (The list follows the same order as the GNU Coding Standards.)
954 bindir='${exec_prefix}/bin'
955 sbindir='${exec_prefix}/sbin'
956 libexecdir='${exec_prefix}/libexec'
957 datarootdir='${prefix}/share'
958 datadir='${datarootdir}'
959 sysconfdir='${prefix}/etc'
960 sharedstatedir='${prefix}/com'
961 localstatedir='${prefix}/var'
962 includedir='${prefix}/include'
963 oldincludedir='/usr/include'
964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
965 infodir='${datarootdir}/info'
966 htmldir='${docdir}'
967 dvidir='${docdir}'
968 pdfdir='${docdir}'
969 psdir='${docdir}'
970 libdir='${exec_prefix}/lib'
971 localedir='${datarootdir}/locale'
972 mandir='${datarootdir}/man'
973
974 ac_prev=
975 ac_dashdash=
976 for ac_option
977 do
978   # If the previous option needs an argument, assign it.
979   if test -n "$ac_prev"; then
980     eval $ac_prev=\$ac_option
981     ac_prev=
982     continue
983   fi
984
985   case $ac_option in
986   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
987   *=)   ac_optarg= ;;
988   *)    ac_optarg=yes ;;
989   esac
990
991   # Accept the important Cygnus configure options, so we can diagnose typos.
992
993   case $ac_dashdash$ac_option in
994   --)
995     ac_dashdash=yes ;;
996
997   -bindir | --bindir | --bindi | --bind | --bin | --bi)
998     ac_prev=bindir ;;
999   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1000     bindir=$ac_optarg ;;
1001
1002   -build | --build | --buil | --bui | --bu)
1003     ac_prev=build_alias ;;
1004   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1005     build_alias=$ac_optarg ;;
1006
1007   -cache-file | --cache-file | --cache-fil | --cache-fi \
1008   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1009     ac_prev=cache_file ;;
1010   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1011   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1012     cache_file=$ac_optarg ;;
1013
1014   --config-cache | -C)
1015     cache_file=config.cache ;;
1016
1017   -datadir | --datadir | --datadi | --datad)
1018     ac_prev=datadir ;;
1019   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1020     datadir=$ac_optarg ;;
1021
1022   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1023   | --dataroo | --dataro | --datar)
1024     ac_prev=datarootdir ;;
1025   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1026   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1027     datarootdir=$ac_optarg ;;
1028
1029   -disable-* | --disable-*)
1030     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1031     # Reject names that are not valid shell variable names.
1032     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033       as_fn_error $? "invalid feature name: $ac_useropt"
1034     ac_useropt_orig=$ac_useropt
1035     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036     case $ac_user_opts in
1037       *"
1038 "enable_$ac_useropt"
1039 "*) ;;
1040       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1041          ac_unrecognized_sep=', ';;
1042     esac
1043     eval enable_$ac_useropt=no ;;
1044
1045   -docdir | --docdir | --docdi | --doc | --do)
1046     ac_prev=docdir ;;
1047   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1048     docdir=$ac_optarg ;;
1049
1050   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1051     ac_prev=dvidir ;;
1052   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1053     dvidir=$ac_optarg ;;
1054
1055   -enable-* | --enable-*)
1056     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1057     # Reject names that are not valid shell variable names.
1058     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059       as_fn_error $? "invalid feature name: $ac_useropt"
1060     ac_useropt_orig=$ac_useropt
1061     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062     case $ac_user_opts in
1063       *"
1064 "enable_$ac_useropt"
1065 "*) ;;
1066       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1067          ac_unrecognized_sep=', ';;
1068     esac
1069     eval enable_$ac_useropt=\$ac_optarg ;;
1070
1071   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1072   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1073   | --exec | --exe | --ex)
1074     ac_prev=exec_prefix ;;
1075   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1076   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1077   | --exec=* | --exe=* | --ex=*)
1078     exec_prefix=$ac_optarg ;;
1079
1080   -gas | --gas | --ga | --g)
1081     # Obsolete; use --with-gas.
1082     with_gas=yes ;;
1083
1084   -help | --help | --hel | --he | -h)
1085     ac_init_help=long ;;
1086   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1087     ac_init_help=recursive ;;
1088   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1089     ac_init_help=short ;;
1090
1091   -host | --host | --hos | --ho)
1092     ac_prev=host_alias ;;
1093   -host=* | --host=* | --hos=* | --ho=*)
1094     host_alias=$ac_optarg ;;
1095
1096   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1097     ac_prev=htmldir ;;
1098   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1099   | --ht=*)
1100     htmldir=$ac_optarg ;;
1101
1102   -includedir | --includedir | --includedi | --included | --include \
1103   | --includ | --inclu | --incl | --inc)
1104     ac_prev=includedir ;;
1105   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1106   | --includ=* | --inclu=* | --incl=* | --inc=*)
1107     includedir=$ac_optarg ;;
1108
1109   -infodir | --infodir | --infodi | --infod | --info | --inf)
1110     ac_prev=infodir ;;
1111   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1112     infodir=$ac_optarg ;;
1113
1114   -libdir | --libdir | --libdi | --libd)
1115     ac_prev=libdir ;;
1116   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1117     libdir=$ac_optarg ;;
1118
1119   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1120   | --libexe | --libex | --libe)
1121     ac_prev=libexecdir ;;
1122   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1123   | --libexe=* | --libex=* | --libe=*)
1124     libexecdir=$ac_optarg ;;
1125
1126   -localedir | --localedir | --localedi | --localed | --locale)
1127     ac_prev=localedir ;;
1128   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1129     localedir=$ac_optarg ;;
1130
1131   -localstatedir | --localstatedir | --localstatedi | --localstated \
1132   | --localstate | --localstat | --localsta | --localst | --locals)
1133     ac_prev=localstatedir ;;
1134   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1135   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1136     localstatedir=$ac_optarg ;;
1137
1138   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1139     ac_prev=mandir ;;
1140   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1141     mandir=$ac_optarg ;;
1142
1143   -nfp | --nfp | --nf)
1144     # Obsolete; use --without-fp.
1145     with_fp=no ;;
1146
1147   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1148   | --no-cr | --no-c | -n)
1149     no_create=yes ;;
1150
1151   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1152   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1153     no_recursion=yes ;;
1154
1155   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1156   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1157   | --oldin | --oldi | --old | --ol | --o)
1158     ac_prev=oldincludedir ;;
1159   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1160   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1161   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1162     oldincludedir=$ac_optarg ;;
1163
1164   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1165     ac_prev=prefix ;;
1166   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1167     prefix=$ac_optarg ;;
1168
1169   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1170   | --program-pre | --program-pr | --program-p)
1171     ac_prev=program_prefix ;;
1172   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1173   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1174     program_prefix=$ac_optarg ;;
1175
1176   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1177   | --program-suf | --program-su | --program-s)
1178     ac_prev=program_suffix ;;
1179   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1180   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1181     program_suffix=$ac_optarg ;;
1182
1183   -program-transform-name | --program-transform-name \
1184   | --program-transform-nam | --program-transform-na \
1185   | --program-transform-n | --program-transform- \
1186   | --program-transform | --program-transfor \
1187   | --program-transfo | --program-transf \
1188   | --program-trans | --program-tran \
1189   | --progr-tra | --program-tr | --program-t)
1190     ac_prev=program_transform_name ;;
1191   -program-transform-name=* | --program-transform-name=* \
1192   | --program-transform-nam=* | --program-transform-na=* \
1193   | --program-transform-n=* | --program-transform-=* \
1194   | --program-transform=* | --program-transfor=* \
1195   | --program-transfo=* | --program-transf=* \
1196   | --program-trans=* | --program-tran=* \
1197   | --progr-tra=* | --program-tr=* | --program-t=*)
1198     program_transform_name=$ac_optarg ;;
1199
1200   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1201     ac_prev=pdfdir ;;
1202   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1203     pdfdir=$ac_optarg ;;
1204
1205   -psdir | --psdir | --psdi | --psd | --ps)
1206     ac_prev=psdir ;;
1207   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1208     psdir=$ac_optarg ;;
1209
1210   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1211   | -silent | --silent | --silen | --sile | --sil)
1212     silent=yes ;;
1213
1214   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1215     ac_prev=sbindir ;;
1216   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1217   | --sbi=* | --sb=*)
1218     sbindir=$ac_optarg ;;
1219
1220   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1221   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1222   | --sharedst | --shareds | --shared | --share | --shar \
1223   | --sha | --sh)
1224     ac_prev=sharedstatedir ;;
1225   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1226   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1227   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1228   | --sha=* | --sh=*)
1229     sharedstatedir=$ac_optarg ;;
1230
1231   -site | --site | --sit)
1232     ac_prev=site ;;
1233   -site=* | --site=* | --sit=*)
1234     site=$ac_optarg ;;
1235
1236   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1237     ac_prev=srcdir ;;
1238   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1239     srcdir=$ac_optarg ;;
1240
1241   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1242   | --syscon | --sysco | --sysc | --sys | --sy)
1243     ac_prev=sysconfdir ;;
1244   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1245   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1246     sysconfdir=$ac_optarg ;;
1247
1248   -target | --target | --targe | --targ | --tar | --ta | --t)
1249     ac_prev=target_alias ;;
1250   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1251     target_alias=$ac_optarg ;;
1252
1253   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1254     verbose=yes ;;
1255
1256   -version | --version | --versio | --versi | --vers | -V)
1257     ac_init_version=: ;;
1258
1259   -with-* | --with-*)
1260     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1261     # Reject names that are not valid shell variable names.
1262     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1263       as_fn_error $? "invalid package name: $ac_useropt"
1264     ac_useropt_orig=$ac_useropt
1265     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1266     case $ac_user_opts in
1267       *"
1268 "with_$ac_useropt"
1269 "*) ;;
1270       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1271          ac_unrecognized_sep=', ';;
1272     esac
1273     eval with_$ac_useropt=\$ac_optarg ;;
1274
1275   -without-* | --without-*)
1276     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1277     # Reject names that are not valid shell variable names.
1278     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279       as_fn_error $? "invalid package name: $ac_useropt"
1280     ac_useropt_orig=$ac_useropt
1281     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282     case $ac_user_opts in
1283       *"
1284 "with_$ac_useropt"
1285 "*) ;;
1286       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1287          ac_unrecognized_sep=', ';;
1288     esac
1289     eval with_$ac_useropt=no ;;
1290
1291   --x)
1292     # Obsolete; use --with-x.
1293     with_x=yes ;;
1294
1295   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1296   | --x-incl | --x-inc | --x-in | --x-i)
1297     ac_prev=x_includes ;;
1298   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1299   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1300     x_includes=$ac_optarg ;;
1301
1302   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1303   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1304     ac_prev=x_libraries ;;
1305   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1306   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1307     x_libraries=$ac_optarg ;;
1308
1309   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1310 Try \`$0 --help' for more information"
1311     ;;
1312
1313   *=*)
1314     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1315     # Reject names that are not valid shell variable names.
1316     case $ac_envvar in #(
1317       '' | [0-9]* | *[!_$as_cr_alnum]* )
1318       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1319     esac
1320     eval $ac_envvar=\$ac_optarg
1321     export $ac_envvar ;;
1322
1323   *)
1324     # FIXME: should be removed in autoconf 3.0.
1325     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1327       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1329     ;;
1330
1331   esac
1332 done
1333
1334 if test -n "$ac_prev"; then
1335   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1336   as_fn_error $? "missing argument to $ac_option"
1337 fi
1338
1339 if test -n "$ac_unrecognized_opts"; then
1340   case $enable_option_checking in
1341     no) ;;
1342     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1343     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1344   esac
1345 fi
1346
1347 # Check all directory arguments for consistency.
1348 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1349                 datadir sysconfdir sharedstatedir localstatedir includedir \
1350                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1351                 libdir localedir mandir
1352 do
1353   eval ac_val=\$$ac_var
1354   # Remove trailing slashes.
1355   case $ac_val in
1356     */ )
1357       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1358       eval $ac_var=\$ac_val;;
1359   esac
1360   # Be sure to have absolute directory names.
1361   case $ac_val in
1362     [\\/$]* | ?:[\\/]* )  continue;;
1363     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1364   esac
1365   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1366 done
1367
1368 # There might be people who depend on the old broken behavior: `$host'
1369 # used to hold the argument of --host etc.
1370 # FIXME: To remove some day.
1371 build=$build_alias
1372 host=$host_alias
1373 target=$target_alias
1374
1375 # FIXME: To remove some day.
1376 if test "x$host_alias" != x; then
1377   if test "x$build_alias" = x; then
1378     cross_compiling=maybe
1379   elif test "x$build_alias" != "x$host_alias"; then
1380     cross_compiling=yes
1381   fi
1382 fi
1383
1384 ac_tool_prefix=
1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1386
1387 test "$silent" = yes && exec 6>/dev/null
1388
1389
1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1391 ac_ls_di=`ls -di .` &&
1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1393   as_fn_error $? "working directory cannot be determined"
1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1395   as_fn_error $? "pwd does not report name of working directory"
1396
1397
1398 # Find the source files, if location was not specified.
1399 if test -z "$srcdir"; then
1400   ac_srcdir_defaulted=yes
1401   # Try the directory containing this script, then the parent directory.
1402   ac_confdir=`$as_dirname -- "$as_myself" ||
1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404          X"$as_myself" : 'X\(//\)[^/]' \| \
1405          X"$as_myself" : 'X\(//\)$' \| \
1406          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407 $as_echo X"$as_myself" |
1408     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1409             s//\1/
1410             q
1411           }
1412           /^X\(\/\/\)[^/].*/{
1413             s//\1/
1414             q
1415           }
1416           /^X\(\/\/\)$/{
1417             s//\1/
1418             q
1419           }
1420           /^X\(\/\).*/{
1421             s//\1/
1422             q
1423           }
1424           s/.*/./; q'`
1425   srcdir=$ac_confdir
1426   if test ! -r "$srcdir/$ac_unique_file"; then
1427     srcdir=..
1428   fi
1429 else
1430   ac_srcdir_defaulted=no
1431 fi
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1435 fi
1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 ac_abs_confdir=`(
1438         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1439         pwd)`
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1442   srcdir=.
1443 fi
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1447 case $srcdir in
1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1449 esac
1450 for ac_var in $ac_precious_vars; do
1451   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1452   eval ac_env_${ac_var}_value=\$${ac_var}
1453   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1454   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1455 done
1456
1457 #
1458 # Report the --help message.
1459 #
1460 if test "$ac_init_help" = "long"; then
1461   # Omit some internal or obsolete options to make the list less imposing.
1462   # This message is too long to be a string in the A/UX 3.1 sh.
1463   cat <<_ACEOF
1464 \`configure' configures glabels 3.2.0 to adapt to many kinds of systems.
1465
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1467
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE.  See below for descriptions of some of the useful variables.
1470
1471 Defaults for the options are specified in brackets.
1472
1473 Configuration:
1474   -h, --help              display this help and exit
1475       --help=short        display options specific to this package
1476       --help=recursive    display the short help of all the included packages
1477   -V, --version           display version information and exit
1478   -q, --quiet, --silent   do not print \`checking ...' messages
1479       --cache-file=FILE   cache test results in FILE [disabled]
1480   -C, --config-cache      alias for \`--cache-file=config.cache'
1481   -n, --no-create         do not create output files
1482       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1483
1484 Installation directories:
1485   --prefix=PREFIX         install architecture-independent files in PREFIX
1486                           [$ac_default_prefix]
1487   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1488                           [PREFIX]
1489
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1494
1495 For better control, use the options below.
1496
1497 Fine tuning of the installation directories:
1498   --bindir=DIR            user executables [EPREFIX/bin]
1499   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1500   --libexecdir=DIR        program executables [EPREFIX/libexec]
1501   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1502   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1503   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1504   --libdir=DIR            object code libraries [EPREFIX/lib]
1505   --includedir=DIR        C header files [PREFIX/include]
1506   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1507   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1508   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1509   --infodir=DIR           info documentation [DATAROOTDIR/info]
1510   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1511   --mandir=DIR            man documentation [DATAROOTDIR/man]
1512   --docdir=DIR            documentation root [DATAROOTDIR/doc/glabels]
1513   --htmldir=DIR           html documentation [DOCDIR]
1514   --dvidir=DIR            dvi documentation [DOCDIR]
1515   --pdfdir=DIR            pdf documentation [DOCDIR]
1516   --psdir=DIR             ps documentation [DOCDIR]
1517 _ACEOF
1518
1519   cat <<\_ACEOF
1520
1521 Program names:
1522   --program-prefix=PREFIX            prepend PREFIX to installed program names
1523   --program-suffix=SUFFIX            append SUFFIX to installed program names
1524   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1525
1526 System types:
1527   --build=BUILD     configure for building on BUILD [guessed]
1528   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1529 _ACEOF
1530 fi
1531
1532 if test -n "$ac_init_help"; then
1533   case $ac_init_help in
1534      short | recursive ) echo "Configuration of glabels 3.2.0:";;
1535    esac
1536   cat <<\_ACEOF
1537
1538 Optional Features:
1539   --disable-option-checking  ignore unrecognized --enable/--with options
1540   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1541   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1542   --enable-maintainer-mode  enable make rules and dependencies not useful
1543                           (and sometimes confusing) to the casual installer
1544   --enable-silent-rules          less verbose build output (undo: `make V=1')
1545   --disable-silent-rules         verbose build output (undo: `make V=0')
1546   --disable-nls           do not use Native Language Support
1547   --disable-dependency-tracking  speeds up one-time build
1548   --enable-dependency-tracking   do not reject slow dependency extractors
1549   --enable-shared[=PKGS]  build shared libraries [default=yes]
1550   --enable-static[=PKGS]  build static libraries [default=yes]
1551   --enable-fast-install[=PKGS]
1552                           optimize for fast installation [default=yes]
1553   --disable-libtool-lock  avoid locking (might break parallel builds)
1554   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1555   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1556   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1557   --disable-schemas-compile
1558                           Disable regeneration of gschemas.compiled on install
1559   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1560                           Turn on compiler warnings
1561   --enable-iso-c          Try to warn if code is not ISO C
1562   --enable-deprecations   warn about deprecated usages [default=no]
1563
1564 Optional Packages:
1565   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1566   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1567   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1568                           both]
1569   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1570   --with-sysroot=DIR Search for dependent libraries within DIR
1571                         (or the compiler's sysroot if not specified).
1572   --with-help-dir=DIR     path where help files are installed
1573   --with-html-dir=PATH    path to installed docs
1574   --without-libebook      build without Evolution Data Server support
1575   --without-libbarcode    build without GNU Barcode support
1576   --without-libzint       build without Zint Barcode support
1577   --without-libqrencode   build without QR code support
1578   --without-libiec16022   build without IEC 16022 support
1579
1580 Some influential environment variables:
1581   CC          C compiler command
1582   CFLAGS      C compiler flags
1583   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1584               nonstandard directory <lib dir>
1585   LIBS        libraries to pass to the linker, e.g. -l<library>
1586   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1587               you have headers in a nonstandard directory <include dir>
1588   PKG_CONFIG  path to pkg-config utility
1589   PKG_CONFIG_PATH
1590               directories to add to pkg-config's search path
1591   PKG_CONFIG_LIBDIR
1592               path overriding pkg-config's built-in search path
1593   CPP         C preprocessor
1594   ITSTOOL     Path to the `itstool` command
1595   XMLLINT     Path to the `xmllint` command
1596   GTKDOC_DEPS_CFLAGS
1597               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1598   GTKDOC_DEPS_LIBS
1599               linker flags for GTKDOC_DEPS, overriding pkg-config
1600   GLABELS_CFLAGS
1601               C compiler flags for GLABELS, overriding pkg-config
1602   GLABELS_LIBS
1603               linker flags for GLABELS, overriding pkg-config
1604   LIBGLABELS_CFLAGS
1605               C compiler flags for LIBGLABELS, overriding pkg-config
1606   LIBGLABELS_LIBS
1607               linker flags for LIBGLABELS, overriding pkg-config
1608   LIBGLBARCODE_CFLAGS
1609               C compiler flags for LIBGLBARCODE, overriding pkg-config
1610   LIBGLBARCODE_LIBS
1611               linker flags for LIBGLBARCODE, overriding pkg-config
1612   LIBEBOOK_CFLAGS
1613               C compiler flags for LIBEBOOK, overriding pkg-config
1614   LIBEBOOK_LIBS
1615               linker flags for LIBEBOOK, overriding pkg-config
1616   LIBQRENCODE_CFLAGS
1617               C compiler flags for LIBQRENCODE, overriding pkg-config
1618   LIBQRENCODE_LIBS
1619               linker flags for LIBQRENCODE, overriding pkg-config
1620   LIBIEC16022_CFLAGS
1621               C compiler flags for LIBIEC16022, overriding pkg-config
1622   LIBIEC16022_LIBS
1623               linker flags for LIBIEC16022, overriding pkg-config
1624
1625 Use these variables to override the choices made by `configure' or to help
1626 it to find libraries and programs with nonstandard names/locations.
1627
1628 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1629 _ACEOF
1630 ac_status=$?
1631 fi
1632
1633 if test "$ac_init_help" = "recursive"; then
1634   # If there are subdirs, report their specific --help.
1635   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1636     test -d "$ac_dir" ||
1637       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1638       continue
1639     ac_builddir=.
1640
1641 case "$ac_dir" in
1642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1643 *)
1644   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1645   # A ".." for each directory in $ac_dir_suffix.
1646   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1647   case $ac_top_builddir_sub in
1648   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1650   esac ;;
1651 esac
1652 ac_abs_top_builddir=$ac_pwd
1653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1654 # for backward compatibility:
1655 ac_top_builddir=$ac_top_build_prefix
1656
1657 case $srcdir in
1658   .)  # We are building in place.
1659     ac_srcdir=.
1660     ac_top_srcdir=$ac_top_builddir_sub
1661     ac_abs_top_srcdir=$ac_pwd ;;
1662   [\\/]* | ?:[\\/]* )  # Absolute name.
1663     ac_srcdir=$srcdir$ac_dir_suffix;
1664     ac_top_srcdir=$srcdir
1665     ac_abs_top_srcdir=$srcdir ;;
1666   *) # Relative name.
1667     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1668     ac_top_srcdir=$ac_top_build_prefix$srcdir
1669     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1670 esac
1671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1672
1673     cd "$ac_dir" || { ac_status=$?; continue; }
1674     # Check for guested configure.
1675     if test -f "$ac_srcdir/configure.gnu"; then
1676       echo &&
1677       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1678     elif test -f "$ac_srcdir/configure"; then
1679       echo &&
1680       $SHELL "$ac_srcdir/configure" --help=recursive
1681     else
1682       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1683     fi || ac_status=$?
1684     cd "$ac_pwd" || { ac_status=$?; break; }
1685   done
1686 fi
1687
1688 test -n "$ac_init_help" && exit $ac_status
1689 if $ac_init_version; then
1690   cat <<\_ACEOF
1691 glabels configure 3.2.0
1692 generated by GNU Autoconf 2.69
1693
1694 Copyright (C) 2012 Free Software Foundation, Inc.
1695 This configure script is free software; the Free Software Foundation
1696 gives unlimited permission to copy, distribute and modify it.
1697 _ACEOF
1698   exit
1699 fi
1700
1701 ## ------------------------ ##
1702 ## Autoconf initialization. ##
1703 ## ------------------------ ##
1704
1705 # ac_fn_c_try_compile LINENO
1706 # --------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_c_try_compile ()
1709 {
1710   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711   rm -f conftest.$ac_objext
1712   if { { ac_try="$ac_compile"
1713 case "(($ac_try" in
1714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715   *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719   (eval "$ac_compile") 2>conftest.err
1720   ac_status=$?
1721   if test -s conftest.err; then
1722     grep -v '^ *+' conftest.err >conftest.er1
1723     cat conftest.er1 >&5
1724     mv -f conftest.er1 conftest.err
1725   fi
1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727   test $ac_status = 0; } && {
1728          test -z "$ac_c_werror_flag" ||
1729          test ! -s conftest.err
1730        } && test -s conftest.$ac_objext; then :
1731   ac_retval=0
1732 else
1733   $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1735
1736         ac_retval=1
1737 fi
1738   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739   as_fn_set_status $ac_retval
1740
1741 } # ac_fn_c_try_compile
1742
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_c_try_link ()
1747 {
1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749   rm -f conftest.$ac_objext conftest$ac_exeext
1750   if { { ac_try="$ac_link"
1751 case "(($ac_try" in
1752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753   *) ac_try_echo=$ac_try;;
1754 esac
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757   (eval "$ac_link") 2>conftest.err
1758   ac_status=$?
1759   if test -s conftest.err; then
1760     grep -v '^ *+' conftest.err >conftest.er1
1761     cat conftest.er1 >&5
1762     mv -f conftest.er1 conftest.err
1763   fi
1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765   test $ac_status = 0; } && {
1766          test -z "$ac_c_werror_flag" ||
1767          test ! -s conftest.err
1768        } && test -s conftest$ac_exeext && {
1769          test "$cross_compiling" = yes ||
1770          test -x conftest$ac_exeext
1771        }; then :
1772   ac_retval=0
1773 else
1774   $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1776
1777         ac_retval=1
1778 fi
1779   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781   # interfere with the next link command; also delete a directory that is
1782   # left behind by Apple's compiler.  We do this before executing the actions.
1783   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785   as_fn_set_status $ac_retval
1786
1787 } # ac_fn_c_try_link
1788
1789 # ac_fn_c_check_func LINENO FUNC VAR
1790 # ----------------------------------
1791 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1792 ac_fn_c_check_func ()
1793 {
1794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798   $as_echo_n "(cached) " >&6
1799 else
1800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h.  */
1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1804 #define $2 innocuous_$2
1805
1806 /* System header to define __stub macros and hopefully few prototypes,
1807     which can conflict with char $2 (); below.
1808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809     <limits.h> exists even on freestanding compilers.  */
1810
1811 #ifdef __STDC__
1812 # include <limits.h>
1813 #else
1814 # include <assert.h>
1815 #endif
1816
1817 #undef $2
1818
1819 /* Override any GCC internal prototype to avoid an error.
1820    Use char because int might match the return type of a GCC
1821    builtin and then its argument prototype would still apply.  */
1822 #ifdef __cplusplus
1823 extern "C"
1824 #endif
1825 char $2 ();
1826 /* The GNU C library defines this for functions which it implements
1827     to always fail with ENOSYS.  Some functions are actually named
1828     something starting with __ and the normal name is an alias.  */
1829 #if defined __stub_$2 || defined __stub___$2
1830 choke me
1831 #endif
1832
1833 int
1834 main ()
1835 {
1836 return $2 ();
1837   ;
1838   return 0;
1839 }
1840 _ACEOF
1841 if ac_fn_c_try_link "$LINENO"; then :
1842   eval "$3=yes"
1843 else
1844   eval "$3=no"
1845 fi
1846 rm -f core conftest.err conftest.$ac_objext \
1847     conftest$ac_exeext conftest.$ac_ext
1848 fi
1849 eval ac_res=\$$3
1850                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
1854 } # ac_fn_c_check_func
1855
1856 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists and can be compiled using the include files in
1859 # INCLUDES, setting the cache variable VAR accordingly.
1860 ac_fn_c_check_header_compile ()
1861 {
1862   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866   $as_echo_n "(cached) " >&6
1867 else
1868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h.  */
1870 $4
1871 #include <$2>
1872 _ACEOF
1873 if ac_fn_c_try_compile "$LINENO"; then :
1874   eval "$3=yes"
1875 else
1876   eval "$3=no"
1877 fi
1878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879 fi
1880 eval ac_res=\$$3
1881                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1883   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884
1885 } # ac_fn_c_check_header_compile
1886
1887 # ac_fn_c_try_cpp LINENO
1888 # ----------------------
1889 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1890 ac_fn_c_try_cpp ()
1891 {
1892   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893   if { { ac_try="$ac_cpp conftest.$ac_ext"
1894 case "(($ac_try" in
1895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896   *) ac_try_echo=$ac_try;;
1897 esac
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1901   ac_status=$?
1902   if test -s conftest.err; then
1903     grep -v '^ *+' conftest.err >conftest.er1
1904     cat conftest.er1 >&5
1905     mv -f conftest.er1 conftest.err
1906   fi
1907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908   test $ac_status = 0; } > conftest.i && {
1909          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1910          test ! -s conftest.err
1911        }; then :
1912   ac_retval=0
1913 else
1914   $as_echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.$ac_ext >&5
1916
1917     ac_retval=1
1918 fi
1919   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920   as_fn_set_status $ac_retval
1921
1922 } # ac_fn_c_try_cpp
1923
1924 # ac_fn_c_try_run LINENO
1925 # ----------------------
1926 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1927 # that executables *can* be run.
1928 ac_fn_c_try_run ()
1929 {
1930   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931   if { { ac_try="$ac_link"
1932 case "(($ac_try" in
1933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934   *) ac_try_echo=$ac_try;;
1935 esac
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938   (eval "$ac_link") 2>&5
1939   ac_status=$?
1940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1942   { { case "(($ac_try" in
1943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944   *) ac_try_echo=$ac_try;;
1945 esac
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948   (eval "$ac_try") 2>&5
1949   ac_status=$?
1950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951   test $ac_status = 0; }; }; then :
1952   ac_retval=0
1953 else
1954   $as_echo "$as_me: program exited with status $ac_status" >&5
1955        $as_echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.$ac_ext >&5
1957
1958        ac_retval=$ac_status
1959 fi
1960   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1961   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962   as_fn_set_status $ac_retval
1963
1964 } # ac_fn_c_try_run
1965
1966 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1967 # -------------------------------------------------------
1968 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1969 # the include files in INCLUDES and setting the cache variable VAR
1970 # accordingly.
1971 ac_fn_c_check_header_mongrel ()
1972 {
1973   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974   if eval \${$3+:} false; then :
1975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if eval \${$3+:} false; then :
1978   $as_echo_n "(cached) " >&6
1979 fi
1980 eval ac_res=\$$3
1981                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1983 else
1984   # Is the header compilable?
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1986 $as_echo_n "checking $2 usability... " >&6; }
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h.  */
1989 $4
1990 #include <$2>
1991 _ACEOF
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993   ac_header_compiler=yes
1994 else
1995   ac_header_compiler=no
1996 fi
1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1999 $as_echo "$ac_header_compiler" >&6; }
2000
2001 # Is the header present?
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2003 $as_echo_n "checking $2 presence... " >&6; }
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h.  */
2006 #include <$2>
2007 _ACEOF
2008 if ac_fn_c_try_cpp "$LINENO"; then :
2009   ac_header_preproc=yes
2010 else
2011   ac_header_preproc=no
2012 fi
2013 rm -f conftest.err conftest.i conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2015 $as_echo "$ac_header_preproc" >&6; }
2016
2017 # So?  What about this header?
2018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2019   yes:no: )
2020     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2021 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2022     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2024     ;;
2025   no:yes:* )
2026     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2027 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2028     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2029 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2031 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2032     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2033 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2034     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2036 ( $as_echo "## ---------------------------------------------------------------------- ##
2037 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2038 ## ---------------------------------------------------------------------- ##"
2039      ) | sed "s/^/$as_me: WARNING:     /" >&2
2040     ;;
2041 esac
2042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval \${$3+:} false; then :
2045   $as_echo_n "(cached) " >&6
2046 else
2047   eval "$3=\$ac_header_compiler"
2048 fi
2049 eval ac_res=\$$3
2050                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 fi
2053   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054
2055 } # ac_fn_c_check_header_mongrel
2056 cat >config.log <<_ACEOF
2057 This file contains any messages produced by compilers while
2058 running configure, to aid debugging if configure makes a mistake.
2059
2060 It was created by glabels $as_me 3.2.0, which was
2061 generated by GNU Autoconf 2.69.  Invocation command line was
2062
2063   $ $0 $@
2064
2065 _ACEOF
2066 exec 5>>config.log
2067 {
2068 cat <<_ASUNAME
2069 ## --------- ##
2070 ## Platform. ##
2071 ## --------- ##
2072
2073 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2074 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2075 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2076 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2077 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2078
2079 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2080 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2081
2082 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2083 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2084 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2085 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2086 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2087 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2088 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2089
2090 _ASUNAME
2091
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 for as_dir in $PATH
2094 do
2095   IFS=$as_save_IFS
2096   test -z "$as_dir" && as_dir=.
2097     $as_echo "PATH: $as_dir"
2098   done
2099 IFS=$as_save_IFS
2100
2101 } >&5
2102
2103 cat >&5 <<_ACEOF
2104
2105
2106 ## ----------- ##
2107 ## Core tests. ##
2108 ## ----------- ##
2109
2110 _ACEOF
2111
2112
2113 # Keep a trace of the command line.
2114 # Strip out --no-create and --no-recursion so they do not pile up.
2115 # Strip out --silent because we don't want to record it for future runs.
2116 # Also quote any args containing shell meta-characters.
2117 # Make two passes to allow for proper duplicate-argument suppression.
2118 ac_configure_args=
2119 ac_configure_args0=
2120 ac_configure_args1=
2121 ac_must_keep_next=false
2122 for ac_pass in 1 2
2123 do
2124   for ac_arg
2125   do
2126     case $ac_arg in
2127     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2128     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129     | -silent | --silent | --silen | --sile | --sil)
2130       continue ;;
2131     *\'*)
2132       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2133     esac
2134     case $ac_pass in
2135     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2136     2)
2137       as_fn_append ac_configure_args1 " '$ac_arg'"
2138       if test $ac_must_keep_next = true; then
2139         ac_must_keep_next=false # Got value, back to normal.
2140       else
2141         case $ac_arg in
2142           *=* | --config-cache | -C | -disable-* | --disable-* \
2143           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2144           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2145           | -with-* | --with-* | -without-* | --without-* | --x)
2146             case "$ac_configure_args0 " in
2147               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2148             esac
2149             ;;
2150           -* ) ac_must_keep_next=true ;;
2151         esac
2152       fi
2153       as_fn_append ac_configure_args " '$ac_arg'"
2154       ;;
2155     esac
2156   done
2157 done
2158 { ac_configure_args0=; unset ac_configure_args0;}
2159 { ac_configure_args1=; unset ac_configure_args1;}
2160
2161 # When interrupted or exit'd, cleanup temporary files, and complete
2162 # config.log.  We remove comments because anyway the quotes in there
2163 # would cause problems or look ugly.
2164 # WARNING: Use '\'' to represent an apostrophe within the trap.
2165 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2166 trap 'exit_status=$?
2167   # Save into config.log some information that might help in debugging.
2168   {
2169     echo
2170
2171     $as_echo "## ---------------- ##
2172 ## Cache variables. ##
2173 ## ---------------- ##"
2174     echo
2175     # The following way of writing the cache mishandles newlines in values,
2176 (
2177   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2178     eval ac_val=\$$ac_var
2179     case $ac_val in #(
2180     *${as_nl}*)
2181       case $ac_var in #(
2182       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2184       esac
2185       case $ac_var in #(
2186       _ | IFS | as_nl) ;; #(
2187       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2188       *) { eval $ac_var=; unset $ac_var;} ;;
2189       esac ;;
2190     esac
2191   done
2192   (set) 2>&1 |
2193     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2194     *${as_nl}ac_space=\ *)
2195       sed -n \
2196         "s/'\''/'\''\\\\'\'''\''/g;
2197           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2198       ;; #(
2199     *)
2200       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2201       ;;
2202     esac |
2203     sort
2204 )
2205     echo
2206
2207     $as_echo "## ----------------- ##
2208 ## Output variables. ##
2209 ## ----------------- ##"
2210     echo
2211     for ac_var in $ac_subst_vars
2212     do
2213       eval ac_val=\$$ac_var
2214       case $ac_val in
2215       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216       esac
2217       $as_echo "$ac_var='\''$ac_val'\''"
2218     done | sort
2219     echo
2220
2221     if test -n "$ac_subst_files"; then
2222       $as_echo "## ------------------- ##
2223 ## File substitutions. ##
2224 ## ------------------- ##"
2225       echo
2226       for ac_var in $ac_subst_files
2227       do
2228         eval ac_val=\$$ac_var
2229         case $ac_val in
2230         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231         esac
2232         $as_echo "$ac_var='\''$ac_val'\''"
2233       done | sort
2234       echo
2235     fi
2236
2237     if test -s confdefs.h; then
2238       $as_echo "## ----------- ##
2239 ## confdefs.h. ##
2240 ## ----------- ##"
2241       echo
2242       cat confdefs.h
2243       echo
2244     fi
2245     test "$ac_signal" != 0 &&
2246       $as_echo "$as_me: caught signal $ac_signal"
2247     $as_echo "$as_me: exit $exit_status"
2248   } >&5
2249   rm -f core *.core core.conftest.* &&
2250     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2251     exit $exit_status
2252 ' 0
2253 for ac_signal in 1 2 13 15; do
2254   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255 done
2256 ac_signal=0
2257
2258 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2259 rm -f -r conftest* confdefs.h
2260
2261 $as_echo "/* confdefs.h */" > confdefs.h
2262
2263 # Predefined preprocessor variables.
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_NAME "$PACKAGE_NAME"
2267 _ACEOF
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2271 _ACEOF
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2275 _ACEOF
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_STRING "$PACKAGE_STRING"
2279 _ACEOF
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2283 _ACEOF
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_URL "$PACKAGE_URL"
2287 _ACEOF
2288
2289
2290 # Let the site file select an alternate cache file if it wants to.
2291 # Prefer an explicitly selected file to automatically selected ones.
2292 ac_site_file1=NONE
2293 ac_site_file2=NONE
2294 if test -n "$CONFIG_SITE"; then
2295   # We do not want a PATH search for config.site.
2296   case $CONFIG_SITE in #((
2297     -*)  ac_site_file1=./$CONFIG_SITE;;
2298     */*) ac_site_file1=$CONFIG_SITE;;
2299     *)   ac_site_file1=./$CONFIG_SITE;;
2300   esac
2301 elif test "x$prefix" != xNONE; then
2302   ac_site_file1=$prefix/share/config.site
2303   ac_site_file2=$prefix/etc/config.site
2304 else
2305   ac_site_file1=$ac_default_prefix/share/config.site
2306   ac_site_file2=$ac_default_prefix/etc/config.site
2307 fi
2308 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2309 do
2310   test "x$ac_site_file" = xNONE && continue
2311   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2312     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2313 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2314     sed 's/^/| /' "$ac_site_file" >&5
2315     . "$ac_site_file" \
2316       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318 as_fn_error $? "failed to load site script $ac_site_file
2319 See \`config.log' for more details" "$LINENO" 5; }
2320   fi
2321 done
2322
2323 if test -r "$cache_file"; then
2324   # Some versions of bash will fail to source /dev/null (special files
2325   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2326   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2327     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2328 $as_echo "$as_me: loading cache $cache_file" >&6;}
2329     case $cache_file in
2330       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331       *)                      . "./$cache_file";;
2332     esac
2333   fi
2334 else
2335   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2336 $as_echo "$as_me: creating cache $cache_file" >&6;}
2337   >$cache_file
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345   eval ac_new_set=\$ac_env_${ac_var}_set
2346   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347   eval ac_new_val=\$ac_env_${ac_var}_value
2348   case $ac_old_set,$ac_new_set in
2349     set,)
2350       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352       ac_cache_corrupted=: ;;
2353     ,set)
2354       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356       ac_cache_corrupted=: ;;
2357     ,);;
2358     *)
2359       if test "x$ac_old_val" != "x$ac_new_val"; then
2360         # differences in whitespace do not lead to failure.
2361         ac_old_val_w=`echo x $ac_old_val`
2362         ac_new_val_w=`echo x $ac_new_val`
2363         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2364           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2365 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2366           ac_cache_corrupted=:
2367         else
2368           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2369 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2370           eval $ac_var=\$ac_old_val
2371         fi
2372         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2373 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2374         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2375 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2376       fi;;
2377   esac
2378   # Pass precious variables to config.status.
2379   if test "$ac_new_set" = set; then
2380     case $ac_new_val in
2381     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2382     *) ac_arg=$ac_var=$ac_new_val ;;
2383     esac
2384     case " $ac_configure_args " in
2385       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2386       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2387     esac
2388   fi
2389 done
2390 if $ac_cache_corrupted; then
2391   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2394 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2395   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2396 fi
2397 ## -------------------- ##
2398 ## Main body of script. ##
2399 ## -------------------- ##
2400
2401 ac_ext=c
2402 ac_cpp='$CPP $CPPFLAGS'
2403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2406
2407
2408
2409
2410
2411 am__api_version='1.11'
2412
2413 ac_aux_dir=
2414 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2415   if test -f "$ac_dir/install-sh"; then
2416     ac_aux_dir=$ac_dir
2417     ac_install_sh="$ac_aux_dir/install-sh -c"
2418     break
2419   elif test -f "$ac_dir/install.sh"; then
2420     ac_aux_dir=$ac_dir
2421     ac_install_sh="$ac_aux_dir/install.sh -c"
2422     break
2423   elif test -f "$ac_dir/shtool"; then
2424     ac_aux_dir=$ac_dir
2425     ac_install_sh="$ac_aux_dir/shtool install -c"
2426     break
2427   fi
2428 done
2429 if test -z "$ac_aux_dir"; then
2430   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2431 fi
2432
2433 # These three variables are undocumented and unsupported,
2434 # and are intended to be withdrawn in a future Autoconf release.
2435 # They can cause serious problems if a builder's source tree is in a directory
2436 # whose full name contains unusual characters.
2437 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2438 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2439 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2440
2441
2442 # Find a good install program.  We prefer a C program (faster),
2443 # so one script is as good as another.  But avoid the broken or
2444 # incompatible versions:
2445 # SysV /etc/install, /usr/sbin/install
2446 # SunOS /usr/etc/install
2447 # IRIX /sbin/install
2448 # AIX /bin/install
2449 # AmigaOS /C/install, which installs bootblocks on floppy discs
2450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2453 # OS/2's system install, which has a completely different semantic
2454 # ./install, which can be erroneously created by make from ./install.sh.
2455 # Reject install programs that cannot install multiple files.
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2458 if test -z "$INSTALL"; then
2459 if ${ac_cv_path_install+:} false; then :
2460   $as_echo_n "(cached) " >&6
2461 else
2462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 for as_dir in $PATH
2464 do
2465   IFS=$as_save_IFS
2466   test -z "$as_dir" && as_dir=.
2467     # Account for people who put trailing slashes in PATH elements.
2468 case $as_dir/ in #((
2469   ./ | .// | /[cC]/* | \
2470   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2471   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2472   /usr/ucb/* ) ;;
2473   *)
2474     # OSF1 and SCO ODT 3.0 have their own names for install.
2475     # Don't use installbsd from OSF since it installs stuff as root
2476     # by default.
2477     for ac_prog in ginstall scoinst install; do
2478       for ac_exec_ext in '' $ac_executable_extensions; do
2479         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2480           if test $ac_prog = install &&
2481             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2482             # AIX install.  It has an incompatible calling convention.
2483             :
2484           elif test $ac_prog = install &&
2485             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2486             # program-specific install script used by HP pwplus--don't use.
2487             :
2488           else
2489             rm -rf conftest.one conftest.two conftest.dir
2490             echo one > conftest.one
2491             echo two > conftest.two
2492             mkdir conftest.dir
2493             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2494               test -s conftest.one && test -s conftest.two &&
2495               test -s conftest.dir/conftest.one &&
2496               test -s conftest.dir/conftest.two
2497             then
2498               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2499               break 3
2500             fi
2501           fi
2502         fi
2503       done
2504     done
2505     ;;
2506 esac
2507
2508   done
2509 IFS=$as_save_IFS
2510
2511 rm -rf conftest.one conftest.two conftest.dir
2512
2513 fi
2514   if test "${ac_cv_path_install+set}" = set; then
2515     INSTALL=$ac_cv_path_install
2516   else
2517     # As a last resort, use the slow shell script.  Don't cache a
2518     # value for INSTALL within a source directory, because that will
2519     # break other packages using the cache if that directory is
2520     # removed, or if the value is a relative name.
2521     INSTALL=$ac_install_sh
2522   fi
2523 fi
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2525 $as_echo "$INSTALL" >&6; }
2526
2527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2528 # It thinks the first close brace ends the variable substitution.
2529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2530
2531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2532
2533 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2534
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2536 $as_echo_n "checking whether build environment is sane... " >&6; }
2537 # Just in case
2538 sleep 1
2539 echo timestamp > conftest.file
2540 # Reject unsafe characters in $srcdir or the absolute working directory
2541 # name.  Accept space and tab only in the latter.
2542 am_lf='
2543 '
2544 case `pwd` in
2545   *[\\\"\#\$\&\'\`$am_lf]*)
2546     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2547 esac
2548 case $srcdir in
2549   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2550     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2551 esac
2552
2553 # Do `set' in a subshell so we don't clobber the current shell's
2554 # arguments.  Must try -L first in case configure is actually a
2555 # symlink; some systems play weird games with the mod time of symlinks
2556 # (eg FreeBSD returns the mod time of the symlink's containing
2557 # directory).
2558 if (
2559    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2560    if test "$*" = "X"; then
2561       # -L didn't work.
2562       set X `ls -t "$srcdir/configure" conftest.file`
2563    fi
2564    rm -f conftest.file
2565    if test "$*" != "X $srcdir/configure conftest.file" \
2566       && test "$*" != "X conftest.file $srcdir/configure"; then
2567
2568       # If neither matched, then we have a broken ls.  This can happen
2569       # if, for instance, CONFIG_SHELL is bash and it inherits a
2570       # broken ls alias from the environment.  This has actually
2571       # happened.  Such a system could not be considered "sane".
2572       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2573 alias in your environment" "$LINENO" 5
2574    fi
2575
2576    test "$2" = conftest.file
2577    )
2578 then
2579    # Ok.
2580    :
2581 else
2582    as_fn_error $? "newly created file is older than distributed files!
2583 Check your system clock" "$LINENO" 5
2584 fi
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2586 $as_echo "yes" >&6; }
2587 test "$program_prefix" != NONE &&
2588   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2589 # Use a double $ so make ignores it.
2590 test "$program_suffix" != NONE &&
2591   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2592 # Double any \ or $.
2593 # By default was `s,x,x', remove it if useless.
2594 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2595 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2596
2597 # expand $ac_aux_dir to an absolute path
2598 am_aux_dir=`cd $ac_aux_dir && pwd`
2599
2600 if test x"${MISSING+set}" != xset; then
2601   case $am_aux_dir in
2602   *\ * | *\     *)
2603     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2604   *)
2605     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2606   esac
2607 fi
2608 # Use eval to expand $SHELL
2609 if eval "$MISSING --run true"; then
2610   am_missing_run="$MISSING --run "
2611 else
2612   am_missing_run=
2613   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2614 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2615 fi
2616
2617 if test x"${install_sh}" != xset; then
2618   case $am_aux_dir in
2619   *\ * | *\     *)
2620     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2621   *)
2622     install_sh="\${SHELL} $am_aux_dir/install-sh"
2623   esac
2624 fi
2625
2626 # Installed binaries are usually stripped using `strip' when the user
2627 # run `make install-strip'.  However `strip' might not be the right
2628 # tool to use in cross-compilation environments, therefore Automake
2629 # will honor the `STRIP' environment variable to overrule this program.
2630 if test "$cross_compiling" != no; then
2631   if test -n "$ac_tool_prefix"; then
2632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2633 set dummy ${ac_tool_prefix}strip; ac_word=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if ${ac_cv_prog_STRIP+:} false; then :
2637   $as_echo_n "(cached) " >&6
2638 else
2639   if test -n "$STRIP"; then
2640   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2641 else
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 for as_dir in $PATH
2644 do
2645   IFS=$as_save_IFS
2646   test -z "$as_dir" && as_dir=.
2647     for ac_exec_ext in '' $ac_executable_extensions; do
2648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651     break 2
2652   fi
2653 done
2654   done
2655 IFS=$as_save_IFS
2656
2657 fi
2658 fi
2659 STRIP=$ac_cv_prog_STRIP
2660 if test -n "$STRIP"; then
2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2662 $as_echo "$STRIP" >&6; }
2663 else
2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2666 fi
2667
2668
2669 fi
2670 if test -z "$ac_cv_prog_STRIP"; then
2671   ac_ct_STRIP=$STRIP
2672   # Extract the first word of "strip", so it can be a program name with args.
2673 set dummy strip; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2677   $as_echo_n "(cached) " >&6
2678 else
2679   if test -n "$ac_ct_STRIP"; then
2680   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2681 else
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2684 do
2685   IFS=$as_save_IFS
2686   test -z "$as_dir" && as_dir=.
2687     for ac_exec_ext in '' $ac_executable_extensions; do
2688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689     ac_cv_prog_ac_ct_STRIP="strip"
2690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691     break 2
2692   fi
2693 done
2694   done
2695 IFS=$as_save_IFS
2696
2697 fi
2698 fi
2699 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2700 if test -n "$ac_ct_STRIP"; then
2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2702 $as_echo "$ac_ct_STRIP" >&6; }
2703 else
2704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2706 fi
2707
2708   if test "x$ac_ct_STRIP" = x; then
2709     STRIP=":"
2710   else
2711     case $cross_compiling:$ac_tool_warned in
2712 yes:)
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2715 ac_tool_warned=yes ;;
2716 esac
2717     STRIP=$ac_ct_STRIP
2718   fi
2719 else
2720   STRIP="$ac_cv_prog_STRIP"
2721 fi
2722
2723 fi
2724 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2725
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2727 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2728 if test -z "$MKDIR_P"; then
2729   if ${ac_cv_path_mkdir+:} false; then :
2730   $as_echo_n "(cached) " >&6
2731 else
2732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2734 do
2735   IFS=$as_save_IFS
2736   test -z "$as_dir" && as_dir=.
2737     for ac_prog in mkdir gmkdir; do
2738          for ac_exec_ext in '' $ac_executable_extensions; do
2739            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2740            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2741              'mkdir (GNU coreutils) '* | \
2742              'mkdir (coreutils) '* | \
2743              'mkdir (fileutils) '4.1*)
2744                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2745                break 3;;
2746            esac
2747          done
2748        done
2749   done
2750 IFS=$as_save_IFS
2751
2752 fi
2753
2754   test -d ./--version && rmdir ./--version
2755   if test "${ac_cv_path_mkdir+set}" = set; then
2756     MKDIR_P="$ac_cv_path_mkdir -p"
2757   else
2758     # As a last resort, use the slow shell script.  Don't cache a
2759     # value for MKDIR_P within a source directory, because that will
2760     # break other packages using the cache if that directory is
2761     # removed, or if the value is a relative name.
2762     MKDIR_P="$ac_install_sh -d"
2763   fi
2764 fi
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2766 $as_echo "$MKDIR_P" >&6; }
2767
2768 mkdir_p="$MKDIR_P"
2769 case $mkdir_p in
2770   [\\/$]* | ?:[\\/]*) ;;
2771   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2772 esac
2773
2774 for ac_prog in gawk mawk nawk awk
2775 do
2776   # Extract the first word of "$ac_prog", so it can be a program name with args.
2777 set dummy $ac_prog; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_AWK+:} false; then :
2781   $as_echo_n "(cached) " >&6
2782 else
2783   if test -n "$AWK"; then
2784   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2785 else
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2788 do
2789   IFS=$as_save_IFS
2790   test -z "$as_dir" && as_dir=.
2791     for ac_exec_ext in '' $ac_executable_extensions; do
2792   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793     ac_cv_prog_AWK="$ac_prog"
2794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795     break 2
2796   fi
2797 done
2798   done
2799 IFS=$as_save_IFS
2800
2801 fi
2802 fi
2803 AWK=$ac_cv_prog_AWK
2804 if test -n "$AWK"; then
2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2806 $as_echo "$AWK" >&6; }
2807 else
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2810 fi
2811
2812
2813   test -n "$AWK" && break
2814 done
2815
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2817 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2818 set x ${MAKE-make}
2819 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2820 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2821   $as_echo_n "(cached) " >&6
2822 else
2823   cat >conftest.make <<\_ACEOF
2824 SHELL = /bin/sh
2825 all:
2826         @echo '@@@%%%=$(MAKE)=@@@%%%'
2827 _ACEOF
2828 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2829 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2830   *@@@%%%=?*=@@@%%%*)
2831     eval ac_cv_prog_make_${ac_make}_set=yes;;
2832   *)
2833     eval ac_cv_prog_make_${ac_make}_set=no;;
2834 esac
2835 rm -f conftest.make
2836 fi
2837 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2839 $as_echo "yes" >&6; }
2840   SET_MAKE=
2841 else
2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2844   SET_MAKE="MAKE=${MAKE-make}"
2845 fi
2846
2847 rm -rf .tst 2>/dev/null
2848 mkdir .tst 2>/dev/null
2849 if test -d .tst; then
2850   am__leading_dot=.
2851 else
2852   am__leading_dot=_
2853 fi
2854 rmdir .tst 2>/dev/null
2855
2856 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2857   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2858   # is not polluted with repeated "-I."
2859   am__isrc=' -I$(srcdir)'
2860   # test to see if srcdir already configured
2861   if test -f $srcdir/config.status; then
2862     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2863   fi
2864 fi
2865
2866 # test whether we have cygpath
2867 if test -z "$CYGPATH_W"; then
2868   if (cygpath --version) >/dev/null 2>/dev/null; then
2869     CYGPATH_W='cygpath -w'
2870   else
2871     CYGPATH_W=echo
2872   fi
2873 fi
2874
2875
2876 # Define the identity of the package.
2877  PACKAGE=glabels
2878  VERSION=3.2.0
2879
2880
2881 cat >>confdefs.h <<_ACEOF
2882 #define PACKAGE "$PACKAGE"
2883 _ACEOF
2884
2885
2886 cat >>confdefs.h <<_ACEOF
2887 #define VERSION "$VERSION"
2888 _ACEOF
2889
2890 # Some tools Automake needs.
2891
2892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2893
2894
2895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2896
2897
2898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2899
2900
2901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2902
2903
2904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2905
2906 # We need awk for the "check" target.  The system "awk" is bad on
2907 # some platforms.
2908 # Always define AMTAR for backward compatibility.  Yes, it's still used
2909 # in the wild :-(  We should find a proper way to deprecate it ...
2910 AMTAR='$${TAR-tar}'
2911
2912 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2913
2914
2915
2916
2917
2918
2919
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2921 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2922     # Check whether --enable-maintainer-mode was given.
2923 if test "${enable_maintainer_mode+set}" = set; then :
2924   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2925 else
2926   USE_MAINTAINER_MODE=no
2927 fi
2928
2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2930 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2931    if test $USE_MAINTAINER_MODE = yes; then
2932   MAINTAINER_MODE_TRUE=
2933   MAINTAINER_MODE_FALSE='#'
2934 else
2935   MAINTAINER_MODE_TRUE='#'
2936   MAINTAINER_MODE_FALSE=
2937 fi
2938
2939   MAINT=$MAINTAINER_MODE_TRUE
2940
2941
2942 # Check whether --enable-silent-rules was given.
2943 if test "${enable_silent_rules+set}" = set; then :
2944   enableval=$enable_silent_rules;
2945 fi
2946
2947 case $enable_silent_rules in
2948 yes) AM_DEFAULT_VERBOSITY=0;;
2949 no)  AM_DEFAULT_VERBOSITY=1;;
2950 *)   AM_DEFAULT_VERBOSITY=0;;
2951 esac
2952 am_make=${MAKE-make}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2954 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2955 if ${am_cv_make_support_nested_variables+:} false; then :
2956   $as_echo_n "(cached) " >&6
2957 else
2958   if $as_echo 'TRUE=$(BAR$(V))
2959 BAR0=false
2960 BAR1=true
2961 V=1
2962 am__doit:
2963         @$(TRUE)
2964 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2965   am_cv_make_support_nested_variables=yes
2966 else
2967   am_cv_make_support_nested_variables=no
2968 fi
2969 fi
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2971 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2972 if test $am_cv_make_support_nested_variables = yes; then
2973     AM_V='$(V)'
2974   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2975 else
2976   AM_V=$AM_DEFAULT_VERBOSITY
2977   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2978 fi
2979 AM_BACKSLASH='\'
2980
2981
2982 ac_config_headers="$ac_config_headers config.h"
2983
2984
2985
2986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2987 $as_echo_n "checking whether NLS is requested... " >&6; }
2988     # Check whether --enable-nls was given.
2989 if test "${enable_nls+set}" = set; then :
2990   enableval=$enable_nls; USE_NLS=$enableval
2991 else
2992   USE_NLS=yes
2993 fi
2994
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2996 $as_echo "$USE_NLS" >&6; }
2997
2998
2999 DEPDIR="${am__leading_dot}deps"
3000
3001 ac_config_commands="$ac_config_commands depfiles"
3002
3003
3004 am_make=${MAKE-make}
3005 cat > confinc << 'END'
3006 am__doit:
3007         @echo this is the am__doit target
3008 .PHONY: am__doit
3009 END
3010 # If we don't find an include directive, just comment out the code.
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3012 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3013 am__include="#"
3014 am__quote=
3015 _am_result=none
3016 # First try GNU make style include.
3017 echo "include confinc" > confmf
3018 # Ignore all kinds of additional output from `make'.
3019 case `$am_make -s -f confmf 2> /dev/null` in #(
3020 *the\ am__doit\ target*)
3021   am__include=include
3022   am__quote=
3023   _am_result=GNU
3024   ;;
3025 esac
3026 # Now try BSD make style include.
3027 if test "$am__include" = "#"; then
3028    echo '.include "confinc"' > confmf
3029    case `$am_make -s -f confmf 2> /dev/null` in #(
3030    *the\ am__doit\ target*)
3031      am__include=.include
3032      am__quote="\""
3033      _am_result=BSD
3034      ;;
3035    esac
3036 fi
3037
3038
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3040 $as_echo "$_am_result" >&6; }
3041 rm -f confinc confmf
3042
3043 # Check whether --enable-dependency-tracking was given.
3044 if test "${enable_dependency_tracking+set}" = set; then :
3045   enableval=$enable_dependency_tracking;
3046 fi
3047
3048 if test "x$enable_dependency_tracking" != xno; then
3049   am_depcomp="$ac_aux_dir/depcomp"
3050   AMDEPBACKSLASH='\'
3051   am__nodep='_no'
3052 fi
3053  if test "x$enable_dependency_tracking" != xno; then
3054   AMDEP_TRUE=
3055   AMDEP_FALSE='#'
3056 else
3057   AMDEP_TRUE='#'
3058   AMDEP_FALSE=
3059 fi
3060
3061
3062 ac_ext=c
3063 ac_cpp='$CPP $CPPFLAGS'
3064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3067 if test -n "$ac_tool_prefix"; then
3068   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3069 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_CC+:} false; then :
3073   $as_echo_n "(cached) " >&6
3074 else
3075   if test -n "$CC"; then
3076   ac_cv_prog_CC="$CC" # Let the user override the test.
3077 else
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3080 do
3081   IFS=$as_save_IFS
3082   test -z "$as_dir" && as_dir=.
3083     for ac_exec_ext in '' $ac_executable_extensions; do
3084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087     break 2
3088   fi
3089 done
3090   done
3091 IFS=$as_save_IFS
3092
3093 fi
3094 fi
3095 CC=$ac_cv_prog_CC
3096 if test -n "$CC"; then
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098 $as_echo "$CC" >&6; }
3099 else
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3102 fi
3103
3104
3105 fi
3106 if test -z "$ac_cv_prog_CC"; then
3107   ac_ct_CC=$CC
3108   # Extract the first word of "gcc", so it can be a program name with args.
3109 set dummy gcc; ac_word=$2
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 $as_echo_n "checking for $ac_word... " >&6; }
3112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3113   $as_echo_n "(cached) " >&6
3114 else
3115   if test -n "$ac_ct_CC"; then
3116   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3117 else
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 for as_dir in $PATH
3120 do
3121   IFS=$as_save_IFS
3122   test -z "$as_dir" && as_dir=.
3123     for ac_exec_ext in '' $ac_executable_extensions; do
3124   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125     ac_cv_prog_ac_ct_CC="gcc"
3126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3127     break 2
3128   fi
3129 done
3130   done
3131 IFS=$as_save_IFS
3132
3133 fi
3134 fi
3135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3136 if test -n "$ac_ct_CC"; then
3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3138 $as_echo "$ac_ct_CC" >&6; }
3139 else
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3142 fi
3143
3144   if test "x$ac_ct_CC" = x; then
3145     CC=""
3146   else
3147     case $cross_compiling:$ac_tool_warned in
3148 yes:)
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3151 ac_tool_warned=yes ;;
3152 esac
3153     CC=$ac_ct_CC
3154   fi
3155 else
3156   CC="$ac_cv_prog_CC"
3157 fi
3158
3159 if test -z "$CC"; then
3160           if test -n "$ac_tool_prefix"; then
3161     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3162 set dummy ${ac_tool_prefix}cc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166   $as_echo_n "(cached) " >&6
3167 else
3168   if test -n "$CC"; then
3169   ac_cv_prog_CC="$CC" # Let the user override the test.
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174   IFS=$as_save_IFS
3175   test -z "$as_dir" && as_dir=.
3176     for ac_exec_ext in '' $ac_executable_extensions; do
3177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178     ac_cv_prog_CC="${ac_tool_prefix}cc"
3179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180     break 2
3181   fi
3182 done
3183   done
3184 IFS=$as_save_IFS
3185
3186 fi
3187 fi
3188 CC=$ac_cv_prog_CC
3189 if test -n "$CC"; then
3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3191 $as_echo "$CC" >&6; }
3192 else
3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3195 fi
3196
3197
3198   fi
3199 fi
3200 if test -z "$CC"; then
3201   # Extract the first word of "cc", so it can be a program name with args.
3202 set dummy cc; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_CC+:} false; then :
3206   $as_echo_n "(cached) " >&6
3207 else
3208   if test -n "$CC"; then
3209   ac_cv_prog_CC="$CC" # Let the user override the test.
3210 else
3211   ac_prog_rejected=no
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 for as_dir in $PATH
3214 do
3215   IFS=$as_save_IFS
3216   test -z "$as_dir" && as_dir=.
3217     for ac_exec_ext in '' $ac_executable_extensions; do
3218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3220        ac_prog_rejected=yes
3221        continue
3222      fi
3223     ac_cv_prog_CC="cc"
3224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225     break 2
3226   fi
3227 done
3228   done
3229 IFS=$as_save_IFS
3230
3231 if test $ac_prog_rejected = yes; then
3232   # We found a bogon in the path, so make sure we never use it.
3233   set dummy $ac_cv_prog_CC
3234   shift
3235   if test $# != 0; then
3236     # We chose a different compiler from the bogus one.
3237     # However, it has the same basename, so the bogon will be chosen
3238     # first if we set CC to just the basename; use the full file name.
3239     shift
3240     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3241   fi
3242 fi
3243 fi
3244 fi
3245 CC=$ac_cv_prog_CC
3246 if test -n "$CC"; then
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3248 $as_echo "$CC" >&6; }
3249 else
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 fi
3253
3254
3255 fi
3256 if test -z "$CC"; then
3257   if test -n "$ac_tool_prefix"; then
3258   for ac_prog in cl.exe
3259   do
3260     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_CC+:} false; then :
3265   $as_echo_n "(cached) " >&6
3266 else
3267   if test -n "$CC"; then
3268   ac_cv_prog_CC="$CC" # Let the user override the test.
3269 else
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 for as_dir in $PATH
3272 do
3273   IFS=$as_save_IFS
3274   test -z "$as_dir" && as_dir=.
3275     for ac_exec_ext in '' $ac_executable_extensions; do
3276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279     break 2
3280   fi
3281 done
3282   done
3283 IFS=$as_save_IFS
3284
3285 fi
3286 fi
3287 CC=$ac_cv_prog_CC
3288 if test -n "$CC"; then
3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3290 $as_echo "$CC" >&6; }
3291 else
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 fi
3295
3296
3297     test -n "$CC" && break
3298   done
3299 fi
3300 if test -z "$CC"; then
3301   ac_ct_CC=$CC
3302   for ac_prog in cl.exe
3303 do
3304   # Extract the first word of "$ac_prog", so it can be a program name with args.
3305 set dummy $ac_prog; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3309   $as_echo_n "(cached) " >&6
3310 else
3311   if test -n "$ac_ct_CC"; then
3312   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3313 else
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 for as_dir in $PATH
3316 do
3317   IFS=$as_save_IFS
3318   test -z "$as_dir" && as_dir=.
3319     for ac_exec_ext in '' $ac_executable_extensions; do
3320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321     ac_cv_prog_ac_ct_CC="$ac_prog"
3322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3323     break 2
3324   fi
3325 done
3326   done
3327 IFS=$as_save_IFS
3328
3329 fi
3330 fi
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332 if test -n "$ac_ct_CC"; then
3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3334 $as_echo "$ac_ct_CC" >&6; }
3335 else
3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3338 fi
3339
3340
3341   test -n "$ac_ct_CC" && break
3342 done
3343
3344   if test "x$ac_ct_CC" = x; then
3345     CC=""
3346   else
3347     case $cross_compiling:$ac_tool_warned in
3348 yes:)
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3351 ac_tool_warned=yes ;;
3352 esac
3353     CC=$ac_ct_CC
3354   fi
3355 fi
3356
3357 fi
3358
3359
3360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "no acceptable C compiler found in \$PATH
3363 See \`config.log' for more details" "$LINENO" 5; }
3364
3365 # Provide some information about the compiler.
3366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3367 set X $ac_compile
3368 ac_compiler=$2
3369 for ac_option in --version -v -V -qversion; do
3370   { { ac_try="$ac_compiler $ac_option >&5"
3371 case "(($ac_try" in
3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373   *) ac_try_echo=$ac_try;;
3374 esac
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376 $as_echo "$ac_try_echo"; } >&5
3377   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3378   ac_status=$?
3379   if test -s conftest.err; then
3380     sed '10a\
3381 ... rest of stderr output deleted ...
3382          10q' conftest.err >conftest.er1
3383     cat conftest.er1 >&5
3384   fi
3385   rm -f conftest.er1 conftest.err
3386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387   test $ac_status = 0; }
3388 done
3389
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h.  */
3392
3393 int
3394 main ()
3395 {
3396
3397   ;
3398   return 0;
3399 }
3400 _ACEOF
3401 ac_clean_files_save=$ac_clean_files
3402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3403 # Try to create an executable without -o first, disregard a.out.
3404 # It will help us diagnose broken compilers, and finding out an intuition
3405 # of exeext.
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3407 $as_echo_n "checking whether the C compiler works... " >&6; }
3408 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3409
3410 # The possible output files:
3411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3412
3413 ac_rmfiles=
3414 for ac_file in $ac_files
3415 do
3416   case $ac_file in
3417     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3418     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3419   esac
3420 done
3421 rm -f $ac_rmfiles
3422
3423 if { { ac_try="$ac_link_default"
3424 case "(($ac_try" in
3425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426   *) ac_try_echo=$ac_try;;
3427 esac
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430   (eval "$ac_link_default") 2>&5
3431   ac_status=$?
3432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433   test $ac_status = 0; }; then :
3434   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3436 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3437 # so that the user can short-circuit this test for compilers unknown to
3438 # Autoconf.
3439 for ac_file in $ac_files ''
3440 do
3441   test -f "$ac_file" || continue
3442   case $ac_file in
3443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3444         ;;
3445     [ab].out )
3446         # We found the default executable, but exeext='' is most
3447         # certainly right.
3448         break;;
3449     *.* )
3450         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3451         then :; else
3452            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3453         fi
3454         # We set ac_cv_exeext here because the later test for it is not
3455         # safe: cross compilers may not add the suffix if given an `-o'
3456         # argument, so we may need to know it at that point already.
3457         # Even if this section looks crufty: it has the advantage of
3458         # actually working.
3459         break;;
3460     * )
3461         break;;
3462   esac
3463 done
3464 test "$ac_cv_exeext" = no && ac_cv_exeext=
3465
3466 else
3467   ac_file=''
3468 fi
3469 if test -z "$ac_file"; then :
3470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 $as_echo "no" >&6; }
3472 $as_echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3474
3475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3477 as_fn_error 77 "C compiler cannot create executables
3478 See \`config.log' for more details" "$LINENO" 5; }
3479 else
3480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3481 $as_echo "yes" >&6; }
3482 fi
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3484 $as_echo_n "checking for C compiler default output file name... " >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3486 $as_echo "$ac_file" >&6; }
3487 ac_exeext=$ac_cv_exeext
3488
3489 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3490 ac_clean_files=$ac_clean_files_save
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3492 $as_echo_n "checking for suffix of executables... " >&6; }
3493 if { { 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; }; then :
3504   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3505 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3506 # work properly (i.e., refer to `conftest.exe'), while it won't with
3507 # `rm'.
3508 for ac_file in conftest.exe conftest conftest.*; do
3509   test -f "$ac_file" || continue
3510   case $ac_file in
3511     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3512     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3513           break;;
3514     * ) break;;
3515   esac
3516 done
3517 else
3518   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3521 See \`config.log' for more details" "$LINENO" 5; }
3522 fi
3523 rm -f conftest conftest$ac_cv_exeext
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3525 $as_echo "$ac_cv_exeext" >&6; }
3526
3527 rm -f conftest.$ac_ext
3528 EXEEXT=$ac_cv_exeext
3529 ac_exeext=$EXEEXT
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h.  */
3532 #include <stdio.h>
3533 int
3534 main ()
3535 {
3536 FILE *f = fopen ("conftest.out", "w");
3537  return ferror (f) || fclose (f) != 0;
3538
3539   ;
3540   return 0;
3541 }
3542 _ACEOF
3543 ac_clean_files="$ac_clean_files conftest.out"
3544 # Check that the compiler produces executables we can run.  If not, either
3545 # the compiler is broken, or we cross compile.
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3547 $as_echo_n "checking whether we are cross compiling... " >&6; }
3548 if test "$cross_compiling" != yes; then
3549   { { ac_try="$ac_link"
3550 case "(($ac_try" in
3551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552   *) ac_try_echo=$ac_try;;
3553 esac
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556   (eval "$ac_link") 2>&5
3557   ac_status=$?
3558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559   test $ac_status = 0; }
3560   if { ac_try='./conftest$ac_cv_exeext'
3561   { { case "(($ac_try" in
3562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563   *) ac_try_echo=$ac_try;;
3564 esac
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567   (eval "$ac_try") 2>&5
3568   ac_status=$?
3569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570   test $ac_status = 0; }; }; then
3571     cross_compiling=no
3572   else
3573     if test "$cross_compiling" = maybe; then
3574         cross_compiling=yes
3575     else
3576         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error $? "cannot run C compiled programs.
3579 If you meant to cross compile, use \`--host'.
3580 See \`config.log' for more details" "$LINENO" 5; }
3581     fi
3582   fi
3583 fi
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3585 $as_echo "$cross_compiling" >&6; }
3586
3587 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3588 ac_clean_files=$ac_clean_files_save
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3590 $as_echo_n "checking for suffix of object files... " >&6; }
3591 if ${ac_cv_objext+:} false; then :
3592   $as_echo_n "(cached) " >&6
3593 else
3594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h.  */
3596
3597 int
3598 main ()
3599 {
3600
3601   ;
3602   return 0;
3603 }
3604 _ACEOF
3605 rm -f conftest.o conftest.obj
3606 if { { ac_try="$ac_compile"
3607 case "(($ac_try" in
3608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609   *) ac_try_echo=$ac_try;;
3610 esac
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613   (eval "$ac_compile") 2>&5
3614   ac_status=$?
3615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616   test $ac_status = 0; }; then :
3617   for ac_file in conftest.o conftest.obj conftest.*; do
3618   test -f "$ac_file" || continue;
3619   case $ac_file in
3620     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3621     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3622        break;;
3623   esac
3624 done
3625 else
3626   $as_echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3628
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $? "cannot compute suffix of object files: cannot compile
3632 See \`config.log' for more details" "$LINENO" 5; }
3633 fi
3634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3635 fi
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3637 $as_echo "$ac_cv_objext" >&6; }
3638 OBJEXT=$ac_cv_objext
3639 ac_objext=$OBJEXT
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3642 if ${ac_cv_c_compiler_gnu+:} false; then :
3643   $as_echo_n "(cached) " >&6
3644 else
3645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h.  */
3647
3648 int
3649 main ()
3650 {
3651 #ifndef __GNUC__
3652        choke me
3653 #endif
3654
3655   ;
3656   return 0;
3657 }
3658 _ACEOF
3659 if ac_fn_c_try_compile "$LINENO"; then :
3660   ac_compiler_gnu=yes
3661 else
3662   ac_compiler_gnu=no
3663 fi
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3666
3667 fi
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670 if test $ac_compiler_gnu = yes; then
3671   GCC=yes
3672 else
3673   GCC=
3674 fi
3675 ac_test_CFLAGS=${CFLAGS+set}
3676 ac_save_CFLAGS=$CFLAGS
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3679 if ${ac_cv_prog_cc_g+:} false; then :
3680   $as_echo_n "(cached) " >&6
3681 else
3682   ac_save_c_werror_flag=$ac_c_werror_flag
3683    ac_c_werror_flag=yes
3684    ac_cv_prog_cc_g=no
3685    CFLAGS="-g"
3686    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h.  */
3688
3689 int
3690 main ()
3691 {
3692
3693   ;
3694   return 0;
3695 }
3696 _ACEOF
3697 if ac_fn_c_try_compile "$LINENO"; then :
3698   ac_cv_prog_cc_g=yes
3699 else
3700   CFLAGS=""
3701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h.  */
3703
3704 int
3705 main ()
3706 {
3707
3708   ;
3709   return 0;
3710 }
3711 _ACEOF
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713
3714 else
3715   ac_c_werror_flag=$ac_save_c_werror_flag
3716          CFLAGS="-g"
3717          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h.  */
3719
3720 int
3721 main ()
3722 {
3723
3724   ;
3725   return 0;
3726 }
3727 _ACEOF
3728 if ac_fn_c_try_compile "$LINENO"; then :
3729   ac_cv_prog_cc_g=yes
3730 fi
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3732 fi
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734 fi
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736    ac_c_werror_flag=$ac_save_c_werror_flag
3737 fi
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739 $as_echo "$ac_cv_prog_cc_g" >&6; }
3740 if test "$ac_test_CFLAGS" = set; then
3741   CFLAGS=$ac_save_CFLAGS
3742 elif test $ac_cv_prog_cc_g = yes; then
3743   if test "$GCC" = yes; then
3744     CFLAGS="-g -O2"
3745   else
3746     CFLAGS="-g"
3747   fi
3748 else
3749   if test "$GCC" = yes; then
3750     CFLAGS="-O2"
3751   else
3752     CFLAGS=
3753   fi
3754 fi
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3757 if ${ac_cv_prog_cc_c89+:} false; then :
3758   $as_echo_n "(cached) " >&6
3759 else
3760   ac_cv_prog_cc_c89=no
3761 ac_save_CC=$CC
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h.  */
3764 #include <stdarg.h>
3765 #include <stdio.h>
3766 struct stat;
3767 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3768 struct buf { int x; };
3769 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3770 static char *e (p, i)
3771      char **p;
3772      int i;
3773 {
3774   return p[i];
3775 }
3776 static char *f (char * (*g) (char **, int), char **p, ...)
3777 {
3778   char *s;
3779   va_list v;
3780   va_start (v,p);
3781   s = g (p, va_arg (v,int));
3782   va_end (v);
3783   return s;
3784 }
3785
3786 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3787    function prototypes and stuff, but not '\xHH' hex character constants.
3788    These don't provoke an error unfortunately, instead are silently treated
3789    as 'x'.  The following induces an error, until -std is added to get
3790    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3791    array size at least.  It's necessary to write '\x00'==0 to get something
3792    that's true only with -std.  */
3793 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3794
3795 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3796    inside strings and character constants.  */
3797 #define FOO(x) 'x'
3798 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3799
3800 int test (int i, double x);
3801 struct s1 {int (*f) (int a);};
3802 struct s2 {int (*f) (double a);};
3803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3804 int argc;
3805 char **argv;
3806 int
3807 main ()
3808 {
3809 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3810   ;
3811   return 0;
3812 }
3813 _ACEOF
3814 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3815         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3816 do
3817   CC="$ac_save_CC $ac_arg"
3818   if ac_fn_c_try_compile "$LINENO"; then :
3819   ac_cv_prog_cc_c89=$ac_arg
3820 fi
3821 rm -f core conftest.err conftest.$ac_objext
3822   test "x$ac_cv_prog_cc_c89" != "xno" && break
3823 done
3824 rm -f conftest.$ac_ext
3825 CC=$ac_save_CC
3826
3827 fi
3828 # AC_CACHE_VAL
3829 case "x$ac_cv_prog_cc_c89" in
3830   x)
3831     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3832 $as_echo "none needed" >&6; } ;;
3833   xno)
3834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3835 $as_echo "unsupported" >&6; } ;;
3836   *)
3837     CC="$CC $ac_cv_prog_cc_c89"
3838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3840 esac
3841 if test "x$ac_cv_prog_cc_c89" != xno; then :
3842
3843 fi
3844
3845 ac_ext=c
3846 ac_cpp='$CPP $CPPFLAGS'
3847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850
3851 depcc="$CC"   am_compiler_list=
3852
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3854 $as_echo_n "checking dependency style of $depcc... " >&6; }
3855 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3856   $as_echo_n "(cached) " >&6
3857 else
3858   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3859   # We make a subdir and do the tests there.  Otherwise we can end up
3860   # making bogus files that we don't know about and never remove.  For
3861   # instance it was reported that on HP-UX the gcc test will end up
3862   # making a dummy file named `D' -- because `-MD' means `put the output
3863   # in D'.
3864   rm -rf conftest.dir
3865   mkdir conftest.dir
3866   # Copy depcomp to subdir because otherwise we won't find it if we're
3867   # using a relative directory.
3868   cp "$am_depcomp" conftest.dir
3869   cd conftest.dir
3870   # We will build objects and dependencies in a subdirectory because
3871   # it helps to detect inapplicable dependency modes.  For instance
3872   # both Tru64's cc and ICC support -MD to output dependencies as a
3873   # side effect of compilation, but ICC will put the dependencies in
3874   # the current directory while Tru64 will put them in the object
3875   # directory.
3876   mkdir sub
3877
3878   am_cv_CC_dependencies_compiler_type=none
3879   if test "$am_compiler_list" = ""; then
3880      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3881   fi
3882   am__universal=false
3883   case " $depcc " in #(
3884      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3885      esac
3886
3887   for depmode in $am_compiler_list; do
3888     # Setup a source with many dependencies, because some compilers
3889     # like to wrap large dependency lists on column 80 (with \), and
3890     # we should not choose a depcomp mode which is confused by this.
3891     #
3892     # We need to recreate these files for each test, as the compiler may
3893     # overwrite some of them when testing with obscure command lines.
3894     # This happens at least with the AIX C compiler.
3895     : > sub/conftest.c
3896     for i in 1 2 3 4 5 6; do
3897       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3898       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3899       # Solaris 8's {/usr,}/bin/sh.
3900       touch sub/conftst$i.h
3901     done
3902     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3903
3904     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3905     # mode.  It turns out that the SunPro C++ compiler does not properly
3906     # handle `-M -o', and we need to detect this.  Also, some Intel
3907     # versions had trouble with output in subdirs
3908     am__obj=sub/conftest.${OBJEXT-o}
3909     am__minus_obj="-o $am__obj"
3910     case $depmode in
3911     gcc)
3912       # This depmode causes a compiler race in universal mode.
3913       test "$am__universal" = false || continue
3914       ;;
3915     nosideeffect)
3916       # after this tag, mechanisms are not by side-effect, so they'll
3917       # only be used when explicitly requested
3918       if test "x$enable_dependency_tracking" = xyes; then
3919         continue
3920       else
3921         break
3922       fi
3923       ;;
3924     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3925       # This compiler won't grok `-c -o', but also, the minuso test has
3926       # not run yet.  These depmodes are late enough in the game, and
3927       # so weak that their functioning should not be impacted.
3928       am__obj=conftest.${OBJEXT-o}
3929       am__minus_obj=
3930       ;;
3931     none) break ;;
3932     esac
3933     if depmode=$depmode \
3934        source=sub/conftest.c object=$am__obj \
3935        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3936        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3937          >/dev/null 2>conftest.err &&
3938        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3939        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3940        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3941        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3942       # icc doesn't choke on unknown options, it will just issue warnings
3943       # or remarks (even with -Werror).  So we grep stderr for any message
3944       # that says an option was ignored or not supported.
3945       # When given -MP, icc 7.0 and 7.1 complain thusly:
3946       #   icc: Command line warning: ignoring option '-M'; no argument required
3947       # The diagnosis changed in icc 8.0:
3948       #   icc: Command line remark: option '-MP' not supported
3949       if (grep 'ignoring option' conftest.err ||
3950           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3951         am_cv_CC_dependencies_compiler_type=$depmode
3952         break
3953       fi
3954     fi
3955   done
3956
3957   cd ..
3958   rm -rf conftest.dir
3959 else
3960   am_cv_CC_dependencies_compiler_type=none
3961 fi
3962
3963 fi
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3965 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3966 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3967
3968  if
3969   test "x$enable_dependency_tracking" != xno \
3970   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3971   am__fastdepCC_TRUE=
3972   am__fastdepCC_FALSE='#'
3973 else
3974   am__fastdepCC_TRUE='#'
3975   am__fastdepCC_FALSE=
3976 fi
3977
3978
3979
3980
3981
3982 case "$am__api_version" in
3983     1.01234)
3984         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3985     ;;
3986     *)
3987     ;;
3988 esac
3989
3990 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3991 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3992 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3993 if test -n "0.21"; then
3994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3995 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3997 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3998     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3999         as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
4000 fi
4001
4002 # Extract the first word of "intltool-update", so it can be a program name with args.
4003 set dummy intltool-update; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4007   $as_echo_n "(cached) " >&6
4008 else
4009   case $INTLTOOL_UPDATE in
4010   [\\/]* | ?:[\\/]*)
4011   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4012   ;;
4013   *)
4014   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4016 do
4017   IFS=$as_save_IFS
4018   test -z "$as_dir" && as_dir=.
4019     for ac_exec_ext in '' $ac_executable_extensions; do
4020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023     break 2
4024   fi
4025 done
4026   done
4027 IFS=$as_save_IFS
4028
4029   ;;
4030 esac
4031 fi
4032 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4033 if test -n "$INTLTOOL_UPDATE"; then
4034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4035 $as_echo "$INTLTOOL_UPDATE" >&6; }
4036 else
4037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4039 fi
4040
4041
4042 # Extract the first word of "intltool-merge", so it can be a program name with args.
4043 set dummy intltool-merge; ac_word=$2
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045 $as_echo_n "checking for $ac_word... " >&6; }
4046 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4047   $as_echo_n "(cached) " >&6
4048 else
4049   case $INTLTOOL_MERGE in
4050   [\\/]* | ?:[\\/]*)
4051   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4052   ;;
4053   *)
4054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055 for as_dir in $PATH
4056 do
4057   IFS=$as_save_IFS
4058   test -z "$as_dir" && as_dir=.
4059     for ac_exec_ext in '' $ac_executable_extensions; do
4060   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4061     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063     break 2
4064   fi
4065 done
4066   done
4067 IFS=$as_save_IFS
4068
4069   ;;
4070 esac
4071 fi
4072 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4073 if test -n "$INTLTOOL_MERGE"; then
4074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4075 $as_echo "$INTLTOOL_MERGE" >&6; }
4076 else
4077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4079 fi
4080
4081
4082 # Extract the first word of "intltool-extract", so it can be a program name with args.
4083 set dummy intltool-extract; ac_word=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4087   $as_echo_n "(cached) " >&6
4088 else
4089   case $INTLTOOL_EXTRACT in
4090   [\\/]* | ?:[\\/]*)
4091   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4092   ;;
4093   *)
4094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 for as_dir in $PATH
4096 do
4097   IFS=$as_save_IFS
4098   test -z "$as_dir" && as_dir=.
4099     for ac_exec_ext in '' $ac_executable_extensions; do
4100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103     break 2
4104   fi
4105 done
4106   done
4107 IFS=$as_save_IFS
4108
4109   ;;
4110 esac
4111 fi
4112 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4113 if test -n "$INTLTOOL_EXTRACT"; then
4114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4115 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4116 else
4117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 fi
4120
4121
4122 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4123     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4124 fi
4125
4126 if test -z "$AM_DEFAULT_VERBOSITY"; then
4127   AM_DEFAULT_VERBOSITY=1
4128 fi
4129
4130
4131 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4132 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4133 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4134
4135
4136
4137
4138 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4139 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4140 intltool__v_merge_options_0='-q'
4141
4142
4143
4144
4145   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4146 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4147      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4148      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4149       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
4150      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4151    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4152     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4153 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4154        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4155       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4156 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4157       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
4158 else
4159       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
4160 fi
4161       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4162       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4163     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4164   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4165     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4166     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4167    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265 # Check the gettext tools to make sure they are GNU
4266 # Extract the first word of "xgettext", so it can be a program name with args.
4267 set dummy xgettext; ac_word=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_path_XGETTEXT+:} false; then :
4271   $as_echo_n "(cached) " >&6
4272 else
4273   case $XGETTEXT in
4274   [\\/]* | ?:[\\/]*)
4275   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4276   ;;
4277   *)
4278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4280 do
4281   IFS=$as_save_IFS
4282   test -z "$as_dir" && as_dir=.
4283     for ac_exec_ext in '' $ac_executable_extensions; do
4284   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287     break 2
4288   fi
4289 done
4290   done
4291 IFS=$as_save_IFS
4292
4293   ;;
4294 esac
4295 fi
4296 XGETTEXT=$ac_cv_path_XGETTEXT
4297 if test -n "$XGETTEXT"; then
4298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4299 $as_echo "$XGETTEXT" >&6; }
4300 else
4301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4303 fi
4304
4305
4306 # Extract the first word of "msgmerge", so it can be a program name with args.
4307 set dummy msgmerge; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_path_MSGMERGE+:} false; then :
4311   $as_echo_n "(cached) " >&6
4312 else
4313   case $MSGMERGE in
4314   [\\/]* | ?:[\\/]*)
4315   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4316   ;;
4317   *)
4318   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 for as_dir in $PATH
4320 do
4321   IFS=$as_save_IFS
4322   test -z "$as_dir" && as_dir=.
4323     for ac_exec_ext in '' $ac_executable_extensions; do
4324   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4327     break 2
4328   fi
4329 done
4330   done
4331 IFS=$as_save_IFS
4332
4333   ;;
4334 esac
4335 fi
4336 MSGMERGE=$ac_cv_path_MSGMERGE
4337 if test -n "$MSGMERGE"; then
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4339 $as_echo "$MSGMERGE" >&6; }
4340 else
4341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4343 fi
4344
4345
4346 # Extract the first word of "msgfmt", so it can be a program name with args.
4347 set dummy msgfmt; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_path_MSGFMT+:} false; then :
4351   $as_echo_n "(cached) " >&6
4352 else
4353   case $MSGFMT in
4354   [\\/]* | ?:[\\/]*)
4355   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4356   ;;
4357   *)
4358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4360 do
4361   IFS=$as_save_IFS
4362   test -z "$as_dir" && as_dir=.
4363     for ac_exec_ext in '' $ac_executable_extensions; do
4364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367     break 2
4368   fi
4369 done
4370   done
4371 IFS=$as_save_IFS
4372
4373   ;;
4374 esac
4375 fi
4376 MSGFMT=$ac_cv_path_MSGFMT
4377 if test -n "$MSGFMT"; then
4378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4379 $as_echo "$MSGFMT" >&6; }
4380 else
4381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4383 fi
4384
4385
4386 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4387 set dummy gmsgfmt; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_path_GMSGFMT+:} false; then :
4391   $as_echo_n "(cached) " >&6
4392 else
4393   case $GMSGFMT in
4394   [\\/]* | ?:[\\/]*)
4395   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4396   ;;
4397   *)
4398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4400 do
4401   IFS=$as_save_IFS
4402   test -z "$as_dir" && as_dir=.
4403     for ac_exec_ext in '' $ac_executable_extensions; do
4404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407     break 2
4408   fi
4409 done
4410   done
4411 IFS=$as_save_IFS
4412
4413   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4414   ;;
4415 esac
4416 fi
4417 GMSGFMT=$ac_cv_path_GMSGFMT
4418 if test -n "$GMSGFMT"; then
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4420 $as_echo "$GMSGFMT" >&6; }
4421 else
4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4424 fi
4425
4426
4427 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4428     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4429 fi
4430 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4431 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4432 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4433 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4434     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4435 fi
4436
4437 # Extract the first word of "perl", so it can be a program name with args.
4438 set dummy perl; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4442   $as_echo_n "(cached) " >&6
4443 else
4444   case $INTLTOOL_PERL in
4445   [\\/]* | ?:[\\/]*)
4446   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4447   ;;
4448   *)
4449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH
4451 do
4452   IFS=$as_save_IFS
4453   test -z "$as_dir" && as_dir=.
4454     for ac_exec_ext in '' $ac_executable_extensions; do
4455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458     break 2
4459   fi
4460 done
4461   done
4462 IFS=$as_save_IFS
4463
4464   ;;
4465 esac
4466 fi
4467 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4468 if test -n "$INTLTOOL_PERL"; then
4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4470 $as_echo "$INTLTOOL_PERL" >&6; }
4471 else
4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 $as_echo "no" >&6; }
4474 fi
4475
4476
4477 if test -z "$INTLTOOL_PERL"; then
4478    as_fn_error $? "perl not found" "$LINENO" 5
4479 fi
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4481 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4482 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4483 if test $? -ne 0; then
4484    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4485 else
4486    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4488 $as_echo "$IT_PERL_VERSION" >&6; }
4489 fi
4490 if test "x" != "xno-xml"; then
4491    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4492 $as_echo_n "checking for XML::Parser... " >&6; }
4493    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4494        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4495 $as_echo "ok" >&6; }
4496    else
4497        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4498    fi
4499 fi
4500
4501 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4502
4503
4504 # Set DATADIRNAME correctly if it is not set yet
4505 # (copied from glib-gettext.m4)
4506 if test -z "$DATADIRNAME"; then
4507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h.  */
4509
4510 int
4511 main ()
4512 {
4513 extern int _nl_msg_cat_cntr;
4514                        return _nl_msg_cat_cntr
4515   ;
4516   return 0;
4517 }
4518 _ACEOF
4519 if ac_fn_c_try_link "$LINENO"; then :
4520   DATADIRNAME=share
4521 else
4522   case $host in
4523     *-*-solaris*)
4524                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4525 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4526   DATADIRNAME=share
4527 else
4528   DATADIRNAME=lib
4529 fi
4530
4531     ;;
4532     *)
4533     DATADIRNAME=lib
4534     ;;
4535     esac
4536 fi
4537 rm -f core conftest.err conftest.$ac_objext \
4538     conftest$ac_exeext conftest.$ac_ext
4539 fi
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4554         if test -n "$ac_tool_prefix"; then
4555   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4556 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4560   $as_echo_n "(cached) " >&6
4561 else
4562   case $PKG_CONFIG in
4563   [\\/]* | ?:[\\/]*)
4564   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4565   ;;
4566   *)
4567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4569 do
4570   IFS=$as_save_IFS
4571   test -z "$as_dir" && as_dir=.
4572     for ac_exec_ext in '' $ac_executable_extensions; do
4573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576     break 2
4577   fi
4578 done
4579   done
4580 IFS=$as_save_IFS
4581
4582   ;;
4583 esac
4584 fi
4585 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4586 if test -n "$PKG_CONFIG"; then
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4588 $as_echo "$PKG_CONFIG" >&6; }
4589 else
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4592 fi
4593
4594
4595 fi
4596 if test -z "$ac_cv_path_PKG_CONFIG"; then
4597   ac_pt_PKG_CONFIG=$PKG_CONFIG
4598   # Extract the first word of "pkg-config", so it can be a program name with args.
4599 set dummy pkg-config; ac_word=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4603   $as_echo_n "(cached) " >&6
4604 else
4605   case $ac_pt_PKG_CONFIG in
4606   [\\/]* | ?:[\\/]*)
4607   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4608   ;;
4609   *)
4610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 for as_dir in $PATH
4612 do
4613   IFS=$as_save_IFS
4614   test -z "$as_dir" && as_dir=.
4615     for ac_exec_ext in '' $ac_executable_extensions; do
4616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4617     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619     break 2
4620   fi
4621 done
4622   done
4623 IFS=$as_save_IFS
4624
4625   ;;
4626 esac
4627 fi
4628 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4629 if test -n "$ac_pt_PKG_CONFIG"; then
4630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4631 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4632 else
4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4635 fi
4636
4637   if test "x$ac_pt_PKG_CONFIG" = x; then
4638     PKG_CONFIG=""
4639   else
4640     case $cross_compiling:$ac_tool_warned in
4641 yes:)
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4644 ac_tool_warned=yes ;;
4645 esac
4646     PKG_CONFIG=$ac_pt_PKG_CONFIG
4647   fi
4648 else
4649   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4650 fi
4651
4652 fi
4653 if test -n "$PKG_CONFIG"; then
4654         _pkg_min_version=0.9.0
4655         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4656 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4657         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4658                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4659 $as_echo "yes" >&6; }
4660         else
4661                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4663                 PKG_CONFIG=""
4664         fi
4665 fi
4666
4667 case `pwd` in
4668   *\ * | *\     *)
4669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4670 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4671 esac
4672
4673
4674
4675 macro_version='2.4.2'
4676 macro_revision='1.3337'
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690 ltmain="$ac_aux_dir/ltmain.sh"
4691
4692 # Make sure we can run config.sub.
4693 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4694   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4695
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4697 $as_echo_n "checking build system type... " >&6; }
4698 if ${ac_cv_build+:} false; then :
4699   $as_echo_n "(cached) " >&6
4700 else
4701   ac_build_alias=$build_alias
4702 test "x$ac_build_alias" = x &&
4703   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4704 test "x$ac_build_alias" = x &&
4705   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4706 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4707   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4708
4709 fi
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4711 $as_echo "$ac_cv_build" >&6; }
4712 case $ac_cv_build in
4713 *-*-*) ;;
4714 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4715 esac
4716 build=$ac_cv_build
4717 ac_save_IFS=$IFS; IFS='-'
4718 set x $ac_cv_build
4719 shift
4720 build_cpu=$1
4721 build_vendor=$2
4722 shift; shift
4723 # Remember, the first character of IFS is used to create $*,
4724 # except with old shells:
4725 build_os=$*
4726 IFS=$ac_save_IFS
4727 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4728
4729
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4731 $as_echo_n "checking host system type... " >&6; }
4732 if ${ac_cv_host+:} false; then :
4733   $as_echo_n "(cached) " >&6
4734 else
4735   if test "x$host_alias" = x; then
4736   ac_cv_host=$ac_cv_build
4737 else
4738   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4739     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4740 fi
4741
4742 fi
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4744 $as_echo "$ac_cv_host" >&6; }
4745 case $ac_cv_host in
4746 *-*-*) ;;
4747 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4748 esac
4749 host=$ac_cv_host
4750 ac_save_IFS=$IFS; IFS='-'
4751 set x $ac_cv_host
4752 shift
4753 host_cpu=$1
4754 host_vendor=$2
4755 shift; shift
4756 # Remember, the first character of IFS is used to create $*,
4757 # except with old shells:
4758 host_os=$*
4759 IFS=$ac_save_IFS
4760 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4761
4762
4763 # Backslashify metacharacters that are still active within
4764 # double-quoted strings.
4765 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4766
4767 # Same as above, but do not quote variable references.
4768 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4769
4770 # Sed substitution to delay expansion of an escaped shell variable in a
4771 # double_quote_subst'ed string.
4772 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4773
4774 # Sed substitution to delay expansion of an escaped single quote.
4775 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4776
4777 # Sed substitution to avoid accidental globbing in evaled expressions
4778 no_glob_subst='s/\*/\\\*/g'
4779
4780 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4781 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4782 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4783
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4785 $as_echo_n "checking how to print strings... " >&6; }
4786 # Test print first, because it will be a builtin if present.
4787 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4788    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4789   ECHO='print -r --'
4790 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4791   ECHO='printf %s\n'
4792 else
4793   # Use this function as a fallback that always works.
4794   func_fallback_echo ()
4795   {
4796     eval 'cat <<_LTECHO_EOF
4797 $1
4798 _LTECHO_EOF'
4799   }
4800   ECHO='func_fallback_echo'
4801 fi
4802
4803 # func_echo_all arg...
4804 # Invoke $ECHO with all args, space-separated.
4805 func_echo_all ()
4806 {
4807     $ECHO ""
4808 }
4809
4810 case "$ECHO" in
4811   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4812 $as_echo "printf" >&6; } ;;
4813   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4814 $as_echo "print -r" >&6; } ;;
4815   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4816 $as_echo "cat" >&6; } ;;
4817 esac
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4833 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4834 if ${ac_cv_path_SED+:} false; then :
4835   $as_echo_n "(cached) " >&6
4836 else
4837             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4838      for ac_i in 1 2 3 4 5 6 7; do
4839        ac_script="$ac_script$as_nl$ac_script"
4840      done
4841      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4842      { ac_script=; unset ac_script;}
4843      if test -z "$SED"; then
4844   ac_path_SED_found=false
4845   # Loop through the user's path and test for each of PROGNAME-LIST
4846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4848 do
4849   IFS=$as_save_IFS
4850   test -z "$as_dir" && as_dir=.
4851     for ac_prog in sed gsed; do
4852     for ac_exec_ext in '' $ac_executable_extensions; do
4853       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4854       as_fn_executable_p "$ac_path_SED" || continue
4855 # Check for GNU ac_path_SED and select it if it is found.
4856   # Check for GNU $ac_path_SED
4857 case `"$ac_path_SED" --version 2>&1` in
4858 *GNU*)
4859   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4860 *)
4861   ac_count=0
4862   $as_echo_n 0123456789 >"conftest.in"
4863   while :
4864   do
4865     cat "conftest.in" "conftest.in" >"conftest.tmp"
4866     mv "conftest.tmp" "conftest.in"
4867     cp "conftest.in" "conftest.nl"
4868     $as_echo '' >> "conftest.nl"
4869     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4870     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4871     as_fn_arith $ac_count + 1 && ac_count=$as_val
4872     if test $ac_count -gt ${ac_path_SED_max-0}; then
4873       # Best one so far, save it but keep looking for a better one
4874       ac_cv_path_SED="$ac_path_SED"
4875       ac_path_SED_max=$ac_count
4876     fi
4877     # 10*(2^10) chars as input seems more than enough
4878     test $ac_count -gt 10 && break
4879   done
4880   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4881 esac
4882
4883       $ac_path_SED_found && break 3
4884     done
4885   done
4886   done
4887 IFS=$as_save_IFS
4888   if test -z "$ac_cv_path_SED"; then
4889     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4890   fi
4891 else
4892   ac_cv_path_SED=$SED
4893 fi
4894
4895 fi
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4897 $as_echo "$ac_cv_path_SED" >&6; }
4898  SED="$ac_cv_path_SED"
4899   rm -f conftest.sed
4900
4901 test -z "$SED" && SED=sed
4902 Xsed="$SED -e 1s/^X//"
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4915 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4916 if ${ac_cv_path_GREP+:} false; then :
4917   $as_echo_n "(cached) " >&6
4918 else
4919   if test -z "$GREP"; then
4920   ac_path_GREP_found=false
4921   # Loop through the user's path and test for each of PROGNAME-LIST
4922   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4924 do
4925   IFS=$as_save_IFS
4926   test -z "$as_dir" && as_dir=.
4927     for ac_prog in grep ggrep; do
4928     for ac_exec_ext in '' $ac_executable_extensions; do
4929       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4930       as_fn_executable_p "$ac_path_GREP" || continue
4931 # Check for GNU ac_path_GREP and select it if it is found.
4932   # Check for GNU $ac_path_GREP
4933 case `"$ac_path_GREP" --version 2>&1` in
4934 *GNU*)
4935   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4936 *)
4937   ac_count=0
4938   $as_echo_n 0123456789 >"conftest.in"
4939   while :
4940   do
4941     cat "conftest.in" "conftest.in" >"conftest.tmp"
4942     mv "conftest.tmp" "conftest.in"
4943     cp "conftest.in" "conftest.nl"
4944     $as_echo 'GREP' >> "conftest.nl"
4945     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4946     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4947     as_fn_arith $ac_count + 1 && ac_count=$as_val
4948     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4949       # Best one so far, save it but keep looking for a better one
4950       ac_cv_path_GREP="$ac_path_GREP"
4951       ac_path_GREP_max=$ac_count
4952     fi
4953     # 10*(2^10) chars as input seems more than enough
4954     test $ac_count -gt 10 && break
4955   done
4956   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4957 esac
4958
4959       $ac_path_GREP_found && break 3
4960     done
4961   done
4962   done
4963 IFS=$as_save_IFS
4964   if test -z "$ac_cv_path_GREP"; then
4965     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4966   fi
4967 else
4968   ac_cv_path_GREP=$GREP
4969 fi
4970
4971 fi
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4973 $as_echo "$ac_cv_path_GREP" >&6; }
4974  GREP="$ac_cv_path_GREP"
4975
4976
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4978 $as_echo_n "checking for egrep... " >&6; }
4979 if ${ac_cv_path_EGREP+:} false; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4983    then ac_cv_path_EGREP="$GREP -E"
4984    else
4985      if test -z "$EGREP"; then
4986   ac_path_EGREP_found=false
4987   # Loop through the user's path and test for each of PROGNAME-LIST
4988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4990 do
4991   IFS=$as_save_IFS
4992   test -z "$as_dir" && as_dir=.
4993     for ac_prog in egrep; do
4994     for ac_exec_ext in '' $ac_executable_extensions; do
4995       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4996       as_fn_executable_p "$ac_path_EGREP" || continue
4997 # Check for GNU ac_path_EGREP and select it if it is found.
4998   # Check for GNU $ac_path_EGREP
4999 case `"$ac_path_EGREP" --version 2>&1` in
5000 *GNU*)
5001   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5002 *)
5003   ac_count=0
5004   $as_echo_n 0123456789 >"conftest.in"
5005   while :
5006   do
5007     cat "conftest.in" "conftest.in" >"conftest.tmp"
5008     mv "conftest.tmp" "conftest.in"
5009     cp "conftest.in" "conftest.nl"
5010     $as_echo 'EGREP' >> "conftest.nl"
5011     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5013     as_fn_arith $ac_count + 1 && ac_count=$as_val
5014     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5015       # Best one so far, save it but keep looking for a better one
5016       ac_cv_path_EGREP="$ac_path_EGREP"
5017       ac_path_EGREP_max=$ac_count
5018     fi
5019     # 10*(2^10) chars as input seems more than enough
5020     test $ac_count -gt 10 && break
5021   done
5022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5023 esac
5024
5025       $ac_path_EGREP_found && break 3
5026     done
5027   done
5028   done
5029 IFS=$as_save_IFS
5030   if test -z "$ac_cv_path_EGREP"; then
5031     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5032   fi
5033 else
5034   ac_cv_path_EGREP=$EGREP
5035 fi
5036
5037    fi
5038 fi
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5040 $as_echo "$ac_cv_path_EGREP" >&6; }
5041  EGREP="$ac_cv_path_EGREP"
5042
5043
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5045 $as_echo_n "checking for fgrep... " >&6; }
5046 if ${ac_cv_path_FGREP+:} false; then :
5047   $as_echo_n "(cached) " >&6
5048 else
5049   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5050    then ac_cv_path_FGREP="$GREP -F"
5051    else
5052      if test -z "$FGREP"; then
5053   ac_path_FGREP_found=false
5054   # Loop through the user's path and test for each of PROGNAME-LIST
5055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5057 do
5058   IFS=$as_save_IFS
5059   test -z "$as_dir" && as_dir=.
5060     for ac_prog in fgrep; do
5061     for ac_exec_ext in '' $ac_executable_extensions; do
5062       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5063       as_fn_executable_p "$ac_path_FGREP" || continue
5064 # Check for GNU ac_path_FGREP and select it if it is found.
5065   # Check for GNU $ac_path_FGREP
5066 case `"$ac_path_FGREP" --version 2>&1` in
5067 *GNU*)
5068   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5069 *)
5070   ac_count=0
5071   $as_echo_n 0123456789 >"conftest.in"
5072   while :
5073   do
5074     cat "conftest.in" "conftest.in" >"conftest.tmp"
5075     mv "conftest.tmp" "conftest.in"
5076     cp "conftest.in" "conftest.nl"
5077     $as_echo 'FGREP' >> "conftest.nl"
5078     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5079     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5080     as_fn_arith $ac_count + 1 && ac_count=$as_val
5081     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5082       # Best one so far, save it but keep looking for a better one
5083       ac_cv_path_FGREP="$ac_path_FGREP"
5084       ac_path_FGREP_max=$ac_count
5085     fi
5086     # 10*(2^10) chars as input seems more than enough
5087     test $ac_count -gt 10 && break
5088   done
5089   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5090 esac
5091
5092       $ac_path_FGREP_found && break 3
5093     done
5094   done
5095   done
5096 IFS=$as_save_IFS
5097   if test -z "$ac_cv_path_FGREP"; then
5098     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5099   fi
5100 else
5101   ac_cv_path_FGREP=$FGREP
5102 fi
5103
5104    fi
5105 fi
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5107 $as_echo "$ac_cv_path_FGREP" >&6; }
5108  FGREP="$ac_cv_path_FGREP"
5109
5110
5111 test -z "$GREP" && GREP=grep
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131 # Check whether --with-gnu-ld was given.
5132 if test "${with_gnu_ld+set}" = set; then :
5133   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5134 else
5135   with_gnu_ld=no
5136 fi
5137
5138 ac_prog=ld
5139 if test "$GCC" = yes; then
5140   # Check if gcc -print-prog-name=ld gives a path.
5141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5142 $as_echo_n "checking for ld used by $CC... " >&6; }
5143   case $host in
5144   *-*-mingw*)
5145     # gcc leaves a trailing carriage return which upsets mingw
5146     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5147   *)
5148     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5149   esac
5150   case $ac_prog in
5151     # Accept absolute paths.
5152     [\\/]* | ?:[\\/]*)
5153       re_direlt='/[^/][^/]*/\.\./'
5154       # Canonicalize the pathname of ld
5155       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5156       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5157         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5158       done
5159       test -z "$LD" && LD="$ac_prog"
5160       ;;
5161   "")
5162     # If it fails, then pretend we aren't using GCC.
5163     ac_prog=ld
5164     ;;
5165   *)
5166     # If it is relative, then search for the first ld in PATH.
5167     with_gnu_ld=unknown
5168     ;;
5169   esac
5170 elif test "$with_gnu_ld" = yes; then
5171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5172 $as_echo_n "checking for GNU ld... " >&6; }
5173 else
5174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5175 $as_echo_n "checking for non-GNU ld... " >&6; }
5176 fi
5177 if ${lt_cv_path_LD+:} false; then :
5178   $as_echo_n "(cached) " >&6
5179 else
5180   if test -z "$LD"; then
5181   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5182   for ac_dir in $PATH; do
5183     IFS="$lt_save_ifs"
5184     test -z "$ac_dir" && ac_dir=.
5185     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5186       lt_cv_path_LD="$ac_dir/$ac_prog"
5187       # Check to see if the program is GNU ld.  I'd rather use --version,
5188       # but apparently some variants of GNU ld only accept -v.
5189       # Break only if it was the GNU/non-GNU ld that we prefer.
5190       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5191       *GNU* | *'with BFD'*)
5192         test "$with_gnu_ld" != no && break
5193         ;;
5194       *)
5195         test "$with_gnu_ld" != yes && break
5196         ;;
5197       esac
5198     fi
5199   done
5200   IFS="$lt_save_ifs"
5201 else
5202   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5203 fi
5204 fi
5205
5206 LD="$lt_cv_path_LD"
5207 if test -n "$LD"; then
5208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5209 $as_echo "$LD" >&6; }
5210 else
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 fi
5214 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5216 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5217 if ${lt_cv_prog_gnu_ld+:} false; then :
5218   $as_echo_n "(cached) " >&6
5219 else
5220   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5221 case `$LD -v 2>&1 </dev/null` in
5222 *GNU* | *'with BFD'*)
5223   lt_cv_prog_gnu_ld=yes
5224   ;;
5225 *)
5226   lt_cv_prog_gnu_ld=no
5227   ;;
5228 esac
5229 fi
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5231 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5232 with_gnu_ld=$lt_cv_prog_gnu_ld
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5243 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5244 if ${lt_cv_path_NM+:} false; then :
5245   $as_echo_n "(cached) " >&6
5246 else
5247   if test -n "$NM"; then
5248   # Let the user override the test.
5249   lt_cv_path_NM="$NM"
5250 else
5251   lt_nm_to_check="${ac_tool_prefix}nm"
5252   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5253     lt_nm_to_check="$lt_nm_to_check nm"
5254   fi
5255   for lt_tmp_nm in $lt_nm_to_check; do
5256     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5257     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5258       IFS="$lt_save_ifs"
5259       test -z "$ac_dir" && ac_dir=.
5260       tmp_nm="$ac_dir/$lt_tmp_nm"
5261       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5262         # Check to see if the nm accepts a BSD-compat flag.
5263         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5264         #   nm: unknown option "B" ignored
5265         # Tru64's nm complains that /dev/null is an invalid object file
5266         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5267         */dev/null* | *'Invalid file or object type'*)
5268           lt_cv_path_NM="$tmp_nm -B"
5269           break
5270           ;;
5271         *)
5272           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5273           */dev/null*)
5274             lt_cv_path_NM="$tmp_nm -p"
5275             break
5276             ;;
5277           *)
5278             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5279             continue # so that we can try to find one that supports BSD flags
5280             ;;
5281           esac
5282           ;;
5283         esac
5284       fi
5285     done
5286     IFS="$lt_save_ifs"
5287   done
5288   : ${lt_cv_path_NM=no}
5289 fi
5290 fi
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5292 $as_echo "$lt_cv_path_NM" >&6; }
5293 if test "$lt_cv_path_NM" != "no"; then
5294   NM="$lt_cv_path_NM"
5295 else
5296   # Didn't find any BSD compatible name lister, look for dumpbin.
5297   if test -n "$DUMPBIN"; then :
5298     # Let the user override the test.
5299   else
5300     if test -n "$ac_tool_prefix"; then
5301   for ac_prog in dumpbin "link -dump"
5302   do
5303     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_DUMPBIN+:} false; then :
5308   $as_echo_n "(cached) " >&6
5309 else
5310   if test -n "$DUMPBIN"; then
5311   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5315 do
5316   IFS=$as_save_IFS
5317   test -z "$as_dir" && as_dir=.
5318     for ac_exec_ext in '' $ac_executable_extensions; do
5319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322     break 2
5323   fi
5324 done
5325   done
5326 IFS=$as_save_IFS
5327
5328 fi
5329 fi
5330 DUMPBIN=$ac_cv_prog_DUMPBIN
5331 if test -n "$DUMPBIN"; then
5332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5333 $as_echo "$DUMPBIN" >&6; }
5334 else
5335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5337 fi
5338
5339
5340     test -n "$DUMPBIN" && break
5341   done
5342 fi
5343 if test -z "$DUMPBIN"; then
5344   ac_ct_DUMPBIN=$DUMPBIN
5345   for ac_prog in dumpbin "link -dump"
5346 do
5347   # Extract the first word of "$ac_prog", so it can be a program name with args.
5348 set dummy $ac_prog; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5352   $as_echo_n "(cached) " >&6
5353 else
5354   if test -n "$ac_ct_DUMPBIN"; then
5355   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5356 else
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358 for as_dir in $PATH
5359 do
5360   IFS=$as_save_IFS
5361   test -z "$as_dir" && as_dir=.
5362     for ac_exec_ext in '' $ac_executable_extensions; do
5363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5364     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366     break 2
5367   fi
5368 done
5369   done
5370 IFS=$as_save_IFS
5371
5372 fi
5373 fi
5374 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5375 if test -n "$ac_ct_DUMPBIN"; then
5376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5377 $as_echo "$ac_ct_DUMPBIN" >&6; }
5378 else
5379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5381 fi
5382
5383
5384   test -n "$ac_ct_DUMPBIN" && break
5385 done
5386
5387   if test "x$ac_ct_DUMPBIN" = x; then
5388     DUMPBIN=":"
5389   else
5390     case $cross_compiling:$ac_tool_warned in
5391 yes:)
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5394 ac_tool_warned=yes ;;
5395 esac
5396     DUMPBIN=$ac_ct_DUMPBIN
5397   fi
5398 fi
5399
5400     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5401     *COFF*)
5402       DUMPBIN="$DUMPBIN -symbols"
5403       ;;
5404     *)
5405       DUMPBIN=:
5406       ;;
5407     esac
5408   fi
5409
5410   if test "$DUMPBIN" != ":"; then
5411     NM="$DUMPBIN"
5412   fi
5413 fi
5414 test -z "$NM" && NM=nm
5415
5416
5417
5418
5419
5420
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5422 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5423 if ${lt_cv_nm_interface+:} false; then :
5424   $as_echo_n "(cached) " >&6
5425 else
5426   lt_cv_nm_interface="BSD nm"
5427   echo "int some_variable = 0;" > conftest.$ac_ext
5428   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5429   (eval "$ac_compile" 2>conftest.err)
5430   cat conftest.err >&5
5431   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5432   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5433   cat conftest.err >&5
5434   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5435   cat conftest.out >&5
5436   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5437     lt_cv_nm_interface="MS dumpbin"
5438   fi
5439   rm -f conftest*
5440 fi
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5442 $as_echo "$lt_cv_nm_interface" >&6; }
5443
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5445 $as_echo_n "checking whether ln -s works... " >&6; }
5446 LN_S=$as_ln_s
5447 if test "$LN_S" = "ln -s"; then
5448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 $as_echo "yes" >&6; }
5450 else
5451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5452 $as_echo "no, using $LN_S" >&6; }
5453 fi
5454
5455 # find the maximum length of command line arguments
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5457 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5458 if ${lt_cv_sys_max_cmd_len+:} false; then :
5459   $as_echo_n "(cached) " >&6
5460 else
5461     i=0
5462   teststring="ABCD"
5463
5464   case $build_os in
5465   msdosdjgpp*)
5466     # On DJGPP, this test can blow up pretty badly due to problems in libc
5467     # (any single argument exceeding 2000 bytes causes a buffer overrun
5468     # during glob expansion).  Even if it were fixed, the result of this
5469     # check would be larger than it should be.
5470     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5471     ;;
5472
5473   gnu*)
5474     # Under GNU Hurd, this test is not required because there is
5475     # no limit to the length of command line arguments.
5476     # Libtool will interpret -1 as no limit whatsoever
5477     lt_cv_sys_max_cmd_len=-1;
5478     ;;
5479
5480   cygwin* | mingw* | cegcc*)
5481     # On Win9x/ME, this test blows up -- it succeeds, but takes
5482     # about 5 minutes as the teststring grows exponentially.
5483     # Worse, since 9x/ME are not pre-emptively multitasking,
5484     # you end up with a "frozen" computer, even though with patience
5485     # the test eventually succeeds (with a max line length of 256k).
5486     # Instead, let's just punt: use the minimum linelength reported by
5487     # all of the supported platforms: 8192 (on NT/2K/XP).
5488     lt_cv_sys_max_cmd_len=8192;
5489     ;;
5490
5491   mint*)
5492     # On MiNT this can take a long time and run out of memory.
5493     lt_cv_sys_max_cmd_len=8192;
5494     ;;
5495
5496   amigaos*)
5497     # On AmigaOS with pdksh, this test takes hours, literally.
5498     # So we just punt and use a minimum line length of 8192.
5499     lt_cv_sys_max_cmd_len=8192;
5500     ;;
5501
5502   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5503     # This has been around since 386BSD, at least.  Likely further.
5504     if test -x /sbin/sysctl; then
5505       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5506     elif test -x /usr/sbin/sysctl; then
5507       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5508     else
5509       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5510     fi
5511     # And add a safety zone
5512     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5513     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5514     ;;
5515
5516   interix*)
5517     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5518     lt_cv_sys_max_cmd_len=196608
5519     ;;
5520
5521   os2*)
5522     # The test takes a long time on OS/2.
5523     lt_cv_sys_max_cmd_len=8192
5524     ;;
5525
5526   osf*)
5527     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5528     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5529     # nice to cause kernel panics so lets avoid the loop below.
5530     # First set a reasonable default.
5531     lt_cv_sys_max_cmd_len=16384
5532     #
5533     if test -x /sbin/sysconfig; then
5534       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5535         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5536       esac
5537     fi
5538     ;;
5539   sco3.2v5*)
5540     lt_cv_sys_max_cmd_len=102400
5541     ;;
5542   sysv5* | sco5v6* | sysv4.2uw2*)
5543     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5544     if test -n "$kargmax"; then
5545       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5546     else
5547       lt_cv_sys_max_cmd_len=32768
5548     fi
5549     ;;
5550   *)
5551     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5552     if test -n "$lt_cv_sys_max_cmd_len" && \
5553         test undefined != "$lt_cv_sys_max_cmd_len"; then
5554       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5555       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5556     else
5557       # Make teststring a little bigger before we do anything with it.
5558       # a 1K string should be a reasonable start.
5559       for i in 1 2 3 4 5 6 7 8 ; do
5560         teststring=$teststring$teststring
5561       done
5562       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5563       # If test is not a shell built-in, we'll probably end up computing a
5564       # maximum length that is only half of the actual maximum length, but
5565       # we can't tell.
5566       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5567                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5568               test $i != 17 # 1/2 MB should be enough
5569       do
5570         i=`expr $i + 1`
5571         teststring=$teststring$teststring
5572       done
5573       # Only check the string length outside the loop.
5574       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5575       teststring=
5576       # Add a significant safety factor because C++ compilers can tack on
5577       # massive amounts of additional arguments before passing them to the
5578       # linker.  It appears as though 1/2 is a usable value.
5579       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5580     fi
5581     ;;
5582   esac
5583
5584 fi
5585
5586 if test -n $lt_cv_sys_max_cmd_len ; then
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5588 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5589 else
5590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5591 $as_echo "none" >&6; }
5592 fi
5593 max_cmd_len=$lt_cv_sys_max_cmd_len
5594
5595
5596
5597
5598
5599
5600 : ${CP="cp -f"}
5601 : ${MV="mv -f"}
5602 : ${RM="rm -f"}
5603
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5605 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5606 # Try some XSI features
5607 xsi_shell=no
5608 ( _lt_dummy="a/b/c"
5609   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5610       = c,a/b,b/c, \
5611     && eval 'test $(( 1 + 1 )) -eq 2 \
5612     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5613   && xsi_shell=yes
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5615 $as_echo "$xsi_shell" >&6; }
5616
5617
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5619 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5620 lt_shell_append=no
5621 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5622     >/dev/null 2>&1 \
5623   && lt_shell_append=yes
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5625 $as_echo "$lt_shell_append" >&6; }
5626
5627
5628 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5629   lt_unset=unset
5630 else
5631   lt_unset=false
5632 fi
5633
5634
5635
5636
5637
5638 # test EBCDIC or ASCII
5639 case `echo X|tr X '\101'` in
5640  A) # ASCII based system
5641     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5642   lt_SP2NL='tr \040 \012'
5643   lt_NL2SP='tr \015\012 \040\040'
5644   ;;
5645  *) # EBCDIC based system
5646   lt_SP2NL='tr \100 \n'
5647   lt_NL2SP='tr \r\n \100\100'
5648   ;;
5649 esac
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5660 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5661 if ${lt_cv_to_host_file_cmd+:} false; then :
5662   $as_echo_n "(cached) " >&6
5663 else
5664   case $host in
5665   *-*-mingw* )
5666     case $build in
5667       *-*-mingw* ) # actually msys
5668         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5669         ;;
5670       *-*-cygwin* )
5671         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5672         ;;
5673       * ) # otherwise, assume *nix
5674         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5675         ;;
5676     esac
5677     ;;
5678   *-*-cygwin* )
5679     case $build in
5680       *-*-mingw* ) # actually msys
5681         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5682         ;;
5683       *-*-cygwin* )
5684         lt_cv_to_host_file_cmd=func_convert_file_noop
5685         ;;
5686       * ) # otherwise, assume *nix
5687         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5688         ;;
5689     esac
5690     ;;
5691   * ) # unhandled hosts (and "normal" native builds)
5692     lt_cv_to_host_file_cmd=func_convert_file_noop
5693     ;;
5694 esac
5695
5696 fi
5697
5698 to_host_file_cmd=$lt_cv_to_host_file_cmd
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5700 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5701
5702
5703
5704
5705
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5707 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5708 if ${lt_cv_to_tool_file_cmd+:} false; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   #assume ordinary cross tools, or native build.
5712 lt_cv_to_tool_file_cmd=func_convert_file_noop
5713 case $host in
5714   *-*-mingw* )
5715     case $build in
5716       *-*-mingw* ) # actually msys
5717         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5718         ;;
5719     esac
5720     ;;
5721 esac
5722
5723 fi
5724
5725 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5727 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5728
5729
5730
5731
5732
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5734 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5735 if ${lt_cv_ld_reload_flag+:} false; then :
5736   $as_echo_n "(cached) " >&6
5737 else
5738   lt_cv_ld_reload_flag='-r'
5739 fi
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5741 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5742 reload_flag=$lt_cv_ld_reload_flag
5743 case $reload_flag in
5744 "" | " "*) ;;
5745 *) reload_flag=" $reload_flag" ;;
5746 esac
5747 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5748 case $host_os in
5749   cygwin* | mingw* | pw32* | cegcc*)
5750     if test "$GCC" != yes; then
5751       reload_cmds=false
5752     fi
5753     ;;
5754   darwin*)
5755     if test "$GCC" = yes; then
5756       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5757     else
5758       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5759     fi
5760     ;;
5761 esac
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771 if test -n "$ac_tool_prefix"; then
5772   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_OBJDUMP+:} false; then :
5777   $as_echo_n "(cached) " >&6
5778 else
5779   if test -n "$OBJDUMP"; then
5780   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5784 do
5785   IFS=$as_save_IFS
5786   test -z "$as_dir" && as_dir=.
5787     for ac_exec_ext in '' $ac_executable_extensions; do
5788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791     break 2
5792   fi
5793 done
5794   done
5795 IFS=$as_save_IFS
5796
5797 fi
5798 fi
5799 OBJDUMP=$ac_cv_prog_OBJDUMP
5800 if test -n "$OBJDUMP"; then
5801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5802 $as_echo "$OBJDUMP" >&6; }
5803 else
5804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5806 fi
5807
5808
5809 fi
5810 if test -z "$ac_cv_prog_OBJDUMP"; then
5811   ac_ct_OBJDUMP=$OBJDUMP
5812   # Extract the first word of "objdump", so it can be a program name with args.
5813 set dummy objdump; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5817   $as_echo_n "(cached) " >&6
5818 else
5819   if test -n "$ac_ct_OBJDUMP"; then
5820   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5824 do
5825   IFS=$as_save_IFS
5826   test -z "$as_dir" && as_dir=.
5827     for ac_exec_ext in '' $ac_executable_extensions; do
5828   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831     break 2
5832   fi
5833 done
5834   done
5835 IFS=$as_save_IFS
5836
5837 fi
5838 fi
5839 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5840 if test -n "$ac_ct_OBJDUMP"; then
5841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5842 $as_echo "$ac_ct_OBJDUMP" >&6; }
5843 else
5844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5846 fi
5847
5848   if test "x$ac_ct_OBJDUMP" = x; then
5849     OBJDUMP="false"
5850   else
5851     case $cross_compiling:$ac_tool_warned in
5852 yes:)
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned=yes ;;
5856 esac
5857     OBJDUMP=$ac_ct_OBJDUMP
5858   fi
5859 else
5860   OBJDUMP="$ac_cv_prog_OBJDUMP"
5861 fi
5862
5863 test -z "$OBJDUMP" && OBJDUMP=objdump
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5874 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5875 if ${lt_cv_deplibs_check_method+:} false; then :
5876   $as_echo_n "(cached) " >&6
5877 else
5878   lt_cv_file_magic_cmd='$MAGIC_CMD'
5879 lt_cv_file_magic_test_file=
5880 lt_cv_deplibs_check_method='unknown'
5881 # Need to set the preceding variable on all platforms that support
5882 # interlibrary dependencies.
5883 # 'none' -- dependencies not supported.
5884 # `unknown' -- same as none, but documents that we really don't know.
5885 # 'pass_all' -- all dependencies passed with no checks.
5886 # 'test_compile' -- check by making test program.
5887 # 'file_magic [[regex]]' -- check by looking for files in library path
5888 # which responds to the $file_magic_cmd with a given extended regex.
5889 # If you have `file' or equivalent on your system and you're not sure
5890 # whether `pass_all' will *always* work, you probably want this one.
5891
5892 case $host_os in
5893 aix[4-9]*)
5894   lt_cv_deplibs_check_method=pass_all
5895   ;;
5896
5897 beos*)
5898   lt_cv_deplibs_check_method=pass_all
5899   ;;
5900
5901 bsdi[45]*)
5902   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5903   lt_cv_file_magic_cmd='/usr/bin/file -L'
5904   lt_cv_file_magic_test_file=/shlib/libc.so
5905   ;;
5906
5907 cygwin*)
5908   # func_win32_libid is a shell function defined in ltmain.sh
5909   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5910   lt_cv_file_magic_cmd='func_win32_libid'
5911   ;;
5912
5913 mingw* | pw32*)
5914   # Base MSYS/MinGW do not provide the 'file' command needed by
5915   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5916   # unless we find 'file', for example because we are cross-compiling.
5917   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5918   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5919     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5920     lt_cv_file_magic_cmd='func_win32_libid'
5921   else
5922     # Keep this pattern in sync with the one in func_win32_libid.
5923     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5924     lt_cv_file_magic_cmd='$OBJDUMP -f'
5925   fi
5926   ;;
5927
5928 cegcc*)
5929   # use the weaker test based on 'objdump'. See mingw*.
5930   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5931   lt_cv_file_magic_cmd='$OBJDUMP -f'
5932   ;;
5933
5934 darwin* | rhapsody*)
5935   lt_cv_deplibs_check_method=pass_all
5936   ;;
5937
5938 freebsd* | dragonfly*)
5939   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5940     case $host_cpu in
5941     i*86 )
5942       # Not sure whether the presence of OpenBSD here was a mistake.
5943       # Let's accept both of them until this is cleared up.
5944       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5945       lt_cv_file_magic_cmd=/usr/bin/file
5946       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5947       ;;
5948     esac
5949   else
5950     lt_cv_deplibs_check_method=pass_all
5951   fi
5952   ;;
5953
5954 haiku*)
5955   lt_cv_deplibs_check_method=pass_all
5956   ;;
5957
5958 hpux10.20* | hpux11*)
5959   lt_cv_file_magic_cmd=/usr/bin/file
5960   case $host_cpu in
5961   ia64*)
5962     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5963     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5964     ;;
5965   hppa*64*)
5966     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]'
5967     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5968     ;;
5969   *)
5970     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5971     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5972     ;;
5973   esac
5974   ;;
5975
5976 interix[3-9]*)
5977   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5978   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5979   ;;
5980
5981 irix5* | irix6* | nonstopux*)
5982   case $LD in
5983   *-32|*"-32 ") libmagic=32-bit;;
5984   *-n32|*"-n32 ") libmagic=N32;;
5985   *-64|*"-64 ") libmagic=64-bit;;
5986   *) libmagic=never-match;;
5987   esac
5988   lt_cv_deplibs_check_method=pass_all
5989   ;;
5990
5991 # This must be glibc/ELF.
5992 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5993   lt_cv_deplibs_check_method=pass_all
5994   ;;
5995
5996 netbsd* | netbsdelf*-gnu)
5997   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5998     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5999   else
6000     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6001   fi
6002   ;;
6003
6004 newos6*)
6005   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6006   lt_cv_file_magic_cmd=/usr/bin/file
6007   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6008   ;;
6009
6010 *nto* | *qnx*)
6011   lt_cv_deplibs_check_method=pass_all
6012   ;;
6013
6014 openbsd*)
6015   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6016     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6017   else
6018     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6019   fi
6020   ;;
6021
6022 osf3* | osf4* | osf5*)
6023   lt_cv_deplibs_check_method=pass_all
6024   ;;
6025
6026 rdos*)
6027   lt_cv_deplibs_check_method=pass_all
6028   ;;
6029
6030 solaris*)
6031   lt_cv_deplibs_check_method=pass_all
6032   ;;
6033
6034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6035   lt_cv_deplibs_check_method=pass_all
6036   ;;
6037
6038 sysv4 | sysv4.3*)
6039   case $host_vendor in
6040   motorola)
6041     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]'
6042     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6043     ;;
6044   ncr)
6045     lt_cv_deplibs_check_method=pass_all
6046     ;;
6047   sequent)
6048     lt_cv_file_magic_cmd='/bin/file'
6049     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6050     ;;
6051   sni)
6052     lt_cv_file_magic_cmd='/bin/file'
6053     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6054     lt_cv_file_magic_test_file=/lib/libc.so
6055     ;;
6056   siemens)
6057     lt_cv_deplibs_check_method=pass_all
6058     ;;
6059   pc)
6060     lt_cv_deplibs_check_method=pass_all
6061     ;;
6062   esac
6063   ;;
6064
6065 tpf*)
6066   lt_cv_deplibs_check_method=pass_all
6067   ;;
6068 esac
6069
6070 fi
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6072 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6073
6074 file_magic_glob=
6075 want_nocaseglob=no
6076 if test "$build" = "$host"; then
6077   case $host_os in
6078   mingw* | pw32*)
6079     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6080       want_nocaseglob=yes
6081     else
6082       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6083     fi
6084     ;;
6085   esac
6086 fi
6087
6088 file_magic_cmd=$lt_cv_file_magic_cmd
6089 deplibs_check_method=$lt_cv_deplibs_check_method
6090 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113 if test -n "$ac_tool_prefix"; then
6114   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6115 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if ${ac_cv_prog_DLLTOOL+:} false; then :
6119   $as_echo_n "(cached) " >&6
6120 else
6121   if test -n "$DLLTOOL"; then
6122   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6126 do
6127   IFS=$as_save_IFS
6128   test -z "$as_dir" && as_dir=.
6129     for ac_exec_ext in '' $ac_executable_extensions; do
6130   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133     break 2
6134   fi
6135 done
6136   done
6137 IFS=$as_save_IFS
6138
6139 fi
6140 fi
6141 DLLTOOL=$ac_cv_prog_DLLTOOL
6142 if test -n "$DLLTOOL"; then
6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6144 $as_echo "$DLLTOOL" >&6; }
6145 else
6146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6148 fi
6149
6150
6151 fi
6152 if test -z "$ac_cv_prog_DLLTOOL"; then
6153   ac_ct_DLLTOOL=$DLLTOOL
6154   # Extract the first word of "dlltool", so it can be a program name with args.
6155 set dummy dlltool; ac_word=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6159   $as_echo_n "(cached) " >&6
6160 else
6161   if test -n "$ac_ct_DLLTOOL"; then
6162   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6166 do
6167   IFS=$as_save_IFS
6168   test -z "$as_dir" && as_dir=.
6169     for ac_exec_ext in '' $ac_executable_extensions; do
6170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6171     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173     break 2
6174   fi
6175 done
6176   done
6177 IFS=$as_save_IFS
6178
6179 fi
6180 fi
6181 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6182 if test -n "$ac_ct_DLLTOOL"; then
6183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6184 $as_echo "$ac_ct_DLLTOOL" >&6; }
6185 else
6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6188 fi
6189
6190   if test "x$ac_ct_DLLTOOL" = x; then
6191     DLLTOOL="false"
6192   else
6193     case $cross_compiling:$ac_tool_warned in
6194 yes:)
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned=yes ;;
6198 esac
6199     DLLTOOL=$ac_ct_DLLTOOL
6200   fi
6201 else
6202   DLLTOOL="$ac_cv_prog_DLLTOOL"
6203 fi
6204
6205 test -z "$DLLTOOL" && DLLTOOL=dlltool
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6217 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6218 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6219   $as_echo_n "(cached) " >&6
6220 else
6221   lt_cv_sharedlib_from_linklib_cmd='unknown'
6222
6223 case $host_os in
6224 cygwin* | mingw* | pw32* | cegcc*)
6225   # two different shell functions defined in ltmain.sh
6226   # decide which to use based on capabilities of $DLLTOOL
6227   case `$DLLTOOL --help 2>&1` in
6228   *--identify-strict*)
6229     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6230     ;;
6231   *)
6232     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6233     ;;
6234   esac
6235   ;;
6236 *)
6237   # fallback: assume linklib IS sharedlib
6238   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6239   ;;
6240 esac
6241
6242 fi
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6244 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6245 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6246 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6247
6248
6249
6250
6251
6252
6253
6254 if test -n "$ac_tool_prefix"; then
6255   for ac_prog in ar
6256   do
6257     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_AR+:} false; then :
6262   $as_echo_n "(cached) " >&6
6263 else
6264   if test -n "$AR"; then
6265   ac_cv_prog_AR="$AR" # Let the user override the test.
6266 else
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in $PATH
6269 do
6270   IFS=$as_save_IFS
6271   test -z "$as_dir" && as_dir=.
6272     for ac_exec_ext in '' $ac_executable_extensions; do
6273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276     break 2
6277   fi
6278 done
6279   done
6280 IFS=$as_save_IFS
6281
6282 fi
6283 fi
6284 AR=$ac_cv_prog_AR
6285 if test -n "$AR"; then
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6287 $as_echo "$AR" >&6; }
6288 else
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6291 fi
6292
6293
6294     test -n "$AR" && break
6295   done
6296 fi
6297 if test -z "$AR"; then
6298   ac_ct_AR=$AR
6299   for ac_prog in ar
6300 do
6301   # Extract the first word of "$ac_prog", so it can be a program name with args.
6302 set dummy $ac_prog; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6306   $as_echo_n "(cached) " >&6
6307 else
6308   if test -n "$ac_ct_AR"; then
6309   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6310 else
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 for as_dir in $PATH
6313 do
6314   IFS=$as_save_IFS
6315   test -z "$as_dir" && as_dir=.
6316     for ac_exec_ext in '' $ac_executable_extensions; do
6317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6318     ac_cv_prog_ac_ct_AR="$ac_prog"
6319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320     break 2
6321   fi
6322 done
6323   done
6324 IFS=$as_save_IFS
6325
6326 fi
6327 fi
6328 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6329 if test -n "$ac_ct_AR"; then
6330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6331 $as_echo "$ac_ct_AR" >&6; }
6332 else
6333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334 $as_echo "no" >&6; }
6335 fi
6336
6337
6338   test -n "$ac_ct_AR" && break
6339 done
6340
6341   if test "x$ac_ct_AR" = x; then
6342     AR="false"
6343   else
6344     case $cross_compiling:$ac_tool_warned in
6345 yes:)
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6348 ac_tool_warned=yes ;;
6349 esac
6350     AR=$ac_ct_AR
6351   fi
6352 fi
6353
6354 : ${AR=ar}
6355 : ${AR_FLAGS=cru}
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6368 $as_echo_n "checking for archiver @FILE support... " >&6; }
6369 if ${lt_cv_ar_at_file+:} false; then :
6370   $as_echo_n "(cached) " >&6
6371 else
6372   lt_cv_ar_at_file=no
6373    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h.  */
6375
6376 int
6377 main ()
6378 {
6379
6380   ;
6381   return 0;
6382 }
6383 _ACEOF
6384 if ac_fn_c_try_compile "$LINENO"; then :
6385   echo conftest.$ac_objext > conftest.lst
6386       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6387       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6388   (eval $lt_ar_try) 2>&5
6389   ac_status=$?
6390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6391   test $ac_status = 0; }
6392       if test "$ac_status" -eq 0; then
6393         # Ensure the archiver fails upon bogus file names.
6394         rm -f conftest.$ac_objext libconftest.a
6395         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6396   (eval $lt_ar_try) 2>&5
6397   ac_status=$?
6398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399   test $ac_status = 0; }
6400         if test "$ac_status" -ne 0; then
6401           lt_cv_ar_at_file=@
6402         fi
6403       fi
6404       rm -f conftest.* libconftest.a
6405
6406 fi
6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6408
6409 fi
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6411 $as_echo "$lt_cv_ar_at_file" >&6; }
6412
6413 if test "x$lt_cv_ar_at_file" = xno; then
6414   archiver_list_spec=
6415 else
6416   archiver_list_spec=$lt_cv_ar_at_file
6417 fi
6418
6419
6420
6421
6422
6423
6424
6425 if test -n "$ac_tool_prefix"; then
6426   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}strip; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_STRIP+:} false; then :
6431   $as_echo_n "(cached) " >&6
6432 else
6433   if test -n "$STRIP"; then
6434   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6438 do
6439   IFS=$as_save_IFS
6440   test -z "$as_dir" && as_dir=.
6441     for ac_exec_ext in '' $ac_executable_extensions; do
6442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445     break 2
6446   fi
6447 done
6448   done
6449 IFS=$as_save_IFS
6450
6451 fi
6452 fi
6453 STRIP=$ac_cv_prog_STRIP
6454 if test -n "$STRIP"; then
6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6456 $as_echo "$STRIP" >&6; }
6457 else
6458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6460 fi
6461
6462
6463 fi
6464 if test -z "$ac_cv_prog_STRIP"; then
6465   ac_ct_STRIP=$STRIP
6466   # Extract the first word of "strip", so it can be a program name with args.
6467 set dummy strip; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6471   $as_echo_n "(cached) " >&6
6472 else
6473   if test -n "$ac_ct_STRIP"; then
6474   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6475 else
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 for as_dir in $PATH
6478 do
6479   IFS=$as_save_IFS
6480   test -z "$as_dir" && as_dir=.
6481     for ac_exec_ext in '' $ac_executable_extensions; do
6482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483     ac_cv_prog_ac_ct_STRIP="strip"
6484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485     break 2
6486   fi
6487 done
6488   done
6489 IFS=$as_save_IFS
6490
6491 fi
6492 fi
6493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6494 if test -n "$ac_ct_STRIP"; then
6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6496 $as_echo "$ac_ct_STRIP" >&6; }
6497 else
6498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6500 fi
6501
6502   if test "x$ac_ct_STRIP" = x; then
6503     STRIP=":"
6504   else
6505     case $cross_compiling:$ac_tool_warned in
6506 yes:)
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509 ac_tool_warned=yes ;;
6510 esac
6511     STRIP=$ac_ct_STRIP
6512   fi
6513 else
6514   STRIP="$ac_cv_prog_STRIP"
6515 fi
6516
6517 test -z "$STRIP" && STRIP=:
6518
6519
6520
6521
6522
6523
6524 if test -n "$ac_tool_prefix"; then
6525   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if ${ac_cv_prog_RANLIB+:} false; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   if test -n "$RANLIB"; then
6533   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6537 do
6538   IFS=$as_save_IFS
6539   test -z "$as_dir" && as_dir=.
6540     for ac_exec_ext in '' $ac_executable_extensions; do
6541   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544     break 2
6545   fi
6546 done
6547   done
6548 IFS=$as_save_IFS
6549
6550 fi
6551 fi
6552 RANLIB=$ac_cv_prog_RANLIB
6553 if test -n "$RANLIB"; then
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6555 $as_echo "$RANLIB" >&6; }
6556 else
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6559 fi
6560
6561
6562 fi
6563 if test -z "$ac_cv_prog_RANLIB"; then
6564   ac_ct_RANLIB=$RANLIB
6565   # Extract the first word of "ranlib", so it can be a program name with args.
6566 set dummy ranlib; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   if test -n "$ac_ct_RANLIB"; then
6573   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6577 do
6578   IFS=$as_save_IFS
6579   test -z "$as_dir" && as_dir=.
6580     for ac_exec_ext in '' $ac_executable_extensions; do
6581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6582     ac_cv_prog_ac_ct_RANLIB="ranlib"
6583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584     break 2
6585   fi
6586 done
6587   done
6588 IFS=$as_save_IFS
6589
6590 fi
6591 fi
6592 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6593 if test -n "$ac_ct_RANLIB"; then
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6595 $as_echo "$ac_ct_RANLIB" >&6; }
6596 else
6597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6599 fi
6600
6601   if test "x$ac_ct_RANLIB" = x; then
6602     RANLIB=":"
6603   else
6604     case $cross_compiling:$ac_tool_warned in
6605 yes:)
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6609 esac
6610     RANLIB=$ac_ct_RANLIB
6611   fi
6612 else
6613   RANLIB="$ac_cv_prog_RANLIB"
6614 fi
6615
6616 test -z "$RANLIB" && RANLIB=:
6617
6618
6619
6620
6621
6622
6623 # Determine commands to create old-style static archives.
6624 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6625 old_postinstall_cmds='chmod 644 $oldlib'
6626 old_postuninstall_cmds=
6627
6628 if test -n "$RANLIB"; then
6629   case $host_os in
6630   openbsd*)
6631     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6632     ;;
6633   *)
6634     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6635     ;;
6636   esac
6637   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6638 fi
6639
6640 case $host_os in
6641   darwin*)
6642     lock_old_archive_extraction=yes ;;
6643   *)
6644     lock_old_archive_extraction=no ;;
6645 esac
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685 # If no C compiler was specified, use CC.
6686 LTCC=${LTCC-"$CC"}
6687
6688 # If no C compiler flags were specified, use CFLAGS.
6689 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6690
6691 # Allow CC to be a program name with arguments.
6692 compiler=$CC
6693
6694
6695 # Check for command to grab the raw symbol name followed by C symbol from nm.
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6697 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6698 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6699   $as_echo_n "(cached) " >&6
6700 else
6701
6702 # These are sane defaults that work on at least a few old systems.
6703 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6704
6705 # Character class describing NM global symbol codes.
6706 symcode='[BCDEGRST]'
6707
6708 # Regexp to match symbols that can be accessed directly from C.
6709 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6710
6711 # Define system-specific variables.
6712 case $host_os in
6713 aix*)
6714   symcode='[BCDT]'
6715   ;;
6716 cygwin* | mingw* | pw32* | cegcc*)
6717   symcode='[ABCDGISTW]'
6718   ;;
6719 hpux*)
6720   if test "$host_cpu" = ia64; then
6721     symcode='[ABCDEGRST]'
6722   fi
6723   ;;
6724 irix* | nonstopux*)
6725   symcode='[BCDEGRST]'
6726   ;;
6727 osf*)
6728   symcode='[BCDEGQRST]'
6729   ;;
6730 solaris*)
6731   symcode='[BDRT]'
6732   ;;
6733 sco3.2v5*)
6734   symcode='[DT]'
6735   ;;
6736 sysv4.2uw2*)
6737   symcode='[DT]'
6738   ;;
6739 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6740   symcode='[ABDT]'
6741   ;;
6742 sysv4)
6743   symcode='[DFNSTU]'
6744   ;;
6745 esac
6746
6747 # If we're using GNU nm, then use its standard symbol codes.
6748 case `$NM -V 2>&1` in
6749 *GNU* | *'with BFD'*)
6750   symcode='[ABCDGIRSTW]' ;;
6751 esac
6752
6753 # Transform an extracted symbol line into a proper C declaration.
6754 # Some systems (esp. on ia64) link data and code symbols differently,
6755 # so use this general approach.
6756 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6757
6758 # Transform an extracted symbol line into symbol name and symbol address
6759 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6760 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'"
6761
6762 # Handle CRLF in mingw tool chain
6763 opt_cr=
6764 case $build_os in
6765 mingw*)
6766   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6767   ;;
6768 esac
6769
6770 # Try without a prefix underscore, then with it.
6771 for ac_symprfx in "" "_"; do
6772
6773   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6774   symxfrm="\\1 $ac_symprfx\\2 \\2"
6775
6776   # Write the raw and C identifiers.
6777   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6778     # Fake it for dumpbin and say T for any non-static function
6779     # and D for any global variable.
6780     # Also find C++ and __fastcall symbols from MSVC++,
6781     # which start with @ or ?.
6782     lt_cv_sys_global_symbol_pipe="$AWK '"\
6783 "     {last_section=section; section=\$ 3};"\
6784 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6785 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6786 "     \$ 0!~/External *\|/{next};"\
6787 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6788 "     {if(hide[section]) next};"\
6789 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6790 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6791 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6792 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6793 "     ' prfx=^$ac_symprfx"
6794   else
6795     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6796   fi
6797   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6798
6799   # Check to see that the pipe works correctly.
6800   pipe_works=no
6801
6802   rm -f conftest*
6803   cat > conftest.$ac_ext <<_LT_EOF
6804 #ifdef __cplusplus
6805 extern "C" {
6806 #endif
6807 char nm_test_var;
6808 void nm_test_func(void);
6809 void nm_test_func(void){}
6810 #ifdef __cplusplus
6811 }
6812 #endif
6813 int main(){nm_test_var='a';nm_test_func();return(0);}
6814 _LT_EOF
6815
6816   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6817   (eval $ac_compile) 2>&5
6818   ac_status=$?
6819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820   test $ac_status = 0; }; then
6821     # Now try to grab the symbols.
6822     nlist=conftest.nm
6823     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6824   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6825   ac_status=$?
6826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6827   test $ac_status = 0; } && test -s "$nlist"; then
6828       # Try sorting and uniquifying the output.
6829       if sort "$nlist" | uniq > "$nlist"T; then
6830         mv -f "$nlist"T "$nlist"
6831       else
6832         rm -f "$nlist"T
6833       fi
6834
6835       # Make sure that we snagged all the symbols we need.
6836       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6837         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6838           cat <<_LT_EOF > conftest.$ac_ext
6839 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6840 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6841 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6842    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6843 # define LT_DLSYM_CONST
6844 #elif defined(__osf__)
6845 /* This system does not cope well with relocations in const data.  */
6846 # define LT_DLSYM_CONST
6847 #else
6848 # define LT_DLSYM_CONST const
6849 #endif
6850
6851 #ifdef __cplusplus
6852 extern "C" {
6853 #endif
6854
6855 _LT_EOF
6856           # Now generate the symbol file.
6857           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6858
6859           cat <<_LT_EOF >> conftest.$ac_ext
6860
6861 /* The mapping between symbol names and symbols.  */
6862 LT_DLSYM_CONST struct {
6863   const char *name;
6864   void       *address;
6865 }
6866 lt__PROGRAM__LTX_preloaded_symbols[] =
6867 {
6868   { "@PROGRAM@", (void *) 0 },
6869 _LT_EOF
6870           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6871           cat <<\_LT_EOF >> conftest.$ac_ext
6872   {0, (void *) 0}
6873 };
6874
6875 /* This works around a problem in FreeBSD linker */
6876 #ifdef FREEBSD_WORKAROUND
6877 static const void *lt_preloaded_setup() {
6878   return lt__PROGRAM__LTX_preloaded_symbols;
6879 }
6880 #endif
6881
6882 #ifdef __cplusplus
6883 }
6884 #endif
6885 _LT_EOF
6886           # Now try linking the two files.
6887           mv conftest.$ac_objext conftstm.$ac_objext
6888           lt_globsym_save_LIBS=$LIBS
6889           lt_globsym_save_CFLAGS=$CFLAGS
6890           LIBS="conftstm.$ac_objext"
6891           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6892           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6893   (eval $ac_link) 2>&5
6894   ac_status=$?
6895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6896   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6897             pipe_works=yes
6898           fi
6899           LIBS=$lt_globsym_save_LIBS
6900           CFLAGS=$lt_globsym_save_CFLAGS
6901         else
6902           echo "cannot find nm_test_func in $nlist" >&5
6903         fi
6904       else
6905         echo "cannot find nm_test_var in $nlist" >&5
6906       fi
6907     else
6908       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6909     fi
6910   else
6911     echo "$progname: failed program was:" >&5
6912     cat conftest.$ac_ext >&5
6913   fi
6914   rm -rf conftest* conftst*
6915
6916   # Do not use the global_symbol_pipe unless it works.
6917   if test "$pipe_works" = yes; then
6918     break
6919   else
6920     lt_cv_sys_global_symbol_pipe=
6921   fi
6922 done
6923
6924 fi
6925
6926 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6927   lt_cv_sys_global_symbol_to_cdecl=
6928 fi
6929 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6931 $as_echo "failed" >&6; }
6932 else
6933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6934 $as_echo "ok" >&6; }
6935 fi
6936
6937 # Response file support.
6938 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6939   nm_file_list_spec='@'
6940 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6941   nm_file_list_spec='@'
6942 fi
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6971 $as_echo_n "checking for sysroot... " >&6; }
6972
6973 # Check whether --with-sysroot was given.
6974 if test "${with_sysroot+set}" = set; then :
6975   withval=$with_sysroot;
6976 else
6977   with_sysroot=no
6978 fi
6979
6980
6981 lt_sysroot=
6982 case ${with_sysroot} in #(
6983  yes)
6984    if test "$GCC" = yes; then
6985      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6986    fi
6987    ;; #(
6988  /*)
6989    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6990    ;; #(
6991  no|'')
6992    ;; #(
6993  *)
6994    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6995 $as_echo "${with_sysroot}" >&6; }
6996    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6997    ;;
6998 esac
6999
7000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7001 $as_echo "${lt_sysroot:-no}" >&6; }
7002
7003
7004
7005
7006
7007 # Check whether --enable-libtool-lock was given.
7008 if test "${enable_libtool_lock+set}" = set; then :
7009   enableval=$enable_libtool_lock;
7010 fi
7011
7012 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7013
7014 # Some flags need to be propagated to the compiler or linker for good
7015 # libtool support.
7016 case $host in
7017 ia64-*-hpux*)
7018   # Find out which ABI we are using.
7019   echo 'int i;' > conftest.$ac_ext
7020   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7021   (eval $ac_compile) 2>&5
7022   ac_status=$?
7023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7024   test $ac_status = 0; }; then
7025     case `/usr/bin/file conftest.$ac_objext` in
7026       *ELF-32*)
7027         HPUX_IA64_MODE="32"
7028         ;;
7029       *ELF-64*)
7030         HPUX_IA64_MODE="64"
7031         ;;
7032     esac
7033   fi
7034   rm -rf conftest*
7035   ;;
7036 *-*-irix6*)
7037   # Find out which ABI we are using.
7038   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7039   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7040   (eval $ac_compile) 2>&5
7041   ac_status=$?
7042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7043   test $ac_status = 0; }; then
7044     if test "$lt_cv_prog_gnu_ld" = yes; then
7045       case `/usr/bin/file conftest.$ac_objext` in
7046         *32-bit*)
7047           LD="${LD-ld} -melf32bsmip"
7048           ;;
7049         *N32*)
7050           LD="${LD-ld} -melf32bmipn32"
7051           ;;
7052         *64-bit*)
7053           LD="${LD-ld} -melf64bmip"
7054         ;;
7055       esac
7056     else
7057       case `/usr/bin/file conftest.$ac_objext` in
7058         *32-bit*)
7059           LD="${LD-ld} -32"
7060           ;;
7061         *N32*)
7062           LD="${LD-ld} -n32"
7063           ;;
7064         *64-bit*)
7065           LD="${LD-ld} -64"
7066           ;;
7067       esac
7068     fi
7069   fi
7070   rm -rf conftest*
7071   ;;
7072
7073 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7074 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7075   # Find out which ABI we are using.
7076   echo 'int i;' > conftest.$ac_ext
7077   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7078   (eval $ac_compile) 2>&5
7079   ac_status=$?
7080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7081   test $ac_status = 0; }; then
7082     case `/usr/bin/file conftest.o` in
7083       *32-bit*)
7084         case $host in
7085           x86_64-*kfreebsd*-gnu)
7086             LD="${LD-ld} -m elf_i386_fbsd"
7087             ;;
7088           x86_64-*linux*)
7089             case `/usr/bin/file conftest.o` in
7090               *x86-64*)
7091                 LD="${LD-ld} -m elf32_x86_64"
7092                 ;;
7093               *)
7094                 LD="${LD-ld} -m elf_i386"
7095                 ;;
7096             esac
7097             ;;
7098           ppc64-*linux*|powerpc64-*linux*)
7099             LD="${LD-ld} -m elf32ppclinux"
7100             ;;
7101           s390x-*linux*)
7102             LD="${LD-ld} -m elf_s390"
7103             ;;
7104           sparc64-*linux*)
7105             LD="${LD-ld} -m elf32_sparc"
7106             ;;
7107         esac
7108         ;;
7109       *64-bit*)
7110         case $host in
7111           x86_64-*kfreebsd*-gnu)
7112             LD="${LD-ld} -m elf_x86_64_fbsd"
7113             ;;
7114           x86_64-*linux*)
7115             LD="${LD-ld} -m elf_x86_64"
7116             ;;
7117           ppc*-*linux*|powerpc*-*linux*)
7118             LD="${LD-ld} -m elf64ppc"
7119             ;;
7120           s390*-*linux*|s390*-*tpf*)
7121             LD="${LD-ld} -m elf64_s390"
7122             ;;
7123           sparc*-*linux*)
7124             LD="${LD-ld} -m elf64_sparc"
7125             ;;
7126         esac
7127         ;;
7128     esac
7129   fi
7130   rm -rf conftest*
7131   ;;
7132
7133 *-*-sco3.2v5*)
7134   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7135   SAVE_CFLAGS="$CFLAGS"
7136   CFLAGS="$CFLAGS -belf"
7137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7138 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7139 if ${lt_cv_cc_needs_belf+:} false; then :
7140   $as_echo_n "(cached) " >&6
7141 else
7142   ac_ext=c
7143 ac_cpp='$CPP $CPPFLAGS'
7144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7147
7148      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h.  */
7150
7151 int
7152 main ()
7153 {
7154
7155   ;
7156   return 0;
7157 }
7158 _ACEOF
7159 if ac_fn_c_try_link "$LINENO"; then :
7160   lt_cv_cc_needs_belf=yes
7161 else
7162   lt_cv_cc_needs_belf=no
7163 fi
7164 rm -f core conftest.err conftest.$ac_objext \
7165     conftest$ac_exeext conftest.$ac_ext
7166      ac_ext=c
7167 ac_cpp='$CPP $CPPFLAGS'
7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7171
7172 fi
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7174 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7175   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7176     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7177     CFLAGS="$SAVE_CFLAGS"
7178   fi
7179   ;;
7180 *-*solaris*)
7181   # Find out which ABI we are using.
7182   echo 'int i;' > conftest.$ac_ext
7183   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7184   (eval $ac_compile) 2>&5
7185   ac_status=$?
7186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7187   test $ac_status = 0; }; then
7188     case `/usr/bin/file conftest.o` in
7189     *64-bit*)
7190       case $lt_cv_prog_gnu_ld in
7191       yes*)
7192         case $host in
7193         i?86-*-solaris*)
7194           LD="${LD-ld} -m elf_x86_64"
7195           ;;
7196         sparc*-*-solaris*)
7197           LD="${LD-ld} -m elf64_sparc"
7198           ;;
7199         esac
7200         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7201         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7202           LD="${LD-ld}_sol2"
7203         fi
7204         ;;
7205       *)
7206         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7207           LD="${LD-ld} -64"
7208         fi
7209         ;;
7210       esac
7211       ;;
7212     esac
7213   fi
7214   rm -rf conftest*
7215   ;;
7216 esac
7217
7218 need_locks="$enable_libtool_lock"
7219
7220 if test -n "$ac_tool_prefix"; then
7221   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7222 set dummy ${ac_tool_prefix}mt; ac_word=$2
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 $as_echo_n "checking for $ac_word... " >&6; }
7225 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7226   $as_echo_n "(cached) " >&6
7227 else
7228   if test -n "$MANIFEST_TOOL"; then
7229   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7230 else
7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 for as_dir in $PATH
7233 do
7234   IFS=$as_save_IFS
7235   test -z "$as_dir" && as_dir=.
7236     for ac_exec_ext in '' $ac_executable_extensions; do
7237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7238     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7240     break 2
7241   fi
7242 done
7243   done
7244 IFS=$as_save_IFS
7245
7246 fi
7247 fi
7248 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7249 if test -n "$MANIFEST_TOOL"; then
7250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7251 $as_echo "$MANIFEST_TOOL" >&6; }
7252 else
7253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7255 fi
7256
7257
7258 fi
7259 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7260   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7261   # Extract the first word of "mt", so it can be a program name with args.
7262 set dummy mt; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7266   $as_echo_n "(cached) " >&6
7267 else
7268   if test -n "$ac_ct_MANIFEST_TOOL"; then
7269   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7273 do
7274   IFS=$as_save_IFS
7275   test -z "$as_dir" && as_dir=.
7276     for ac_exec_ext in '' $ac_executable_extensions; do
7277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7278     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280     break 2
7281   fi
7282 done
7283   done
7284 IFS=$as_save_IFS
7285
7286 fi
7287 fi
7288 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7289 if test -n "$ac_ct_MANIFEST_TOOL"; then
7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7291 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7292 else
7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7295 fi
7296
7297   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7298     MANIFEST_TOOL=":"
7299   else
7300     case $cross_compiling:$ac_tool_warned in
7301 yes:)
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7304 ac_tool_warned=yes ;;
7305 esac
7306     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7307   fi
7308 else
7309   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7310 fi
7311
7312 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7314 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7315 if ${lt_cv_path_mainfest_tool+:} false; then :
7316   $as_echo_n "(cached) " >&6
7317 else
7318   lt_cv_path_mainfest_tool=no
7319   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7320   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7321   cat conftest.err >&5
7322   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7323     lt_cv_path_mainfest_tool=yes
7324   fi
7325   rm -f conftest*
7326 fi
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7328 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7329 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7330   MANIFEST_TOOL=:
7331 fi
7332
7333
7334
7335
7336
7337
7338   case $host_os in
7339     rhapsody* | darwin*)
7340     if test -n "$ac_tool_prefix"; then
7341   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7342 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7346   $as_echo_n "(cached) " >&6
7347 else
7348   if test -n "$DSYMUTIL"; then
7349   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7353 do
7354   IFS=$as_save_IFS
7355   test -z "$as_dir" && as_dir=.
7356     for ac_exec_ext in '' $ac_executable_extensions; do
7357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360     break 2
7361   fi
7362 done
7363   done
7364 IFS=$as_save_IFS
7365
7366 fi
7367 fi
7368 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7369 if test -n "$DSYMUTIL"; then
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7371 $as_echo "$DSYMUTIL" >&6; }
7372 else
7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7375 fi
7376
7377
7378 fi
7379 if test -z "$ac_cv_prog_DSYMUTIL"; then
7380   ac_ct_DSYMUTIL=$DSYMUTIL
7381   # Extract the first word of "dsymutil", so it can be a program name with args.
7382 set dummy dsymutil; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7386   $as_echo_n "(cached) " >&6
7387 else
7388   if test -n "$ac_ct_DSYMUTIL"; then
7389   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7390 else
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in $PATH
7393 do
7394   IFS=$as_save_IFS
7395   test -z "$as_dir" && as_dir=.
7396     for ac_exec_ext in '' $ac_executable_extensions; do
7397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400     break 2
7401   fi
7402 done
7403   done
7404 IFS=$as_save_IFS
7405
7406 fi
7407 fi
7408 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7409 if test -n "$ac_ct_DSYMUTIL"; then
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7411 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7412 else
7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7415 fi
7416
7417   if test "x$ac_ct_DSYMUTIL" = x; then
7418     DSYMUTIL=":"
7419   else
7420     case $cross_compiling:$ac_tool_warned in
7421 yes:)
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7424 ac_tool_warned=yes ;;
7425 esac
7426     DSYMUTIL=$ac_ct_DSYMUTIL
7427   fi
7428 else
7429   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7430 fi
7431
7432     if test -n "$ac_tool_prefix"; then
7433   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7434 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_NMEDIT+:} false; then :
7438   $as_echo_n "(cached) " >&6
7439 else
7440   if test -n "$NMEDIT"; then
7441   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7445 do
7446   IFS=$as_save_IFS
7447   test -z "$as_dir" && as_dir=.
7448     for ac_exec_ext in '' $ac_executable_extensions; do
7449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452     break 2
7453   fi
7454 done
7455   done
7456 IFS=$as_save_IFS
7457
7458 fi
7459 fi
7460 NMEDIT=$ac_cv_prog_NMEDIT
7461 if test -n "$NMEDIT"; then
7462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7463 $as_echo "$NMEDIT" >&6; }
7464 else
7465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7467 fi
7468
7469
7470 fi
7471 if test -z "$ac_cv_prog_NMEDIT"; then
7472   ac_ct_NMEDIT=$NMEDIT
7473   # Extract the first word of "nmedit", so it can be a program name with args.
7474 set dummy nmedit; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7478   $as_echo_n "(cached) " >&6
7479 else
7480   if test -n "$ac_ct_NMEDIT"; then
7481   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7485 do
7486   IFS=$as_save_IFS
7487   test -z "$as_dir" && as_dir=.
7488     for ac_exec_ext in '' $ac_executable_extensions; do
7489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492     break 2
7493   fi
7494 done
7495   done
7496 IFS=$as_save_IFS
7497
7498 fi
7499 fi
7500 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7501 if test -n "$ac_ct_NMEDIT"; then
7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7503 $as_echo "$ac_ct_NMEDIT" >&6; }
7504 else
7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7507 fi
7508
7509   if test "x$ac_ct_NMEDIT" = x; then
7510     NMEDIT=":"
7511   else
7512     case $cross_compiling:$ac_tool_warned in
7513 yes:)
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7516 ac_tool_warned=yes ;;
7517 esac
7518     NMEDIT=$ac_ct_NMEDIT
7519   fi
7520 else
7521   NMEDIT="$ac_cv_prog_NMEDIT"
7522 fi
7523
7524     if test -n "$ac_tool_prefix"; then
7525   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7526 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_LIPO+:} false; then :
7530   $as_echo_n "(cached) " >&6
7531 else
7532   if test -n "$LIPO"; then
7533   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7537 do
7538   IFS=$as_save_IFS
7539   test -z "$as_dir" && as_dir=.
7540     for ac_exec_ext in '' $ac_executable_extensions; do
7541   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544     break 2
7545   fi
7546 done
7547   done
7548 IFS=$as_save_IFS
7549
7550 fi
7551 fi
7552 LIPO=$ac_cv_prog_LIPO
7553 if test -n "$LIPO"; then
7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7555 $as_echo "$LIPO" >&6; }
7556 else
7557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7559 fi
7560
7561
7562 fi
7563 if test -z "$ac_cv_prog_LIPO"; then
7564   ac_ct_LIPO=$LIPO
7565   # Extract the first word of "lipo", so it can be a program name with args.
7566 set dummy lipo; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7570   $as_echo_n "(cached) " >&6
7571 else
7572   if test -n "$ac_ct_LIPO"; then
7573   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7574 else
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7577 do
7578   IFS=$as_save_IFS
7579   test -z "$as_dir" && as_dir=.
7580     for ac_exec_ext in '' $ac_executable_extensions; do
7581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582     ac_cv_prog_ac_ct_LIPO="lipo"
7583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584     break 2
7585   fi
7586 done
7587   done
7588 IFS=$as_save_IFS
7589
7590 fi
7591 fi
7592 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7593 if test -n "$ac_ct_LIPO"; then
7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7595 $as_echo "$ac_ct_LIPO" >&6; }
7596 else
7597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7599 fi
7600
7601   if test "x$ac_ct_LIPO" = x; then
7602     LIPO=":"
7603   else
7604     case $cross_compiling:$ac_tool_warned in
7605 yes:)
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608 ac_tool_warned=yes ;;
7609 esac
7610     LIPO=$ac_ct_LIPO
7611   fi
7612 else
7613   LIPO="$ac_cv_prog_LIPO"
7614 fi
7615
7616     if test -n "$ac_tool_prefix"; then
7617   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7618 set dummy ${ac_tool_prefix}otool; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_OTOOL+:} false; then :
7622   $as_echo_n "(cached) " >&6
7623 else
7624   if test -n "$OTOOL"; then
7625   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7629 do
7630   IFS=$as_save_IFS
7631   test -z "$as_dir" && as_dir=.
7632     for ac_exec_ext in '' $ac_executable_extensions; do
7633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636     break 2
7637   fi
7638 done
7639   done
7640 IFS=$as_save_IFS
7641
7642 fi
7643 fi
7644 OTOOL=$ac_cv_prog_OTOOL
7645 if test -n "$OTOOL"; then
7646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7647 $as_echo "$OTOOL" >&6; }
7648 else
7649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7651 fi
7652
7653
7654 fi
7655 if test -z "$ac_cv_prog_OTOOL"; then
7656   ac_ct_OTOOL=$OTOOL
7657   # Extract the first word of "otool", so it can be a program name with args.
7658 set dummy otool; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7662   $as_echo_n "(cached) " >&6
7663 else
7664   if test -n "$ac_ct_OTOOL"; then
7665   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7666 else
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7668 for as_dir in $PATH
7669 do
7670   IFS=$as_save_IFS
7671   test -z "$as_dir" && as_dir=.
7672     for ac_exec_ext in '' $ac_executable_extensions; do
7673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674     ac_cv_prog_ac_ct_OTOOL="otool"
7675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676     break 2
7677   fi
7678 done
7679   done
7680 IFS=$as_save_IFS
7681
7682 fi
7683 fi
7684 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7685 if test -n "$ac_ct_OTOOL"; then
7686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7687 $as_echo "$ac_ct_OTOOL" >&6; }
7688 else
7689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7691 fi
7692
7693   if test "x$ac_ct_OTOOL" = x; then
7694     OTOOL=":"
7695   else
7696     case $cross_compiling:$ac_tool_warned in
7697 yes:)
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7700 ac_tool_warned=yes ;;
7701 esac
7702     OTOOL=$ac_ct_OTOOL
7703   fi
7704 else
7705   OTOOL="$ac_cv_prog_OTOOL"
7706 fi
7707
7708     if test -n "$ac_tool_prefix"; then
7709   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7710 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7712 $as_echo_n "checking for $ac_word... " >&6; }
7713 if ${ac_cv_prog_OTOOL64+:} false; then :
7714   $as_echo_n "(cached) " >&6
7715 else
7716   if test -n "$OTOOL64"; then
7717   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7718 else
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 for as_dir in $PATH
7721 do
7722   IFS=$as_save_IFS
7723   test -z "$as_dir" && as_dir=.
7724     for ac_exec_ext in '' $ac_executable_extensions; do
7725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7726     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7728     break 2
7729   fi
7730 done
7731   done
7732 IFS=$as_save_IFS
7733
7734 fi
7735 fi
7736 OTOOL64=$ac_cv_prog_OTOOL64
7737 if test -n "$OTOOL64"; then
7738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7739 $as_echo "$OTOOL64" >&6; }
7740 else
7741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7743 fi
7744
7745
7746 fi
7747 if test -z "$ac_cv_prog_OTOOL64"; then
7748   ac_ct_OTOOL64=$OTOOL64
7749   # Extract the first word of "otool64", so it can be a program name with args.
7750 set dummy otool64; ac_word=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752 $as_echo_n "checking for $ac_word... " >&6; }
7753 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7754   $as_echo_n "(cached) " >&6
7755 else
7756   if test -n "$ac_ct_OTOOL64"; then
7757   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7758 else
7759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7760 for as_dir in $PATH
7761 do
7762   IFS=$as_save_IFS
7763   test -z "$as_dir" && as_dir=.
7764     for ac_exec_ext in '' $ac_executable_extensions; do
7765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7766     ac_cv_prog_ac_ct_OTOOL64="otool64"
7767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7768     break 2
7769   fi
7770 done
7771   done
7772 IFS=$as_save_IFS
7773
7774 fi
7775 fi
7776 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7777 if test -n "$ac_ct_OTOOL64"; then
7778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7779 $as_echo "$ac_ct_OTOOL64" >&6; }
7780 else
7781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782 $as_echo "no" >&6; }
7783 fi
7784
7785   if test "x$ac_ct_OTOOL64" = x; then
7786     OTOOL64=":"
7787   else
7788     case $cross_compiling:$ac_tool_warned in
7789 yes:)
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7792 ac_tool_warned=yes ;;
7793 esac
7794     OTOOL64=$ac_ct_OTOOL64
7795   fi
7796 else
7797   OTOOL64="$ac_cv_prog_OTOOL64"
7798 fi
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7827 $as_echo_n "checking for -single_module linker flag... " >&6; }
7828 if ${lt_cv_apple_cc_single_mod+:} false; then :
7829   $as_echo_n "(cached) " >&6
7830 else
7831   lt_cv_apple_cc_single_mod=no
7832       if test -z "${LT_MULTI_MODULE}"; then
7833         # By default we will add the -single_module flag. You can override
7834         # by either setting the environment variable LT_MULTI_MODULE
7835         # non-empty at configure time, or by adding -multi_module to the
7836         # link flags.
7837         rm -rf libconftest.dylib*
7838         echo "int foo(void){return 1;}" > conftest.c
7839         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7840 -dynamiclib -Wl,-single_module conftest.c" >&5
7841         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7842           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7843         _lt_result=$?
7844         # If there is a non-empty error log, and "single_module"
7845         # appears in it, assume the flag caused a linker warning
7846         if test -s conftest.err && $GREP single_module conftest.err; then
7847           cat conftest.err >&5
7848         # Otherwise, if the output was created with a 0 exit code from
7849         # the compiler, it worked.
7850         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7851           lt_cv_apple_cc_single_mod=yes
7852         else
7853           cat conftest.err >&5
7854         fi
7855         rm -rf libconftest.dylib*
7856         rm -f conftest.*
7857       fi
7858 fi
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7860 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7861
7862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7863 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7864 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7865   $as_echo_n "(cached) " >&6
7866 else
7867   lt_cv_ld_exported_symbols_list=no
7868       save_LDFLAGS=$LDFLAGS
7869       echo "_main" > conftest.sym
7870       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h.  */
7873
7874 int
7875 main ()
7876 {
7877
7878   ;
7879   return 0;
7880 }
7881 _ACEOF
7882 if ac_fn_c_try_link "$LINENO"; then :
7883   lt_cv_ld_exported_symbols_list=yes
7884 else
7885   lt_cv_ld_exported_symbols_list=no
7886 fi
7887 rm -f core conftest.err conftest.$ac_objext \
7888     conftest$ac_exeext conftest.$ac_ext
7889         LDFLAGS="$save_LDFLAGS"
7890
7891 fi
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7893 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7894
7895     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7896 $as_echo_n "checking for -force_load linker flag... " >&6; }
7897 if ${lt_cv_ld_force_load+:} false; then :
7898   $as_echo_n "(cached) " >&6
7899 else
7900   lt_cv_ld_force_load=no
7901       cat > conftest.c << _LT_EOF
7902 int forced_loaded() { return 2;}
7903 _LT_EOF
7904       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7905       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7906       echo "$AR cru libconftest.a conftest.o" >&5
7907       $AR cru libconftest.a conftest.o 2>&5
7908       echo "$RANLIB libconftest.a" >&5
7909       $RANLIB libconftest.a 2>&5
7910       cat > conftest.c << _LT_EOF
7911 int main() { return 0;}
7912 _LT_EOF
7913       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7914       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7915       _lt_result=$?
7916       if test -s conftest.err && $GREP force_load conftest.err; then
7917         cat conftest.err >&5
7918       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7919         lt_cv_ld_force_load=yes
7920       else
7921         cat conftest.err >&5
7922       fi
7923         rm -f conftest.err libconftest.a conftest conftest.c
7924         rm -rf conftest.dSYM
7925
7926 fi
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7928 $as_echo "$lt_cv_ld_force_load" >&6; }
7929     case $host_os in
7930     rhapsody* | darwin1.[012])
7931       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7932     darwin1.*)
7933       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7934     darwin*) # darwin 5.x on
7935       # if running on 10.5 or later, the deployment target defaults
7936       # to the OS version, if on x86, and 10.4, the deployment
7937       # target defaults to 10.4. Don't you love it?
7938       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7939         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7940           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7941         10.[012]*)
7942           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7943         10.*)
7944           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7945       esac
7946     ;;
7947   esac
7948     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7949       _lt_dar_single_mod='$single_module'
7950     fi
7951     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7952       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7953     else
7954       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7955     fi
7956     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7957       _lt_dsymutil='~$DSYMUTIL $lib || :'
7958     else
7959       _lt_dsymutil=
7960     fi
7961     ;;
7962   esac
7963
7964 ac_ext=c
7965 ac_cpp='$CPP $CPPFLAGS'
7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7970 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7971 # On Suns, sometimes $CPP names a directory.
7972 if test -n "$CPP" && test -d "$CPP"; then
7973   CPP=
7974 fi
7975 if test -z "$CPP"; then
7976   if ${ac_cv_prog_CPP+:} false; then :
7977   $as_echo_n "(cached) " >&6
7978 else
7979       # Double quotes because CPP needs to be expanded
7980     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7981     do
7982       ac_preproc_ok=false
7983 for ac_c_preproc_warn_flag in '' yes
7984 do
7985   # Use a header file that comes with gcc, so configuring glibc
7986   # with a fresh cross-compiler works.
7987   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7988   # <limits.h> exists even on freestanding compilers.
7989   # On the NeXT, cc -E runs the code through the compiler's parser,
7990   # not just through cpp. "Syntax error" is here to catch this case.
7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h.  */
7993 #ifdef __STDC__
7994 # include <limits.h>
7995 #else
7996 # include <assert.h>
7997 #endif
7998                      Syntax error
7999 _ACEOF
8000 if ac_fn_c_try_cpp "$LINENO"; then :
8001
8002 else
8003   # Broken: fails on valid input.
8004 continue
8005 fi
8006 rm -f conftest.err conftest.i conftest.$ac_ext
8007
8008   # OK, works on sane cases.  Now check whether nonexistent headers
8009   # can be detected and how.
8010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h.  */
8012 #include <ac_nonexistent.h>
8013 _ACEOF
8014 if ac_fn_c_try_cpp "$LINENO"; then :
8015   # Broken: success on invalid input.
8016 continue
8017 else
8018   # Passes both tests.
8019 ac_preproc_ok=:
8020 break
8021 fi
8022 rm -f conftest.err conftest.i conftest.$ac_ext
8023
8024 done
8025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8026 rm -f conftest.i conftest.err conftest.$ac_ext
8027 if $ac_preproc_ok; then :
8028   break
8029 fi
8030
8031     done
8032     ac_cv_prog_CPP=$CPP
8033
8034 fi
8035   CPP=$ac_cv_prog_CPP
8036 else
8037   ac_cv_prog_CPP=$CPP
8038 fi
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8040 $as_echo "$CPP" >&6; }
8041 ac_preproc_ok=false
8042 for ac_c_preproc_warn_flag in '' yes
8043 do
8044   # Use a header file that comes with gcc, so configuring glibc
8045   # with a fresh cross-compiler works.
8046   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8047   # <limits.h> exists even on freestanding compilers.
8048   # On the NeXT, cc -E runs the code through the compiler's parser,
8049   # not just through cpp. "Syntax error" is here to catch this case.
8050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 /* end confdefs.h.  */
8052 #ifdef __STDC__
8053 # include <limits.h>
8054 #else
8055 # include <assert.h>
8056 #endif
8057                      Syntax error
8058 _ACEOF
8059 if ac_fn_c_try_cpp "$LINENO"; then :
8060
8061 else
8062   # Broken: fails on valid input.
8063 continue
8064 fi
8065 rm -f conftest.err conftest.i conftest.$ac_ext
8066
8067   # OK, works on sane cases.  Now check whether nonexistent headers
8068   # can be detected and how.
8069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h.  */
8071 #include <ac_nonexistent.h>
8072 _ACEOF
8073 if ac_fn_c_try_cpp "$LINENO"; then :
8074   # Broken: success on invalid input.
8075 continue
8076 else
8077   # Passes both tests.
8078 ac_preproc_ok=:
8079 break
8080 fi
8081 rm -f conftest.err conftest.i conftest.$ac_ext
8082
8083 done
8084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8085 rm -f conftest.i conftest.err conftest.$ac_ext
8086 if $ac_preproc_ok; then :
8087
8088 else
8089   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8091 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8092 See \`config.log' for more details" "$LINENO" 5; }
8093 fi
8094
8095 ac_ext=c
8096 ac_cpp='$CPP $CPPFLAGS'
8097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8100
8101
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8103 $as_echo_n "checking for ANSI C header files... " >&6; }
8104 if ${ac_cv_header_stdc+:} false; then :
8105   $as_echo_n "(cached) " >&6
8106 else
8107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8108 /* end confdefs.h.  */
8109 #include <stdlib.h>
8110 #include <stdarg.h>
8111 #include <string.h>
8112 #include <float.h>
8113
8114 int
8115 main ()
8116 {
8117
8118   ;
8119   return 0;
8120 }
8121 _ACEOF
8122 if ac_fn_c_try_compile "$LINENO"; then :
8123   ac_cv_header_stdc=yes
8124 else
8125   ac_cv_header_stdc=no
8126 fi
8127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8128
8129 if test $ac_cv_header_stdc = yes; then
8130   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h.  */
8133 #include <string.h>
8134
8135 _ACEOF
8136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8137   $EGREP "memchr" >/dev/null 2>&1; then :
8138
8139 else
8140   ac_cv_header_stdc=no
8141 fi
8142 rm -f conftest*
8143
8144 fi
8145
8146 if test $ac_cv_header_stdc = yes; then
8147   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h.  */
8150 #include <stdlib.h>
8151
8152 _ACEOF
8153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8154   $EGREP "free" >/dev/null 2>&1; then :
8155
8156 else
8157   ac_cv_header_stdc=no
8158 fi
8159 rm -f conftest*
8160
8161 fi
8162
8163 if test $ac_cv_header_stdc = yes; then
8164   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8165   if test "$cross_compiling" = yes; then :
8166   :
8167 else
8168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h.  */
8170 #include <ctype.h>
8171 #include <stdlib.h>
8172 #if ((' ' & 0x0FF) == 0x020)
8173 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8174 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8175 #else
8176 # define ISLOWER(c) \
8177                    (('a' <= (c) && (c) <= 'i') \
8178                      || ('j' <= (c) && (c) <= 'r') \
8179                      || ('s' <= (c) && (c) <= 'z'))
8180 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8181 #endif
8182
8183 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8184 int
8185 main ()
8186 {
8187   int i;
8188   for (i = 0; i < 256; i++)
8189     if (XOR (islower (i), ISLOWER (i))
8190         || toupper (i) != TOUPPER (i))
8191       return 2;
8192   return 0;
8193 }
8194 _ACEOF
8195 if ac_fn_c_try_run "$LINENO"; then :
8196
8197 else
8198   ac_cv_header_stdc=no
8199 fi
8200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8201   conftest.$ac_objext conftest.beam conftest.$ac_ext
8202 fi
8203
8204 fi
8205 fi
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8207 $as_echo "$ac_cv_header_stdc" >&6; }
8208 if test $ac_cv_header_stdc = yes; then
8209
8210 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8211
8212 fi
8213
8214 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8215 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8216                   inttypes.h stdint.h unistd.h
8217 do :
8218   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8219 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8220 "
8221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8222   cat >>confdefs.h <<_ACEOF
8223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8224 _ACEOF
8225
8226 fi
8227
8228 done
8229
8230
8231 for ac_header in dlfcn.h
8232 do :
8233   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8234 "
8235 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8236   cat >>confdefs.h <<_ACEOF
8237 #define HAVE_DLFCN_H 1
8238 _ACEOF
8239
8240 fi
8241
8242 done
8243
8244
8245
8246
8247
8248 # Set options
8249
8250
8251
8252         enable_dlopen=no
8253
8254
8255   enable_win32_dll=no
8256
8257
8258             # Check whether --enable-shared was given.
8259 if test "${enable_shared+set}" = set; then :
8260   enableval=$enable_shared; p=${PACKAGE-default}
8261     case $enableval in
8262     yes) enable_shared=yes ;;
8263     no) enable_shared=no ;;
8264     *)
8265       enable_shared=no
8266       # Look at the argument we got.  We use all the common list separators.
8267       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8268       for pkg in $enableval; do
8269         IFS="$lt_save_ifs"
8270         if test "X$pkg" = "X$p"; then
8271           enable_shared=yes
8272         fi
8273       done
8274       IFS="$lt_save_ifs"
8275       ;;
8276     esac
8277 else
8278   enable_shared=yes
8279 fi
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289   # Check whether --enable-static was given.
8290 if test "${enable_static+set}" = set; then :
8291   enableval=$enable_static; p=${PACKAGE-default}
8292     case $enableval in
8293     yes) enable_static=yes ;;
8294     no) enable_static=no ;;
8295     *)
8296      enable_static=no
8297       # Look at the argument we got.  We use all the common list separators.
8298       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8299       for pkg in $enableval; do
8300         IFS="$lt_save_ifs"
8301         if test "X$pkg" = "X$p"; then
8302           enable_static=yes
8303         fi
8304       done
8305       IFS="$lt_save_ifs"
8306       ;;
8307     esac
8308 else
8309   enable_static=yes
8310 fi
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321 # Check whether --with-pic was given.
8322 if test "${with_pic+set}" = set; then :
8323   withval=$with_pic; lt_p=${PACKAGE-default}
8324     case $withval in
8325     yes|no) pic_mode=$withval ;;
8326     *)
8327       pic_mode=default
8328       # Look at the argument we got.  We use all the common list separators.
8329       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8330       for lt_pkg in $withval; do
8331         IFS="$lt_save_ifs"
8332         if test "X$lt_pkg" = "X$lt_p"; then
8333           pic_mode=yes
8334         fi
8335       done
8336       IFS="$lt_save_ifs"
8337       ;;
8338     esac
8339 else
8340   pic_mode=default
8341 fi
8342
8343
8344 test -z "$pic_mode" && pic_mode=default
8345
8346
8347
8348
8349
8350
8351
8352   # Check whether --enable-fast-install was given.
8353 if test "${enable_fast_install+set}" = set; then :
8354   enableval=$enable_fast_install; p=${PACKAGE-default}
8355     case $enableval in
8356     yes) enable_fast_install=yes ;;
8357     no) enable_fast_install=no ;;
8358     *)
8359       enable_fast_install=no
8360       # Look at the argument we got.  We use all the common list separators.
8361       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8362       for pkg in $enableval; do
8363         IFS="$lt_save_ifs"
8364         if test "X$pkg" = "X$p"; then
8365           enable_fast_install=yes
8366         fi
8367       done
8368       IFS="$lt_save_ifs"
8369       ;;
8370     esac
8371 else
8372   enable_fast_install=yes
8373 fi
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385 # This can be used to rebuild libtool when needed
8386 LIBTOOL_DEPS="$ltmain"
8387
8388 # Always use our own libtool.
8389 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420 test -z "$LN_S" && LN_S="ln -s"
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435 if test -n "${ZSH_VERSION+set}" ; then
8436    setopt NO_GLOB_SUBST
8437 fi
8438
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8440 $as_echo_n "checking for objdir... " >&6; }
8441 if ${lt_cv_objdir+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   rm -f .libs 2>/dev/null
8445 mkdir .libs 2>/dev/null
8446 if test -d .libs; then
8447   lt_cv_objdir=.libs
8448 else
8449   # MS-DOS does not allow filenames that begin with a dot.
8450   lt_cv_objdir=_libs
8451 fi
8452 rmdir .libs 2>/dev/null
8453 fi
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8455 $as_echo "$lt_cv_objdir" >&6; }
8456 objdir=$lt_cv_objdir
8457
8458
8459
8460
8461
8462 cat >>confdefs.h <<_ACEOF
8463 #define LT_OBJDIR "$lt_cv_objdir/"
8464 _ACEOF
8465
8466
8467
8468
8469 case $host_os in
8470 aix3*)
8471   # AIX sometimes has problems with the GCC collect2 program.  For some
8472   # reason, if we set the COLLECT_NAMES environment variable, the problems
8473   # vanish in a puff of smoke.
8474   if test "X${COLLECT_NAMES+set}" != Xset; then
8475     COLLECT_NAMES=
8476     export COLLECT_NAMES
8477   fi
8478   ;;
8479 esac
8480
8481 # Global variables:
8482 ofile=libtool
8483 can_build_shared=yes
8484
8485 # All known linkers require a `.a' archive for static linking (except MSVC,
8486 # which needs '.lib').
8487 libext=a
8488
8489 with_gnu_ld="$lt_cv_prog_gnu_ld"
8490
8491 old_CC="$CC"
8492 old_CFLAGS="$CFLAGS"
8493
8494 # Set sane defaults for various variables
8495 test -z "$CC" && CC=cc
8496 test -z "$LTCC" && LTCC=$CC
8497 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8498 test -z "$LD" && LD=ld
8499 test -z "$ac_objext" && ac_objext=o
8500
8501 for cc_temp in $compiler""; do
8502   case $cc_temp in
8503     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8504     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8505     \-*) ;;
8506     *) break;;
8507   esac
8508 done
8509 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8510
8511
8512 # Only perform the check for file, if the check method requires it
8513 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8514 case $deplibs_check_method in
8515 file_magic*)
8516   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8517     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8518 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8519 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8520   $as_echo_n "(cached) " >&6
8521 else
8522   case $MAGIC_CMD in
8523 [\\/*] |  ?:[\\/]*)
8524   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8525   ;;
8526 *)
8527   lt_save_MAGIC_CMD="$MAGIC_CMD"
8528   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8529   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8530   for ac_dir in $ac_dummy; do
8531     IFS="$lt_save_ifs"
8532     test -z "$ac_dir" && ac_dir=.
8533     if test -f $ac_dir/${ac_tool_prefix}file; then
8534       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8535       if test -n "$file_magic_test_file"; then
8536         case $deplibs_check_method in
8537         "file_magic "*)
8538           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8539           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8540           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8541             $EGREP "$file_magic_regex" > /dev/null; then
8542             :
8543           else
8544             cat <<_LT_EOF 1>&2
8545
8546 *** Warning: the command libtool uses to detect shared libraries,
8547 *** $file_magic_cmd, produces output that libtool cannot recognize.
8548 *** The result is that libtool may fail to recognize shared libraries
8549 *** as such.  This will affect the creation of libtool libraries that
8550 *** depend on shared libraries, but programs linked with such libtool
8551 *** libraries will work regardless of this problem.  Nevertheless, you
8552 *** may want to report the problem to your system manager and/or to
8553 *** bug-libtool@gnu.org
8554
8555 _LT_EOF
8556           fi ;;
8557         esac
8558       fi
8559       break
8560     fi
8561   done
8562   IFS="$lt_save_ifs"
8563   MAGIC_CMD="$lt_save_MAGIC_CMD"
8564   ;;
8565 esac
8566 fi
8567
8568 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8569 if test -n "$MAGIC_CMD"; then
8570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8571 $as_echo "$MAGIC_CMD" >&6; }
8572 else
8573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574 $as_echo "no" >&6; }
8575 fi
8576
8577
8578
8579
8580
8581 if test -z "$lt_cv_path_MAGIC_CMD"; then
8582   if test -n "$ac_tool_prefix"; then
8583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8584 $as_echo_n "checking for file... " >&6; }
8585 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8586   $as_echo_n "(cached) " >&6
8587 else
8588   case $MAGIC_CMD in
8589 [\\/*] |  ?:[\\/]*)
8590   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8591   ;;
8592 *)
8593   lt_save_MAGIC_CMD="$MAGIC_CMD"
8594   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8595   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8596   for ac_dir in $ac_dummy; do
8597     IFS="$lt_save_ifs"
8598     test -z "$ac_dir" && ac_dir=.
8599     if test -f $ac_dir/file; then
8600       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8601       if test -n "$file_magic_test_file"; then
8602         case $deplibs_check_method in
8603         "file_magic "*)
8604           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8605           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8606           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8607             $EGREP "$file_magic_regex" > /dev/null; then
8608             :
8609           else
8610             cat <<_LT_EOF 1>&2
8611
8612 *** Warning: the command libtool uses to detect shared libraries,
8613 *** $file_magic_cmd, produces output that libtool cannot recognize.
8614 *** The result is that libtool may fail to recognize shared libraries
8615 *** as such.  This will affect the creation of libtool libraries that
8616 *** depend on shared libraries, but programs linked with such libtool
8617 *** libraries will work regardless of this problem.  Nevertheless, you
8618 *** may want to report the problem to your system manager and/or to
8619 *** bug-libtool@gnu.org
8620
8621 _LT_EOF
8622           fi ;;
8623         esac
8624       fi
8625       break
8626     fi
8627   done
8628   IFS="$lt_save_ifs"
8629   MAGIC_CMD="$lt_save_MAGIC_CMD"
8630   ;;
8631 esac
8632 fi
8633
8634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8635 if test -n "$MAGIC_CMD"; then
8636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8637 $as_echo "$MAGIC_CMD" >&6; }
8638 else
8639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 $as_echo "no" >&6; }
8641 fi
8642
8643
8644   else
8645     MAGIC_CMD=:
8646   fi
8647 fi
8648
8649   fi
8650   ;;
8651 esac
8652
8653 # Use C for the default configuration in the libtool script
8654
8655 lt_save_CC="$CC"
8656 ac_ext=c
8657 ac_cpp='$CPP $CPPFLAGS'
8658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8661
8662
8663 # Source file extension for C test sources.
8664 ac_ext=c
8665
8666 # Object file extension for compiled C test sources.
8667 objext=o
8668 objext=$objext
8669
8670 # Code to be used in simple compile tests
8671 lt_simple_compile_test_code="int some_variable = 0;"
8672
8673 # Code to be used in simple link tests
8674 lt_simple_link_test_code='int main(){return(0);}'
8675
8676
8677
8678
8679
8680
8681
8682 # If no C compiler was specified, use CC.
8683 LTCC=${LTCC-"$CC"}
8684
8685 # If no C compiler flags were specified, use CFLAGS.
8686 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8687
8688 # Allow CC to be a program name with arguments.
8689 compiler=$CC
8690
8691 # Save the default compiler, since it gets overwritten when the other
8692 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8693 compiler_DEFAULT=$CC
8694
8695 # save warnings/boilerplate of simple test code
8696 ac_outfile=conftest.$ac_objext
8697 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8698 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8699 _lt_compiler_boilerplate=`cat conftest.err`
8700 $RM conftest*
8701
8702 ac_outfile=conftest.$ac_objext
8703 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8704 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8705 _lt_linker_boilerplate=`cat conftest.err`
8706 $RM -r conftest*
8707
8708
8709 if test -n "$compiler"; then
8710
8711 lt_prog_compiler_no_builtin_flag=
8712
8713 if test "$GCC" = yes; then
8714   case $cc_basename in
8715   nvcc*)
8716     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8717   *)
8718     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8719   esac
8720
8721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8722 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8723 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8724   $as_echo_n "(cached) " >&6
8725 else
8726   lt_cv_prog_compiler_rtti_exceptions=no
8727    ac_outfile=conftest.$ac_objext
8728    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729    lt_compiler_flag="-fno-rtti -fno-exceptions"
8730    # Insert the option either (1) after the last *FLAGS variable, or
8731    # (2) before a word containing "conftest.", or (3) at the end.
8732    # Note that $ac_compile itself does not contain backslashes and begins
8733    # with a dollar sign (not a hyphen), so the echo should work correctly.
8734    # The option is referenced via a variable to avoid confusing sed.
8735    lt_compile=`echo "$ac_compile" | $SED \
8736    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738    -e 's:$: $lt_compiler_flag:'`
8739    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740    (eval "$lt_compile" 2>conftest.err)
8741    ac_status=$?
8742    cat conftest.err >&5
8743    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744    if (exit $ac_status) && test -s "$ac_outfile"; then
8745      # The compiler can only warn and ignore the option if not recognized
8746      # So say no if there are warnings other than the usual output.
8747      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750        lt_cv_prog_compiler_rtti_exceptions=yes
8751      fi
8752    fi
8753    $RM conftest*
8754
8755 fi
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8757 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8758
8759 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8760     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8761 else
8762     :
8763 fi
8764
8765 fi
8766
8767
8768
8769
8770
8771
8772   lt_prog_compiler_wl=
8773 lt_prog_compiler_pic=
8774 lt_prog_compiler_static=
8775
8776
8777   if test "$GCC" = yes; then
8778     lt_prog_compiler_wl='-Wl,'
8779     lt_prog_compiler_static='-static'
8780
8781     case $host_os in
8782       aix*)
8783       # All AIX code is PIC.
8784       if test "$host_cpu" = ia64; then
8785         # AIX 5 now supports IA64 processor
8786         lt_prog_compiler_static='-Bstatic'
8787       fi
8788       ;;
8789
8790     amigaos*)
8791       case $host_cpu in
8792       powerpc)
8793             # see comment about AmigaOS4 .so support
8794             lt_prog_compiler_pic='-fPIC'
8795         ;;
8796       m68k)
8797             # FIXME: we need at least 68020 code to build shared libraries, but
8798             # adding the `-m68020' flag to GCC prevents building anything better,
8799             # like `-m68040'.
8800             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8801         ;;
8802       esac
8803       ;;
8804
8805     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8806       # PIC is the default for these OSes.
8807       ;;
8808
8809     mingw* | cygwin* | pw32* | os2* | cegcc*)
8810       # This hack is so that the source file can tell whether it is being
8811       # built for inclusion in a dll (and should export symbols for example).
8812       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8813       # (--disable-auto-import) libraries
8814       lt_prog_compiler_pic='-DDLL_EXPORT'
8815       ;;
8816
8817     darwin* | rhapsody*)
8818       # PIC is the default on this platform
8819       # Common symbols not allowed in MH_DYLIB files
8820       lt_prog_compiler_pic='-fno-common'
8821       ;;
8822
8823     haiku*)
8824       # PIC is the default for Haiku.
8825       # The "-static" flag exists, but is broken.
8826       lt_prog_compiler_static=
8827       ;;
8828
8829     hpux*)
8830       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8831       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8832       # sets the default TLS model and affects inlining.
8833       case $host_cpu in
8834       hppa*64*)
8835         # +Z the default
8836         ;;
8837       *)
8838         lt_prog_compiler_pic='-fPIC'
8839         ;;
8840       esac
8841       ;;
8842
8843     interix[3-9]*)
8844       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8845       # Instead, we relocate shared libraries at runtime.
8846       ;;
8847
8848     msdosdjgpp*)
8849       # Just because we use GCC doesn't mean we suddenly get shared libraries
8850       # on systems that don't support them.
8851       lt_prog_compiler_can_build_shared=no
8852       enable_shared=no
8853       ;;
8854
8855     *nto* | *qnx*)
8856       # QNX uses GNU C++, but need to define -shared option too, otherwise
8857       # it will coredump.
8858       lt_prog_compiler_pic='-fPIC -shared'
8859       ;;
8860
8861     sysv4*MP*)
8862       if test -d /usr/nec; then
8863         lt_prog_compiler_pic=-Kconform_pic
8864       fi
8865       ;;
8866
8867     *)
8868       lt_prog_compiler_pic='-fPIC'
8869       ;;
8870     esac
8871
8872     case $cc_basename in
8873     nvcc*) # Cuda Compiler Driver 2.2
8874       lt_prog_compiler_wl='-Xlinker '
8875       if test -n "$lt_prog_compiler_pic"; then
8876         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8877       fi
8878       ;;
8879     esac
8880   else
8881     # PORTME Check for flag to pass linker flags through the system compiler.
8882     case $host_os in
8883     aix*)
8884       lt_prog_compiler_wl='-Wl,'
8885       if test "$host_cpu" = ia64; then
8886         # AIX 5 now supports IA64 processor
8887         lt_prog_compiler_static='-Bstatic'
8888       else
8889         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8890       fi
8891       ;;
8892
8893     mingw* | cygwin* | pw32* | os2* | cegcc*)
8894       # This hack is so that the source file can tell whether it is being
8895       # built for inclusion in a dll (and should export symbols for example).
8896       lt_prog_compiler_pic='-DDLL_EXPORT'
8897       ;;
8898
8899     hpux9* | hpux10* | hpux11*)
8900       lt_prog_compiler_wl='-Wl,'
8901       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8902       # not for PA HP-UX.
8903       case $host_cpu in
8904       hppa*64*|ia64*)
8905         # +Z the default
8906         ;;
8907       *)
8908         lt_prog_compiler_pic='+Z'
8909         ;;
8910       esac
8911       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8912       lt_prog_compiler_static='${wl}-a ${wl}archive'
8913       ;;
8914
8915     irix5* | irix6* | nonstopux*)
8916       lt_prog_compiler_wl='-Wl,'
8917       # PIC (with -KPIC) is the default.
8918       lt_prog_compiler_static='-non_shared'
8919       ;;
8920
8921     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8922       case $cc_basename in
8923       # old Intel for x86_64 which still supported -KPIC.
8924       ecc*)
8925         lt_prog_compiler_wl='-Wl,'
8926         lt_prog_compiler_pic='-KPIC'
8927         lt_prog_compiler_static='-static'
8928         ;;
8929       # icc used to be incompatible with GCC.
8930       # ICC 10 doesn't accept -KPIC any more.
8931       icc* | ifort*)
8932         lt_prog_compiler_wl='-Wl,'
8933         lt_prog_compiler_pic='-fPIC'
8934         lt_prog_compiler_static='-static'
8935         ;;
8936       # Lahey Fortran 8.1.
8937       lf95*)
8938         lt_prog_compiler_wl='-Wl,'
8939         lt_prog_compiler_pic='--shared'
8940         lt_prog_compiler_static='--static'
8941         ;;
8942       nagfor*)
8943         # NAG Fortran compiler
8944         lt_prog_compiler_wl='-Wl,-Wl,,'
8945         lt_prog_compiler_pic='-PIC'
8946         lt_prog_compiler_static='-Bstatic'
8947         ;;
8948       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8949         # Portland Group compilers (*not* the Pentium gcc compiler,
8950         # which looks to be a dead project)
8951         lt_prog_compiler_wl='-Wl,'
8952         lt_prog_compiler_pic='-fpic'
8953         lt_prog_compiler_static='-Bstatic'
8954         ;;
8955       ccc*)
8956         lt_prog_compiler_wl='-Wl,'
8957         # All Alpha code is PIC.
8958         lt_prog_compiler_static='-non_shared'
8959         ;;
8960       xl* | bgxl* | bgf* | mpixl*)
8961         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8962         lt_prog_compiler_wl='-Wl,'
8963         lt_prog_compiler_pic='-qpic'
8964         lt_prog_compiler_static='-qstaticlink'
8965         ;;
8966       *)
8967         case `$CC -V 2>&1 | sed 5q` in
8968         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8969           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8970           lt_prog_compiler_pic='-KPIC'
8971           lt_prog_compiler_static='-Bstatic'
8972           lt_prog_compiler_wl=''
8973           ;;
8974         *Sun\ F* | *Sun*Fortran*)
8975           lt_prog_compiler_pic='-KPIC'
8976           lt_prog_compiler_static='-Bstatic'
8977           lt_prog_compiler_wl='-Qoption ld '
8978           ;;
8979         *Sun\ C*)
8980           # Sun C 5.9
8981           lt_prog_compiler_pic='-KPIC'
8982           lt_prog_compiler_static='-Bstatic'
8983           lt_prog_compiler_wl='-Wl,'
8984           ;;
8985         *Intel*\ [CF]*Compiler*)
8986           lt_prog_compiler_wl='-Wl,'
8987           lt_prog_compiler_pic='-fPIC'
8988           lt_prog_compiler_static='-static'
8989           ;;
8990         *Portland\ Group*)
8991           lt_prog_compiler_wl='-Wl,'
8992           lt_prog_compiler_pic='-fpic'
8993           lt_prog_compiler_static='-Bstatic'
8994           ;;
8995         esac
8996         ;;
8997       esac
8998       ;;
8999
9000     newsos6)
9001       lt_prog_compiler_pic='-KPIC'
9002       lt_prog_compiler_static='-Bstatic'
9003       ;;
9004
9005     *nto* | *qnx*)
9006       # QNX uses GNU C++, but need to define -shared option too, otherwise
9007       # it will coredump.
9008       lt_prog_compiler_pic='-fPIC -shared'
9009       ;;
9010
9011     osf3* | osf4* | osf5*)
9012       lt_prog_compiler_wl='-Wl,'
9013       # All OSF/1 code is PIC.
9014       lt_prog_compiler_static='-non_shared'
9015       ;;
9016
9017     rdos*)
9018       lt_prog_compiler_static='-non_shared'
9019       ;;
9020
9021     solaris*)
9022       lt_prog_compiler_pic='-KPIC'
9023       lt_prog_compiler_static='-Bstatic'
9024       case $cc_basename in
9025       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9026         lt_prog_compiler_wl='-Qoption ld ';;
9027       *)
9028         lt_prog_compiler_wl='-Wl,';;
9029       esac
9030       ;;
9031
9032     sunos4*)
9033       lt_prog_compiler_wl='-Qoption ld '
9034       lt_prog_compiler_pic='-PIC'
9035       lt_prog_compiler_static='-Bstatic'
9036       ;;
9037
9038     sysv4 | sysv4.2uw2* | sysv4.3*)
9039       lt_prog_compiler_wl='-Wl,'
9040       lt_prog_compiler_pic='-KPIC'
9041       lt_prog_compiler_static='-Bstatic'
9042       ;;
9043
9044     sysv4*MP*)
9045       if test -d /usr/nec ;then
9046         lt_prog_compiler_pic='-Kconform_pic'
9047         lt_prog_compiler_static='-Bstatic'
9048       fi
9049       ;;
9050
9051     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9052       lt_prog_compiler_wl='-Wl,'
9053       lt_prog_compiler_pic='-KPIC'
9054       lt_prog_compiler_static='-Bstatic'
9055       ;;
9056
9057     unicos*)
9058       lt_prog_compiler_wl='-Wl,'
9059       lt_prog_compiler_can_build_shared=no
9060       ;;
9061
9062     uts4*)
9063       lt_prog_compiler_pic='-pic'
9064       lt_prog_compiler_static='-Bstatic'
9065       ;;
9066
9067     *)
9068       lt_prog_compiler_can_build_shared=no
9069       ;;
9070     esac
9071   fi
9072
9073 case $host_os in
9074   # For platforms which do not support PIC, -DPIC is meaningless:
9075   *djgpp*)
9076     lt_prog_compiler_pic=
9077     ;;
9078   *)
9079     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9080     ;;
9081 esac
9082
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9084 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9085 if ${lt_cv_prog_compiler_pic+:} false; then :
9086   $as_echo_n "(cached) " >&6
9087 else
9088   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9089 fi
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9091 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9092 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9093
9094 #
9095 # Check to make sure the PIC flag actually works.
9096 #
9097 if test -n "$lt_prog_compiler_pic"; then
9098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9099 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9100 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9101   $as_echo_n "(cached) " >&6
9102 else
9103   lt_cv_prog_compiler_pic_works=no
9104    ac_outfile=conftest.$ac_objext
9105    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9106    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9107    # Insert the option either (1) after the last *FLAGS variable, or
9108    # (2) before a word containing "conftest.", or (3) at the end.
9109    # Note that $ac_compile itself does not contain backslashes and begins
9110    # with a dollar sign (not a hyphen), so the echo should work correctly.
9111    # The option is referenced via a variable to avoid confusing sed.
9112    lt_compile=`echo "$ac_compile" | $SED \
9113    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9114    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9115    -e 's:$: $lt_compiler_flag:'`
9116    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9117    (eval "$lt_compile" 2>conftest.err)
9118    ac_status=$?
9119    cat conftest.err >&5
9120    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121    if (exit $ac_status) && test -s "$ac_outfile"; then
9122      # The compiler can only warn and ignore the option if not recognized
9123      # So say no if there are warnings other than the usual output.
9124      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9125      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9126      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9127        lt_cv_prog_compiler_pic_works=yes
9128      fi
9129    fi
9130    $RM conftest*
9131
9132 fi
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9135
9136 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9137     case $lt_prog_compiler_pic in
9138      "" | " "*) ;;
9139      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9140      esac
9141 else
9142     lt_prog_compiler_pic=
9143      lt_prog_compiler_can_build_shared=no
9144 fi
9145
9146 fi
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158 #
9159 # Check to make sure the static flag actually works.
9160 #
9161 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9163 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9164 if ${lt_cv_prog_compiler_static_works+:} false; then :
9165   $as_echo_n "(cached) " >&6
9166 else
9167   lt_cv_prog_compiler_static_works=no
9168    save_LDFLAGS="$LDFLAGS"
9169    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9170    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9171    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9172      # The linker can only warn and ignore the option if not recognized
9173      # So say no if there are warnings
9174      if test -s conftest.err; then
9175        # Append any errors to the config.log.
9176        cat conftest.err 1>&5
9177        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9178        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9179        if diff conftest.exp conftest.er2 >/dev/null; then
9180          lt_cv_prog_compiler_static_works=yes
9181        fi
9182      else
9183        lt_cv_prog_compiler_static_works=yes
9184      fi
9185    fi
9186    $RM -r conftest*
9187    LDFLAGS="$save_LDFLAGS"
9188
9189 fi
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9192
9193 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9194     :
9195 else
9196     lt_prog_compiler_static=
9197 fi
9198
9199
9200
9201
9202
9203
9204
9205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9207 if ${lt_cv_prog_compiler_c_o+:} false; then :
9208   $as_echo_n "(cached) " >&6
9209 else
9210   lt_cv_prog_compiler_c_o=no
9211    $RM -r conftest 2>/dev/null
9212    mkdir conftest
9213    cd conftest
9214    mkdir out
9215    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9216
9217    lt_compiler_flag="-o out/conftest2.$ac_objext"
9218    # Insert the option either (1) after the last *FLAGS variable, or
9219    # (2) before a word containing "conftest.", or (3) at the end.
9220    # Note that $ac_compile itself does not contain backslashes and begins
9221    # with a dollar sign (not a hyphen), so the echo should work correctly.
9222    lt_compile=`echo "$ac_compile" | $SED \
9223    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9224    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9225    -e 's:$: $lt_compiler_flag:'`
9226    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9227    (eval "$lt_compile" 2>out/conftest.err)
9228    ac_status=$?
9229    cat out/conftest.err >&5
9230    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9232    then
9233      # The compiler can only warn and ignore the option if not recognized
9234      # So say no if there are warnings
9235      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9236      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9237      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9238        lt_cv_prog_compiler_c_o=yes
9239      fi
9240    fi
9241    chmod u+w . 2>&5
9242    $RM conftest*
9243    # SGI C++ compiler will create directory out/ii_files/ for
9244    # template instantiation
9245    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9246    $RM out/* && rmdir out
9247    cd ..
9248    $RM -r conftest
9249    $RM conftest*
9250
9251 fi
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9254
9255
9256
9257
9258
9259
9260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9262 if ${lt_cv_prog_compiler_c_o+:} false; then :
9263   $as_echo_n "(cached) " >&6
9264 else
9265   lt_cv_prog_compiler_c_o=no
9266    $RM -r conftest 2>/dev/null
9267    mkdir conftest
9268    cd conftest
9269    mkdir out
9270    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9271
9272    lt_compiler_flag="-o out/conftest2.$ac_objext"
9273    # Insert the option either (1) after the last *FLAGS variable, or
9274    # (2) before a word containing "conftest.", or (3) at the end.
9275    # Note that $ac_compile itself does not contain backslashes and begins
9276    # with a dollar sign (not a hyphen), so the echo should work correctly.
9277    lt_compile=`echo "$ac_compile" | $SED \
9278    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280    -e 's:$: $lt_compiler_flag:'`
9281    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9282    (eval "$lt_compile" 2>out/conftest.err)
9283    ac_status=$?
9284    cat out/conftest.err >&5
9285    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9287    then
9288      # The compiler can only warn and ignore the option if not recognized
9289      # So say no if there are warnings
9290      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9291      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9292      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9293        lt_cv_prog_compiler_c_o=yes
9294      fi
9295    fi
9296    chmod u+w . 2>&5
9297    $RM conftest*
9298    # SGI C++ compiler will create directory out/ii_files/ for
9299    # template instantiation
9300    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9301    $RM out/* && rmdir out
9302    cd ..
9303    $RM -r conftest
9304    $RM conftest*
9305
9306 fi
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9309
9310
9311
9312
9313 hard_links="nottested"
9314 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9315   # do not overwrite the value of need_locks provided by the user
9316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9317 $as_echo_n "checking if we can lock with hard links... " >&6; }
9318   hard_links=yes
9319   $RM conftest*
9320   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9321   touch conftest.a
9322   ln conftest.a conftest.b 2>&5 || hard_links=no
9323   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9325 $as_echo "$hard_links" >&6; }
9326   if test "$hard_links" = no; then
9327     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9328 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9329     need_locks=warn
9330   fi
9331 else
9332   need_locks=no
9333 fi
9334
9335
9336
9337
9338
9339
9340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9342
9343   runpath_var=
9344   allow_undefined_flag=
9345   always_export_symbols=no
9346   archive_cmds=
9347   archive_expsym_cmds=
9348   compiler_needs_object=no
9349   enable_shared_with_static_runtimes=no
9350   export_dynamic_flag_spec=
9351   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9352   hardcode_automatic=no
9353   hardcode_direct=no
9354   hardcode_direct_absolute=no
9355   hardcode_libdir_flag_spec=
9356   hardcode_libdir_separator=
9357   hardcode_minus_L=no
9358   hardcode_shlibpath_var=unsupported
9359   inherit_rpath=no
9360   link_all_deplibs=unknown
9361   module_cmds=
9362   module_expsym_cmds=
9363   old_archive_from_new_cmds=
9364   old_archive_from_expsyms_cmds=
9365   thread_safe_flag_spec=
9366   whole_archive_flag_spec=
9367   # include_expsyms should be a list of space-separated symbols to be *always*
9368   # included in the symbol list
9369   include_expsyms=
9370   # exclude_expsyms can be an extended regexp of symbols to exclude
9371   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9372   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9373   # as well as any symbol that contains `d'.
9374   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9375   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9376   # platforms (ab)use it in PIC code, but their linkers get confused if
9377   # the symbol is explicitly referenced.  Since portable code cannot
9378   # rely on this symbol name, it's probably fine to never include it in
9379   # preloaded symbol tables.
9380   # Exclude shared library initialization/finalization symbols.
9381   extract_expsyms_cmds=
9382
9383   case $host_os in
9384   cygwin* | mingw* | pw32* | cegcc*)
9385     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9386     # When not using gcc, we currently assume that we are using
9387     # Microsoft Visual C++.
9388     if test "$GCC" != yes; then
9389       with_gnu_ld=no
9390     fi
9391     ;;
9392   interix*)
9393     # we just hope/assume this is gcc and not c89 (= MSVC++)
9394     with_gnu_ld=yes
9395     ;;
9396   openbsd*)
9397     with_gnu_ld=no
9398     ;;
9399   linux* | k*bsd*-gnu | gnu*)
9400     link_all_deplibs=no
9401     ;;
9402   esac
9403
9404   ld_shlibs=yes
9405
9406   # On some targets, GNU ld is compatible enough with the native linker
9407   # that we're better off using the native interface for both.
9408   lt_use_gnu_ld_interface=no
9409   if test "$with_gnu_ld" = yes; then
9410     case $host_os in
9411       aix*)
9412         # The AIX port of GNU ld has always aspired to compatibility
9413         # with the native linker.  However, as the warning in the GNU ld
9414         # block says, versions before 2.19.5* couldn't really create working
9415         # shared libraries, regardless of the interface used.
9416         case `$LD -v 2>&1` in
9417           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9418           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9419           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9420           *)
9421             lt_use_gnu_ld_interface=yes
9422             ;;
9423         esac
9424         ;;
9425       *)
9426         lt_use_gnu_ld_interface=yes
9427         ;;
9428     esac
9429   fi
9430
9431   if test "$lt_use_gnu_ld_interface" = yes; then
9432     # If archive_cmds runs LD, not CC, wlarc should be empty
9433     wlarc='${wl}'
9434
9435     # Set some defaults for GNU ld with shared library support. These
9436     # are reset later if shared libraries are not supported. Putting them
9437     # here allows them to be overridden if necessary.
9438     runpath_var=LD_RUN_PATH
9439     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9440     export_dynamic_flag_spec='${wl}--export-dynamic'
9441     # ancient GNU ld didn't support --whole-archive et. al.
9442     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9443       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9444     else
9445       whole_archive_flag_spec=
9446     fi
9447     supports_anon_versioning=no
9448     case `$LD -v 2>&1` in
9449       *GNU\ gold*) supports_anon_versioning=yes ;;
9450       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9451       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9452       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9453       *\ 2.11.*) ;; # other 2.11 versions
9454       *) supports_anon_versioning=yes ;;
9455     esac
9456
9457     # See if GNU ld supports shared libraries.
9458     case $host_os in
9459     aix[3-9]*)
9460       # On AIX/PPC, the GNU linker is very broken
9461       if test "$host_cpu" != ia64; then
9462         ld_shlibs=no
9463         cat <<_LT_EOF 1>&2
9464
9465 *** Warning: the GNU linker, at least up to release 2.19, is reported
9466 *** to be unable to reliably create shared libraries on AIX.
9467 *** Therefore, libtool is disabling shared libraries support.  If you
9468 *** really care for shared libraries, you may want to install binutils
9469 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9470 *** You will then need to restart the configuration process.
9471
9472 _LT_EOF
9473       fi
9474       ;;
9475
9476     amigaos*)
9477       case $host_cpu in
9478       powerpc)
9479             # see comment about AmigaOS4 .so support
9480             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481             archive_expsym_cmds=''
9482         ;;
9483       m68k)
9484             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)'
9485             hardcode_libdir_flag_spec='-L$libdir'
9486             hardcode_minus_L=yes
9487         ;;
9488       esac
9489       ;;
9490
9491     beos*)
9492       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9493         allow_undefined_flag=unsupported
9494         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9495         # support --undefined.  This deserves some investigation.  FIXME
9496         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497       else
9498         ld_shlibs=no
9499       fi
9500       ;;
9501
9502     cygwin* | mingw* | pw32* | cegcc*)
9503       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9504       # as there is no search path for DLLs.
9505       hardcode_libdir_flag_spec='-L$libdir'
9506       export_dynamic_flag_spec='${wl}--export-all-symbols'
9507       allow_undefined_flag=unsupported
9508       always_export_symbols=no
9509       enable_shared_with_static_runtimes=yes
9510       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'
9511       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9512
9513       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9514         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9515         # If the export-symbols file already is a .def file (1st line
9516         # is EXPORTS), use it as is; otherwise, prepend...
9517         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9518           cp $export_symbols $output_objdir/$soname.def;
9519         else
9520           echo EXPORTS > $output_objdir/$soname.def;
9521           cat $export_symbols >> $output_objdir/$soname.def;
9522         fi~
9523         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9524       else
9525         ld_shlibs=no
9526       fi
9527       ;;
9528
9529     haiku*)
9530       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9531       link_all_deplibs=yes
9532       ;;
9533
9534     interix[3-9]*)
9535       hardcode_direct=no
9536       hardcode_shlibpath_var=no
9537       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9538       export_dynamic_flag_spec='${wl}-E'
9539       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9540       # Instead, shared libraries are loaded at an image base (0x10000000 by
9541       # default) and relocated if they conflict, which is a slow very memory
9542       # consuming and fragmenting process.  To avoid this, we pick a random,
9543       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9544       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9545       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9546       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'
9547       ;;
9548
9549     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9550       tmp_diet=no
9551       if test "$host_os" = linux-dietlibc; then
9552         case $cc_basename in
9553           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9554         esac
9555       fi
9556       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9557          && test "$tmp_diet" = no
9558       then
9559         tmp_addflag=' $pic_flag'
9560         tmp_sharedflag='-shared'
9561         case $cc_basename,$host_cpu in
9562         pgcc*)                          # Portland Group C compiler
9563           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'
9564           tmp_addflag=' $pic_flag'
9565           ;;
9566         pgf77* | pgf90* | pgf95* | pgfortran*)
9567                                         # Portland Group f77 and f90 compilers
9568           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'
9569           tmp_addflag=' $pic_flag -Mnomain' ;;
9570         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9571           tmp_addflag=' -i_dynamic' ;;
9572         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9573           tmp_addflag=' -i_dynamic -nofor_main' ;;
9574         ifc* | ifort*)                  # Intel Fortran compiler
9575           tmp_addflag=' -nofor_main' ;;
9576         lf95*)                          # Lahey Fortran 8.1
9577           whole_archive_flag_spec=
9578           tmp_sharedflag='--shared' ;;
9579         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9580           tmp_sharedflag='-qmkshrobj'
9581           tmp_addflag= ;;
9582         nvcc*)  # Cuda Compiler Driver 2.2
9583           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'
9584           compiler_needs_object=yes
9585           ;;
9586         esac
9587         case `$CC -V 2>&1 | sed 5q` in
9588         *Sun\ C*)                       # Sun C 5.9
9589           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'
9590           compiler_needs_object=yes
9591           tmp_sharedflag='-G' ;;
9592         *Sun\ F*)                       # Sun Fortran 8.3
9593           tmp_sharedflag='-G' ;;
9594         esac
9595         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9596
9597         if test "x$supports_anon_versioning" = xyes; then
9598           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9599             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9600             echo "local: *; };" >> $output_objdir/$libname.ver~
9601             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9602         fi
9603
9604         case $cc_basename in
9605         xlf* | bgf* | bgxlf* | mpixlf*)
9606           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9607           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9608           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9609           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9610           if test "x$supports_anon_versioning" = xyes; then
9611             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9612               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9613               echo "local: *; };" >> $output_objdir/$libname.ver~
9614               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9615           fi
9616           ;;
9617         esac
9618       else
9619         ld_shlibs=no
9620       fi
9621       ;;
9622
9623     netbsd* | netbsdelf*-gnu)
9624       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9625         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9626         wlarc=
9627       else
9628         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9629         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9630       fi
9631       ;;
9632
9633     solaris*)
9634       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9635         ld_shlibs=no
9636         cat <<_LT_EOF 1>&2
9637
9638 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9639 *** create shared libraries on Solaris systems.  Therefore, libtool
9640 *** is disabling shared libraries support.  We urge you to upgrade GNU
9641 *** binutils to release 2.9.1 or newer.  Another option is to modify
9642 *** your PATH or compiler configuration so that the native linker is
9643 *** used, and then restart.
9644
9645 _LT_EOF
9646       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9647         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9649       else
9650         ld_shlibs=no
9651       fi
9652       ;;
9653
9654     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9655       case `$LD -v 2>&1` in
9656         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9657         ld_shlibs=no
9658         cat <<_LT_EOF 1>&2
9659
9660 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9661 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9662 *** is disabling shared libraries support.  We urge you to upgrade GNU
9663 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9664 *** your PATH or compiler configuration so that the native linker is
9665 *** used, and then restart.
9666
9667 _LT_EOF
9668         ;;
9669         *)
9670           # For security reasons, it is highly recommended that you always
9671           # use absolute paths for naming shared libraries, and exclude the
9672           # DT_RUNPATH tag from executables and libraries.  But doing so
9673           # requires that you compile everything twice, which is a pain.
9674           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9675             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9676             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9678           else
9679             ld_shlibs=no
9680           fi
9681         ;;
9682       esac
9683       ;;
9684
9685     sunos4*)
9686       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9687       wlarc=
9688       hardcode_direct=yes
9689       hardcode_shlibpath_var=no
9690       ;;
9691
9692     *)
9693       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9694         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9695         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9696       else
9697         ld_shlibs=no
9698       fi
9699       ;;
9700     esac
9701
9702     if test "$ld_shlibs" = no; then
9703       runpath_var=
9704       hardcode_libdir_flag_spec=
9705       export_dynamic_flag_spec=
9706       whole_archive_flag_spec=
9707     fi
9708   else
9709     # PORTME fill in a description of your system's linker (not GNU ld)
9710     case $host_os in
9711     aix3*)
9712       allow_undefined_flag=unsupported
9713       always_export_symbols=yes
9714       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'
9715       # Note: this linker hardcodes the directories in LIBPATH if there
9716       # are no directories specified by -L.
9717       hardcode_minus_L=yes
9718       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9719         # Neither direct hardcoding nor static linking is supported with a
9720         # broken collect2.
9721         hardcode_direct=unsupported
9722       fi
9723       ;;
9724
9725     aix[4-9]*)
9726       if test "$host_cpu" = ia64; then
9727         # On IA64, the linker does run time linking by default, so we don't
9728         # have to do anything special.
9729         aix_use_runtimelinking=no
9730         exp_sym_flag='-Bexport'
9731         no_entry_flag=""
9732       else
9733         # If we're using GNU nm, then we don't want the "-C" option.
9734         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9735         # Also, AIX nm treats weak defined symbols like other global
9736         # defined symbols, whereas GNU nm marks them as "W".
9737         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9738           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'
9739         else
9740           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'
9741         fi
9742         aix_use_runtimelinking=no
9743
9744         # Test if we are trying to use run time linking or normal
9745         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9746         # need to do runtime linking.
9747         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9748           for ld_flag in $LDFLAGS; do
9749           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9750             aix_use_runtimelinking=yes
9751             break
9752           fi
9753           done
9754           ;;
9755         esac
9756
9757         exp_sym_flag='-bexport'
9758         no_entry_flag='-bnoentry'
9759       fi
9760
9761       # When large executables or shared objects are built, AIX ld can
9762       # have problems creating the table of contents.  If linking a library
9763       # or program results in "error TOC overflow" add -mminimal-toc to
9764       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9765       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9766
9767       archive_cmds=''
9768       hardcode_direct=yes
9769       hardcode_direct_absolute=yes
9770       hardcode_libdir_separator=':'
9771       link_all_deplibs=yes
9772       file_list_spec='${wl}-f,'
9773
9774       if test "$GCC" = yes; then
9775         case $host_os in aix4.[012]|aix4.[012].*)
9776         # We only want to do this on AIX 4.2 and lower, the check
9777         # below for broken collect2 doesn't work under 4.3+
9778           collect2name=`${CC} -print-prog-name=collect2`
9779           if test -f "$collect2name" &&
9780            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9781           then
9782           # We have reworked collect2
9783           :
9784           else
9785           # We have old collect2
9786           hardcode_direct=unsupported
9787           # It fails to find uninstalled libraries when the uninstalled
9788           # path is not listed in the libpath.  Setting hardcode_minus_L
9789           # to unsupported forces relinking
9790           hardcode_minus_L=yes
9791           hardcode_libdir_flag_spec='-L$libdir'
9792           hardcode_libdir_separator=
9793           fi
9794           ;;
9795         esac
9796         shared_flag='-shared'
9797         if test "$aix_use_runtimelinking" = yes; then
9798           shared_flag="$shared_flag "'${wl}-G'
9799         fi
9800         link_all_deplibs=no
9801       else
9802         # not using gcc
9803         if test "$host_cpu" = ia64; then
9804         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9805         # chokes on -Wl,-G. The following line is correct:
9806           shared_flag='-G'
9807         else
9808           if test "$aix_use_runtimelinking" = yes; then
9809             shared_flag='${wl}-G'
9810           else
9811             shared_flag='${wl}-bM:SRE'
9812           fi
9813         fi
9814       fi
9815
9816       export_dynamic_flag_spec='${wl}-bexpall'
9817       # It seems that -bexpall does not export symbols beginning with
9818       # underscore (_), so it is better to generate a list of symbols to export.
9819       always_export_symbols=yes
9820       if test "$aix_use_runtimelinking" = yes; then
9821         # Warning - without using the other runtime loading flags (-brtl),
9822         # -berok will link without error, but may produce a broken library.
9823         allow_undefined_flag='-berok'
9824         # Determine the default libpath from the value encoded in an
9825         # empty executable.
9826         if test "${lt_cv_aix_libpath+set}" = set; then
9827   aix_libpath=$lt_cv_aix_libpath
9828 else
9829   if ${lt_cv_aix_libpath_+:} false; then :
9830   $as_echo_n "(cached) " >&6
9831 else
9832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h.  */
9834
9835 int
9836 main ()
9837 {
9838
9839   ;
9840   return 0;
9841 }
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844
9845   lt_aix_libpath_sed='
9846       /Import File Strings/,/^$/ {
9847           /^0/ {
9848               s/^0  *\([^ ]*\) *$/\1/
9849               p
9850           }
9851       }'
9852   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9853   # Check for a 64-bit object if we didn't find anything.
9854   if test -z "$lt_cv_aix_libpath_"; then
9855     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9856   fi
9857 fi
9858 rm -f core conftest.err conftest.$ac_objext \
9859     conftest$ac_exeext conftest.$ac_ext
9860   if test -z "$lt_cv_aix_libpath_"; then
9861     lt_cv_aix_libpath_="/usr/lib:/lib"
9862   fi
9863
9864 fi
9865
9866   aix_libpath=$lt_cv_aix_libpath_
9867 fi
9868
9869         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9870         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"
9871       else
9872         if test "$host_cpu" = ia64; then
9873           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9874           allow_undefined_flag="-z nodefs"
9875           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"
9876         else
9877          # Determine the default libpath from the value encoded in an
9878          # empty executable.
9879          if test "${lt_cv_aix_libpath+set}" = set; then
9880   aix_libpath=$lt_cv_aix_libpath
9881 else
9882   if ${lt_cv_aix_libpath_+:} false; then :
9883   $as_echo_n "(cached) " >&6
9884 else
9885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h.  */
9887
9888 int
9889 main ()
9890 {
9891
9892   ;
9893   return 0;
9894 }
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897
9898   lt_aix_libpath_sed='
9899       /Import File Strings/,/^$/ {
9900           /^0/ {
9901               s/^0  *\([^ ]*\) *$/\1/
9902               p
9903           }
9904       }'
9905   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9906   # Check for a 64-bit object if we didn't find anything.
9907   if test -z "$lt_cv_aix_libpath_"; then
9908     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9909   fi
9910 fi
9911 rm -f core conftest.err conftest.$ac_objext \
9912     conftest$ac_exeext conftest.$ac_ext
9913   if test -z "$lt_cv_aix_libpath_"; then
9914     lt_cv_aix_libpath_="/usr/lib:/lib"
9915   fi
9916
9917 fi
9918
9919   aix_libpath=$lt_cv_aix_libpath_
9920 fi
9921
9922          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9923           # Warning - without using the other run time loading flags,
9924           # -berok will link without error, but may produce a broken library.
9925           no_undefined_flag=' ${wl}-bernotok'
9926           allow_undefined_flag=' ${wl}-berok'
9927           if test "$with_gnu_ld" = yes; then
9928             # We only use this code for GNU lds that support --whole-archive.
9929             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9930           else
9931             # Exported symbols can be pulled into shared objects from archives
9932             whole_archive_flag_spec='$convenience'
9933           fi
9934           archive_cmds_need_lc=yes
9935           # This is similar to how AIX traditionally builds its shared libraries.
9936           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'
9937         fi
9938       fi
9939       ;;
9940
9941     amigaos*)
9942       case $host_cpu in
9943       powerpc)
9944             # see comment about AmigaOS4 .so support
9945             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946             archive_expsym_cmds=''
9947         ;;
9948       m68k)
9949             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)'
9950             hardcode_libdir_flag_spec='-L$libdir'
9951             hardcode_minus_L=yes
9952         ;;
9953       esac
9954       ;;
9955
9956     bsdi[45]*)
9957       export_dynamic_flag_spec=-rdynamic
9958       ;;
9959
9960     cygwin* | mingw* | pw32* | cegcc*)
9961       # When not using gcc, we currently assume that we are using
9962       # Microsoft Visual C++.
9963       # hardcode_libdir_flag_spec is actually meaningless, as there is
9964       # no search path for DLLs.
9965       case $cc_basename in
9966       cl*)
9967         # Native MSVC
9968         hardcode_libdir_flag_spec=' '
9969         allow_undefined_flag=unsupported
9970         always_export_symbols=yes
9971         file_list_spec='@'
9972         # Tell ltmain to make .lib files, not .a files.
9973         libext=lib
9974         # Tell ltmain to make .dll files, not .so files.
9975         shrext_cmds=".dll"
9976         # FIXME: Setting linknames here is a bad hack.
9977         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9978         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9979             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9980           else
9981             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9982           fi~
9983           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9984           linknames='
9985         # The linker will not automatically build a static lib if we build a DLL.
9986         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9987         enable_shared_with_static_runtimes=yes
9988         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9989         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9990         # Don't use ranlib
9991         old_postinstall_cmds='chmod 644 $oldlib'
9992         postlink_cmds='lt_outputfile="@OUTPUT@"~
9993           lt_tool_outputfile="@TOOL_OUTPUT@"~
9994           case $lt_outputfile in
9995             *.exe|*.EXE) ;;
9996             *)
9997               lt_outputfile="$lt_outputfile.exe"
9998               lt_tool_outputfile="$lt_tool_outputfile.exe"
9999               ;;
10000           esac~
10001           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10002             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10003             $RM "$lt_outputfile.manifest";
10004           fi'
10005         ;;
10006       *)
10007         # Assume MSVC wrapper
10008         hardcode_libdir_flag_spec=' '
10009         allow_undefined_flag=unsupported
10010         # Tell ltmain to make .lib files, not .a files.
10011         libext=lib
10012         # Tell ltmain to make .dll files, not .so files.
10013         shrext_cmds=".dll"
10014         # FIXME: Setting linknames here is a bad hack.
10015         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10016         # The linker will automatically build a .lib file if we build a DLL.
10017         old_archive_from_new_cmds='true'
10018         # FIXME: Should let the user specify the lib program.
10019         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10020         enable_shared_with_static_runtimes=yes
10021         ;;
10022       esac
10023       ;;
10024
10025     darwin* | rhapsody*)
10026
10027
10028   archive_cmds_need_lc=no
10029   hardcode_direct=no
10030   hardcode_automatic=yes
10031   hardcode_shlibpath_var=unsupported
10032   if test "$lt_cv_ld_force_load" = "yes"; then
10033     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\"`'
10034
10035   else
10036     whole_archive_flag_spec=''
10037   fi
10038   link_all_deplibs=yes
10039   allow_undefined_flag="$_lt_dar_allow_undefined"
10040   case $cc_basename in
10041      ifort*) _lt_dar_can_shared=yes ;;
10042      *) _lt_dar_can_shared=$GCC ;;
10043   esac
10044   if test "$_lt_dar_can_shared" = "yes"; then
10045     output_verbose_link_cmd=func_echo_all
10046     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10047     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10048     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}"
10049     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}"
10050
10051   else
10052   ld_shlibs=no
10053   fi
10054
10055       ;;
10056
10057     dgux*)
10058       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059       hardcode_libdir_flag_spec='-L$libdir'
10060       hardcode_shlibpath_var=no
10061       ;;
10062
10063     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10064     # support.  Future versions do this automatically, but an explicit c++rt0.o
10065     # does not break anything, and helps significantly (at the cost of a little
10066     # extra space).
10067     freebsd2.2*)
10068       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10069       hardcode_libdir_flag_spec='-R$libdir'
10070       hardcode_direct=yes
10071       hardcode_shlibpath_var=no
10072       ;;
10073
10074     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10075     freebsd2.*)
10076       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10077       hardcode_direct=yes
10078       hardcode_minus_L=yes
10079       hardcode_shlibpath_var=no
10080       ;;
10081
10082     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10083     freebsd* | dragonfly*)
10084       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10085       hardcode_libdir_flag_spec='-R$libdir'
10086       hardcode_direct=yes
10087       hardcode_shlibpath_var=no
10088       ;;
10089
10090     hpux9*)
10091       if test "$GCC" = yes; then
10092         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'
10093       else
10094         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'
10095       fi
10096       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10097       hardcode_libdir_separator=:
10098       hardcode_direct=yes
10099
10100       # hardcode_minus_L: Not really in the search PATH,
10101       # but as the default location of the library.
10102       hardcode_minus_L=yes
10103       export_dynamic_flag_spec='${wl}-E'
10104       ;;
10105
10106     hpux10*)
10107       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10108         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10109       else
10110         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10111       fi
10112       if test "$with_gnu_ld" = no; then
10113         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10114         hardcode_libdir_separator=:
10115         hardcode_direct=yes
10116         hardcode_direct_absolute=yes
10117         export_dynamic_flag_spec='${wl}-E'
10118         # hardcode_minus_L: Not really in the search PATH,
10119         # but as the default location of the library.
10120         hardcode_minus_L=yes
10121       fi
10122       ;;
10123
10124     hpux11*)
10125       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10126         case $host_cpu in
10127         hppa*64*)
10128           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10129           ;;
10130         ia64*)
10131           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10132           ;;
10133         *)
10134           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10135           ;;
10136         esac
10137       else
10138         case $host_cpu in
10139         hppa*64*)
10140           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10141           ;;
10142         ia64*)
10143           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10144           ;;
10145         *)
10146
10147           # Older versions of the 11.00 compiler do not understand -b yet
10148           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10149           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10150 $as_echo_n "checking if $CC understands -b... " >&6; }
10151 if ${lt_cv_prog_compiler__b+:} false; then :
10152   $as_echo_n "(cached) " >&6
10153 else
10154   lt_cv_prog_compiler__b=no
10155    save_LDFLAGS="$LDFLAGS"
10156    LDFLAGS="$LDFLAGS -b"
10157    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10158    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10159      # The linker can only warn and ignore the option if not recognized
10160      # So say no if there are warnings
10161      if test -s conftest.err; then
10162        # Append any errors to the config.log.
10163        cat conftest.err 1>&5
10164        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10165        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10166        if diff conftest.exp conftest.er2 >/dev/null; then
10167          lt_cv_prog_compiler__b=yes
10168        fi
10169      else
10170        lt_cv_prog_compiler__b=yes
10171      fi
10172    fi
10173    $RM -r conftest*
10174    LDFLAGS="$save_LDFLAGS"
10175
10176 fi
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10178 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10179
10180 if test x"$lt_cv_prog_compiler__b" = xyes; then
10181     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10182 else
10183     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10184 fi
10185
10186           ;;
10187         esac
10188       fi
10189       if test "$with_gnu_ld" = no; then
10190         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10191         hardcode_libdir_separator=:
10192
10193         case $host_cpu in
10194         hppa*64*|ia64*)
10195           hardcode_direct=no
10196           hardcode_shlibpath_var=no
10197           ;;
10198         *)
10199           hardcode_direct=yes
10200           hardcode_direct_absolute=yes
10201           export_dynamic_flag_spec='${wl}-E'
10202
10203           # hardcode_minus_L: Not really in the search PATH,
10204           # but as the default location of the library.
10205           hardcode_minus_L=yes
10206           ;;
10207         esac
10208       fi
10209       ;;
10210
10211     irix5* | irix6* | nonstopux*)
10212       if test "$GCC" = yes; then
10213         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'
10214         # Try to use the -exported_symbol ld option, if it does not
10215         # work, assume that -exports_file does not work either and
10216         # implicitly export all symbols.
10217         # This should be the same for all languages, so no per-tag cache variable.
10218         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10219 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10220 if ${lt_cv_irix_exported_symbol+:} false; then :
10221   $as_echo_n "(cached) " >&6
10222 else
10223   save_LDFLAGS="$LDFLAGS"
10224            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10225            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h.  */
10227 int foo (void) { return 0; }
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230   lt_cv_irix_exported_symbol=yes
10231 else
10232   lt_cv_irix_exported_symbol=no
10233 fi
10234 rm -f core conftest.err conftest.$ac_objext \
10235     conftest$ac_exeext conftest.$ac_ext
10236            LDFLAGS="$save_LDFLAGS"
10237 fi
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10239 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10240         if test "$lt_cv_irix_exported_symbol" = yes; then
10241           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'
10242         fi
10243       else
10244         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'
10245         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'
10246       fi
10247       archive_cmds_need_lc='no'
10248       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10249       hardcode_libdir_separator=:
10250       inherit_rpath=yes
10251       link_all_deplibs=yes
10252       ;;
10253
10254     netbsd* | netbsdelf*-gnu)
10255       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10256         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10257       else
10258         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10259       fi
10260       hardcode_libdir_flag_spec='-R$libdir'
10261       hardcode_direct=yes
10262       hardcode_shlibpath_var=no
10263       ;;
10264
10265     newsos6)
10266       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267       hardcode_direct=yes
10268       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10269       hardcode_libdir_separator=:
10270       hardcode_shlibpath_var=no
10271       ;;
10272
10273     *nto* | *qnx*)
10274       ;;
10275
10276     openbsd*)
10277       if test -f /usr/libexec/ld.so; then
10278         hardcode_direct=yes
10279         hardcode_shlibpath_var=no
10280         hardcode_direct_absolute=yes
10281         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10282           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10283           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10284           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10285           export_dynamic_flag_spec='${wl}-E'
10286         else
10287           case $host_os in
10288            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10289              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10290              hardcode_libdir_flag_spec='-R$libdir'
10291              ;;
10292            *)
10293              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10294              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10295              ;;
10296           esac
10297         fi
10298       else
10299         ld_shlibs=no
10300       fi
10301       ;;
10302
10303     os2*)
10304       hardcode_libdir_flag_spec='-L$libdir'
10305       hardcode_minus_L=yes
10306       allow_undefined_flag=unsupported
10307       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'
10308       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10309       ;;
10310
10311     osf3*)
10312       if test "$GCC" = yes; then
10313         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10314         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'
10315       else
10316         allow_undefined_flag=' -expect_unresolved \*'
10317         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'
10318       fi
10319       archive_cmds_need_lc='no'
10320       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10321       hardcode_libdir_separator=:
10322       ;;
10323
10324     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10325       if test "$GCC" = yes; then
10326         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10327         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'
10328         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10329       else
10330         allow_undefined_flag=' -expect_unresolved \*'
10331         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'
10332         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~
10333         $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'
10334
10335         # Both c and cxx compiler support -rpath directly
10336         hardcode_libdir_flag_spec='-rpath $libdir'
10337       fi
10338       archive_cmds_need_lc='no'
10339       hardcode_libdir_separator=:
10340       ;;
10341
10342     solaris*)
10343       no_undefined_flag=' -z defs'
10344       if test "$GCC" = yes; then
10345         wlarc='${wl}'
10346         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10347         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10348           $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'
10349       else
10350         case `$CC -V 2>&1` in
10351         *"Compilers 5.0"*)
10352           wlarc=''
10353           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10354           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10355           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10356           ;;
10357         *)
10358           wlarc='${wl}'
10359           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10360           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10361           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10362           ;;
10363         esac
10364       fi
10365       hardcode_libdir_flag_spec='-R$libdir'
10366       hardcode_shlibpath_var=no
10367       case $host_os in
10368       solaris2.[0-5] | solaris2.[0-5].*) ;;
10369       *)
10370         # The compiler driver will combine and reorder linker options,
10371         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10372         # but is careful enough not to reorder.
10373         # Supported since Solaris 2.6 (maybe 2.5.1?)
10374         if test "$GCC" = yes; then
10375           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10376         else
10377           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10378         fi
10379         ;;
10380       esac
10381       link_all_deplibs=yes
10382       ;;
10383
10384     sunos4*)
10385       if test "x$host_vendor" = xsequent; then
10386         # Use $CC to link under sequent, because it throws in some extra .o
10387         # files that make .init and .fini sections work.
10388         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10389       else
10390         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10391       fi
10392       hardcode_libdir_flag_spec='-L$libdir'
10393       hardcode_direct=yes
10394       hardcode_minus_L=yes
10395       hardcode_shlibpath_var=no
10396       ;;
10397
10398     sysv4)
10399       case $host_vendor in
10400         sni)
10401           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402           hardcode_direct=yes # is this really true???
10403         ;;
10404         siemens)
10405           ## LD is ld it makes a PLAMLIB
10406           ## CC just makes a GrossModule.
10407           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10408           reload_cmds='$CC -r -o $output$reload_objs'
10409           hardcode_direct=no
10410         ;;
10411         motorola)
10412           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10413           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10414         ;;
10415       esac
10416       runpath_var='LD_RUN_PATH'
10417       hardcode_shlibpath_var=no
10418       ;;
10419
10420     sysv4.3*)
10421       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10422       hardcode_shlibpath_var=no
10423       export_dynamic_flag_spec='-Bexport'
10424       ;;
10425
10426     sysv4*MP*)
10427       if test -d /usr/nec; then
10428         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10429         hardcode_shlibpath_var=no
10430         runpath_var=LD_RUN_PATH
10431         hardcode_runpath_var=yes
10432         ld_shlibs=yes
10433       fi
10434       ;;
10435
10436     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10437       no_undefined_flag='${wl}-z,text'
10438       archive_cmds_need_lc=no
10439       hardcode_shlibpath_var=no
10440       runpath_var='LD_RUN_PATH'
10441
10442       if test "$GCC" = yes; then
10443         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10445       else
10446         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10448       fi
10449       ;;
10450
10451     sysv5* | sco3.2v5* | sco5v6*)
10452       # Note: We can NOT use -z defs as we might desire, because we do not
10453       # link with -lc, and that would cause any symbols used from libc to
10454       # always be unresolved, which means just about no library would
10455       # ever link correctly.  If we're not using GNU ld we use -z text
10456       # though, which does catch some bad symbols but isn't as heavy-handed
10457       # as -z defs.
10458       no_undefined_flag='${wl}-z,text'
10459       allow_undefined_flag='${wl}-z,nodefs'
10460       archive_cmds_need_lc=no
10461       hardcode_shlibpath_var=no
10462       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10463       hardcode_libdir_separator=':'
10464       link_all_deplibs=yes
10465       export_dynamic_flag_spec='${wl}-Bexport'
10466       runpath_var='LD_RUN_PATH'
10467
10468       if test "$GCC" = yes; then
10469         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10470         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10471       else
10472         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10473         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10474       fi
10475       ;;
10476
10477     uts4*)
10478       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10479       hardcode_libdir_flag_spec='-L$libdir'
10480       hardcode_shlibpath_var=no
10481       ;;
10482
10483     *)
10484       ld_shlibs=no
10485       ;;
10486     esac
10487
10488     if test x$host_vendor = xsni; then
10489       case $host in
10490       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10491         export_dynamic_flag_spec='${wl}-Blargedynsym'
10492         ;;
10493       esac
10494     fi
10495   fi
10496
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10498 $as_echo "$ld_shlibs" >&6; }
10499 test "$ld_shlibs" = no && can_build_shared=no
10500
10501 with_gnu_ld=$with_gnu_ld
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517 #
10518 # Do we need to explicitly link libc?
10519 #
10520 case "x$archive_cmds_need_lc" in
10521 x|xyes)
10522   # Assume -lc should be added
10523   archive_cmds_need_lc=yes
10524
10525   if test "$enable_shared" = yes && test "$GCC" = yes; then
10526     case $archive_cmds in
10527     *'~'*)
10528       # FIXME: we may have to deal with multi-command sequences.
10529       ;;
10530     '$CC '*)
10531       # Test whether the compiler implicitly links with -lc since on some
10532       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10533       # to ld, don't add -lc before -lgcc.
10534       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10535 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10536 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10537   $as_echo_n "(cached) " >&6
10538 else
10539   $RM conftest*
10540         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10541
10542         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10543   (eval $ac_compile) 2>&5
10544   ac_status=$?
10545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10546   test $ac_status = 0; } 2>conftest.err; then
10547           soname=conftest
10548           lib=conftest
10549           libobjs=conftest.$ac_objext
10550           deplibs=
10551           wl=$lt_prog_compiler_wl
10552           pic_flag=$lt_prog_compiler_pic
10553           compiler_flags=-v
10554           linker_flags=-v
10555           verstring=
10556           output_objdir=.
10557           libname=conftest
10558           lt_save_allow_undefined_flag=$allow_undefined_flag
10559           allow_undefined_flag=
10560           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10561   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10562   ac_status=$?
10563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10564   test $ac_status = 0; }
10565           then
10566             lt_cv_archive_cmds_need_lc=no
10567           else
10568             lt_cv_archive_cmds_need_lc=yes
10569           fi
10570           allow_undefined_flag=$lt_save_allow_undefined_flag
10571         else
10572           cat conftest.err 1>&5
10573         fi
10574         $RM conftest*
10575
10576 fi
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10578 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10579       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10580       ;;
10581     esac
10582   fi
10583   ;;
10584 esac
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10738 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10739
10740 if test "$GCC" = yes; then
10741   case $host_os in
10742     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10743     *) lt_awk_arg="/^libraries:/" ;;
10744   esac
10745   case $host_os in
10746     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10747     *) lt_sed_strip_eq="s,=/,/,g" ;;
10748   esac
10749   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10750   case $lt_search_path_spec in
10751   *\;*)
10752     # if the path contains ";" then we assume it to be the separator
10753     # otherwise default to the standard path separator (i.e. ":") - it is
10754     # assumed that no part of a normal pathname contains ";" but that should
10755     # okay in the real world where ";" in dirpaths is itself problematic.
10756     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10757     ;;
10758   *)
10759     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10760     ;;
10761   esac
10762   # Ok, now we have the path, separated by spaces, we can step through it
10763   # and add multilib dir if necessary.
10764   lt_tmp_lt_search_path_spec=
10765   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10766   for lt_sys_path in $lt_search_path_spec; do
10767     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10768       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10769     else
10770       test -d "$lt_sys_path" && \
10771         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10772     fi
10773   done
10774   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10775 BEGIN {RS=" "; FS="/|\n";} {
10776   lt_foo="";
10777   lt_count=0;
10778   for (lt_i = NF; lt_i > 0; lt_i--) {
10779     if ($lt_i != "" && $lt_i != ".") {
10780       if ($lt_i == "..") {
10781         lt_count++;
10782       } else {
10783         if (lt_count == 0) {
10784           lt_foo="/" $lt_i lt_foo;
10785         } else {
10786           lt_count--;
10787         }
10788       }
10789     }
10790   }
10791   if (lt_foo != "") { lt_freq[lt_foo]++; }
10792   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10793 }'`
10794   # AWK program above erroneously prepends '/' to C:/dos/paths
10795   # for these hosts.
10796   case $host_os in
10797     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10798       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10799   esac
10800   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10801 else
10802   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10803 fi
10804 library_names_spec=
10805 libname_spec='lib$name'
10806 soname_spec=
10807 shrext_cmds=".so"
10808 postinstall_cmds=
10809 postuninstall_cmds=
10810 finish_cmds=
10811 finish_eval=
10812 shlibpath_var=
10813 shlibpath_overrides_runpath=unknown
10814 version_type=none
10815 dynamic_linker="$host_os ld.so"
10816 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10817 need_lib_prefix=unknown
10818 hardcode_into_libs=no
10819
10820 # when you set need_version to no, make sure it does not cause -set_version
10821 # flags to be left without arguments
10822 need_version=unknown
10823
10824 case $host_os in
10825 aix3*)
10826   version_type=linux # correct to gnu/linux during the next big refactor
10827   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10828   shlibpath_var=LIBPATH
10829
10830   # AIX 3 has no versioning support, so we append a major version to the name.
10831   soname_spec='${libname}${release}${shared_ext}$major'
10832   ;;
10833
10834 aix[4-9]*)
10835   version_type=linux # correct to gnu/linux during the next big refactor
10836   need_lib_prefix=no
10837   need_version=no
10838   hardcode_into_libs=yes
10839   if test "$host_cpu" = ia64; then
10840     # AIX 5 supports IA64
10841     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10842     shlibpath_var=LD_LIBRARY_PATH
10843   else
10844     # With GCC up to 2.95.x, collect2 would create an import file
10845     # for dependence libraries.  The import file would start with
10846     # the line `#! .'.  This would cause the generated library to
10847     # depend on `.', always an invalid library.  This was fixed in
10848     # development snapshots of GCC prior to 3.0.
10849     case $host_os in
10850       aix4 | aix4.[01] | aix4.[01].*)
10851       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10852            echo ' yes '
10853            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10854         :
10855       else
10856         can_build_shared=no
10857       fi
10858       ;;
10859     esac
10860     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10861     # soname into executable. Probably we can add versioning support to
10862     # collect2, so additional links can be useful in future.
10863     if test "$aix_use_runtimelinking" = yes; then
10864       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10865       # instead of lib<name>.a to let people know that these are not
10866       # typical AIX shared libraries.
10867       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10868     else
10869       # We preserve .a as extension for shared libraries through AIX4.2
10870       # and later when we are not doing run time linking.
10871       library_names_spec='${libname}${release}.a $libname.a'
10872       soname_spec='${libname}${release}${shared_ext}$major'
10873     fi
10874     shlibpath_var=LIBPATH
10875   fi
10876   ;;
10877
10878 amigaos*)
10879   case $host_cpu in
10880   powerpc)
10881     # Since July 2007 AmigaOS4 officially supports .so libraries.
10882     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10883     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884     ;;
10885   m68k)
10886     library_names_spec='$libname.ixlibrary $libname.a'
10887     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10888     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'
10889     ;;
10890   esac
10891   ;;
10892
10893 beos*)
10894   library_names_spec='${libname}${shared_ext}'
10895   dynamic_linker="$host_os ld.so"
10896   shlibpath_var=LIBRARY_PATH
10897   ;;
10898
10899 bsdi[45]*)
10900   version_type=linux # correct to gnu/linux during the next big refactor
10901   need_version=no
10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903   soname_spec='${libname}${release}${shared_ext}$major'
10904   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10905   shlibpath_var=LD_LIBRARY_PATH
10906   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10907   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10908   # the default ld.so.conf also contains /usr/contrib/lib and
10909   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10910   # libtool to hard-code these into programs
10911   ;;
10912
10913 cygwin* | mingw* | pw32* | cegcc*)
10914   version_type=windows
10915   shrext_cmds=".dll"
10916   need_version=no
10917   need_lib_prefix=no
10918
10919   case $GCC,$cc_basename in
10920   yes,*)
10921     # gcc
10922     library_names_spec='$libname.dll.a'
10923     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10924     postinstall_cmds='base_file=`basename \${file}`~
10925       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10926       dldir=$destdir/`dirname \$dlpath`~
10927       test -d \$dldir || mkdir -p \$dldir~
10928       $install_prog $dir/$dlname \$dldir/$dlname~
10929       chmod a+x \$dldir/$dlname~
10930       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10931         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10932       fi'
10933     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10934       dlpath=$dir/\$dldll~
10935        $RM \$dlpath'
10936     shlibpath_overrides_runpath=yes
10937
10938     case $host_os in
10939     cygwin*)
10940       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10941       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10942
10943       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10944       ;;
10945     mingw* | cegcc*)
10946       # MinGW DLLs use traditional 'lib' prefix
10947       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10948       ;;
10949     pw32*)
10950       # pw32 DLLs use 'pw' prefix rather than 'lib'
10951       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10952       ;;
10953     esac
10954     dynamic_linker='Win32 ld.exe'
10955     ;;
10956
10957   *,cl*)
10958     # Native MSVC
10959     libname_spec='$name'
10960     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10961     library_names_spec='${libname}.dll.lib'
10962
10963     case $build_os in
10964     mingw*)
10965       sys_lib_search_path_spec=
10966       lt_save_ifs=$IFS
10967       IFS=';'
10968       for lt_path in $LIB
10969       do
10970         IFS=$lt_save_ifs
10971         # Let DOS variable expansion print the short 8.3 style file name.
10972         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10973         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10974       done
10975       IFS=$lt_save_ifs
10976       # Convert to MSYS style.
10977       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10978       ;;
10979     cygwin*)
10980       # Convert to unix form, then to dos form, then back to unix form
10981       # but this time dos style (no spaces!) so that the unix form looks
10982       # like /cygdrive/c/PROGRA~1:/cygdr...
10983       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10984       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10985       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10986       ;;
10987     *)
10988       sys_lib_search_path_spec="$LIB"
10989       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10990         # It is most probably a Windows format PATH.
10991         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10992       else
10993         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10994       fi
10995       # FIXME: find the short name or the path components, as spaces are
10996       # common. (e.g. "Program Files" -> "PROGRA~1")
10997       ;;
10998     esac
10999
11000     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11001     postinstall_cmds='base_file=`basename \${file}`~
11002       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11003       dldir=$destdir/`dirname \$dlpath`~
11004       test -d \$dldir || mkdir -p \$dldir~
11005       $install_prog $dir/$dlname \$dldir/$dlname'
11006     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11007       dlpath=$dir/\$dldll~
11008        $RM \$dlpath'
11009     shlibpath_overrides_runpath=yes
11010     dynamic_linker='Win32 link.exe'
11011     ;;
11012
11013   *)
11014     # Assume MSVC wrapper
11015     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11016     dynamic_linker='Win32 ld.exe'
11017     ;;
11018   esac
11019   # FIXME: first we should search . and the directory the executable is in
11020   shlibpath_var=PATH
11021   ;;
11022
11023 darwin* | rhapsody*)
11024   dynamic_linker="$host_os dyld"
11025   version_type=darwin
11026   need_lib_prefix=no
11027   need_version=no
11028   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11029   soname_spec='${libname}${release}${major}$shared_ext'
11030   shlibpath_overrides_runpath=yes
11031   shlibpath_var=DYLD_LIBRARY_PATH
11032   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11033
11034   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11035   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11036   ;;
11037
11038 dgux*)
11039   version_type=linux # correct to gnu/linux during the next big refactor
11040   need_lib_prefix=no
11041   need_version=no
11042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11043   soname_spec='${libname}${release}${shared_ext}$major'
11044   shlibpath_var=LD_LIBRARY_PATH
11045   ;;
11046
11047 freebsd* | dragonfly*)
11048   # DragonFly does not have aout.  When/if they implement a new
11049   # versioning mechanism, adjust this.
11050   if test -x /usr/bin/objformat; then
11051     objformat=`/usr/bin/objformat`
11052   else
11053     case $host_os in
11054     freebsd[23].*) objformat=aout ;;
11055     *) objformat=elf ;;
11056     esac
11057   fi
11058   version_type=freebsd-$objformat
11059   case $version_type in
11060     freebsd-elf*)
11061       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11062       need_version=no
11063       need_lib_prefix=no
11064       ;;
11065     freebsd-*)
11066       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11067       need_version=yes
11068       ;;
11069   esac
11070   shlibpath_var=LD_LIBRARY_PATH
11071   case $host_os in
11072   freebsd2.*)
11073     shlibpath_overrides_runpath=yes
11074     ;;
11075   freebsd3.[01]* | freebsdelf3.[01]*)
11076     shlibpath_overrides_runpath=yes
11077     hardcode_into_libs=yes
11078     ;;
11079   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11080   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11081     shlibpath_overrides_runpath=no
11082     hardcode_into_libs=yes
11083     ;;
11084   *) # from 4.6 on, and DragonFly
11085     shlibpath_overrides_runpath=yes
11086     hardcode_into_libs=yes
11087     ;;
11088   esac
11089   ;;
11090
11091 haiku*)
11092   version_type=linux # correct to gnu/linux during the next big refactor
11093   need_lib_prefix=no
11094   need_version=no
11095   dynamic_linker="$host_os runtime_loader"
11096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11097   soname_spec='${libname}${release}${shared_ext}$major'
11098   shlibpath_var=LIBRARY_PATH
11099   shlibpath_overrides_runpath=yes
11100   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11101   hardcode_into_libs=yes
11102   ;;
11103
11104 hpux9* | hpux10* | hpux11*)
11105   # Give a soname corresponding to the major version so that dld.sl refuses to
11106   # link against other versions.
11107   version_type=sunos
11108   need_lib_prefix=no
11109   need_version=no
11110   case $host_cpu in
11111   ia64*)
11112     shrext_cmds='.so'
11113     hardcode_into_libs=yes
11114     dynamic_linker="$host_os dld.so"
11115     shlibpath_var=LD_LIBRARY_PATH
11116     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11117     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11118     soname_spec='${libname}${release}${shared_ext}$major'
11119     if test "X$HPUX_IA64_MODE" = X32; then
11120       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11121     else
11122       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11123     fi
11124     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11125     ;;
11126   hppa*64*)
11127     shrext_cmds='.sl'
11128     hardcode_into_libs=yes
11129     dynamic_linker="$host_os dld.sl"
11130     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11131     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11132     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133     soname_spec='${libname}${release}${shared_ext}$major'
11134     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11135     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11136     ;;
11137   *)
11138     shrext_cmds='.sl'
11139     dynamic_linker="$host_os dld.sl"
11140     shlibpath_var=SHLIB_PATH
11141     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11142     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143     soname_spec='${libname}${release}${shared_ext}$major'
11144     ;;
11145   esac
11146   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11147   postinstall_cmds='chmod 555 $lib'
11148   # or fails outright, so override atomically:
11149   install_override_mode=555
11150   ;;
11151
11152 interix[3-9]*)
11153   version_type=linux # correct to gnu/linux during the next big refactor
11154   need_lib_prefix=no
11155   need_version=no
11156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11157   soname_spec='${libname}${release}${shared_ext}$major'
11158   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11159   shlibpath_var=LD_LIBRARY_PATH
11160   shlibpath_overrides_runpath=no
11161   hardcode_into_libs=yes
11162   ;;
11163
11164 irix5* | irix6* | nonstopux*)
11165   case $host_os in
11166     nonstopux*) version_type=nonstopux ;;
11167     *)
11168         if test "$lt_cv_prog_gnu_ld" = yes; then
11169                 version_type=linux # correct to gnu/linux during the next big refactor
11170         else
11171                 version_type=irix
11172         fi ;;
11173   esac
11174   need_lib_prefix=no
11175   need_version=no
11176   soname_spec='${libname}${release}${shared_ext}$major'
11177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11178   case $host_os in
11179   irix5* | nonstopux*)
11180     libsuff= shlibsuff=
11181     ;;
11182   *)
11183     case $LD in # libtool.m4 will add one of these switches to LD
11184     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11185       libsuff= shlibsuff= libmagic=32-bit;;
11186     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11187       libsuff=32 shlibsuff=N32 libmagic=N32;;
11188     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11189       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11190     *) libsuff= shlibsuff= libmagic=never-match;;
11191     esac
11192     ;;
11193   esac
11194   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11195   shlibpath_overrides_runpath=no
11196   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11197   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11198   hardcode_into_libs=yes
11199   ;;
11200
11201 # No shared lib support for Linux oldld, aout, or coff.
11202 linux*oldld* | linux*aout* | linux*coff*)
11203   dynamic_linker=no
11204   ;;
11205
11206 # This must be glibc/ELF.
11207 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11208   version_type=linux # correct to gnu/linux during the next big refactor
11209   need_lib_prefix=no
11210   need_version=no
11211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212   soname_spec='${libname}${release}${shared_ext}$major'
11213   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11214   shlibpath_var=LD_LIBRARY_PATH
11215   shlibpath_overrides_runpath=no
11216
11217   # Some binutils ld are patched to set DT_RUNPATH
11218   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11219   $as_echo_n "(cached) " >&6
11220 else
11221   lt_cv_shlibpath_overrides_runpath=no
11222     save_LDFLAGS=$LDFLAGS
11223     save_libdir=$libdir
11224     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11225          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11226     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h.  */
11228
11229 int
11230 main ()
11231 {
11232
11233   ;
11234   return 0;
11235 }
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"; then :
11238   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11239   lt_cv_shlibpath_overrides_runpath=yes
11240 fi
11241 fi
11242 rm -f core conftest.err conftest.$ac_objext \
11243     conftest$ac_exeext conftest.$ac_ext
11244     LDFLAGS=$save_LDFLAGS
11245     libdir=$save_libdir
11246
11247 fi
11248
11249   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11250
11251   # This implies no fast_install, which is unacceptable.
11252   # Some rework will be needed to allow for fast_install
11253   # before this can be enabled.
11254   hardcode_into_libs=yes
11255
11256   # Append ld.so.conf contents to the search path
11257   if test -f /etc/ld.so.conf; then
11258     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' ' '`
11259     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11260   fi
11261
11262   # We used to test for /lib/ld.so.1 and disable shared libraries on
11263   # powerpc, because MkLinux only supported shared libraries with the
11264   # GNU dynamic linker.  Since this was broken with cross compilers,
11265   # most powerpc-linux boxes support dynamic linking these days and
11266   # people can always --disable-shared, the test was removed, and we
11267   # assume the GNU/Linux dynamic linker is in use.
11268   dynamic_linker='GNU/Linux ld.so'
11269   ;;
11270
11271 netbsdelf*-gnu)
11272   version_type=linux
11273   need_lib_prefix=no
11274   need_version=no
11275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11276   soname_spec='${libname}${release}${shared_ext}$major'
11277   shlibpath_var=LD_LIBRARY_PATH
11278   shlibpath_overrides_runpath=no
11279   hardcode_into_libs=yes
11280   dynamic_linker='NetBSD ld.elf_so'
11281   ;;
11282
11283 netbsd*)
11284   version_type=sunos
11285   need_lib_prefix=no
11286   need_version=no
11287   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11288     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11289     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11290     dynamic_linker='NetBSD (a.out) ld.so'
11291   else
11292     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11293     soname_spec='${libname}${release}${shared_ext}$major'
11294     dynamic_linker='NetBSD ld.elf_so'
11295   fi
11296   shlibpath_var=LD_LIBRARY_PATH
11297   shlibpath_overrides_runpath=yes
11298   hardcode_into_libs=yes
11299   ;;
11300
11301 newsos6)
11302   version_type=linux # correct to gnu/linux during the next big refactor
11303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304   shlibpath_var=LD_LIBRARY_PATH
11305   shlibpath_overrides_runpath=yes
11306   ;;
11307
11308 *nto* | *qnx*)
11309   version_type=qnx
11310   need_lib_prefix=no
11311   need_version=no
11312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11313   soname_spec='${libname}${release}${shared_ext}$major'
11314   shlibpath_var=LD_LIBRARY_PATH
11315   shlibpath_overrides_runpath=no
11316   hardcode_into_libs=yes
11317   dynamic_linker='ldqnx.so'
11318   ;;
11319
11320 openbsd*)
11321   version_type=sunos
11322   sys_lib_dlsearch_path_spec="/usr/lib"
11323   need_lib_prefix=no
11324   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11325   case $host_os in
11326     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11327     *)                          need_version=no  ;;
11328   esac
11329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11330   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11331   shlibpath_var=LD_LIBRARY_PATH
11332   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11333     case $host_os in
11334       openbsd2.[89] | openbsd2.[89].*)
11335         shlibpath_overrides_runpath=no
11336         ;;
11337       *)
11338         shlibpath_overrides_runpath=yes
11339         ;;
11340       esac
11341   else
11342     shlibpath_overrides_runpath=yes
11343   fi
11344   ;;
11345
11346 os2*)
11347   libname_spec='$name'
11348   shrext_cmds=".dll"
11349   need_lib_prefix=no
11350   library_names_spec='$libname${shared_ext} $libname.a'
11351   dynamic_linker='OS/2 ld.exe'
11352   shlibpath_var=LIBPATH
11353   ;;
11354
11355 osf3* | osf4* | osf5*)
11356   version_type=osf
11357   need_lib_prefix=no
11358   need_version=no
11359   soname_spec='${libname}${release}${shared_ext}$major'
11360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361   shlibpath_var=LD_LIBRARY_PATH
11362   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11363   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11364   ;;
11365
11366 rdos*)
11367   dynamic_linker=no
11368   ;;
11369
11370 solaris*)
11371   version_type=linux # correct to gnu/linux during the next big refactor
11372   need_lib_prefix=no
11373   need_version=no
11374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375   soname_spec='${libname}${release}${shared_ext}$major'
11376   shlibpath_var=LD_LIBRARY_PATH
11377   shlibpath_overrides_runpath=yes
11378   hardcode_into_libs=yes
11379   # ldd complains unless libraries are executable
11380   postinstall_cmds='chmod +x $lib'
11381   ;;
11382
11383 sunos4*)
11384   version_type=sunos
11385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11386   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11387   shlibpath_var=LD_LIBRARY_PATH
11388   shlibpath_overrides_runpath=yes
11389   if test "$with_gnu_ld" = yes; then
11390     need_lib_prefix=no
11391   fi
11392   need_version=yes
11393   ;;
11394
11395 sysv4 | sysv4.3*)
11396   version_type=linux # correct to gnu/linux during the next big refactor
11397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398   soname_spec='${libname}${release}${shared_ext}$major'
11399   shlibpath_var=LD_LIBRARY_PATH
11400   case $host_vendor in
11401     sni)
11402       shlibpath_overrides_runpath=no
11403       need_lib_prefix=no
11404       runpath_var=LD_RUN_PATH
11405       ;;
11406     siemens)
11407       need_lib_prefix=no
11408       ;;
11409     motorola)
11410       need_lib_prefix=no
11411       need_version=no
11412       shlibpath_overrides_runpath=no
11413       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11414       ;;
11415   esac
11416   ;;
11417
11418 sysv4*MP*)
11419   if test -d /usr/nec ;then
11420     version_type=linux # correct to gnu/linux during the next big refactor
11421     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11422     soname_spec='$libname${shared_ext}.$major'
11423     shlibpath_var=LD_LIBRARY_PATH
11424   fi
11425   ;;
11426
11427 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11428   version_type=freebsd-elf
11429   need_lib_prefix=no
11430   need_version=no
11431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11432   soname_spec='${libname}${release}${shared_ext}$major'
11433   shlibpath_var=LD_LIBRARY_PATH
11434   shlibpath_overrides_runpath=yes
11435   hardcode_into_libs=yes
11436   if test "$with_gnu_ld" = yes; then
11437     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11438   else
11439     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11440     case $host_os in
11441       sco3.2v5*)
11442         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11443         ;;
11444     esac
11445   fi
11446   sys_lib_dlsearch_path_spec='/usr/lib'
11447   ;;
11448
11449 tpf*)
11450   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11451   version_type=linux # correct to gnu/linux during the next big refactor
11452   need_lib_prefix=no
11453   need_version=no
11454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455   shlibpath_var=LD_LIBRARY_PATH
11456   shlibpath_overrides_runpath=no
11457   hardcode_into_libs=yes
11458   ;;
11459
11460 uts4*)
11461   version_type=linux # correct to gnu/linux during the next big refactor
11462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11463   soname_spec='${libname}${release}${shared_ext}$major'
11464   shlibpath_var=LD_LIBRARY_PATH
11465   ;;
11466
11467 *)
11468   dynamic_linker=no
11469   ;;
11470 esac
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11472 $as_echo "$dynamic_linker" >&6; }
11473 test "$dynamic_linker" = no && can_build_shared=no
11474
11475 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11476 if test "$GCC" = yes; then
11477   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11478 fi
11479
11480 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11481   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11482 fi
11483 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11484   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11485 fi
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11579 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11580 hardcode_action=
11581 if test -n "$hardcode_libdir_flag_spec" ||
11582    test -n "$runpath_var" ||
11583    test "X$hardcode_automatic" = "Xyes" ; then
11584
11585   # We can hardcode non-existent directories.
11586   if test "$hardcode_direct" != no &&
11587      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11588      # have to relink, otherwise we might link with an installed library
11589      # when we should be linking with a yet-to-be-installed one
11590      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11591      test "$hardcode_minus_L" != no; then
11592     # Linking always hardcodes the temporary library directory.
11593     hardcode_action=relink
11594   else
11595     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11596     hardcode_action=immediate
11597   fi
11598 else
11599   # We cannot hardcode anything, or else we can only hardcode existing
11600   # directories.
11601   hardcode_action=unsupported
11602 fi
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11604 $as_echo "$hardcode_action" >&6; }
11605
11606 if test "$hardcode_action" = relink ||
11607    test "$inherit_rpath" = yes; then
11608   # Fast installation is not supported
11609   enable_fast_install=no
11610 elif test "$shlibpath_overrides_runpath" = yes ||
11611      test "$enable_shared" = no; then
11612   # Fast installation is not necessary
11613   enable_fast_install=needless
11614 fi
11615
11616
11617
11618
11619
11620
11621   if test "x$enable_dlopen" != xyes; then
11622   enable_dlopen=unknown
11623   enable_dlopen_self=unknown
11624   enable_dlopen_self_static=unknown
11625 else
11626   lt_cv_dlopen=no
11627   lt_cv_dlopen_libs=
11628
11629   case $host_os in
11630   beos*)
11631     lt_cv_dlopen="load_add_on"
11632     lt_cv_dlopen_libs=
11633     lt_cv_dlopen_self=yes
11634     ;;
11635
11636   mingw* | pw32* | cegcc*)
11637     lt_cv_dlopen="LoadLibrary"
11638     lt_cv_dlopen_libs=
11639     ;;
11640
11641   cygwin*)
11642     lt_cv_dlopen="dlopen"
11643     lt_cv_dlopen_libs=
11644     ;;
11645
11646   darwin*)
11647   # if libdl is installed we need to link against it
11648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11650 if ${ac_cv_lib_dl_dlopen+:} false; then :
11651   $as_echo_n "(cached) " >&6
11652 else
11653   ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-ldl  $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_dl_dlopen=yes
11675 else
11676   ac_cv_lib_dl_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_dl_dlopen" >&5
11683 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11684 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11685   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11686 else
11687
11688     lt_cv_dlopen="dyld"
11689     lt_cv_dlopen_libs=
11690     lt_cv_dlopen_self=yes
11691
11692 fi
11693
11694     ;;
11695
11696   *)
11697     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11698 if test "x$ac_cv_func_shl_load" = xyes; then :
11699   lt_cv_dlopen="shl_load"
11700 else
11701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11702 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11703 if ${ac_cv_lib_dld_shl_load+:} false; then :
11704   $as_echo_n "(cached) " >&6
11705 else
11706   ac_check_lib_save_LIBS=$LIBS
11707 LIBS="-ldld  $LIBS"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h.  */
11710
11711 /* Override any GCC internal prototype to avoid an error.
11712    Use char because int might match the return type of a GCC
11713    builtin and then its argument prototype would still apply.  */
11714 #ifdef __cplusplus
11715 extern "C"
11716 #endif
11717 char shl_load ();
11718 int
11719 main ()
11720 {
11721 return shl_load ();
11722   ;
11723   return 0;
11724 }
11725 _ACEOF
11726 if ac_fn_c_try_link "$LINENO"; then :
11727   ac_cv_lib_dld_shl_load=yes
11728 else
11729   ac_cv_lib_dld_shl_load=no
11730 fi
11731 rm -f core conftest.err conftest.$ac_objext \
11732     conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_lib_save_LIBS
11734 fi
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11736 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11737 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11738   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11739 else
11740   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11741 if test "x$ac_cv_func_dlopen" = xyes; then :
11742   lt_cv_dlopen="dlopen"
11743 else
11744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11745 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11746 if ${ac_cv_lib_dl_dlopen+:} false; then :
11747   $as_echo_n "(cached) " >&6
11748 else
11749   ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-ldl  $LIBS"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h.  */
11753
11754 /* Override any GCC internal prototype to avoid an error.
11755    Use char because int might match the return type of a GCC
11756    builtin and then its argument prototype would still apply.  */
11757 #ifdef __cplusplus
11758 extern "C"
11759 #endif
11760 char dlopen ();
11761 int
11762 main ()
11763 {
11764 return dlopen ();
11765   ;
11766   return 0;
11767 }
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770   ac_cv_lib_dl_dlopen=yes
11771 else
11772   ac_cv_lib_dl_dlopen=no
11773 fi
11774 rm -f core conftest.err conftest.$ac_objext \
11775     conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_lib_save_LIBS
11777 fi
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11779 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11780 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11781   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11782 else
11783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11784 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11785 if ${ac_cv_lib_svld_dlopen+:} false; then :
11786   $as_echo_n "(cached) " >&6
11787 else
11788   ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lsvld  $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h.  */
11792
11793 /* Override any GCC internal prototype to avoid an error.
11794    Use char because int might match the return type of a GCC
11795    builtin and then its argument prototype would still apply.  */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char dlopen ();
11800 int
11801 main ()
11802 {
11803 return dlopen ();
11804   ;
11805   return 0;
11806 }
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809   ac_cv_lib_svld_dlopen=yes
11810 else
11811   ac_cv_lib_svld_dlopen=no
11812 fi
11813 rm -f core conftest.err conftest.$ac_objext \
11814     conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_lib_save_LIBS
11816 fi
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11818 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11819 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11820   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11821 else
11822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11823 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11824 if ${ac_cv_lib_dld_dld_link+:} false; then :
11825   $as_echo_n "(cached) " >&6
11826 else
11827   ac_check_lib_save_LIBS=$LIBS
11828 LIBS="-ldld  $LIBS"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h.  */
11831
11832 /* Override any GCC internal prototype to avoid an error.
11833    Use char because int might match the return type of a GCC
11834    builtin and then its argument prototype would still apply.  */
11835 #ifdef __cplusplus
11836 extern "C"
11837 #endif
11838 char dld_link ();
11839 int
11840 main ()
11841 {
11842 return dld_link ();
11843   ;
11844   return 0;
11845 }
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"; then :
11848   ac_cv_lib_dld_dld_link=yes
11849 else
11850   ac_cv_lib_dld_dld_link=no
11851 fi
11852 rm -f core conftest.err conftest.$ac_objext \
11853     conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_lib_save_LIBS
11855 fi
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11857 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11858 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11859   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11860 fi
11861
11862
11863 fi
11864
11865
11866 fi
11867
11868
11869 fi
11870
11871
11872 fi
11873
11874
11875 fi
11876
11877     ;;
11878   esac
11879
11880   if test "x$lt_cv_dlopen" != xno; then
11881     enable_dlopen=yes
11882   else
11883     enable_dlopen=no
11884   fi
11885
11886   case $lt_cv_dlopen in
11887   dlopen)
11888     save_CPPFLAGS="$CPPFLAGS"
11889     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11890
11891     save_LDFLAGS="$LDFLAGS"
11892     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11893
11894     save_LIBS="$LIBS"
11895     LIBS="$lt_cv_dlopen_libs $LIBS"
11896
11897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11898 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11899 if ${lt_cv_dlopen_self+:} false; then :
11900   $as_echo_n "(cached) " >&6
11901 else
11902           if test "$cross_compiling" = yes; then :
11903   lt_cv_dlopen_self=cross
11904 else
11905   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11906   lt_status=$lt_dlunknown
11907   cat > conftest.$ac_ext <<_LT_EOF
11908 #line $LINENO "configure"
11909 #include "confdefs.h"
11910
11911 #if HAVE_DLFCN_H
11912 #include <dlfcn.h>
11913 #endif
11914
11915 #include <stdio.h>
11916
11917 #ifdef RTLD_GLOBAL
11918 #  define LT_DLGLOBAL           RTLD_GLOBAL
11919 #else
11920 #  ifdef DL_GLOBAL
11921 #    define LT_DLGLOBAL         DL_GLOBAL
11922 #  else
11923 #    define LT_DLGLOBAL         0
11924 #  endif
11925 #endif
11926
11927 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11928    find out it does not work in some platform. */
11929 #ifndef LT_DLLAZY_OR_NOW
11930 #  ifdef RTLD_LAZY
11931 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11932 #  else
11933 #    ifdef DL_LAZY
11934 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11935 #    else
11936 #      ifdef RTLD_NOW
11937 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11938 #      else
11939 #        ifdef DL_NOW
11940 #          define LT_DLLAZY_OR_NOW      DL_NOW
11941 #        else
11942 #          define LT_DLLAZY_OR_NOW      0
11943 #        endif
11944 #      endif
11945 #    endif
11946 #  endif
11947 #endif
11948
11949 /* When -fvisbility=hidden is used, assume the code has been annotated
11950    correspondingly for the symbols needed.  */
11951 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11952 int fnord () __attribute__((visibility("default")));
11953 #endif
11954
11955 int fnord () { return 42; }
11956 int main ()
11957 {
11958   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11959   int status = $lt_dlunknown;
11960
11961   if (self)
11962     {
11963       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11964       else
11965         {
11966           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11967           else puts (dlerror ());
11968         }
11969       /* dlclose (self); */
11970     }
11971   else
11972     puts (dlerror ());
11973
11974   return status;
11975 }
11976 _LT_EOF
11977   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11978   (eval $ac_link) 2>&5
11979   ac_status=$?
11980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11981   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11982     (./conftest; exit; ) >&5 2>/dev/null
11983     lt_status=$?
11984     case x$lt_status in
11985       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11986       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11987       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11988     esac
11989   else :
11990     # compilation failed
11991     lt_cv_dlopen_self=no
11992   fi
11993 fi
11994 rm -fr conftest*
11995
11996
11997 fi
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11999 $as_echo "$lt_cv_dlopen_self" >&6; }
12000
12001     if test "x$lt_cv_dlopen_self" = xyes; then
12002       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12003       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12004 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12005 if ${lt_cv_dlopen_self_static+:} false; then :
12006   $as_echo_n "(cached) " >&6
12007 else
12008           if test "$cross_compiling" = yes; then :
12009   lt_cv_dlopen_self_static=cross
12010 else
12011   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12012   lt_status=$lt_dlunknown
12013   cat > conftest.$ac_ext <<_LT_EOF
12014 #line $LINENO "configure"
12015 #include "confdefs.h"
12016
12017 #if HAVE_DLFCN_H
12018 #include <dlfcn.h>
12019 #endif
12020
12021 #include <stdio.h>
12022
12023 #ifdef RTLD_GLOBAL
12024 #  define LT_DLGLOBAL           RTLD_GLOBAL
12025 #else
12026 #  ifdef DL_GLOBAL
12027 #    define LT_DLGLOBAL         DL_GLOBAL
12028 #  else
12029 #    define LT_DLGLOBAL         0
12030 #  endif
12031 #endif
12032
12033 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12034    find out it does not work in some platform. */
12035 #ifndef LT_DLLAZY_OR_NOW
12036 #  ifdef RTLD_LAZY
12037 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12038 #  else
12039 #    ifdef DL_LAZY
12040 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12041 #    else
12042 #      ifdef RTLD_NOW
12043 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12044 #      else
12045 #        ifdef DL_NOW
12046 #          define LT_DLLAZY_OR_NOW      DL_NOW
12047 #        else
12048 #          define LT_DLLAZY_OR_NOW      0
12049 #        endif
12050 #      endif
12051 #    endif
12052 #  endif
12053 #endif
12054
12055 /* When -fvisbility=hidden is used, assume the code has been annotated
12056    correspondingly for the symbols needed.  */
12057 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12058 int fnord () __attribute__((visibility("default")));
12059 #endif
12060
12061 int fnord () { return 42; }
12062 int main ()
12063 {
12064   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12065   int status = $lt_dlunknown;
12066
12067   if (self)
12068     {
12069       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12070       else
12071         {
12072           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12073           else puts (dlerror ());
12074         }
12075       /* dlclose (self); */
12076     }
12077   else
12078     puts (dlerror ());
12079
12080   return status;
12081 }
12082 _LT_EOF
12083   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12084   (eval $ac_link) 2>&5
12085   ac_status=$?
12086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12087   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12088     (./conftest; exit; ) >&5 2>/dev/null
12089     lt_status=$?
12090     case x$lt_status in
12091       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12092       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12093       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12094     esac
12095   else :
12096     # compilation failed
12097     lt_cv_dlopen_self_static=no
12098   fi
12099 fi
12100 rm -fr conftest*
12101
12102
12103 fi
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12105 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12106     fi
12107
12108     CPPFLAGS="$save_CPPFLAGS"
12109     LDFLAGS="$save_LDFLAGS"
12110     LIBS="$save_LIBS"
12111     ;;
12112   esac
12113
12114   case $lt_cv_dlopen_self in
12115   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12116   *) enable_dlopen_self=unknown ;;
12117   esac
12118
12119   case $lt_cv_dlopen_self_static in
12120   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12121   *) enable_dlopen_self_static=unknown ;;
12122   esac
12123 fi
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141 striplib=
12142 old_striplib=
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12144 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12145 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12146   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12147   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12149 $as_echo "yes" >&6; }
12150 else
12151 # FIXME - insert some real tests, host_os isn't really good enough
12152   case $host_os in
12153   darwin*)
12154     if test -n "$STRIP" ; then
12155       striplib="$STRIP -x"
12156       old_striplib="$STRIP -S"
12157       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12158 $as_echo "yes" >&6; }
12159     else
12160       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12162     fi
12163     ;;
12164   *)
12165     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12167     ;;
12168   esac
12169 fi
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182   # Report which library types will actually be built
12183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12184 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12186 $as_echo "$can_build_shared" >&6; }
12187
12188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12189 $as_echo_n "checking whether to build shared libraries... " >&6; }
12190   test "$can_build_shared" = "no" && enable_shared=no
12191
12192   # On AIX, shared libraries and static libraries use the same namespace, and
12193   # are all built from PIC.
12194   case $host_os in
12195   aix3*)
12196     test "$enable_shared" = yes && enable_static=no
12197     if test -n "$RANLIB"; then
12198       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12199       postinstall_cmds='$RANLIB $lib'
12200     fi
12201     ;;
12202
12203   aix[4-9]*)
12204     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12205       test "$enable_shared" = yes && enable_static=no
12206     fi
12207     ;;
12208   esac
12209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12210 $as_echo "$enable_shared" >&6; }
12211
12212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12213 $as_echo_n "checking whether to build static libraries... " >&6; }
12214   # Make sure either enable_shared or enable_static is yes.
12215   test "$enable_shared" = yes || enable_static=yes
12216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12217 $as_echo "$enable_static" >&6; }
12218
12219
12220
12221
12222 fi
12223 ac_ext=c
12224 ac_cpp='$CPP $CPPFLAGS'
12225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12228
12229 CC="$lt_save_CC"
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245         ac_config_commands="$ac_config_commands libtool"
12246
12247
12248
12249
12250 # Only expand once:
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260 # Check whether --with-help-dir was given.
12261 if test "${with_help_dir+set}" = set; then :
12262   withval=$with_help_dir;
12263 else
12264   with_help_dir='${datadir}/help'
12265 fi
12266
12267 HELP_DIR="$with_help_dir"
12268
12269
12270
12271 # Extract the first word of "itstool", so it can be a program name with args.
12272 set dummy itstool; ac_word=$2
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12274 $as_echo_n "checking for $ac_word... " >&6; }
12275 if ${ac_cv_prog_ITSTOOL+:} false; then :
12276   $as_echo_n "(cached) " >&6
12277 else
12278   if test -n "$ITSTOOL"; then
12279   ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
12280 else
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12283 do
12284   IFS=$as_save_IFS
12285   test -z "$as_dir" && as_dir=.
12286     for ac_exec_ext in '' $ac_executable_extensions; do
12287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288     ac_cv_prog_ITSTOOL="itstool"
12289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12290     break 2
12291   fi
12292 done
12293   done
12294 IFS=$as_save_IFS
12295
12296 fi
12297 fi
12298 ITSTOOL=$ac_cv_prog_ITSTOOL
12299 if test -n "$ITSTOOL"; then
12300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
12301 $as_echo "$ITSTOOL" >&6; }
12302 else
12303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12304 $as_echo "no" >&6; }
12305 fi
12306
12307
12308 if test x"$ITSTOOL" = x; then
12309   as_fn_error $? "itstool not found" "$LINENO" 5
12310 fi
12311
12312
12313 # Extract the first word of "xmllint", so it can be a program name with args.
12314 set dummy xmllint; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12316 $as_echo_n "checking for $ac_word... " >&6; }
12317 if ${ac_cv_prog_XMLLINT+:} false; then :
12318   $as_echo_n "(cached) " >&6
12319 else
12320   if test -n "$XMLLINT"; then
12321   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
12322 else
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $PATH
12325 do
12326   IFS=$as_save_IFS
12327   test -z "$as_dir" && as_dir=.
12328     for ac_exec_ext in '' $ac_executable_extensions; do
12329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12330     ac_cv_prog_XMLLINT="xmllint"
12331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12332     break 2
12333   fi
12334 done
12335   done
12336 IFS=$as_save_IFS
12337
12338 fi
12339 fi
12340 XMLLINT=$ac_cv_prog_XMLLINT
12341 if test -n "$XMLLINT"; then
12342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12343 $as_echo "$XMLLINT" >&6; }
12344 else
12345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12347 fi
12348
12349
12350 if test x"$XMLLINT" = x; then
12351   as_fn_error $? "xmllint not found" "$LINENO" 5
12352 fi
12353
12354 YELP_HELP_RULES='
12355 HELP_ID ?=
12356 HELP_POT ?=
12357 HELP_FILES ?=
12358 HELP_EXTRA ?=
12359 HELP_MEDIA ?=
12360 HELP_LINGUAS ?=
12361
12362 _HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
12363 _HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
12364 _HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
12365 _HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
12366 _HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
12367 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
12368 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
12369 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
12370 _HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
12371
12372 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
12373 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
12374 _HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
12375 _HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
12376 _HELP_LC_VERBOSE_0 = @echo "  GEN    "$(dir $@);
12377
12378 all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
12379
12380 .PHONY: pot
12381 pot: $(_HELP_POTFILE)
12382 $(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12383         $(AM_V_GEN)$(ITSTOOL) -o "$@" $(_HELP_C_FILES)
12384
12385 .PHONY: repo
12386 repo: $(_HELP_POTFILE)
12387         $(AM_V_at)for po in $(_HELP_POFILES); do \
12388           if test "x$(_HELP_V)" = "x0"; then echo "  GEN    $${po}"; fi; \
12389           msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
12390         done
12391
12392 $(_HELP_POFILES):
12393         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12394         $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
12395         $(AM_V_GEN)if ! test -f "$@"; then \
12396           (cd "$(dir $@)" && \
12397             $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12398             mv "$(notdir $@).tmp" "$(notdir $@)"); \
12399         else \
12400           (cd "$(dir $@)" && \
12401             $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12402             msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
12403             rm "$(notdir $@).tmp"); \
12404         fi
12405
12406 $(_HELP_MOFILES): %.mo: %.po
12407         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12408         $(AM_V_GEN)msgfmt -o "$@" "$<"
12409
12410 $(_HELP_LC_FILES): $(_HELP_LINGUAS)
12411 $(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
12412 $(_HELP_LC_STAMPS): %.stamp: %.mo
12413 $(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
12414         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12415         $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
12416         mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
12417         if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
12418         (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
12419         touch "$@"
12420
12421 .PHONY: clean-help
12422 mostlyclean-am: $(if $(HELP_ID),clean-help)
12423 clean-help:
12424         rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
12425
12426 EXTRA_DIST ?=
12427 EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12428 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
12429 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
12430 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12431
12432 distdir: distdir-help-files
12433 distdir-help-files:
12434         @for lc in C $(HELP_LINGUAS); do \
12435           $(MKDIR_P) "$(distdir)/$$lc"; \
12436           for file in $(HELP_FILES); do \
12437             if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
12438             cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
12439           done; \
12440         done; \
12441
12442 .PHONY: check-help
12443 check: check-help
12444 check-help:
12445         for lc in C $(_HELP_LINGUAS); do \
12446           if test -d "$$lc"; \
12447             then d=; \
12448             xmlpath="$$lc"; \
12449           else \
12450             d="$(srcdir)/"; \
12451             xmlpath="$$lc:$(srcdir)/$$lc"; \
12452           fi; \
12453           for page in $(HELP_FILES); do \
12454             echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
12455             $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
12456           done; \
12457         done
12458
12459
12460 .PHONY: install-help
12461 install-data-am: $(if $(HELP_ID),install-help)
12462 install-help:
12463         @for lc in C $(_HELP_LINGUAS); do \
12464           $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12465         done
12466         @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12467           if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
12468           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12469           if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12470           echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
12471           $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
12472         done; done
12473         @for f in $(_HELP_C_EXTRA); do \
12474           lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12475           if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
12476           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12477           if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12478           echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
12479           $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
12480         done
12481         @for f in $(HELP_MEDIA); do \
12482           for lc in C $(_HELP_LINGUAS); do \
12483             if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
12484             helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12485             mdir=`dirname "$$f"`; \
12486             if test "x$mdir" = "x."; then mdir=""; fi; \
12487             if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
12488             if test -f "$$d$$lc/$$f"; then \
12489               echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
12490               $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
12491             elif test "x$$lc" != "xC"; then \
12492               echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12493               $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
12494             fi; \
12495           done; \
12496         done
12497
12498 .PHONY: uninstall-help
12499 uninstall-am: $(if $(HELP_ID),uninstall-help)
12500 uninstall-help:
12501         for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12502           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12503           echo "rm -f $$helpdir`basename $$f`"; \
12504           rm -f "$$helpdir`basename $$f`"; \
12505         done; done
12506         @for f in $(_HELP_C_EXTRA); do \
12507           lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12508           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12509           echo "rm -f $$helpdir`basename $$f`"; \
12510           rm -f "$$helpdir`basename $$f`"; \
12511         done
12512         @for f in $(HELP_MEDIA); do \
12513           for lc in C $(_HELP_LINGUAS); do \
12514             helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12515             echo "rm -f $$helpdir$$f"; \
12516             rm -f "$$helpdir$$f"; \
12517           done; \
12518         done;
12519 '
12520
12521
12522
12523
12524
12525
12526     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12527 set dummy gtkdoc-check; ac_word=$2
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12529 $as_echo_n "checking for $ac_word... " >&6; }
12530 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12531   $as_echo_n "(cached) " >&6
12532 else
12533   case $GTKDOC_CHECK in
12534   [\\/]* | ?:[\\/]*)
12535   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12536   ;;
12537   *)
12538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539 for as_dir in $PATH
12540 do
12541   IFS=$as_save_IFS
12542   test -z "$as_dir" && as_dir=.
12543     for ac_exec_ext in '' $ac_executable_extensions; do
12544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12545     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547     break 2
12548   fi
12549 done
12550   done
12551 IFS=$as_save_IFS
12552
12553   ;;
12554 esac
12555 fi
12556 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12557 if test -n "$GTKDOC_CHECK"; then
12558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12559 $as_echo "$GTKDOC_CHECK" >&6; }
12560 else
12561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562 $as_echo "no" >&6; }
12563 fi
12564
12565
12566   for ac_prog in gtkdoc-rebase
12567 do
12568   # Extract the first word of "$ac_prog", so it can be a program name with args.
12569 set dummy $ac_prog; ac_word=$2
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12571 $as_echo_n "checking for $ac_word... " >&6; }
12572 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12573   $as_echo_n "(cached) " >&6
12574 else
12575   case $GTKDOC_REBASE in
12576   [\\/]* | ?:[\\/]*)
12577   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12578   ;;
12579   *)
12580   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12582 do
12583   IFS=$as_save_IFS
12584   test -z "$as_dir" && as_dir=.
12585     for ac_exec_ext in '' $ac_executable_extensions; do
12586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12587     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12589     break 2
12590   fi
12591 done
12592   done
12593 IFS=$as_save_IFS
12594
12595   ;;
12596 esac
12597 fi
12598 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12599 if test -n "$GTKDOC_REBASE"; then
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12601 $as_echo "$GTKDOC_REBASE" >&6; }
12602 else
12603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604 $as_echo "no" >&6; }
12605 fi
12606
12607
12608   test -n "$GTKDOC_REBASE" && break
12609 done
12610 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12611
12612   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12613 set dummy gtkdoc-mkpdf; ac_word=$2
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12615 $as_echo_n "checking for $ac_word... " >&6; }
12616 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12617   $as_echo_n "(cached) " >&6
12618 else
12619   case $GTKDOC_MKPDF in
12620   [\\/]* | ?:[\\/]*)
12621   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12622   ;;
12623   *)
12624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12625 for as_dir in $PATH
12626 do
12627   IFS=$as_save_IFS
12628   test -z "$as_dir" && as_dir=.
12629     for ac_exec_ext in '' $ac_executable_extensions; do
12630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12631     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12633     break 2
12634   fi
12635 done
12636   done
12637 IFS=$as_save_IFS
12638
12639   ;;
12640 esac
12641 fi
12642 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12643 if test -n "$GTKDOC_MKPDF"; then
12644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12645 $as_echo "$GTKDOC_MKPDF" >&6; }
12646 else
12647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648 $as_echo "no" >&6; }
12649 fi
12650
12651
12652
12653
12654 # Check whether --with-html-dir was given.
12655 if test "${with_html_dir+set}" = set; then :
12656   withval=$with_html_dir;
12657 else
12658   with_html_dir='${datadir}/gtk-doc/html'
12659 fi
12660
12661   HTML_DIR="$with_html_dir"
12662
12663
12664     # Check whether --enable-gtk-doc was given.
12665 if test "${enable_gtk_doc+set}" = set; then :
12666   enableval=$enable_gtk_doc;
12667 else
12668   enable_gtk_doc=no
12669 fi
12670
12671
12672   if test x$enable_gtk_doc = xyes; then
12673     if test -n "$PKG_CONFIG" && \
12674     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12675   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12676   ac_status=$?
12677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12678   test $ac_status = 0; }; then
12679   :
12680 else
12681   as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12682 fi
12683         if test "x$PACKAGE_NAME" != "xglib"; then
12684
12685 pkg_failed=no
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12687 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12688
12689 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12690     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12691  elif test -n "$PKG_CONFIG"; then
12692     if test -n "$PKG_CONFIG" && \
12693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12694   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12695   ac_status=$?
12696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12697   test $ac_status = 0; }; then
12698   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12699                       test "x$?" != "x0" && pkg_failed=yes
12700 else
12701   pkg_failed=yes
12702 fi
12703  else
12704     pkg_failed=untried
12705 fi
12706 if test -n "$GTKDOC_DEPS_LIBS"; then
12707     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12708  elif test -n "$PKG_CONFIG"; then
12709     if test -n "$PKG_CONFIG" && \
12710     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12711   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12712   ac_status=$?
12713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12714   test $ac_status = 0; }; then
12715   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12716                       test "x$?" != "x0" && pkg_failed=yes
12717 else
12718   pkg_failed=yes
12719 fi
12720  else
12721     pkg_failed=untried
12722 fi
12723
12724
12725
12726 if test $pkg_failed = yes; then
12727         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12728 $as_echo "no" >&6; }
12729
12730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12731         _pkg_short_errors_supported=yes
12732 else
12733         _pkg_short_errors_supported=no
12734 fi
12735         if test $_pkg_short_errors_supported = yes; then
12736                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12737         else
12738                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12739         fi
12740         # Put the nasty error message in config.log where it belongs
12741         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12742
12743         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12744
12745 $GTKDOC_DEPS_PKG_ERRORS
12746
12747 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12748 installed software in a non-standard prefix.
12749
12750 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12751 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12752 See the pkg-config man page for more details." "$LINENO" 5
12753 elif test $pkg_failed = untried; then
12754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12756         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12758 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12759 is in your PATH or set the PKG_CONFIG environment variable to the full
12760 path to pkg-config.
12761
12762 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12763 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12764 See the pkg-config man page for more details.
12765
12766 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12767 See \`config.log' for more details" "$LINENO" 5; }
12768 else
12769         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12770         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12771         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12772 $as_echo "yes" >&6; }
12773
12774 fi
12775     fi
12776   fi
12777
12778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12779 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12781 $as_echo "$enable_gtk_doc" >&6; }
12782
12783     # Check whether --enable-gtk-doc-html was given.
12784 if test "${enable_gtk_doc_html+set}" = set; then :
12785   enableval=$enable_gtk_doc_html;
12786 else
12787   enable_gtk_doc_html=yes
12788 fi
12789
12790     # Check whether --enable-gtk-doc-pdf was given.
12791 if test "${enable_gtk_doc_pdf+set}" = set; then :
12792   enableval=$enable_gtk_doc_pdf;
12793 else
12794   enable_gtk_doc_pdf=no
12795 fi
12796
12797
12798   if test -z "$GTKDOC_MKPDF"; then
12799     enable_gtk_doc_pdf=no
12800   fi
12801
12802
12803    if test x$enable_gtk_doc = xyes; then
12804   ENABLE_GTK_DOC_TRUE=
12805   ENABLE_GTK_DOC_FALSE='#'
12806 else
12807   ENABLE_GTK_DOC_TRUE='#'
12808   ENABLE_GTK_DOC_FALSE=
12809 fi
12810
12811    if test x$enable_gtk_doc_html = xyes; then
12812   GTK_DOC_BUILD_HTML_TRUE=
12813   GTK_DOC_BUILD_HTML_FALSE='#'
12814 else
12815   GTK_DOC_BUILD_HTML_TRUE='#'
12816   GTK_DOC_BUILD_HTML_FALSE=
12817 fi
12818
12819    if test x$enable_gtk_doc_pdf = xyes; then
12820   GTK_DOC_BUILD_PDF_TRUE=
12821   GTK_DOC_BUILD_PDF_FALSE='#'
12822 else
12823   GTK_DOC_BUILD_PDF_TRUE='#'
12824   GTK_DOC_BUILD_PDF_FALSE=
12825 fi
12826
12827    if test -n "$LIBTOOL"; then
12828   GTK_DOC_USE_LIBTOOL_TRUE=
12829   GTK_DOC_USE_LIBTOOL_FALSE='#'
12830 else
12831   GTK_DOC_USE_LIBTOOL_TRUE='#'
12832   GTK_DOC_USE_LIBTOOL_FALSE=
12833 fi
12834
12835    if test -n "$GTKDOC_REBASE"; then
12836   GTK_DOC_USE_REBASE_TRUE=
12837   GTK_DOC_USE_REBASE_FALSE='#'
12838 else
12839   GTK_DOC_USE_REBASE_TRUE='#'
12840   GTK_DOC_USE_REBASE_FALSE=
12841 fi
12842
12843
12844
12845
12846
12847   # Check whether --enable-schemas-compile was given.
12848 if test "${enable_schemas_compile+set}" = set; then :
12849   enableval=$enable_schemas_compile; case ${enableval} in
12850                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
12851                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12852                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12853                  esac
12854 fi
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12865         if test -n "$ac_tool_prefix"; then
12866   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12869 $as_echo_n "checking for $ac_word... " >&6; }
12870 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12871   $as_echo_n "(cached) " >&6
12872 else
12873   case $PKG_CONFIG in
12874   [\\/]* | ?:[\\/]*)
12875   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12876   ;;
12877   *)
12878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12880 do
12881   IFS=$as_save_IFS
12882   test -z "$as_dir" && as_dir=.
12883     for ac_exec_ext in '' $ac_executable_extensions; do
12884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12885     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12887     break 2
12888   fi
12889 done
12890   done
12891 IFS=$as_save_IFS
12892
12893   ;;
12894 esac
12895 fi
12896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12897 if test -n "$PKG_CONFIG"; then
12898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12899 $as_echo "$PKG_CONFIG" >&6; }
12900 else
12901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12903 fi
12904
12905
12906 fi
12907 if test -z "$ac_cv_path_PKG_CONFIG"; then
12908   ac_pt_PKG_CONFIG=$PKG_CONFIG
12909   # Extract the first word of "pkg-config", so it can be a program name with args.
12910 set dummy pkg-config; ac_word=$2
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12912 $as_echo_n "checking for $ac_word... " >&6; }
12913 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12914   $as_echo_n "(cached) " >&6
12915 else
12916   case $ac_pt_PKG_CONFIG in
12917   [\\/]* | ?:[\\/]*)
12918   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12919   ;;
12920   *)
12921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12922 for as_dir in $PATH
12923 do
12924   IFS=$as_save_IFS
12925   test -z "$as_dir" && as_dir=.
12926     for ac_exec_ext in '' $ac_executable_extensions; do
12927   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12928     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12930     break 2
12931   fi
12932 done
12933   done
12934 IFS=$as_save_IFS
12935
12936   ;;
12937 esac
12938 fi
12939 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12940 if test -n "$ac_pt_PKG_CONFIG"; then
12941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12942 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12943 else
12944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 $as_echo "no" >&6; }
12946 fi
12947
12948   if test "x$ac_pt_PKG_CONFIG" = x; then
12949     PKG_CONFIG=""
12950   else
12951     case $cross_compiling:$ac_tool_warned in
12952 yes:)
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12955 ac_tool_warned=yes ;;
12956 esac
12957     PKG_CONFIG=$ac_pt_PKG_CONFIG
12958   fi
12959 else
12960   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12961 fi
12962
12963 fi
12964 if test -n "$PKG_CONFIG"; then
12965         _pkg_min_version=0.16
12966         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12967 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12968         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12969                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12970 $as_echo "yes" >&6; }
12971         else
12972                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 $as_echo "no" >&6; }
12974                 PKG_CONFIG=""
12975         fi
12976 fi
12977   gsettingsschemadir=${datadir}/glib-2.0/schemas
12978
12979   if test x$cross_compiling != xyes; then
12980     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12981   else
12982     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12983 set dummy glib-compile-schemas; ac_word=$2
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12985 $as_echo_n "checking for $ac_word... " >&6; }
12986 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12987   $as_echo_n "(cached) " >&6
12988 else
12989   case $GLIB_COMPILE_SCHEMAS in
12990   [\\/]* | ?:[\\/]*)
12991   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12992   ;;
12993   *)
12994   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12996 do
12997   IFS=$as_save_IFS
12998   test -z "$as_dir" && as_dir=.
12999     for ac_exec_ext in '' $ac_executable_extensions; do
13000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13003     break 2
13004   fi
13005 done
13006   done
13007 IFS=$as_save_IFS
13008
13009   ;;
13010 esac
13011 fi
13012 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13013 if test -n "$GLIB_COMPILE_SCHEMAS"; then
13014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13015 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13016 else
13017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13018 $as_echo "no" >&6; }
13019 fi
13020
13021
13022   fi
13023
13024   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13025     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13026   else
13027     :
13028   fi
13029
13030   GSETTINGS_RULES='
13031 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13032
13033 mostlyclean-am: clean-gsettings-schemas
13034
13035 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13036
13037 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13038         $(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 $@
13039
13040 all-am: $(gsettings_SCHEMAS:.xml=.valid)
13041 uninstall-am: uninstall-gsettings-schemas
13042 install-data-am: install-gsettings-schemas
13043
13044 .SECONDARY: $(gsettings_SCHEMAS)
13045
13046 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13047         @$(NORMAL_INSTALL)
13048         if test -n "$^"; then \
13049                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13050                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13051                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13052         fi
13053
13054 uninstall-gsettings-schemas:
13055         @$(NORMAL_UNINSTALL)
13056         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13057         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13058         test -n "$$files" || exit 0; \
13059         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13060         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13061         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13062
13063 clean-gsettings-schemas:
13064         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13065
13066 ifdef gsettings_ENUM_NAMESPACE
13067 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
13068         $(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 $@
13069 endif
13070 '
13071
13072
13073
13074
13075
13076
13077
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13079 $as_echo_n "checking for library containing strerror... " >&6; }
13080 if ${ac_cv_search_strerror+:} false; then :
13081   $as_echo_n "(cached) " >&6
13082 else
13083   ac_func_search_save_LIBS=$LIBS
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h.  */
13086
13087 /* Override any GCC internal prototype to avoid an error.
13088    Use char because int might match the return type of a GCC
13089    builtin and then its argument prototype would still apply.  */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char strerror ();
13094 int
13095 main ()
13096 {
13097 return strerror ();
13098   ;
13099   return 0;
13100 }
13101 _ACEOF
13102 for ac_lib in '' cposix; do
13103   if test -z "$ac_lib"; then
13104     ac_res="none required"
13105   else
13106     ac_res=-l$ac_lib
13107     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13108   fi
13109   if ac_fn_c_try_link "$LINENO"; then :
13110   ac_cv_search_strerror=$ac_res
13111 fi
13112 rm -f core conftest.err conftest.$ac_objext \
13113     conftest$ac_exeext
13114   if ${ac_cv_search_strerror+:} false; then :
13115   break
13116 fi
13117 done
13118 if ${ac_cv_search_strerror+:} false; then :
13119
13120 else
13121   ac_cv_search_strerror=no
13122 fi
13123 rm conftest.$ac_ext
13124 LIBS=$ac_func_search_save_LIBS
13125 fi
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13127 $as_echo "$ac_cv_search_strerror" >&6; }
13128 ac_res=$ac_cv_search_strerror
13129 if test "$ac_res" != no; then :
13130   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13131
13132 fi
13133
13134 ac_ext=c
13135 ac_cpp='$CPP $CPPFLAGS'
13136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13139 if test -n "$ac_tool_prefix"; then
13140   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13141 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13143 $as_echo_n "checking for $ac_word... " >&6; }
13144 if ${ac_cv_prog_CC+:} false; then :
13145   $as_echo_n "(cached) " >&6
13146 else
13147   if test -n "$CC"; then
13148   ac_cv_prog_CC="$CC" # Let the user override the test.
13149 else
13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13151 for as_dir in $PATH
13152 do
13153   IFS=$as_save_IFS
13154   test -z "$as_dir" && as_dir=.
13155     for ac_exec_ext in '' $ac_executable_extensions; do
13156   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13157     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13159     break 2
13160   fi
13161 done
13162   done
13163 IFS=$as_save_IFS
13164
13165 fi
13166 fi
13167 CC=$ac_cv_prog_CC
13168 if test -n "$CC"; then
13169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13170 $as_echo "$CC" >&6; }
13171 else
13172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13174 fi
13175
13176
13177 fi
13178 if test -z "$ac_cv_prog_CC"; then
13179   ac_ct_CC=$CC
13180   # Extract the first word of "gcc", so it can be a program name with args.
13181 set dummy gcc; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13185   $as_echo_n "(cached) " >&6
13186 else
13187   if test -n "$ac_ct_CC"; then
13188   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13189 else
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13192 do
13193   IFS=$as_save_IFS
13194   test -z "$as_dir" && as_dir=.
13195     for ac_exec_ext in '' $ac_executable_extensions; do
13196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13197     ac_cv_prog_ac_ct_CC="gcc"
13198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13199     break 2
13200   fi
13201 done
13202   done
13203 IFS=$as_save_IFS
13204
13205 fi
13206 fi
13207 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13208 if test -n "$ac_ct_CC"; then
13209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13210 $as_echo "$ac_ct_CC" >&6; }
13211 else
13212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13213 $as_echo "no" >&6; }
13214 fi
13215
13216   if test "x$ac_ct_CC" = x; then
13217     CC=""
13218   else
13219     case $cross_compiling:$ac_tool_warned in
13220 yes:)
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13223 ac_tool_warned=yes ;;
13224 esac
13225     CC=$ac_ct_CC
13226   fi
13227 else
13228   CC="$ac_cv_prog_CC"
13229 fi
13230
13231 if test -z "$CC"; then
13232           if test -n "$ac_tool_prefix"; then
13233     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13234 set dummy ${ac_tool_prefix}cc; ac_word=$2
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13236 $as_echo_n "checking for $ac_word... " >&6; }
13237 if ${ac_cv_prog_CC+:} false; then :
13238   $as_echo_n "(cached) " >&6
13239 else
13240   if test -n "$CC"; then
13241   ac_cv_prog_CC="$CC" # Let the user override the test.
13242 else
13243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13245 do
13246   IFS=$as_save_IFS
13247   test -z "$as_dir" && as_dir=.
13248     for ac_exec_ext in '' $ac_executable_extensions; do
13249   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13250     ac_cv_prog_CC="${ac_tool_prefix}cc"
13251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13252     break 2
13253   fi
13254 done
13255   done
13256 IFS=$as_save_IFS
13257
13258 fi
13259 fi
13260 CC=$ac_cv_prog_CC
13261 if test -n "$CC"; then
13262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13263 $as_echo "$CC" >&6; }
13264 else
13265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13266 $as_echo "no" >&6; }
13267 fi
13268
13269
13270   fi
13271 fi
13272 if test -z "$CC"; then
13273   # Extract the first word of "cc", so it can be a program name with args.
13274 set dummy cc; ac_word=$2
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13276 $as_echo_n "checking for $ac_word... " >&6; }
13277 if ${ac_cv_prog_CC+:} false; then :
13278   $as_echo_n "(cached) " >&6
13279 else
13280   if test -n "$CC"; then
13281   ac_cv_prog_CC="$CC" # Let the user override the test.
13282 else
13283   ac_prog_rejected=no
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13286 do
13287   IFS=$as_save_IFS
13288   test -z "$as_dir" && as_dir=.
13289     for ac_exec_ext in '' $ac_executable_extensions; do
13290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13292        ac_prog_rejected=yes
13293        continue
13294      fi
13295     ac_cv_prog_CC="cc"
13296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13297     break 2
13298   fi
13299 done
13300   done
13301 IFS=$as_save_IFS
13302
13303 if test $ac_prog_rejected = yes; then
13304   # We found a bogon in the path, so make sure we never use it.
13305   set dummy $ac_cv_prog_CC
13306   shift
13307   if test $# != 0; then
13308     # We chose a different compiler from the bogus one.
13309     # However, it has the same basename, so the bogon will be chosen
13310     # first if we set CC to just the basename; use the full file name.
13311     shift
13312     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13313   fi
13314 fi
13315 fi
13316 fi
13317 CC=$ac_cv_prog_CC
13318 if test -n "$CC"; then
13319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13320 $as_echo "$CC" >&6; }
13321 else
13322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 $as_echo "no" >&6; }
13324 fi
13325
13326
13327 fi
13328 if test -z "$CC"; then
13329   if test -n "$ac_tool_prefix"; then
13330   for ac_prog in cl.exe
13331   do
13332     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13335 $as_echo_n "checking for $ac_word... " >&6; }
13336 if ${ac_cv_prog_CC+:} false; then :
13337   $as_echo_n "(cached) " >&6
13338 else
13339   if test -n "$CC"; then
13340   ac_cv_prog_CC="$CC" # Let the user override the test.
13341 else
13342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343 for as_dir in $PATH
13344 do
13345   IFS=$as_save_IFS
13346   test -z "$as_dir" && as_dir=.
13347     for ac_exec_ext in '' $ac_executable_extensions; do
13348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13349     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13351     break 2
13352   fi
13353 done
13354   done
13355 IFS=$as_save_IFS
13356
13357 fi
13358 fi
13359 CC=$ac_cv_prog_CC
13360 if test -n "$CC"; then
13361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13362 $as_echo "$CC" >&6; }
13363 else
13364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13365 $as_echo "no" >&6; }
13366 fi
13367
13368
13369     test -n "$CC" && break
13370   done
13371 fi
13372 if test -z "$CC"; then
13373   ac_ct_CC=$CC
13374   for ac_prog in cl.exe
13375 do
13376   # Extract the first word of "$ac_prog", so it can be a program name with args.
13377 set dummy $ac_prog; ac_word=$2
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13379 $as_echo_n "checking for $ac_word... " >&6; }
13380 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13381   $as_echo_n "(cached) " >&6
13382 else
13383   if test -n "$ac_ct_CC"; then
13384   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13385 else
13386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13388 do
13389   IFS=$as_save_IFS
13390   test -z "$as_dir" && as_dir=.
13391     for ac_exec_ext in '' $ac_executable_extensions; do
13392   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13393     ac_cv_prog_ac_ct_CC="$ac_prog"
13394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13395     break 2
13396   fi
13397 done
13398   done
13399 IFS=$as_save_IFS
13400
13401 fi
13402 fi
13403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13404 if test -n "$ac_ct_CC"; then
13405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13406 $as_echo "$ac_ct_CC" >&6; }
13407 else
13408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13410 fi
13411
13412
13413   test -n "$ac_ct_CC" && break
13414 done
13415
13416   if test "x$ac_ct_CC" = x; then
13417     CC=""
13418   else
13419     case $cross_compiling:$ac_tool_warned in
13420 yes:)
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13423 ac_tool_warned=yes ;;
13424 esac
13425     CC=$ac_ct_CC
13426   fi
13427 fi
13428
13429 fi
13430
13431
13432 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13434 as_fn_error $? "no acceptable C compiler found in \$PATH
13435 See \`config.log' for more details" "$LINENO" 5; }
13436
13437 # Provide some information about the compiler.
13438 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13439 set X $ac_compile
13440 ac_compiler=$2
13441 for ac_option in --version -v -V -qversion; do
13442   { { ac_try="$ac_compiler $ac_option >&5"
13443 case "(($ac_try" in
13444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13445   *) ac_try_echo=$ac_try;;
13446 esac
13447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13448 $as_echo "$ac_try_echo"; } >&5
13449   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13450   ac_status=$?
13451   if test -s conftest.err; then
13452     sed '10a\
13453 ... rest of stderr output deleted ...
13454          10q' conftest.err >conftest.er1
13455     cat conftest.er1 >&5
13456   fi
13457   rm -f conftest.er1 conftest.err
13458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13459   test $ac_status = 0; }
13460 done
13461
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13463 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13464 if ${ac_cv_c_compiler_gnu+:} false; then :
13465   $as_echo_n "(cached) " >&6
13466 else
13467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h.  */
13469
13470 int
13471 main ()
13472 {
13473 #ifndef __GNUC__
13474        choke me
13475 #endif
13476
13477   ;
13478   return 0;
13479 }
13480 _ACEOF
13481 if ac_fn_c_try_compile "$LINENO"; then :
13482   ac_compiler_gnu=yes
13483 else
13484   ac_compiler_gnu=no
13485 fi
13486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13487 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13488
13489 fi
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13491 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13492 if test $ac_compiler_gnu = yes; then
13493   GCC=yes
13494 else
13495   GCC=
13496 fi
13497 ac_test_CFLAGS=${CFLAGS+set}
13498 ac_save_CFLAGS=$CFLAGS
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13500 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13501 if ${ac_cv_prog_cc_g+:} false; then :
13502   $as_echo_n "(cached) " >&6
13503 else
13504   ac_save_c_werror_flag=$ac_c_werror_flag
13505    ac_c_werror_flag=yes
13506    ac_cv_prog_cc_g=no
13507    CFLAGS="-g"
13508    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h.  */
13510
13511 int
13512 main ()
13513 {
13514
13515   ;
13516   return 0;
13517 }
13518 _ACEOF
13519 if ac_fn_c_try_compile "$LINENO"; then :
13520   ac_cv_prog_cc_g=yes
13521 else
13522   CFLAGS=""
13523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h.  */
13525
13526 int
13527 main ()
13528 {
13529
13530   ;
13531   return 0;
13532 }
13533 _ACEOF
13534 if ac_fn_c_try_compile "$LINENO"; then :
13535
13536 else
13537   ac_c_werror_flag=$ac_save_c_werror_flag
13538          CFLAGS="-g"
13539          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h.  */
13541
13542 int
13543 main ()
13544 {
13545
13546   ;
13547   return 0;
13548 }
13549 _ACEOF
13550 if ac_fn_c_try_compile "$LINENO"; then :
13551   ac_cv_prog_cc_g=yes
13552 fi
13553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13554 fi
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13556 fi
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558    ac_c_werror_flag=$ac_save_c_werror_flag
13559 fi
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13561 $as_echo "$ac_cv_prog_cc_g" >&6; }
13562 if test "$ac_test_CFLAGS" = set; then
13563   CFLAGS=$ac_save_CFLAGS
13564 elif test $ac_cv_prog_cc_g = yes; then
13565   if test "$GCC" = yes; then
13566     CFLAGS="-g -O2"
13567   else
13568     CFLAGS="-g"
13569   fi
13570 else
13571   if test "$GCC" = yes; then
13572     CFLAGS="-O2"
13573   else
13574     CFLAGS=
13575   fi
13576 fi
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13578 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13579 if ${ac_cv_prog_cc_c89+:} false; then :
13580   $as_echo_n "(cached) " >&6
13581 else
13582   ac_cv_prog_cc_c89=no
13583 ac_save_CC=$CC
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h.  */
13586 #include <stdarg.h>
13587 #include <stdio.h>
13588 struct stat;
13589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13590 struct buf { int x; };
13591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13592 static char *e (p, i)
13593      char **p;
13594      int i;
13595 {
13596   return p[i];
13597 }
13598 static char *f (char * (*g) (char **, int), char **p, ...)
13599 {
13600   char *s;
13601   va_list v;
13602   va_start (v,p);
13603   s = g (p, va_arg (v,int));
13604   va_end (v);
13605   return s;
13606 }
13607
13608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13609    function prototypes and stuff, but not '\xHH' hex character constants.
13610    These don't provoke an error unfortunately, instead are silently treated
13611    as 'x'.  The following induces an error, until -std is added to get
13612    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13613    array size at least.  It's necessary to write '\x00'==0 to get something
13614    that's true only with -std.  */
13615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13616
13617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13618    inside strings and character constants.  */
13619 #define FOO(x) 'x'
13620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13621
13622 int test (int i, double x);
13623 struct s1 {int (*f) (int a);};
13624 struct s2 {int (*f) (double a);};
13625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13626 int argc;
13627 char **argv;
13628 int
13629 main ()
13630 {
13631 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13632   ;
13633   return 0;
13634 }
13635 _ACEOF
13636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13637         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13638 do
13639   CC="$ac_save_CC $ac_arg"
13640   if ac_fn_c_try_compile "$LINENO"; then :
13641   ac_cv_prog_cc_c89=$ac_arg
13642 fi
13643 rm -f core conftest.err conftest.$ac_objext
13644   test "x$ac_cv_prog_cc_c89" != "xno" && break
13645 done
13646 rm -f conftest.$ac_ext
13647 CC=$ac_save_CC
13648
13649 fi
13650 # AC_CACHE_VAL
13651 case "x$ac_cv_prog_cc_c89" in
13652   x)
13653     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13654 $as_echo "none needed" >&6; } ;;
13655   xno)
13656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13657 $as_echo "unsupported" >&6; } ;;
13658   *)
13659     CC="$CC $ac_cv_prog_cc_c89"
13660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13661 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13662 esac
13663 if test "x$ac_cv_prog_cc_c89" != xno; then :
13664
13665 fi
13666
13667 ac_ext=c
13668 ac_cpp='$CPP $CPPFLAGS'
13669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13672
13673 depcc="$CC"   am_compiler_list=
13674
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13676 $as_echo_n "checking dependency style of $depcc... " >&6; }
13677 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13678   $as_echo_n "(cached) " >&6
13679 else
13680   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13681   # We make a subdir and do the tests there.  Otherwise we can end up
13682   # making bogus files that we don't know about and never remove.  For
13683   # instance it was reported that on HP-UX the gcc test will end up
13684   # making a dummy file named `D' -- because `-MD' means `put the output
13685   # in D'.
13686   rm -rf conftest.dir
13687   mkdir conftest.dir
13688   # Copy depcomp to subdir because otherwise we won't find it if we're
13689   # using a relative directory.
13690   cp "$am_depcomp" conftest.dir
13691   cd conftest.dir
13692   # We will build objects and dependencies in a subdirectory because
13693   # it helps to detect inapplicable dependency modes.  For instance
13694   # both Tru64's cc and ICC support -MD to output dependencies as a
13695   # side effect of compilation, but ICC will put the dependencies in
13696   # the current directory while Tru64 will put them in the object
13697   # directory.
13698   mkdir sub
13699
13700   am_cv_CC_dependencies_compiler_type=none
13701   if test "$am_compiler_list" = ""; then
13702      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13703   fi
13704   am__universal=false
13705   case " $depcc " in #(
13706      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13707      esac
13708
13709   for depmode in $am_compiler_list; do
13710     # Setup a source with many dependencies, because some compilers
13711     # like to wrap large dependency lists on column 80 (with \), and
13712     # we should not choose a depcomp mode which is confused by this.
13713     #
13714     # We need to recreate these files for each test, as the compiler may
13715     # overwrite some of them when testing with obscure command lines.
13716     # This happens at least with the AIX C compiler.
13717     : > sub/conftest.c
13718     for i in 1 2 3 4 5 6; do
13719       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13720       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13721       # Solaris 8's {/usr,}/bin/sh.
13722       touch sub/conftst$i.h
13723     done
13724     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13725
13726     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13727     # mode.  It turns out that the SunPro C++ compiler does not properly
13728     # handle `-M -o', and we need to detect this.  Also, some Intel
13729     # versions had trouble with output in subdirs
13730     am__obj=sub/conftest.${OBJEXT-o}
13731     am__minus_obj="-o $am__obj"
13732     case $depmode in
13733     gcc)
13734       # This depmode causes a compiler race in universal mode.
13735       test "$am__universal" = false || continue
13736       ;;
13737     nosideeffect)
13738       # after this tag, mechanisms are not by side-effect, so they'll
13739       # only be used when explicitly requested
13740       if test "x$enable_dependency_tracking" = xyes; then
13741         continue
13742       else
13743         break
13744       fi
13745       ;;
13746     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13747       # This compiler won't grok `-c -o', but also, the minuso test has
13748       # not run yet.  These depmodes are late enough in the game, and
13749       # so weak that their functioning should not be impacted.
13750       am__obj=conftest.${OBJEXT-o}
13751       am__minus_obj=
13752       ;;
13753     none) break ;;
13754     esac
13755     if depmode=$depmode \
13756        source=sub/conftest.c object=$am__obj \
13757        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13758        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13759          >/dev/null 2>conftest.err &&
13760        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13761        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13762        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13763        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13764       # icc doesn't choke on unknown options, it will just issue warnings
13765       # or remarks (even with -Werror).  So we grep stderr for any message
13766       # that says an option was ignored or not supported.
13767       # When given -MP, icc 7.0 and 7.1 complain thusly:
13768       #   icc: Command line warning: ignoring option '-M'; no argument required
13769       # The diagnosis changed in icc 8.0:
13770       #   icc: Command line remark: option '-MP' not supported
13771       if (grep 'ignoring option' conftest.err ||
13772           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13773         am_cv_CC_dependencies_compiler_type=$depmode
13774         break
13775       fi
13776     fi
13777   done
13778
13779   cd ..
13780   rm -rf conftest.dir
13781 else
13782   am_cv_CC_dependencies_compiler_type=none
13783 fi
13784
13785 fi
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13787 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13788 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13789
13790  if
13791   test "x$enable_dependency_tracking" != xno \
13792   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13793   am__fastdepCC_TRUE=
13794   am__fastdepCC_FALSE='#'
13795 else
13796   am__fastdepCC_TRUE='#'
13797   am__fastdepCC_FALSE=
13798 fi
13799
13800
13801
13802
13803
13804
13805     # Check whether --enable-compile-warnings was given.
13806 if test "${enable_compile_warnings+set}" = set; then :
13807   enableval=$enable_compile_warnings;
13808 else
13809   enable_compile_warnings="yes"
13810 fi
13811
13812
13813     warnCFLAGS=
13814     if test "x$GCC" != xyes; then
13815         enable_compile_warnings=no
13816     fi
13817
13818     warning_flags=
13819     realsave_CFLAGS="$CFLAGS"
13820
13821     case "$enable_compile_warnings" in
13822     no)
13823         warning_flags=
13824         ;;
13825     minimum)
13826         warning_flags="-Wall"
13827         ;;
13828     yes)
13829         warning_flags="-Wall -Wmissing-prototypes"
13830         ;;
13831     maximum|error)
13832         warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13833         CFLAGS="$warning_flags $CFLAGS"
13834         for option in -Wno-sign-compare; do
13835                 SAVE_CFLAGS="$CFLAGS"
13836                 CFLAGS="$CFLAGS $option"
13837                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13838 $as_echo_n "checking whether gcc understands $option... " >&6; }
13839                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h.  */
13841
13842 int
13843 main ()
13844 {
13845
13846   ;
13847   return 0;
13848 }
13849 _ACEOF
13850 if ac_fn_c_try_compile "$LINENO"; then :
13851   has_option=yes
13852 else
13853   has_option=no
13854 fi
13855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13856                 CFLAGS="$SAVE_CFLAGS"
13857                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13858 $as_echo "$has_option" >&6; }
13859                 if test $has_option = yes; then
13860                   warning_flags="$warning_flags $option"
13861                 fi
13862                 unset has_option
13863                 unset SAVE_CFLAGS
13864         done
13865         unset option
13866         if test "$enable_compile_warnings" = "error" ; then
13867             warning_flags="$warning_flags -Werror"
13868         fi
13869         ;;
13870     *)
13871         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13872         ;;
13873     esac
13874     CFLAGS="$realsave_CFLAGS"
13875     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13876 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13877     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13878 $as_echo "$warning_flags" >&6; }
13879
13880     # Check whether --enable-iso-c was given.
13881 if test "${enable_iso_c+set}" = set; then :
13882   enableval=$enable_iso_c;
13883 else
13884   enable_iso_c=no
13885 fi
13886
13887
13888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13889 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13890     complCFLAGS=
13891     if test "x$enable_iso_c" != "xno"; then
13892         if test "x$GCC" = "xyes"; then
13893         case " $CFLAGS " in
13894             *\ \        -ansi\ \        *) ;;
13895             *) complCFLAGS="$complCFLAGS -ansi" ;;
13896         esac
13897         case " $CFLAGS " in
13898             *\ \        -pedantic\ \    *) ;;
13899             *) complCFLAGS="$complCFLAGS -pedantic" ;;
13900         esac
13901         fi
13902     fi
13903     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13904 $as_echo "$complCFLAGS" >&6; }
13905
13906     WARN_CFLAGS="$warning_flags $complCFLAGS"
13907
13908
13909
13910 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13911 set dummy glib-genmarshal; ac_word=$2
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13913 $as_echo_n "checking for $ac_word... " >&6; }
13914 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13915   $as_echo_n "(cached) " >&6
13916 else
13917   case $GLIB_GENMARSHAL in
13918   [\\/]* | ?:[\\/]*)
13919   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13920   ;;
13921   *)
13922   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 for as_dir in $PATH
13924 do
13925   IFS=$as_save_IFS
13926   test -z "$as_dir" && as_dir=.
13927     for ac_exec_ext in '' $ac_executable_extensions; do
13928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13929     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13931     break 2
13932   fi
13933 done
13934   done
13935 IFS=$as_save_IFS
13936
13937   ;;
13938 esac
13939 fi
13940 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13941 if test -n "$GLIB_GENMARSHAL"; then
13942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13943 $as_echo "$GLIB_GENMARSHAL" >&6; }
13944 else
13945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13946 $as_echo "no" >&6; }
13947 fi
13948
13949
13950 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
13951 set dummy gdk-pixbuf-csource; ac_word=$2
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13953 $as_echo_n "checking for $ac_word... " >&6; }
13954 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
13955   $as_echo_n "(cached) " >&6
13956 else
13957   case $GDK_PIXBUF_CSOURCE in
13958   [\\/]* | ?:[\\/]*)
13959   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
13960   ;;
13961   *)
13962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13963 for as_dir in $PATH
13964 do
13965   IFS=$as_save_IFS
13966   test -z "$as_dir" && as_dir=.
13967     for ac_exec_ext in '' $ac_executable_extensions; do
13968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13969     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
13970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13971     break 2
13972   fi
13973 done
13974   done
13975 IFS=$as_save_IFS
13976
13977   ;;
13978 esac
13979 fi
13980 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
13981 if test -n "$GDK_PIXBUF_CSOURCE"; then
13982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
13983 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
13984 else
13985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13986 $as_echo "no" >&6; }
13987 fi
13988
13989
13990 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13991 set dummy gtk-update-icon-cache; ac_word=$2
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13993 $as_echo_n "checking for $ac_word... " >&6; }
13994 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13995   $as_echo_n "(cached) " >&6
13996 else
13997   case $GTK_UPDATE_ICON_CACHE in
13998   [\\/]* | ?:[\\/]*)
13999   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
14000   ;;
14001   *)
14002   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14003 for as_dir in $PATH
14004 do
14005   IFS=$as_save_IFS
14006   test -z "$as_dir" && as_dir=.
14007     for ac_exec_ext in '' $ac_executable_extensions; do
14008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14009     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14011     break 2
14012   fi
14013 done
14014   done
14015 IFS=$as_save_IFS
14016
14017   ;;
14018 esac
14019 fi
14020 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
14021 if test -n "$GTK_UPDATE_ICON_CACHE"; then
14022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
14023 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
14024 else
14025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026 $as_echo "no" >&6; }
14027 fi
14028
14029
14030
14031
14032 GLABELS_BRANCH=glabels-3.0
14033
14034
14035 LIBGLABELS_BRANCH=libglabels-3.0
14036
14037
14038 LIBGLBARCODE_BRANCH=libglbarcode-3.0
14039
14040
14041 LIBGLABELS_C=8
14042 LIBGLABELS_R=0
14043 LIBGLABELS_A=0
14044
14045 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14046
14047
14048 LIBGLBARCODE_C=0
14049 LIBGLBARCODE_R=0
14050 LIBGLBARCODE_A=0
14051
14052 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
14053
14054
14055 GLIB_REQUIRED=2.28.2
14056 GTK_REQUIRED=3.0.9
14057 LIBXML_REQUIRED=2.7.8
14058 LIBRSVG_REQUIRED=2.32.0
14059 CAIRO_REQUIRED=1.10.0
14060 PANGO_REQUIRED=1.28.1
14061
14062 LIBEBOOK_REQUIRED=2.30.3
14063 LIBBARCODE_REQUIRED=0.98
14064 LIBQRENCODE_REQUIRED=3.1.0
14065 LIBIEC16022_REQUIRED=0.2.4
14066 LIBZINT_REQUIRED=2.4.0
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082 pkg_failed=no
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
14084 $as_echo_n "checking for GLABELS... " >&6; }
14085
14086 if test -n "$GLABELS_CFLAGS"; then
14087     pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14088  elif test -n "$PKG_CONFIG"; then
14089     if test -n "$PKG_CONFIG" && \
14090     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14091         glib-2.0 >= \$GLIB_REQUIRED \\
14092         gtk+-3.0 >= \$GTK_REQUIRED \\
14093         libxml-2.0 >= \$LIBXML_REQUIRED \\
14094         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14095 \""; } >&5
14096   ($PKG_CONFIG --exists --print-errors "\
14097         glib-2.0 >= $GLIB_REQUIRED \
14098         gtk+-3.0 >= $GTK_REQUIRED \
14099         libxml-2.0 >= $LIBXML_REQUIRED \
14100         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14101 ") 2>&5
14102   ac_status=$?
14103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14104   test $ac_status = 0; }; then
14105   pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14106         glib-2.0 >= $GLIB_REQUIRED \
14107         gtk+-3.0 >= $GTK_REQUIRED \
14108         libxml-2.0 >= $LIBXML_REQUIRED \
14109         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14110 " 2>/dev/null`
14111                       test "x$?" != "x0" && pkg_failed=yes
14112 else
14113   pkg_failed=yes
14114 fi
14115  else
14116     pkg_failed=untried
14117 fi
14118 if test -n "$GLABELS_LIBS"; then
14119     pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14120  elif test -n "$PKG_CONFIG"; then
14121     if test -n "$PKG_CONFIG" && \
14122     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14123         glib-2.0 >= \$GLIB_REQUIRED \\
14124         gtk+-3.0 >= \$GTK_REQUIRED \\
14125         libxml-2.0 >= \$LIBXML_REQUIRED \\
14126         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14127 \""; } >&5
14128   ($PKG_CONFIG --exists --print-errors "\
14129         glib-2.0 >= $GLIB_REQUIRED \
14130         gtk+-3.0 >= $GTK_REQUIRED \
14131         libxml-2.0 >= $LIBXML_REQUIRED \
14132         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14133 ") 2>&5
14134   ac_status=$?
14135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136   test $ac_status = 0; }; then
14137   pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14138         glib-2.0 >= $GLIB_REQUIRED \
14139         gtk+-3.0 >= $GTK_REQUIRED \
14140         libxml-2.0 >= $LIBXML_REQUIRED \
14141         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14142 " 2>/dev/null`
14143                       test "x$?" != "x0" && pkg_failed=yes
14144 else
14145   pkg_failed=yes
14146 fi
14147  else
14148     pkg_failed=untried
14149 fi
14150
14151
14152
14153 if test $pkg_failed = yes; then
14154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14155 $as_echo "no" >&6; }
14156
14157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14158         _pkg_short_errors_supported=yes
14159 else
14160         _pkg_short_errors_supported=no
14161 fi
14162         if test $_pkg_short_errors_supported = yes; then
14163                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14164         glib-2.0 >= $GLIB_REQUIRED \
14165         gtk+-3.0 >= $GTK_REQUIRED \
14166         libxml-2.0 >= $LIBXML_REQUIRED \
14167         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14168 " 2>&1`
14169         else
14170                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14171         glib-2.0 >= $GLIB_REQUIRED \
14172         gtk+-3.0 >= $GTK_REQUIRED \
14173         libxml-2.0 >= $LIBXML_REQUIRED \
14174         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14175 " 2>&1`
14176         fi
14177         # Put the nasty error message in config.log where it belongs
14178         echo "$GLABELS_PKG_ERRORS" >&5
14179
14180         as_fn_error $? "Package requirements (\
14181         glib-2.0 >= $GLIB_REQUIRED \
14182         gtk+-3.0 >= $GTK_REQUIRED \
14183         libxml-2.0 >= $LIBXML_REQUIRED \
14184         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14185 ) were not met:
14186
14187 $GLABELS_PKG_ERRORS
14188
14189 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14190 installed software in a non-standard prefix.
14191
14192 Alternatively, you may set the environment variables GLABELS_CFLAGS
14193 and GLABELS_LIBS to avoid the need to call pkg-config.
14194 See the pkg-config man page for more details." "$LINENO" 5
14195 elif test $pkg_failed = untried; then
14196         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 $as_echo "no" >&6; }
14198         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14200 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14201 is in your PATH or set the PKG_CONFIG environment variable to the full
14202 path to pkg-config.
14203
14204 Alternatively, you may set the environment variables GLABELS_CFLAGS
14205 and GLABELS_LIBS to avoid the need to call pkg-config.
14206 See the pkg-config man page for more details.
14207
14208 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14209 See \`config.log' for more details" "$LINENO" 5; }
14210 else
14211         GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14212         GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14213         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14214 $as_echo "yes" >&6; }
14215
14216 fi
14217
14218
14219
14220
14221
14222
14223 pkg_failed=no
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14225 $as_echo_n "checking for LIBGLABELS... " >&6; }
14226
14227 if test -n "$LIBGLABELS_CFLAGS"; then
14228     pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14229  elif test -n "$PKG_CONFIG"; then
14230     if test -n "$PKG_CONFIG" && \
14231     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14232         glib-2.0 >= \$GLIB_REQUIRED \\
14233         gobject-2.0 >= \$GLIB_REQUIRED \\
14234         libxml-2.0 >= \$LIBXML_REQUIRED \\
14235 \""; } >&5
14236   ($PKG_CONFIG --exists --print-errors "\
14237         glib-2.0 >= $GLIB_REQUIRED \
14238         gobject-2.0 >= $GLIB_REQUIRED \
14239         libxml-2.0 >= $LIBXML_REQUIRED \
14240 ") 2>&5
14241   ac_status=$?
14242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243   test $ac_status = 0; }; then
14244   pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14245         glib-2.0 >= $GLIB_REQUIRED \
14246         gobject-2.0 >= $GLIB_REQUIRED \
14247         libxml-2.0 >= $LIBXML_REQUIRED \
14248 " 2>/dev/null`
14249                       test "x$?" != "x0" && pkg_failed=yes
14250 else
14251   pkg_failed=yes
14252 fi
14253  else
14254     pkg_failed=untried
14255 fi
14256 if test -n "$LIBGLABELS_LIBS"; then
14257     pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14258  elif test -n "$PKG_CONFIG"; then
14259     if test -n "$PKG_CONFIG" && \
14260     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14261         glib-2.0 >= \$GLIB_REQUIRED \\
14262         gobject-2.0 >= \$GLIB_REQUIRED \\
14263         libxml-2.0 >= \$LIBXML_REQUIRED \\
14264 \""; } >&5
14265   ($PKG_CONFIG --exists --print-errors "\
14266         glib-2.0 >= $GLIB_REQUIRED \
14267         gobject-2.0 >= $GLIB_REQUIRED \
14268         libxml-2.0 >= $LIBXML_REQUIRED \
14269 ") 2>&5
14270   ac_status=$?
14271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14272   test $ac_status = 0; }; then
14273   pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14274         glib-2.0 >= $GLIB_REQUIRED \
14275         gobject-2.0 >= $GLIB_REQUIRED \
14276         libxml-2.0 >= $LIBXML_REQUIRED \
14277 " 2>/dev/null`
14278                       test "x$?" != "x0" && pkg_failed=yes
14279 else
14280   pkg_failed=yes
14281 fi
14282  else
14283     pkg_failed=untried
14284 fi
14285
14286
14287
14288 if test $pkg_failed = yes; then
14289         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14290 $as_echo "no" >&6; }
14291
14292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14293         _pkg_short_errors_supported=yes
14294 else
14295         _pkg_short_errors_supported=no
14296 fi
14297         if test $_pkg_short_errors_supported = yes; then
14298                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14299         glib-2.0 >= $GLIB_REQUIRED \
14300         gobject-2.0 >= $GLIB_REQUIRED \
14301         libxml-2.0 >= $LIBXML_REQUIRED \
14302 " 2>&1`
14303         else
14304                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14305         glib-2.0 >= $GLIB_REQUIRED \
14306         gobject-2.0 >= $GLIB_REQUIRED \
14307         libxml-2.0 >= $LIBXML_REQUIRED \
14308 " 2>&1`
14309         fi
14310         # Put the nasty error message in config.log where it belongs
14311         echo "$LIBGLABELS_PKG_ERRORS" >&5
14312
14313         as_fn_error $? "Package requirements (\
14314         glib-2.0 >= $GLIB_REQUIRED \
14315         gobject-2.0 >= $GLIB_REQUIRED \
14316         libxml-2.0 >= $LIBXML_REQUIRED \
14317 ) were not met:
14318
14319 $LIBGLABELS_PKG_ERRORS
14320
14321 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14322 installed software in a non-standard prefix.
14323
14324 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14325 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14326 See the pkg-config man page for more details." "$LINENO" 5
14327 elif test $pkg_failed = untried; then
14328         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14329 $as_echo "no" >&6; }
14330         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14332 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14333 is in your PATH or set the PKG_CONFIG environment variable to the full
14334 path to pkg-config.
14335
14336 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14337 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14338 See the pkg-config man page for more details.
14339
14340 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14341 See \`config.log' for more details" "$LINENO" 5; }
14342 else
14343         LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14344         LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14345         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14346 $as_echo "yes" >&6; }
14347
14348 fi
14349
14350
14351
14352
14353
14354
14355 pkg_failed=no
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14357 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14358
14359 if test -n "$LIBGLBARCODE_CFLAGS"; then
14360     pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14361  elif test -n "$PKG_CONFIG"; then
14362     if test -n "$PKG_CONFIG" && \
14363     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14364         glib-2.0 >= \$GLIB_REQUIRED \\
14365         cairo >= \$CAIRO_REQUIRED \\
14366         pango >= \$PANGO_REQUIRED \\
14367         pangocairo >= \$PANGO_REQUIRED \\
14368 \""; } >&5
14369   ($PKG_CONFIG --exists --print-errors "\
14370         glib-2.0 >= $GLIB_REQUIRED \
14371         cairo >= $CAIRO_REQUIRED \
14372         pango >= $PANGO_REQUIRED \
14373         pangocairo >= $PANGO_REQUIRED \
14374 ") 2>&5
14375   ac_status=$?
14376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377   test $ac_status = 0; }; then
14378   pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14379         glib-2.0 >= $GLIB_REQUIRED \
14380         cairo >= $CAIRO_REQUIRED \
14381         pango >= $PANGO_REQUIRED \
14382         pangocairo >= $PANGO_REQUIRED \
14383 " 2>/dev/null`
14384                       test "x$?" != "x0" && pkg_failed=yes
14385 else
14386   pkg_failed=yes
14387 fi
14388  else
14389     pkg_failed=untried
14390 fi
14391 if test -n "$LIBGLBARCODE_LIBS"; then
14392     pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14393  elif test -n "$PKG_CONFIG"; then
14394     if test -n "$PKG_CONFIG" && \
14395     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14396         glib-2.0 >= \$GLIB_REQUIRED \\
14397         cairo >= \$CAIRO_REQUIRED \\
14398         pango >= \$PANGO_REQUIRED \\
14399         pangocairo >= \$PANGO_REQUIRED \\
14400 \""; } >&5
14401   ($PKG_CONFIG --exists --print-errors "\
14402         glib-2.0 >= $GLIB_REQUIRED \
14403         cairo >= $CAIRO_REQUIRED \
14404         pango >= $PANGO_REQUIRED \
14405         pangocairo >= $PANGO_REQUIRED \
14406 ") 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_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14411         glib-2.0 >= $GLIB_REQUIRED \
14412         cairo >= $CAIRO_REQUIRED \
14413         pango >= $PANGO_REQUIRED \
14414         pangocairo >= $PANGO_REQUIRED \
14415 " 2>/dev/null`
14416                       test "x$?" != "x0" && pkg_failed=yes
14417 else
14418   pkg_failed=yes
14419 fi
14420  else
14421     pkg_failed=untried
14422 fi
14423
14424
14425
14426 if test $pkg_failed = yes; then
14427         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14428 $as_echo "no" >&6; }
14429
14430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14431         _pkg_short_errors_supported=yes
14432 else
14433         _pkg_short_errors_supported=no
14434 fi
14435         if test $_pkg_short_errors_supported = yes; then
14436                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14437         glib-2.0 >= $GLIB_REQUIRED \
14438         cairo >= $CAIRO_REQUIRED \
14439         pango >= $PANGO_REQUIRED \
14440         pangocairo >= $PANGO_REQUIRED \
14441 " 2>&1`
14442         else
14443                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14444         glib-2.0 >= $GLIB_REQUIRED \
14445         cairo >= $CAIRO_REQUIRED \
14446         pango >= $PANGO_REQUIRED \
14447         pangocairo >= $PANGO_REQUIRED \
14448 " 2>&1`
14449         fi
14450         # Put the nasty error message in config.log where it belongs
14451         echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14452
14453         as_fn_error $? "Package requirements (\
14454         glib-2.0 >= $GLIB_REQUIRED \
14455         cairo >= $CAIRO_REQUIRED \
14456         pango >= $PANGO_REQUIRED \
14457         pangocairo >= $PANGO_REQUIRED \
14458 ) were not met:
14459
14460 $LIBGLBARCODE_PKG_ERRORS
14461
14462 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14463 installed software in a non-standard prefix.
14464
14465 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14466 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14467 See the pkg-config man page for more details." "$LINENO" 5
14468 elif test $pkg_failed = untried; then
14469         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14471         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14473 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14474 is in your PATH or set the PKG_CONFIG environment variable to the full
14475 path to pkg-config.
14476
14477 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14478 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14479 See the pkg-config man page for more details.
14480
14481 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14482 See \`config.log' for more details" "$LINENO" 5; }
14483 else
14484         LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14485         LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14486         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14487 $as_echo "yes" >&6; }
14488
14489 fi
14490
14491
14492
14493
14494
14495
14496 # Check whether --with-libebook was given.
14497 if test "${with_libebook+set}" = set; then :
14498   withval=$with_libebook;
14499 fi
14500
14501 have_libebook=no
14502 if test "x$with_libebook" != xno; then
14503
14504 pkg_failed=no
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14506 $as_echo_n "checking for LIBEBOOK... " >&6; }
14507
14508 if test -n "$LIBEBOOK_CFLAGS"; then
14509     pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14510  elif test -n "$PKG_CONFIG"; then
14511     if test -n "$PKG_CONFIG" && \
14512     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14513   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14514   ac_status=$?
14515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14516   test $ac_status = 0; }; then
14517   pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14518                       test "x$?" != "x0" && pkg_failed=yes
14519 else
14520   pkg_failed=yes
14521 fi
14522  else
14523     pkg_failed=untried
14524 fi
14525 if test -n "$LIBEBOOK_LIBS"; then
14526     pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14527  elif test -n "$PKG_CONFIG"; then
14528     if test -n "$PKG_CONFIG" && \
14529     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14530   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14531   ac_status=$?
14532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14533   test $ac_status = 0; }; then
14534   pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14535                       test "x$?" != "x0" && pkg_failed=yes
14536 else
14537   pkg_failed=yes
14538 fi
14539  else
14540     pkg_failed=untried
14541 fi
14542
14543
14544
14545 if test $pkg_failed = yes; then
14546         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14547 $as_echo "no" >&6; }
14548
14549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14550         _pkg_short_errors_supported=yes
14551 else
14552         _pkg_short_errors_supported=no
14553 fi
14554         if test $_pkg_short_errors_supported = yes; then
14555                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14556         else
14557                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14558         fi
14559         # Put the nasty error message in config.log where it belongs
14560         echo "$LIBEBOOK_PKG_ERRORS" >&5
14561
14562         have_libebook=no
14563 elif test $pkg_failed = untried; then
14564         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14565 $as_echo "no" >&6; }
14566         have_libebook=no
14567 else
14568         LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14569         LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14570         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14571 $as_echo "yes" >&6; }
14572         have_libebook=yes
14573 fi
14574 fi
14575
14576 if test "x$have_libebook" = "xyes"; then
14577
14578 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14579
14580
14581
14582 fi
14583
14584
14585
14586 # Check whether --with-libbarcode was given.
14587 if test "${with_libbarcode+set}" = set; then :
14588   withval=$with_libbarcode;
14589 fi
14590
14591 have_libbarcode=no
14592 if test "x$with_libbarcode" != xno; then
14593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14594 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14595 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14596   $as_echo_n "(cached) " >&6
14597 else
14598   ac_check_lib_save_LIBS=$LIBS
14599 LIBS="-lbarcode  $LIBS"
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h.  */
14602
14603 /* Override any GCC internal prototype to avoid an error.
14604    Use char because int might match the return type of a GCC
14605    builtin and then its argument prototype would still apply.  */
14606 #ifdef __cplusplus
14607 extern "C"
14608 #endif
14609 char Barcode_Create ();
14610 int
14611 main ()
14612 {
14613 return Barcode_Create ();
14614   ;
14615   return 0;
14616 }
14617 _ACEOF
14618 if ac_fn_c_try_link "$LINENO"; then :
14619   ac_cv_lib_barcode_Barcode_Create=yes
14620 else
14621   ac_cv_lib_barcode_Barcode_Create=no
14622 fi
14623 rm -f core conftest.err conftest.$ac_objext \
14624     conftest$ac_exeext conftest.$ac_ext
14625 LIBS=$ac_check_lib_save_LIBS
14626 fi
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14628 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14629 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14630   have_libbarcode=yes
14631 else
14632   have_libbarcode=no
14633 fi
14634
14635 fi
14636
14637 if test "x$have_libbarcode" = "xyes"; then
14638
14639 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14640
14641         LIBBARCODE_CFLAGS=""
14642         LIBBARCODE_LIBS="-lbarcode"
14643
14644
14645 else
14646         help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14647 fi
14648
14649
14650 # Check whether --with-libzint was given.
14651 if test "${with_libzint+set}" = set; then :
14652   withval=$with_libzint;
14653 fi
14654
14655 have_libzint=no
14656 if test "x$with_libzint" != xno; then
14657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14658 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14659 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14660   $as_echo_n "(cached) " >&6
14661 else
14662   ac_check_lib_save_LIBS=$LIBS
14663 LIBS="-lzint  $LIBS"
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h.  */
14666
14667 /* Override any GCC internal prototype to avoid an error.
14668    Use char because int might match the return type of a GCC
14669    builtin and then its argument prototype would still apply.  */
14670 #ifdef __cplusplus
14671 extern "C"
14672 #endif
14673 char ZBarcode_Render ();
14674 int
14675 main ()
14676 {
14677 return ZBarcode_Render ();
14678   ;
14679   return 0;
14680 }
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683   ac_cv_lib_zint_ZBarcode_Render=yes
14684 else
14685   ac_cv_lib_zint_ZBarcode_Render=no
14686 fi
14687 rm -f core conftest.err conftest.$ac_objext \
14688     conftest$ac_exeext conftest.$ac_ext
14689 LIBS=$ac_check_lib_save_LIBS
14690 fi
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14692 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14693 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14694   have_libzint=yes
14695 else
14696   have_libzint=no
14697 fi
14698
14699 fi
14700
14701 if test "x$have_libzint" = "xyes"; then
14702
14703 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14704
14705         LIBZINT_CFLAGS=""
14706         LIBZINT_LIBS="-lzint"
14707
14708
14709 else
14710         help_libzint="(See http://www.zint.org.uk)"
14711 fi
14712
14713
14714
14715 # Check whether --with-libqrencode was given.
14716 if test "${with_libqrencode+set}" = set; then :
14717   withval=$with_libqrencode;
14718 fi
14719
14720 have_libqrencode=no
14721 if test "x$with_libqrencode" != xno; then
14722
14723 pkg_failed=no
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
14725 $as_echo_n "checking for LIBQRENCODE... " >&6; }
14726
14727 if test -n "$LIBQRENCODE_CFLAGS"; then
14728     pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
14729  elif test -n "$PKG_CONFIG"; then
14730     if test -n "$PKG_CONFIG" && \
14731     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14732   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14733   ac_status=$?
14734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14735   test $ac_status = 0; }; then
14736   pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14737                       test "x$?" != "x0" && pkg_failed=yes
14738 else
14739   pkg_failed=yes
14740 fi
14741  else
14742     pkg_failed=untried
14743 fi
14744 if test -n "$LIBQRENCODE_LIBS"; then
14745     pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
14746  elif test -n "$PKG_CONFIG"; then
14747     if test -n "$PKG_CONFIG" && \
14748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14749   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14750   ac_status=$?
14751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14752   test $ac_status = 0; }; then
14753   pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14754                       test "x$?" != "x0" && pkg_failed=yes
14755 else
14756   pkg_failed=yes
14757 fi
14758  else
14759     pkg_failed=untried
14760 fi
14761
14762
14763
14764 if test $pkg_failed = yes; then
14765         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14766 $as_echo "no" >&6; }
14767
14768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14769         _pkg_short_errors_supported=yes
14770 else
14771         _pkg_short_errors_supported=no
14772 fi
14773         if test $_pkg_short_errors_supported = yes; then
14774                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14775         else
14776                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14777         fi
14778         # Put the nasty error message in config.log where it belongs
14779         echo "$LIBQRENCODE_PKG_ERRORS" >&5
14780
14781         have_libqrencode=no
14782 elif test $pkg_failed = untried; then
14783         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14784 $as_echo "no" >&6; }
14785         have_libqrencode=no
14786 else
14787         LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
14788         LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
14789         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14790 $as_echo "yes" >&6; }
14791         have_libqrencode=yes
14792 fi
14793 fi
14794
14795 if test "x$have_libqrencode" = "xyes"; then
14796
14797 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
14798
14799
14800
14801 else
14802         help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
14803 fi
14804
14805
14806
14807 # Check whether --with-libiec16022 was given.
14808 if test "${with_libiec16022+set}" = set; then :
14809   withval=$with_libiec16022;
14810 fi
14811
14812 have_libiec16022=no
14813 if test "x$with_libiec16022" != xno; then
14814
14815 pkg_failed=no
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
14817 $as_echo_n "checking for LIBIEC16022... " >&6; }
14818
14819 if test -n "$LIBIEC16022_CFLAGS"; then
14820     pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
14821  elif test -n "$PKG_CONFIG"; then
14822     if test -n "$PKG_CONFIG" && \
14823     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14824   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14825   ac_status=$?
14826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14827   test $ac_status = 0; }; then
14828   pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14829                       test "x$?" != "x0" && pkg_failed=yes
14830 else
14831   pkg_failed=yes
14832 fi
14833  else
14834     pkg_failed=untried
14835 fi
14836 if test -n "$LIBIEC16022_LIBS"; then
14837     pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
14838  elif test -n "$PKG_CONFIG"; then
14839     if test -n "$PKG_CONFIG" && \
14840     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14841   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14842   ac_status=$?
14843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844   test $ac_status = 0; }; then
14845   pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14846                       test "x$?" != "x0" && pkg_failed=yes
14847 else
14848   pkg_failed=yes
14849 fi
14850  else
14851     pkg_failed=untried
14852 fi
14853
14854
14855
14856 if test $pkg_failed = yes; then
14857         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14858 $as_echo "no" >&6; }
14859
14860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14861         _pkg_short_errors_supported=yes
14862 else
14863         _pkg_short_errors_supported=no
14864 fi
14865         if test $_pkg_short_errors_supported = yes; then
14866                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14867         else
14868                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14869         fi
14870         # Put the nasty error message in config.log where it belongs
14871         echo "$LIBIEC16022_PKG_ERRORS" >&5
14872
14873         have_libiec16022=no
14874 elif test $pkg_failed = untried; then
14875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14876 $as_echo "no" >&6; }
14877         have_libiec16022=no
14878 else
14879         LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
14880         LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
14881         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14882 $as_echo "yes" >&6; }
14883         have_libiec16022=yes
14884 fi
14885 fi
14886
14887 if test "x$have_libiec16022" = "xyes"; then
14888
14889 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
14890
14891
14892
14893 else
14894         help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
14895 fi
14896
14897
14898 # Check whether --enable-deprecations was given.
14899 if test "${enable_deprecations+set}" = set; then :
14900   enableval=$enable_deprecations;
14901 else
14902   enable_deprecations=no
14903 fi
14904
14905
14906 if test "x$enable_deprecations" = "xyes"; then
14907    DISABLE_DEPRECATED_CFLAGS="\
14908 -DG_DISABLE_DEPRECATED \
14909 -DGDK_DISABLE_DEPRECATED \
14910 -DGTK_DISABLE_DEPRECATED \
14911 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14912 "
14913
14914 fi
14915
14916
14917 GETTEXT_PACKAGE=${GLABELS_BRANCH}
14918
14919
14920 cat >>confdefs.h <<_ACEOF
14921 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14922 _ACEOF
14923
14924
14925
14926    for ac_header in locale.h
14927 do :
14928   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14929 if test "x$ac_cv_header_locale_h" = xyes; then :
14930   cat >>confdefs.h <<_ACEOF
14931 #define HAVE_LOCALE_H 1
14932 _ACEOF
14933
14934 fi
14935
14936 done
14937
14938     if test $ac_cv_header_locale_h = yes; then
14939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14940 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14941 if ${am_cv_val_LC_MESSAGES+:} false; then :
14942   $as_echo_n "(cached) " >&6
14943 else
14944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h.  */
14946 #include <locale.h>
14947 int
14948 main ()
14949 {
14950 return LC_MESSAGES
14951   ;
14952   return 0;
14953 }
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956   am_cv_val_LC_MESSAGES=yes
14957 else
14958   am_cv_val_LC_MESSAGES=no
14959 fi
14960 rm -f core conftest.err conftest.$ac_objext \
14961     conftest$ac_exeext conftest.$ac_ext
14962 fi
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14964 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14965     if test $am_cv_val_LC_MESSAGES = yes; then
14966
14967 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14968
14969     fi
14970   fi
14971      USE_NLS=yes
14972
14973
14974     gt_cv_have_gettext=no
14975
14976     CATOBJEXT=NONE
14977     XGETTEXT=:
14978     INTLLIBS=
14979
14980     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14981 if test "x$ac_cv_header_libintl_h" = xyes; then :
14982   gt_cv_func_dgettext_libintl="no"
14983       libintl_extra_libs=""
14984
14985       #
14986       # First check in libc
14987       #
14988       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14989 $as_echo_n "checking for ngettext in libc... " >&6; }
14990 if ${gt_cv_func_ngettext_libc+:} false; then :
14991   $as_echo_n "(cached) " >&6
14992 else
14993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h.  */
14995
14996 #include <libintl.h>
14997
14998 int
14999 main ()
15000 {
15001 return !ngettext ("","", 1)
15002   ;
15003   return 0;
15004 }
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007   gt_cv_func_ngettext_libc=yes
15008 else
15009   gt_cv_func_ngettext_libc=no
15010 fi
15011 rm -f core conftest.err conftest.$ac_objext \
15012     conftest$ac_exeext conftest.$ac_ext
15013
15014 fi
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15016 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15017
15018       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15019               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15020 $as_echo_n "checking for dgettext in libc... " >&6; }
15021 if ${gt_cv_func_dgettext_libc+:} false; then :
15022   $as_echo_n "(cached) " >&6
15023 else
15024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h.  */
15026
15027 #include <libintl.h>
15028
15029 int
15030 main ()
15031 {
15032 return !dgettext ("","")
15033   ;
15034   return 0;
15035 }
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038   gt_cv_func_dgettext_libc=yes
15039 else
15040   gt_cv_func_dgettext_libc=no
15041 fi
15042 rm -f core conftest.err conftest.$ac_objext \
15043     conftest$ac_exeext conftest.$ac_ext
15044
15045 fi
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15047 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15048       fi
15049
15050       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15051         for ac_func in bind_textdomain_codeset
15052 do :
15053   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15054 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15055   cat >>confdefs.h <<_ACEOF
15056 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15057 _ACEOF
15058
15059 fi
15060 done
15061
15062       fi
15063
15064       #
15065       # If we don't have everything we want, check in libintl
15066       #
15067       if test "$gt_cv_func_dgettext_libc" != "yes" \
15068          || test "$gt_cv_func_ngettext_libc" != "yes" \
15069          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15070
15071         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15072 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15073 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15074   $as_echo_n "(cached) " >&6
15075 else
15076   ac_check_lib_save_LIBS=$LIBS
15077 LIBS="-lintl  $LIBS"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h.  */
15080
15081 /* Override any GCC internal prototype to avoid an error.
15082    Use char because int might match the return type of a GCC
15083    builtin and then its argument prototype would still apply.  */
15084 #ifdef __cplusplus
15085 extern "C"
15086 #endif
15087 char bindtextdomain ();
15088 int
15089 main ()
15090 {
15091 return bindtextdomain ();
15092   ;
15093   return 0;
15094 }
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097   ac_cv_lib_intl_bindtextdomain=yes
15098 else
15099   ac_cv_lib_intl_bindtextdomain=no
15100 fi
15101 rm -f core conftest.err conftest.$ac_objext \
15102     conftest$ac_exeext conftest.$ac_ext
15103 LIBS=$ac_check_lib_save_LIBS
15104 fi
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15106 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15107 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15109 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15110 if ${ac_cv_lib_intl_ngettext+:} false; then :
15111   $as_echo_n "(cached) " >&6
15112 else
15113   ac_check_lib_save_LIBS=$LIBS
15114 LIBS="-lintl  $LIBS"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h.  */
15117
15118 /* Override any GCC internal prototype to avoid an error.
15119    Use char because int might match the return type of a GCC
15120    builtin and then its argument prototype would still apply.  */
15121 #ifdef __cplusplus
15122 extern "C"
15123 #endif
15124 char ngettext ();
15125 int
15126 main ()
15127 {
15128 return ngettext ();
15129   ;
15130   return 0;
15131 }
15132 _ACEOF
15133 if ac_fn_c_try_link "$LINENO"; then :
15134   ac_cv_lib_intl_ngettext=yes
15135 else
15136   ac_cv_lib_intl_ngettext=no
15137 fi
15138 rm -f core conftest.err conftest.$ac_objext \
15139     conftest$ac_exeext conftest.$ac_ext
15140 LIBS=$ac_check_lib_save_LIBS
15141 fi
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15143 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15144 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15146 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15147 if ${ac_cv_lib_intl_dgettext+:} false; then :
15148   $as_echo_n "(cached) " >&6
15149 else
15150   ac_check_lib_save_LIBS=$LIBS
15151 LIBS="-lintl  $LIBS"
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h.  */
15154
15155 /* Override any GCC internal prototype to avoid an error.
15156    Use char because int might match the return type of a GCC
15157    builtin and then its argument prototype would still apply.  */
15158 #ifdef __cplusplus
15159 extern "C"
15160 #endif
15161 char dgettext ();
15162 int
15163 main ()
15164 {
15165 return dgettext ();
15166   ;
15167   return 0;
15168 }
15169 _ACEOF
15170 if ac_fn_c_try_link "$LINENO"; then :
15171   ac_cv_lib_intl_dgettext=yes
15172 else
15173   ac_cv_lib_intl_dgettext=no
15174 fi
15175 rm -f core conftest.err conftest.$ac_objext \
15176     conftest$ac_exeext conftest.$ac_ext
15177 LIBS=$ac_check_lib_save_LIBS
15178 fi
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15180 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15181 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15182   gt_cv_func_dgettext_libintl=yes
15183 fi
15184
15185 fi
15186
15187 fi
15188
15189
15190         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15191           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15192 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15193           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15194 $as_echo "" >&6; }
15195           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15196 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15197 if ${ac_cv_lib_intl_ngettext+:} false; then :
15198   $as_echo_n "(cached) " >&6
15199 else
15200   ac_check_lib_save_LIBS=$LIBS
15201 LIBS="-lintl -liconv $LIBS"
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h.  */
15204
15205 /* Override any GCC internal prototype to avoid an error.
15206    Use char because int might match the return type of a GCC
15207    builtin and then its argument prototype would still apply.  */
15208 #ifdef __cplusplus
15209 extern "C"
15210 #endif
15211 char ngettext ();
15212 int
15213 main ()
15214 {
15215 return ngettext ();
15216   ;
15217   return 0;
15218 }
15219 _ACEOF
15220 if ac_fn_c_try_link "$LINENO"; then :
15221   ac_cv_lib_intl_ngettext=yes
15222 else
15223   ac_cv_lib_intl_ngettext=no
15224 fi
15225 rm -f core conftest.err conftest.$ac_objext \
15226     conftest$ac_exeext conftest.$ac_ext
15227 LIBS=$ac_check_lib_save_LIBS
15228 fi
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15230 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15231 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15233 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15234 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15235   $as_echo_n "(cached) " >&6
15236 else
15237   ac_check_lib_save_LIBS=$LIBS
15238 LIBS="-lintl -liconv $LIBS"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h.  */
15241
15242 /* Override any GCC internal prototype to avoid an error.
15243    Use char because int might match the return type of a GCC
15244    builtin and then its argument prototype would still apply.  */
15245 #ifdef __cplusplus
15246 extern "C"
15247 #endif
15248 char dcgettext ();
15249 int
15250 main ()
15251 {
15252 return dcgettext ();
15253   ;
15254   return 0;
15255 }
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"; then :
15258   ac_cv_lib_intl_dcgettext=yes
15259 else
15260   ac_cv_lib_intl_dcgettext=no
15261 fi
15262 rm -f core conftest.err conftest.$ac_objext \
15263     conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_lib_save_LIBS
15265 fi
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15267 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15268 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15269   gt_cv_func_dgettext_libintl=yes
15270                         libintl_extra_libs=-liconv
15271 else
15272   :
15273 fi
15274
15275 else
15276   :
15277 fi
15278
15279         fi
15280
15281         #
15282         # If we found libintl, then check in it for bind_textdomain_codeset();
15283         # we'll prefer libc if neither have bind_textdomain_codeset(),
15284         # and both have dgettext and ngettext
15285         #
15286         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15287           glib_save_LIBS="$LIBS"
15288           LIBS="$LIBS -lintl $libintl_extra_libs"
15289           unset ac_cv_func_bind_textdomain_codeset
15290           for ac_func in bind_textdomain_codeset
15291 do :
15292   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15293 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15294   cat >>confdefs.h <<_ACEOF
15295 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15296 _ACEOF
15297
15298 fi
15299 done
15300
15301           LIBS="$glib_save_LIBS"
15302
15303           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15304             gt_cv_func_dgettext_libc=no
15305           else
15306             if test "$gt_cv_func_dgettext_libc" = "yes" \
15307                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15308               gt_cv_func_dgettext_libintl=no
15309             fi
15310           fi
15311         fi
15312       fi
15313
15314       if test "$gt_cv_func_dgettext_libc" = "yes" \
15315         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15316         gt_cv_have_gettext=yes
15317       fi
15318
15319       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15320         INTLLIBS="-lintl $libintl_extra_libs"
15321       fi
15322
15323       if test "$gt_cv_have_gettext" = "yes"; then
15324
15325 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15326
15327         # Extract the first word of "msgfmt", so it can be a program name with args.
15328 set dummy msgfmt; ac_word=$2
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15330 $as_echo_n "checking for $ac_word... " >&6; }
15331 if ${ac_cv_path_MSGFMT+:} false; then :
15332   $as_echo_n "(cached) " >&6
15333 else
15334   case "$MSGFMT" in
15335   /*)
15336   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15337   ;;
15338   *)
15339   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15340   for ac_dir in $PATH; do
15341     test -z "$ac_dir" && ac_dir=.
15342     if test -f $ac_dir/$ac_word; then
15343       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15344         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15345         break
15346       fi
15347     fi
15348   done
15349   IFS="$ac_save_ifs"
15350   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15351   ;;
15352 esac
15353 fi
15354 MSGFMT="$ac_cv_path_MSGFMT"
15355 if test "$MSGFMT" != "no"; then
15356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15357 $as_echo "$MSGFMT" >&6; }
15358 else
15359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15360 $as_echo "no" >&6; }
15361 fi
15362         if test "$MSGFMT" != "no"; then
15363           glib_save_LIBS="$LIBS"
15364           LIBS="$LIBS $INTLLIBS"
15365           for ac_func in dcgettext
15366 do :
15367   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15368 if test "x$ac_cv_func_dcgettext" = xyes; then :
15369   cat >>confdefs.h <<_ACEOF
15370 #define HAVE_DCGETTEXT 1
15371 _ACEOF
15372
15373 fi
15374 done
15375
15376           MSGFMT_OPTS=
15377           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15378 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15379           cat >conftest.foo <<_ACEOF
15380
15381 msgid ""
15382 msgstr ""
15383 "Content-Type: text/plain; charset=UTF-8\n"
15384 "Project-Id-Version: test 1.0\n"
15385 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15386 "Last-Translator: test <foo@bar.xx>\n"
15387 "Language-Team: C <LL@li.org>\n"
15388 "MIME-Version: 1.0\n"
15389 "Content-Transfer-Encoding: 8bit\n"
15390
15391 _ACEOF
15392 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15393   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15394   ac_status=$?
15395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15396   test $ac_status = 0; }; then
15397   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15398 $as_echo "yes" >&6; }
15399 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15400 $as_echo "no" >&6; }
15401 echo "$as_me: failed input was:" >&5
15402 sed 's/^/| /' conftest.foo >&5
15403 fi
15404
15405           # Extract the first word of "gmsgfmt", so it can be a program name with args.
15406 set dummy gmsgfmt; ac_word=$2
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15408 $as_echo_n "checking for $ac_word... " >&6; }
15409 if ${ac_cv_path_GMSGFMT+:} false; then :
15410   $as_echo_n "(cached) " >&6
15411 else
15412   case $GMSGFMT in
15413   [\\/]* | ?:[\\/]*)
15414   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15415   ;;
15416   *)
15417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418 for as_dir in $PATH
15419 do
15420   IFS=$as_save_IFS
15421   test -z "$as_dir" && as_dir=.
15422     for ac_exec_ext in '' $ac_executable_extensions; do
15423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15426     break 2
15427   fi
15428 done
15429   done
15430 IFS=$as_save_IFS
15431
15432   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15433   ;;
15434 esac
15435 fi
15436 GMSGFMT=$ac_cv_path_GMSGFMT
15437 if test -n "$GMSGFMT"; then
15438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15439 $as_echo "$GMSGFMT" >&6; }
15440 else
15441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15442 $as_echo "no" >&6; }
15443 fi
15444
15445
15446           # Extract the first word of "xgettext", so it can be a program name with args.
15447 set dummy xgettext; ac_word=$2
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15449 $as_echo_n "checking for $ac_word... " >&6; }
15450 if ${ac_cv_path_XGETTEXT+:} false; then :
15451   $as_echo_n "(cached) " >&6
15452 else
15453   case "$XGETTEXT" in
15454   /*)
15455   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15456   ;;
15457   *)
15458   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15459   for ac_dir in $PATH; do
15460     test -z "$ac_dir" && ac_dir=.
15461     if test -f $ac_dir/$ac_word; then
15462       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15463         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15464         break
15465       fi
15466     fi
15467   done
15468   IFS="$ac_save_ifs"
15469   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15470   ;;
15471 esac
15472 fi
15473 XGETTEXT="$ac_cv_path_XGETTEXT"
15474 if test "$XGETTEXT" != ":"; then
15475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15476 $as_echo "$XGETTEXT" >&6; }
15477 else
15478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15479 $as_echo "no" >&6; }
15480 fi
15481
15482           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h.  */
15484
15485 int
15486 main ()
15487 {
15488 extern int _nl_msg_cat_cntr;
15489                          return _nl_msg_cat_cntr
15490   ;
15491   return 0;
15492 }
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"; then :
15495   CATOBJEXT=.gmo
15496              DATADIRNAME=share
15497 else
15498   case $host in
15499             *-*-solaris*)
15500                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15501 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15502   CATOBJEXT=.gmo
15503                DATADIRNAME=share
15504 else
15505   CATOBJEXT=.mo
15506                DATADIRNAME=lib
15507 fi
15508
15509             ;;
15510             *-*-openbsd*)
15511             CATOBJEXT=.mo
15512             DATADIRNAME=share
15513             ;;
15514             *)
15515             CATOBJEXT=.mo
15516             DATADIRNAME=lib
15517             ;;
15518             esac
15519 fi
15520 rm -f core conftest.err conftest.$ac_objext \
15521     conftest$ac_exeext conftest.$ac_ext
15522           LIBS="$glib_save_LIBS"
15523           INSTOBJEXT=.mo
15524         else
15525           gt_cv_have_gettext=no
15526         fi
15527       fi
15528
15529 fi
15530
15531
15532
15533     if test "$gt_cv_have_gettext" = "yes" ; then
15534
15535 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15536
15537     fi
15538
15539         if test "$XGETTEXT" != ":"; then
15540                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15541         : ;
15542       else
15543         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15544 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15545         XGETTEXT=":"
15546       fi
15547     fi
15548
15549     # We need to process the po/ directory.
15550     POSUB=po
15551
15552     ac_config_commands="$ac_config_commands default-1"
15553
15554
15555                 for lang in $ALL_LINGUAS; do
15556       GMOFILES="$GMOFILES $lang.gmo"
15557       POFILES="$POFILES $lang.po"
15558     done
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572    if test "$gt_cv_have_gettext" = "yes"; then
15573      if test "x$ALL_LINGUAS" = "x"; then
15574        LINGUAS=
15575      else
15576        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15577 $as_echo_n "checking for catalogs to be installed... " >&6; }
15578        NEW_LINGUAS=
15579        for presentlang in $ALL_LINGUAS; do
15580          useit=no
15581          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15582            desiredlanguages="$LINGUAS"
15583          else
15584            desiredlanguages="$ALL_LINGUAS"
15585          fi
15586          for desiredlang in $desiredlanguages; do
15587            # Use the presentlang catalog if desiredlang is
15588            #   a. equal to presentlang, or
15589            #   b. a variant of presentlang (because in this case,
15590            #      presentlang can be used as a fallback for messages
15591            #      which are not translated in the desiredlang catalog).
15592            case "$desiredlang" in
15593              "$presentlang"*) useit=yes;;
15594            esac
15595          done
15596          if test $useit = yes; then
15597            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15598          fi
15599        done
15600        LINGUAS=$NEW_LINGUAS
15601        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15602 $as_echo "$LINGUAS" >&6; }
15603      fi
15604
15605           if test -n "$LINGUAS"; then
15606        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15607      fi
15608    fi
15609
15610             MKINSTALLDIRS=
15611    if test -n "$ac_aux_dir"; then
15612      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15613    fi
15614    if test -z "$MKINSTALLDIRS"; then
15615      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15616    fi
15617
15618
15619          test -d po || mkdir po
15620    if test "x$srcdir" != "x."; then
15621      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15622        posrcprefix="$srcdir/"
15623      else
15624        posrcprefix="../$srcdir/"
15625      fi
15626    else
15627      posrcprefix="../"
15628    fi
15629    rm -f po/POTFILES
15630    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15631         < $srcdir/po/POTFILES.in > po/POTFILES
15632
15633
15634
15635 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/appdata/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/icons/scalable/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"
15636
15637 cat >confcache <<\_ACEOF
15638 # This file is a shell script that caches the results of configure
15639 # tests run on this system so they can be shared between configure
15640 # scripts and configure runs, see configure's option --config-cache.
15641 # It is not useful on other systems.  If it contains results you don't
15642 # want to keep, you may remove or edit it.
15643 #
15644 # config.status only pays attention to the cache file if you give it
15645 # the --recheck option to rerun configure.
15646 #
15647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15649 # following values.
15650
15651 _ACEOF
15652
15653 # The following way of writing the cache mishandles newlines in values,
15654 # but we know of no workaround that is simple, portable, and efficient.
15655 # So, we kill variables containing newlines.
15656 # Ultrix sh set writes to stderr and can't be redirected directly,
15657 # and sets the high bit in the cache file unless we assign to the vars.
15658 (
15659   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15660     eval ac_val=\$$ac_var
15661     case $ac_val in #(
15662     *${as_nl}*)
15663       case $ac_var in #(
15664       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15665 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15666       esac
15667       case $ac_var in #(
15668       _ | IFS | as_nl) ;; #(
15669       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15670       *) { eval $ac_var=; unset $ac_var;} ;;
15671       esac ;;
15672     esac
15673   done
15674
15675   (set) 2>&1 |
15676     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15677     *${as_nl}ac_space=\ *)
15678       # `set' does not quote correctly, so add quotes: double-quote
15679       # substitution turns \\\\ into \\, and sed turns \\ into \.
15680       sed -n \
15681         "s/'/'\\\\''/g;
15682           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15683       ;; #(
15684     *)
15685       # `set' quotes correctly as required by POSIX, so do not add quotes.
15686       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15687       ;;
15688     esac |
15689     sort
15690 ) |
15691   sed '
15692      /^ac_cv_env_/b end
15693      t clear
15694      :clear
15695      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15696      t end
15697      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15698      :end' >>confcache
15699 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15700   if test -w "$cache_file"; then
15701     if test "x$cache_file" != "x/dev/null"; then
15702       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15703 $as_echo "$as_me: updating cache $cache_file" >&6;}
15704       if test ! -f "$cache_file" || test -h "$cache_file"; then
15705         cat confcache >"$cache_file"
15706       else
15707         case $cache_file in #(
15708         */* | ?:*)
15709           mv -f confcache "$cache_file"$$ &&
15710           mv -f "$cache_file"$$ "$cache_file" ;; #(
15711         *)
15712           mv -f confcache "$cache_file" ;;
15713         esac
15714       fi
15715     fi
15716   else
15717     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15718 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15719   fi
15720 fi
15721 rm -f confcache
15722
15723 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15724 # Let make expand exec_prefix.
15725 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15726
15727 DEFS=-DHAVE_CONFIG_H
15728
15729 ac_libobjs=
15730 ac_ltlibobjs=
15731 U=
15732 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15733   # 1. Remove the extension, and $U if already installed.
15734   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15735   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15736   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15737   #    will be set to the directory where LIBOBJS objects are built.
15738   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15739   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15740 done
15741 LIBOBJS=$ac_libobjs
15742
15743 LTLIBOBJS=$ac_ltlibobjs
15744
15745
15746  if test -n "$EXEEXT"; then
15747   am__EXEEXT_TRUE=
15748   am__EXEEXT_FALSE='#'
15749 else
15750   am__EXEEXT_TRUE='#'
15751   am__EXEEXT_FALSE=
15752 fi
15753
15754 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15755   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15757 fi
15758 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15759   as_fn_error $? "conditional \"AMDEP\" was never defined.
15760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15761 fi
15762 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15763   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15765 fi
15766
15767   ac_config_commands="$ac_config_commands po/stamp-it"
15768
15769
15770 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15771   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15773 fi
15774 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15775   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15777 fi
15778 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15779   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15781 fi
15782 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15783   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15785 fi
15786 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15787   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15789 fi
15790 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15791   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15793 fi
15794
15795 : "${CONFIG_STATUS=./config.status}"
15796 ac_write_fail=0
15797 ac_clean_files_save=$ac_clean_files
15798 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15800 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15801 as_write_fail=0
15802 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15803 #! $SHELL
15804 # Generated by $as_me.
15805 # Run this file to recreate the current configuration.
15806 # Compiler output produced by configure, useful for debugging
15807 # configure, is in config.log if it exists.
15808
15809 debug=false
15810 ac_cs_recheck=false
15811 ac_cs_silent=false
15812
15813 SHELL=\${CONFIG_SHELL-$SHELL}
15814 export SHELL
15815 _ASEOF
15816 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15817 ## -------------------- ##
15818 ## M4sh Initialization. ##
15819 ## -------------------- ##
15820
15821 # Be more Bourne compatible
15822 DUALCASE=1; export DUALCASE # for MKS sh
15823 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15824   emulate sh
15825   NULLCMD=:
15826   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15827   # is contrary to our usage.  Disable this feature.
15828   alias -g '${1+"$@"}'='"$@"'
15829   setopt NO_GLOB_SUBST
15830 else
15831   case `(set -o) 2>/dev/null` in #(
15832   *posix*) :
15833     set -o posix ;; #(
15834   *) :
15835      ;;
15836 esac
15837 fi
15838
15839
15840 as_nl='
15841 '
15842 export as_nl
15843 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15844 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15847 # Prefer a ksh shell builtin over an external printf program on Solaris,
15848 # but without wasting forks for bash or zsh.
15849 if test -z "$BASH_VERSION$ZSH_VERSION" \
15850     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15851   as_echo='print -r --'
15852   as_echo_n='print -rn --'
15853 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15854   as_echo='printf %s\n'
15855   as_echo_n='printf %s'
15856 else
15857   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15858     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15859     as_echo_n='/usr/ucb/echo -n'
15860   else
15861     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15862     as_echo_n_body='eval
15863       arg=$1;
15864       case $arg in #(
15865       *"$as_nl"*)
15866         expr "X$arg" : "X\\(.*\\)$as_nl";
15867         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15868       esac;
15869       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15870     '
15871     export as_echo_n_body
15872     as_echo_n='sh -c $as_echo_n_body as_echo'
15873   fi
15874   export as_echo_body
15875   as_echo='sh -c $as_echo_body as_echo'
15876 fi
15877
15878 # The user is always right.
15879 if test "${PATH_SEPARATOR+set}" != set; then
15880   PATH_SEPARATOR=:
15881   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15882     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15883       PATH_SEPARATOR=';'
15884   }
15885 fi
15886
15887
15888 # IFS
15889 # We need space, tab and new line, in precisely that order.  Quoting is
15890 # there to prevent editors from complaining about space-tab.
15891 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15892 # splitting by setting IFS to empty value.)
15893 IFS=" ""        $as_nl"
15894
15895 # Find who we are.  Look in the path if we contain no directory separator.
15896 as_myself=
15897 case $0 in #((
15898   *[\\/]* ) as_myself=$0 ;;
15899   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15900 for as_dir in $PATH
15901 do
15902   IFS=$as_save_IFS
15903   test -z "$as_dir" && as_dir=.
15904     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15905   done
15906 IFS=$as_save_IFS
15907
15908      ;;
15909 esac
15910 # We did not find ourselves, most probably we were run as `sh COMMAND'
15911 # in which case we are not to be found in the path.
15912 if test "x$as_myself" = x; then
15913   as_myself=$0
15914 fi
15915 if test ! -f "$as_myself"; then
15916   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15917   exit 1
15918 fi
15919
15920 # Unset variables that we do not need and which cause bugs (e.g. in
15921 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15922 # suppresses any "Segmentation fault" message there.  '((' could
15923 # trigger a bug in pdksh 5.2.14.
15924 for as_var in BASH_ENV ENV MAIL MAILPATH
15925 do eval test x\${$as_var+set} = xset \
15926   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15927 done
15928 PS1='$ '
15929 PS2='> '
15930 PS4='+ '
15931
15932 # NLS nuisances.
15933 LC_ALL=C
15934 export LC_ALL
15935 LANGUAGE=C
15936 export LANGUAGE
15937
15938 # CDPATH.
15939 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15940
15941
15942 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15943 # ----------------------------------------
15944 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15945 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15946 # script with STATUS, using 1 if that was 0.
15947 as_fn_error ()
15948 {
15949   as_status=$1; test $as_status -eq 0 && as_status=1
15950   if test "$4"; then
15951     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15952     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15953   fi
15954   $as_echo "$as_me: error: $2" >&2
15955   as_fn_exit $as_status
15956 } # as_fn_error
15957
15958
15959 # as_fn_set_status STATUS
15960 # -----------------------
15961 # Set $? to STATUS, without forking.
15962 as_fn_set_status ()
15963 {
15964   return $1
15965 } # as_fn_set_status
15966
15967 # as_fn_exit STATUS
15968 # -----------------
15969 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15970 as_fn_exit ()
15971 {
15972   set +e
15973   as_fn_set_status $1
15974   exit $1
15975 } # as_fn_exit
15976
15977 # as_fn_unset VAR
15978 # ---------------
15979 # Portably unset VAR.
15980 as_fn_unset ()
15981 {
15982   { eval $1=; unset $1;}
15983 }
15984 as_unset=as_fn_unset
15985 # as_fn_append VAR VALUE
15986 # ----------------------
15987 # Append the text in VALUE to the end of the definition contained in VAR. Take
15988 # advantage of any shell optimizations that allow amortized linear growth over
15989 # repeated appends, instead of the typical quadratic growth present in naive
15990 # implementations.
15991 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15992   eval 'as_fn_append ()
15993   {
15994     eval $1+=\$2
15995   }'
15996 else
15997   as_fn_append ()
15998   {
15999     eval $1=\$$1\$2
16000   }
16001 fi # as_fn_append
16002
16003 # as_fn_arith ARG...
16004 # ------------------
16005 # Perform arithmetic evaluation on the ARGs, and store the result in the
16006 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16007 # must be portable across $(()) and expr.
16008 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16009   eval 'as_fn_arith ()
16010   {
16011     as_val=$(( $* ))
16012   }'
16013 else
16014   as_fn_arith ()
16015   {
16016     as_val=`expr "$@" || test $? -eq 1`
16017   }
16018 fi # as_fn_arith
16019
16020
16021 if expr a : '\(a\)' >/dev/null 2>&1 &&
16022    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16023   as_expr=expr
16024 else
16025   as_expr=false
16026 fi
16027
16028 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16029   as_basename=basename
16030 else
16031   as_basename=false
16032 fi
16033
16034 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16035   as_dirname=dirname
16036 else
16037   as_dirname=false
16038 fi
16039
16040 as_me=`$as_basename -- "$0" ||
16041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16042          X"$0" : 'X\(//\)$' \| \
16043          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16044 $as_echo X/"$0" |
16045     sed '/^.*\/\([^/][^/]*\)\/*$/{
16046             s//\1/
16047             q
16048           }
16049           /^X\/\(\/\/\)$/{
16050             s//\1/
16051             q
16052           }
16053           /^X\/\(\/\).*/{
16054             s//\1/
16055             q
16056           }
16057           s/.*/./; q'`
16058
16059 # Avoid depending upon Character Ranges.
16060 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16061 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16062 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16063 as_cr_digits='0123456789'
16064 as_cr_alnum=$as_cr_Letters$as_cr_digits
16065
16066 ECHO_C= ECHO_N= ECHO_T=
16067 case `echo -n x` in #(((((
16068 -n*)
16069   case `echo 'xy\c'` in
16070   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16071   xy)  ECHO_C='\c';;
16072   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16073        ECHO_T=' ';;
16074   esac;;
16075 *)
16076   ECHO_N='-n';;
16077 esac
16078
16079 rm -f conf$$ conf$$.exe conf$$.file
16080 if test -d conf$$.dir; then
16081   rm -f conf$$.dir/conf$$.file
16082 else
16083   rm -f conf$$.dir
16084   mkdir conf$$.dir 2>/dev/null
16085 fi
16086 if (echo >conf$$.file) 2>/dev/null; then
16087   if ln -s conf$$.file conf$$ 2>/dev/null; then
16088     as_ln_s='ln -s'
16089     # ... but there are two gotchas:
16090     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16091     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16092     # In both cases, we have to default to `cp -pR'.
16093     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16094       as_ln_s='cp -pR'
16095   elif ln conf$$.file conf$$ 2>/dev/null; then
16096     as_ln_s=ln
16097   else
16098     as_ln_s='cp -pR'
16099   fi
16100 else
16101   as_ln_s='cp -pR'
16102 fi
16103 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16104 rmdir conf$$.dir 2>/dev/null
16105
16106
16107 # as_fn_mkdir_p
16108 # -------------
16109 # Create "$as_dir" as a directory, including parents if necessary.
16110 as_fn_mkdir_p ()
16111 {
16112
16113   case $as_dir in #(
16114   -*) as_dir=./$as_dir;;
16115   esac
16116   test -d "$as_dir" || eval $as_mkdir_p || {
16117     as_dirs=
16118     while :; do
16119       case $as_dir in #(
16120       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16121       *) as_qdir=$as_dir;;
16122       esac
16123       as_dirs="'$as_qdir' $as_dirs"
16124       as_dir=`$as_dirname -- "$as_dir" ||
16125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16126          X"$as_dir" : 'X\(//\)[^/]' \| \
16127          X"$as_dir" : 'X\(//\)$' \| \
16128          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16129 $as_echo X"$as_dir" |
16130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16131             s//\1/
16132             q
16133           }
16134           /^X\(\/\/\)[^/].*/{
16135             s//\1/
16136             q
16137           }
16138           /^X\(\/\/\)$/{
16139             s//\1/
16140             q
16141           }
16142           /^X\(\/\).*/{
16143             s//\1/
16144             q
16145           }
16146           s/.*/./; q'`
16147       test -d "$as_dir" && break
16148     done
16149     test -z "$as_dirs" || eval "mkdir $as_dirs"
16150   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16151
16152
16153 } # as_fn_mkdir_p
16154 if mkdir -p . 2>/dev/null; then
16155   as_mkdir_p='mkdir -p "$as_dir"'
16156 else
16157   test -d ./-p && rmdir ./-p
16158   as_mkdir_p=false
16159 fi
16160
16161
16162 # as_fn_executable_p FILE
16163 # -----------------------
16164 # Test if FILE is an executable regular file.
16165 as_fn_executable_p ()
16166 {
16167   test -f "$1" && test -x "$1"
16168 } # as_fn_executable_p
16169 as_test_x='test -x'
16170 as_executable_p=as_fn_executable_p
16171
16172 # Sed expression to map a string onto a valid CPP name.
16173 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16174
16175 # Sed expression to map a string onto a valid variable name.
16176 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16177
16178
16179 exec 6>&1
16180 ## ----------------------------------- ##
16181 ## Main body of $CONFIG_STATUS script. ##
16182 ## ----------------------------------- ##
16183 _ASEOF
16184 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16185
16186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16187 # Save the log message, to keep $0 and so on meaningful, and to
16188 # report actual input values of CONFIG_FILES etc. instead of their
16189 # values after options handling.
16190 ac_log="
16191 This file was extended by glabels $as_me 3.2.0, which was
16192 generated by GNU Autoconf 2.69.  Invocation command line was
16193
16194   CONFIG_FILES    = $CONFIG_FILES
16195   CONFIG_HEADERS  = $CONFIG_HEADERS
16196   CONFIG_LINKS    = $CONFIG_LINKS
16197   CONFIG_COMMANDS = $CONFIG_COMMANDS
16198   $ $0 $@
16199
16200 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16201 "
16202
16203 _ACEOF
16204
16205 case $ac_config_files in *"
16206 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16207 esac
16208
16209 case $ac_config_headers in *"
16210 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16211 esac
16212
16213
16214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16215 # Files that config.status was made for.
16216 config_files="$ac_config_files"
16217 config_headers="$ac_config_headers"
16218 config_commands="$ac_config_commands"
16219
16220 _ACEOF
16221
16222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16223 ac_cs_usage="\
16224 \`$as_me' instantiates files and other configuration actions
16225 from templates according to the current configuration.  Unless the files
16226 and actions are specified as TAGs, all are instantiated by default.
16227
16228 Usage: $0 [OPTION]... [TAG]...
16229
16230   -h, --help       print this help, then exit
16231   -V, --version    print version number and configuration settings, then exit
16232       --config     print configuration, then exit
16233   -q, --quiet, --silent
16234                    do not print progress messages
16235   -d, --debug      don't remove temporary files
16236       --recheck    update $as_me by reconfiguring in the same conditions
16237       --file=FILE[:TEMPLATE]
16238                    instantiate the configuration file FILE
16239       --header=FILE[:TEMPLATE]
16240                    instantiate the configuration header FILE
16241
16242 Configuration files:
16243 $config_files
16244
16245 Configuration headers:
16246 $config_headers
16247
16248 Configuration commands:
16249 $config_commands
16250
16251 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16252
16253 _ACEOF
16254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16255 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16256 ac_cs_version="\\
16257 glabels config.status 3.2.0
16258 configured by $0, generated by GNU Autoconf 2.69,
16259   with options \\"\$ac_cs_config\\"
16260
16261 Copyright (C) 2012 Free Software Foundation, Inc.
16262 This config.status script is free software; the Free Software Foundation
16263 gives unlimited permission to copy, distribute and modify it."
16264
16265 ac_pwd='$ac_pwd'
16266 srcdir='$srcdir'
16267 INSTALL='$INSTALL'
16268 MKDIR_P='$MKDIR_P'
16269 AWK='$AWK'
16270 test -n "\$AWK" || AWK=awk
16271 _ACEOF
16272
16273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16274 # The default lists apply if the user does not specify any file.
16275 ac_need_defaults=:
16276 while test $# != 0
16277 do
16278   case $1 in
16279   --*=?*)
16280     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16281     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16282     ac_shift=:
16283     ;;
16284   --*=)
16285     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16286     ac_optarg=
16287     ac_shift=:
16288     ;;
16289   *)
16290     ac_option=$1
16291     ac_optarg=$2
16292     ac_shift=shift
16293     ;;
16294   esac
16295
16296   case $ac_option in
16297   # Handling of the options.
16298   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16299     ac_cs_recheck=: ;;
16300   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16301     $as_echo "$ac_cs_version"; exit ;;
16302   --config | --confi | --conf | --con | --co | --c )
16303     $as_echo "$ac_cs_config"; exit ;;
16304   --debug | --debu | --deb | --de | --d | -d )
16305     debug=: ;;
16306   --file | --fil | --fi | --f )
16307     $ac_shift
16308     case $ac_optarg in
16309     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16310     '') as_fn_error $? "missing file argument" ;;
16311     esac
16312     as_fn_append CONFIG_FILES " '$ac_optarg'"
16313     ac_need_defaults=false;;
16314   --header | --heade | --head | --hea )
16315     $ac_shift
16316     case $ac_optarg in
16317     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16318     esac
16319     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16320     ac_need_defaults=false;;
16321   --he | --h)
16322     # Conflict between --help and --header
16323     as_fn_error $? "ambiguous option: \`$1'
16324 Try \`$0 --help' for more information.";;
16325   --help | --hel | -h )
16326     $as_echo "$ac_cs_usage"; exit ;;
16327   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16328   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16329     ac_cs_silent=: ;;
16330
16331   # This is an error.
16332   -*) as_fn_error $? "unrecognized option: \`$1'
16333 Try \`$0 --help' for more information." ;;
16334
16335   *) as_fn_append ac_config_targets " $1"
16336      ac_need_defaults=false ;;
16337
16338   esac
16339   shift
16340 done
16341
16342 ac_configure_extra_args=
16343
16344 if $ac_cs_silent; then
16345   exec 6>/dev/null
16346   ac_configure_extra_args="$ac_configure_extra_args --silent"
16347 fi
16348
16349 _ACEOF
16350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16351 if \$ac_cs_recheck; then
16352   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16353   shift
16354   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16355   CONFIG_SHELL='$SHELL'
16356   export CONFIG_SHELL
16357   exec "\$@"
16358 fi
16359
16360 _ACEOF
16361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16362 exec 5>>config.log
16363 {
16364   echo
16365   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16366 ## Running $as_me. ##
16367 _ASBOX
16368   $as_echo "$ac_log"
16369 } >&5
16370
16371 _ACEOF
16372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16373 #
16374 # INIT-COMMANDS
16375 #
16376 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16377
16378
16379 # The HP-UX ksh and POSIX shell print the target directory to stdout
16380 # if CDPATH is set.
16381 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16382
16383 sed_quote_subst='$sed_quote_subst'
16384 double_quote_subst='$double_quote_subst'
16385 delay_variable_subst='$delay_variable_subst'
16386 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16387 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16388 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16389 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16390 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16391 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16392 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16393 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16394 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16395 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16396 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16397 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16398 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16399 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16400 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16401 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16402 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16403 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16404 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16405 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16406 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16407 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16408 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16409 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16410 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16411 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16412 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16413 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16414 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16415 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16416 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16417 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16418 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16419 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16420 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16421 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16422 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16423 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16424 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16425 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16426 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16427 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16428 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16429 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16430 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16431 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16432 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16433 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16434 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16435 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16436 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16437 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16438 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16439 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16440 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16441 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16442 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"`'
16443 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16444 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16445 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16446 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16447 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16448 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16449 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16450 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16451 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16452 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16453 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16454 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16455 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16456 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16457 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16458 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16459 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16460 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16461 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16462 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16463 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16464 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16465 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16466 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16467 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16468 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16469 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16470 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16471 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16472 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16473 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16474 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16475 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16476 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16477 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16478 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16479 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16480 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16481 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16482 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16483 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16484 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16485 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16486 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16487 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16488 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16489 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16490 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16491 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16492 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16493 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16494 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16495 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16496 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16497 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16498 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16499 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16500 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16501 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16502 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16503 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16504 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16505 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16506 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16507 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16508 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16509 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16510 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16511 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16512 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16513 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16514 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16515 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16516
16517 LTCC='$LTCC'
16518 LTCFLAGS='$LTCFLAGS'
16519 compiler='$compiler_DEFAULT'
16520
16521 # A function that is used when there is no print builtin or printf.
16522 func_fallback_echo ()
16523 {
16524   eval 'cat <<_LTECHO_EOF
16525 \$1
16526 _LTECHO_EOF'
16527 }
16528
16529 # Quote evaled strings.
16530 for var in SHELL \
16531 ECHO \
16532 PATH_SEPARATOR \
16533 SED \
16534 GREP \
16535 EGREP \
16536 FGREP \
16537 LD \
16538 NM \
16539 LN_S \
16540 lt_SP2NL \
16541 lt_NL2SP \
16542 reload_flag \
16543 OBJDUMP \
16544 deplibs_check_method \
16545 file_magic_cmd \
16546 file_magic_glob \
16547 want_nocaseglob \
16548 DLLTOOL \
16549 sharedlib_from_linklib_cmd \
16550 AR \
16551 AR_FLAGS \
16552 archiver_list_spec \
16553 STRIP \
16554 RANLIB \
16555 CC \
16556 CFLAGS \
16557 compiler \
16558 lt_cv_sys_global_symbol_pipe \
16559 lt_cv_sys_global_symbol_to_cdecl \
16560 lt_cv_sys_global_symbol_to_c_name_address \
16561 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16562 nm_file_list_spec \
16563 lt_prog_compiler_no_builtin_flag \
16564 lt_prog_compiler_pic \
16565 lt_prog_compiler_wl \
16566 lt_prog_compiler_static \
16567 lt_cv_prog_compiler_c_o \
16568 need_locks \
16569 MANIFEST_TOOL \
16570 DSYMUTIL \
16571 NMEDIT \
16572 LIPO \
16573 OTOOL \
16574 OTOOL64 \
16575 shrext_cmds \
16576 export_dynamic_flag_spec \
16577 whole_archive_flag_spec \
16578 compiler_needs_object \
16579 with_gnu_ld \
16580 allow_undefined_flag \
16581 no_undefined_flag \
16582 hardcode_libdir_flag_spec \
16583 hardcode_libdir_separator \
16584 exclude_expsyms \
16585 include_expsyms \
16586 file_list_spec \
16587 variables_saved_for_relink \
16588 libname_spec \
16589 library_names_spec \
16590 soname_spec \
16591 install_override_mode \
16592 finish_eval \
16593 old_striplib \
16594 striplib; do
16595     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16596     *[\\\\\\\`\\"\\\$]*)
16597       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16598       ;;
16599     *)
16600       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16601       ;;
16602     esac
16603 done
16604
16605 # Double-quote double-evaled strings.
16606 for var in reload_cmds \
16607 old_postinstall_cmds \
16608 old_postuninstall_cmds \
16609 old_archive_cmds \
16610 extract_expsyms_cmds \
16611 old_archive_from_new_cmds \
16612 old_archive_from_expsyms_cmds \
16613 archive_cmds \
16614 archive_expsym_cmds \
16615 module_cmds \
16616 module_expsym_cmds \
16617 export_symbols_cmds \
16618 prelink_cmds \
16619 postlink_cmds \
16620 postinstall_cmds \
16621 postuninstall_cmds \
16622 finish_cmds \
16623 sys_lib_search_path_spec \
16624 sys_lib_dlsearch_path_spec; do
16625     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16626     *[\\\\\\\`\\"\\\$]*)
16627       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16628       ;;
16629     *)
16630       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16631       ;;
16632     esac
16633 done
16634
16635 ac_aux_dir='$ac_aux_dir'
16636 xsi_shell='$xsi_shell'
16637 lt_shell_append='$lt_shell_append'
16638
16639 # See if we are running on zsh, and set the options which allow our
16640 # commands through without removal of \ escapes INIT.
16641 if test -n "\${ZSH_VERSION+set}" ; then
16642    setopt NO_GLOB_SUBST
16643 fi
16644
16645
16646     PACKAGE='$PACKAGE'
16647     VERSION='$VERSION'
16648     TIMESTAMP='$TIMESTAMP'
16649     RM='$RM'
16650     ofile='$ofile'
16651
16652
16653
16654
16655
16656 _ACEOF
16657
16658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16659
16660 # Handling of arguments.
16661 for ac_config_target in $ac_config_targets
16662 do
16663   case $ac_config_target in
16664     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16665     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16666     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16667     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16668     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16669     "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16670     "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16671     "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16672     "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16673     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16674     "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16675     "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16676     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16677     "data/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/appdata/Makefile" ;;
16678     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16679     "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16680     "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16681     "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16682     "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16683     "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16684     "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16685     "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16686     "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16687     "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16688     "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16689     "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16690     "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16691     "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16692     "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16693     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16694     "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16695     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16696     "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16697     "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16698     "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16699     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16700
16701   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16702   esac
16703 done
16704
16705
16706 # If the user did not use the arguments to specify the items to instantiate,
16707 # then the envvar interface is used.  Set only those that are not.
16708 # We use the long form for the default assignment because of an extremely
16709 # bizarre bug on SunOS 4.1.3.
16710 if $ac_need_defaults; then
16711   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16712   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16713   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16714 fi
16715
16716 # Have a temporary directory for convenience.  Make it in the build tree
16717 # simply because there is no reason against having it here, and in addition,
16718 # creating and moving files from /tmp can sometimes cause problems.
16719 # Hook for its removal unless debugging.
16720 # Note that there is a small window in which the directory will not be cleaned:
16721 # after its creation but before its name has been assigned to `$tmp'.
16722 $debug ||
16723 {
16724   tmp= ac_tmp=
16725   trap 'exit_status=$?
16726   : "${ac_tmp:=$tmp}"
16727   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16728 ' 0
16729   trap 'as_fn_exit 1' 1 2 13 15
16730 }
16731 # Create a (secure) tmp directory for tmp files.
16732
16733 {
16734   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16735   test -d "$tmp"
16736 }  ||
16737 {
16738   tmp=./conf$$-$RANDOM
16739   (umask 077 && mkdir "$tmp")
16740 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16741 ac_tmp=$tmp
16742
16743 # Set up the scripts for CONFIG_FILES section.
16744 # No need to generate them if there are no CONFIG_FILES.
16745 # This happens for instance with `./config.status config.h'.
16746 if test -n "$CONFIG_FILES"; then
16747
16748
16749 ac_cr=`echo X | tr X '\015'`
16750 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16751 # But we know of no other shell where ac_cr would be empty at this
16752 # point, so we can use a bashism as a fallback.
16753 if test "x$ac_cr" = x; then
16754   eval ac_cr=\$\'\\r\'
16755 fi
16756 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16757 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16758   ac_cs_awk_cr='\\r'
16759 else
16760   ac_cs_awk_cr=$ac_cr
16761 fi
16762
16763 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16764 _ACEOF
16765
16766
16767 {
16768   echo "cat >conf$$subs.awk <<_ACEOF" &&
16769   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16770   echo "_ACEOF"
16771 } >conf$$subs.sh ||
16772   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16773 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16774 ac_delim='%!_!# '
16775 for ac_last_try in false false false false false :; do
16776   . ./conf$$subs.sh ||
16777     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16778
16779   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16780   if test $ac_delim_n = $ac_delim_num; then
16781     break
16782   elif $ac_last_try; then
16783     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16784   else
16785     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16786   fi
16787 done
16788 rm -f conf$$subs.sh
16789
16790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16791 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16792 _ACEOF
16793 sed -n '
16794 h
16795 s/^/S["/; s/!.*/"]=/
16796 p
16797 g
16798 s/^[^!]*!//
16799 :repl
16800 t repl
16801 s/'"$ac_delim"'$//
16802 t delim
16803 :nl
16804 h
16805 s/\(.\{148\}\)..*/\1/
16806 t more1
16807 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16808 p
16809 n
16810 b repl
16811 :more1
16812 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16813 p
16814 g
16815 s/.\{148\}//
16816 t nl
16817 :delim
16818 h
16819 s/\(.\{148\}\)..*/\1/
16820 t more2
16821 s/["\\]/\\&/g; s/^/"/; s/$/"/
16822 p
16823 b
16824 :more2
16825 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16826 p
16827 g
16828 s/.\{148\}//
16829 t delim
16830 ' <conf$$subs.awk | sed '
16831 /^[^""]/{
16832   N
16833   s/\n//
16834 }
16835 ' >>$CONFIG_STATUS || ac_write_fail=1
16836 rm -f conf$$subs.awk
16837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16838 _ACAWK
16839 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16840   for (key in S) S_is_set[key] = 1
16841   FS = "\a"
16842
16843 }
16844 {
16845   line = $ 0
16846   nfields = split(line, field, "@")
16847   substed = 0
16848   len = length(field[1])
16849   for (i = 2; i < nfields; i++) {
16850     key = field[i]
16851     keylen = length(key)
16852     if (S_is_set[key]) {
16853       value = S[key]
16854       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16855       len += length(value) + length(field[++i])
16856       substed = 1
16857     } else
16858       len += 1 + keylen
16859   }
16860
16861   print line
16862 }
16863
16864 _ACAWK
16865 _ACEOF
16866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16867 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16868   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16869 else
16870   cat
16871 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16872   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16873 _ACEOF
16874
16875 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16876 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16877 # trailing colons and then remove the whole line if VPATH becomes empty
16878 # (actually we leave an empty line to preserve line numbers).
16879 if test "x$srcdir" = x.; then
16880   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16881 h
16882 s///
16883 s/^/:/
16884 s/[      ]*$/:/
16885 s/:\$(srcdir):/:/g
16886 s/:\${srcdir}:/:/g
16887 s/:@srcdir@:/:/g
16888 s/^:*//
16889 s/:*$//
16890 x
16891 s/\(=[   ]*\).*/\1/
16892 G
16893 s/\n//
16894 s/^[^=]*=[       ]*$//
16895 }'
16896 fi
16897
16898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16899 fi # test -n "$CONFIG_FILES"
16900
16901 # Set up the scripts for CONFIG_HEADERS section.
16902 # No need to generate them if there are no CONFIG_HEADERS.
16903 # This happens for instance with `./config.status Makefile'.
16904 if test -n "$CONFIG_HEADERS"; then
16905 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16906 BEGIN {
16907 _ACEOF
16908
16909 # Transform confdefs.h into an awk script `defines.awk', embedded as
16910 # here-document in config.status, that substitutes the proper values into
16911 # config.h.in to produce config.h.
16912
16913 # Create a delimiter string that does not exist in confdefs.h, to ease
16914 # handling of long lines.
16915 ac_delim='%!_!# '
16916 for ac_last_try in false false :; do
16917   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16918   if test -z "$ac_tt"; then
16919     break
16920   elif $ac_last_try; then
16921     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16922   else
16923     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16924   fi
16925 done
16926
16927 # For the awk script, D is an array of macro values keyed by name,
16928 # likewise P contains macro parameters if any.  Preserve backslash
16929 # newline sequences.
16930
16931 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16932 sed -n '
16933 s/.\{148\}/&'"$ac_delim"'/g
16934 t rset
16935 :rset
16936 s/^[     ]*#[    ]*define[       ][      ]*/ /
16937 t def
16938 d
16939 :def
16940 s/\\$//
16941 t bsnl
16942 s/["\\]/\\&/g
16943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16944 D["\1"]=" \3"/p
16945 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16946 d
16947 :bsnl
16948 s/["\\]/\\&/g
16949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16950 D["\1"]=" \3\\\\\\n"\\/p
16951 t cont
16952 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16953 t cont
16954 d
16955 :cont
16956 n
16957 s/.\{148\}/&'"$ac_delim"'/g
16958 t clear
16959 :clear
16960 s/\\$//
16961 t bsnlc
16962 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16963 d
16964 :bsnlc
16965 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16966 b cont
16967 ' <confdefs.h | sed '
16968 s/'"$ac_delim"'/"\\\
16969 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16970
16971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16972   for (key in D) D_is_set[key] = 1
16973   FS = "\a"
16974 }
16975 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16976   line = \$ 0
16977   split(line, arg, " ")
16978   if (arg[1] == "#") {
16979     defundef = arg[2]
16980     mac1 = arg[3]
16981   } else {
16982     defundef = substr(arg[1], 2)
16983     mac1 = arg[2]
16984   }
16985   split(mac1, mac2, "(") #)
16986   macro = mac2[1]
16987   prefix = substr(line, 1, index(line, defundef) - 1)
16988   if (D_is_set[macro]) {
16989     # Preserve the white space surrounding the "#".
16990     print prefix "define", macro P[macro] D[macro]
16991     next
16992   } else {
16993     # Replace #undef with comments.  This is necessary, for example,
16994     # in the case of _POSIX_SOURCE, which is predefined and required
16995     # on some systems where configure will not decide to define it.
16996     if (defundef == "undef") {
16997       print "/*", prefix defundef, macro, "*/"
16998       next
16999     }
17000   }
17001 }
17002 { print }
17003 _ACAWK
17004 _ACEOF
17005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17006   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17007 fi # test -n "$CONFIG_HEADERS"
17008
17009
17010 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17011 shift
17012 for ac_tag
17013 do
17014   case $ac_tag in
17015   :[FHLC]) ac_mode=$ac_tag; continue;;
17016   esac
17017   case $ac_mode$ac_tag in
17018   :[FHL]*:*);;
17019   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17020   :[FH]-) ac_tag=-:-;;
17021   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17022   esac
17023   ac_save_IFS=$IFS
17024   IFS=:
17025   set x $ac_tag
17026   IFS=$ac_save_IFS
17027   shift
17028   ac_file=$1
17029   shift
17030
17031   case $ac_mode in
17032   :L) ac_source=$1;;
17033   :[FH])
17034     ac_file_inputs=
17035     for ac_f
17036     do
17037       case $ac_f in
17038       -) ac_f="$ac_tmp/stdin";;
17039       *) # Look for the file first in the build tree, then in the source tree
17040          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17041          # because $ac_f cannot contain `:'.
17042          test -f "$ac_f" ||
17043            case $ac_f in
17044            [\\/$]*) false;;
17045            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17046            esac ||
17047            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17048       esac
17049       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17050       as_fn_append ac_file_inputs " '$ac_f'"
17051     done
17052
17053     # Let's still pretend it is `configure' which instantiates (i.e., don't
17054     # use $as_me), people would be surprised to read:
17055     #    /* config.h.  Generated by config.status.  */
17056     configure_input='Generated from '`
17057           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17058         `' by configure.'
17059     if test x"$ac_file" != x-; then
17060       configure_input="$ac_file.  $configure_input"
17061       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17062 $as_echo "$as_me: creating $ac_file" >&6;}
17063     fi
17064     # Neutralize special characters interpreted by sed in replacement strings.
17065     case $configure_input in #(
17066     *\&* | *\|* | *\\* )
17067        ac_sed_conf_input=`$as_echo "$configure_input" |
17068        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17069     *) ac_sed_conf_input=$configure_input;;
17070     esac
17071
17072     case $ac_tag in
17073     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17074       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17075     esac
17076     ;;
17077   esac
17078
17079   ac_dir=`$as_dirname -- "$ac_file" ||
17080 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17081          X"$ac_file" : 'X\(//\)[^/]' \| \
17082          X"$ac_file" : 'X\(//\)$' \| \
17083          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17084 $as_echo X"$ac_file" |
17085     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17086             s//\1/
17087             q
17088           }
17089           /^X\(\/\/\)[^/].*/{
17090             s//\1/
17091             q
17092           }
17093           /^X\(\/\/\)$/{
17094             s//\1/
17095             q
17096           }
17097           /^X\(\/\).*/{
17098             s//\1/
17099             q
17100           }
17101           s/.*/./; q'`
17102   as_dir="$ac_dir"; as_fn_mkdir_p
17103   ac_builddir=.
17104
17105 case "$ac_dir" in
17106 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17107 *)
17108   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17109   # A ".." for each directory in $ac_dir_suffix.
17110   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17111   case $ac_top_builddir_sub in
17112   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17113   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17114   esac ;;
17115 esac
17116 ac_abs_top_builddir=$ac_pwd
17117 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17118 # for backward compatibility:
17119 ac_top_builddir=$ac_top_build_prefix
17120
17121 case $srcdir in
17122   .)  # We are building in place.
17123     ac_srcdir=.
17124     ac_top_srcdir=$ac_top_builddir_sub
17125     ac_abs_top_srcdir=$ac_pwd ;;
17126   [\\/]* | ?:[\\/]* )  # Absolute name.
17127     ac_srcdir=$srcdir$ac_dir_suffix;
17128     ac_top_srcdir=$srcdir
17129     ac_abs_top_srcdir=$srcdir ;;
17130   *) # Relative name.
17131     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17132     ac_top_srcdir=$ac_top_build_prefix$srcdir
17133     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17134 esac
17135 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17136
17137
17138   case $ac_mode in
17139   :F)
17140   #
17141   # CONFIG_FILE
17142   #
17143
17144   case $INSTALL in
17145   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17146   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17147   esac
17148   ac_MKDIR_P=$MKDIR_P
17149   case $MKDIR_P in
17150   [\\/$]* | ?:[\\/]* ) ;;
17151   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17152   esac
17153 _ACEOF
17154
17155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17156 # If the template does not know about datarootdir, expand it.
17157 # FIXME: This hack should be removed a few years after 2.60.
17158 ac_datarootdir_hack=; ac_datarootdir_seen=
17159 ac_sed_dataroot='
17160 /datarootdir/ {
17161   p
17162   q
17163 }
17164 /@datadir@/p
17165 /@docdir@/p
17166 /@infodir@/p
17167 /@localedir@/p
17168 /@mandir@/p'
17169 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17170 *datarootdir*) ac_datarootdir_seen=yes;;
17171 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17172   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17173 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17174 _ACEOF
17175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17176   ac_datarootdir_hack='
17177   s&@datadir@&$datadir&g
17178   s&@docdir@&$docdir&g
17179   s&@infodir@&$infodir&g
17180   s&@localedir@&$localedir&g
17181   s&@mandir@&$mandir&g
17182   s&\\\${datarootdir}&$datarootdir&g' ;;
17183 esac
17184 _ACEOF
17185
17186 # Neutralize VPATH when `$srcdir' = `.'.
17187 # Shell code in configure.ac might set extrasub.
17188 # FIXME: do we really want to maintain this feature?
17189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17190 ac_sed_extra="$ac_vpsub
17191 $extrasub
17192 _ACEOF
17193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17194 :t
17195 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17196 s|@configure_input@|$ac_sed_conf_input|;t t
17197 s&@top_builddir@&$ac_top_builddir_sub&;t t
17198 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17199 s&@srcdir@&$ac_srcdir&;t t
17200 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17201 s&@top_srcdir@&$ac_top_srcdir&;t t
17202 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17203 s&@builddir@&$ac_builddir&;t t
17204 s&@abs_builddir@&$ac_abs_builddir&;t t
17205 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17206 s&@INSTALL@&$ac_INSTALL&;t t
17207 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17208 $ac_datarootdir_hack
17209 "
17210 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17211   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17212
17213 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17214   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17215   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17216       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17217   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17218 which seems to be undefined.  Please make sure it is defined" >&5
17219 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17220 which seems to be undefined.  Please make sure it is defined" >&2;}
17221
17222   rm -f "$ac_tmp/stdin"
17223   case $ac_file in
17224   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17225   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17226   esac \
17227   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17228  ;;
17229   :H)
17230   #
17231   # CONFIG_HEADER
17232   #
17233   if test x"$ac_file" != x-; then
17234     {
17235       $as_echo "/* $configure_input  */" \
17236       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17237     } >"$ac_tmp/config.h" \
17238       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17239     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17240       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17241 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17242     else
17243       rm -f "$ac_file"
17244       mv "$ac_tmp/config.h" "$ac_file" \
17245         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17246     fi
17247   else
17248     $as_echo "/* $configure_input  */" \
17249       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17250       || as_fn_error $? "could not create -" "$LINENO" 5
17251   fi
17252 # Compute "$ac_file"'s index in $config_headers.
17253 _am_arg="$ac_file"
17254 _am_stamp_count=1
17255 for _am_header in $config_headers :; do
17256   case $_am_header in
17257     $_am_arg | $_am_arg:* )
17258       break ;;
17259     * )
17260       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17261   esac
17262 done
17263 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17264 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17265          X"$_am_arg" : 'X\(//\)[^/]' \| \
17266          X"$_am_arg" : 'X\(//\)$' \| \
17267          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17268 $as_echo X"$_am_arg" |
17269     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17270             s//\1/
17271             q
17272           }
17273           /^X\(\/\/\)[^/].*/{
17274             s//\1/
17275             q
17276           }
17277           /^X\(\/\/\)$/{
17278             s//\1/
17279             q
17280           }
17281           /^X\(\/\).*/{
17282             s//\1/
17283             q
17284           }
17285           s/.*/./; q'`/stamp-h$_am_stamp_count
17286  ;;
17287
17288   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17289 $as_echo "$as_me: executing $ac_file commands" >&6;}
17290  ;;
17291   esac
17292
17293
17294   case $ac_file$ac_mode in
17295     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17296   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17297   # are listed without --file.  Let's play safe and only enable the eval
17298   # if we detect the quoting.
17299   case $CONFIG_FILES in
17300   *\'*) eval set x "$CONFIG_FILES" ;;
17301   *)   set x $CONFIG_FILES ;;
17302   esac
17303   shift
17304   for mf
17305   do
17306     # Strip MF so we end up with the name of the file.
17307     mf=`echo "$mf" | sed -e 's/:.*$//'`
17308     # Check whether this is an Automake generated Makefile or not.
17309     # We used to match only the files named `Makefile.in', but
17310     # some people rename them; so instead we look at the file content.
17311     # Grep'ing the first line is not enough: some people post-process
17312     # each Makefile.in and add a new line on top of each file to say so.
17313     # Grep'ing the whole file is not good either: AIX grep has a line
17314     # limit of 2048, but all sed's we know have understand at least 4000.
17315     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17316       dirpart=`$as_dirname -- "$mf" ||
17317 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17318          X"$mf" : 'X\(//\)[^/]' \| \
17319          X"$mf" : 'X\(//\)$' \| \
17320          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17321 $as_echo X"$mf" |
17322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17323             s//\1/
17324             q
17325           }
17326           /^X\(\/\/\)[^/].*/{
17327             s//\1/
17328             q
17329           }
17330           /^X\(\/\/\)$/{
17331             s//\1/
17332             q
17333           }
17334           /^X\(\/\).*/{
17335             s//\1/
17336             q
17337           }
17338           s/.*/./; q'`
17339     else
17340       continue
17341     fi
17342     # Extract the definition of DEPDIR, am__include, and am__quote
17343     # from the Makefile without running `make'.
17344     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17345     test -z "$DEPDIR" && continue
17346     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17347     test -z "am__include" && continue
17348     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17349     # When using ansi2knr, U may be empty or an underscore; expand it
17350     U=`sed -n 's/^U = //p' < "$mf"`
17351     # Find all dependency output files, they are included files with
17352     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17353     # simplest approach to changing $(DEPDIR) to its actual value in the
17354     # expansion.
17355     for file in `sed -n "
17356       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17357          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17358       # Make sure the directory exists.
17359       test -f "$dirpart/$file" && continue
17360       fdir=`$as_dirname -- "$file" ||
17361 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17362          X"$file" : 'X\(//\)[^/]' \| \
17363          X"$file" : 'X\(//\)$' \| \
17364          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17365 $as_echo X"$file" |
17366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17367             s//\1/
17368             q
17369           }
17370           /^X\(\/\/\)[^/].*/{
17371             s//\1/
17372             q
17373           }
17374           /^X\(\/\/\)$/{
17375             s//\1/
17376             q
17377           }
17378           /^X\(\/\).*/{
17379             s//\1/
17380             q
17381           }
17382           s/.*/./; q'`
17383       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17384       # echo "creating $dirpart/$file"
17385       echo '# dummy' > "$dirpart/$file"
17386     done
17387   done
17388 }
17389  ;;
17390     "libtool":C)
17391
17392     # See if we are running on zsh, and set the options which allow our
17393     # commands through without removal of \ escapes.
17394     if test -n "${ZSH_VERSION+set}" ; then
17395       setopt NO_GLOB_SUBST
17396     fi
17397
17398     cfgfile="${ofile}T"
17399     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17400     $RM "$cfgfile"
17401
17402     cat <<_LT_EOF >> "$cfgfile"
17403 #! $SHELL
17404
17405 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17406 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17407 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17408 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17409 #
17410 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17411 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17412 #                 Foundation, Inc.
17413 #   Written by Gordon Matzigkeit, 1996
17414 #
17415 #   This file is part of GNU Libtool.
17416 #
17417 # GNU Libtool is free software; you can redistribute it and/or
17418 # modify it under the terms of the GNU General Public License as
17419 # published by the Free Software Foundation; either version 2 of
17420 # the License, or (at your option) any later version.
17421 #
17422 # As a special exception to the GNU General Public License,
17423 # if you distribute this file as part of a program or library that
17424 # is built using GNU Libtool, you may include this file under the
17425 # same distribution terms that you use for the rest of that program.
17426 #
17427 # GNU Libtool is distributed in the hope that it will be useful,
17428 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17429 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17430 # GNU General Public License for more details.
17431 #
17432 # You should have received a copy of the GNU General Public License
17433 # along with GNU Libtool; see the file COPYING.  If not, a copy
17434 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17435 # obtained by writing to the Free Software Foundation, Inc.,
17436 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17437
17438
17439 # The names of the tagged configurations supported by this script.
17440 available_tags=""
17441
17442 # ### BEGIN LIBTOOL CONFIG
17443
17444 # Which release of libtool.m4 was used?
17445 macro_version=$macro_version
17446 macro_revision=$macro_revision
17447
17448 # Whether or not to build shared libraries.
17449 build_libtool_libs=$enable_shared
17450
17451 # Whether or not to build static libraries.
17452 build_old_libs=$enable_static
17453
17454 # What type of objects to build.
17455 pic_mode=$pic_mode
17456
17457 # Whether or not to optimize for fast installation.
17458 fast_install=$enable_fast_install
17459
17460 # Shell to use when invoking shell scripts.
17461 SHELL=$lt_SHELL
17462
17463 # An echo program that protects backslashes.
17464 ECHO=$lt_ECHO
17465
17466 # The PATH separator for the build system.
17467 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17468
17469 # The host system.
17470 host_alias=$host_alias
17471 host=$host
17472 host_os=$host_os
17473
17474 # The build system.
17475 build_alias=$build_alias
17476 build=$build
17477 build_os=$build_os
17478
17479 # A sed program that does not truncate output.
17480 SED=$lt_SED
17481
17482 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17483 Xsed="\$SED -e 1s/^X//"
17484
17485 # A grep program that handles long lines.
17486 GREP=$lt_GREP
17487
17488 # An ERE matcher.
17489 EGREP=$lt_EGREP
17490
17491 # A literal string matcher.
17492 FGREP=$lt_FGREP
17493
17494 # A BSD- or MS-compatible name lister.
17495 NM=$lt_NM
17496
17497 # Whether we need soft or hard links.
17498 LN_S=$lt_LN_S
17499
17500 # What is the maximum length of a command?
17501 max_cmd_len=$max_cmd_len
17502
17503 # Object file suffix (normally "o").
17504 objext=$ac_objext
17505
17506 # Executable file suffix (normally "").
17507 exeext=$exeext
17508
17509 # whether the shell understands "unset".
17510 lt_unset=$lt_unset
17511
17512 # turn spaces into newlines.
17513 SP2NL=$lt_lt_SP2NL
17514
17515 # turn newlines into spaces.
17516 NL2SP=$lt_lt_NL2SP
17517
17518 # convert \$build file names to \$host format.
17519 to_host_file_cmd=$lt_cv_to_host_file_cmd
17520
17521 # convert \$build files to toolchain format.
17522 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17523
17524 # An object symbol dumper.
17525 OBJDUMP=$lt_OBJDUMP
17526
17527 # Method to check whether dependent libraries are shared objects.
17528 deplibs_check_method=$lt_deplibs_check_method
17529
17530 # Command to use when deplibs_check_method = "file_magic".
17531 file_magic_cmd=$lt_file_magic_cmd
17532
17533 # How to find potential files when deplibs_check_method = "file_magic".
17534 file_magic_glob=$lt_file_magic_glob
17535
17536 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17537 want_nocaseglob=$lt_want_nocaseglob
17538
17539 # DLL creation program.
17540 DLLTOOL=$lt_DLLTOOL
17541
17542 # Command to associate shared and link libraries.
17543 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17544
17545 # The archiver.
17546 AR=$lt_AR
17547
17548 # Flags to create an archive.
17549 AR_FLAGS=$lt_AR_FLAGS
17550
17551 # How to feed a file listing to the archiver.
17552 archiver_list_spec=$lt_archiver_list_spec
17553
17554 # A symbol stripping program.
17555 STRIP=$lt_STRIP
17556
17557 # Commands used to install an old-style archive.
17558 RANLIB=$lt_RANLIB
17559 old_postinstall_cmds=$lt_old_postinstall_cmds
17560 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17561
17562 # Whether to use a lock for old archive extraction.
17563 lock_old_archive_extraction=$lock_old_archive_extraction
17564
17565 # A C compiler.
17566 LTCC=$lt_CC
17567
17568 # LTCC compiler flags.
17569 LTCFLAGS=$lt_CFLAGS
17570
17571 # Take the output of nm and produce a listing of raw symbols and C names.
17572 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17573
17574 # Transform the output of nm in a proper C declaration.
17575 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17576
17577 # Transform the output of nm in a C name address pair.
17578 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17579
17580 # Transform the output of nm in a C name address pair when lib prefix is needed.
17581 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17582
17583 # Specify filename containing input files for \$NM.
17584 nm_file_list_spec=$lt_nm_file_list_spec
17585
17586 # The root where to search for dependent libraries,and in which our libraries should be installed.
17587 lt_sysroot=$lt_sysroot
17588
17589 # The name of the directory that contains temporary libtool files.
17590 objdir=$objdir
17591
17592 # Used to examine libraries when file_magic_cmd begins with "file".
17593 MAGIC_CMD=$MAGIC_CMD
17594
17595 # Must we lock files when doing compilation?
17596 need_locks=$lt_need_locks
17597
17598 # Manifest tool.
17599 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17600
17601 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17602 DSYMUTIL=$lt_DSYMUTIL
17603
17604 # Tool to change global to local symbols on Mac OS X.
17605 NMEDIT=$lt_NMEDIT
17606
17607 # Tool to manipulate fat objects and archives on Mac OS X.
17608 LIPO=$lt_LIPO
17609
17610 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17611 OTOOL=$lt_OTOOL
17612
17613 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17614 OTOOL64=$lt_OTOOL64
17615
17616 # Old archive suffix (normally "a").
17617 libext=$libext
17618
17619 # Shared library suffix (normally ".so").
17620 shrext_cmds=$lt_shrext_cmds
17621
17622 # The commands to extract the exported symbol list from a shared archive.
17623 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17624
17625 # Variables whose values should be saved in libtool wrapper scripts and
17626 # restored at link time.
17627 variables_saved_for_relink=$lt_variables_saved_for_relink
17628
17629 # Do we need the "lib" prefix for modules?
17630 need_lib_prefix=$need_lib_prefix
17631
17632 # Do we need a version for libraries?
17633 need_version=$need_version
17634
17635 # Library versioning type.
17636 version_type=$version_type
17637
17638 # Shared library runtime path variable.
17639 runpath_var=$runpath_var
17640
17641 # Shared library path variable.
17642 shlibpath_var=$shlibpath_var
17643
17644 # Is shlibpath searched before the hard-coded library search path?
17645 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17646
17647 # Format of library name prefix.
17648 libname_spec=$lt_libname_spec
17649
17650 # List of archive names.  First name is the real one, the rest are links.
17651 # The last name is the one that the linker finds with -lNAME
17652 library_names_spec=$lt_library_names_spec
17653
17654 # The coded name of the library, if different from the real name.
17655 soname_spec=$lt_soname_spec
17656
17657 # Permission mode override for installation of shared libraries.
17658 install_override_mode=$lt_install_override_mode
17659
17660 # Command to use after installation of a shared archive.
17661 postinstall_cmds=$lt_postinstall_cmds
17662
17663 # Command to use after uninstallation of a shared archive.
17664 postuninstall_cmds=$lt_postuninstall_cmds
17665
17666 # Commands used to finish a libtool library installation in a directory.
17667 finish_cmds=$lt_finish_cmds
17668
17669 # As "finish_cmds", except a single script fragment to be evaled but
17670 # not shown.
17671 finish_eval=$lt_finish_eval
17672
17673 # Whether we should hardcode library paths into libraries.
17674 hardcode_into_libs=$hardcode_into_libs
17675
17676 # Compile-time system search path for libraries.
17677 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17678
17679 # Run-time system search path for libraries.
17680 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17681
17682 # Whether dlopen is supported.
17683 dlopen_support=$enable_dlopen
17684
17685 # Whether dlopen of programs is supported.
17686 dlopen_self=$enable_dlopen_self
17687
17688 # Whether dlopen of statically linked programs is supported.
17689 dlopen_self_static=$enable_dlopen_self_static
17690
17691 # Commands to strip libraries.
17692 old_striplib=$lt_old_striplib
17693 striplib=$lt_striplib
17694
17695
17696 # The linker used to build libraries.
17697 LD=$lt_LD
17698
17699 # How to create reloadable object files.
17700 reload_flag=$lt_reload_flag
17701 reload_cmds=$lt_reload_cmds
17702
17703 # Commands used to build an old-style archive.
17704 old_archive_cmds=$lt_old_archive_cmds
17705
17706 # A language specific compiler.
17707 CC=$lt_compiler
17708
17709 # Is the compiler the GNU compiler?
17710 with_gcc=$GCC
17711
17712 # Compiler flag to turn off builtin functions.
17713 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17714
17715 # Additional compiler flags for building library objects.
17716 pic_flag=$lt_lt_prog_compiler_pic
17717
17718 # How to pass a linker flag through the compiler.
17719 wl=$lt_lt_prog_compiler_wl
17720
17721 # Compiler flag to prevent dynamic linking.
17722 link_static_flag=$lt_lt_prog_compiler_static
17723
17724 # Does compiler simultaneously support -c and -o options?
17725 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17726
17727 # Whether or not to add -lc for building shared libraries.
17728 build_libtool_need_lc=$archive_cmds_need_lc
17729
17730 # Whether or not to disallow shared libs when runtime libs are static.
17731 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17732
17733 # Compiler flag to allow reflexive dlopens.
17734 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17735
17736 # Compiler flag to generate shared objects directly from archives.
17737 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17738
17739 # Whether the compiler copes with passing no objects directly.
17740 compiler_needs_object=$lt_compiler_needs_object
17741
17742 # Create an old-style archive from a shared archive.
17743 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17744
17745 # Create a temporary old-style archive to link instead of a shared archive.
17746 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17747
17748 # Commands used to build a shared archive.
17749 archive_cmds=$lt_archive_cmds
17750 archive_expsym_cmds=$lt_archive_expsym_cmds
17751
17752 # Commands used to build a loadable module if different from building
17753 # a shared archive.
17754 module_cmds=$lt_module_cmds
17755 module_expsym_cmds=$lt_module_expsym_cmds
17756
17757 # Whether we are building with GNU ld or not.
17758 with_gnu_ld=$lt_with_gnu_ld
17759
17760 # Flag that allows shared libraries with undefined symbols to be built.
17761 allow_undefined_flag=$lt_allow_undefined_flag
17762
17763 # Flag that enforces no undefined symbols.
17764 no_undefined_flag=$lt_no_undefined_flag
17765
17766 # Flag to hardcode \$libdir into a binary during linking.
17767 # This must work even if \$libdir does not exist
17768 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17769
17770 # Whether we need a single "-rpath" flag with a separated argument.
17771 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17772
17773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17774 # DIR into the resulting binary.
17775 hardcode_direct=$hardcode_direct
17776
17777 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17778 # DIR into the resulting binary and the resulting library dependency is
17779 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17780 # library is relocated.
17781 hardcode_direct_absolute=$hardcode_direct_absolute
17782
17783 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17784 # into the resulting binary.
17785 hardcode_minus_L=$hardcode_minus_L
17786
17787 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17788 # into the resulting binary.
17789 hardcode_shlibpath_var=$hardcode_shlibpath_var
17790
17791 # Set to "yes" if building a shared library automatically hardcodes DIR
17792 # into the library and all subsequent libraries and executables linked
17793 # against it.
17794 hardcode_automatic=$hardcode_automatic
17795
17796 # Set to yes if linker adds runtime paths of dependent libraries
17797 # to runtime path list.
17798 inherit_rpath=$inherit_rpath
17799
17800 # Whether libtool must link a program against all its dependency libraries.
17801 link_all_deplibs=$link_all_deplibs
17802
17803 # Set to "yes" if exported symbols are required.
17804 always_export_symbols=$always_export_symbols
17805
17806 # The commands to list exported symbols.
17807 export_symbols_cmds=$lt_export_symbols_cmds
17808
17809 # Symbols that should not be listed in the preloaded symbols.
17810 exclude_expsyms=$lt_exclude_expsyms
17811
17812 # Symbols that must always be exported.
17813 include_expsyms=$lt_include_expsyms
17814
17815 # Commands necessary for linking programs (against libraries) with templates.
17816 prelink_cmds=$lt_prelink_cmds
17817
17818 # Commands necessary for finishing linking programs.
17819 postlink_cmds=$lt_postlink_cmds
17820
17821 # Specify filename containing input files.
17822 file_list_spec=$lt_file_list_spec
17823
17824 # How to hardcode a shared library path into an executable.
17825 hardcode_action=$hardcode_action
17826
17827 # ### END LIBTOOL CONFIG
17828
17829 _LT_EOF
17830
17831   case $host_os in
17832   aix3*)
17833     cat <<\_LT_EOF >> "$cfgfile"
17834 # AIX sometimes has problems with the GCC collect2 program.  For some
17835 # reason, if we set the COLLECT_NAMES environment variable, the problems
17836 # vanish in a puff of smoke.
17837 if test "X${COLLECT_NAMES+set}" != Xset; then
17838   COLLECT_NAMES=
17839   export COLLECT_NAMES
17840 fi
17841 _LT_EOF
17842     ;;
17843   esac
17844
17845
17846 ltmain="$ac_aux_dir/ltmain.sh"
17847
17848
17849   # We use sed instead of cat because bash on DJGPP gets confused if
17850   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17851   # text mode, it properly converts lines to CR/LF.  This bash problem
17852   # is reportedly fixed, but why not run on old versions too?
17853   sed '$q' "$ltmain" >> "$cfgfile" \
17854      || (rm -f "$cfgfile"; exit 1)
17855
17856   if test x"$xsi_shell" = xyes; then
17857   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17858 func_dirname ()\
17859 {\
17860 \    case ${1} in\
17861 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17862 \      *  ) func_dirname_result="${3}" ;;\
17863 \    esac\
17864 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17865   && mv -f "$cfgfile.tmp" "$cfgfile" \
17866     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17867 test 0 -eq $? || _lt_function_replace_fail=:
17868
17869
17870   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17871 func_basename ()\
17872 {\
17873 \    func_basename_result="${1##*/}"\
17874 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17875   && mv -f "$cfgfile.tmp" "$cfgfile" \
17876     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17877 test 0 -eq $? || _lt_function_replace_fail=:
17878
17879
17880   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17881 func_dirname_and_basename ()\
17882 {\
17883 \    case ${1} in\
17884 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17885 \      *  ) func_dirname_result="${3}" ;;\
17886 \    esac\
17887 \    func_basename_result="${1##*/}"\
17888 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17889   && mv -f "$cfgfile.tmp" "$cfgfile" \
17890     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17891 test 0 -eq $? || _lt_function_replace_fail=:
17892
17893
17894   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17895 func_stripname ()\
17896 {\
17897 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17898 \    # positional parameters, so assign one to ordinary parameter first.\
17899 \    func_stripname_result=${3}\
17900 \    func_stripname_result=${func_stripname_result#"${1}"}\
17901 \    func_stripname_result=${func_stripname_result%"${2}"}\
17902 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17903   && mv -f "$cfgfile.tmp" "$cfgfile" \
17904     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17905 test 0 -eq $? || _lt_function_replace_fail=:
17906
17907
17908   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17909 func_split_long_opt ()\
17910 {\
17911 \    func_split_long_opt_name=${1%%=*}\
17912 \    func_split_long_opt_arg=${1#*=}\
17913 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17914   && mv -f "$cfgfile.tmp" "$cfgfile" \
17915     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17916 test 0 -eq $? || _lt_function_replace_fail=:
17917
17918
17919   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17920 func_split_short_opt ()\
17921 {\
17922 \    func_split_short_opt_arg=${1#??}\
17923 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17924 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17925   && mv -f "$cfgfile.tmp" "$cfgfile" \
17926     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17927 test 0 -eq $? || _lt_function_replace_fail=:
17928
17929
17930   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17931 func_lo2o ()\
17932 {\
17933 \    case ${1} in\
17934 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17935 \      *)    func_lo2o_result=${1} ;;\
17936 \    esac\
17937 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17938   && mv -f "$cfgfile.tmp" "$cfgfile" \
17939     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17940 test 0 -eq $? || _lt_function_replace_fail=:
17941
17942
17943   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17944 func_xform ()\
17945 {\
17946     func_xform_result=${1%.*}.lo\
17947 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17948   && mv -f "$cfgfile.tmp" "$cfgfile" \
17949     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17950 test 0 -eq $? || _lt_function_replace_fail=:
17951
17952
17953   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17954 func_arith ()\
17955 {\
17956     func_arith_result=$(( $* ))\
17957 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17958   && mv -f "$cfgfile.tmp" "$cfgfile" \
17959     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17960 test 0 -eq $? || _lt_function_replace_fail=:
17961
17962
17963   sed -e '/^func_len ()$/,/^} # func_len /c\
17964 func_len ()\
17965 {\
17966     func_len_result=${#1}\
17967 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17968   && mv -f "$cfgfile.tmp" "$cfgfile" \
17969     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17970 test 0 -eq $? || _lt_function_replace_fail=:
17971
17972 fi
17973
17974 if test x"$lt_shell_append" = xyes; then
17975   sed -e '/^func_append ()$/,/^} # func_append /c\
17976 func_append ()\
17977 {\
17978     eval "${1}+=\\${2}"\
17979 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17980   && mv -f "$cfgfile.tmp" "$cfgfile" \
17981     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17982 test 0 -eq $? || _lt_function_replace_fail=:
17983
17984
17985   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17986 func_append_quoted ()\
17987 {\
17988 \    func_quote_for_eval "${2}"\
17989 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17990 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17991   && mv -f "$cfgfile.tmp" "$cfgfile" \
17992     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17993 test 0 -eq $? || _lt_function_replace_fail=:
17994
17995
17996   # Save a `func_append' function call where possible by direct use of '+='
17997   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17998     && mv -f "$cfgfile.tmp" "$cfgfile" \
17999       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18000   test 0 -eq $? || _lt_function_replace_fail=:
18001 else
18002   # Save a `func_append' function call even when '+=' is not available
18003   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18004     && mv -f "$cfgfile.tmp" "$cfgfile" \
18005       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18006   test 0 -eq $? || _lt_function_replace_fail=:
18007 fi
18008
18009 if test x"$_lt_function_replace_fail" = x":"; then
18010   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18011 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18012 fi
18013
18014
18015    mv -f "$cfgfile" "$ofile" ||
18016     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18017   chmod +x "$ofile"
18018
18019  ;;
18020     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18021         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18022       esac ;;
18023     "po/stamp-it":C)
18024     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18025        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18026     fi
18027     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18028     >"po/stamp-it.tmp"
18029     sed '/^#/d
18030          s/^[[].*] *//
18031          /^[    ]*$/d
18032         '"s|^|  $ac_top_srcdir/|" \
18033       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18034
18035     sed '/^POTFILES =/,/[^\\]$/ {
18036                 /^POTFILES =/!d
18037                 r po/POTFILES
18038           }
18039          ' "po/Makefile.in" >"po/Makefile"
18040     rm -f "po/Makefile.tmp"
18041     mv "po/stamp-it.tmp" "po/stamp-it"
18042    ;;
18043
18044   esac
18045 done # for ac_tag
18046
18047
18048 as_fn_exit 0
18049 _ACEOF
18050 ac_clean_files=$ac_clean_files_save
18051
18052 test $ac_write_fail = 0 ||
18053   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18054
18055
18056 # configure is writing to config.log, and then calls config.status.
18057 # config.status does its own redirection, appending to config.log.
18058 # Unfortunately, on DOS this fails, as config.log is still kept open
18059 # by configure, so config.status won't be able to write to it; its
18060 # output is simply discarded.  So we exec the FD to /dev/null,
18061 # effectively closing config.log, so it can be properly (re)opened and
18062 # appended to by config.status.  When coming back to configure, we
18063 # need to make the FD available again.
18064 if test "$no_create" != yes; then
18065   ac_cs_success=:
18066   ac_config_status_args=
18067   test "$silent" = yes &&
18068     ac_config_status_args="$ac_config_status_args --quiet"
18069   exec 5>/dev/null
18070   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18071   exec 5>>config.log
18072   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18073   # would make configure fail if this is the last instruction.
18074   $ac_cs_success || as_fn_exit 1
18075 fi
18076 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18077   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18078 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18079 fi
18080
18081
18082
18083 echo "
18084
18085 Configuration:
18086
18087         Package ................. ${PACKAGE}-${VERSION}
18088         Installation prefix ..... ${prefix}
18089         Source code location .... ${srcdir}
18090         Compiler ................ ${CC}
18091
18092
18093 Optional data merge backends:
18094
18095         Evolution Data Server ... ${have_libebook}
18096
18097
18098 Optional barcode backends:
18099
18100         GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
18101         QR Code ................. ${have_libqrencode} ${help_libqrencode}
18102         IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
18103         Zint .................... ${have_libzint} ${help_libzint}
18104
18105
18106 "