]> git.sur5r.net Git - glabels/blob - configure
Prepare 3.2.1-1
[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.1.
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.1'
595 PACKAGE_STRING='glabels 3.2.1'
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 HAVE_GTK_DOC_FALSE
704 HAVE_GTK_DOC_TRUE
705 GTKDOC_DEPS_LIBS
706 GTKDOC_DEPS_CFLAGS
707 HTML_DIR
708 GTKDOC_MKPDF
709 GTKDOC_REBASE
710 GTKDOC_CHECK_PATH
711 GTKDOC_CHECK
712 YELP_HELP_RULES
713 XMLLINT
714 ITSTOOL
715 HELP_DIR
716 CPP
717 OTOOL64
718 OTOOL
719 LIPO
720 NMEDIT
721 DSYMUTIL
722 MANIFEST_TOOL
723 RANLIB
724 ac_ct_AR
725 AR
726 DLLTOOL
727 OBJDUMP
728 LN_S
729 NM
730 ac_ct_DUMPBIN
731 DUMPBIN
732 LD
733 FGREP
734 EGREP
735 GREP
736 SED
737 host_os
738 host_vendor
739 host_cpu
740 host
741 build_os
742 build_vendor
743 build_cpu
744 build
745 LIBTOOL
746 PKG_CONFIG_LIBDIR
747 PKG_CONFIG_PATH
748 PKG_CONFIG
749 DATADIRNAME
750 am__fastdepCC_FALSE
751 am__fastdepCC_TRUE
752 CCDEPMODE
753 am__nodep
754 AMDEPBACKSLASH
755 AMDEP_FALSE
756 AMDEP_TRUE
757 am__quote
758 am__include
759 DEPDIR
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
766 CC
767 ALL_LINGUAS
768 INTLTOOL_PERL
769 GMSGFMT
770 MSGFMT
771 MSGMERGE
772 XGETTEXT
773 INTLTOOL_POLICY_RULE
774 INTLTOOL_SERVICE_RULE
775 INTLTOOL_THEME_RULE
776 INTLTOOL_SCHEMAS_RULE
777 INTLTOOL_CAVES_RULE
778 INTLTOOL_XML_NOMERGE_RULE
779 INTLTOOL_XML_RULE
780 INTLTOOL_KBD_RULE
781 INTLTOOL_XAM_RULE
782 INTLTOOL_UI_RULE
783 INTLTOOL_SOUNDLIST_RULE
784 INTLTOOL_SHEET_RULE
785 INTLTOOL_SERVER_RULE
786 INTLTOOL_PONG_RULE
787 INTLTOOL_OAF_RULE
788 INTLTOOL_PROP_RULE
789 INTLTOOL_KEYS_RULE
790 INTLTOOL_DIRECTORY_RULE
791 INTLTOOL_DESKTOP_RULE
792 intltool__v_merge_options_0
793 intltool__v_merge_options_
794 INTLTOOL_V_MERGE_OPTIONS
795 INTLTOOL__v_MERGE_0
796 INTLTOOL__v_MERGE_
797 INTLTOOL_V_MERGE
798 INTLTOOL_EXTRACT
799 INTLTOOL_MERGE
800 INTLTOOL_UPDATE
801 USE_NLS
802 MAINT
803 MAINTAINER_MODE_FALSE
804 MAINTAINER_MODE_TRUE
805 AM_BACKSLASH
806 AM_DEFAULT_VERBOSITY
807 AM_DEFAULT_V
808 AM_V
809 am__untar
810 am__tar
811 AMTAR
812 am__leading_dot
813 SET_MAKE
814 AWK
815 mkdir_p
816 MKDIR_P
817 INSTALL_STRIP_PROGRAM
818 STRIP
819 install_sh
820 MAKEINFO
821 AUTOHEADER
822 AUTOMAKE
823 AUTOCONF
824 ACLOCAL
825 VERSION
826 PACKAGE
827 CYGPATH_W
828 am__isrc
829 INSTALL_DATA
830 INSTALL_SCRIPT
831 INSTALL_PROGRAM
832 target_alias
833 host_alias
834 build_alias
835 LIBS
836 ECHO_T
837 ECHO_N
838 ECHO_C
839 DEFS
840 mandir
841 localedir
842 libdir
843 psdir
844 pdfdir
845 dvidir
846 htmldir
847 infodir
848 docdir
849 oldincludedir
850 includedir
851 localstatedir
852 sharedstatedir
853 sysconfdir
854 datadir
855 datarootdir
856 libexecdir
857 sbindir
858 bindir
859 program_transform_name
860 prefix
861 exec_prefix
862 PACKAGE_URL
863 PACKAGE_BUGREPORT
864 PACKAGE_STRING
865 PACKAGE_VERSION
866 PACKAGE_TARNAME
867 PACKAGE_NAME
868 PATH_SEPARATOR
869 SHELL'
870 ac_subst_files=''
871 ac_user_opts='
872 enable_option_checking
873 enable_silent_rules
874 enable_maintainer_mode
875 enable_nls
876 enable_dependency_tracking
877 enable_shared
878 enable_static
879 with_pic
880 enable_fast_install
881 with_gnu_ld
882 with_sysroot
883 enable_libtool_lock
884 with_help_dir
885 with_html_dir
886 enable_gtk_doc
887 enable_gtk_doc_html
888 enable_gtk_doc_pdf
889 enable_schemas_compile
890 enable_compile_warnings
891 enable_iso_c
892 with_libebook
893 with_libbarcode
894 with_libzint
895 with_libqrencode
896 with_libiec16022
897 enable_deprecations
898 '
899       ac_precious_vars='build_alias
900 host_alias
901 target_alias
902 CC
903 CFLAGS
904 LDFLAGS
905 LIBS
906 CPPFLAGS
907 PKG_CONFIG
908 PKG_CONFIG_PATH
909 PKG_CONFIG_LIBDIR
910 CPP
911 ITSTOOL
912 XMLLINT
913 GTKDOC_DEPS_CFLAGS
914 GTKDOC_DEPS_LIBS
915 GLABELS_CFLAGS
916 GLABELS_LIBS
917 LIBGLABELS_CFLAGS
918 LIBGLABELS_LIBS
919 LIBGLBARCODE_CFLAGS
920 LIBGLBARCODE_LIBS
921 LIBEBOOK_CFLAGS
922 LIBEBOOK_LIBS
923 LIBQRENCODE_CFLAGS
924 LIBQRENCODE_LIBS
925 LIBIEC16022_CFLAGS
926 LIBIEC16022_LIBS'
927
928
929 # Initialize some variables set by options.
930 ac_init_help=
931 ac_init_version=false
932 ac_unrecognized_opts=
933 ac_unrecognized_sep=
934 # The variables have the same names as the options, with
935 # dashes changed to underlines.
936 cache_file=/dev/null
937 exec_prefix=NONE
938 no_create=
939 no_recursion=
940 prefix=NONE
941 program_prefix=NONE
942 program_suffix=NONE
943 program_transform_name=s,x,x,
944 silent=
945 site=
946 srcdir=
947 verbose=
948 x_includes=NONE
949 x_libraries=NONE
950
951 # Installation directory options.
952 # These are left unexpanded so users can "make install exec_prefix=/foo"
953 # and all the variables that are supposed to be based on exec_prefix
954 # by default will actually change.
955 # Use braces instead of parens because sh, perl, etc. also accept them.
956 # (The list follows the same order as the GNU Coding Standards.)
957 bindir='${exec_prefix}/bin'
958 sbindir='${exec_prefix}/sbin'
959 libexecdir='${exec_prefix}/libexec'
960 datarootdir='${prefix}/share'
961 datadir='${datarootdir}'
962 sysconfdir='${prefix}/etc'
963 sharedstatedir='${prefix}/com'
964 localstatedir='${prefix}/var'
965 includedir='${prefix}/include'
966 oldincludedir='/usr/include'
967 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
968 infodir='${datarootdir}/info'
969 htmldir='${docdir}'
970 dvidir='${docdir}'
971 pdfdir='${docdir}'
972 psdir='${docdir}'
973 libdir='${exec_prefix}/lib'
974 localedir='${datarootdir}/locale'
975 mandir='${datarootdir}/man'
976
977 ac_prev=
978 ac_dashdash=
979 for ac_option
980 do
981   # If the previous option needs an argument, assign it.
982   if test -n "$ac_prev"; then
983     eval $ac_prev=\$ac_option
984     ac_prev=
985     continue
986   fi
987
988   case $ac_option in
989   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990   *=)   ac_optarg= ;;
991   *)    ac_optarg=yes ;;
992   esac
993
994   # Accept the important Cygnus configure options, so we can diagnose typos.
995
996   case $ac_dashdash$ac_option in
997   --)
998     ac_dashdash=yes ;;
999
1000   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1001     ac_prev=bindir ;;
1002   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003     bindir=$ac_optarg ;;
1004
1005   -build | --build | --buil | --bui | --bu)
1006     ac_prev=build_alias ;;
1007   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008     build_alias=$ac_optarg ;;
1009
1010   -cache-file | --cache-file | --cache-fil | --cache-fi \
1011   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012     ac_prev=cache_file ;;
1013   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015     cache_file=$ac_optarg ;;
1016
1017   --config-cache | -C)
1018     cache_file=config.cache ;;
1019
1020   -datadir | --datadir | --datadi | --datad)
1021     ac_prev=datadir ;;
1022   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023     datadir=$ac_optarg ;;
1024
1025   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026   | --dataroo | --dataro | --datar)
1027     ac_prev=datarootdir ;;
1028   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030     datarootdir=$ac_optarg ;;
1031
1032   -disable-* | --disable-*)
1033     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034     # Reject names that are not valid shell variable names.
1035     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036       as_fn_error $? "invalid feature name: $ac_useropt"
1037     ac_useropt_orig=$ac_useropt
1038     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039     case $ac_user_opts in
1040       *"
1041 "enable_$ac_useropt"
1042 "*) ;;
1043       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044          ac_unrecognized_sep=', ';;
1045     esac
1046     eval enable_$ac_useropt=no ;;
1047
1048   -docdir | --docdir | --docdi | --doc | --do)
1049     ac_prev=docdir ;;
1050   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1051     docdir=$ac_optarg ;;
1052
1053   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1054     ac_prev=dvidir ;;
1055   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1056     dvidir=$ac_optarg ;;
1057
1058   -enable-* | --enable-*)
1059     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060     # Reject names that are not valid shell variable names.
1061     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062       as_fn_error $? "invalid feature name: $ac_useropt"
1063     ac_useropt_orig=$ac_useropt
1064     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065     case $ac_user_opts in
1066       *"
1067 "enable_$ac_useropt"
1068 "*) ;;
1069       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070          ac_unrecognized_sep=', ';;
1071     esac
1072     eval enable_$ac_useropt=\$ac_optarg ;;
1073
1074   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076   | --exec | --exe | --ex)
1077     ac_prev=exec_prefix ;;
1078   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080   | --exec=* | --exe=* | --ex=*)
1081     exec_prefix=$ac_optarg ;;
1082
1083   -gas | --gas | --ga | --g)
1084     # Obsolete; use --with-gas.
1085     with_gas=yes ;;
1086
1087   -help | --help | --hel | --he | -h)
1088     ac_init_help=long ;;
1089   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090     ac_init_help=recursive ;;
1091   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092     ac_init_help=short ;;
1093
1094   -host | --host | --hos | --ho)
1095     ac_prev=host_alias ;;
1096   -host=* | --host=* | --hos=* | --ho=*)
1097     host_alias=$ac_optarg ;;
1098
1099   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100     ac_prev=htmldir ;;
1101   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102   | --ht=*)
1103     htmldir=$ac_optarg ;;
1104
1105   -includedir | --includedir | --includedi | --included | --include \
1106   | --includ | --inclu | --incl | --inc)
1107     ac_prev=includedir ;;
1108   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109   | --includ=* | --inclu=* | --incl=* | --inc=*)
1110     includedir=$ac_optarg ;;
1111
1112   -infodir | --infodir | --infodi | --infod | --info | --inf)
1113     ac_prev=infodir ;;
1114   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115     infodir=$ac_optarg ;;
1116
1117   -libdir | --libdir | --libdi | --libd)
1118     ac_prev=libdir ;;
1119   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120     libdir=$ac_optarg ;;
1121
1122   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123   | --libexe | --libex | --libe)
1124     ac_prev=libexecdir ;;
1125   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126   | --libexe=* | --libex=* | --libe=*)
1127     libexecdir=$ac_optarg ;;
1128
1129   -localedir | --localedir | --localedi | --localed | --locale)
1130     ac_prev=localedir ;;
1131   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132     localedir=$ac_optarg ;;
1133
1134   -localstatedir | --localstatedir | --localstatedi | --localstated \
1135   | --localstate | --localstat | --localsta | --localst | --locals)
1136     ac_prev=localstatedir ;;
1137   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139     localstatedir=$ac_optarg ;;
1140
1141   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142     ac_prev=mandir ;;
1143   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144     mandir=$ac_optarg ;;
1145
1146   -nfp | --nfp | --nf)
1147     # Obsolete; use --without-fp.
1148     with_fp=no ;;
1149
1150   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151   | --no-cr | --no-c | -n)
1152     no_create=yes ;;
1153
1154   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1156     no_recursion=yes ;;
1157
1158   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160   | --oldin | --oldi | --old | --ol | --o)
1161     ac_prev=oldincludedir ;;
1162   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165     oldincludedir=$ac_optarg ;;
1166
1167   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168     ac_prev=prefix ;;
1169   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170     prefix=$ac_optarg ;;
1171
1172   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173   | --program-pre | --program-pr | --program-p)
1174     ac_prev=program_prefix ;;
1175   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177     program_prefix=$ac_optarg ;;
1178
1179   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180   | --program-suf | --program-su | --program-s)
1181     ac_prev=program_suffix ;;
1182   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184     program_suffix=$ac_optarg ;;
1185
1186   -program-transform-name | --program-transform-name \
1187   | --program-transform-nam | --program-transform-na \
1188   | --program-transform-n | --program-transform- \
1189   | --program-transform | --program-transfor \
1190   | --program-transfo | --program-transf \
1191   | --program-trans | --program-tran \
1192   | --progr-tra | --program-tr | --program-t)
1193     ac_prev=program_transform_name ;;
1194   -program-transform-name=* | --program-transform-name=* \
1195   | --program-transform-nam=* | --program-transform-na=* \
1196   | --program-transform-n=* | --program-transform-=* \
1197   | --program-transform=* | --program-transfor=* \
1198   | --program-transfo=* | --program-transf=* \
1199   | --program-trans=* | --program-tran=* \
1200   | --progr-tra=* | --program-tr=* | --program-t=*)
1201     program_transform_name=$ac_optarg ;;
1202
1203   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204     ac_prev=pdfdir ;;
1205   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206     pdfdir=$ac_optarg ;;
1207
1208   -psdir | --psdir | --psdi | --psd | --ps)
1209     ac_prev=psdir ;;
1210   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1211     psdir=$ac_optarg ;;
1212
1213   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214   | -silent | --silent | --silen | --sile | --sil)
1215     silent=yes ;;
1216
1217   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218     ac_prev=sbindir ;;
1219   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220   | --sbi=* | --sb=*)
1221     sbindir=$ac_optarg ;;
1222
1223   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225   | --sharedst | --shareds | --shared | --share | --shar \
1226   | --sha | --sh)
1227     ac_prev=sharedstatedir ;;
1228   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231   | --sha=* | --sh=*)
1232     sharedstatedir=$ac_optarg ;;
1233
1234   -site | --site | --sit)
1235     ac_prev=site ;;
1236   -site=* | --site=* | --sit=*)
1237     site=$ac_optarg ;;
1238
1239   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240     ac_prev=srcdir ;;
1241   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242     srcdir=$ac_optarg ;;
1243
1244   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245   | --syscon | --sysco | --sysc | --sys | --sy)
1246     ac_prev=sysconfdir ;;
1247   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249     sysconfdir=$ac_optarg ;;
1250
1251   -target | --target | --targe | --targ | --tar | --ta | --t)
1252     ac_prev=target_alias ;;
1253   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254     target_alias=$ac_optarg ;;
1255
1256   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1257     verbose=yes ;;
1258
1259   -version | --version | --versio | --versi | --vers | -V)
1260     ac_init_version=: ;;
1261
1262   -with-* | --with-*)
1263     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264     # Reject names that are not valid shell variable names.
1265     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266       as_fn_error $? "invalid package name: $ac_useropt"
1267     ac_useropt_orig=$ac_useropt
1268     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269     case $ac_user_opts in
1270       *"
1271 "with_$ac_useropt"
1272 "*) ;;
1273       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274          ac_unrecognized_sep=', ';;
1275     esac
1276     eval with_$ac_useropt=\$ac_optarg ;;
1277
1278   -without-* | --without-*)
1279     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280     # Reject names that are not valid shell variable names.
1281     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282       as_fn_error $? "invalid package name: $ac_useropt"
1283     ac_useropt_orig=$ac_useropt
1284     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285     case $ac_user_opts in
1286       *"
1287 "with_$ac_useropt"
1288 "*) ;;
1289       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290          ac_unrecognized_sep=', ';;
1291     esac
1292     eval with_$ac_useropt=no ;;
1293
1294   --x)
1295     # Obsolete; use --with-x.
1296     with_x=yes ;;
1297
1298   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1299   | --x-incl | --x-inc | --x-in | --x-i)
1300     ac_prev=x_includes ;;
1301   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1302   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1303     x_includes=$ac_optarg ;;
1304
1305   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1306   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1307     ac_prev=x_libraries ;;
1308   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1309   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1310     x_libraries=$ac_optarg ;;
1311
1312   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1313 Try \`$0 --help' for more information"
1314     ;;
1315
1316   *=*)
1317     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1318     # Reject names that are not valid shell variable names.
1319     case $ac_envvar in #(
1320       '' | [0-9]* | *[!_$as_cr_alnum]* )
1321       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1322     esac
1323     eval $ac_envvar=\$ac_optarg
1324     export $ac_envvar ;;
1325
1326   *)
1327     # FIXME: should be removed in autoconf 3.0.
1328     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1330       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1332     ;;
1333
1334   esac
1335 done
1336
1337 if test -n "$ac_prev"; then
1338   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1339   as_fn_error $? "missing argument to $ac_option"
1340 fi
1341
1342 if test -n "$ac_unrecognized_opts"; then
1343   case $enable_option_checking in
1344     no) ;;
1345     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1346     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1347   esac
1348 fi
1349
1350 # Check all directory arguments for consistency.
1351 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352                 datadir sysconfdir sharedstatedir localstatedir includedir \
1353                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354                 libdir localedir mandir
1355 do
1356   eval ac_val=\$$ac_var
1357   # Remove trailing slashes.
1358   case $ac_val in
1359     */ )
1360       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361       eval $ac_var=\$ac_val;;
1362   esac
1363   # Be sure to have absolute directory names.
1364   case $ac_val in
1365     [\\/$]* | ?:[\\/]* )  continue;;
1366     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1367   esac
1368   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1369 done
1370
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1374 build=$build_alias
1375 host=$host_alias
1376 target=$target_alias
1377
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x; then
1380   if test "x$build_alias" = x; then
1381     cross_compiling=maybe
1382   elif test "x$build_alias" != "x$host_alias"; then
1383     cross_compiling=yes
1384   fi
1385 fi
1386
1387 ac_tool_prefix=
1388 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1389
1390 test "$silent" = yes && exec 6>/dev/null
1391
1392
1393 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1394 ac_ls_di=`ls -di .` &&
1395 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1396   as_fn_error $? "working directory cannot be determined"
1397 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1398   as_fn_error $? "pwd does not report name of working directory"
1399
1400
1401 # Find the source files, if location was not specified.
1402 if test -z "$srcdir"; then
1403   ac_srcdir_defaulted=yes
1404   # Try the directory containing this script, then the parent directory.
1405   ac_confdir=`$as_dirname -- "$as_myself" ||
1406 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1407          X"$as_myself" : 'X\(//\)[^/]' \| \
1408          X"$as_myself" : 'X\(//\)$' \| \
1409          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1410 $as_echo X"$as_myself" |
1411     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1412             s//\1/
1413             q
1414           }
1415           /^X\(\/\/\)[^/].*/{
1416             s//\1/
1417             q
1418           }
1419           /^X\(\/\/\)$/{
1420             s//\1/
1421             q
1422           }
1423           /^X\(\/\).*/{
1424             s//\1/
1425             q
1426           }
1427           s/.*/./; q'`
1428   srcdir=$ac_confdir
1429   if test ! -r "$srcdir/$ac_unique_file"; then
1430     srcdir=..
1431   fi
1432 else
1433   ac_srcdir_defaulted=no
1434 fi
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1436   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1437   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1438 fi
1439 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1440 ac_abs_confdir=`(
1441         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1442         pwd)`
1443 # When building in place, set srcdir=.
1444 if test "$ac_abs_confdir" = "$ac_pwd"; then
1445   srcdir=.
1446 fi
1447 # Remove unnecessary trailing slashes from srcdir.
1448 # Double slashes in file names in object file debugging info
1449 # mess up M-x gdb in Emacs.
1450 case $srcdir in
1451 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1452 esac
1453 for ac_var in $ac_precious_vars; do
1454   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1455   eval ac_env_${ac_var}_value=\$${ac_var}
1456   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1457   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1458 done
1459
1460 #
1461 # Report the --help message.
1462 #
1463 if test "$ac_init_help" = "long"; then
1464   # Omit some internal or obsolete options to make the list less imposing.
1465   # This message is too long to be a string in the A/UX 3.1 sh.
1466   cat <<_ACEOF
1467 \`configure' configures glabels 3.2.1 to adapt to many kinds of systems.
1468
1469 Usage: $0 [OPTION]... [VAR=VALUE]...
1470
1471 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1472 VAR=VALUE.  See below for descriptions of some of the useful variables.
1473
1474 Defaults for the options are specified in brackets.
1475
1476 Configuration:
1477   -h, --help              display this help and exit
1478       --help=short        display options specific to this package
1479       --help=recursive    display the short help of all the included packages
1480   -V, --version           display version information and exit
1481   -q, --quiet, --silent   do not print \`checking ...' messages
1482       --cache-file=FILE   cache test results in FILE [disabled]
1483   -C, --config-cache      alias for \`--cache-file=config.cache'
1484   -n, --no-create         do not create output files
1485       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1486
1487 Installation directories:
1488   --prefix=PREFIX         install architecture-independent files in PREFIX
1489                           [$ac_default_prefix]
1490   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1491                           [PREFIX]
1492
1493 By default, \`make install' will install all the files in
1494 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1495 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1496 for instance \`--prefix=\$HOME'.
1497
1498 For better control, use the options below.
1499
1500 Fine tuning of the installation directories:
1501   --bindir=DIR            user executables [EPREFIX/bin]
1502   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1503   --libexecdir=DIR        program executables [EPREFIX/libexec]
1504   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1505   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1506   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1507   --libdir=DIR            object code libraries [EPREFIX/lib]
1508   --includedir=DIR        C header files [PREFIX/include]
1509   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1510   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1511   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1512   --infodir=DIR           info documentation [DATAROOTDIR/info]
1513   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1514   --mandir=DIR            man documentation [DATAROOTDIR/man]
1515   --docdir=DIR            documentation root [DATAROOTDIR/doc/glabels]
1516   --htmldir=DIR           html documentation [DOCDIR]
1517   --dvidir=DIR            dvi documentation [DOCDIR]
1518   --pdfdir=DIR            pdf documentation [DOCDIR]
1519   --psdir=DIR             ps documentation [DOCDIR]
1520 _ACEOF
1521
1522   cat <<\_ACEOF
1523
1524 Program names:
1525   --program-prefix=PREFIX            prepend PREFIX to installed program names
1526   --program-suffix=SUFFIX            append SUFFIX to installed program names
1527   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1528
1529 System types:
1530   --build=BUILD     configure for building on BUILD [guessed]
1531   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1532 _ACEOF
1533 fi
1534
1535 if test -n "$ac_init_help"; then
1536   case $ac_init_help in
1537      short | recursive ) echo "Configuration of glabels 3.2.1:";;
1538    esac
1539   cat <<\_ACEOF
1540
1541 Optional Features:
1542   --disable-option-checking  ignore unrecognized --enable/--with options
1543   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1544   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1545   --enable-silent-rules   less verbose build output (undo: "make V=1")
1546   --disable-silent-rules  verbose build output (undo: "make V=0")
1547   --enable-maintainer-mode
1548                           enable make rules and dependencies not useful (and
1549                           sometimes confusing) to the casual installer
1550   --disable-nls           do not use Native Language Support
1551   --enable-dependency-tracking
1552                           do not reject slow dependency extractors
1553   --disable-dependency-tracking
1554                           speeds up one-time build
1555   --enable-shared[=PKGS]  build shared libraries [default=yes]
1556   --enable-static[=PKGS]  build static libraries [default=yes]
1557   --enable-fast-install[=PKGS]
1558                           optimize for fast installation [default=yes]
1559   --disable-libtool-lock  avoid locking (might break parallel builds)
1560   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1561   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1562   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1563   --disable-schemas-compile
1564                           Disable regeneration of gschemas.compiled on install
1565   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1566                           Turn on compiler warnings
1567   --enable-iso-c          Try to warn if code is not ISO C
1568   --enable-deprecations   warn about deprecated usages [default=no]
1569
1570 Optional Packages:
1571   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1572   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1573   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1574                           both]
1575   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1576   --with-sysroot=DIR Search for dependent libraries within DIR
1577                         (or the compiler's sysroot if not specified).
1578   --with-help-dir=DIR     path where help files are installed
1579   --with-html-dir=PATH    path to installed docs
1580   --without-libebook      build without Evolution Data Server support
1581   --without-libbarcode    build without GNU Barcode support
1582   --without-libzint       build without Zint Barcode support
1583   --without-libqrencode   build without QR code support
1584   --without-libiec16022   build without IEC 16022 support
1585
1586 Some influential environment variables:
1587   CC          C compiler command
1588   CFLAGS      C compiler flags
1589   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1590               nonstandard directory <lib dir>
1591   LIBS        libraries to pass to the linker, e.g. -l<library>
1592   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1593               you have headers in a nonstandard directory <include dir>
1594   PKG_CONFIG  path to pkg-config utility
1595   PKG_CONFIG_PATH
1596               directories to add to pkg-config's search path
1597   PKG_CONFIG_LIBDIR
1598               path overriding pkg-config's built-in search path
1599   CPP         C preprocessor
1600   ITSTOOL     Path to the `itstool` command
1601   XMLLINT     Path to the `xmllint` command
1602   GTKDOC_DEPS_CFLAGS
1603               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1604   GTKDOC_DEPS_LIBS
1605               linker flags for GTKDOC_DEPS, overriding pkg-config
1606   GLABELS_CFLAGS
1607               C compiler flags for GLABELS, overriding pkg-config
1608   GLABELS_LIBS
1609               linker flags for GLABELS, overriding pkg-config
1610   LIBGLABELS_CFLAGS
1611               C compiler flags for LIBGLABELS, overriding pkg-config
1612   LIBGLABELS_LIBS
1613               linker flags for LIBGLABELS, overriding pkg-config
1614   LIBGLBARCODE_CFLAGS
1615               C compiler flags for LIBGLBARCODE, overriding pkg-config
1616   LIBGLBARCODE_LIBS
1617               linker flags for LIBGLBARCODE, overriding pkg-config
1618   LIBEBOOK_CFLAGS
1619               C compiler flags for LIBEBOOK, overriding pkg-config
1620   LIBEBOOK_LIBS
1621               linker flags for LIBEBOOK, overriding pkg-config
1622   LIBQRENCODE_CFLAGS
1623               C compiler flags for LIBQRENCODE, overriding pkg-config
1624   LIBQRENCODE_LIBS
1625               linker flags for LIBQRENCODE, overriding pkg-config
1626   LIBIEC16022_CFLAGS
1627               C compiler flags for LIBIEC16022, overriding pkg-config
1628   LIBIEC16022_LIBS
1629               linker flags for LIBIEC16022, overriding pkg-config
1630
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1633
1634 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1635 _ACEOF
1636 ac_status=$?
1637 fi
1638
1639 if test "$ac_init_help" = "recursive"; then
1640   # If there are subdirs, report their specific --help.
1641   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642     test -d "$ac_dir" ||
1643       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644       continue
1645     ac_builddir=.
1646
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 *)
1650   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651   # A ".." for each directory in $ac_dir_suffix.
1652   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653   case $ac_top_builddir_sub in
1654   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656   esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1662
1663 case $srcdir in
1664   .)  # We are building in place.
1665     ac_srcdir=.
1666     ac_top_srcdir=$ac_top_builddir_sub
1667     ac_abs_top_srcdir=$ac_pwd ;;
1668   [\\/]* | ?:[\\/]* )  # Absolute name.
1669     ac_srcdir=$srcdir$ac_dir_suffix;
1670     ac_top_srcdir=$srcdir
1671     ac_abs_top_srcdir=$srcdir ;;
1672   *) # Relative name.
1673     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674     ac_top_srcdir=$ac_top_build_prefix$srcdir
1675     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1678
1679     cd "$ac_dir" || { ac_status=$?; continue; }
1680     # Check for guested configure.
1681     if test -f "$ac_srcdir/configure.gnu"; then
1682       echo &&
1683       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684     elif test -f "$ac_srcdir/configure"; then
1685       echo &&
1686       $SHELL "$ac_srcdir/configure" --help=recursive
1687     else
1688       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689     fi || ac_status=$?
1690     cd "$ac_pwd" || { ac_status=$?; break; }
1691   done
1692 fi
1693
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696   cat <<\_ACEOF
1697 glabels configure 3.2.1
1698 generated by GNU Autoconf 2.69
1699
1700 Copyright (C) 2012 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704   exit
1705 fi
1706
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1710
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1715 {
1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717   rm -f conftest.$ac_objext
1718   if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721   *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725   (eval "$ac_compile") 2>conftest.err
1726   ac_status=$?
1727   if test -s conftest.err; then
1728     grep -v '^ *+' conftest.err >conftest.er1
1729     cat conftest.er1 >&5
1730     mv -f conftest.er1 conftest.err
1731   fi
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; } && {
1734          test -z "$ac_c_werror_flag" ||
1735          test ! -s conftest.err
1736        } && test -s conftest.$ac_objext; then :
1737   ac_retval=0
1738 else
1739   $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742         ac_retval=1
1743 fi
1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745   as_fn_set_status $ac_retval
1746
1747 } # ac_fn_c_try_compile
1748
1749 # ac_fn_c_try_link LINENO
1750 # -----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_c_try_link ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   rm -f conftest.$ac_objext conftest$ac_exeext
1756   if { { ac_try="$ac_link"
1757 case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_link") 2>conftest.err
1764   ac_status=$?
1765   if test -s conftest.err; then
1766     grep -v '^ *+' conftest.err >conftest.er1
1767     cat conftest.er1 >&5
1768     mv -f conftest.er1 conftest.err
1769   fi
1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771   test $ac_status = 0; } && {
1772          test -z "$ac_c_werror_flag" ||
1773          test ! -s conftest.err
1774        } && test -s conftest$ac_exeext && {
1775          test "$cross_compiling" = yes ||
1776          test -x conftest$ac_exeext
1777        }; then :
1778   ac_retval=0
1779 else
1780   $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1782
1783         ac_retval=1
1784 fi
1785   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1786   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1787   # interfere with the next link command; also delete a directory that is
1788   # left behind by Apple's compiler.  We do this before executing the actions.
1789   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791   as_fn_set_status $ac_retval
1792
1793 } # ac_fn_c_try_link
1794
1795 # ac_fn_c_check_func LINENO FUNC VAR
1796 # ----------------------------------
1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1798 ac_fn_c_check_func ()
1799 {
1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804   $as_echo_n "(cached) " >&6
1805 else
1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h.  */
1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1810 #define $2 innocuous_$2
1811
1812 /* System header to define __stub macros and hopefully few prototypes,
1813     which can conflict with char $2 (); below.
1814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1815     <limits.h> exists even on freestanding compilers.  */
1816
1817 #ifdef __STDC__
1818 # include <limits.h>
1819 #else
1820 # include <assert.h>
1821 #endif
1822
1823 #undef $2
1824
1825 /* Override any GCC internal prototype to avoid an error.
1826    Use char because int might match the return type of a GCC
1827    builtin and then its argument prototype would still apply.  */
1828 #ifdef __cplusplus
1829 extern "C"
1830 #endif
1831 char $2 ();
1832 /* The GNU C library defines this for functions which it implements
1833     to always fail with ENOSYS.  Some functions are actually named
1834     something starting with __ and the normal name is an alias.  */
1835 #if defined __stub_$2 || defined __stub___$2
1836 choke me
1837 #endif
1838
1839 int
1840 main ()
1841 {
1842 return $2 ();
1843   ;
1844   return 0;
1845 }
1846 _ACEOF
1847 if ac_fn_c_try_link "$LINENO"; then :
1848   eval "$3=yes"
1849 else
1850   eval "$3=no"
1851 fi
1852 rm -f core conftest.err conftest.$ac_objext \
1853     conftest$ac_exeext conftest.$ac_ext
1854 fi
1855 eval ac_res=\$$3
1856                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859
1860 } # ac_fn_c_check_func
1861
1862 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1863 # -------------------------------------------------------
1864 # Tests whether HEADER exists and can be compiled using the include files in
1865 # INCLUDES, setting the cache variable VAR accordingly.
1866 ac_fn_c_check_header_compile ()
1867 {
1868   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872   $as_echo_n "(cached) " >&6
1873 else
1874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h.  */
1876 $4
1877 #include <$2>
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880   eval "$3=yes"
1881 else
1882   eval "$3=no"
1883 fi
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885 fi
1886 eval ac_res=\$$3
1887                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890
1891 } # ac_fn_c_check_header_compile
1892
1893 # ac_fn_c_try_cpp LINENO
1894 # ----------------------
1895 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1896 ac_fn_c_try_cpp ()
1897 {
1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899   if { { ac_try="$ac_cpp conftest.$ac_ext"
1900 case "(($ac_try" in
1901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1902   *) ac_try_echo=$ac_try;;
1903 esac
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1907   ac_status=$?
1908   if test -s conftest.err; then
1909     grep -v '^ *+' conftest.err >conftest.er1
1910     cat conftest.er1 >&5
1911     mv -f conftest.er1 conftest.err
1912   fi
1913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914   test $ac_status = 0; } > conftest.i && {
1915          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1916          test ! -s conftest.err
1917        }; then :
1918   ac_retval=0
1919 else
1920   $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1922
1923     ac_retval=1
1924 fi
1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926   as_fn_set_status $ac_retval
1927
1928 } # ac_fn_c_try_cpp
1929
1930 # ac_fn_c_try_run LINENO
1931 # ----------------------
1932 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1933 # that executables *can* be run.
1934 ac_fn_c_try_run ()
1935 {
1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937   if { { ac_try="$ac_link"
1938 case "(($ac_try" in
1939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1940   *) ac_try_echo=$ac_try;;
1941 esac
1942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944   (eval "$ac_link") 2>&5
1945   ac_status=$?
1946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1948   { { case "(($ac_try" in
1949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1950   *) ac_try_echo=$ac_try;;
1951 esac
1952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1953 $as_echo "$ac_try_echo"; } >&5
1954   (eval "$ac_try") 2>&5
1955   ac_status=$?
1956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957   test $ac_status = 0; }; }; then :
1958   ac_retval=0
1959 else
1960   $as_echo "$as_me: program exited with status $ac_status" >&5
1961        $as_echo "$as_me: failed program was:" >&5
1962 sed 's/^/| /' conftest.$ac_ext >&5
1963
1964        ac_retval=$ac_status
1965 fi
1966   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968   as_fn_set_status $ac_retval
1969
1970 } # ac_fn_c_try_run
1971
1972 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1973 # -------------------------------------------------------
1974 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1975 # the include files in INCLUDES and setting the cache variable VAR
1976 # accordingly.
1977 ac_fn_c_check_header_mongrel ()
1978 {
1979   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980   if eval \${$3+:} false; then :
1981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984   $as_echo_n "(cached) " >&6
1985 fi
1986 eval ac_res=\$$3
1987                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 else
1990   # Is the header compilable?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1992 $as_echo_n "checking $2 usability... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h.  */
1995 $4
1996 #include <$2>
1997 _ACEOF
1998 if ac_fn_c_try_compile "$LINENO"; then :
1999   ac_header_compiler=yes
2000 else
2001   ac_header_compiler=no
2002 fi
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2005 $as_echo "$ac_header_compiler" >&6; }
2006
2007 # Is the header present?
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2009 $as_echo_n "checking $2 presence... " >&6; }
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h.  */
2012 #include <$2>
2013 _ACEOF
2014 if ac_fn_c_try_cpp "$LINENO"; then :
2015   ac_header_preproc=yes
2016 else
2017   ac_header_preproc=no
2018 fi
2019 rm -f conftest.err conftest.i conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2021 $as_echo "$ac_header_preproc" >&6; }
2022
2023 # So?  What about this header?
2024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2025   yes:no: )
2026     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2027 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2028     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2029 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2030     ;;
2031   no:yes:* )
2032     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2033 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2034     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2035 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2036     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2037 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2038     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2039 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2040     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2042 ( $as_echo "## ---------------------------------------------------------------------- ##
2043 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2044 ## ---------------------------------------------------------------------- ##"
2045      ) | sed "s/^/$as_me: WARNING:     /" >&2
2046     ;;
2047 esac
2048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \${$3+:} false; then :
2051   $as_echo_n "(cached) " >&6
2052 else
2053   eval "$3=\$ac_header_compiler"
2054 fi
2055 eval ac_res=\$$3
2056                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057 $as_echo "$ac_res" >&6; }
2058 fi
2059   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060
2061 } # ac_fn_c_check_header_mongrel
2062 cat >config.log <<_ACEOF
2063 This file contains any messages produced by compilers while
2064 running configure, to aid debugging if configure makes a mistake.
2065
2066 It was created by glabels $as_me 3.2.1, which was
2067 generated by GNU Autoconf 2.69.  Invocation command line was
2068
2069   $ $0 $@
2070
2071 _ACEOF
2072 exec 5>>config.log
2073 {
2074 cat <<_ASUNAME
2075 ## --------- ##
2076 ## Platform. ##
2077 ## --------- ##
2078
2079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084
2085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2086 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2087
2088 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2089 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2091 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2092 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2093 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2094 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2095
2096 _ASUNAME
2097
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101   IFS=$as_save_IFS
2102   test -z "$as_dir" && as_dir=.
2103     $as_echo "PATH: $as_dir"
2104   done
2105 IFS=$as_save_IFS
2106
2107 } >&5
2108
2109 cat >&5 <<_ACEOF
2110
2111
2112 ## ----------- ##
2113 ## Core tests. ##
2114 ## ----------- ##
2115
2116 _ACEOF
2117
2118
2119 # Keep a trace of the command line.
2120 # Strip out --no-create and --no-recursion so they do not pile up.
2121 # Strip out --silent because we don't want to record it for future runs.
2122 # Also quote any args containing shell meta-characters.
2123 # Make two passes to allow for proper duplicate-argument suppression.
2124 ac_configure_args=
2125 ac_configure_args0=
2126 ac_configure_args1=
2127 ac_must_keep_next=false
2128 for ac_pass in 1 2
2129 do
2130   for ac_arg
2131   do
2132     case $ac_arg in
2133     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2134     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2135     | -silent | --silent | --silen | --sile | --sil)
2136       continue ;;
2137     *\'*)
2138       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2139     esac
2140     case $ac_pass in
2141     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2142     2)
2143       as_fn_append ac_configure_args1 " '$ac_arg'"
2144       if test $ac_must_keep_next = true; then
2145         ac_must_keep_next=false # Got value, back to normal.
2146       else
2147         case $ac_arg in
2148           *=* | --config-cache | -C | -disable-* | --disable-* \
2149           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2150           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2151           | -with-* | --with-* | -without-* | --without-* | --x)
2152             case "$ac_configure_args0 " in
2153               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2154             esac
2155             ;;
2156           -* ) ac_must_keep_next=true ;;
2157         esac
2158       fi
2159       as_fn_append ac_configure_args " '$ac_arg'"
2160       ;;
2161     esac
2162   done
2163 done
2164 { ac_configure_args0=; unset ac_configure_args0;}
2165 { ac_configure_args1=; unset ac_configure_args1;}
2166
2167 # When interrupted or exit'd, cleanup temporary files, and complete
2168 # config.log.  We remove comments because anyway the quotes in there
2169 # would cause problems or look ugly.
2170 # WARNING: Use '\'' to represent an apostrophe within the trap.
2171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2172 trap 'exit_status=$?
2173   # Save into config.log some information that might help in debugging.
2174   {
2175     echo
2176
2177     $as_echo "## ---------------- ##
2178 ## Cache variables. ##
2179 ## ---------------- ##"
2180     echo
2181     # The following way of writing the cache mishandles newlines in values,
2182 (
2183   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2184     eval ac_val=\$$ac_var
2185     case $ac_val in #(
2186     *${as_nl}*)
2187       case $ac_var in #(
2188       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2189 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2190       esac
2191       case $ac_var in #(
2192       _ | IFS | as_nl) ;; #(
2193       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2194       *) { eval $ac_var=; unset $ac_var;} ;;
2195       esac ;;
2196     esac
2197   done
2198   (set) 2>&1 |
2199     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2200     *${as_nl}ac_space=\ *)
2201       sed -n \
2202         "s/'\''/'\''\\\\'\'''\''/g;
2203           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2204       ;; #(
2205     *)
2206       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2207       ;;
2208     esac |
2209     sort
2210 )
2211     echo
2212
2213     $as_echo "## ----------------- ##
2214 ## Output variables. ##
2215 ## ----------------- ##"
2216     echo
2217     for ac_var in $ac_subst_vars
2218     do
2219       eval ac_val=\$$ac_var
2220       case $ac_val in
2221       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2222       esac
2223       $as_echo "$ac_var='\''$ac_val'\''"
2224     done | sort
2225     echo
2226
2227     if test -n "$ac_subst_files"; then
2228       $as_echo "## ------------------- ##
2229 ## File substitutions. ##
2230 ## ------------------- ##"
2231       echo
2232       for ac_var in $ac_subst_files
2233       do
2234         eval ac_val=\$$ac_var
2235         case $ac_val in
2236         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2237         esac
2238         $as_echo "$ac_var='\''$ac_val'\''"
2239       done | sort
2240       echo
2241     fi
2242
2243     if test -s confdefs.h; then
2244       $as_echo "## ----------- ##
2245 ## confdefs.h. ##
2246 ## ----------- ##"
2247       echo
2248       cat confdefs.h
2249       echo
2250     fi
2251     test "$ac_signal" != 0 &&
2252       $as_echo "$as_me: caught signal $ac_signal"
2253     $as_echo "$as_me: exit $exit_status"
2254   } >&5
2255   rm -f core *.core core.conftest.* &&
2256     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2257     exit $exit_status
2258 ' 0
2259 for ac_signal in 1 2 13 15; do
2260   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2261 done
2262 ac_signal=0
2263
2264 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2265 rm -f -r conftest* confdefs.h
2266
2267 $as_echo "/* confdefs.h */" > confdefs.h
2268
2269 # Predefined preprocessor variables.
2270
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_NAME "$PACKAGE_NAME"
2273 _ACEOF
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2277 _ACEOF
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2281 _ACEOF
2282
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_STRING "$PACKAGE_STRING"
2285 _ACEOF
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2289 _ACEOF
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_URL "$PACKAGE_URL"
2293 _ACEOF
2294
2295
2296 # Let the site file select an alternate cache file if it wants to.
2297 # Prefer an explicitly selected file to automatically selected ones.
2298 ac_site_file1=NONE
2299 ac_site_file2=NONE
2300 if test -n "$CONFIG_SITE"; then
2301   # We do not want a PATH search for config.site.
2302   case $CONFIG_SITE in #((
2303     -*)  ac_site_file1=./$CONFIG_SITE;;
2304     */*) ac_site_file1=$CONFIG_SITE;;
2305     *)   ac_site_file1=./$CONFIG_SITE;;
2306   esac
2307 elif test "x$prefix" != xNONE; then
2308   ac_site_file1=$prefix/share/config.site
2309   ac_site_file2=$prefix/etc/config.site
2310 else
2311   ac_site_file1=$ac_default_prefix/share/config.site
2312   ac_site_file2=$ac_default_prefix/etc/config.site
2313 fi
2314 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2315 do
2316   test "x$ac_site_file" = xNONE && continue
2317   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2318     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2319 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2320     sed 's/^/| /' "$ac_site_file" >&5
2321     . "$ac_site_file" \
2322       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2324 as_fn_error $? "failed to load site script $ac_site_file
2325 See \`config.log' for more details" "$LINENO" 5; }
2326   fi
2327 done
2328
2329 if test -r "$cache_file"; then
2330   # Some versions of bash will fail to source /dev/null (special files
2331   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2332   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2333     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2334 $as_echo "$as_me: loading cache $cache_file" >&6;}
2335     case $cache_file in
2336       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2337       *)                      . "./$cache_file";;
2338     esac
2339   fi
2340 else
2341   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2342 $as_echo "$as_me: creating cache $cache_file" >&6;}
2343   >$cache_file
2344 fi
2345
2346 # Check that the precious variables saved in the cache have kept the same
2347 # value.
2348 ac_cache_corrupted=false
2349 for ac_var in $ac_precious_vars; do
2350   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2351   eval ac_new_set=\$ac_env_${ac_var}_set
2352   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2353   eval ac_new_val=\$ac_env_${ac_var}_value
2354   case $ac_old_set,$ac_new_set in
2355     set,)
2356       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2357 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2358       ac_cache_corrupted=: ;;
2359     ,set)
2360       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2361 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2362       ac_cache_corrupted=: ;;
2363     ,);;
2364     *)
2365       if test "x$ac_old_val" != "x$ac_new_val"; then
2366         # differences in whitespace do not lead to failure.
2367         ac_old_val_w=`echo x $ac_old_val`
2368         ac_new_val_w=`echo x $ac_new_val`
2369         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2370           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2371 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2372           ac_cache_corrupted=:
2373         else
2374           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2375 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2376           eval $ac_var=\$ac_old_val
2377         fi
2378         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2379 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2380         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2381 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2382       fi;;
2383   esac
2384   # Pass precious variables to config.status.
2385   if test "$ac_new_set" = set; then
2386     case $ac_new_val in
2387     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2388     *) ac_arg=$ac_var=$ac_new_val ;;
2389     esac
2390     case " $ac_configure_args " in
2391       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2392       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2393     esac
2394   fi
2395 done
2396 if $ac_cache_corrupted; then
2397   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2400 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2401   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2402 fi
2403 ## -------------------- ##
2404 ## Main body of script. ##
2405 ## -------------------- ##
2406
2407 ac_ext=c
2408 ac_cpp='$CPP $CPPFLAGS'
2409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2412
2413
2414
2415
2416
2417 am__api_version='1.14'
2418
2419 ac_aux_dir=
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421   if test -f "$ac_dir/install-sh"; then
2422     ac_aux_dir=$ac_dir
2423     ac_install_sh="$ac_aux_dir/install-sh -c"
2424     break
2425   elif test -f "$ac_dir/install.sh"; then
2426     ac_aux_dir=$ac_dir
2427     ac_install_sh="$ac_aux_dir/install.sh -c"
2428     break
2429   elif test -f "$ac_dir/shtool"; then
2430     ac_aux_dir=$ac_dir
2431     ac_install_sh="$ac_aux_dir/shtool install -c"
2432     break
2433   fi
2434 done
2435 if test -z "$ac_aux_dir"; then
2436   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437 fi
2438
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2446
2447
2448 # Find a good install program.  We prefer a C program (faster),
2449 # so one script is as good as another.  But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2454 # AIX /bin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2470 do
2471   IFS=$as_save_IFS
2472   test -z "$as_dir" && as_dir=.
2473     # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475   ./ | .// | /[cC]/* | \
2476   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478   /usr/ucb/* ) ;;
2479   *)
2480     # OSF1 and SCO ODT 3.0 have their own names for install.
2481     # Don't use installbsd from OSF since it installs stuff as root
2482     # by default.
2483     for ac_prog in ginstall scoinst install; do
2484       for ac_exec_ext in '' $ac_executable_extensions; do
2485         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2486           if test $ac_prog = install &&
2487             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488             # AIX install.  It has an incompatible calling convention.
2489             :
2490           elif test $ac_prog = install &&
2491             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492             # program-specific install script used by HP pwplus--don't use.
2493             :
2494           else
2495             rm -rf conftest.one conftest.two conftest.dir
2496             echo one > conftest.one
2497             echo two > conftest.two
2498             mkdir conftest.dir
2499             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500               test -s conftest.one && test -s conftest.two &&
2501               test -s conftest.dir/conftest.one &&
2502               test -s conftest.dir/conftest.two
2503             then
2504               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505               break 3
2506             fi
2507           fi
2508         fi
2509       done
2510     done
2511     ;;
2512 esac
2513
2514   done
2515 IFS=$as_save_IFS
2516
2517 rm -rf conftest.one conftest.two conftest.dir
2518
2519 fi
2520   if test "${ac_cv_path_install+set}" = set; then
2521     INSTALL=$ac_cv_path_install
2522   else
2523     # As a last resort, use the slow shell script.  Don't cache a
2524     # value for INSTALL within a source directory, because that will
2525     # break other packages using the cache if that directory is
2526     # removed, or if the value is a relative name.
2527     INSTALL=$ac_install_sh
2528   fi
2529 fi
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2532
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Reject unsafe characters in $srcdir or the absolute working directory
2544 # name.  Accept space and tab only in the latter.
2545 am_lf='
2546 '
2547 case `pwd` in
2548   *[\\\"\#\$\&\'\`$am_lf]*)
2549     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2550 esac
2551 case $srcdir in
2552   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2553     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2554 esac
2555
2556 # Do 'set' in a subshell so we don't clobber the current shell's
2557 # arguments.  Must try -L first in case configure is actually a
2558 # symlink; some systems play weird games with the mod time of symlinks
2559 # (eg FreeBSD returns the mod time of the symlink's containing
2560 # directory).
2561 if (
2562    am_has_slept=no
2563    for am_try in 1 2; do
2564      echo "timestamp, slept: $am_has_slept" > conftest.file
2565      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566      if test "$*" = "X"; then
2567         # -L didn't work.
2568         set X `ls -t "$srcdir/configure" conftest.file`
2569      fi
2570      if test "$*" != "X $srcdir/configure conftest.file" \
2571         && test "$*" != "X conftest.file $srcdir/configure"; then
2572
2573         # If neither matched, then we have a broken ls.  This can happen
2574         # if, for instance, CONFIG_SHELL is bash and it inherits a
2575         # broken ls alias from the environment.  This has actually
2576         # happened.  Such a system could not be considered "sane".
2577         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2578   alias in your environment" "$LINENO" 5
2579      fi
2580      if test "$2" = conftest.file || test $am_try -eq 2; then
2581        break
2582      fi
2583      # Just in case.
2584      sleep 1
2585      am_has_slept=yes
2586    done
2587    test "$2" = conftest.file
2588    )
2589 then
2590    # Ok.
2591    :
2592 else
2593    as_fn_error $? "newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2595 fi
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 # If we didn't sleep, we still need to ensure time stamps of config.status and
2599 # generated files are strictly newer.
2600 am_sleep_pid=
2601 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2602   ( sleep 1 ) &
2603   am_sleep_pid=$!
2604 fi
2605
2606 rm -f conftest.file
2607
2608 test "$program_prefix" != NONE &&
2609   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE &&
2612   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2617
2618 # expand $ac_aux_dir to an absolute path
2619 am_aux_dir=`cd $ac_aux_dir && pwd`
2620
2621 if test x"${MISSING+set}" != xset; then
2622   case $am_aux_dir in
2623   *\ * | *\     *)
2624     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2625   *)
2626     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2627   esac
2628 fi
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --is-lightweight"; then
2631   am_missing_run="$MISSING "
2632 else
2633   am_missing_run=
2634   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2636 fi
2637
2638 if test x"${install_sh}" != xset; then
2639   case $am_aux_dir in
2640   *\ * | *\     *)
2641     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2642   *)
2643     install_sh="\${SHELL} $am_aux_dir/install-sh"
2644   esac
2645 fi
2646
2647 # Installed binaries are usually stripped using 'strip' when the user
2648 # run "make install-strip".  However 'strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the 'STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no; then
2652   if test -n "$ac_tool_prefix"; then
2653   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if test -n "$STRIP"; then
2661   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_exec_ext in '' $ac_executable_extensions; do
2669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675   done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 STRIP=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2684 else
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689
2690 fi
2691 if test -z "$ac_cv_prog_STRIP"; then
2692   ac_ct_STRIP=$STRIP
2693   # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698   $as_echo_n "(cached) " >&6
2699 else
2700   if test -n "$ac_ct_STRIP"; then
2701   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2702 else
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 for as_dir in $PATH
2705 do
2706   IFS=$as_save_IFS
2707   test -z "$as_dir" && as_dir=.
2708     for ac_exec_ext in '' $ac_executable_extensions; do
2709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710     ac_cv_prog_ac_ct_STRIP="strip"
2711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712     break 2
2713   fi
2714 done
2715   done
2716 IFS=$as_save_IFS
2717
2718 fi
2719 fi
2720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2724 else
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727 fi
2728
2729   if test "x$ac_ct_STRIP" = x; then
2730     STRIP=":"
2731   else
2732     case $cross_compiling:$ac_tool_warned in
2733 yes:)
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2737 esac
2738     STRIP=$ac_ct_STRIP
2739   fi
2740 else
2741   STRIP="$ac_cv_prog_STRIP"
2742 fi
2743
2744 fi
2745 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2746
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750   if ${ac_cv_path_mkdir+:} false; then :
2751   $as_echo_n "(cached) " >&6
2752 else
2753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2755 do
2756   IFS=$as_save_IFS
2757   test -z "$as_dir" && as_dir=.
2758     for ac_prog in mkdir gmkdir; do
2759          for ac_exec_ext in '' $ac_executable_extensions; do
2760            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2761            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762              'mkdir (GNU coreutils) '* | \
2763              'mkdir (coreutils) '* | \
2764              'mkdir (fileutils) '4.1*)
2765                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766                break 3;;
2767            esac
2768          done
2769        done
2770   done
2771 IFS=$as_save_IFS
2772
2773 fi
2774
2775   test -d ./--version && rmdir ./--version
2776   if test "${ac_cv_path_mkdir+set}" = set; then
2777     MKDIR_P="$ac_cv_path_mkdir -p"
2778   else
2779     # As a last resort, use the slow shell script.  Don't cache a
2780     # value for MKDIR_P within a source directory, because that will
2781     # break other packages using the cache if that directory is
2782     # removed, or if the value is a relative name.
2783     MKDIR_P="$ac_install_sh -d"
2784   fi
2785 fi
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2788
2789 for ac_prog in gawk mawk nawk awk
2790 do
2791   # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_AWK+:} false; then :
2796   $as_echo_n "(cached) " >&6
2797 else
2798   if test -n "$AWK"; then
2799   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804   IFS=$as_save_IFS
2805   test -z "$as_dir" && as_dir=.
2806     for ac_exec_ext in '' $ac_executable_extensions; do
2807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808     ac_cv_prog_AWK="$ac_prog"
2809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810     break 2
2811   fi
2812 done
2813   done
2814 IFS=$as_save_IFS
2815
2816 fi
2817 fi
2818 AWK=$ac_cv_prog_AWK
2819 if test -n "$AWK"; then
2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 fi
2826
2827
2828   test -n "$AWK" && break
2829 done
2830
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2833 set x ${MAKE-make}
2834 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2836   $as_echo_n "(cached) " >&6
2837 else
2838   cat >conftest.make <<\_ACEOF
2839 SHELL = /bin/sh
2840 all:
2841         @echo '@@@%%%=$(MAKE)=@@@%%%'
2842 _ACEOF
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2845   *@@@%%%=?*=@@@%%%*)
2846     eval ac_cv_prog_make_${ac_make}_set=yes;;
2847   *)
2848     eval ac_cv_prog_make_${ac_make}_set=no;;
2849 esac
2850 rm -f conftest.make
2851 fi
2852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2855   SET_MAKE=
2856 else
2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859   SET_MAKE="MAKE=${MAKE-make}"
2860 fi
2861
2862 rm -rf .tst 2>/dev/null
2863 mkdir .tst 2>/dev/null
2864 if test -d .tst; then
2865   am__leading_dot=.
2866 else
2867   am__leading_dot=_
2868 fi
2869 rmdir .tst 2>/dev/null
2870
2871 # Check whether --enable-silent-rules was given.
2872 if test "${enable_silent_rules+set}" = set; then :
2873   enableval=$enable_silent_rules;
2874 fi
2875
2876 case $enable_silent_rules in # (((
2877   yes) AM_DEFAULT_VERBOSITY=0;;
2878    no) AM_DEFAULT_VERBOSITY=1;;
2879     *) AM_DEFAULT_VERBOSITY=1;;
2880 esac
2881 am_make=${MAKE-make}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2883 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2884 if ${am_cv_make_support_nested_variables+:} false; then :
2885   $as_echo_n "(cached) " >&6
2886 else
2887   if $as_echo 'TRUE=$(BAR$(V))
2888 BAR0=false
2889 BAR1=true
2890 V=1
2891 am__doit:
2892         @$(TRUE)
2893 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2894   am_cv_make_support_nested_variables=yes
2895 else
2896   am_cv_make_support_nested_variables=no
2897 fi
2898 fi
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2900 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2901 if test $am_cv_make_support_nested_variables = yes; then
2902     AM_V='$(V)'
2903   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2904 else
2905   AM_V=$AM_DEFAULT_VERBOSITY
2906   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2907 fi
2908 AM_BACKSLASH='\'
2909
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912   # is not polluted with repeated "-I."
2913   am__isrc=' -I$(srcdir)'
2914   # test to see if srcdir already configured
2915   if test -f $srcdir/config.status; then
2916     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917   fi
2918 fi
2919
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922   if (cygpath --version) >/dev/null 2>/dev/null; then
2923     CYGPATH_W='cygpath -w'
2924   else
2925     CYGPATH_W=echo
2926   fi
2927 fi
2928
2929
2930 # Define the identity of the package.
2931
2932  PACKAGE=glabels
2933  VERSION=3.2.1
2934
2935
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE "$PACKAGE"
2938 _ACEOF
2939
2940
2941 cat >>confdefs.h <<_ACEOF
2942 #define VERSION "$VERSION"
2943 _ACEOF
2944
2945 # Some tools Automake needs.
2946
2947 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2948
2949
2950 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2951
2952
2953 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2954
2955
2956 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2957
2958
2959 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960
2961 # For better backward compatibility.  To be removed once Automake 1.9.x
2962 # dies out for good.  For more background, see:
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2964 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2965 mkdir_p='$(MKDIR_P)'
2966
2967 # We need awk for the "check" target.  The system "awk" is bad on
2968 # some platforms.
2969 # Always define AMTAR for backward compatibility.  Yes, it's still used
2970 # in the wild :-(  We should find a proper way to deprecate it ...
2971 AMTAR='$${TAR-tar}'
2972
2973
2974 # We'll loop over all known methods to create a tar archive until one works.
2975 _am_tools='gnutar  pax cpio none'
2976
2977 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2978
2979
2980
2981
2982
2983
2984 # POSIX will say in a future version that running "rm -f" with no argument
2985 # is OK; and we want to be able to make that assumption in our Makefile
2986 # recipes.  So use an aggressive probe to check that the usage we want is
2987 # actually supported "in the wild" to an acceptable degree.
2988 # See automake bug#10828.
2989 # To make any issue more visible, cause the running configure to be aborted
2990 # by default if the 'rm' program in use doesn't match our expectations; the
2991 # user can still override this though.
2992 if rm -f && rm -fr && rm -rf; then : OK; else
2993   cat >&2 <<'END'
2994 Oops!
2995
2996 Your 'rm' program seems unable to run without file operands specified
2997 on the command line, even when the '-f' option is present.  This is contrary
2998 to the behaviour of most rm programs out there, and not conforming with
2999 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3000
3001 Please tell bug-automake@gnu.org about your system, including the value
3002 of your $PATH and any error possibly output before this message.  This
3003 can help us improve future automake versions.
3004
3005 END
3006   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3007     echo 'Configuration will proceed anyway, since you have set the' >&2
3008     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3009     echo >&2
3010   else
3011     cat >&2 <<'END'
3012 Aborting the configuration process, to ensure you take notice of the issue.
3013
3014 You can download and install GNU coreutils to get an 'rm' implementation
3015 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3016
3017 If you want to complete the configuration process using your problematic
3018 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3019 to "yes", and re-run configure.
3020
3021 END
3022     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3023   fi
3024 fi
3025
3026
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3028 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3029     # Check whether --enable-maintainer-mode was given.
3030 if test "${enable_maintainer_mode+set}" = set; then :
3031   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3032 else
3033   USE_MAINTAINER_MODE=no
3034 fi
3035
3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3037 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3038    if test $USE_MAINTAINER_MODE = yes; then
3039   MAINTAINER_MODE_TRUE=
3040   MAINTAINER_MODE_FALSE='#'
3041 else
3042   MAINTAINER_MODE_TRUE='#'
3043   MAINTAINER_MODE_FALSE=
3044 fi
3045
3046   MAINT=$MAINTAINER_MODE_TRUE
3047
3048
3049 # Check whether --enable-silent-rules was given.
3050 if test "${enable_silent_rules+set}" = set; then :
3051   enableval=$enable_silent_rules;
3052 fi
3053
3054 case $enable_silent_rules in # (((
3055   yes) AM_DEFAULT_VERBOSITY=0;;
3056    no) AM_DEFAULT_VERBOSITY=1;;
3057     *) AM_DEFAULT_VERBOSITY=0;;
3058 esac
3059 am_make=${MAKE-make}
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3061 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3062 if ${am_cv_make_support_nested_variables+:} false; then :
3063   $as_echo_n "(cached) " >&6
3064 else
3065   if $as_echo 'TRUE=$(BAR$(V))
3066 BAR0=false
3067 BAR1=true
3068 V=1
3069 am__doit:
3070         @$(TRUE)
3071 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3072   am_cv_make_support_nested_variables=yes
3073 else
3074   am_cv_make_support_nested_variables=no
3075 fi
3076 fi
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3078 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3079 if test $am_cv_make_support_nested_variables = yes; then
3080     AM_V='$(V)'
3081   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3082 else
3083   AM_V=$AM_DEFAULT_VERBOSITY
3084   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3085 fi
3086 AM_BACKSLASH='\'
3087
3088
3089 ac_config_headers="$ac_config_headers config.h"
3090
3091
3092
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3094 $as_echo_n "checking whether NLS is requested... " >&6; }
3095     # Check whether --enable-nls was given.
3096 if test "${enable_nls+set}" = set; then :
3097   enableval=$enable_nls; USE_NLS=$enableval
3098 else
3099   USE_NLS=yes
3100 fi
3101
3102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3103 $as_echo "$USE_NLS" >&6; }
3104
3105
3106 DEPDIR="${am__leading_dot}deps"
3107
3108 ac_config_commands="$ac_config_commands depfiles"
3109
3110
3111 am_make=${MAKE-make}
3112 cat > confinc << 'END'
3113 am__doit:
3114         @echo this is the am__doit target
3115 .PHONY: am__doit
3116 END
3117 # If we don't find an include directive, just comment out the code.
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3119 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3120 am__include="#"
3121 am__quote=
3122 _am_result=none
3123 # First try GNU make style include.
3124 echo "include confinc" > confmf
3125 # Ignore all kinds of additional output from 'make'.
3126 case `$am_make -s -f confmf 2> /dev/null` in #(
3127 *the\ am__doit\ target*)
3128   am__include=include
3129   am__quote=
3130   _am_result=GNU
3131   ;;
3132 esac
3133 # Now try BSD make style include.
3134 if test "$am__include" = "#"; then
3135    echo '.include "confinc"' > confmf
3136    case `$am_make -s -f confmf 2> /dev/null` in #(
3137    *the\ am__doit\ target*)
3138      am__include=.include
3139      am__quote="\""
3140      _am_result=BSD
3141      ;;
3142    esac
3143 fi
3144
3145
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3147 $as_echo "$_am_result" >&6; }
3148 rm -f confinc confmf
3149
3150 # Check whether --enable-dependency-tracking was given.
3151 if test "${enable_dependency_tracking+set}" = set; then :
3152   enableval=$enable_dependency_tracking;
3153 fi
3154
3155 if test "x$enable_dependency_tracking" != xno; then
3156   am_depcomp="$ac_aux_dir/depcomp"
3157   AMDEPBACKSLASH='\'
3158   am__nodep='_no'
3159 fi
3160  if test "x$enable_dependency_tracking" != xno; then
3161   AMDEP_TRUE=
3162   AMDEP_FALSE='#'
3163 else
3164   AMDEP_TRUE='#'
3165   AMDEP_FALSE=
3166 fi
3167
3168
3169 ac_ext=c
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_CC+:} false; then :
3180   $as_echo_n "(cached) " >&6
3181 else
3182   if test -n "$CC"; then
3183   ac_cv_prog_CC="$CC" # Let the user override the test.
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3187 do
3188   IFS=$as_save_IFS
3189   test -z "$as_dir" && as_dir=.
3190     for ac_exec_ext in '' $ac_executable_extensions; do
3191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194     break 2
3195   fi
3196 done
3197   done
3198 IFS=$as_save_IFS
3199
3200 fi
3201 fi
3202 CC=$ac_cv_prog_CC
3203 if test -n "$CC"; then
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3206 else
3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3209 fi
3210
3211
3212 fi
3213 if test -z "$ac_cv_prog_CC"; then
3214   ac_ct_CC=$CC
3215   # Extract the first word of "gcc", so it can be a program name with args.
3216 set dummy gcc; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3220   $as_echo_n "(cached) " >&6
3221 else
3222   if test -n "$ac_ct_CC"; then
3223   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3227 do
3228   IFS=$as_save_IFS
3229   test -z "$as_dir" && as_dir=.
3230     for ac_exec_ext in '' $ac_executable_extensions; do
3231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232     ac_cv_prog_ac_ct_CC="gcc"
3233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234     break 2
3235   fi
3236 done
3237   done
3238 IFS=$as_save_IFS
3239
3240 fi
3241 fi
3242 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 $as_echo "$ac_ct_CC" >&6; }
3246 else
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 fi
3250
3251   if test "x$ac_ct_CC" = x; then
3252     CC=""
3253   else
3254     case $cross_compiling:$ac_tool_warned in
3255 yes:)
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned=yes ;;
3259 esac
3260     CC=$ac_ct_CC
3261   fi
3262 else
3263   CC="$ac_cv_prog_CC"
3264 fi
3265
3266 if test -z "$CC"; then
3267           if test -n "$ac_tool_prefix"; then
3268     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy ${ac_tool_prefix}cc; ac_word=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_CC+:} false; then :
3273   $as_echo_n "(cached) " >&6
3274 else
3275   if test -n "$CC"; then
3276   ac_cv_prog_CC="$CC" # Let the user override the test.
3277 else
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279 for as_dir in $PATH
3280 do
3281   IFS=$as_save_IFS
3282   test -z "$as_dir" && as_dir=.
3283     for ac_exec_ext in '' $ac_executable_extensions; do
3284   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285     ac_cv_prog_CC="${ac_tool_prefix}cc"
3286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287     break 2
3288   fi
3289 done
3290   done
3291 IFS=$as_save_IFS
3292
3293 fi
3294 fi
3295 CC=$ac_cv_prog_CC
3296 if test -n "$CC"; then
3297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3299 else
3300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3302 fi
3303
3304
3305   fi
3306 fi
3307 if test -z "$CC"; then
3308   # Extract the first word of "cc", so it can be a program name with args.
3309 set dummy cc; ac_word=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if ${ac_cv_prog_CC+:} false; then :
3313   $as_echo_n "(cached) " >&6
3314 else
3315   if test -n "$CC"; then
3316   ac_cv_prog_CC="$CC" # Let the user override the test.
3317 else
3318   ac_prog_rejected=no
3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320 for as_dir in $PATH
3321 do
3322   IFS=$as_save_IFS
3323   test -z "$as_dir" && as_dir=.
3324     for ac_exec_ext in '' $ac_executable_extensions; do
3325   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3326     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3327        ac_prog_rejected=yes
3328        continue
3329      fi
3330     ac_cv_prog_CC="cc"
3331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332     break 2
3333   fi
3334 done
3335   done
3336 IFS=$as_save_IFS
3337
3338 if test $ac_prog_rejected = yes; then
3339   # We found a bogon in the path, so make sure we never use it.
3340   set dummy $ac_cv_prog_CC
3341   shift
3342   if test $# != 0; then
3343     # We chose a different compiler from the bogus one.
3344     # However, it has the same basename, so the bogon will be chosen
3345     # first if we set CC to just the basename; use the full file name.
3346     shift
3347     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3348   fi
3349 fi
3350 fi
3351 fi
3352 CC=$ac_cv_prog_CC
3353 if test -n "$CC"; then
3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3356 else
3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3359 fi
3360
3361
3362 fi
3363 if test -z "$CC"; then
3364   if test -n "$ac_tool_prefix"; then
3365   for ac_prog in cl.exe
3366   do
3367     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_CC+:} false; then :
3372   $as_echo_n "(cached) " >&6
3373 else
3374   if test -n "$CC"; then
3375   ac_cv_prog_CC="$CC" # Let the user override the test.
3376 else
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 for as_dir in $PATH
3379 do
3380   IFS=$as_save_IFS
3381   test -z "$as_dir" && as_dir=.
3382     for ac_exec_ext in '' $ac_executable_extensions; do
3383   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3386     break 2
3387   fi
3388 done
3389   done
3390 IFS=$as_save_IFS
3391
3392 fi
3393 fi
3394 CC=$ac_cv_prog_CC
3395 if test -n "$CC"; then
3396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3398 else
3399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3401 fi
3402
3403
3404     test -n "$CC" && break
3405   done
3406 fi
3407 if test -z "$CC"; then
3408   ac_ct_CC=$CC
3409   for ac_prog in cl.exe
3410 do
3411   # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy $ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3416   $as_echo_n "(cached) " >&6
3417 else
3418   if test -n "$ac_ct_CC"; then
3419   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3420 else
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 for as_dir in $PATH
3423 do
3424   IFS=$as_save_IFS
3425   test -z "$as_dir" && as_dir=.
3426     for ac_exec_ext in '' $ac_executable_extensions; do
3427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3428     ac_cv_prog_ac_ct_CC="$ac_prog"
3429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430     break 2
3431   fi
3432 done
3433   done
3434 IFS=$as_save_IFS
3435
3436 fi
3437 fi
3438 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3439 if test -n "$ac_ct_CC"; then
3440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3441 $as_echo "$ac_ct_CC" >&6; }
3442 else
3443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3445 fi
3446
3447
3448   test -n "$ac_ct_CC" && break
3449 done
3450
3451   if test "x$ac_ct_CC" = x; then
3452     CC=""
3453   else
3454     case $cross_compiling:$ac_tool_warned in
3455 yes:)
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned=yes ;;
3459 esac
3460     CC=$ac_ct_CC
3461   fi
3462 fi
3463
3464 fi
3465
3466
3467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $? "no acceptable C compiler found in \$PATH
3470 See \`config.log' for more details" "$LINENO" 5; }
3471
3472 # Provide some information about the compiler.
3473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3474 set X $ac_compile
3475 ac_compiler=$2
3476 for ac_option in --version -v -V -qversion; do
3477   { { ac_try="$ac_compiler $ac_option >&5"
3478 case "(($ac_try" in
3479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480   *) ac_try_echo=$ac_try;;
3481 esac
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3485   ac_status=$?
3486   if test -s conftest.err; then
3487     sed '10a\
3488 ... rest of stderr output deleted ...
3489          10q' conftest.err >conftest.er1
3490     cat conftest.er1 >&5
3491   fi
3492   rm -f conftest.er1 conftest.err
3493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494   test $ac_status = 0; }
3495 done
3496
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h.  */
3499
3500 int
3501 main ()
3502 {
3503
3504   ;
3505   return 0;
3506 }
3507 _ACEOF
3508 ac_clean_files_save=$ac_clean_files
3509 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3510 # Try to create an executable without -o first, disregard a.out.
3511 # It will help us diagnose broken compilers, and finding out an intuition
3512 # of exeext.
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3514 $as_echo_n "checking whether the C compiler works... " >&6; }
3515 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3516
3517 # The possible output files:
3518 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3519
3520 ac_rmfiles=
3521 for ac_file in $ac_files
3522 do
3523   case $ac_file in
3524     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3526   esac
3527 done
3528 rm -f $ac_rmfiles
3529
3530 if { { ac_try="$ac_link_default"
3531 case "(($ac_try" in
3532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533   *) ac_try_echo=$ac_try;;
3534 esac
3535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537   (eval "$ac_link_default") 2>&5
3538   ac_status=$?
3539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540   test $ac_status = 0; }; then :
3541   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3544 # so that the user can short-circuit this test for compilers unknown to
3545 # Autoconf.
3546 for ac_file in $ac_files ''
3547 do
3548   test -f "$ac_file" || continue
3549   case $ac_file in
3550     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3551         ;;
3552     [ab].out )
3553         # We found the default executable, but exeext='' is most
3554         # certainly right.
3555         break;;
3556     *.* )
3557         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3558         then :; else
3559            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3560         fi
3561         # We set ac_cv_exeext here because the later test for it is not
3562         # safe: cross compilers may not add the suffix if given an `-o'
3563         # argument, so we may need to know it at that point already.
3564         # Even if this section looks crufty: it has the advantage of
3565         # actually working.
3566         break;;
3567     * )
3568         break;;
3569   esac
3570 done
3571 test "$ac_cv_exeext" = no && ac_cv_exeext=
3572
3573 else
3574   ac_file=''
3575 fi
3576 if test -z "$ac_file"; then :
3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.$ac_ext >&5
3581
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error 77 "C compiler cannot create executables
3585 See \`config.log' for more details" "$LINENO" 5; }
3586 else
3587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3589 fi
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3591 $as_echo_n "checking for C compiler default output file name... " >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3593 $as_echo "$ac_file" >&6; }
3594 ac_exeext=$ac_cv_exeext
3595
3596 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3597 ac_clean_files=$ac_clean_files_save
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3599 $as_echo_n "checking for suffix of executables... " >&6; }
3600 if { { ac_try="$ac_link"
3601 case "(($ac_try" in
3602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603   *) ac_try_echo=$ac_try;;
3604 esac
3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 $as_echo "$ac_try_echo"; } >&5
3607   (eval "$ac_link") 2>&5
3608   ac_status=$?
3609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610   test $ac_status = 0; }; then :
3611   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3612 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3613 # work properly (i.e., refer to `conftest.exe'), while it won't with
3614 # `rm'.
3615 for ac_file in conftest.exe conftest conftest.*; do
3616   test -f "$ac_file" || continue
3617   case $ac_file in
3618     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3619     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3620           break;;
3621     * ) break;;
3622   esac
3623 done
3624 else
3625   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3628 See \`config.log' for more details" "$LINENO" 5; }
3629 fi
3630 rm -f conftest conftest$ac_cv_exeext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3632 $as_echo "$ac_cv_exeext" >&6; }
3633
3634 rm -f conftest.$ac_ext
3635 EXEEXT=$ac_cv_exeext
3636 ac_exeext=$EXEEXT
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h.  */
3639 #include <stdio.h>
3640 int
3641 main ()
3642 {
3643 FILE *f = fopen ("conftest.out", "w");
3644  return ferror (f) || fclose (f) != 0;
3645
3646   ;
3647   return 0;
3648 }
3649 _ACEOF
3650 ac_clean_files="$ac_clean_files conftest.out"
3651 # Check that the compiler produces executables we can run.  If not, either
3652 # the compiler is broken, or we cross compile.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3654 $as_echo_n "checking whether we are cross compiling... " >&6; }
3655 if test "$cross_compiling" != yes; then
3656   { { ac_try="$ac_link"
3657 case "(($ac_try" in
3658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659   *) ac_try_echo=$ac_try;;
3660 esac
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663   (eval "$ac_link") 2>&5
3664   ac_status=$?
3665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666   test $ac_status = 0; }
3667   if { ac_try='./conftest$ac_cv_exeext'
3668   { { case "(($ac_try" in
3669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670   *) ac_try_echo=$ac_try;;
3671 esac
3672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674   (eval "$ac_try") 2>&5
3675   ac_status=$?
3676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677   test $ac_status = 0; }; }; then
3678     cross_compiling=no
3679   else
3680     if test "$cross_compiling" = maybe; then
3681         cross_compiling=yes
3682     else
3683         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $? "cannot run C compiled programs.
3686 If you meant to cross compile, use \`--host'.
3687 See \`config.log' for more details" "$LINENO" 5; }
3688     fi
3689   fi
3690 fi
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3692 $as_echo "$cross_compiling" >&6; }
3693
3694 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3695 ac_clean_files=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697 $as_echo_n "checking for suffix of object files... " >&6; }
3698 if ${ac_cv_objext+:} false; then :
3699   $as_echo_n "(cached) " >&6
3700 else
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 rm -f conftest.o conftest.obj
3713 if { { ac_try="$ac_compile"
3714 case "(($ac_try" in
3715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716   *) ac_try_echo=$ac_try;;
3717 esac
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720   (eval "$ac_compile") 2>&5
3721   ac_status=$?
3722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723   test $ac_status = 0; }; then :
3724   for ac_file in conftest.o conftest.obj conftest.*; do
3725   test -f "$ac_file" || continue;
3726   case $ac_file in
3727     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3729        break;;
3730   esac
3731 done
3732 else
3733   $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3735
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error $? "cannot compute suffix of object files: cannot compile
3739 See \`config.log' for more details" "$LINENO" 5; }
3740 fi
3741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3742 fi
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744 $as_echo "$ac_cv_objext" >&6; }
3745 OBJEXT=$ac_cv_objext
3746 ac_objext=$OBJEXT
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3749 if ${ac_cv_c_compiler_gnu+:} false; then :
3750   $as_echo_n "(cached) " >&6
3751 else
3752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h.  */
3754
3755 int
3756 main ()
3757 {
3758 #ifndef __GNUC__
3759        choke me
3760 #endif
3761
3762   ;
3763   return 0;
3764 }
3765 _ACEOF
3766 if ac_fn_c_try_compile "$LINENO"; then :
3767   ac_compiler_gnu=yes
3768 else
3769   ac_compiler_gnu=no
3770 fi
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3773
3774 fi
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3776 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3777 if test $ac_compiler_gnu = yes; then
3778   GCC=yes
3779 else
3780   GCC=
3781 fi
3782 ac_test_CFLAGS=${CFLAGS+set}
3783 ac_save_CFLAGS=$CFLAGS
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3785 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3786 if ${ac_cv_prog_cc_g+:} false; then :
3787   $as_echo_n "(cached) " >&6
3788 else
3789   ac_save_c_werror_flag=$ac_c_werror_flag
3790    ac_c_werror_flag=yes
3791    ac_cv_prog_cc_g=no
3792    CFLAGS="-g"
3793    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h.  */
3795
3796 int
3797 main ()
3798 {
3799
3800   ;
3801   return 0;
3802 }
3803 _ACEOF
3804 if ac_fn_c_try_compile "$LINENO"; then :
3805   ac_cv_prog_cc_g=yes
3806 else
3807   CFLAGS=""
3808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h.  */
3810
3811 int
3812 main ()
3813 {
3814
3815   ;
3816   return 0;
3817 }
3818 _ACEOF
3819 if ac_fn_c_try_compile "$LINENO"; then :
3820
3821 else
3822   ac_c_werror_flag=$ac_save_c_werror_flag
3823          CFLAGS="-g"
3824          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h.  */
3826
3827 int
3828 main ()
3829 {
3830
3831   ;
3832   return 0;
3833 }
3834 _ACEOF
3835 if ac_fn_c_try_compile "$LINENO"; then :
3836   ac_cv_prog_cc_g=yes
3837 fi
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839 fi
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841 fi
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843    ac_c_werror_flag=$ac_save_c_werror_flag
3844 fi
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848   CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850   if test "$GCC" = yes; then
3851     CFLAGS="-g -O2"
3852   else
3853     CFLAGS="-g"
3854   fi
3855 else
3856   if test "$GCC" = yes; then
3857     CFLAGS="-O2"
3858   else
3859     CFLAGS=
3860   fi
3861 fi
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if ${ac_cv_prog_cc_c89+:} false; then :
3865   $as_echo_n "(cached) " >&6
3866 else
3867   ac_cv_prog_cc_c89=no
3868 ac_save_CC=$CC
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h.  */
3871 #include <stdarg.h>
3872 #include <stdio.h>
3873 struct stat;
3874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3875 struct buf { int x; };
3876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3877 static char *e (p, i)
3878      char **p;
3879      int i;
3880 {
3881   return p[i];
3882 }
3883 static char *f (char * (*g) (char **, int), char **p, ...)
3884 {
3885   char *s;
3886   va_list v;
3887   va_start (v,p);
3888   s = g (p, va_arg (v,int));
3889   va_end (v);
3890   return s;
3891 }
3892
3893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3894    function prototypes and stuff, but not '\xHH' hex character constants.
3895    These don't provoke an error unfortunately, instead are silently treated
3896    as 'x'.  The following induces an error, until -std is added to get
3897    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3898    array size at least.  It's necessary to write '\x00'==0 to get something
3899    that's true only with -std.  */
3900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3901
3902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3903    inside strings and character constants.  */
3904 #define FOO(x) 'x'
3905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3906
3907 int test (int i, double x);
3908 struct s1 {int (*f) (int a);};
3909 struct s2 {int (*f) (double a);};
3910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3911 int argc;
3912 char **argv;
3913 int
3914 main ()
3915 {
3916 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3917   ;
3918   return 0;
3919 }
3920 _ACEOF
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3922         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3923 do
3924   CC="$ac_save_CC $ac_arg"
3925   if ac_fn_c_try_compile "$LINENO"; then :
3926   ac_cv_prog_cc_c89=$ac_arg
3927 fi
3928 rm -f core conftest.err conftest.$ac_objext
3929   test "x$ac_cv_prog_cc_c89" != "xno" && break
3930 done
3931 rm -f conftest.$ac_ext
3932 CC=$ac_save_CC
3933
3934 fi
3935 # AC_CACHE_VAL
3936 case "x$ac_cv_prog_cc_c89" in
3937   x)
3938     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3939 $as_echo "none needed" >&6; } ;;
3940   xno)
3941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3942 $as_echo "unsupported" >&6; } ;;
3943   *)
3944     CC="$CC $ac_cv_prog_cc_c89"
3945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3947 esac
3948 if test "x$ac_cv_prog_cc_c89" != xno; then :
3949
3950 fi
3951
3952 ac_ext=c
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957
3958 ac_ext=c
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3964 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3965 if ${am_cv_prog_cc_c_o+:} false; then :
3966   $as_echo_n "(cached) " >&6
3967 else
3968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h.  */
3970
3971 int
3972 main ()
3973 {
3974
3975   ;
3976   return 0;
3977 }
3978 _ACEOF
3979   # Make sure it works both with $CC and with simple cc.
3980   # Following AC_PROG_CC_C_O, we do the test twice because some
3981   # compilers refuse to overwrite an existing .o file with -o,
3982   # though they will create one.
3983   am_cv_prog_cc_c_o=yes
3984   for am_i in 1 2; do
3985     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3986    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3987    ac_status=$?
3988    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989    (exit $ac_status); } \
3990          && test -f conftest2.$ac_objext; then
3991       : OK
3992     else
3993       am_cv_prog_cc_c_o=no
3994       break
3995     fi
3996   done
3997   rm -f core conftest*
3998   unset am_i
3999 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4001 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4002 if test "$am_cv_prog_cc_c_o" != yes; then
4003    # Losing compiler, so override with the script.
4004    # FIXME: It is wrong to rewrite CC.
4005    # But if we don't then we get into trouble of one sort or another.
4006    # A longer-term fix would be to have automake use am__CC in this case,
4007    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4008    CC="$am_aux_dir/compile $CC"
4009 fi
4010 ac_ext=c
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4015
4016
4017 depcc="$CC"   am_compiler_list=
4018
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4020 $as_echo_n "checking dependency style of $depcc... " >&6; }
4021 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4022   $as_echo_n "(cached) " >&6
4023 else
4024   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4025   # We make a subdir and do the tests there.  Otherwise we can end up
4026   # making bogus files that we don't know about and never remove.  For
4027   # instance it was reported that on HP-UX the gcc test will end up
4028   # making a dummy file named 'D' -- because '-MD' means "put the output
4029   # in D".
4030   rm -rf conftest.dir
4031   mkdir conftest.dir
4032   # Copy depcomp to subdir because otherwise we won't find it if we're
4033   # using a relative directory.
4034   cp "$am_depcomp" conftest.dir
4035   cd conftest.dir
4036   # We will build objects and dependencies in a subdirectory because
4037   # it helps to detect inapplicable dependency modes.  For instance
4038   # both Tru64's cc and ICC support -MD to output dependencies as a
4039   # side effect of compilation, but ICC will put the dependencies in
4040   # the current directory while Tru64 will put them in the object
4041   # directory.
4042   mkdir sub
4043
4044   am_cv_CC_dependencies_compiler_type=none
4045   if test "$am_compiler_list" = ""; then
4046      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4047   fi
4048   am__universal=false
4049   case " $depcc " in #(
4050      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4051      esac
4052
4053   for depmode in $am_compiler_list; do
4054     # Setup a source with many dependencies, because some compilers
4055     # like to wrap large dependency lists on column 80 (with \), and
4056     # we should not choose a depcomp mode which is confused by this.
4057     #
4058     # We need to recreate these files for each test, as the compiler may
4059     # overwrite some of them when testing with obscure command lines.
4060     # This happens at least with the AIX C compiler.
4061     : > sub/conftest.c
4062     for i in 1 2 3 4 5 6; do
4063       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4064       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4065       # Solaris 10 /bin/sh.
4066       echo '/* dummy */' > sub/conftst$i.h
4067     done
4068     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4069
4070     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4071     # mode.  It turns out that the SunPro C++ compiler does not properly
4072     # handle '-M -o', and we need to detect this.  Also, some Intel
4073     # versions had trouble with output in subdirs.
4074     am__obj=sub/conftest.${OBJEXT-o}
4075     am__minus_obj="-o $am__obj"
4076     case $depmode in
4077     gcc)
4078       # This depmode causes a compiler race in universal mode.
4079       test "$am__universal" = false || continue
4080       ;;
4081     nosideeffect)
4082       # After this tag, mechanisms are not by side-effect, so they'll
4083       # only be used when explicitly requested.
4084       if test "x$enable_dependency_tracking" = xyes; then
4085         continue
4086       else
4087         break
4088       fi
4089       ;;
4090     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4091       # This compiler won't grok '-c -o', but also, the minuso test has
4092       # not run yet.  These depmodes are late enough in the game, and
4093       # so weak that their functioning should not be impacted.
4094       am__obj=conftest.${OBJEXT-o}
4095       am__minus_obj=
4096       ;;
4097     none) break ;;
4098     esac
4099     if depmode=$depmode \
4100        source=sub/conftest.c object=$am__obj \
4101        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4102        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4103          >/dev/null 2>conftest.err &&
4104        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4105        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4106        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4107        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4108       # icc doesn't choke on unknown options, it will just issue warnings
4109       # or remarks (even with -Werror).  So we grep stderr for any message
4110       # that says an option was ignored or not supported.
4111       # When given -MP, icc 7.0 and 7.1 complain thusly:
4112       #   icc: Command line warning: ignoring option '-M'; no argument required
4113       # The diagnosis changed in icc 8.0:
4114       #   icc: Command line remark: option '-MP' not supported
4115       if (grep 'ignoring option' conftest.err ||
4116           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4117         am_cv_CC_dependencies_compiler_type=$depmode
4118         break
4119       fi
4120     fi
4121   done
4122
4123   cd ..
4124   rm -rf conftest.dir
4125 else
4126   am_cv_CC_dependencies_compiler_type=none
4127 fi
4128
4129 fi
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4131 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4132 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4133
4134  if
4135   test "x$enable_dependency_tracking" != xno \
4136   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4137   am__fastdepCC_TRUE=
4138   am__fastdepCC_FALSE='#'
4139 else
4140   am__fastdepCC_TRUE='#'
4141   am__fastdepCC_FALSE=
4142 fi
4143
4144
4145
4146
4147
4148 case "$am__api_version" in
4149     1.01234)
4150         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4151     ;;
4152     *)
4153     ;;
4154 esac
4155
4156 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4157 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4158 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4159 if test -n "0.21"; then
4160     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
4161 $as_echo_n "checking for intltool >= 0.21... " >&6; }
4162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4163 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4164     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4165         as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
4166 fi
4167
4168 # Extract the first word of "intltool-update", so it can be a program name with args.
4169 set dummy intltool-update; ac_word=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4173   $as_echo_n "(cached) " >&6
4174 else
4175   case $INTLTOOL_UPDATE in
4176   [\\/]* | ?:[\\/]*)
4177   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4178   ;;
4179   *)
4180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181 for as_dir in $PATH
4182 do
4183   IFS=$as_save_IFS
4184   test -z "$as_dir" && as_dir=.
4185     for ac_exec_ext in '' $ac_executable_extensions; do
4186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189     break 2
4190   fi
4191 done
4192   done
4193 IFS=$as_save_IFS
4194
4195   ;;
4196 esac
4197 fi
4198 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4199 if test -n "$INTLTOOL_UPDATE"; then
4200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4201 $as_echo "$INTLTOOL_UPDATE" >&6; }
4202 else
4203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4205 fi
4206
4207
4208 # Extract the first word of "intltool-merge", so it can be a program name with args.
4209 set dummy intltool-merge; ac_word=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4213   $as_echo_n "(cached) " >&6
4214 else
4215   case $INTLTOOL_MERGE in
4216   [\\/]* | ?:[\\/]*)
4217   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4218   ;;
4219   *)
4220   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 for as_dir in $PATH
4222 do
4223   IFS=$as_save_IFS
4224   test -z "$as_dir" && as_dir=.
4225     for ac_exec_ext in '' $ac_executable_extensions; do
4226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4227     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4229     break 2
4230   fi
4231 done
4232   done
4233 IFS=$as_save_IFS
4234
4235   ;;
4236 esac
4237 fi
4238 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4239 if test -n "$INTLTOOL_MERGE"; then
4240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4241 $as_echo "$INTLTOOL_MERGE" >&6; }
4242 else
4243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4245 fi
4246
4247
4248 # Extract the first word of "intltool-extract", so it can be a program name with args.
4249 set dummy intltool-extract; ac_word=$2
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4251 $as_echo_n "checking for $ac_word... " >&6; }
4252 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4253   $as_echo_n "(cached) " >&6
4254 else
4255   case $INTLTOOL_EXTRACT in
4256   [\\/]* | ?:[\\/]*)
4257   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4258   ;;
4259   *)
4260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4261 for as_dir in $PATH
4262 do
4263   IFS=$as_save_IFS
4264   test -z "$as_dir" && as_dir=.
4265     for ac_exec_ext in '' $ac_executable_extensions; do
4266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4267     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4269     break 2
4270   fi
4271 done
4272   done
4273 IFS=$as_save_IFS
4274
4275   ;;
4276 esac
4277 fi
4278 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4279 if test -n "$INTLTOOL_EXTRACT"; then
4280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4281 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4282 else
4283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4285 fi
4286
4287
4288 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4289     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4290 fi
4291
4292 if test -z "$AM_DEFAULT_VERBOSITY"; then
4293   AM_DEFAULT_VERBOSITY=1
4294 fi
4295
4296
4297 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4298 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4299 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4300
4301
4302
4303
4304 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4305 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4306 intltool__v_merge_options_0='-q'
4307
4308
4309
4310
4311   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 $< $@'
4312 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 $< $@'
4313      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 $< $@'
4314      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 $< $@'
4315       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 $< $@'
4316      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 $< $@'
4317    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 $< $@'
4318     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 $< $@'
4319 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 $< $@'
4320        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 $< $@'
4321       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 $< $@'
4322 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4323       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 $< $@'
4324 else
4325       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'
4326 fi
4327       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 $< $@'
4328       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 $< $@'
4329     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 $< $@'
4330   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 $< $@'
4331     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 $< $@'
4332     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 $< $@'
4333    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 $< $@'
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431 # Check the gettext tools to make sure they are GNU
4432 # Extract the first word of "xgettext", so it can be a program name with args.
4433 set dummy xgettext; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_path_XGETTEXT+:} false; then :
4437   $as_echo_n "(cached) " >&6
4438 else
4439   case $XGETTEXT in
4440   [\\/]* | ?:[\\/]*)
4441   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4442   ;;
4443   *)
4444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4446 do
4447   IFS=$as_save_IFS
4448   test -z "$as_dir" && as_dir=.
4449     for ac_exec_ext in '' $ac_executable_extensions; do
4450   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453     break 2
4454   fi
4455 done
4456   done
4457 IFS=$as_save_IFS
4458
4459   ;;
4460 esac
4461 fi
4462 XGETTEXT=$ac_cv_path_XGETTEXT
4463 if test -n "$XGETTEXT"; then
4464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4465 $as_echo "$XGETTEXT" >&6; }
4466 else
4467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4469 fi
4470
4471
4472 # Extract the first word of "msgmerge", so it can be a program name with args.
4473 set dummy msgmerge; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_path_MSGMERGE+:} false; then :
4477   $as_echo_n "(cached) " >&6
4478 else
4479   case $MSGMERGE in
4480   [\\/]* | ?:[\\/]*)
4481   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4482   ;;
4483   *)
4484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4486 do
4487   IFS=$as_save_IFS
4488   test -z "$as_dir" && as_dir=.
4489     for ac_exec_ext in '' $ac_executable_extensions; do
4490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493     break 2
4494   fi
4495 done
4496   done
4497 IFS=$as_save_IFS
4498
4499   ;;
4500 esac
4501 fi
4502 MSGMERGE=$ac_cv_path_MSGMERGE
4503 if test -n "$MSGMERGE"; then
4504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4505 $as_echo "$MSGMERGE" >&6; }
4506 else
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4509 fi
4510
4511
4512 # Extract the first word of "msgfmt", so it can be a program name with args.
4513 set dummy msgfmt; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_path_MSGFMT+:} false; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519   case $MSGFMT in
4520   [\\/]* | ?:[\\/]*)
4521   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4522   ;;
4523   *)
4524   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4526 do
4527   IFS=$as_save_IFS
4528   test -z "$as_dir" && as_dir=.
4529     for ac_exec_ext in '' $ac_executable_extensions; do
4530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533     break 2
4534   fi
4535 done
4536   done
4537 IFS=$as_save_IFS
4538
4539   ;;
4540 esac
4541 fi
4542 MSGFMT=$ac_cv_path_MSGFMT
4543 if test -n "$MSGFMT"; then
4544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4545 $as_echo "$MSGFMT" >&6; }
4546 else
4547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4549 fi
4550
4551
4552 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4553 set dummy gmsgfmt; ac_word=$2
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if ${ac_cv_path_GMSGFMT+:} false; then :
4557   $as_echo_n "(cached) " >&6
4558 else
4559   case $GMSGFMT in
4560   [\\/]* | ?:[\\/]*)
4561   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4562   ;;
4563   *)
4564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4566 do
4567   IFS=$as_save_IFS
4568   test -z "$as_dir" && as_dir=.
4569     for ac_exec_ext in '' $ac_executable_extensions; do
4570   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573     break 2
4574   fi
4575 done
4576   done
4577 IFS=$as_save_IFS
4578
4579   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4580   ;;
4581 esac
4582 fi
4583 GMSGFMT=$ac_cv_path_GMSGFMT
4584 if test -n "$GMSGFMT"; then
4585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4586 $as_echo "$GMSGFMT" >&6; }
4587 else
4588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4590 fi
4591
4592
4593 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4594     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4595 fi
4596 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4597 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4598 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4599 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4600     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4601 fi
4602
4603 # Extract the first word of "perl", so it can be a program name with args.
4604 set dummy perl; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4608   $as_echo_n "(cached) " >&6
4609 else
4610   case $INTLTOOL_PERL in
4611   [\\/]* | ?:[\\/]*)
4612   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4613   ;;
4614   *)
4615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4617 do
4618   IFS=$as_save_IFS
4619   test -z "$as_dir" && as_dir=.
4620     for ac_exec_ext in '' $ac_executable_extensions; do
4621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624     break 2
4625   fi
4626 done
4627   done
4628 IFS=$as_save_IFS
4629
4630   ;;
4631 esac
4632 fi
4633 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4634 if test -n "$INTLTOOL_PERL"; then
4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4636 $as_echo "$INTLTOOL_PERL" >&6; }
4637 else
4638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4640 fi
4641
4642
4643 if test -z "$INTLTOOL_PERL"; then
4644    as_fn_error $? "perl not found" "$LINENO" 5
4645 fi
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4647 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4648 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4649 if test $? -ne 0; then
4650    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4651 else
4652    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4654 $as_echo "$IT_PERL_VERSION" >&6; }
4655 fi
4656 if test "x" != "xno-xml"; then
4657    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4658 $as_echo_n "checking for XML::Parser... " >&6; }
4659    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4660        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4661 $as_echo "ok" >&6; }
4662    else
4663        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4664    fi
4665 fi
4666
4667 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4668
4669
4670 # Set DATADIRNAME correctly if it is not set yet
4671 # (copied from glib-gettext.m4)
4672 if test -z "$DATADIRNAME"; then
4673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h.  */
4675
4676 int
4677 main ()
4678 {
4679 extern int _nl_msg_cat_cntr;
4680                        return _nl_msg_cat_cntr
4681   ;
4682   return 0;
4683 }
4684 _ACEOF
4685 if ac_fn_c_try_link "$LINENO"; then :
4686   DATADIRNAME=share
4687 else
4688   case $host in
4689     *-*-solaris*)
4690                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4691 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4692   DATADIRNAME=share
4693 else
4694   DATADIRNAME=lib
4695 fi
4696
4697     ;;
4698     *)
4699     DATADIRNAME=lib
4700     ;;
4701     esac
4702 fi
4703 rm -f core conftest.err conftest.$ac_objext \
4704     conftest$ac_exeext conftest.$ac_ext
4705 fi
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4720         if test -n "$ac_tool_prefix"; then
4721   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4722 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4726   $as_echo_n "(cached) " >&6
4727 else
4728   case $PKG_CONFIG in
4729   [\\/]* | ?:[\\/]*)
4730   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4731   ;;
4732   *)
4733   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH
4735 do
4736   IFS=$as_save_IFS
4737   test -z "$as_dir" && as_dir=.
4738     for ac_exec_ext in '' $ac_executable_extensions; do
4739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742     break 2
4743   fi
4744 done
4745   done
4746 IFS=$as_save_IFS
4747
4748   ;;
4749 esac
4750 fi
4751 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4752 if test -n "$PKG_CONFIG"; then
4753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4754 $as_echo "$PKG_CONFIG" >&6; }
4755 else
4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 fi
4759
4760
4761 fi
4762 if test -z "$ac_cv_path_PKG_CONFIG"; then
4763   ac_pt_PKG_CONFIG=$PKG_CONFIG
4764   # Extract the first word of "pkg-config", so it can be a program name with args.
4765 set dummy pkg-config; ac_word=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4769   $as_echo_n "(cached) " >&6
4770 else
4771   case $ac_pt_PKG_CONFIG in
4772   [\\/]* | ?:[\\/]*)
4773   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4774   ;;
4775   *)
4776   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4778 do
4779   IFS=$as_save_IFS
4780   test -z "$as_dir" && as_dir=.
4781     for ac_exec_ext in '' $ac_executable_extensions; do
4782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785     break 2
4786   fi
4787 done
4788   done
4789 IFS=$as_save_IFS
4790
4791   ;;
4792 esac
4793 fi
4794 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4795 if test -n "$ac_pt_PKG_CONFIG"; then
4796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4797 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4798 else
4799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801 fi
4802
4803   if test "x$ac_pt_PKG_CONFIG" = x; then
4804     PKG_CONFIG=""
4805   else
4806     case $cross_compiling:$ac_tool_warned in
4807 yes:)
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810 ac_tool_warned=yes ;;
4811 esac
4812     PKG_CONFIG=$ac_pt_PKG_CONFIG
4813   fi
4814 else
4815   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4816 fi
4817
4818 fi
4819 if test -n "$PKG_CONFIG"; then
4820         _pkg_min_version=0.9.0
4821         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4822 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4823         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4824                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4825 $as_echo "yes" >&6; }
4826         else
4827                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829                 PKG_CONFIG=""
4830         fi
4831 fi
4832
4833 case `pwd` in
4834   *\ * | *\     *)
4835     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4836 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4837 esac
4838
4839
4840
4841 macro_version='2.4.2'
4842 macro_revision='1.3337'
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856 ltmain="$ac_aux_dir/ltmain.sh"
4857
4858 # Make sure we can run config.sub.
4859 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4860   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4861
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4863 $as_echo_n "checking build system type... " >&6; }
4864 if ${ac_cv_build+:} false; then :
4865   $as_echo_n "(cached) " >&6
4866 else
4867   ac_build_alias=$build_alias
4868 test "x$ac_build_alias" = x &&
4869   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4870 test "x$ac_build_alias" = x &&
4871   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4873   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4874
4875 fi
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4877 $as_echo "$ac_cv_build" >&6; }
4878 case $ac_cv_build in
4879 *-*-*) ;;
4880 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4881 esac
4882 build=$ac_cv_build
4883 ac_save_IFS=$IFS; IFS='-'
4884 set x $ac_cv_build
4885 shift
4886 build_cpu=$1
4887 build_vendor=$2
4888 shift; shift
4889 # Remember, the first character of IFS is used to create $*,
4890 # except with old shells:
4891 build_os=$*
4892 IFS=$ac_save_IFS
4893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4894
4895
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4897 $as_echo_n "checking host system type... " >&6; }
4898 if ${ac_cv_host+:} false; then :
4899   $as_echo_n "(cached) " >&6
4900 else
4901   if test "x$host_alias" = x; then
4902   ac_cv_host=$ac_cv_build
4903 else
4904   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4905     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4906 fi
4907
4908 fi
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4910 $as_echo "$ac_cv_host" >&6; }
4911 case $ac_cv_host in
4912 *-*-*) ;;
4913 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4914 esac
4915 host=$ac_cv_host
4916 ac_save_IFS=$IFS; IFS='-'
4917 set x $ac_cv_host
4918 shift
4919 host_cpu=$1
4920 host_vendor=$2
4921 shift; shift
4922 # Remember, the first character of IFS is used to create $*,
4923 # except with old shells:
4924 host_os=$*
4925 IFS=$ac_save_IFS
4926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4927
4928
4929 # Backslashify metacharacters that are still active within
4930 # double-quoted strings.
4931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4932
4933 # Same as above, but do not quote variable references.
4934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4935
4936 # Sed substitution to delay expansion of an escaped shell variable in a
4937 # double_quote_subst'ed string.
4938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4939
4940 # Sed substitution to delay expansion of an escaped single quote.
4941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4942
4943 # Sed substitution to avoid accidental globbing in evaled expressions
4944 no_glob_subst='s/\*/\\\*/g'
4945
4946 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4947 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4948 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4949
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4951 $as_echo_n "checking how to print strings... " >&6; }
4952 # Test print first, because it will be a builtin if present.
4953 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4954    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4955   ECHO='print -r --'
4956 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4957   ECHO='printf %s\n'
4958 else
4959   # Use this function as a fallback that always works.
4960   func_fallback_echo ()
4961   {
4962     eval 'cat <<_LTECHO_EOF
4963 $1
4964 _LTECHO_EOF'
4965   }
4966   ECHO='func_fallback_echo'
4967 fi
4968
4969 # func_echo_all arg...
4970 # Invoke $ECHO with all args, space-separated.
4971 func_echo_all ()
4972 {
4973     $ECHO ""
4974 }
4975
4976 case "$ECHO" in
4977   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4978 $as_echo "printf" >&6; } ;;
4979   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4980 $as_echo "print -r" >&6; } ;;
4981   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4982 $as_echo "cat" >&6; } ;;
4983 esac
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4999 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5000 if ${ac_cv_path_SED+:} false; then :
5001   $as_echo_n "(cached) " >&6
5002 else
5003             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5004      for ac_i in 1 2 3 4 5 6 7; do
5005        ac_script="$ac_script$as_nl$ac_script"
5006      done
5007      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5008      { ac_script=; unset ac_script;}
5009      if test -z "$SED"; then
5010   ac_path_SED_found=false
5011   # Loop through the user's path and test for each of PROGNAME-LIST
5012   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5014 do
5015   IFS=$as_save_IFS
5016   test -z "$as_dir" && as_dir=.
5017     for ac_prog in sed gsed; do
5018     for ac_exec_ext in '' $ac_executable_extensions; do
5019       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5020       as_fn_executable_p "$ac_path_SED" || continue
5021 # Check for GNU ac_path_SED and select it if it is found.
5022   # Check for GNU $ac_path_SED
5023 case `"$ac_path_SED" --version 2>&1` in
5024 *GNU*)
5025   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5026 *)
5027   ac_count=0
5028   $as_echo_n 0123456789 >"conftest.in"
5029   while :
5030   do
5031     cat "conftest.in" "conftest.in" >"conftest.tmp"
5032     mv "conftest.tmp" "conftest.in"
5033     cp "conftest.in" "conftest.nl"
5034     $as_echo '' >> "conftest.nl"
5035     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5036     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5037     as_fn_arith $ac_count + 1 && ac_count=$as_val
5038     if test $ac_count -gt ${ac_path_SED_max-0}; then
5039       # Best one so far, save it but keep looking for a better one
5040       ac_cv_path_SED="$ac_path_SED"
5041       ac_path_SED_max=$ac_count
5042     fi
5043     # 10*(2^10) chars as input seems more than enough
5044     test $ac_count -gt 10 && break
5045   done
5046   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5047 esac
5048
5049       $ac_path_SED_found && break 3
5050     done
5051   done
5052   done
5053 IFS=$as_save_IFS
5054   if test -z "$ac_cv_path_SED"; then
5055     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5056   fi
5057 else
5058   ac_cv_path_SED=$SED
5059 fi
5060
5061 fi
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5063 $as_echo "$ac_cv_path_SED" >&6; }
5064  SED="$ac_cv_path_SED"
5065   rm -f conftest.sed
5066
5067 test -z "$SED" && SED=sed
5068 Xsed="$SED -e 1s/^X//"
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5081 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5082 if ${ac_cv_path_GREP+:} false; then :
5083   $as_echo_n "(cached) " >&6
5084 else
5085   if test -z "$GREP"; then
5086   ac_path_GREP_found=false
5087   # Loop through the user's path and test for each of PROGNAME-LIST
5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5090 do
5091   IFS=$as_save_IFS
5092   test -z "$as_dir" && as_dir=.
5093     for ac_prog in grep ggrep; do
5094     for ac_exec_ext in '' $ac_executable_extensions; do
5095       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5096       as_fn_executable_p "$ac_path_GREP" || continue
5097 # Check for GNU ac_path_GREP and select it if it is found.
5098   # Check for GNU $ac_path_GREP
5099 case `"$ac_path_GREP" --version 2>&1` in
5100 *GNU*)
5101   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5102 *)
5103   ac_count=0
5104   $as_echo_n 0123456789 >"conftest.in"
5105   while :
5106   do
5107     cat "conftest.in" "conftest.in" >"conftest.tmp"
5108     mv "conftest.tmp" "conftest.in"
5109     cp "conftest.in" "conftest.nl"
5110     $as_echo 'GREP' >> "conftest.nl"
5111     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5112     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5113     as_fn_arith $ac_count + 1 && ac_count=$as_val
5114     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5115       # Best one so far, save it but keep looking for a better one
5116       ac_cv_path_GREP="$ac_path_GREP"
5117       ac_path_GREP_max=$ac_count
5118     fi
5119     # 10*(2^10) chars as input seems more than enough
5120     test $ac_count -gt 10 && break
5121   done
5122   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5123 esac
5124
5125       $ac_path_GREP_found && break 3
5126     done
5127   done
5128   done
5129 IFS=$as_save_IFS
5130   if test -z "$ac_cv_path_GREP"; then
5131     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5132   fi
5133 else
5134   ac_cv_path_GREP=$GREP
5135 fi
5136
5137 fi
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5139 $as_echo "$ac_cv_path_GREP" >&6; }
5140  GREP="$ac_cv_path_GREP"
5141
5142
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5144 $as_echo_n "checking for egrep... " >&6; }
5145 if ${ac_cv_path_EGREP+:} false; then :
5146   $as_echo_n "(cached) " >&6
5147 else
5148   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5149    then ac_cv_path_EGREP="$GREP -E"
5150    else
5151      if test -z "$EGREP"; then
5152   ac_path_EGREP_found=false
5153   # Loop through the user's path and test for each of PROGNAME-LIST
5154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5156 do
5157   IFS=$as_save_IFS
5158   test -z "$as_dir" && as_dir=.
5159     for ac_prog in egrep; do
5160     for ac_exec_ext in '' $ac_executable_extensions; do
5161       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5162       as_fn_executable_p "$ac_path_EGREP" || continue
5163 # Check for GNU ac_path_EGREP and select it if it is found.
5164   # Check for GNU $ac_path_EGREP
5165 case `"$ac_path_EGREP" --version 2>&1` in
5166 *GNU*)
5167   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5168 *)
5169   ac_count=0
5170   $as_echo_n 0123456789 >"conftest.in"
5171   while :
5172   do
5173     cat "conftest.in" "conftest.in" >"conftest.tmp"
5174     mv "conftest.tmp" "conftest.in"
5175     cp "conftest.in" "conftest.nl"
5176     $as_echo 'EGREP' >> "conftest.nl"
5177     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5178     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5179     as_fn_arith $ac_count + 1 && ac_count=$as_val
5180     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5181       # Best one so far, save it but keep looking for a better one
5182       ac_cv_path_EGREP="$ac_path_EGREP"
5183       ac_path_EGREP_max=$ac_count
5184     fi
5185     # 10*(2^10) chars as input seems more than enough
5186     test $ac_count -gt 10 && break
5187   done
5188   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5189 esac
5190
5191       $ac_path_EGREP_found && break 3
5192     done
5193   done
5194   done
5195 IFS=$as_save_IFS
5196   if test -z "$ac_cv_path_EGREP"; then
5197     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5198   fi
5199 else
5200   ac_cv_path_EGREP=$EGREP
5201 fi
5202
5203    fi
5204 fi
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5206 $as_echo "$ac_cv_path_EGREP" >&6; }
5207  EGREP="$ac_cv_path_EGREP"
5208
5209
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5211 $as_echo_n "checking for fgrep... " >&6; }
5212 if ${ac_cv_path_FGREP+:} false; then :
5213   $as_echo_n "(cached) " >&6
5214 else
5215   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5216    then ac_cv_path_FGREP="$GREP -F"
5217    else
5218      if test -z "$FGREP"; then
5219   ac_path_FGREP_found=false
5220   # Loop through the user's path and test for each of PROGNAME-LIST
5221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5223 do
5224   IFS=$as_save_IFS
5225   test -z "$as_dir" && as_dir=.
5226     for ac_prog in fgrep; do
5227     for ac_exec_ext in '' $ac_executable_extensions; do
5228       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5229       as_fn_executable_p "$ac_path_FGREP" || continue
5230 # Check for GNU ac_path_FGREP and select it if it is found.
5231   # Check for GNU $ac_path_FGREP
5232 case `"$ac_path_FGREP" --version 2>&1` in
5233 *GNU*)
5234   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5235 *)
5236   ac_count=0
5237   $as_echo_n 0123456789 >"conftest.in"
5238   while :
5239   do
5240     cat "conftest.in" "conftest.in" >"conftest.tmp"
5241     mv "conftest.tmp" "conftest.in"
5242     cp "conftest.in" "conftest.nl"
5243     $as_echo 'FGREP' >> "conftest.nl"
5244     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5245     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5246     as_fn_arith $ac_count + 1 && ac_count=$as_val
5247     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5248       # Best one so far, save it but keep looking for a better one
5249       ac_cv_path_FGREP="$ac_path_FGREP"
5250       ac_path_FGREP_max=$ac_count
5251     fi
5252     # 10*(2^10) chars as input seems more than enough
5253     test $ac_count -gt 10 && break
5254   done
5255   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5256 esac
5257
5258       $ac_path_FGREP_found && break 3
5259     done
5260   done
5261   done
5262 IFS=$as_save_IFS
5263   if test -z "$ac_cv_path_FGREP"; then
5264     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5265   fi
5266 else
5267   ac_cv_path_FGREP=$FGREP
5268 fi
5269
5270    fi
5271 fi
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5273 $as_echo "$ac_cv_path_FGREP" >&6; }
5274  FGREP="$ac_cv_path_FGREP"
5275
5276
5277 test -z "$GREP" && GREP=grep
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297 # Check whether --with-gnu-ld was given.
5298 if test "${with_gnu_ld+set}" = set; then :
5299   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5300 else
5301   with_gnu_ld=no
5302 fi
5303
5304 ac_prog=ld
5305 if test "$GCC" = yes; then
5306   # Check if gcc -print-prog-name=ld gives a path.
5307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5308 $as_echo_n "checking for ld used by $CC... " >&6; }
5309   case $host in
5310   *-*-mingw*)
5311     # gcc leaves a trailing carriage return which upsets mingw
5312     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5313   *)
5314     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5315   esac
5316   case $ac_prog in
5317     # Accept absolute paths.
5318     [\\/]* | ?:[\\/]*)
5319       re_direlt='/[^/][^/]*/\.\./'
5320       # Canonicalize the pathname of ld
5321       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5322       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5323         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5324       done
5325       test -z "$LD" && LD="$ac_prog"
5326       ;;
5327   "")
5328     # If it fails, then pretend we aren't using GCC.
5329     ac_prog=ld
5330     ;;
5331   *)
5332     # If it is relative, then search for the first ld in PATH.
5333     with_gnu_ld=unknown
5334     ;;
5335   esac
5336 elif test "$with_gnu_ld" = yes; then
5337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5338 $as_echo_n "checking for GNU ld... " >&6; }
5339 else
5340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5341 $as_echo_n "checking for non-GNU ld... " >&6; }
5342 fi
5343 if ${lt_cv_path_LD+:} false; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   if test -z "$LD"; then
5347   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5348   for ac_dir in $PATH; do
5349     IFS="$lt_save_ifs"
5350     test -z "$ac_dir" && ac_dir=.
5351     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5352       lt_cv_path_LD="$ac_dir/$ac_prog"
5353       # Check to see if the program is GNU ld.  I'd rather use --version,
5354       # but apparently some variants of GNU ld only accept -v.
5355       # Break only if it was the GNU/non-GNU ld that we prefer.
5356       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5357       *GNU* | *'with BFD'*)
5358         test "$with_gnu_ld" != no && break
5359         ;;
5360       *)
5361         test "$with_gnu_ld" != yes && break
5362         ;;
5363       esac
5364     fi
5365   done
5366   IFS="$lt_save_ifs"
5367 else
5368   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5369 fi
5370 fi
5371
5372 LD="$lt_cv_path_LD"
5373 if test -n "$LD"; then
5374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5375 $as_echo "$LD" >&6; }
5376 else
5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5379 fi
5380 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5382 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5383 if ${lt_cv_prog_gnu_ld+:} false; then :
5384   $as_echo_n "(cached) " >&6
5385 else
5386   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5387 case `$LD -v 2>&1 </dev/null` in
5388 *GNU* | *'with BFD'*)
5389   lt_cv_prog_gnu_ld=yes
5390   ;;
5391 *)
5392   lt_cv_prog_gnu_ld=no
5393   ;;
5394 esac
5395 fi
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5397 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5398 with_gnu_ld=$lt_cv_prog_gnu_ld
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5409 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5410 if ${lt_cv_path_NM+:} false; then :
5411   $as_echo_n "(cached) " >&6
5412 else
5413   if test -n "$NM"; then
5414   # Let the user override the test.
5415   lt_cv_path_NM="$NM"
5416 else
5417   lt_nm_to_check="${ac_tool_prefix}nm"
5418   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5419     lt_nm_to_check="$lt_nm_to_check nm"
5420   fi
5421   for lt_tmp_nm in $lt_nm_to_check; do
5422     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5423     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5424       IFS="$lt_save_ifs"
5425       test -z "$ac_dir" && ac_dir=.
5426       tmp_nm="$ac_dir/$lt_tmp_nm"
5427       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5428         # Check to see if the nm accepts a BSD-compat flag.
5429         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5430         #   nm: unknown option "B" ignored
5431         # Tru64's nm complains that /dev/null is an invalid object file
5432         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5433         */dev/null* | *'Invalid file or object type'*)
5434           lt_cv_path_NM="$tmp_nm -B"
5435           break
5436           ;;
5437         *)
5438           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5439           */dev/null*)
5440             lt_cv_path_NM="$tmp_nm -p"
5441             break
5442             ;;
5443           *)
5444             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5445             continue # so that we can try to find one that supports BSD flags
5446             ;;
5447           esac
5448           ;;
5449         esac
5450       fi
5451     done
5452     IFS="$lt_save_ifs"
5453   done
5454   : ${lt_cv_path_NM=no}
5455 fi
5456 fi
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5458 $as_echo "$lt_cv_path_NM" >&6; }
5459 if test "$lt_cv_path_NM" != "no"; then
5460   NM="$lt_cv_path_NM"
5461 else
5462   # Didn't find any BSD compatible name lister, look for dumpbin.
5463   if test -n "$DUMPBIN"; then :
5464     # Let the user override the test.
5465   else
5466     if test -n "$ac_tool_prefix"; then
5467   for ac_prog in dumpbin "link -dump"
5468   do
5469     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5470 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_DUMPBIN+:} false; then :
5474   $as_echo_n "(cached) " >&6
5475 else
5476   if test -n "$DUMPBIN"; then
5477   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5481 do
5482   IFS=$as_save_IFS
5483   test -z "$as_dir" && as_dir=.
5484     for ac_exec_ext in '' $ac_executable_extensions; do
5485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488     break 2
5489   fi
5490 done
5491   done
5492 IFS=$as_save_IFS
5493
5494 fi
5495 fi
5496 DUMPBIN=$ac_cv_prog_DUMPBIN
5497 if test -n "$DUMPBIN"; then
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5499 $as_echo "$DUMPBIN" >&6; }
5500 else
5501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5503 fi
5504
5505
5506     test -n "$DUMPBIN" && break
5507   done
5508 fi
5509 if test -z "$DUMPBIN"; then
5510   ac_ct_DUMPBIN=$DUMPBIN
5511   for ac_prog in dumpbin "link -dump"
5512 do
5513   # Extract the first word of "$ac_prog", so it can be a program name with args.
5514 set dummy $ac_prog; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   if test -n "$ac_ct_DUMPBIN"; then
5521   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5525 do
5526   IFS=$as_save_IFS
5527   test -z "$as_dir" && as_dir=.
5528     for ac_exec_ext in '' $ac_executable_extensions; do
5529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532     break 2
5533   fi
5534 done
5535   done
5536 IFS=$as_save_IFS
5537
5538 fi
5539 fi
5540 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5541 if test -n "$ac_ct_DUMPBIN"; then
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5543 $as_echo "$ac_ct_DUMPBIN" >&6; }
5544 else
5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5547 fi
5548
5549
5550   test -n "$ac_ct_DUMPBIN" && break
5551 done
5552
5553   if test "x$ac_ct_DUMPBIN" = x; then
5554     DUMPBIN=":"
5555   else
5556     case $cross_compiling:$ac_tool_warned in
5557 yes:)
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560 ac_tool_warned=yes ;;
5561 esac
5562     DUMPBIN=$ac_ct_DUMPBIN
5563   fi
5564 fi
5565
5566     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5567     *COFF*)
5568       DUMPBIN="$DUMPBIN -symbols"
5569       ;;
5570     *)
5571       DUMPBIN=:
5572       ;;
5573     esac
5574   fi
5575
5576   if test "$DUMPBIN" != ":"; then
5577     NM="$DUMPBIN"
5578   fi
5579 fi
5580 test -z "$NM" && NM=nm
5581
5582
5583
5584
5585
5586
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5588 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5589 if ${lt_cv_nm_interface+:} false; then :
5590   $as_echo_n "(cached) " >&6
5591 else
5592   lt_cv_nm_interface="BSD nm"
5593   echo "int some_variable = 0;" > conftest.$ac_ext
5594   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5595   (eval "$ac_compile" 2>conftest.err)
5596   cat conftest.err >&5
5597   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5598   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5599   cat conftest.err >&5
5600   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5601   cat conftest.out >&5
5602   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5603     lt_cv_nm_interface="MS dumpbin"
5604   fi
5605   rm -f conftest*
5606 fi
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5608 $as_echo "$lt_cv_nm_interface" >&6; }
5609
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5611 $as_echo_n "checking whether ln -s works... " >&6; }
5612 LN_S=$as_ln_s
5613 if test "$LN_S" = "ln -s"; then
5614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5615 $as_echo "yes" >&6; }
5616 else
5617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5618 $as_echo "no, using $LN_S" >&6; }
5619 fi
5620
5621 # find the maximum length of command line arguments
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5623 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5624 if ${lt_cv_sys_max_cmd_len+:} false; then :
5625   $as_echo_n "(cached) " >&6
5626 else
5627     i=0
5628   teststring="ABCD"
5629
5630   case $build_os in
5631   msdosdjgpp*)
5632     # On DJGPP, this test can blow up pretty badly due to problems in libc
5633     # (any single argument exceeding 2000 bytes causes a buffer overrun
5634     # during glob expansion).  Even if it were fixed, the result of this
5635     # check would be larger than it should be.
5636     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5637     ;;
5638
5639   gnu*)
5640     # Under GNU Hurd, this test is not required because there is
5641     # no limit to the length of command line arguments.
5642     # Libtool will interpret -1 as no limit whatsoever
5643     lt_cv_sys_max_cmd_len=-1;
5644     ;;
5645
5646   cygwin* | mingw* | cegcc*)
5647     # On Win9x/ME, this test blows up -- it succeeds, but takes
5648     # about 5 minutes as the teststring grows exponentially.
5649     # Worse, since 9x/ME are not pre-emptively multitasking,
5650     # you end up with a "frozen" computer, even though with patience
5651     # the test eventually succeeds (with a max line length of 256k).
5652     # Instead, let's just punt: use the minimum linelength reported by
5653     # all of the supported platforms: 8192 (on NT/2K/XP).
5654     lt_cv_sys_max_cmd_len=8192;
5655     ;;
5656
5657   mint*)
5658     # On MiNT this can take a long time and run out of memory.
5659     lt_cv_sys_max_cmd_len=8192;
5660     ;;
5661
5662   amigaos*)
5663     # On AmigaOS with pdksh, this test takes hours, literally.
5664     # So we just punt and use a minimum line length of 8192.
5665     lt_cv_sys_max_cmd_len=8192;
5666     ;;
5667
5668   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5669     # This has been around since 386BSD, at least.  Likely further.
5670     if test -x /sbin/sysctl; then
5671       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5672     elif test -x /usr/sbin/sysctl; then
5673       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5674     else
5675       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5676     fi
5677     # And add a safety zone
5678     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5679     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5680     ;;
5681
5682   interix*)
5683     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5684     lt_cv_sys_max_cmd_len=196608
5685     ;;
5686
5687   os2*)
5688     # The test takes a long time on OS/2.
5689     lt_cv_sys_max_cmd_len=8192
5690     ;;
5691
5692   osf*)
5693     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5694     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5695     # nice to cause kernel panics so lets avoid the loop below.
5696     # First set a reasonable default.
5697     lt_cv_sys_max_cmd_len=16384
5698     #
5699     if test -x /sbin/sysconfig; then
5700       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5701         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5702       esac
5703     fi
5704     ;;
5705   sco3.2v5*)
5706     lt_cv_sys_max_cmd_len=102400
5707     ;;
5708   sysv5* | sco5v6* | sysv4.2uw2*)
5709     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5710     if test -n "$kargmax"; then
5711       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5712     else
5713       lt_cv_sys_max_cmd_len=32768
5714     fi
5715     ;;
5716   *)
5717     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5718     if test -n "$lt_cv_sys_max_cmd_len" && \
5719         test undefined != "$lt_cv_sys_max_cmd_len"; then
5720       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5721       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5722     else
5723       # Make teststring a little bigger before we do anything with it.
5724       # a 1K string should be a reasonable start.
5725       for i in 1 2 3 4 5 6 7 8 ; do
5726         teststring=$teststring$teststring
5727       done
5728       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5729       # If test is not a shell built-in, we'll probably end up computing a
5730       # maximum length that is only half of the actual maximum length, but
5731       # we can't tell.
5732       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5733                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5734               test $i != 17 # 1/2 MB should be enough
5735       do
5736         i=`expr $i + 1`
5737         teststring=$teststring$teststring
5738       done
5739       # Only check the string length outside the loop.
5740       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5741       teststring=
5742       # Add a significant safety factor because C++ compilers can tack on
5743       # massive amounts of additional arguments before passing them to the
5744       # linker.  It appears as though 1/2 is a usable value.
5745       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5746     fi
5747     ;;
5748   esac
5749
5750 fi
5751
5752 if test -n $lt_cv_sys_max_cmd_len ; then
5753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5754 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5755 else
5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5757 $as_echo "none" >&6; }
5758 fi
5759 max_cmd_len=$lt_cv_sys_max_cmd_len
5760
5761
5762
5763
5764
5765
5766 : ${CP="cp -f"}
5767 : ${MV="mv -f"}
5768 : ${RM="rm -f"}
5769
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5771 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5772 # Try some XSI features
5773 xsi_shell=no
5774 ( _lt_dummy="a/b/c"
5775   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5776       = c,a/b,b/c, \
5777     && eval 'test $(( 1 + 1 )) -eq 2 \
5778     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5779   && xsi_shell=yes
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5781 $as_echo "$xsi_shell" >&6; }
5782
5783
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5785 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5786 lt_shell_append=no
5787 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5788     >/dev/null 2>&1 \
5789   && lt_shell_append=yes
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5791 $as_echo "$lt_shell_append" >&6; }
5792
5793
5794 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5795   lt_unset=unset
5796 else
5797   lt_unset=false
5798 fi
5799
5800
5801
5802
5803
5804 # test EBCDIC or ASCII
5805 case `echo X|tr X '\101'` in
5806  A) # ASCII based system
5807     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5808   lt_SP2NL='tr \040 \012'
5809   lt_NL2SP='tr \015\012 \040\040'
5810   ;;
5811  *) # EBCDIC based system
5812   lt_SP2NL='tr \100 \n'
5813   lt_NL2SP='tr \r\n \100\100'
5814   ;;
5815 esac
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5826 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5827 if ${lt_cv_to_host_file_cmd+:} false; then :
5828   $as_echo_n "(cached) " >&6
5829 else
5830   case $host in
5831   *-*-mingw* )
5832     case $build in
5833       *-*-mingw* ) # actually msys
5834         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5835         ;;
5836       *-*-cygwin* )
5837         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5838         ;;
5839       * ) # otherwise, assume *nix
5840         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5841         ;;
5842     esac
5843     ;;
5844   *-*-cygwin* )
5845     case $build in
5846       *-*-mingw* ) # actually msys
5847         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5848         ;;
5849       *-*-cygwin* )
5850         lt_cv_to_host_file_cmd=func_convert_file_noop
5851         ;;
5852       * ) # otherwise, assume *nix
5853         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5854         ;;
5855     esac
5856     ;;
5857   * ) # unhandled hosts (and "normal" native builds)
5858     lt_cv_to_host_file_cmd=func_convert_file_noop
5859     ;;
5860 esac
5861
5862 fi
5863
5864 to_host_file_cmd=$lt_cv_to_host_file_cmd
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5866 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5867
5868
5869
5870
5871
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5873 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5874 if ${lt_cv_to_tool_file_cmd+:} false; then :
5875   $as_echo_n "(cached) " >&6
5876 else
5877   #assume ordinary cross tools, or native build.
5878 lt_cv_to_tool_file_cmd=func_convert_file_noop
5879 case $host in
5880   *-*-mingw* )
5881     case $build in
5882       *-*-mingw* ) # actually msys
5883         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5884         ;;
5885     esac
5886     ;;
5887 esac
5888
5889 fi
5890
5891 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5893 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5894
5895
5896
5897
5898
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5900 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5901 if ${lt_cv_ld_reload_flag+:} false; then :
5902   $as_echo_n "(cached) " >&6
5903 else
5904   lt_cv_ld_reload_flag='-r'
5905 fi
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5907 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5908 reload_flag=$lt_cv_ld_reload_flag
5909 case $reload_flag in
5910 "" | " "*) ;;
5911 *) reload_flag=" $reload_flag" ;;
5912 esac
5913 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5914 case $host_os in
5915   cygwin* | mingw* | pw32* | cegcc*)
5916     if test "$GCC" != yes; then
5917       reload_cmds=false
5918     fi
5919     ;;
5920   darwin*)
5921     if test "$GCC" = yes; then
5922       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5923     else
5924       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5925     fi
5926     ;;
5927 esac
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937 if test -n "$ac_tool_prefix"; then
5938   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5939 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if ${ac_cv_prog_OBJDUMP+:} false; then :
5943   $as_echo_n "(cached) " >&6
5944 else
5945   if test -n "$OBJDUMP"; then
5946   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5950 do
5951   IFS=$as_save_IFS
5952   test -z "$as_dir" && as_dir=.
5953     for ac_exec_ext in '' $ac_executable_extensions; do
5954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5955     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957     break 2
5958   fi
5959 done
5960   done
5961 IFS=$as_save_IFS
5962
5963 fi
5964 fi
5965 OBJDUMP=$ac_cv_prog_OBJDUMP
5966 if test -n "$OBJDUMP"; then
5967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5968 $as_echo "$OBJDUMP" >&6; }
5969 else
5970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5972 fi
5973
5974
5975 fi
5976 if test -z "$ac_cv_prog_OBJDUMP"; then
5977   ac_ct_OBJDUMP=$OBJDUMP
5978   # Extract the first word of "objdump", so it can be a program name with args.
5979 set dummy objdump; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5983   $as_echo_n "(cached) " >&6
5984 else
5985   if test -n "$ac_ct_OBJDUMP"; then
5986   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5990 do
5991   IFS=$as_save_IFS
5992   test -z "$as_dir" && as_dir=.
5993     for ac_exec_ext in '' $ac_executable_extensions; do
5994   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997     break 2
5998   fi
5999 done
6000   done
6001 IFS=$as_save_IFS
6002
6003 fi
6004 fi
6005 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6006 if test -n "$ac_ct_OBJDUMP"; then
6007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6008 $as_echo "$ac_ct_OBJDUMP" >&6; }
6009 else
6010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6012 fi
6013
6014   if test "x$ac_ct_OBJDUMP" = x; then
6015     OBJDUMP="false"
6016   else
6017     case $cross_compiling:$ac_tool_warned in
6018 yes:)
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021 ac_tool_warned=yes ;;
6022 esac
6023     OBJDUMP=$ac_ct_OBJDUMP
6024   fi
6025 else
6026   OBJDUMP="$ac_cv_prog_OBJDUMP"
6027 fi
6028
6029 test -z "$OBJDUMP" && OBJDUMP=objdump
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6040 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6041 if ${lt_cv_deplibs_check_method+:} false; then :
6042   $as_echo_n "(cached) " >&6
6043 else
6044   lt_cv_file_magic_cmd='$MAGIC_CMD'
6045 lt_cv_file_magic_test_file=
6046 lt_cv_deplibs_check_method='unknown'
6047 # Need to set the preceding variable on all platforms that support
6048 # interlibrary dependencies.
6049 # 'none' -- dependencies not supported.
6050 # `unknown' -- same as none, but documents that we really don't know.
6051 # 'pass_all' -- all dependencies passed with no checks.
6052 # 'test_compile' -- check by making test program.
6053 # 'file_magic [[regex]]' -- check by looking for files in library path
6054 # which responds to the $file_magic_cmd with a given extended regex.
6055 # If you have `file' or equivalent on your system and you're not sure
6056 # whether `pass_all' will *always* work, you probably want this one.
6057
6058 case $host_os in
6059 aix[4-9]*)
6060   lt_cv_deplibs_check_method=pass_all
6061   ;;
6062
6063 beos*)
6064   lt_cv_deplibs_check_method=pass_all
6065   ;;
6066
6067 bsdi[45]*)
6068   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6069   lt_cv_file_magic_cmd='/usr/bin/file -L'
6070   lt_cv_file_magic_test_file=/shlib/libc.so
6071   ;;
6072
6073 cygwin*)
6074   # func_win32_libid is a shell function defined in ltmain.sh
6075   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6076   lt_cv_file_magic_cmd='func_win32_libid'
6077   ;;
6078
6079 mingw* | pw32*)
6080   # Base MSYS/MinGW do not provide the 'file' command needed by
6081   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6082   # unless we find 'file', for example because we are cross-compiling.
6083   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6084   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6085     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6086     lt_cv_file_magic_cmd='func_win32_libid'
6087   else
6088     # Keep this pattern in sync with the one in func_win32_libid.
6089     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6090     lt_cv_file_magic_cmd='$OBJDUMP -f'
6091   fi
6092   ;;
6093
6094 cegcc*)
6095   # use the weaker test based on 'objdump'. See mingw*.
6096   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6097   lt_cv_file_magic_cmd='$OBJDUMP -f'
6098   ;;
6099
6100 darwin* | rhapsody*)
6101   lt_cv_deplibs_check_method=pass_all
6102   ;;
6103
6104 freebsd* | dragonfly*)
6105   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6106     case $host_cpu in
6107     i*86 )
6108       # Not sure whether the presence of OpenBSD here was a mistake.
6109       # Let's accept both of them until this is cleared up.
6110       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6111       lt_cv_file_magic_cmd=/usr/bin/file
6112       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6113       ;;
6114     esac
6115   else
6116     lt_cv_deplibs_check_method=pass_all
6117   fi
6118   ;;
6119
6120 haiku*)
6121   lt_cv_deplibs_check_method=pass_all
6122   ;;
6123
6124 hpux10.20* | hpux11*)
6125   lt_cv_file_magic_cmd=/usr/bin/file
6126   case $host_cpu in
6127   ia64*)
6128     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6129     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6130     ;;
6131   hppa*64*)
6132     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]'
6133     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6134     ;;
6135   *)
6136     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6137     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6138     ;;
6139   esac
6140   ;;
6141
6142 interix[3-9]*)
6143   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6144   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6145   ;;
6146
6147 irix5* | irix6* | nonstopux*)
6148   case $LD in
6149   *-32|*"-32 ") libmagic=32-bit;;
6150   *-n32|*"-n32 ") libmagic=N32;;
6151   *-64|*"-64 ") libmagic=64-bit;;
6152   *) libmagic=never-match;;
6153   esac
6154   lt_cv_deplibs_check_method=pass_all
6155   ;;
6156
6157 # This must be glibc/ELF.
6158 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6159   lt_cv_deplibs_check_method=pass_all
6160   ;;
6161
6162 netbsd* | netbsdelf*-gnu)
6163   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6164     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6165   else
6166     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6167   fi
6168   ;;
6169
6170 newos6*)
6171   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6172   lt_cv_file_magic_cmd=/usr/bin/file
6173   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6174   ;;
6175
6176 *nto* | *qnx*)
6177   lt_cv_deplibs_check_method=pass_all
6178   ;;
6179
6180 openbsd*)
6181   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6182     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6183   else
6184     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6185   fi
6186   ;;
6187
6188 osf3* | osf4* | osf5*)
6189   lt_cv_deplibs_check_method=pass_all
6190   ;;
6191
6192 rdos*)
6193   lt_cv_deplibs_check_method=pass_all
6194   ;;
6195
6196 solaris*)
6197   lt_cv_deplibs_check_method=pass_all
6198   ;;
6199
6200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6201   lt_cv_deplibs_check_method=pass_all
6202   ;;
6203
6204 sysv4 | sysv4.3*)
6205   case $host_vendor in
6206   motorola)
6207     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]'
6208     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6209     ;;
6210   ncr)
6211     lt_cv_deplibs_check_method=pass_all
6212     ;;
6213   sequent)
6214     lt_cv_file_magic_cmd='/bin/file'
6215     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6216     ;;
6217   sni)
6218     lt_cv_file_magic_cmd='/bin/file'
6219     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6220     lt_cv_file_magic_test_file=/lib/libc.so
6221     ;;
6222   siemens)
6223     lt_cv_deplibs_check_method=pass_all
6224     ;;
6225   pc)
6226     lt_cv_deplibs_check_method=pass_all
6227     ;;
6228   esac
6229   ;;
6230
6231 tpf*)
6232   lt_cv_deplibs_check_method=pass_all
6233   ;;
6234 esac
6235
6236 fi
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6238 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6239
6240 file_magic_glob=
6241 want_nocaseglob=no
6242 if test "$build" = "$host"; then
6243   case $host_os in
6244   mingw* | pw32*)
6245     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6246       want_nocaseglob=yes
6247     else
6248       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6249     fi
6250     ;;
6251   esac
6252 fi
6253
6254 file_magic_cmd=$lt_cv_file_magic_cmd
6255 deplibs_check_method=$lt_cv_deplibs_check_method
6256 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279 if test -n "$ac_tool_prefix"; then
6280   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6281 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6283 $as_echo_n "checking for $ac_word... " >&6; }
6284 if ${ac_cv_prog_DLLTOOL+:} false; then :
6285   $as_echo_n "(cached) " >&6
6286 else
6287   if test -n "$DLLTOOL"; then
6288   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6289 else
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 for as_dir in $PATH
6292 do
6293   IFS=$as_save_IFS
6294   test -z "$as_dir" && as_dir=.
6295     for ac_exec_ext in '' $ac_executable_extensions; do
6296   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6299     break 2
6300   fi
6301 done
6302   done
6303 IFS=$as_save_IFS
6304
6305 fi
6306 fi
6307 DLLTOOL=$ac_cv_prog_DLLTOOL
6308 if test -n "$DLLTOOL"; then
6309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6310 $as_echo "$DLLTOOL" >&6; }
6311 else
6312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6313 $as_echo "no" >&6; }
6314 fi
6315
6316
6317 fi
6318 if test -z "$ac_cv_prog_DLLTOOL"; then
6319   ac_ct_DLLTOOL=$DLLTOOL
6320   # Extract the first word of "dlltool", so it can be a program name with args.
6321 set dummy dlltool; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6325   $as_echo_n "(cached) " >&6
6326 else
6327   if test -n "$ac_ct_DLLTOOL"; then
6328   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6329 else
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 for as_dir in $PATH
6332 do
6333   IFS=$as_save_IFS
6334   test -z "$as_dir" && as_dir=.
6335     for ac_exec_ext in '' $ac_executable_extensions; do
6336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339     break 2
6340   fi
6341 done
6342   done
6343 IFS=$as_save_IFS
6344
6345 fi
6346 fi
6347 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6348 if test -n "$ac_ct_DLLTOOL"; then
6349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6350 $as_echo "$ac_ct_DLLTOOL" >&6; }
6351 else
6352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6354 fi
6355
6356   if test "x$ac_ct_DLLTOOL" = x; then
6357     DLLTOOL="false"
6358   else
6359     case $cross_compiling:$ac_tool_warned in
6360 yes:)
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363 ac_tool_warned=yes ;;
6364 esac
6365     DLLTOOL=$ac_ct_DLLTOOL
6366   fi
6367 else
6368   DLLTOOL="$ac_cv_prog_DLLTOOL"
6369 fi
6370
6371 test -z "$DLLTOOL" && DLLTOOL=dlltool
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6383 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6384 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6385   $as_echo_n "(cached) " >&6
6386 else
6387   lt_cv_sharedlib_from_linklib_cmd='unknown'
6388
6389 case $host_os in
6390 cygwin* | mingw* | pw32* | cegcc*)
6391   # two different shell functions defined in ltmain.sh
6392   # decide which to use based on capabilities of $DLLTOOL
6393   case `$DLLTOOL --help 2>&1` in
6394   *--identify-strict*)
6395     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6396     ;;
6397   *)
6398     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6399     ;;
6400   esac
6401   ;;
6402 *)
6403   # fallback: assume linklib IS sharedlib
6404   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6405   ;;
6406 esac
6407
6408 fi
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6410 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6411 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6412 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6413
6414
6415
6416
6417
6418
6419
6420 if test -n "$ac_tool_prefix"; then
6421   for ac_prog in ar
6422   do
6423     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_AR+:} false; then :
6428   $as_echo_n "(cached) " >&6
6429 else
6430   if test -n "$AR"; then
6431   ac_cv_prog_AR="$AR" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6435 do
6436   IFS=$as_save_IFS
6437   test -z "$as_dir" && as_dir=.
6438     for ac_exec_ext in '' $ac_executable_extensions; do
6439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442     break 2
6443   fi
6444 done
6445   done
6446 IFS=$as_save_IFS
6447
6448 fi
6449 fi
6450 AR=$ac_cv_prog_AR
6451 if test -n "$AR"; then
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6453 $as_echo "$AR" >&6; }
6454 else
6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6457 fi
6458
6459
6460     test -n "$AR" && break
6461   done
6462 fi
6463 if test -z "$AR"; then
6464   ac_ct_AR=$AR
6465   for ac_prog in ar
6466 do
6467   # Extract the first word of "$ac_prog", so it can be a program name with args.
6468 set dummy $ac_prog; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6472   $as_echo_n "(cached) " >&6
6473 else
6474   if test -n "$ac_ct_AR"; then
6475   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6479 do
6480   IFS=$as_save_IFS
6481   test -z "$as_dir" && as_dir=.
6482     for ac_exec_ext in '' $ac_executable_extensions; do
6483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484     ac_cv_prog_ac_ct_AR="$ac_prog"
6485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486     break 2
6487   fi
6488 done
6489   done
6490 IFS=$as_save_IFS
6491
6492 fi
6493 fi
6494 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6495 if test -n "$ac_ct_AR"; then
6496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6497 $as_echo "$ac_ct_AR" >&6; }
6498 else
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6501 fi
6502
6503
6504   test -n "$ac_ct_AR" && break
6505 done
6506
6507   if test "x$ac_ct_AR" = x; then
6508     AR="false"
6509   else
6510     case $cross_compiling:$ac_tool_warned in
6511 yes:)
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned=yes ;;
6515 esac
6516     AR=$ac_ct_AR
6517   fi
6518 fi
6519
6520 : ${AR=ar}
6521 : ${AR_FLAGS=cru}
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6534 $as_echo_n "checking for archiver @FILE support... " >&6; }
6535 if ${lt_cv_ar_at_file+:} false; then :
6536   $as_echo_n "(cached) " >&6
6537 else
6538   lt_cv_ar_at_file=no
6539    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h.  */
6541
6542 int
6543 main ()
6544 {
6545
6546   ;
6547   return 0;
6548 }
6549 _ACEOF
6550 if ac_fn_c_try_compile "$LINENO"; then :
6551   echo conftest.$ac_objext > conftest.lst
6552       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6553       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6554   (eval $lt_ar_try) 2>&5
6555   ac_status=$?
6556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6557   test $ac_status = 0; }
6558       if test "$ac_status" -eq 0; then
6559         # Ensure the archiver fails upon bogus file names.
6560         rm -f conftest.$ac_objext libconftest.a
6561         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6562   (eval $lt_ar_try) 2>&5
6563   ac_status=$?
6564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565   test $ac_status = 0; }
6566         if test "$ac_status" -ne 0; then
6567           lt_cv_ar_at_file=@
6568         fi
6569       fi
6570       rm -f conftest.* libconftest.a
6571
6572 fi
6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6574
6575 fi
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6577 $as_echo "$lt_cv_ar_at_file" >&6; }
6578
6579 if test "x$lt_cv_ar_at_file" = xno; then
6580   archiver_list_spec=
6581 else
6582   archiver_list_spec=$lt_cv_ar_at_file
6583 fi
6584
6585
6586
6587
6588
6589
6590
6591 if test -n "$ac_tool_prefix"; then
6592   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6593 set dummy ${ac_tool_prefix}strip; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_STRIP+:} false; then :
6597   $as_echo_n "(cached) " >&6
6598 else
6599   if test -n "$STRIP"; then
6600   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6601 else
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 for as_dir in $PATH
6604 do
6605   IFS=$as_save_IFS
6606   test -z "$as_dir" && as_dir=.
6607     for ac_exec_ext in '' $ac_executable_extensions; do
6608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611     break 2
6612   fi
6613 done
6614   done
6615 IFS=$as_save_IFS
6616
6617 fi
6618 fi
6619 STRIP=$ac_cv_prog_STRIP
6620 if test -n "$STRIP"; then
6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6622 $as_echo "$STRIP" >&6; }
6623 else
6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6626 fi
6627
6628
6629 fi
6630 if test -z "$ac_cv_prog_STRIP"; then
6631   ac_ct_STRIP=$STRIP
6632   # Extract the first word of "strip", so it can be a program name with args.
6633 set dummy strip; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6635 $as_echo_n "checking for $ac_word... " >&6; }
6636 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6637   $as_echo_n "(cached) " >&6
6638 else
6639   if test -n "$ac_ct_STRIP"; then
6640   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6641 else
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 for as_dir in $PATH
6644 do
6645   IFS=$as_save_IFS
6646   test -z "$as_dir" && as_dir=.
6647     for ac_exec_ext in '' $ac_executable_extensions; do
6648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6649     ac_cv_prog_ac_ct_STRIP="strip"
6650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651     break 2
6652   fi
6653 done
6654   done
6655 IFS=$as_save_IFS
6656
6657 fi
6658 fi
6659 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6660 if test -n "$ac_ct_STRIP"; then
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6662 $as_echo "$ac_ct_STRIP" >&6; }
6663 else
6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6666 fi
6667
6668   if test "x$ac_ct_STRIP" = x; then
6669     STRIP=":"
6670   else
6671     case $cross_compiling:$ac_tool_warned in
6672 yes:)
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned=yes ;;
6676 esac
6677     STRIP=$ac_ct_STRIP
6678   fi
6679 else
6680   STRIP="$ac_cv_prog_STRIP"
6681 fi
6682
6683 test -z "$STRIP" && STRIP=:
6684
6685
6686
6687
6688
6689
6690 if test -n "$ac_tool_prefix"; then
6691   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6692 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_RANLIB+:} false; then :
6696   $as_echo_n "(cached) " >&6
6697 else
6698   if test -n "$RANLIB"; then
6699   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6703 do
6704   IFS=$as_save_IFS
6705   test -z "$as_dir" && as_dir=.
6706     for ac_exec_ext in '' $ac_executable_extensions; do
6707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710     break 2
6711   fi
6712 done
6713   done
6714 IFS=$as_save_IFS
6715
6716 fi
6717 fi
6718 RANLIB=$ac_cv_prog_RANLIB
6719 if test -n "$RANLIB"; then
6720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6721 $as_echo "$RANLIB" >&6; }
6722 else
6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6725 fi
6726
6727
6728 fi
6729 if test -z "$ac_cv_prog_RANLIB"; then
6730   ac_ct_RANLIB=$RANLIB
6731   # Extract the first word of "ranlib", so it can be a program name with args.
6732 set dummy ranlib; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6736   $as_echo_n "(cached) " >&6
6737 else
6738   if test -n "$ac_ct_RANLIB"; then
6739   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6743 do
6744   IFS=$as_save_IFS
6745   test -z "$as_dir" && as_dir=.
6746     for ac_exec_ext in '' $ac_executable_extensions; do
6747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6748     ac_cv_prog_ac_ct_RANLIB="ranlib"
6749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750     break 2
6751   fi
6752 done
6753   done
6754 IFS=$as_save_IFS
6755
6756 fi
6757 fi
6758 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6759 if test -n "$ac_ct_RANLIB"; then
6760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6761 $as_echo "$ac_ct_RANLIB" >&6; }
6762 else
6763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6765 fi
6766
6767   if test "x$ac_ct_RANLIB" = x; then
6768     RANLIB=":"
6769   else
6770     case $cross_compiling:$ac_tool_warned in
6771 yes:)
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6775 esac
6776     RANLIB=$ac_ct_RANLIB
6777   fi
6778 else
6779   RANLIB="$ac_cv_prog_RANLIB"
6780 fi
6781
6782 test -z "$RANLIB" && RANLIB=:
6783
6784
6785
6786
6787
6788
6789 # Determine commands to create old-style static archives.
6790 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6791 old_postinstall_cmds='chmod 644 $oldlib'
6792 old_postuninstall_cmds=
6793
6794 if test -n "$RANLIB"; then
6795   case $host_os in
6796   openbsd*)
6797     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6798     ;;
6799   *)
6800     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6801     ;;
6802   esac
6803   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6804 fi
6805
6806 case $host_os in
6807   darwin*)
6808     lock_old_archive_extraction=yes ;;
6809   *)
6810     lock_old_archive_extraction=no ;;
6811 esac
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851 # If no C compiler was specified, use CC.
6852 LTCC=${LTCC-"$CC"}
6853
6854 # If no C compiler flags were specified, use CFLAGS.
6855 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6856
6857 # Allow CC to be a program name with arguments.
6858 compiler=$CC
6859
6860
6861 # Check for command to grab the raw symbol name followed by C symbol from nm.
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6863 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6864 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6865   $as_echo_n "(cached) " >&6
6866 else
6867
6868 # These are sane defaults that work on at least a few old systems.
6869 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6870
6871 # Character class describing NM global symbol codes.
6872 symcode='[BCDEGRST]'
6873
6874 # Regexp to match symbols that can be accessed directly from C.
6875 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6876
6877 # Define system-specific variables.
6878 case $host_os in
6879 aix*)
6880   symcode='[BCDT]'
6881   ;;
6882 cygwin* | mingw* | pw32* | cegcc*)
6883   symcode='[ABCDGISTW]'
6884   ;;
6885 hpux*)
6886   if test "$host_cpu" = ia64; then
6887     symcode='[ABCDEGRST]'
6888   fi
6889   ;;
6890 irix* | nonstopux*)
6891   symcode='[BCDEGRST]'
6892   ;;
6893 osf*)
6894   symcode='[BCDEGQRST]'
6895   ;;
6896 solaris*)
6897   symcode='[BDRT]'
6898   ;;
6899 sco3.2v5*)
6900   symcode='[DT]'
6901   ;;
6902 sysv4.2uw2*)
6903   symcode='[DT]'
6904   ;;
6905 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6906   symcode='[ABDT]'
6907   ;;
6908 sysv4)
6909   symcode='[DFNSTU]'
6910   ;;
6911 esac
6912
6913 # If we're using GNU nm, then use its standard symbol codes.
6914 case `$NM -V 2>&1` in
6915 *GNU* | *'with BFD'*)
6916   symcode='[ABCDGIRSTW]' ;;
6917 esac
6918
6919 # Transform an extracted symbol line into a proper C declaration.
6920 # Some systems (esp. on ia64) link data and code symbols differently,
6921 # so use this general approach.
6922 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6923
6924 # Transform an extracted symbol line into symbol name and symbol address
6925 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6926 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'"
6927
6928 # Handle CRLF in mingw tool chain
6929 opt_cr=
6930 case $build_os in
6931 mingw*)
6932   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6933   ;;
6934 esac
6935
6936 # Try without a prefix underscore, then with it.
6937 for ac_symprfx in "" "_"; do
6938
6939   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6940   symxfrm="\\1 $ac_symprfx\\2 \\2"
6941
6942   # Write the raw and C identifiers.
6943   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6944     # Fake it for dumpbin and say T for any non-static function
6945     # and D for any global variable.
6946     # Also find C++ and __fastcall symbols from MSVC++,
6947     # which start with @ or ?.
6948     lt_cv_sys_global_symbol_pipe="$AWK '"\
6949 "     {last_section=section; section=\$ 3};"\
6950 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6951 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6952 "     \$ 0!~/External *\|/{next};"\
6953 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6954 "     {if(hide[section]) next};"\
6955 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6956 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6957 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6958 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6959 "     ' prfx=^$ac_symprfx"
6960   else
6961     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6962   fi
6963   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6964
6965   # Check to see that the pipe works correctly.
6966   pipe_works=no
6967
6968   rm -f conftest*
6969   cat > conftest.$ac_ext <<_LT_EOF
6970 #ifdef __cplusplus
6971 extern "C" {
6972 #endif
6973 char nm_test_var;
6974 void nm_test_func(void);
6975 void nm_test_func(void){}
6976 #ifdef __cplusplus
6977 }
6978 #endif
6979 int main(){nm_test_var='a';nm_test_func();return(0);}
6980 _LT_EOF
6981
6982   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6983   (eval $ac_compile) 2>&5
6984   ac_status=$?
6985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986   test $ac_status = 0; }; then
6987     # Now try to grab the symbols.
6988     nlist=conftest.nm
6989     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6990   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6991   ac_status=$?
6992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993   test $ac_status = 0; } && test -s "$nlist"; then
6994       # Try sorting and uniquifying the output.
6995       if sort "$nlist" | uniq > "$nlist"T; then
6996         mv -f "$nlist"T "$nlist"
6997       else
6998         rm -f "$nlist"T
6999       fi
7000
7001       # Make sure that we snagged all the symbols we need.
7002       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7003         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7004           cat <<_LT_EOF > conftest.$ac_ext
7005 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7006 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7007 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7008    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7009 # define LT_DLSYM_CONST
7010 #elif defined(__osf__)
7011 /* This system does not cope well with relocations in const data.  */
7012 # define LT_DLSYM_CONST
7013 #else
7014 # define LT_DLSYM_CONST const
7015 #endif
7016
7017 #ifdef __cplusplus
7018 extern "C" {
7019 #endif
7020
7021 _LT_EOF
7022           # Now generate the symbol file.
7023           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7024
7025           cat <<_LT_EOF >> conftest.$ac_ext
7026
7027 /* The mapping between symbol names and symbols.  */
7028 LT_DLSYM_CONST struct {
7029   const char *name;
7030   void       *address;
7031 }
7032 lt__PROGRAM__LTX_preloaded_symbols[] =
7033 {
7034   { "@PROGRAM@", (void *) 0 },
7035 _LT_EOF
7036           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7037           cat <<\_LT_EOF >> conftest.$ac_ext
7038   {0, (void *) 0}
7039 };
7040
7041 /* This works around a problem in FreeBSD linker */
7042 #ifdef FREEBSD_WORKAROUND
7043 static const void *lt_preloaded_setup() {
7044   return lt__PROGRAM__LTX_preloaded_symbols;
7045 }
7046 #endif
7047
7048 #ifdef __cplusplus
7049 }
7050 #endif
7051 _LT_EOF
7052           # Now try linking the two files.
7053           mv conftest.$ac_objext conftstm.$ac_objext
7054           lt_globsym_save_LIBS=$LIBS
7055           lt_globsym_save_CFLAGS=$CFLAGS
7056           LIBS="conftstm.$ac_objext"
7057           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7058           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7059   (eval $ac_link) 2>&5
7060   ac_status=$?
7061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7062   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7063             pipe_works=yes
7064           fi
7065           LIBS=$lt_globsym_save_LIBS
7066           CFLAGS=$lt_globsym_save_CFLAGS
7067         else
7068           echo "cannot find nm_test_func in $nlist" >&5
7069         fi
7070       else
7071         echo "cannot find nm_test_var in $nlist" >&5
7072       fi
7073     else
7074       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7075     fi
7076   else
7077     echo "$progname: failed program was:" >&5
7078     cat conftest.$ac_ext >&5
7079   fi
7080   rm -rf conftest* conftst*
7081
7082   # Do not use the global_symbol_pipe unless it works.
7083   if test "$pipe_works" = yes; then
7084     break
7085   else
7086     lt_cv_sys_global_symbol_pipe=
7087   fi
7088 done
7089
7090 fi
7091
7092 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7093   lt_cv_sys_global_symbol_to_cdecl=
7094 fi
7095 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7097 $as_echo "failed" >&6; }
7098 else
7099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7100 $as_echo "ok" >&6; }
7101 fi
7102
7103 # Response file support.
7104 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7105   nm_file_list_spec='@'
7106 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7107   nm_file_list_spec='@'
7108 fi
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7137 $as_echo_n "checking for sysroot... " >&6; }
7138
7139 # Check whether --with-sysroot was given.
7140 if test "${with_sysroot+set}" = set; then :
7141   withval=$with_sysroot;
7142 else
7143   with_sysroot=no
7144 fi
7145
7146
7147 lt_sysroot=
7148 case ${with_sysroot} in #(
7149  yes)
7150    if test "$GCC" = yes; then
7151      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7152    fi
7153    ;; #(
7154  /*)
7155    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7156    ;; #(
7157  no|'')
7158    ;; #(
7159  *)
7160    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7161 $as_echo "${with_sysroot}" >&6; }
7162    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7163    ;;
7164 esac
7165
7166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7167 $as_echo "${lt_sysroot:-no}" >&6; }
7168
7169
7170
7171
7172
7173 # Check whether --enable-libtool-lock was given.
7174 if test "${enable_libtool_lock+set}" = set; then :
7175   enableval=$enable_libtool_lock;
7176 fi
7177
7178 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7179
7180 # Some flags need to be propagated to the compiler or linker for good
7181 # libtool support.
7182 case $host in
7183 ia64-*-hpux*)
7184   # Find out which ABI we are using.
7185   echo 'int i;' > conftest.$ac_ext
7186   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7187   (eval $ac_compile) 2>&5
7188   ac_status=$?
7189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7190   test $ac_status = 0; }; then
7191     case `/usr/bin/file conftest.$ac_objext` in
7192       *ELF-32*)
7193         HPUX_IA64_MODE="32"
7194         ;;
7195       *ELF-64*)
7196         HPUX_IA64_MODE="64"
7197         ;;
7198     esac
7199   fi
7200   rm -rf conftest*
7201   ;;
7202 *-*-irix6*)
7203   # Find out which ABI we are using.
7204   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7206   (eval $ac_compile) 2>&5
7207   ac_status=$?
7208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7209   test $ac_status = 0; }; then
7210     if test "$lt_cv_prog_gnu_ld" = yes; then
7211       case `/usr/bin/file conftest.$ac_objext` in
7212         *32-bit*)
7213           LD="${LD-ld} -melf32bsmip"
7214           ;;
7215         *N32*)
7216           LD="${LD-ld} -melf32bmipn32"
7217           ;;
7218         *64-bit*)
7219           LD="${LD-ld} -melf64bmip"
7220         ;;
7221       esac
7222     else
7223       case `/usr/bin/file conftest.$ac_objext` in
7224         *32-bit*)
7225           LD="${LD-ld} -32"
7226           ;;
7227         *N32*)
7228           LD="${LD-ld} -n32"
7229           ;;
7230         *64-bit*)
7231           LD="${LD-ld} -64"
7232           ;;
7233       esac
7234     fi
7235   fi
7236   rm -rf conftest*
7237   ;;
7238
7239 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7240 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7241   # Find out which ABI we are using.
7242   echo 'int i;' > conftest.$ac_ext
7243   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7244   (eval $ac_compile) 2>&5
7245   ac_status=$?
7246   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7247   test $ac_status = 0; }; then
7248     case `/usr/bin/file conftest.o` in
7249       *32-bit*)
7250         case $host in
7251           x86_64-*kfreebsd*-gnu)
7252             LD="${LD-ld} -m elf_i386_fbsd"
7253             ;;
7254           x86_64-*linux*)
7255             case `/usr/bin/file conftest.o` in
7256               *x86-64*)
7257                 LD="${LD-ld} -m elf32_x86_64"
7258                 ;;
7259               *)
7260                 LD="${LD-ld} -m elf_i386"
7261                 ;;
7262             esac
7263             ;;
7264           powerpc64le-*)
7265             LD="${LD-ld} -m elf32lppclinux"
7266             ;;
7267           powerpc64-*)
7268             LD="${LD-ld} -m elf32ppclinux"
7269             ;;
7270           s390x-*linux*)
7271             LD="${LD-ld} -m elf_s390"
7272             ;;
7273           sparc64-*linux*)
7274             LD="${LD-ld} -m elf32_sparc"
7275             ;;
7276         esac
7277         ;;
7278       *64-bit*)
7279         case $host in
7280           x86_64-*kfreebsd*-gnu)
7281             LD="${LD-ld} -m elf_x86_64_fbsd"
7282             ;;
7283           x86_64-*linux*)
7284             LD="${LD-ld} -m elf_x86_64"
7285             ;;
7286           powerpcle-*)
7287             LD="${LD-ld} -m elf64lppc"
7288             ;;
7289           powerpc-*)
7290             LD="${LD-ld} -m elf64ppc"
7291             ;;
7292           s390*-*linux*|s390*-*tpf*)
7293             LD="${LD-ld} -m elf64_s390"
7294             ;;
7295           sparc*-*linux*)
7296             LD="${LD-ld} -m elf64_sparc"
7297             ;;
7298         esac
7299         ;;
7300     esac
7301   fi
7302   rm -rf conftest*
7303   ;;
7304
7305 *-*-sco3.2v5*)
7306   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7307   SAVE_CFLAGS="$CFLAGS"
7308   CFLAGS="$CFLAGS -belf"
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7310 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7311 if ${lt_cv_cc_needs_belf+:} false; then :
7312   $as_echo_n "(cached) " >&6
7313 else
7314   ac_ext=c
7315 ac_cpp='$CPP $CPPFLAGS'
7316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7319
7320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321 /* end confdefs.h.  */
7322
7323 int
7324 main ()
7325 {
7326
7327   ;
7328   return 0;
7329 }
7330 _ACEOF
7331 if ac_fn_c_try_link "$LINENO"; then :
7332   lt_cv_cc_needs_belf=yes
7333 else
7334   lt_cv_cc_needs_belf=no
7335 fi
7336 rm -f core conftest.err conftest.$ac_objext \
7337     conftest$ac_exeext conftest.$ac_ext
7338      ac_ext=c
7339 ac_cpp='$CPP $CPPFLAGS'
7340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7343
7344 fi
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7346 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7347   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7348     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7349     CFLAGS="$SAVE_CFLAGS"
7350   fi
7351   ;;
7352 *-*solaris*)
7353   # Find out which ABI we are using.
7354   echo 'int i;' > conftest.$ac_ext
7355   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7356   (eval $ac_compile) 2>&5
7357   ac_status=$?
7358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7359   test $ac_status = 0; }; then
7360     case `/usr/bin/file conftest.o` in
7361     *64-bit*)
7362       case $lt_cv_prog_gnu_ld in
7363       yes*)
7364         case $host in
7365         i?86-*-solaris*)
7366           LD="${LD-ld} -m elf_x86_64"
7367           ;;
7368         sparc*-*-solaris*)
7369           LD="${LD-ld} -m elf64_sparc"
7370           ;;
7371         esac
7372         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7373         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7374           LD="${LD-ld}_sol2"
7375         fi
7376         ;;
7377       *)
7378         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7379           LD="${LD-ld} -64"
7380         fi
7381         ;;
7382       esac
7383       ;;
7384     esac
7385   fi
7386   rm -rf conftest*
7387   ;;
7388 esac
7389
7390 need_locks="$enable_libtool_lock"
7391
7392 if test -n "$ac_tool_prefix"; then
7393   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}mt; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7398   $as_echo_n "(cached) " >&6
7399 else
7400   if test -n "$MANIFEST_TOOL"; then
7401   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7405 do
7406   IFS=$as_save_IFS
7407   test -z "$as_dir" && as_dir=.
7408     for ac_exec_ext in '' $ac_executable_extensions; do
7409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412     break 2
7413   fi
7414 done
7415   done
7416 IFS=$as_save_IFS
7417
7418 fi
7419 fi
7420 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7421 if test -n "$MANIFEST_TOOL"; then
7422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7423 $as_echo "$MANIFEST_TOOL" >&6; }
7424 else
7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7427 fi
7428
7429
7430 fi
7431 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7432   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7433   # Extract the first word of "mt", so it can be a program name with args.
7434 set dummy mt; 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_ac_ct_MANIFEST_TOOL+:} false; then :
7438   $as_echo_n "(cached) " >&6
7439 else
7440   if test -n "$ac_ct_MANIFEST_TOOL"; then
7441   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # 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_ac_ct_MANIFEST_TOOL="mt"
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 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7461 if test -n "$ac_ct_MANIFEST_TOOL"; then
7462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7463 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7464 else
7465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7467 fi
7468
7469   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7470     MANIFEST_TOOL=":"
7471   else
7472     case $cross_compiling:$ac_tool_warned in
7473 yes:)
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7477 esac
7478     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7479   fi
7480 else
7481   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7482 fi
7483
7484 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7486 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7487 if ${lt_cv_path_mainfest_tool+:} false; then :
7488   $as_echo_n "(cached) " >&6
7489 else
7490   lt_cv_path_mainfest_tool=no
7491   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7492   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7493   cat conftest.err >&5
7494   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7495     lt_cv_path_mainfest_tool=yes
7496   fi
7497   rm -f conftest*
7498 fi
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7500 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7501 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7502   MANIFEST_TOOL=:
7503 fi
7504
7505
7506
7507
7508
7509
7510   case $host_os in
7511     rhapsody* | darwin*)
7512     if test -n "$ac_tool_prefix"; then
7513   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7514 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7518   $as_echo_n "(cached) " >&6
7519 else
7520   if test -n "$DSYMUTIL"; then
7521   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7525 do
7526   IFS=$as_save_IFS
7527   test -z "$as_dir" && as_dir=.
7528     for ac_exec_ext in '' $ac_executable_extensions; do
7529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532     break 2
7533   fi
7534 done
7535   done
7536 IFS=$as_save_IFS
7537
7538 fi
7539 fi
7540 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7541 if test -n "$DSYMUTIL"; then
7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7543 $as_echo "$DSYMUTIL" >&6; }
7544 else
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7547 fi
7548
7549
7550 fi
7551 if test -z "$ac_cv_prog_DSYMUTIL"; then
7552   ac_ct_DSYMUTIL=$DSYMUTIL
7553   # Extract the first word of "dsymutil", so it can be a program name with args.
7554 set dummy dsymutil; ac_word=$2
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7556 $as_echo_n "checking for $ac_word... " >&6; }
7557 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7558   $as_echo_n "(cached) " >&6
7559 else
7560   if test -n "$ac_ct_DSYMUTIL"; then
7561   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7562 else
7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564 for as_dir in $PATH
7565 do
7566   IFS=$as_save_IFS
7567   test -z "$as_dir" && as_dir=.
7568     for ac_exec_ext in '' $ac_executable_extensions; do
7569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7570     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572     break 2
7573   fi
7574 done
7575   done
7576 IFS=$as_save_IFS
7577
7578 fi
7579 fi
7580 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7581 if test -n "$ac_ct_DSYMUTIL"; then
7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7583 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7584 else
7585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586 $as_echo "no" >&6; }
7587 fi
7588
7589   if test "x$ac_ct_DSYMUTIL" = x; then
7590     DSYMUTIL=":"
7591   else
7592     case $cross_compiling:$ac_tool_warned in
7593 yes:)
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7596 ac_tool_warned=yes ;;
7597 esac
7598     DSYMUTIL=$ac_ct_DSYMUTIL
7599   fi
7600 else
7601   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7602 fi
7603
7604     if test -n "$ac_tool_prefix"; then
7605   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7606 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_NMEDIT+:} false; then :
7610   $as_echo_n "(cached) " >&6
7611 else
7612   if test -n "$NMEDIT"; then
7613   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7614 else
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 for as_dir in $PATH
7617 do
7618   IFS=$as_save_IFS
7619   test -z "$as_dir" && as_dir=.
7620     for ac_exec_ext in '' $ac_executable_extensions; do
7621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624     break 2
7625   fi
7626 done
7627   done
7628 IFS=$as_save_IFS
7629
7630 fi
7631 fi
7632 NMEDIT=$ac_cv_prog_NMEDIT
7633 if test -n "$NMEDIT"; then
7634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7635 $as_echo "$NMEDIT" >&6; }
7636 else
7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7639 fi
7640
7641
7642 fi
7643 if test -z "$ac_cv_prog_NMEDIT"; then
7644   ac_ct_NMEDIT=$NMEDIT
7645   # Extract the first word of "nmedit", so it can be a program name with args.
7646 set dummy nmedit; ac_word=$2
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7648 $as_echo_n "checking for $ac_word... " >&6; }
7649 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7650   $as_echo_n "(cached) " >&6
7651 else
7652   if test -n "$ac_ct_NMEDIT"; then
7653   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7654 else
7655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656 for as_dir in $PATH
7657 do
7658   IFS=$as_save_IFS
7659   test -z "$as_dir" && as_dir=.
7660     for ac_exec_ext in '' $ac_executable_extensions; do
7661   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7662     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664     break 2
7665   fi
7666 done
7667   done
7668 IFS=$as_save_IFS
7669
7670 fi
7671 fi
7672 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7673 if test -n "$ac_ct_NMEDIT"; then
7674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7675 $as_echo "$ac_ct_NMEDIT" >&6; }
7676 else
7677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678 $as_echo "no" >&6; }
7679 fi
7680
7681   if test "x$ac_ct_NMEDIT" = x; then
7682     NMEDIT=":"
7683   else
7684     case $cross_compiling:$ac_tool_warned in
7685 yes:)
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7688 ac_tool_warned=yes ;;
7689 esac
7690     NMEDIT=$ac_ct_NMEDIT
7691   fi
7692 else
7693   NMEDIT="$ac_cv_prog_NMEDIT"
7694 fi
7695
7696     if test -n "$ac_tool_prefix"; then
7697   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7698 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7700 $as_echo_n "checking for $ac_word... " >&6; }
7701 if ${ac_cv_prog_LIPO+:} false; then :
7702   $as_echo_n "(cached) " >&6
7703 else
7704   if test -n "$LIPO"; then
7705   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7706 else
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7708 for as_dir in $PATH
7709 do
7710   IFS=$as_save_IFS
7711   test -z "$as_dir" && as_dir=.
7712     for ac_exec_ext in '' $ac_executable_extensions; do
7713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716     break 2
7717   fi
7718 done
7719   done
7720 IFS=$as_save_IFS
7721
7722 fi
7723 fi
7724 LIPO=$ac_cv_prog_LIPO
7725 if test -n "$LIPO"; then
7726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7727 $as_echo "$LIPO" >&6; }
7728 else
7729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7730 $as_echo "no" >&6; }
7731 fi
7732
7733
7734 fi
7735 if test -z "$ac_cv_prog_LIPO"; then
7736   ac_ct_LIPO=$LIPO
7737   # Extract the first word of "lipo", so it can be a program name with args.
7738 set dummy lipo; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7742   $as_echo_n "(cached) " >&6
7743 else
7744   if test -n "$ac_ct_LIPO"; then
7745   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7746 else
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7748 for as_dir in $PATH
7749 do
7750   IFS=$as_save_IFS
7751   test -z "$as_dir" && as_dir=.
7752     for ac_exec_ext in '' $ac_executable_extensions; do
7753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754     ac_cv_prog_ac_ct_LIPO="lipo"
7755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756     break 2
7757   fi
7758 done
7759   done
7760 IFS=$as_save_IFS
7761
7762 fi
7763 fi
7764 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7765 if test -n "$ac_ct_LIPO"; then
7766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7767 $as_echo "$ac_ct_LIPO" >&6; }
7768 else
7769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770 $as_echo "no" >&6; }
7771 fi
7772
7773   if test "x$ac_ct_LIPO" = x; then
7774     LIPO=":"
7775   else
7776     case $cross_compiling:$ac_tool_warned in
7777 yes:)
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7780 ac_tool_warned=yes ;;
7781 esac
7782     LIPO=$ac_ct_LIPO
7783   fi
7784 else
7785   LIPO="$ac_cv_prog_LIPO"
7786 fi
7787
7788     if test -n "$ac_tool_prefix"; then
7789   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}otool; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792 $as_echo_n "checking for $ac_word... " >&6; }
7793 if ${ac_cv_prog_OTOOL+:} false; then :
7794   $as_echo_n "(cached) " >&6
7795 else
7796   if test -n "$OTOOL"; then
7797   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7798 else
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800 for as_dir in $PATH
7801 do
7802   IFS=$as_save_IFS
7803   test -z "$as_dir" && as_dir=.
7804     for ac_exec_ext in '' $ac_executable_extensions; do
7805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7808     break 2
7809   fi
7810 done
7811   done
7812 IFS=$as_save_IFS
7813
7814 fi
7815 fi
7816 OTOOL=$ac_cv_prog_OTOOL
7817 if test -n "$OTOOL"; then
7818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7819 $as_echo "$OTOOL" >&6; }
7820 else
7821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822 $as_echo "no" >&6; }
7823 fi
7824
7825
7826 fi
7827 if test -z "$ac_cv_prog_OTOOL"; then
7828   ac_ct_OTOOL=$OTOOL
7829   # Extract the first word of "otool", so it can be a program name with args.
7830 set dummy otool; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832 $as_echo_n "checking for $ac_word... " >&6; }
7833 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7834   $as_echo_n "(cached) " >&6
7835 else
7836   if test -n "$ac_ct_OTOOL"; then
7837   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7838 else
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840 for as_dir in $PATH
7841 do
7842   IFS=$as_save_IFS
7843   test -z "$as_dir" && as_dir=.
7844     for ac_exec_ext in '' $ac_executable_extensions; do
7845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846     ac_cv_prog_ac_ct_OTOOL="otool"
7847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848     break 2
7849   fi
7850 done
7851   done
7852 IFS=$as_save_IFS
7853
7854 fi
7855 fi
7856 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7857 if test -n "$ac_ct_OTOOL"; then
7858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7859 $as_echo "$ac_ct_OTOOL" >&6; }
7860 else
7861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7863 fi
7864
7865   if test "x$ac_ct_OTOOL" = x; then
7866     OTOOL=":"
7867   else
7868     case $cross_compiling:$ac_tool_warned in
7869 yes:)
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7872 ac_tool_warned=yes ;;
7873 esac
7874     OTOOL=$ac_ct_OTOOL
7875   fi
7876 else
7877   OTOOL="$ac_cv_prog_OTOOL"
7878 fi
7879
7880     if test -n "$ac_tool_prefix"; then
7881   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_OTOOL64+:} false; then :
7886   $as_echo_n "(cached) " >&6
7887 else
7888   if test -n "$OTOOL64"; then
7889   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7890 else
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 for as_dir in $PATH
7893 do
7894   IFS=$as_save_IFS
7895   test -z "$as_dir" && as_dir=.
7896     for ac_exec_ext in '' $ac_executable_extensions; do
7897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900     break 2
7901   fi
7902 done
7903   done
7904 IFS=$as_save_IFS
7905
7906 fi
7907 fi
7908 OTOOL64=$ac_cv_prog_OTOOL64
7909 if test -n "$OTOOL64"; then
7910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7911 $as_echo "$OTOOL64" >&6; }
7912 else
7913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7915 fi
7916
7917
7918 fi
7919 if test -z "$ac_cv_prog_OTOOL64"; then
7920   ac_ct_OTOOL64=$OTOOL64
7921   # Extract the first word of "otool64", so it can be a program name with args.
7922 set dummy otool64; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7926   $as_echo_n "(cached) " >&6
7927 else
7928   if test -n "$ac_ct_OTOOL64"; then
7929   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7933 do
7934   IFS=$as_save_IFS
7935   test -z "$as_dir" && as_dir=.
7936     for ac_exec_ext in '' $ac_executable_extensions; do
7937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938     ac_cv_prog_ac_ct_OTOOL64="otool64"
7939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940     break 2
7941   fi
7942 done
7943   done
7944 IFS=$as_save_IFS
7945
7946 fi
7947 fi
7948 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7949 if test -n "$ac_ct_OTOOL64"; then
7950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7951 $as_echo "$ac_ct_OTOOL64" >&6; }
7952 else
7953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7955 fi
7956
7957   if test "x$ac_ct_OTOOL64" = x; then
7958     OTOOL64=":"
7959   else
7960     case $cross_compiling:$ac_tool_warned in
7961 yes:)
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7964 ac_tool_warned=yes ;;
7965 esac
7966     OTOOL64=$ac_ct_OTOOL64
7967   fi
7968 else
7969   OTOOL64="$ac_cv_prog_OTOOL64"
7970 fi
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7999 $as_echo_n "checking for -single_module linker flag... " >&6; }
8000 if ${lt_cv_apple_cc_single_mod+:} false; then :
8001   $as_echo_n "(cached) " >&6
8002 else
8003   lt_cv_apple_cc_single_mod=no
8004       if test -z "${LT_MULTI_MODULE}"; then
8005         # By default we will add the -single_module flag. You can override
8006         # by either setting the environment variable LT_MULTI_MODULE
8007         # non-empty at configure time, or by adding -multi_module to the
8008         # link flags.
8009         rm -rf libconftest.dylib*
8010         echo "int foo(void){return 1;}" > conftest.c
8011         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8012 -dynamiclib -Wl,-single_module conftest.c" >&5
8013         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8014           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8015         _lt_result=$?
8016         # If there is a non-empty error log, and "single_module"
8017         # appears in it, assume the flag caused a linker warning
8018         if test -s conftest.err && $GREP single_module conftest.err; then
8019           cat conftest.err >&5
8020         # Otherwise, if the output was created with a 0 exit code from
8021         # the compiler, it worked.
8022         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8023           lt_cv_apple_cc_single_mod=yes
8024         else
8025           cat conftest.err >&5
8026         fi
8027         rm -rf libconftest.dylib*
8028         rm -f conftest.*
8029       fi
8030 fi
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8032 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8033
8034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8035 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8036 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8037   $as_echo_n "(cached) " >&6
8038 else
8039   lt_cv_ld_exported_symbols_list=no
8040       save_LDFLAGS=$LDFLAGS
8041       echo "_main" > conftest.sym
8042       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h.  */
8045
8046 int
8047 main ()
8048 {
8049
8050   ;
8051   return 0;
8052 }
8053 _ACEOF
8054 if ac_fn_c_try_link "$LINENO"; then :
8055   lt_cv_ld_exported_symbols_list=yes
8056 else
8057   lt_cv_ld_exported_symbols_list=no
8058 fi
8059 rm -f core conftest.err conftest.$ac_objext \
8060     conftest$ac_exeext conftest.$ac_ext
8061         LDFLAGS="$save_LDFLAGS"
8062
8063 fi
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8065 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8066
8067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8068 $as_echo_n "checking for -force_load linker flag... " >&6; }
8069 if ${lt_cv_ld_force_load+:} false; then :
8070   $as_echo_n "(cached) " >&6
8071 else
8072   lt_cv_ld_force_load=no
8073       cat > conftest.c << _LT_EOF
8074 int forced_loaded() { return 2;}
8075 _LT_EOF
8076       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8077       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8078       echo "$AR cru libconftest.a conftest.o" >&5
8079       $AR cru libconftest.a conftest.o 2>&5
8080       echo "$RANLIB libconftest.a" >&5
8081       $RANLIB libconftest.a 2>&5
8082       cat > conftest.c << _LT_EOF
8083 int main() { return 0;}
8084 _LT_EOF
8085       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8086       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8087       _lt_result=$?
8088       if test -s conftest.err && $GREP force_load conftest.err; then
8089         cat conftest.err >&5
8090       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8091         lt_cv_ld_force_load=yes
8092       else
8093         cat conftest.err >&5
8094       fi
8095         rm -f conftest.err libconftest.a conftest conftest.c
8096         rm -rf conftest.dSYM
8097
8098 fi
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8100 $as_echo "$lt_cv_ld_force_load" >&6; }
8101     case $host_os in
8102     rhapsody* | darwin1.[012])
8103       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8104     darwin1.*)
8105       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8106     darwin*) # darwin 5.x on
8107       # if running on 10.5 or later, the deployment target defaults
8108       # to the OS version, if on x86, and 10.4, the deployment
8109       # target defaults to 10.4. Don't you love it?
8110       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8111         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8112           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8113         10.[012]*)
8114           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8115         10.*)
8116           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8117       esac
8118     ;;
8119   esac
8120     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8121       _lt_dar_single_mod='$single_module'
8122     fi
8123     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8124       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8125     else
8126       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8127     fi
8128     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8129       _lt_dsymutil='~$DSYMUTIL $lib || :'
8130     else
8131       _lt_dsymutil=
8132     fi
8133     ;;
8134   esac
8135
8136 ac_ext=c
8137 ac_cpp='$CPP $CPPFLAGS'
8138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8142 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8143 # On Suns, sometimes $CPP names a directory.
8144 if test -n "$CPP" && test -d "$CPP"; then
8145   CPP=
8146 fi
8147 if test -z "$CPP"; then
8148   if ${ac_cv_prog_CPP+:} false; then :
8149   $as_echo_n "(cached) " >&6
8150 else
8151       # Double quotes because CPP needs to be expanded
8152     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8153     do
8154       ac_preproc_ok=false
8155 for ac_c_preproc_warn_flag in '' yes
8156 do
8157   # Use a header file that comes with gcc, so configuring glibc
8158   # with a fresh cross-compiler works.
8159   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8160   # <limits.h> exists even on freestanding compilers.
8161   # On the NeXT, cc -E runs the code through the compiler's parser,
8162   # not just through cpp. "Syntax error" is here to catch this case.
8163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h.  */
8165 #ifdef __STDC__
8166 # include <limits.h>
8167 #else
8168 # include <assert.h>
8169 #endif
8170                      Syntax error
8171 _ACEOF
8172 if ac_fn_c_try_cpp "$LINENO"; then :
8173
8174 else
8175   # Broken: fails on valid input.
8176 continue
8177 fi
8178 rm -f conftest.err conftest.i conftest.$ac_ext
8179
8180   # OK, works on sane cases.  Now check whether nonexistent headers
8181   # can be detected and how.
8182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h.  */
8184 #include <ac_nonexistent.h>
8185 _ACEOF
8186 if ac_fn_c_try_cpp "$LINENO"; then :
8187   # Broken: success on invalid input.
8188 continue
8189 else
8190   # Passes both tests.
8191 ac_preproc_ok=:
8192 break
8193 fi
8194 rm -f conftest.err conftest.i conftest.$ac_ext
8195
8196 done
8197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8198 rm -f conftest.i conftest.err conftest.$ac_ext
8199 if $ac_preproc_ok; then :
8200   break
8201 fi
8202
8203     done
8204     ac_cv_prog_CPP=$CPP
8205
8206 fi
8207   CPP=$ac_cv_prog_CPP
8208 else
8209   ac_cv_prog_CPP=$CPP
8210 fi
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8212 $as_echo "$CPP" >&6; }
8213 ac_preproc_ok=false
8214 for ac_c_preproc_warn_flag in '' yes
8215 do
8216   # Use a header file that comes with gcc, so configuring glibc
8217   # with a fresh cross-compiler works.
8218   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8219   # <limits.h> exists even on freestanding compilers.
8220   # On the NeXT, cc -E runs the code through the compiler's parser,
8221   # not just through cpp. "Syntax error" is here to catch this case.
8222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h.  */
8224 #ifdef __STDC__
8225 # include <limits.h>
8226 #else
8227 # include <assert.h>
8228 #endif
8229                      Syntax error
8230 _ACEOF
8231 if ac_fn_c_try_cpp "$LINENO"; then :
8232
8233 else
8234   # Broken: fails on valid input.
8235 continue
8236 fi
8237 rm -f conftest.err conftest.i conftest.$ac_ext
8238
8239   # OK, works on sane cases.  Now check whether nonexistent headers
8240   # can be detected and how.
8241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h.  */
8243 #include <ac_nonexistent.h>
8244 _ACEOF
8245 if ac_fn_c_try_cpp "$LINENO"; then :
8246   # Broken: success on invalid input.
8247 continue
8248 else
8249   # Passes both tests.
8250 ac_preproc_ok=:
8251 break
8252 fi
8253 rm -f conftest.err conftest.i conftest.$ac_ext
8254
8255 done
8256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8257 rm -f conftest.i conftest.err conftest.$ac_ext
8258 if $ac_preproc_ok; then :
8259
8260 else
8261   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8263 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8264 See \`config.log' for more details" "$LINENO" 5; }
8265 fi
8266
8267 ac_ext=c
8268 ac_cpp='$CPP $CPPFLAGS'
8269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8272
8273
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8275 $as_echo_n "checking for ANSI C header files... " >&6; }
8276 if ${ac_cv_header_stdc+:} false; then :
8277   $as_echo_n "(cached) " >&6
8278 else
8279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h.  */
8281 #include <stdlib.h>
8282 #include <stdarg.h>
8283 #include <string.h>
8284 #include <float.h>
8285
8286 int
8287 main ()
8288 {
8289
8290   ;
8291   return 0;
8292 }
8293 _ACEOF
8294 if ac_fn_c_try_compile "$LINENO"; then :
8295   ac_cv_header_stdc=yes
8296 else
8297   ac_cv_header_stdc=no
8298 fi
8299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8300
8301 if test $ac_cv_header_stdc = yes; then
8302   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h.  */
8305 #include <string.h>
8306
8307 _ACEOF
8308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8309   $EGREP "memchr" >/dev/null 2>&1; then :
8310
8311 else
8312   ac_cv_header_stdc=no
8313 fi
8314 rm -f conftest*
8315
8316 fi
8317
8318 if test $ac_cv_header_stdc = yes; then
8319   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h.  */
8322 #include <stdlib.h>
8323
8324 _ACEOF
8325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8326   $EGREP "free" >/dev/null 2>&1; then :
8327
8328 else
8329   ac_cv_header_stdc=no
8330 fi
8331 rm -f conftest*
8332
8333 fi
8334
8335 if test $ac_cv_header_stdc = yes; then
8336   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8337   if test "$cross_compiling" = yes; then :
8338   :
8339 else
8340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h.  */
8342 #include <ctype.h>
8343 #include <stdlib.h>
8344 #if ((' ' & 0x0FF) == 0x020)
8345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8347 #else
8348 # define ISLOWER(c) \
8349                    (('a' <= (c) && (c) <= 'i') \
8350                      || ('j' <= (c) && (c) <= 'r') \
8351                      || ('s' <= (c) && (c) <= 'z'))
8352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8353 #endif
8354
8355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8356 int
8357 main ()
8358 {
8359   int i;
8360   for (i = 0; i < 256; i++)
8361     if (XOR (islower (i), ISLOWER (i))
8362         || toupper (i) != TOUPPER (i))
8363       return 2;
8364   return 0;
8365 }
8366 _ACEOF
8367 if ac_fn_c_try_run "$LINENO"; then :
8368
8369 else
8370   ac_cv_header_stdc=no
8371 fi
8372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8373   conftest.$ac_objext conftest.beam conftest.$ac_ext
8374 fi
8375
8376 fi
8377 fi
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8379 $as_echo "$ac_cv_header_stdc" >&6; }
8380 if test $ac_cv_header_stdc = yes; then
8381
8382 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8383
8384 fi
8385
8386 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8387 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8388                   inttypes.h stdint.h unistd.h
8389 do :
8390   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8391 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8392 "
8393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8394   cat >>confdefs.h <<_ACEOF
8395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8396 _ACEOF
8397
8398 fi
8399
8400 done
8401
8402
8403 for ac_header in dlfcn.h
8404 do :
8405   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8406 "
8407 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8408   cat >>confdefs.h <<_ACEOF
8409 #define HAVE_DLFCN_H 1
8410 _ACEOF
8411
8412 fi
8413
8414 done
8415
8416
8417
8418
8419
8420 # Set options
8421
8422
8423
8424         enable_dlopen=no
8425
8426
8427   enable_win32_dll=no
8428
8429
8430             # Check whether --enable-shared was given.
8431 if test "${enable_shared+set}" = set; then :
8432   enableval=$enable_shared; p=${PACKAGE-default}
8433     case $enableval in
8434     yes) enable_shared=yes ;;
8435     no) enable_shared=no ;;
8436     *)
8437       enable_shared=no
8438       # Look at the argument we got.  We use all the common list separators.
8439       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8440       for pkg in $enableval; do
8441         IFS="$lt_save_ifs"
8442         if test "X$pkg" = "X$p"; then
8443           enable_shared=yes
8444         fi
8445       done
8446       IFS="$lt_save_ifs"
8447       ;;
8448     esac
8449 else
8450   enable_shared=yes
8451 fi
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461   # Check whether --enable-static was given.
8462 if test "${enable_static+set}" = set; then :
8463   enableval=$enable_static; p=${PACKAGE-default}
8464     case $enableval in
8465     yes) enable_static=yes ;;
8466     no) enable_static=no ;;
8467     *)
8468      enable_static=no
8469       # Look at the argument we got.  We use all the common list separators.
8470       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8471       for pkg in $enableval; do
8472         IFS="$lt_save_ifs"
8473         if test "X$pkg" = "X$p"; then
8474           enable_static=yes
8475         fi
8476       done
8477       IFS="$lt_save_ifs"
8478       ;;
8479     esac
8480 else
8481   enable_static=yes
8482 fi
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493 # Check whether --with-pic was given.
8494 if test "${with_pic+set}" = set; then :
8495   withval=$with_pic; lt_p=${PACKAGE-default}
8496     case $withval in
8497     yes|no) pic_mode=$withval ;;
8498     *)
8499       pic_mode=default
8500       # Look at the argument we got.  We use all the common list separators.
8501       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8502       for lt_pkg in $withval; do
8503         IFS="$lt_save_ifs"
8504         if test "X$lt_pkg" = "X$lt_p"; then
8505           pic_mode=yes
8506         fi
8507       done
8508       IFS="$lt_save_ifs"
8509       ;;
8510     esac
8511 else
8512   pic_mode=default
8513 fi
8514
8515
8516 test -z "$pic_mode" && pic_mode=default
8517
8518
8519
8520
8521
8522
8523
8524   # Check whether --enable-fast-install was given.
8525 if test "${enable_fast_install+set}" = set; then :
8526   enableval=$enable_fast_install; p=${PACKAGE-default}
8527     case $enableval in
8528     yes) enable_fast_install=yes ;;
8529     no) enable_fast_install=no ;;
8530     *)
8531       enable_fast_install=no
8532       # Look at the argument we got.  We use all the common list separators.
8533       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8534       for pkg in $enableval; do
8535         IFS="$lt_save_ifs"
8536         if test "X$pkg" = "X$p"; then
8537           enable_fast_install=yes
8538         fi
8539       done
8540       IFS="$lt_save_ifs"
8541       ;;
8542     esac
8543 else
8544   enable_fast_install=yes
8545 fi
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557 # This can be used to rebuild libtool when needed
8558 LIBTOOL_DEPS="$ltmain"
8559
8560 # Always use our own libtool.
8561 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592 test -z "$LN_S" && LN_S="ln -s"
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607 if test -n "${ZSH_VERSION+set}" ; then
8608    setopt NO_GLOB_SUBST
8609 fi
8610
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8612 $as_echo_n "checking for objdir... " >&6; }
8613 if ${lt_cv_objdir+:} false; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   rm -f .libs 2>/dev/null
8617 mkdir .libs 2>/dev/null
8618 if test -d .libs; then
8619   lt_cv_objdir=.libs
8620 else
8621   # MS-DOS does not allow filenames that begin with a dot.
8622   lt_cv_objdir=_libs
8623 fi
8624 rmdir .libs 2>/dev/null
8625 fi
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8627 $as_echo "$lt_cv_objdir" >&6; }
8628 objdir=$lt_cv_objdir
8629
8630
8631
8632
8633
8634 cat >>confdefs.h <<_ACEOF
8635 #define LT_OBJDIR "$lt_cv_objdir/"
8636 _ACEOF
8637
8638
8639
8640
8641 case $host_os in
8642 aix3*)
8643   # AIX sometimes has problems with the GCC collect2 program.  For some
8644   # reason, if we set the COLLECT_NAMES environment variable, the problems
8645   # vanish in a puff of smoke.
8646   if test "X${COLLECT_NAMES+set}" != Xset; then
8647     COLLECT_NAMES=
8648     export COLLECT_NAMES
8649   fi
8650   ;;
8651 esac
8652
8653 # Global variables:
8654 ofile=libtool
8655 can_build_shared=yes
8656
8657 # All known linkers require a `.a' archive for static linking (except MSVC,
8658 # which needs '.lib').
8659 libext=a
8660
8661 with_gnu_ld="$lt_cv_prog_gnu_ld"
8662
8663 old_CC="$CC"
8664 old_CFLAGS="$CFLAGS"
8665
8666 # Set sane defaults for various variables
8667 test -z "$CC" && CC=cc
8668 test -z "$LTCC" && LTCC=$CC
8669 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8670 test -z "$LD" && LD=ld
8671 test -z "$ac_objext" && ac_objext=o
8672
8673 for cc_temp in $compiler""; do
8674   case $cc_temp in
8675     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8676     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8677     \-*) ;;
8678     *) break;;
8679   esac
8680 done
8681 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8682
8683
8684 # Only perform the check for file, if the check method requires it
8685 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8686 case $deplibs_check_method in
8687 file_magic*)
8688   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8689     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8690 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8691 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8692   $as_echo_n "(cached) " >&6
8693 else
8694   case $MAGIC_CMD in
8695 [\\/*] |  ?:[\\/]*)
8696   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8697   ;;
8698 *)
8699   lt_save_MAGIC_CMD="$MAGIC_CMD"
8700   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8701   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8702   for ac_dir in $ac_dummy; do
8703     IFS="$lt_save_ifs"
8704     test -z "$ac_dir" && ac_dir=.
8705     if test -f $ac_dir/${ac_tool_prefix}file; then
8706       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8707       if test -n "$file_magic_test_file"; then
8708         case $deplibs_check_method in
8709         "file_magic "*)
8710           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8711           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8712           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8713             $EGREP "$file_magic_regex" > /dev/null; then
8714             :
8715           else
8716             cat <<_LT_EOF 1>&2
8717
8718 *** Warning: the command libtool uses to detect shared libraries,
8719 *** $file_magic_cmd, produces output that libtool cannot recognize.
8720 *** The result is that libtool may fail to recognize shared libraries
8721 *** as such.  This will affect the creation of libtool libraries that
8722 *** depend on shared libraries, but programs linked with such libtool
8723 *** libraries will work regardless of this problem.  Nevertheless, you
8724 *** may want to report the problem to your system manager and/or to
8725 *** bug-libtool@gnu.org
8726
8727 _LT_EOF
8728           fi ;;
8729         esac
8730       fi
8731       break
8732     fi
8733   done
8734   IFS="$lt_save_ifs"
8735   MAGIC_CMD="$lt_save_MAGIC_CMD"
8736   ;;
8737 esac
8738 fi
8739
8740 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8741 if test -n "$MAGIC_CMD"; then
8742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8743 $as_echo "$MAGIC_CMD" >&6; }
8744 else
8745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8747 fi
8748
8749
8750
8751
8752
8753 if test -z "$lt_cv_path_MAGIC_CMD"; then
8754   if test -n "$ac_tool_prefix"; then
8755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8756 $as_echo_n "checking for file... " >&6; }
8757 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8758   $as_echo_n "(cached) " >&6
8759 else
8760   case $MAGIC_CMD in
8761 [\\/*] |  ?:[\\/]*)
8762   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8763   ;;
8764 *)
8765   lt_save_MAGIC_CMD="$MAGIC_CMD"
8766   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8767   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8768   for ac_dir in $ac_dummy; do
8769     IFS="$lt_save_ifs"
8770     test -z "$ac_dir" && ac_dir=.
8771     if test -f $ac_dir/file; then
8772       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8773       if test -n "$file_magic_test_file"; then
8774         case $deplibs_check_method in
8775         "file_magic "*)
8776           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8777           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8778           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8779             $EGREP "$file_magic_regex" > /dev/null; then
8780             :
8781           else
8782             cat <<_LT_EOF 1>&2
8783
8784 *** Warning: the command libtool uses to detect shared libraries,
8785 *** $file_magic_cmd, produces output that libtool cannot recognize.
8786 *** The result is that libtool may fail to recognize shared libraries
8787 *** as such.  This will affect the creation of libtool libraries that
8788 *** depend on shared libraries, but programs linked with such libtool
8789 *** libraries will work regardless of this problem.  Nevertheless, you
8790 *** may want to report the problem to your system manager and/or to
8791 *** bug-libtool@gnu.org
8792
8793 _LT_EOF
8794           fi ;;
8795         esac
8796       fi
8797       break
8798     fi
8799   done
8800   IFS="$lt_save_ifs"
8801   MAGIC_CMD="$lt_save_MAGIC_CMD"
8802   ;;
8803 esac
8804 fi
8805
8806 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8807 if test -n "$MAGIC_CMD"; then
8808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8809 $as_echo "$MAGIC_CMD" >&6; }
8810 else
8811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8813 fi
8814
8815
8816   else
8817     MAGIC_CMD=:
8818   fi
8819 fi
8820
8821   fi
8822   ;;
8823 esac
8824
8825 # Use C for the default configuration in the libtool script
8826
8827 lt_save_CC="$CC"
8828 ac_ext=c
8829 ac_cpp='$CPP $CPPFLAGS'
8830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8833
8834
8835 # Source file extension for C test sources.
8836 ac_ext=c
8837
8838 # Object file extension for compiled C test sources.
8839 objext=o
8840 objext=$objext
8841
8842 # Code to be used in simple compile tests
8843 lt_simple_compile_test_code="int some_variable = 0;"
8844
8845 # Code to be used in simple link tests
8846 lt_simple_link_test_code='int main(){return(0);}'
8847
8848
8849
8850
8851
8852
8853
8854 # If no C compiler was specified, use CC.
8855 LTCC=${LTCC-"$CC"}
8856
8857 # If no C compiler flags were specified, use CFLAGS.
8858 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8859
8860 # Allow CC to be a program name with arguments.
8861 compiler=$CC
8862
8863 # Save the default compiler, since it gets overwritten when the other
8864 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8865 compiler_DEFAULT=$CC
8866
8867 # save warnings/boilerplate of simple test code
8868 ac_outfile=conftest.$ac_objext
8869 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8870 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8871 _lt_compiler_boilerplate=`cat conftest.err`
8872 $RM conftest*
8873
8874 ac_outfile=conftest.$ac_objext
8875 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8876 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8877 _lt_linker_boilerplate=`cat conftest.err`
8878 $RM -r conftest*
8879
8880
8881 if test -n "$compiler"; then
8882
8883 lt_prog_compiler_no_builtin_flag=
8884
8885 if test "$GCC" = yes; then
8886   case $cc_basename in
8887   nvcc*)
8888     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8889   *)
8890     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8891   esac
8892
8893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8894 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8895 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8896   $as_echo_n "(cached) " >&6
8897 else
8898   lt_cv_prog_compiler_rtti_exceptions=no
8899    ac_outfile=conftest.$ac_objext
8900    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8901    lt_compiler_flag="-fno-rtti -fno-exceptions"
8902    # Insert the option either (1) after the last *FLAGS variable, or
8903    # (2) before a word containing "conftest.", or (3) at the end.
8904    # Note that $ac_compile itself does not contain backslashes and begins
8905    # with a dollar sign (not a hyphen), so the echo should work correctly.
8906    # The option is referenced via a variable to avoid confusing sed.
8907    lt_compile=`echo "$ac_compile" | $SED \
8908    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8909    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8910    -e 's:$: $lt_compiler_flag:'`
8911    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8912    (eval "$lt_compile" 2>conftest.err)
8913    ac_status=$?
8914    cat conftest.err >&5
8915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916    if (exit $ac_status) && test -s "$ac_outfile"; then
8917      # The compiler can only warn and ignore the option if not recognized
8918      # So say no if there are warnings other than the usual output.
8919      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8920      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8921      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8922        lt_cv_prog_compiler_rtti_exceptions=yes
8923      fi
8924    fi
8925    $RM conftest*
8926
8927 fi
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8929 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8930
8931 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8932     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8933 else
8934     :
8935 fi
8936
8937 fi
8938
8939
8940
8941
8942
8943
8944   lt_prog_compiler_wl=
8945 lt_prog_compiler_pic=
8946 lt_prog_compiler_static=
8947
8948
8949   if test "$GCC" = yes; then
8950     lt_prog_compiler_wl='-Wl,'
8951     lt_prog_compiler_static='-static'
8952
8953     case $host_os in
8954       aix*)
8955       # All AIX code is PIC.
8956       if test "$host_cpu" = ia64; then
8957         # AIX 5 now supports IA64 processor
8958         lt_prog_compiler_static='-Bstatic'
8959       fi
8960       ;;
8961
8962     amigaos*)
8963       case $host_cpu in
8964       powerpc)
8965             # see comment about AmigaOS4 .so support
8966             lt_prog_compiler_pic='-fPIC'
8967         ;;
8968       m68k)
8969             # FIXME: we need at least 68020 code to build shared libraries, but
8970             # adding the `-m68020' flag to GCC prevents building anything better,
8971             # like `-m68040'.
8972             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8973         ;;
8974       esac
8975       ;;
8976
8977     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8978       # PIC is the default for these OSes.
8979       ;;
8980
8981     mingw* | cygwin* | pw32* | os2* | cegcc*)
8982       # This hack is so that the source file can tell whether it is being
8983       # built for inclusion in a dll (and should export symbols for example).
8984       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8985       # (--disable-auto-import) libraries
8986       lt_prog_compiler_pic='-DDLL_EXPORT'
8987       ;;
8988
8989     darwin* | rhapsody*)
8990       # PIC is the default on this platform
8991       # Common symbols not allowed in MH_DYLIB files
8992       lt_prog_compiler_pic='-fno-common'
8993       ;;
8994
8995     haiku*)
8996       # PIC is the default for Haiku.
8997       # The "-static" flag exists, but is broken.
8998       lt_prog_compiler_static=
8999       ;;
9000
9001     hpux*)
9002       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9003       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9004       # sets the default TLS model and affects inlining.
9005       case $host_cpu in
9006       hppa*64*)
9007         # +Z the default
9008         ;;
9009       *)
9010         lt_prog_compiler_pic='-fPIC'
9011         ;;
9012       esac
9013       ;;
9014
9015     interix[3-9]*)
9016       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9017       # Instead, we relocate shared libraries at runtime.
9018       ;;
9019
9020     msdosdjgpp*)
9021       # Just because we use GCC doesn't mean we suddenly get shared libraries
9022       # on systems that don't support them.
9023       lt_prog_compiler_can_build_shared=no
9024       enable_shared=no
9025       ;;
9026
9027     *nto* | *qnx*)
9028       # QNX uses GNU C++, but need to define -shared option too, otherwise
9029       # it will coredump.
9030       lt_prog_compiler_pic='-fPIC -shared'
9031       ;;
9032
9033     sysv4*MP*)
9034       if test -d /usr/nec; then
9035         lt_prog_compiler_pic=-Kconform_pic
9036       fi
9037       ;;
9038
9039     *)
9040       lt_prog_compiler_pic='-fPIC'
9041       ;;
9042     esac
9043
9044     case $cc_basename in
9045     nvcc*) # Cuda Compiler Driver 2.2
9046       lt_prog_compiler_wl='-Xlinker '
9047       if test -n "$lt_prog_compiler_pic"; then
9048         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9049       fi
9050       ;;
9051     esac
9052   else
9053     # PORTME Check for flag to pass linker flags through the system compiler.
9054     case $host_os in
9055     aix*)
9056       lt_prog_compiler_wl='-Wl,'
9057       if test "$host_cpu" = ia64; then
9058         # AIX 5 now supports IA64 processor
9059         lt_prog_compiler_static='-Bstatic'
9060       else
9061         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9062       fi
9063       ;;
9064
9065     mingw* | cygwin* | pw32* | os2* | cegcc*)
9066       # This hack is so that the source file can tell whether it is being
9067       # built for inclusion in a dll (and should export symbols for example).
9068       lt_prog_compiler_pic='-DDLL_EXPORT'
9069       ;;
9070
9071     hpux9* | hpux10* | hpux11*)
9072       lt_prog_compiler_wl='-Wl,'
9073       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9074       # not for PA HP-UX.
9075       case $host_cpu in
9076       hppa*64*|ia64*)
9077         # +Z the default
9078         ;;
9079       *)
9080         lt_prog_compiler_pic='+Z'
9081         ;;
9082       esac
9083       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9084       lt_prog_compiler_static='${wl}-a ${wl}archive'
9085       ;;
9086
9087     irix5* | irix6* | nonstopux*)
9088       lt_prog_compiler_wl='-Wl,'
9089       # PIC (with -KPIC) is the default.
9090       lt_prog_compiler_static='-non_shared'
9091       ;;
9092
9093     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9094       case $cc_basename in
9095       # old Intel for x86_64 which still supported -KPIC.
9096       ecc*)
9097         lt_prog_compiler_wl='-Wl,'
9098         lt_prog_compiler_pic='-KPIC'
9099         lt_prog_compiler_static='-static'
9100         ;;
9101       # icc used to be incompatible with GCC.
9102       # ICC 10 doesn't accept -KPIC any more.
9103       icc* | ifort*)
9104         lt_prog_compiler_wl='-Wl,'
9105         lt_prog_compiler_pic='-fPIC'
9106         lt_prog_compiler_static='-static'
9107         ;;
9108       # Lahey Fortran 8.1.
9109       lf95*)
9110         lt_prog_compiler_wl='-Wl,'
9111         lt_prog_compiler_pic='--shared'
9112         lt_prog_compiler_static='--static'
9113         ;;
9114       nagfor*)
9115         # NAG Fortran compiler
9116         lt_prog_compiler_wl='-Wl,-Wl,,'
9117         lt_prog_compiler_pic='-PIC'
9118         lt_prog_compiler_static='-Bstatic'
9119         ;;
9120       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9121         # Portland Group compilers (*not* the Pentium gcc compiler,
9122         # which looks to be a dead project)
9123         lt_prog_compiler_wl='-Wl,'
9124         lt_prog_compiler_pic='-fpic'
9125         lt_prog_compiler_static='-Bstatic'
9126         ;;
9127       ccc*)
9128         lt_prog_compiler_wl='-Wl,'
9129         # All Alpha code is PIC.
9130         lt_prog_compiler_static='-non_shared'
9131         ;;
9132       xl* | bgxl* | bgf* | mpixl*)
9133         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9134         lt_prog_compiler_wl='-Wl,'
9135         lt_prog_compiler_pic='-qpic'
9136         lt_prog_compiler_static='-qstaticlink'
9137         ;;
9138       *)
9139         case `$CC -V 2>&1 | sed 5q` in
9140         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9141           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9142           lt_prog_compiler_pic='-KPIC'
9143           lt_prog_compiler_static='-Bstatic'
9144           lt_prog_compiler_wl=''
9145           ;;
9146         *Sun\ F* | *Sun*Fortran*)
9147           lt_prog_compiler_pic='-KPIC'
9148           lt_prog_compiler_static='-Bstatic'
9149           lt_prog_compiler_wl='-Qoption ld '
9150           ;;
9151         *Sun\ C*)
9152           # Sun C 5.9
9153           lt_prog_compiler_pic='-KPIC'
9154           lt_prog_compiler_static='-Bstatic'
9155           lt_prog_compiler_wl='-Wl,'
9156           ;;
9157         *Intel*\ [CF]*Compiler*)
9158           lt_prog_compiler_wl='-Wl,'
9159           lt_prog_compiler_pic='-fPIC'
9160           lt_prog_compiler_static='-static'
9161           ;;
9162         *Portland\ Group*)
9163           lt_prog_compiler_wl='-Wl,'
9164           lt_prog_compiler_pic='-fpic'
9165           lt_prog_compiler_static='-Bstatic'
9166           ;;
9167         esac
9168         ;;
9169       esac
9170       ;;
9171
9172     newsos6)
9173       lt_prog_compiler_pic='-KPIC'
9174       lt_prog_compiler_static='-Bstatic'
9175       ;;
9176
9177     *nto* | *qnx*)
9178       # QNX uses GNU C++, but need to define -shared option too, otherwise
9179       # it will coredump.
9180       lt_prog_compiler_pic='-fPIC -shared'
9181       ;;
9182
9183     osf3* | osf4* | osf5*)
9184       lt_prog_compiler_wl='-Wl,'
9185       # All OSF/1 code is PIC.
9186       lt_prog_compiler_static='-non_shared'
9187       ;;
9188
9189     rdos*)
9190       lt_prog_compiler_static='-non_shared'
9191       ;;
9192
9193     solaris*)
9194       lt_prog_compiler_pic='-KPIC'
9195       lt_prog_compiler_static='-Bstatic'
9196       case $cc_basename in
9197       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9198         lt_prog_compiler_wl='-Qoption ld ';;
9199       *)
9200         lt_prog_compiler_wl='-Wl,';;
9201       esac
9202       ;;
9203
9204     sunos4*)
9205       lt_prog_compiler_wl='-Qoption ld '
9206       lt_prog_compiler_pic='-PIC'
9207       lt_prog_compiler_static='-Bstatic'
9208       ;;
9209
9210     sysv4 | sysv4.2uw2* | sysv4.3*)
9211       lt_prog_compiler_wl='-Wl,'
9212       lt_prog_compiler_pic='-KPIC'
9213       lt_prog_compiler_static='-Bstatic'
9214       ;;
9215
9216     sysv4*MP*)
9217       if test -d /usr/nec ;then
9218         lt_prog_compiler_pic='-Kconform_pic'
9219         lt_prog_compiler_static='-Bstatic'
9220       fi
9221       ;;
9222
9223     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9224       lt_prog_compiler_wl='-Wl,'
9225       lt_prog_compiler_pic='-KPIC'
9226       lt_prog_compiler_static='-Bstatic'
9227       ;;
9228
9229     unicos*)
9230       lt_prog_compiler_wl='-Wl,'
9231       lt_prog_compiler_can_build_shared=no
9232       ;;
9233
9234     uts4*)
9235       lt_prog_compiler_pic='-pic'
9236       lt_prog_compiler_static='-Bstatic'
9237       ;;
9238
9239     *)
9240       lt_prog_compiler_can_build_shared=no
9241       ;;
9242     esac
9243   fi
9244
9245 case $host_os in
9246   # For platforms which do not support PIC, -DPIC is meaningless:
9247   *djgpp*)
9248     lt_prog_compiler_pic=
9249     ;;
9250   *)
9251     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9252     ;;
9253 esac
9254
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9257 if ${lt_cv_prog_compiler_pic+:} false; then :
9258   $as_echo_n "(cached) " >&6
9259 else
9260   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9261 fi
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9263 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9264 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9265
9266 #
9267 # Check to make sure the PIC flag actually works.
9268 #
9269 if test -n "$lt_prog_compiler_pic"; then
9270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9271 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9272 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9273   $as_echo_n "(cached) " >&6
9274 else
9275   lt_cv_prog_compiler_pic_works=no
9276    ac_outfile=conftest.$ac_objext
9277    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9278    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9279    # Insert the option either (1) after the last *FLAGS variable, or
9280    # (2) before a word containing "conftest.", or (3) at the end.
9281    # Note that $ac_compile itself does not contain backslashes and begins
9282    # with a dollar sign (not a hyphen), so the echo should work correctly.
9283    # The option is referenced via a variable to avoid confusing sed.
9284    lt_compile=`echo "$ac_compile" | $SED \
9285    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9286    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9287    -e 's:$: $lt_compiler_flag:'`
9288    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9289    (eval "$lt_compile" 2>conftest.err)
9290    ac_status=$?
9291    cat conftest.err >&5
9292    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293    if (exit $ac_status) && test -s "$ac_outfile"; then
9294      # The compiler can only warn and ignore the option if not recognized
9295      # So say no if there are warnings other than the usual output.
9296      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9297      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9298      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9299        lt_cv_prog_compiler_pic_works=yes
9300      fi
9301    fi
9302    $RM conftest*
9303
9304 fi
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9306 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9307
9308 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9309     case $lt_prog_compiler_pic in
9310      "" | " "*) ;;
9311      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9312      esac
9313 else
9314     lt_prog_compiler_pic=
9315      lt_prog_compiler_can_build_shared=no
9316 fi
9317
9318 fi
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330 #
9331 # Check to make sure the static flag actually works.
9332 #
9333 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9335 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9336 if ${lt_cv_prog_compiler_static_works+:} false; then :
9337   $as_echo_n "(cached) " >&6
9338 else
9339   lt_cv_prog_compiler_static_works=no
9340    save_LDFLAGS="$LDFLAGS"
9341    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9342    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9343    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9344      # The linker can only warn and ignore the option if not recognized
9345      # So say no if there are warnings
9346      if test -s conftest.err; then
9347        # Append any errors to the config.log.
9348        cat conftest.err 1>&5
9349        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9350        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9351        if diff conftest.exp conftest.er2 >/dev/null; then
9352          lt_cv_prog_compiler_static_works=yes
9353        fi
9354      else
9355        lt_cv_prog_compiler_static_works=yes
9356      fi
9357    fi
9358    $RM -r conftest*
9359    LDFLAGS="$save_LDFLAGS"
9360
9361 fi
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9363 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9364
9365 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9366     :
9367 else
9368     lt_prog_compiler_static=
9369 fi
9370
9371
9372
9373
9374
9375
9376
9377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9378 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9379 if ${lt_cv_prog_compiler_c_o+:} false; then :
9380   $as_echo_n "(cached) " >&6
9381 else
9382   lt_cv_prog_compiler_c_o=no
9383    $RM -r conftest 2>/dev/null
9384    mkdir conftest
9385    cd conftest
9386    mkdir out
9387    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9388
9389    lt_compiler_flag="-o out/conftest2.$ac_objext"
9390    # Insert the option either (1) after the last *FLAGS variable, or
9391    # (2) before a word containing "conftest.", or (3) at the end.
9392    # Note that $ac_compile itself does not contain backslashes and begins
9393    # with a dollar sign (not a hyphen), so the echo should work correctly.
9394    lt_compile=`echo "$ac_compile" | $SED \
9395    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9396    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9397    -e 's:$: $lt_compiler_flag:'`
9398    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9399    (eval "$lt_compile" 2>out/conftest.err)
9400    ac_status=$?
9401    cat out/conftest.err >&5
9402    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9404    then
9405      # The compiler can only warn and ignore the option if not recognized
9406      # So say no if there are warnings
9407      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9408      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9409      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9410        lt_cv_prog_compiler_c_o=yes
9411      fi
9412    fi
9413    chmod u+w . 2>&5
9414    $RM conftest*
9415    # SGI C++ compiler will create directory out/ii_files/ for
9416    # template instantiation
9417    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9418    $RM out/* && rmdir out
9419    cd ..
9420    $RM -r conftest
9421    $RM conftest*
9422
9423 fi
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9425 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9426
9427
9428
9429
9430
9431
9432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9433 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9434 if ${lt_cv_prog_compiler_c_o+:} false; then :
9435   $as_echo_n "(cached) " >&6
9436 else
9437   lt_cv_prog_compiler_c_o=no
9438    $RM -r conftest 2>/dev/null
9439    mkdir conftest
9440    cd conftest
9441    mkdir out
9442    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9443
9444    lt_compiler_flag="-o out/conftest2.$ac_objext"
9445    # Insert the option either (1) after the last *FLAGS variable, or
9446    # (2) before a word containing "conftest.", or (3) at the end.
9447    # Note that $ac_compile itself does not contain backslashes and begins
9448    # with a dollar sign (not a hyphen), so the echo should work correctly.
9449    lt_compile=`echo "$ac_compile" | $SED \
9450    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9451    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9452    -e 's:$: $lt_compiler_flag:'`
9453    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9454    (eval "$lt_compile" 2>out/conftest.err)
9455    ac_status=$?
9456    cat out/conftest.err >&5
9457    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9459    then
9460      # The compiler can only warn and ignore the option if not recognized
9461      # So say no if there are warnings
9462      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9463      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9464      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9465        lt_cv_prog_compiler_c_o=yes
9466      fi
9467    fi
9468    chmod u+w . 2>&5
9469    $RM conftest*
9470    # SGI C++ compiler will create directory out/ii_files/ for
9471    # template instantiation
9472    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9473    $RM out/* && rmdir out
9474    cd ..
9475    $RM -r conftest
9476    $RM conftest*
9477
9478 fi
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9480 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9481
9482
9483
9484
9485 hard_links="nottested"
9486 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9487   # do not overwrite the value of need_locks provided by the user
9488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9489 $as_echo_n "checking if we can lock with hard links... " >&6; }
9490   hard_links=yes
9491   $RM conftest*
9492   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9493   touch conftest.a
9494   ln conftest.a conftest.b 2>&5 || hard_links=no
9495   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9497 $as_echo "$hard_links" >&6; }
9498   if test "$hard_links" = no; then
9499     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9500 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9501     need_locks=warn
9502   fi
9503 else
9504   need_locks=no
9505 fi
9506
9507
9508
9509
9510
9511
9512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9514
9515   runpath_var=
9516   allow_undefined_flag=
9517   always_export_symbols=no
9518   archive_cmds=
9519   archive_expsym_cmds=
9520   compiler_needs_object=no
9521   enable_shared_with_static_runtimes=no
9522   export_dynamic_flag_spec=
9523   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9524   hardcode_automatic=no
9525   hardcode_direct=no
9526   hardcode_direct_absolute=no
9527   hardcode_libdir_flag_spec=
9528   hardcode_libdir_separator=
9529   hardcode_minus_L=no
9530   hardcode_shlibpath_var=unsupported
9531   inherit_rpath=no
9532   link_all_deplibs=unknown
9533   module_cmds=
9534   module_expsym_cmds=
9535   old_archive_from_new_cmds=
9536   old_archive_from_expsyms_cmds=
9537   thread_safe_flag_spec=
9538   whole_archive_flag_spec=
9539   # include_expsyms should be a list of space-separated symbols to be *always*
9540   # included in the symbol list
9541   include_expsyms=
9542   # exclude_expsyms can be an extended regexp of symbols to exclude
9543   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9544   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9545   # as well as any symbol that contains `d'.
9546   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9547   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9548   # platforms (ab)use it in PIC code, but their linkers get confused if
9549   # the symbol is explicitly referenced.  Since portable code cannot
9550   # rely on this symbol name, it's probably fine to never include it in
9551   # preloaded symbol tables.
9552   # Exclude shared library initialization/finalization symbols.
9553   extract_expsyms_cmds=
9554
9555   case $host_os in
9556   cygwin* | mingw* | pw32* | cegcc*)
9557     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9558     # When not using gcc, we currently assume that we are using
9559     # Microsoft Visual C++.
9560     if test "$GCC" != yes; then
9561       with_gnu_ld=no
9562     fi
9563     ;;
9564   interix*)
9565     # we just hope/assume this is gcc and not c89 (= MSVC++)
9566     with_gnu_ld=yes
9567     ;;
9568   openbsd*)
9569     with_gnu_ld=no
9570     ;;
9571   linux* | k*bsd*-gnu | gnu*)
9572     link_all_deplibs=no
9573     ;;
9574   esac
9575
9576   ld_shlibs=yes
9577
9578   # On some targets, GNU ld is compatible enough with the native linker
9579   # that we're better off using the native interface for both.
9580   lt_use_gnu_ld_interface=no
9581   if test "$with_gnu_ld" = yes; then
9582     case $host_os in
9583       aix*)
9584         # The AIX port of GNU ld has always aspired to compatibility
9585         # with the native linker.  However, as the warning in the GNU ld
9586         # block says, versions before 2.19.5* couldn't really create working
9587         # shared libraries, regardless of the interface used.
9588         case `$LD -v 2>&1` in
9589           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9590           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9591           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9592           *)
9593             lt_use_gnu_ld_interface=yes
9594             ;;
9595         esac
9596         ;;
9597       *)
9598         lt_use_gnu_ld_interface=yes
9599         ;;
9600     esac
9601   fi
9602
9603   if test "$lt_use_gnu_ld_interface" = yes; then
9604     # If archive_cmds runs LD, not CC, wlarc should be empty
9605     wlarc='${wl}'
9606
9607     # Set some defaults for GNU ld with shared library support. These
9608     # are reset later if shared libraries are not supported. Putting them
9609     # here allows them to be overridden if necessary.
9610     runpath_var=LD_RUN_PATH
9611     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9612     export_dynamic_flag_spec='${wl}--export-dynamic'
9613     # ancient GNU ld didn't support --whole-archive et. al.
9614     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9615       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9616     else
9617       whole_archive_flag_spec=
9618     fi
9619     supports_anon_versioning=no
9620     case `$LD -v 2>&1` in
9621       *GNU\ gold*) supports_anon_versioning=yes ;;
9622       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9623       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9624       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9625       *\ 2.11.*) ;; # other 2.11 versions
9626       *) supports_anon_versioning=yes ;;
9627     esac
9628
9629     # See if GNU ld supports shared libraries.
9630     case $host_os in
9631     aix[3-9]*)
9632       # On AIX/PPC, the GNU linker is very broken
9633       if test "$host_cpu" != ia64; then
9634         ld_shlibs=no
9635         cat <<_LT_EOF 1>&2
9636
9637 *** Warning: the GNU linker, at least up to release 2.19, is reported
9638 *** to be unable to reliably create shared libraries on AIX.
9639 *** Therefore, libtool is disabling shared libraries support.  If you
9640 *** really care for shared libraries, you may want to install binutils
9641 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9642 *** You will then need to restart the configuration process.
9643
9644 _LT_EOF
9645       fi
9646       ;;
9647
9648     amigaos*)
9649       case $host_cpu in
9650       powerpc)
9651             # see comment about AmigaOS4 .so support
9652             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653             archive_expsym_cmds=''
9654         ;;
9655       m68k)
9656             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)'
9657             hardcode_libdir_flag_spec='-L$libdir'
9658             hardcode_minus_L=yes
9659         ;;
9660       esac
9661       ;;
9662
9663     beos*)
9664       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9665         allow_undefined_flag=unsupported
9666         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9667         # support --undefined.  This deserves some investigation.  FIXME
9668         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669       else
9670         ld_shlibs=no
9671       fi
9672       ;;
9673
9674     cygwin* | mingw* | pw32* | cegcc*)
9675       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9676       # as there is no search path for DLLs.
9677       hardcode_libdir_flag_spec='-L$libdir'
9678       export_dynamic_flag_spec='${wl}--export-all-symbols'
9679       allow_undefined_flag=unsupported
9680       always_export_symbols=no
9681       enable_shared_with_static_runtimes=yes
9682       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'
9683       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9684
9685       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9686         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9687         # If the export-symbols file already is a .def file (1st line
9688         # is EXPORTS), use it as is; otherwise, prepend...
9689         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9690           cp $export_symbols $output_objdir/$soname.def;
9691         else
9692           echo EXPORTS > $output_objdir/$soname.def;
9693           cat $export_symbols >> $output_objdir/$soname.def;
9694         fi~
9695         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9696       else
9697         ld_shlibs=no
9698       fi
9699       ;;
9700
9701     haiku*)
9702       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9703       link_all_deplibs=yes
9704       ;;
9705
9706     interix[3-9]*)
9707       hardcode_direct=no
9708       hardcode_shlibpath_var=no
9709       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9710       export_dynamic_flag_spec='${wl}-E'
9711       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9712       # Instead, shared libraries are loaded at an image base (0x10000000 by
9713       # default) and relocated if they conflict, which is a slow very memory
9714       # consuming and fragmenting process.  To avoid this, we pick a random,
9715       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9716       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9717       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9718       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'
9719       ;;
9720
9721     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9722       tmp_diet=no
9723       if test "$host_os" = linux-dietlibc; then
9724         case $cc_basename in
9725           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9726         esac
9727       fi
9728       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9729          && test "$tmp_diet" = no
9730       then
9731         tmp_addflag=' $pic_flag'
9732         tmp_sharedflag='-shared'
9733         case $cc_basename,$host_cpu in
9734         pgcc*)                          # Portland Group C compiler
9735           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'
9736           tmp_addflag=' $pic_flag'
9737           ;;
9738         pgf77* | pgf90* | pgf95* | pgfortran*)
9739                                         # Portland Group f77 and f90 compilers
9740           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'
9741           tmp_addflag=' $pic_flag -Mnomain' ;;
9742         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9743           tmp_addflag=' -i_dynamic' ;;
9744         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9745           tmp_addflag=' -i_dynamic -nofor_main' ;;
9746         ifc* | ifort*)                  # Intel Fortran compiler
9747           tmp_addflag=' -nofor_main' ;;
9748         lf95*)                          # Lahey Fortran 8.1
9749           whole_archive_flag_spec=
9750           tmp_sharedflag='--shared' ;;
9751         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9752           tmp_sharedflag='-qmkshrobj'
9753           tmp_addflag= ;;
9754         nvcc*)  # Cuda Compiler Driver 2.2
9755           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'
9756           compiler_needs_object=yes
9757           ;;
9758         esac
9759         case `$CC -V 2>&1 | sed 5q` in
9760         *Sun\ C*)                       # Sun C 5.9
9761           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'
9762           compiler_needs_object=yes
9763           tmp_sharedflag='-G' ;;
9764         *Sun\ F*)                       # Sun Fortran 8.3
9765           tmp_sharedflag='-G' ;;
9766         esac
9767         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9768
9769         if test "x$supports_anon_versioning" = xyes; then
9770           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9771             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9772             echo "local: *; };" >> $output_objdir/$libname.ver~
9773             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9774         fi
9775
9776         case $cc_basename in
9777         xlf* | bgf* | bgxlf* | mpixlf*)
9778           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9779           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9780           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9781           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9782           if test "x$supports_anon_versioning" = xyes; then
9783             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9784               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9785               echo "local: *; };" >> $output_objdir/$libname.ver~
9786               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9787           fi
9788           ;;
9789         esac
9790       else
9791         ld_shlibs=no
9792       fi
9793       ;;
9794
9795     netbsd* | netbsdelf*-gnu)
9796       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9797         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9798         wlarc=
9799       else
9800         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9801         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9802       fi
9803       ;;
9804
9805     solaris*)
9806       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9807         ld_shlibs=no
9808         cat <<_LT_EOF 1>&2
9809
9810 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9811 *** create shared libraries on Solaris systems.  Therefore, libtool
9812 *** is disabling shared libraries support.  We urge you to upgrade GNU
9813 *** binutils to release 2.9.1 or newer.  Another option is to modify
9814 *** your PATH or compiler configuration so that the native linker is
9815 *** used, and then restart.
9816
9817 _LT_EOF
9818       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9819         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9820         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9821       else
9822         ld_shlibs=no
9823       fi
9824       ;;
9825
9826     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9827       case `$LD -v 2>&1` in
9828         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9829         ld_shlibs=no
9830         cat <<_LT_EOF 1>&2
9831
9832 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9833 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9834 *** is disabling shared libraries support.  We urge you to upgrade GNU
9835 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9836 *** your PATH or compiler configuration so that the native linker is
9837 *** used, and then restart.
9838
9839 _LT_EOF
9840         ;;
9841         *)
9842           # For security reasons, it is highly recommended that you always
9843           # use absolute paths for naming shared libraries, and exclude the
9844           # DT_RUNPATH tag from executables and libraries.  But doing so
9845           # requires that you compile everything twice, which is a pain.
9846           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9847             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9849             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9850           else
9851             ld_shlibs=no
9852           fi
9853         ;;
9854       esac
9855       ;;
9856
9857     sunos4*)
9858       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9859       wlarc=
9860       hardcode_direct=yes
9861       hardcode_shlibpath_var=no
9862       ;;
9863
9864     *)
9865       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9866         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9867         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9868       else
9869         ld_shlibs=no
9870       fi
9871       ;;
9872     esac
9873
9874     if test "$ld_shlibs" = no; then
9875       runpath_var=
9876       hardcode_libdir_flag_spec=
9877       export_dynamic_flag_spec=
9878       whole_archive_flag_spec=
9879     fi
9880   else
9881     # PORTME fill in a description of your system's linker (not GNU ld)
9882     case $host_os in
9883     aix3*)
9884       allow_undefined_flag=unsupported
9885       always_export_symbols=yes
9886       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'
9887       # Note: this linker hardcodes the directories in LIBPATH if there
9888       # are no directories specified by -L.
9889       hardcode_minus_L=yes
9890       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9891         # Neither direct hardcoding nor static linking is supported with a
9892         # broken collect2.
9893         hardcode_direct=unsupported
9894       fi
9895       ;;
9896
9897     aix[4-9]*)
9898       if test "$host_cpu" = ia64; then
9899         # On IA64, the linker does run time linking by default, so we don't
9900         # have to do anything special.
9901         aix_use_runtimelinking=no
9902         exp_sym_flag='-Bexport'
9903         no_entry_flag=""
9904       else
9905         # If we're using GNU nm, then we don't want the "-C" option.
9906         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9907         # Also, AIX nm treats weak defined symbols like other global
9908         # defined symbols, whereas GNU nm marks them as "W".
9909         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9910           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'
9911         else
9912           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'
9913         fi
9914         aix_use_runtimelinking=no
9915
9916         # Test if we are trying to use run time linking or normal
9917         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9918         # need to do runtime linking.
9919         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9920           for ld_flag in $LDFLAGS; do
9921           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9922             aix_use_runtimelinking=yes
9923             break
9924           fi
9925           done
9926           ;;
9927         esac
9928
9929         exp_sym_flag='-bexport'
9930         no_entry_flag='-bnoentry'
9931       fi
9932
9933       # When large executables or shared objects are built, AIX ld can
9934       # have problems creating the table of contents.  If linking a library
9935       # or program results in "error TOC overflow" add -mminimal-toc to
9936       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9937       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9938
9939       archive_cmds=''
9940       hardcode_direct=yes
9941       hardcode_direct_absolute=yes
9942       hardcode_libdir_separator=':'
9943       link_all_deplibs=yes
9944       file_list_spec='${wl}-f,'
9945
9946       if test "$GCC" = yes; then
9947         case $host_os in aix4.[012]|aix4.[012].*)
9948         # We only want to do this on AIX 4.2 and lower, the check
9949         # below for broken collect2 doesn't work under 4.3+
9950           collect2name=`${CC} -print-prog-name=collect2`
9951           if test -f "$collect2name" &&
9952            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9953           then
9954           # We have reworked collect2
9955           :
9956           else
9957           # We have old collect2
9958           hardcode_direct=unsupported
9959           # It fails to find uninstalled libraries when the uninstalled
9960           # path is not listed in the libpath.  Setting hardcode_minus_L
9961           # to unsupported forces relinking
9962           hardcode_minus_L=yes
9963           hardcode_libdir_flag_spec='-L$libdir'
9964           hardcode_libdir_separator=
9965           fi
9966           ;;
9967         esac
9968         shared_flag='-shared'
9969         if test "$aix_use_runtimelinking" = yes; then
9970           shared_flag="$shared_flag "'${wl}-G'
9971         fi
9972         link_all_deplibs=no
9973       else
9974         # not using gcc
9975         if test "$host_cpu" = ia64; then
9976         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9977         # chokes on -Wl,-G. The following line is correct:
9978           shared_flag='-G'
9979         else
9980           if test "$aix_use_runtimelinking" = yes; then
9981             shared_flag='${wl}-G'
9982           else
9983             shared_flag='${wl}-bM:SRE'
9984           fi
9985         fi
9986       fi
9987
9988       export_dynamic_flag_spec='${wl}-bexpall'
9989       # It seems that -bexpall does not export symbols beginning with
9990       # underscore (_), so it is better to generate a list of symbols to export.
9991       always_export_symbols=yes
9992       if test "$aix_use_runtimelinking" = yes; then
9993         # Warning - without using the other runtime loading flags (-brtl),
9994         # -berok will link without error, but may produce a broken library.
9995         allow_undefined_flag='-berok'
9996         # Determine the default libpath from the value encoded in an
9997         # empty executable.
9998         if test "${lt_cv_aix_libpath+set}" = set; then
9999   aix_libpath=$lt_cv_aix_libpath
10000 else
10001   if ${lt_cv_aix_libpath_+:} false; then :
10002   $as_echo_n "(cached) " >&6
10003 else
10004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h.  */
10006
10007 int
10008 main ()
10009 {
10010
10011   ;
10012   return 0;
10013 }
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"; then :
10016
10017   lt_aix_libpath_sed='
10018       /Import File Strings/,/^$/ {
10019           /^0/ {
10020               s/^0  *\([^ ]*\) *$/\1/
10021               p
10022           }
10023       }'
10024   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10025   # Check for a 64-bit object if we didn't find anything.
10026   if test -z "$lt_cv_aix_libpath_"; then
10027     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10028   fi
10029 fi
10030 rm -f core conftest.err conftest.$ac_objext \
10031     conftest$ac_exeext conftest.$ac_ext
10032   if test -z "$lt_cv_aix_libpath_"; then
10033     lt_cv_aix_libpath_="/usr/lib:/lib"
10034   fi
10035
10036 fi
10037
10038   aix_libpath=$lt_cv_aix_libpath_
10039 fi
10040
10041         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10042         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"
10043       else
10044         if test "$host_cpu" = ia64; then
10045           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10046           allow_undefined_flag="-z nodefs"
10047           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"
10048         else
10049          # Determine the default libpath from the value encoded in an
10050          # empty executable.
10051          if test "${lt_cv_aix_libpath+set}" = set; then
10052   aix_libpath=$lt_cv_aix_libpath
10053 else
10054   if ${lt_cv_aix_libpath_+:} false; then :
10055   $as_echo_n "(cached) " >&6
10056 else
10057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h.  */
10059
10060 int
10061 main ()
10062 {
10063
10064   ;
10065   return 0;
10066 }
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069
10070   lt_aix_libpath_sed='
10071       /Import File Strings/,/^$/ {
10072           /^0/ {
10073               s/^0  *\([^ ]*\) *$/\1/
10074               p
10075           }
10076       }'
10077   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10078   # Check for a 64-bit object if we didn't find anything.
10079   if test -z "$lt_cv_aix_libpath_"; then
10080     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10081   fi
10082 fi
10083 rm -f core conftest.err conftest.$ac_objext \
10084     conftest$ac_exeext conftest.$ac_ext
10085   if test -z "$lt_cv_aix_libpath_"; then
10086     lt_cv_aix_libpath_="/usr/lib:/lib"
10087   fi
10088
10089 fi
10090
10091   aix_libpath=$lt_cv_aix_libpath_
10092 fi
10093
10094          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10095           # Warning - without using the other run time loading flags,
10096           # -berok will link without error, but may produce a broken library.
10097           no_undefined_flag=' ${wl}-bernotok'
10098           allow_undefined_flag=' ${wl}-berok'
10099           if test "$with_gnu_ld" = yes; then
10100             # We only use this code for GNU lds that support --whole-archive.
10101             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10102           else
10103             # Exported symbols can be pulled into shared objects from archives
10104             whole_archive_flag_spec='$convenience'
10105           fi
10106           archive_cmds_need_lc=yes
10107           # This is similar to how AIX traditionally builds its shared libraries.
10108           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'
10109         fi
10110       fi
10111       ;;
10112
10113     amigaos*)
10114       case $host_cpu in
10115       powerpc)
10116             # see comment about AmigaOS4 .so support
10117             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10118             archive_expsym_cmds=''
10119         ;;
10120       m68k)
10121             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)'
10122             hardcode_libdir_flag_spec='-L$libdir'
10123             hardcode_minus_L=yes
10124         ;;
10125       esac
10126       ;;
10127
10128     bsdi[45]*)
10129       export_dynamic_flag_spec=-rdynamic
10130       ;;
10131
10132     cygwin* | mingw* | pw32* | cegcc*)
10133       # When not using gcc, we currently assume that we are using
10134       # Microsoft Visual C++.
10135       # hardcode_libdir_flag_spec is actually meaningless, as there is
10136       # no search path for DLLs.
10137       case $cc_basename in
10138       cl*)
10139         # Native MSVC
10140         hardcode_libdir_flag_spec=' '
10141         allow_undefined_flag=unsupported
10142         always_export_symbols=yes
10143         file_list_spec='@'
10144         # Tell ltmain to make .lib files, not .a files.
10145         libext=lib
10146         # Tell ltmain to make .dll files, not .so files.
10147         shrext_cmds=".dll"
10148         # FIXME: Setting linknames here is a bad hack.
10149         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10150         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10151             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10152           else
10153             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10154           fi~
10155           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10156           linknames='
10157         # The linker will not automatically build a static lib if we build a DLL.
10158         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10159         enable_shared_with_static_runtimes=yes
10160         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10161         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10162         # Don't use ranlib
10163         old_postinstall_cmds='chmod 644 $oldlib'
10164         postlink_cmds='lt_outputfile="@OUTPUT@"~
10165           lt_tool_outputfile="@TOOL_OUTPUT@"~
10166           case $lt_outputfile in
10167             *.exe|*.EXE) ;;
10168             *)
10169               lt_outputfile="$lt_outputfile.exe"
10170               lt_tool_outputfile="$lt_tool_outputfile.exe"
10171               ;;
10172           esac~
10173           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10174             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10175             $RM "$lt_outputfile.manifest";
10176           fi'
10177         ;;
10178       *)
10179         # Assume MSVC wrapper
10180         hardcode_libdir_flag_spec=' '
10181         allow_undefined_flag=unsupported
10182         # Tell ltmain to make .lib files, not .a files.
10183         libext=lib
10184         # Tell ltmain to make .dll files, not .so files.
10185         shrext_cmds=".dll"
10186         # FIXME: Setting linknames here is a bad hack.
10187         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10188         # The linker will automatically build a .lib file if we build a DLL.
10189         old_archive_from_new_cmds='true'
10190         # FIXME: Should let the user specify the lib program.
10191         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10192         enable_shared_with_static_runtimes=yes
10193         ;;
10194       esac
10195       ;;
10196
10197     darwin* | rhapsody*)
10198
10199
10200   archive_cmds_need_lc=no
10201   hardcode_direct=no
10202   hardcode_automatic=yes
10203   hardcode_shlibpath_var=unsupported
10204   if test "$lt_cv_ld_force_load" = "yes"; then
10205     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\"`'
10206
10207   else
10208     whole_archive_flag_spec=''
10209   fi
10210   link_all_deplibs=yes
10211   allow_undefined_flag="$_lt_dar_allow_undefined"
10212   case $cc_basename in
10213      ifort*) _lt_dar_can_shared=yes ;;
10214      *) _lt_dar_can_shared=$GCC ;;
10215   esac
10216   if test "$_lt_dar_can_shared" = "yes"; then
10217     output_verbose_link_cmd=func_echo_all
10218     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10219     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10220     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}"
10221     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}"
10222
10223   else
10224   ld_shlibs=no
10225   fi
10226
10227       ;;
10228
10229     dgux*)
10230       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10231       hardcode_libdir_flag_spec='-L$libdir'
10232       hardcode_shlibpath_var=no
10233       ;;
10234
10235     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10236     # support.  Future versions do this automatically, but an explicit c++rt0.o
10237     # does not break anything, and helps significantly (at the cost of a little
10238     # extra space).
10239     freebsd2.2*)
10240       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10241       hardcode_libdir_flag_spec='-R$libdir'
10242       hardcode_direct=yes
10243       hardcode_shlibpath_var=no
10244       ;;
10245
10246     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10247     freebsd2.*)
10248       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10249       hardcode_direct=yes
10250       hardcode_minus_L=yes
10251       hardcode_shlibpath_var=no
10252       ;;
10253
10254     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10255     freebsd* | dragonfly*)
10256       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10257       hardcode_libdir_flag_spec='-R$libdir'
10258       hardcode_direct=yes
10259       hardcode_shlibpath_var=no
10260       ;;
10261
10262     hpux9*)
10263       if test "$GCC" = yes; then
10264         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'
10265       else
10266         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'
10267       fi
10268       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10269       hardcode_libdir_separator=:
10270       hardcode_direct=yes
10271
10272       # hardcode_minus_L: Not really in the search PATH,
10273       # but as the default location of the library.
10274       hardcode_minus_L=yes
10275       export_dynamic_flag_spec='${wl}-E'
10276       ;;
10277
10278     hpux10*)
10279       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10280         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10281       else
10282         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10283       fi
10284       if test "$with_gnu_ld" = no; then
10285         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10286         hardcode_libdir_separator=:
10287         hardcode_direct=yes
10288         hardcode_direct_absolute=yes
10289         export_dynamic_flag_spec='${wl}-E'
10290         # hardcode_minus_L: Not really in the search PATH,
10291         # but as the default location of the library.
10292         hardcode_minus_L=yes
10293       fi
10294       ;;
10295
10296     hpux11*)
10297       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10298         case $host_cpu in
10299         hppa*64*)
10300           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10301           ;;
10302         ia64*)
10303           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10304           ;;
10305         *)
10306           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10307           ;;
10308         esac
10309       else
10310         case $host_cpu in
10311         hppa*64*)
10312           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10313           ;;
10314         ia64*)
10315           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10316           ;;
10317         *)
10318
10319           # Older versions of the 11.00 compiler do not understand -b yet
10320           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10321           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10322 $as_echo_n "checking if $CC understands -b... " >&6; }
10323 if ${lt_cv_prog_compiler__b+:} false; then :
10324   $as_echo_n "(cached) " >&6
10325 else
10326   lt_cv_prog_compiler__b=no
10327    save_LDFLAGS="$LDFLAGS"
10328    LDFLAGS="$LDFLAGS -b"
10329    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10330    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10331      # The linker can only warn and ignore the option if not recognized
10332      # So say no if there are warnings
10333      if test -s conftest.err; then
10334        # Append any errors to the config.log.
10335        cat conftest.err 1>&5
10336        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10337        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10338        if diff conftest.exp conftest.er2 >/dev/null; then
10339          lt_cv_prog_compiler__b=yes
10340        fi
10341      else
10342        lt_cv_prog_compiler__b=yes
10343      fi
10344    fi
10345    $RM -r conftest*
10346    LDFLAGS="$save_LDFLAGS"
10347
10348 fi
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10350 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10351
10352 if test x"$lt_cv_prog_compiler__b" = xyes; then
10353     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10354 else
10355     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10356 fi
10357
10358           ;;
10359         esac
10360       fi
10361       if test "$with_gnu_ld" = no; then
10362         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10363         hardcode_libdir_separator=:
10364
10365         case $host_cpu in
10366         hppa*64*|ia64*)
10367           hardcode_direct=no
10368           hardcode_shlibpath_var=no
10369           ;;
10370         *)
10371           hardcode_direct=yes
10372           hardcode_direct_absolute=yes
10373           export_dynamic_flag_spec='${wl}-E'
10374
10375           # hardcode_minus_L: Not really in the search PATH,
10376           # but as the default location of the library.
10377           hardcode_minus_L=yes
10378           ;;
10379         esac
10380       fi
10381       ;;
10382
10383     irix5* | irix6* | nonstopux*)
10384       if test "$GCC" = yes; then
10385         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'
10386         # Try to use the -exported_symbol ld option, if it does not
10387         # work, assume that -exports_file does not work either and
10388         # implicitly export all symbols.
10389         # This should be the same for all languages, so no per-tag cache variable.
10390         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10391 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10392 if ${lt_cv_irix_exported_symbol+:} false; then :
10393   $as_echo_n "(cached) " >&6
10394 else
10395   save_LDFLAGS="$LDFLAGS"
10396            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10397            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h.  */
10399 int foo (void) { return 0; }
10400 _ACEOF
10401 if ac_fn_c_try_link "$LINENO"; then :
10402   lt_cv_irix_exported_symbol=yes
10403 else
10404   lt_cv_irix_exported_symbol=no
10405 fi
10406 rm -f core conftest.err conftest.$ac_objext \
10407     conftest$ac_exeext conftest.$ac_ext
10408            LDFLAGS="$save_LDFLAGS"
10409 fi
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10411 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10412         if test "$lt_cv_irix_exported_symbol" = yes; then
10413           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'
10414         fi
10415       else
10416         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'
10417         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'
10418       fi
10419       archive_cmds_need_lc='no'
10420       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10421       hardcode_libdir_separator=:
10422       inherit_rpath=yes
10423       link_all_deplibs=yes
10424       ;;
10425
10426     netbsd* | netbsdelf*-gnu)
10427       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10428         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10429       else
10430         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10431       fi
10432       hardcode_libdir_flag_spec='-R$libdir'
10433       hardcode_direct=yes
10434       hardcode_shlibpath_var=no
10435       ;;
10436
10437     newsos6)
10438       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10439       hardcode_direct=yes
10440       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10441       hardcode_libdir_separator=:
10442       hardcode_shlibpath_var=no
10443       ;;
10444
10445     *nto* | *qnx*)
10446       ;;
10447
10448     openbsd*)
10449       if test -f /usr/libexec/ld.so; then
10450         hardcode_direct=yes
10451         hardcode_shlibpath_var=no
10452         hardcode_direct_absolute=yes
10453         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10454           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10455           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10456           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10457           export_dynamic_flag_spec='${wl}-E'
10458         else
10459           case $host_os in
10460            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10461              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10462              hardcode_libdir_flag_spec='-R$libdir'
10463              ;;
10464            *)
10465              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10466              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10467              ;;
10468           esac
10469         fi
10470       else
10471         ld_shlibs=no
10472       fi
10473       ;;
10474
10475     os2*)
10476       hardcode_libdir_flag_spec='-L$libdir'
10477       hardcode_minus_L=yes
10478       allow_undefined_flag=unsupported
10479       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'
10480       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10481       ;;
10482
10483     osf3*)
10484       if test "$GCC" = yes; then
10485         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10486         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'
10487       else
10488         allow_undefined_flag=' -expect_unresolved \*'
10489         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'
10490       fi
10491       archive_cmds_need_lc='no'
10492       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10493       hardcode_libdir_separator=:
10494       ;;
10495
10496     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10497       if test "$GCC" = yes; then
10498         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10499         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'
10500         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10501       else
10502         allow_undefined_flag=' -expect_unresolved \*'
10503         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'
10504         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~
10505         $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'
10506
10507         # Both c and cxx compiler support -rpath directly
10508         hardcode_libdir_flag_spec='-rpath $libdir'
10509       fi
10510       archive_cmds_need_lc='no'
10511       hardcode_libdir_separator=:
10512       ;;
10513
10514     solaris*)
10515       no_undefined_flag=' -z defs'
10516       if test "$GCC" = yes; then
10517         wlarc='${wl}'
10518         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10519         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10520           $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'
10521       else
10522         case `$CC -V 2>&1` in
10523         *"Compilers 5.0"*)
10524           wlarc=''
10525           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10526           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10527           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10528           ;;
10529         *)
10530           wlarc='${wl}'
10531           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10532           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10533           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10534           ;;
10535         esac
10536       fi
10537       hardcode_libdir_flag_spec='-R$libdir'
10538       hardcode_shlibpath_var=no
10539       case $host_os in
10540       solaris2.[0-5] | solaris2.[0-5].*) ;;
10541       *)
10542         # The compiler driver will combine and reorder linker options,
10543         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10544         # but is careful enough not to reorder.
10545         # Supported since Solaris 2.6 (maybe 2.5.1?)
10546         if test "$GCC" = yes; then
10547           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10548         else
10549           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10550         fi
10551         ;;
10552       esac
10553       link_all_deplibs=yes
10554       ;;
10555
10556     sunos4*)
10557       if test "x$host_vendor" = xsequent; then
10558         # Use $CC to link under sequent, because it throws in some extra .o
10559         # files that make .init and .fini sections work.
10560         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10561       else
10562         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10563       fi
10564       hardcode_libdir_flag_spec='-L$libdir'
10565       hardcode_direct=yes
10566       hardcode_minus_L=yes
10567       hardcode_shlibpath_var=no
10568       ;;
10569
10570     sysv4)
10571       case $host_vendor in
10572         sni)
10573           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10574           hardcode_direct=yes # is this really true???
10575         ;;
10576         siemens)
10577           ## LD is ld it makes a PLAMLIB
10578           ## CC just makes a GrossModule.
10579           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10580           reload_cmds='$CC -r -o $output$reload_objs'
10581           hardcode_direct=no
10582         ;;
10583         motorola)
10584           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10585           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10586         ;;
10587       esac
10588       runpath_var='LD_RUN_PATH'
10589       hardcode_shlibpath_var=no
10590       ;;
10591
10592     sysv4.3*)
10593       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594       hardcode_shlibpath_var=no
10595       export_dynamic_flag_spec='-Bexport'
10596       ;;
10597
10598     sysv4*MP*)
10599       if test -d /usr/nec; then
10600         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601         hardcode_shlibpath_var=no
10602         runpath_var=LD_RUN_PATH
10603         hardcode_runpath_var=yes
10604         ld_shlibs=yes
10605       fi
10606       ;;
10607
10608     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10609       no_undefined_flag='${wl}-z,text'
10610       archive_cmds_need_lc=no
10611       hardcode_shlibpath_var=no
10612       runpath_var='LD_RUN_PATH'
10613
10614       if test "$GCC" = yes; then
10615         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10616         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10617       else
10618         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10619         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10620       fi
10621       ;;
10622
10623     sysv5* | sco3.2v5* | sco5v6*)
10624       # Note: We can NOT use -z defs as we might desire, because we do not
10625       # link with -lc, and that would cause any symbols used from libc to
10626       # always be unresolved, which means just about no library would
10627       # ever link correctly.  If we're not using GNU ld we use -z text
10628       # though, which does catch some bad symbols but isn't as heavy-handed
10629       # as -z defs.
10630       no_undefined_flag='${wl}-z,text'
10631       allow_undefined_flag='${wl}-z,nodefs'
10632       archive_cmds_need_lc=no
10633       hardcode_shlibpath_var=no
10634       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10635       hardcode_libdir_separator=':'
10636       link_all_deplibs=yes
10637       export_dynamic_flag_spec='${wl}-Bexport'
10638       runpath_var='LD_RUN_PATH'
10639
10640       if test "$GCC" = yes; then
10641         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10642         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10643       else
10644         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10645         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646       fi
10647       ;;
10648
10649     uts4*)
10650       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10651       hardcode_libdir_flag_spec='-L$libdir'
10652       hardcode_shlibpath_var=no
10653       ;;
10654
10655     *)
10656       ld_shlibs=no
10657       ;;
10658     esac
10659
10660     if test x$host_vendor = xsni; then
10661       case $host in
10662       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10663         export_dynamic_flag_spec='${wl}-Blargedynsym'
10664         ;;
10665       esac
10666     fi
10667   fi
10668
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10670 $as_echo "$ld_shlibs" >&6; }
10671 test "$ld_shlibs" = no && can_build_shared=no
10672
10673 with_gnu_ld=$with_gnu_ld
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689 #
10690 # Do we need to explicitly link libc?
10691 #
10692 case "x$archive_cmds_need_lc" in
10693 x|xyes)
10694   # Assume -lc should be added
10695   archive_cmds_need_lc=yes
10696
10697   if test "$enable_shared" = yes && test "$GCC" = yes; then
10698     case $archive_cmds in
10699     *'~'*)
10700       # FIXME: we may have to deal with multi-command sequences.
10701       ;;
10702     '$CC '*)
10703       # Test whether the compiler implicitly links with -lc since on some
10704       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10705       # to ld, don't add -lc before -lgcc.
10706       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10707 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10708 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10709   $as_echo_n "(cached) " >&6
10710 else
10711   $RM conftest*
10712         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10713
10714         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10715   (eval $ac_compile) 2>&5
10716   ac_status=$?
10717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10718   test $ac_status = 0; } 2>conftest.err; then
10719           soname=conftest
10720           lib=conftest
10721           libobjs=conftest.$ac_objext
10722           deplibs=
10723           wl=$lt_prog_compiler_wl
10724           pic_flag=$lt_prog_compiler_pic
10725           compiler_flags=-v
10726           linker_flags=-v
10727           verstring=
10728           output_objdir=.
10729           libname=conftest
10730           lt_save_allow_undefined_flag=$allow_undefined_flag
10731           allow_undefined_flag=
10732           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10733   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10734   ac_status=$?
10735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10736   test $ac_status = 0; }
10737           then
10738             lt_cv_archive_cmds_need_lc=no
10739           else
10740             lt_cv_archive_cmds_need_lc=yes
10741           fi
10742           allow_undefined_flag=$lt_save_allow_undefined_flag
10743         else
10744           cat conftest.err 1>&5
10745         fi
10746         $RM conftest*
10747
10748 fi
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10750 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10751       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10752       ;;
10753     esac
10754   fi
10755   ;;
10756 esac
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10910 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10911
10912 if test "$GCC" = yes; then
10913   case $host_os in
10914     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10915     *) lt_awk_arg="/^libraries:/" ;;
10916   esac
10917   case $host_os in
10918     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10919     *) lt_sed_strip_eq="s,=/,/,g" ;;
10920   esac
10921   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10922   case $lt_search_path_spec in
10923   *\;*)
10924     # if the path contains ";" then we assume it to be the separator
10925     # otherwise default to the standard path separator (i.e. ":") - it is
10926     # assumed that no part of a normal pathname contains ";" but that should
10927     # okay in the real world where ";" in dirpaths is itself problematic.
10928     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10929     ;;
10930   *)
10931     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10932     ;;
10933   esac
10934   # Ok, now we have the path, separated by spaces, we can step through it
10935   # and add multilib dir if necessary.
10936   lt_tmp_lt_search_path_spec=
10937   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10938   for lt_sys_path in $lt_search_path_spec; do
10939     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10940       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10941     else
10942       test -d "$lt_sys_path" && \
10943         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10944     fi
10945   done
10946   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10947 BEGIN {RS=" "; FS="/|\n";} {
10948   lt_foo="";
10949   lt_count=0;
10950   for (lt_i = NF; lt_i > 0; lt_i--) {
10951     if ($lt_i != "" && $lt_i != ".") {
10952       if ($lt_i == "..") {
10953         lt_count++;
10954       } else {
10955         if (lt_count == 0) {
10956           lt_foo="/" $lt_i lt_foo;
10957         } else {
10958           lt_count--;
10959         }
10960       }
10961     }
10962   }
10963   if (lt_foo != "") { lt_freq[lt_foo]++; }
10964   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10965 }'`
10966   # AWK program above erroneously prepends '/' to C:/dos/paths
10967   # for these hosts.
10968   case $host_os in
10969     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10970       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10971   esac
10972   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10973 else
10974   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10975 fi
10976 library_names_spec=
10977 libname_spec='lib$name'
10978 soname_spec=
10979 shrext_cmds=".so"
10980 postinstall_cmds=
10981 postuninstall_cmds=
10982 finish_cmds=
10983 finish_eval=
10984 shlibpath_var=
10985 shlibpath_overrides_runpath=unknown
10986 version_type=none
10987 dynamic_linker="$host_os ld.so"
10988 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10989 need_lib_prefix=unknown
10990 hardcode_into_libs=no
10991
10992 # when you set need_version to no, make sure it does not cause -set_version
10993 # flags to be left without arguments
10994 need_version=unknown
10995
10996 case $host_os in
10997 aix3*)
10998   version_type=linux # correct to gnu/linux during the next big refactor
10999   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11000   shlibpath_var=LIBPATH
11001
11002   # AIX 3 has no versioning support, so we append a major version to the name.
11003   soname_spec='${libname}${release}${shared_ext}$major'
11004   ;;
11005
11006 aix[4-9]*)
11007   version_type=linux # correct to gnu/linux during the next big refactor
11008   need_lib_prefix=no
11009   need_version=no
11010   hardcode_into_libs=yes
11011   if test "$host_cpu" = ia64; then
11012     # AIX 5 supports IA64
11013     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11014     shlibpath_var=LD_LIBRARY_PATH
11015   else
11016     # With GCC up to 2.95.x, collect2 would create an import file
11017     # for dependence libraries.  The import file would start with
11018     # the line `#! .'.  This would cause the generated library to
11019     # depend on `.', always an invalid library.  This was fixed in
11020     # development snapshots of GCC prior to 3.0.
11021     case $host_os in
11022       aix4 | aix4.[01] | aix4.[01].*)
11023       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11024            echo ' yes '
11025            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11026         :
11027       else
11028         can_build_shared=no
11029       fi
11030       ;;
11031     esac
11032     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11033     # soname into executable. Probably we can add versioning support to
11034     # collect2, so additional links can be useful in future.
11035     if test "$aix_use_runtimelinking" = yes; then
11036       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11037       # instead of lib<name>.a to let people know that these are not
11038       # typical AIX shared libraries.
11039       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040     else
11041       # We preserve .a as extension for shared libraries through AIX4.2
11042       # and later when we are not doing run time linking.
11043       library_names_spec='${libname}${release}.a $libname.a'
11044       soname_spec='${libname}${release}${shared_ext}$major'
11045     fi
11046     shlibpath_var=LIBPATH
11047   fi
11048   ;;
11049
11050 amigaos*)
11051   case $host_cpu in
11052   powerpc)
11053     # Since July 2007 AmigaOS4 officially supports .so libraries.
11054     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11055     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056     ;;
11057   m68k)
11058     library_names_spec='$libname.ixlibrary $libname.a'
11059     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11060     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'
11061     ;;
11062   esac
11063   ;;
11064
11065 beos*)
11066   library_names_spec='${libname}${shared_ext}'
11067   dynamic_linker="$host_os ld.so"
11068   shlibpath_var=LIBRARY_PATH
11069   ;;
11070
11071 bsdi[45]*)
11072   version_type=linux # correct to gnu/linux during the next big refactor
11073   need_version=no
11074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075   soname_spec='${libname}${release}${shared_ext}$major'
11076   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11077   shlibpath_var=LD_LIBRARY_PATH
11078   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11079   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11080   # the default ld.so.conf also contains /usr/contrib/lib and
11081   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11082   # libtool to hard-code these into programs
11083   ;;
11084
11085 cygwin* | mingw* | pw32* | cegcc*)
11086   version_type=windows
11087   shrext_cmds=".dll"
11088   need_version=no
11089   need_lib_prefix=no
11090
11091   case $GCC,$cc_basename in
11092   yes,*)
11093     # gcc
11094     library_names_spec='$libname.dll.a'
11095     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11096     postinstall_cmds='base_file=`basename \${file}`~
11097       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11098       dldir=$destdir/`dirname \$dlpath`~
11099       test -d \$dldir || mkdir -p \$dldir~
11100       $install_prog $dir/$dlname \$dldir/$dlname~
11101       chmod a+x \$dldir/$dlname~
11102       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11103         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11104       fi'
11105     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11106       dlpath=$dir/\$dldll~
11107        $RM \$dlpath'
11108     shlibpath_overrides_runpath=yes
11109
11110     case $host_os in
11111     cygwin*)
11112       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11113       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11114
11115       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11116       ;;
11117     mingw* | cegcc*)
11118       # MinGW DLLs use traditional 'lib' prefix
11119       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11120       ;;
11121     pw32*)
11122       # pw32 DLLs use 'pw' prefix rather than 'lib'
11123       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11124       ;;
11125     esac
11126     dynamic_linker='Win32 ld.exe'
11127     ;;
11128
11129   *,cl*)
11130     # Native MSVC
11131     libname_spec='$name'
11132     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11133     library_names_spec='${libname}.dll.lib'
11134
11135     case $build_os in
11136     mingw*)
11137       sys_lib_search_path_spec=
11138       lt_save_ifs=$IFS
11139       IFS=';'
11140       for lt_path in $LIB
11141       do
11142         IFS=$lt_save_ifs
11143         # Let DOS variable expansion print the short 8.3 style file name.
11144         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11145         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11146       done
11147       IFS=$lt_save_ifs
11148       # Convert to MSYS style.
11149       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11150       ;;
11151     cygwin*)
11152       # Convert to unix form, then to dos form, then back to unix form
11153       # but this time dos style (no spaces!) so that the unix form looks
11154       # like /cygdrive/c/PROGRA~1:/cygdr...
11155       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11156       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11157       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11158       ;;
11159     *)
11160       sys_lib_search_path_spec="$LIB"
11161       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11162         # It is most probably a Windows format PATH.
11163         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11164       else
11165         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11166       fi
11167       # FIXME: find the short name or the path components, as spaces are
11168       # common. (e.g. "Program Files" -> "PROGRA~1")
11169       ;;
11170     esac
11171
11172     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11173     postinstall_cmds='base_file=`basename \${file}`~
11174       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11175       dldir=$destdir/`dirname \$dlpath`~
11176       test -d \$dldir || mkdir -p \$dldir~
11177       $install_prog $dir/$dlname \$dldir/$dlname'
11178     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11179       dlpath=$dir/\$dldll~
11180        $RM \$dlpath'
11181     shlibpath_overrides_runpath=yes
11182     dynamic_linker='Win32 link.exe'
11183     ;;
11184
11185   *)
11186     # Assume MSVC wrapper
11187     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11188     dynamic_linker='Win32 ld.exe'
11189     ;;
11190   esac
11191   # FIXME: first we should search . and the directory the executable is in
11192   shlibpath_var=PATH
11193   ;;
11194
11195 darwin* | rhapsody*)
11196   dynamic_linker="$host_os dyld"
11197   version_type=darwin
11198   need_lib_prefix=no
11199   need_version=no
11200   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11201   soname_spec='${libname}${release}${major}$shared_ext'
11202   shlibpath_overrides_runpath=yes
11203   shlibpath_var=DYLD_LIBRARY_PATH
11204   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11205
11206   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11207   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11208   ;;
11209
11210 dgux*)
11211   version_type=linux # correct to gnu/linux during the next big refactor
11212   need_lib_prefix=no
11213   need_version=no
11214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11215   soname_spec='${libname}${release}${shared_ext}$major'
11216   shlibpath_var=LD_LIBRARY_PATH
11217   ;;
11218
11219 freebsd* | dragonfly*)
11220   # DragonFly does not have aout.  When/if they implement a new
11221   # versioning mechanism, adjust this.
11222   if test -x /usr/bin/objformat; then
11223     objformat=`/usr/bin/objformat`
11224   else
11225     case $host_os in
11226     freebsd[23].*) objformat=aout ;;
11227     *) objformat=elf ;;
11228     esac
11229   fi
11230   version_type=freebsd-$objformat
11231   case $version_type in
11232     freebsd-elf*)
11233       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11234       need_version=no
11235       need_lib_prefix=no
11236       ;;
11237     freebsd-*)
11238       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11239       need_version=yes
11240       ;;
11241   esac
11242   shlibpath_var=LD_LIBRARY_PATH
11243   case $host_os in
11244   freebsd2.*)
11245     shlibpath_overrides_runpath=yes
11246     ;;
11247   freebsd3.[01]* | freebsdelf3.[01]*)
11248     shlibpath_overrides_runpath=yes
11249     hardcode_into_libs=yes
11250     ;;
11251   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11252   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11253     shlibpath_overrides_runpath=no
11254     hardcode_into_libs=yes
11255     ;;
11256   *) # from 4.6 on, and DragonFly
11257     shlibpath_overrides_runpath=yes
11258     hardcode_into_libs=yes
11259     ;;
11260   esac
11261   ;;
11262
11263 haiku*)
11264   version_type=linux # correct to gnu/linux during the next big refactor
11265   need_lib_prefix=no
11266   need_version=no
11267   dynamic_linker="$host_os runtime_loader"
11268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11269   soname_spec='${libname}${release}${shared_ext}$major'
11270   shlibpath_var=LIBRARY_PATH
11271   shlibpath_overrides_runpath=yes
11272   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11273   hardcode_into_libs=yes
11274   ;;
11275
11276 hpux9* | hpux10* | hpux11*)
11277   # Give a soname corresponding to the major version so that dld.sl refuses to
11278   # link against other versions.
11279   version_type=sunos
11280   need_lib_prefix=no
11281   need_version=no
11282   case $host_cpu in
11283   ia64*)
11284     shrext_cmds='.so'
11285     hardcode_into_libs=yes
11286     dynamic_linker="$host_os dld.so"
11287     shlibpath_var=LD_LIBRARY_PATH
11288     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11289     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11290     soname_spec='${libname}${release}${shared_ext}$major'
11291     if test "X$HPUX_IA64_MODE" = X32; then
11292       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11293     else
11294       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11295     fi
11296     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11297     ;;
11298   hppa*64*)
11299     shrext_cmds='.sl'
11300     hardcode_into_libs=yes
11301     dynamic_linker="$host_os dld.sl"
11302     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11303     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11304     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305     soname_spec='${libname}${release}${shared_ext}$major'
11306     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11307     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11308     ;;
11309   *)
11310     shrext_cmds='.sl'
11311     dynamic_linker="$host_os dld.sl"
11312     shlibpath_var=SHLIB_PATH
11313     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11314     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315     soname_spec='${libname}${release}${shared_ext}$major'
11316     ;;
11317   esac
11318   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11319   postinstall_cmds='chmod 555 $lib'
11320   # or fails outright, so override atomically:
11321   install_override_mode=555
11322   ;;
11323
11324 interix[3-9]*)
11325   version_type=linux # correct to gnu/linux during the next big refactor
11326   need_lib_prefix=no
11327   need_version=no
11328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11329   soname_spec='${libname}${release}${shared_ext}$major'
11330   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11331   shlibpath_var=LD_LIBRARY_PATH
11332   shlibpath_overrides_runpath=no
11333   hardcode_into_libs=yes
11334   ;;
11335
11336 irix5* | irix6* | nonstopux*)
11337   case $host_os in
11338     nonstopux*) version_type=nonstopux ;;
11339     *)
11340         if test "$lt_cv_prog_gnu_ld" = yes; then
11341                 version_type=linux # correct to gnu/linux during the next big refactor
11342         else
11343                 version_type=irix
11344         fi ;;
11345   esac
11346   need_lib_prefix=no
11347   need_version=no
11348   soname_spec='${libname}${release}${shared_ext}$major'
11349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11350   case $host_os in
11351   irix5* | nonstopux*)
11352     libsuff= shlibsuff=
11353     ;;
11354   *)
11355     case $LD in # libtool.m4 will add one of these switches to LD
11356     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11357       libsuff= shlibsuff= libmagic=32-bit;;
11358     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11359       libsuff=32 shlibsuff=N32 libmagic=N32;;
11360     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11361       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11362     *) libsuff= shlibsuff= libmagic=never-match;;
11363     esac
11364     ;;
11365   esac
11366   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11367   shlibpath_overrides_runpath=no
11368   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11369   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11370   hardcode_into_libs=yes
11371   ;;
11372
11373 # No shared lib support for Linux oldld, aout, or coff.
11374 linux*oldld* | linux*aout* | linux*coff*)
11375   dynamic_linker=no
11376   ;;
11377
11378 # This must be glibc/ELF.
11379 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11380   version_type=linux # correct to gnu/linux during the next big refactor
11381   need_lib_prefix=no
11382   need_version=no
11383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11384   soname_spec='${libname}${release}${shared_ext}$major'
11385   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11386   shlibpath_var=LD_LIBRARY_PATH
11387   shlibpath_overrides_runpath=no
11388
11389   # Some binutils ld are patched to set DT_RUNPATH
11390   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11391   $as_echo_n "(cached) " >&6
11392 else
11393   lt_cv_shlibpath_overrides_runpath=no
11394     save_LDFLAGS=$LDFLAGS
11395     save_libdir=$libdir
11396     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11397          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11398     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h.  */
11400
11401 int
11402 main ()
11403 {
11404
11405   ;
11406   return 0;
11407 }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11411   lt_cv_shlibpath_overrides_runpath=yes
11412 fi
11413 fi
11414 rm -f core conftest.err conftest.$ac_objext \
11415     conftest$ac_exeext conftest.$ac_ext
11416     LDFLAGS=$save_LDFLAGS
11417     libdir=$save_libdir
11418
11419 fi
11420
11421   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11422
11423   # This implies no fast_install, which is unacceptable.
11424   # Some rework will be needed to allow for fast_install
11425   # before this can be enabled.
11426   hardcode_into_libs=yes
11427
11428   # Append ld.so.conf contents to the search path
11429   if test -f /etc/ld.so.conf; then
11430     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' ' '`
11431     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11432   fi
11433
11434   # We used to test for /lib/ld.so.1 and disable shared libraries on
11435   # powerpc, because MkLinux only supported shared libraries with the
11436   # GNU dynamic linker.  Since this was broken with cross compilers,
11437   # most powerpc-linux boxes support dynamic linking these days and
11438   # people can always --disable-shared, the test was removed, and we
11439   # assume the GNU/Linux dynamic linker is in use.
11440   dynamic_linker='GNU/Linux ld.so'
11441   ;;
11442
11443 netbsdelf*-gnu)
11444   version_type=linux
11445   need_lib_prefix=no
11446   need_version=no
11447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11448   soname_spec='${libname}${release}${shared_ext}$major'
11449   shlibpath_var=LD_LIBRARY_PATH
11450   shlibpath_overrides_runpath=no
11451   hardcode_into_libs=yes
11452   dynamic_linker='NetBSD ld.elf_so'
11453   ;;
11454
11455 netbsd*)
11456   version_type=sunos
11457   need_lib_prefix=no
11458   need_version=no
11459   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11460     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11461     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11462     dynamic_linker='NetBSD (a.out) ld.so'
11463   else
11464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11465     soname_spec='${libname}${release}${shared_ext}$major'
11466     dynamic_linker='NetBSD ld.elf_so'
11467   fi
11468   shlibpath_var=LD_LIBRARY_PATH
11469   shlibpath_overrides_runpath=yes
11470   hardcode_into_libs=yes
11471   ;;
11472
11473 newsos6)
11474   version_type=linux # correct to gnu/linux during the next big refactor
11475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476   shlibpath_var=LD_LIBRARY_PATH
11477   shlibpath_overrides_runpath=yes
11478   ;;
11479
11480 *nto* | *qnx*)
11481   version_type=qnx
11482   need_lib_prefix=no
11483   need_version=no
11484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485   soname_spec='${libname}${release}${shared_ext}$major'
11486   shlibpath_var=LD_LIBRARY_PATH
11487   shlibpath_overrides_runpath=no
11488   hardcode_into_libs=yes
11489   dynamic_linker='ldqnx.so'
11490   ;;
11491
11492 openbsd*)
11493   version_type=sunos
11494   sys_lib_dlsearch_path_spec="/usr/lib"
11495   need_lib_prefix=no
11496   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11497   case $host_os in
11498     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11499     *)                          need_version=no  ;;
11500   esac
11501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11502   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11503   shlibpath_var=LD_LIBRARY_PATH
11504   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11505     case $host_os in
11506       openbsd2.[89] | openbsd2.[89].*)
11507         shlibpath_overrides_runpath=no
11508         ;;
11509       *)
11510         shlibpath_overrides_runpath=yes
11511         ;;
11512       esac
11513   else
11514     shlibpath_overrides_runpath=yes
11515   fi
11516   ;;
11517
11518 os2*)
11519   libname_spec='$name'
11520   shrext_cmds=".dll"
11521   need_lib_prefix=no
11522   library_names_spec='$libname${shared_ext} $libname.a'
11523   dynamic_linker='OS/2 ld.exe'
11524   shlibpath_var=LIBPATH
11525   ;;
11526
11527 osf3* | osf4* | osf5*)
11528   version_type=osf
11529   need_lib_prefix=no
11530   need_version=no
11531   soname_spec='${libname}${release}${shared_ext}$major'
11532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11533   shlibpath_var=LD_LIBRARY_PATH
11534   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11535   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11536   ;;
11537
11538 rdos*)
11539   dynamic_linker=no
11540   ;;
11541
11542 solaris*)
11543   version_type=linux # correct to gnu/linux during the next big refactor
11544   need_lib_prefix=no
11545   need_version=no
11546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11547   soname_spec='${libname}${release}${shared_ext}$major'
11548   shlibpath_var=LD_LIBRARY_PATH
11549   shlibpath_overrides_runpath=yes
11550   hardcode_into_libs=yes
11551   # ldd complains unless libraries are executable
11552   postinstall_cmds='chmod +x $lib'
11553   ;;
11554
11555 sunos4*)
11556   version_type=sunos
11557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11558   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11559   shlibpath_var=LD_LIBRARY_PATH
11560   shlibpath_overrides_runpath=yes
11561   if test "$with_gnu_ld" = yes; then
11562     need_lib_prefix=no
11563   fi
11564   need_version=yes
11565   ;;
11566
11567 sysv4 | sysv4.3*)
11568   version_type=linux # correct to gnu/linux during the next big refactor
11569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570   soname_spec='${libname}${release}${shared_ext}$major'
11571   shlibpath_var=LD_LIBRARY_PATH
11572   case $host_vendor in
11573     sni)
11574       shlibpath_overrides_runpath=no
11575       need_lib_prefix=no
11576       runpath_var=LD_RUN_PATH
11577       ;;
11578     siemens)
11579       need_lib_prefix=no
11580       ;;
11581     motorola)
11582       need_lib_prefix=no
11583       need_version=no
11584       shlibpath_overrides_runpath=no
11585       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11586       ;;
11587   esac
11588   ;;
11589
11590 sysv4*MP*)
11591   if test -d /usr/nec ;then
11592     version_type=linux # correct to gnu/linux during the next big refactor
11593     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11594     soname_spec='$libname${shared_ext}.$major'
11595     shlibpath_var=LD_LIBRARY_PATH
11596   fi
11597   ;;
11598
11599 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11600   version_type=freebsd-elf
11601   need_lib_prefix=no
11602   need_version=no
11603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11604   soname_spec='${libname}${release}${shared_ext}$major'
11605   shlibpath_var=LD_LIBRARY_PATH
11606   shlibpath_overrides_runpath=yes
11607   hardcode_into_libs=yes
11608   if test "$with_gnu_ld" = yes; then
11609     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11610   else
11611     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11612     case $host_os in
11613       sco3.2v5*)
11614         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11615         ;;
11616     esac
11617   fi
11618   sys_lib_dlsearch_path_spec='/usr/lib'
11619   ;;
11620
11621 tpf*)
11622   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11623   version_type=linux # correct to gnu/linux during the next big refactor
11624   need_lib_prefix=no
11625   need_version=no
11626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11627   shlibpath_var=LD_LIBRARY_PATH
11628   shlibpath_overrides_runpath=no
11629   hardcode_into_libs=yes
11630   ;;
11631
11632 uts4*)
11633   version_type=linux # correct to gnu/linux during the next big refactor
11634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635   soname_spec='${libname}${release}${shared_ext}$major'
11636   shlibpath_var=LD_LIBRARY_PATH
11637   ;;
11638
11639 *)
11640   dynamic_linker=no
11641   ;;
11642 esac
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11644 $as_echo "$dynamic_linker" >&6; }
11645 test "$dynamic_linker" = no && can_build_shared=no
11646
11647 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11648 if test "$GCC" = yes; then
11649   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11650 fi
11651
11652 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11653   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11654 fi
11655 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11656   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11657 fi
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11751 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11752 hardcode_action=
11753 if test -n "$hardcode_libdir_flag_spec" ||
11754    test -n "$runpath_var" ||
11755    test "X$hardcode_automatic" = "Xyes" ; then
11756
11757   # We can hardcode non-existent directories.
11758   if test "$hardcode_direct" != no &&
11759      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11760      # have to relink, otherwise we might link with an installed library
11761      # when we should be linking with a yet-to-be-installed one
11762      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11763      test "$hardcode_minus_L" != no; then
11764     # Linking always hardcodes the temporary library directory.
11765     hardcode_action=relink
11766   else
11767     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11768     hardcode_action=immediate
11769   fi
11770 else
11771   # We cannot hardcode anything, or else we can only hardcode existing
11772   # directories.
11773   hardcode_action=unsupported
11774 fi
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11776 $as_echo "$hardcode_action" >&6; }
11777
11778 if test "$hardcode_action" = relink ||
11779    test "$inherit_rpath" = yes; then
11780   # Fast installation is not supported
11781   enable_fast_install=no
11782 elif test "$shlibpath_overrides_runpath" = yes ||
11783      test "$enable_shared" = no; then
11784   # Fast installation is not necessary
11785   enable_fast_install=needless
11786 fi
11787
11788
11789
11790
11791
11792
11793   if test "x$enable_dlopen" != xyes; then
11794   enable_dlopen=unknown
11795   enable_dlopen_self=unknown
11796   enable_dlopen_self_static=unknown
11797 else
11798   lt_cv_dlopen=no
11799   lt_cv_dlopen_libs=
11800
11801   case $host_os in
11802   beos*)
11803     lt_cv_dlopen="load_add_on"
11804     lt_cv_dlopen_libs=
11805     lt_cv_dlopen_self=yes
11806     ;;
11807
11808   mingw* | pw32* | cegcc*)
11809     lt_cv_dlopen="LoadLibrary"
11810     lt_cv_dlopen_libs=
11811     ;;
11812
11813   cygwin*)
11814     lt_cv_dlopen="dlopen"
11815     lt_cv_dlopen_libs=
11816     ;;
11817
11818   darwin*)
11819   # if libdl is installed we need to link against it
11820     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11821 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11822 if ${ac_cv_lib_dl_dlopen+:} false; then :
11823   $as_echo_n "(cached) " >&6
11824 else
11825   ac_check_lib_save_LIBS=$LIBS
11826 LIBS="-ldl  $LIBS"
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h.  */
11829
11830 /* Override any GCC internal prototype to avoid an error.
11831    Use char because int might match the return type of a GCC
11832    builtin and then its argument prototype would still apply.  */
11833 #ifdef __cplusplus
11834 extern "C"
11835 #endif
11836 char dlopen ();
11837 int
11838 main ()
11839 {
11840 return dlopen ();
11841   ;
11842   return 0;
11843 }
11844 _ACEOF
11845 if ac_fn_c_try_link "$LINENO"; then :
11846   ac_cv_lib_dl_dlopen=yes
11847 else
11848   ac_cv_lib_dl_dlopen=no
11849 fi
11850 rm -f core conftest.err conftest.$ac_objext \
11851     conftest$ac_exeext conftest.$ac_ext
11852 LIBS=$ac_check_lib_save_LIBS
11853 fi
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11855 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11856 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11857   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11858 else
11859
11860     lt_cv_dlopen="dyld"
11861     lt_cv_dlopen_libs=
11862     lt_cv_dlopen_self=yes
11863
11864 fi
11865
11866     ;;
11867
11868   *)
11869     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11870 if test "x$ac_cv_func_shl_load" = xyes; then :
11871   lt_cv_dlopen="shl_load"
11872 else
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11874 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11875 if ${ac_cv_lib_dld_shl_load+:} false; then :
11876   $as_echo_n "(cached) " >&6
11877 else
11878   ac_check_lib_save_LIBS=$LIBS
11879 LIBS="-ldld  $LIBS"
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h.  */
11882
11883 /* Override any GCC internal prototype to avoid an error.
11884    Use char because int might match the return type of a GCC
11885    builtin and then its argument prototype would still apply.  */
11886 #ifdef __cplusplus
11887 extern "C"
11888 #endif
11889 char shl_load ();
11890 int
11891 main ()
11892 {
11893 return shl_load ();
11894   ;
11895   return 0;
11896 }
11897 _ACEOF
11898 if ac_fn_c_try_link "$LINENO"; then :
11899   ac_cv_lib_dld_shl_load=yes
11900 else
11901   ac_cv_lib_dld_shl_load=no
11902 fi
11903 rm -f core conftest.err conftest.$ac_objext \
11904     conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_lib_save_LIBS
11906 fi
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11908 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11909 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11910   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11911 else
11912   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11913 if test "x$ac_cv_func_dlopen" = xyes; then :
11914   lt_cv_dlopen="dlopen"
11915 else
11916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11917 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11918 if ${ac_cv_lib_dl_dlopen+:} false; then :
11919   $as_echo_n "(cached) " >&6
11920 else
11921   ac_check_lib_save_LIBS=$LIBS
11922 LIBS="-ldl  $LIBS"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h.  */
11925
11926 /* Override any GCC internal prototype to avoid an error.
11927    Use char because int might match the return type of a GCC
11928    builtin and then its argument prototype would still apply.  */
11929 #ifdef __cplusplus
11930 extern "C"
11931 #endif
11932 char dlopen ();
11933 int
11934 main ()
11935 {
11936 return dlopen ();
11937   ;
11938   return 0;
11939 }
11940 _ACEOF
11941 if ac_fn_c_try_link "$LINENO"; then :
11942   ac_cv_lib_dl_dlopen=yes
11943 else
11944   ac_cv_lib_dl_dlopen=no
11945 fi
11946 rm -f core conftest.err conftest.$ac_objext \
11947     conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_lib_save_LIBS
11949 fi
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11951 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11952 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11953   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11954 else
11955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11956 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11957 if ${ac_cv_lib_svld_dlopen+:} false; then :
11958   $as_echo_n "(cached) " >&6
11959 else
11960   ac_check_lib_save_LIBS=$LIBS
11961 LIBS="-lsvld  $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h.  */
11964
11965 /* Override any GCC internal prototype to avoid an error.
11966    Use char because int might match the return type of a GCC
11967    builtin and then its argument prototype would still apply.  */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char dlopen ();
11972 int
11973 main ()
11974 {
11975 return dlopen ();
11976   ;
11977   return 0;
11978 }
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981   ac_cv_lib_svld_dlopen=yes
11982 else
11983   ac_cv_lib_svld_dlopen=no
11984 fi
11985 rm -f core conftest.err conftest.$ac_objext \
11986     conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11988 fi
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11990 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11991 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11992   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11993 else
11994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11995 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11996 if ${ac_cv_lib_dld_dld_link+:} false; then :
11997   $as_echo_n "(cached) " >&6
11998 else
11999   ac_check_lib_save_LIBS=$LIBS
12000 LIBS="-ldld  $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h.  */
12003
12004 /* Override any GCC internal prototype to avoid an error.
12005    Use char because int might match the return type of a GCC
12006    builtin and then its argument prototype would still apply.  */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char dld_link ();
12011 int
12012 main ()
12013 {
12014 return dld_link ();
12015   ;
12016   return 0;
12017 }
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020   ac_cv_lib_dld_dld_link=yes
12021 else
12022   ac_cv_lib_dld_dld_link=no
12023 fi
12024 rm -f core conftest.err conftest.$ac_objext \
12025     conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_lib_save_LIBS
12027 fi
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12029 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12030 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12031   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12032 fi
12033
12034
12035 fi
12036
12037
12038 fi
12039
12040
12041 fi
12042
12043
12044 fi
12045
12046
12047 fi
12048
12049     ;;
12050   esac
12051
12052   if test "x$lt_cv_dlopen" != xno; then
12053     enable_dlopen=yes
12054   else
12055     enable_dlopen=no
12056   fi
12057
12058   case $lt_cv_dlopen in
12059   dlopen)
12060     save_CPPFLAGS="$CPPFLAGS"
12061     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12062
12063     save_LDFLAGS="$LDFLAGS"
12064     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12065
12066     save_LIBS="$LIBS"
12067     LIBS="$lt_cv_dlopen_libs $LIBS"
12068
12069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12070 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12071 if ${lt_cv_dlopen_self+:} false; then :
12072   $as_echo_n "(cached) " >&6
12073 else
12074           if test "$cross_compiling" = yes; then :
12075   lt_cv_dlopen_self=cross
12076 else
12077   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12078   lt_status=$lt_dlunknown
12079   cat > conftest.$ac_ext <<_LT_EOF
12080 #line $LINENO "configure"
12081 #include "confdefs.h"
12082
12083 #if HAVE_DLFCN_H
12084 #include <dlfcn.h>
12085 #endif
12086
12087 #include <stdio.h>
12088
12089 #ifdef RTLD_GLOBAL
12090 #  define LT_DLGLOBAL           RTLD_GLOBAL
12091 #else
12092 #  ifdef DL_GLOBAL
12093 #    define LT_DLGLOBAL         DL_GLOBAL
12094 #  else
12095 #    define LT_DLGLOBAL         0
12096 #  endif
12097 #endif
12098
12099 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12100    find out it does not work in some platform. */
12101 #ifndef LT_DLLAZY_OR_NOW
12102 #  ifdef RTLD_LAZY
12103 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12104 #  else
12105 #    ifdef DL_LAZY
12106 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12107 #    else
12108 #      ifdef RTLD_NOW
12109 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12110 #      else
12111 #        ifdef DL_NOW
12112 #          define LT_DLLAZY_OR_NOW      DL_NOW
12113 #        else
12114 #          define LT_DLLAZY_OR_NOW      0
12115 #        endif
12116 #      endif
12117 #    endif
12118 #  endif
12119 #endif
12120
12121 /* When -fvisbility=hidden is used, assume the code has been annotated
12122    correspondingly for the symbols needed.  */
12123 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12124 int fnord () __attribute__((visibility("default")));
12125 #endif
12126
12127 int fnord () { return 42; }
12128 int main ()
12129 {
12130   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12131   int status = $lt_dlunknown;
12132
12133   if (self)
12134     {
12135       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12136       else
12137         {
12138           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12139           else puts (dlerror ());
12140         }
12141       /* dlclose (self); */
12142     }
12143   else
12144     puts (dlerror ());
12145
12146   return status;
12147 }
12148 _LT_EOF
12149   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12150   (eval $ac_link) 2>&5
12151   ac_status=$?
12152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12153   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12154     (./conftest; exit; ) >&5 2>/dev/null
12155     lt_status=$?
12156     case x$lt_status in
12157       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12158       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12159       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12160     esac
12161   else :
12162     # compilation failed
12163     lt_cv_dlopen_self=no
12164   fi
12165 fi
12166 rm -fr conftest*
12167
12168
12169 fi
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12171 $as_echo "$lt_cv_dlopen_self" >&6; }
12172
12173     if test "x$lt_cv_dlopen_self" = xyes; then
12174       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12175       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12176 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12177 if ${lt_cv_dlopen_self_static+:} false; then :
12178   $as_echo_n "(cached) " >&6
12179 else
12180           if test "$cross_compiling" = yes; then :
12181   lt_cv_dlopen_self_static=cross
12182 else
12183   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12184   lt_status=$lt_dlunknown
12185   cat > conftest.$ac_ext <<_LT_EOF
12186 #line $LINENO "configure"
12187 #include "confdefs.h"
12188
12189 #if HAVE_DLFCN_H
12190 #include <dlfcn.h>
12191 #endif
12192
12193 #include <stdio.h>
12194
12195 #ifdef RTLD_GLOBAL
12196 #  define LT_DLGLOBAL           RTLD_GLOBAL
12197 #else
12198 #  ifdef DL_GLOBAL
12199 #    define LT_DLGLOBAL         DL_GLOBAL
12200 #  else
12201 #    define LT_DLGLOBAL         0
12202 #  endif
12203 #endif
12204
12205 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12206    find out it does not work in some platform. */
12207 #ifndef LT_DLLAZY_OR_NOW
12208 #  ifdef RTLD_LAZY
12209 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12210 #  else
12211 #    ifdef DL_LAZY
12212 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12213 #    else
12214 #      ifdef RTLD_NOW
12215 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12216 #      else
12217 #        ifdef DL_NOW
12218 #          define LT_DLLAZY_OR_NOW      DL_NOW
12219 #        else
12220 #          define LT_DLLAZY_OR_NOW      0
12221 #        endif
12222 #      endif
12223 #    endif
12224 #  endif
12225 #endif
12226
12227 /* When -fvisbility=hidden is used, assume the code has been annotated
12228    correspondingly for the symbols needed.  */
12229 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12230 int fnord () __attribute__((visibility("default")));
12231 #endif
12232
12233 int fnord () { return 42; }
12234 int main ()
12235 {
12236   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12237   int status = $lt_dlunknown;
12238
12239   if (self)
12240     {
12241       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12242       else
12243         {
12244           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12245           else puts (dlerror ());
12246         }
12247       /* dlclose (self); */
12248     }
12249   else
12250     puts (dlerror ());
12251
12252   return status;
12253 }
12254 _LT_EOF
12255   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12256   (eval $ac_link) 2>&5
12257   ac_status=$?
12258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12259   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12260     (./conftest; exit; ) >&5 2>/dev/null
12261     lt_status=$?
12262     case x$lt_status in
12263       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12264       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12265       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12266     esac
12267   else :
12268     # compilation failed
12269     lt_cv_dlopen_self_static=no
12270   fi
12271 fi
12272 rm -fr conftest*
12273
12274
12275 fi
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12277 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12278     fi
12279
12280     CPPFLAGS="$save_CPPFLAGS"
12281     LDFLAGS="$save_LDFLAGS"
12282     LIBS="$save_LIBS"
12283     ;;
12284   esac
12285
12286   case $lt_cv_dlopen_self in
12287   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12288   *) enable_dlopen_self=unknown ;;
12289   esac
12290
12291   case $lt_cv_dlopen_self_static in
12292   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12293   *) enable_dlopen_self_static=unknown ;;
12294   esac
12295 fi
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313 striplib=
12314 old_striplib=
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12316 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12317 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12318   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12319   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12321 $as_echo "yes" >&6; }
12322 else
12323 # FIXME - insert some real tests, host_os isn't really good enough
12324   case $host_os in
12325   darwin*)
12326     if test -n "$STRIP" ; then
12327       striplib="$STRIP -x"
12328       old_striplib="$STRIP -S"
12329       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12330 $as_echo "yes" >&6; }
12331     else
12332       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12334     fi
12335     ;;
12336   *)
12337     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12338 $as_echo "no" >&6; }
12339     ;;
12340   esac
12341 fi
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354   # Report which library types will actually be built
12355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12356 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12358 $as_echo "$can_build_shared" >&6; }
12359
12360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12361 $as_echo_n "checking whether to build shared libraries... " >&6; }
12362   test "$can_build_shared" = "no" && enable_shared=no
12363
12364   # On AIX, shared libraries and static libraries use the same namespace, and
12365   # are all built from PIC.
12366   case $host_os in
12367   aix3*)
12368     test "$enable_shared" = yes && enable_static=no
12369     if test -n "$RANLIB"; then
12370       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12371       postinstall_cmds='$RANLIB $lib'
12372     fi
12373     ;;
12374
12375   aix[4-9]*)
12376     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12377       test "$enable_shared" = yes && enable_static=no
12378     fi
12379     ;;
12380   esac
12381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12382 $as_echo "$enable_shared" >&6; }
12383
12384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12385 $as_echo_n "checking whether to build static libraries... " >&6; }
12386   # Make sure either enable_shared or enable_static is yes.
12387   test "$enable_shared" = yes || enable_static=yes
12388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12389 $as_echo "$enable_static" >&6; }
12390
12391
12392
12393
12394 fi
12395 ac_ext=c
12396 ac_cpp='$CPP $CPPFLAGS'
12397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12400
12401 CC="$lt_save_CC"
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417         ac_config_commands="$ac_config_commands libtool"
12418
12419
12420
12421
12422 # Only expand once:
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432 # Check whether --with-help-dir was given.
12433 if test "${with_help_dir+set}" = set; then :
12434   withval=$with_help_dir;
12435 else
12436   with_help_dir='${datadir}/help'
12437 fi
12438
12439 HELP_DIR="$with_help_dir"
12440
12441
12442
12443 # Extract the first word of "itstool", so it can be a program name with args.
12444 set dummy itstool; ac_word=$2
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12446 $as_echo_n "checking for $ac_word... " >&6; }
12447 if ${ac_cv_prog_ITSTOOL+:} false; then :
12448   $as_echo_n "(cached) " >&6
12449 else
12450   if test -n "$ITSTOOL"; then
12451   ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
12452 else
12453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12454 for as_dir in $PATH
12455 do
12456   IFS=$as_save_IFS
12457   test -z "$as_dir" && as_dir=.
12458     for ac_exec_ext in '' $ac_executable_extensions; do
12459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12460     ac_cv_prog_ITSTOOL="itstool"
12461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12462     break 2
12463   fi
12464 done
12465   done
12466 IFS=$as_save_IFS
12467
12468 fi
12469 fi
12470 ITSTOOL=$ac_cv_prog_ITSTOOL
12471 if test -n "$ITSTOOL"; then
12472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
12473 $as_echo "$ITSTOOL" >&6; }
12474 else
12475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12476 $as_echo "no" >&6; }
12477 fi
12478
12479
12480 if test x"$ITSTOOL" = x; then
12481   as_fn_error $? "itstool not found" "$LINENO" 5
12482 fi
12483
12484
12485 # Extract the first word of "xmllint", so it can be a program name with args.
12486 set dummy xmllint; ac_word=$2
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12488 $as_echo_n "checking for $ac_word... " >&6; }
12489 if ${ac_cv_prog_XMLLINT+:} false; then :
12490   $as_echo_n "(cached) " >&6
12491 else
12492   if test -n "$XMLLINT"; then
12493   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
12494 else
12495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12496 for as_dir in $PATH
12497 do
12498   IFS=$as_save_IFS
12499   test -z "$as_dir" && as_dir=.
12500     for ac_exec_ext in '' $ac_executable_extensions; do
12501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12502     ac_cv_prog_XMLLINT="xmllint"
12503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12504     break 2
12505   fi
12506 done
12507   done
12508 IFS=$as_save_IFS
12509
12510 fi
12511 fi
12512 XMLLINT=$ac_cv_prog_XMLLINT
12513 if test -n "$XMLLINT"; then
12514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12515 $as_echo "$XMLLINT" >&6; }
12516 else
12517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12519 fi
12520
12521
12522 if test x"$XMLLINT" = x; then
12523   as_fn_error $? "xmllint not found" "$LINENO" 5
12524 fi
12525
12526 YELP_HELP_RULES='
12527 HELP_ID ?=
12528 HELP_POT ?=
12529 HELP_FILES ?=
12530 HELP_EXTRA ?=
12531 HELP_MEDIA ?=
12532 HELP_LINGUAS ?=
12533
12534 _HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
12535 _HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
12536 _HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
12537 _HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
12538 _HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
12539 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
12540 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
12541 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
12542 _HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
12543
12544 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
12545 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
12546 _HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
12547 _HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
12548 _HELP_LC_VERBOSE_0 = @echo "  GEN    "$(dir $@);
12549
12550 all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
12551
12552 .PHONY: pot
12553 pot: $(_HELP_POTFILE)
12554 $(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12555         $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
12556         $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
12557
12558 .PHONY: repo
12559 repo: $(_HELP_POTFILE)
12560         $(AM_V_at)for po in $(_HELP_POFILES); do \
12561           if test "x$(_HELP_V)" = "x0"; then echo "  GEN    $${po}"; fi; \
12562           msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
12563         done
12564
12565 $(_HELP_POFILES):
12566         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12567         $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
12568         $(AM_V_GEN)if ! test -f "$@"; then \
12569           (cd "$(dir $@)" && \
12570             $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12571             mv "$(notdir $@).tmp" "$(notdir $@)"); \
12572         else \
12573           (cd "$(dir $@)" && \
12574             $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12575             msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
12576             rm "$(notdir $@).tmp"); \
12577         fi
12578
12579 $(_HELP_MOFILES): %.mo: %.po
12580         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12581         $(AM_V_GEN)msgfmt -o "$@" "$<"
12582
12583 $(_HELP_LC_FILES): $(_HELP_LINGUAS)
12584 $(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
12585 $(_HELP_LC_STAMPS): %.stamp: %.mo
12586 $(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
12587         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12588         $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
12589         mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
12590         if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
12591         (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
12592         touch "$@"
12593
12594 .PHONY: clean-help
12595 mostlyclean-am: $(if $(HELP_ID),clean-help)
12596 clean-help:
12597         rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
12598
12599 EXTRA_DIST ?=
12600 EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12601 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
12602 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
12603 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12604
12605 distdir: distdir-help-files
12606 distdir-help-files:
12607         @for lc in C $(HELP_LINGUAS); do \
12608           $(MKDIR_P) "$(distdir)/$$lc"; \
12609           for file in $(HELP_FILES); do \
12610             if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
12611             cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
12612           done; \
12613         done; \
12614
12615 .PHONY: check-help
12616 check: check-help
12617 check-help:
12618         for lc in C $(_HELP_LINGUAS); do \
12619           if test -d "$$lc"; \
12620             then d=; \
12621             xmlpath="$$lc"; \
12622           else \
12623             d="$(srcdir)/"; \
12624             xmlpath="$$lc:$(srcdir)/$$lc"; \
12625           fi; \
12626           for page in $(HELP_FILES); do \
12627             echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
12628             $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
12629           done; \
12630         done
12631
12632
12633 .PHONY: install-help
12634 install-data-am: $(if $(HELP_ID),install-help)
12635 install-help:
12636         @for lc in C $(_HELP_LINGUAS); do \
12637           $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12638         done
12639         @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12640           if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
12641           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12642           if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12643           echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
12644           $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
12645         done; done
12646         @for f in $(_HELP_C_EXTRA); do \
12647           lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12648           if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
12649           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12650           if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12651           echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
12652           $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
12653         done
12654         @for f in $(HELP_MEDIA); do \
12655           for lc in C $(_HELP_LINGUAS); do \
12656             if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
12657             helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12658             mdir=`dirname "$$f"`; \
12659             if test "x$mdir" = "x."; then mdir=""; fi; \
12660             if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
12661             if test -f "$$d$$lc/$$f"; then \
12662               echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
12663               $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
12664             elif test "x$$lc" != "xC"; then \
12665               echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12666               $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
12667             fi; \
12668           done; \
12669         done
12670
12671 .PHONY: uninstall-help
12672 uninstall-am: $(if $(HELP_ID),uninstall-help)
12673 uninstall-help:
12674         for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12675           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12676           echo "rm -f $$helpdir`basename $$f`"; \
12677           rm -f "$$helpdir`basename $$f`"; \
12678         done; done
12679         @for f in $(_HELP_C_EXTRA); do \
12680           lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12681           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12682           echo "rm -f $$helpdir`basename $$f`"; \
12683           rm -f "$$helpdir`basename $$f`"; \
12684         done
12685         @for f in $(HELP_MEDIA); do \
12686           for lc in C $(_HELP_LINGUAS); do \
12687             helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12688             echo "rm -f $$helpdir$$f"; \
12689             rm -f "$$helpdir$$f"; \
12690           done; \
12691         done;
12692 '
12693
12694
12695
12696
12697
12698
12699   gtk_doc_requires="gtk-doc >= 1.0"
12700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12701 $as_echo_n "checking for gtk-doc... " >&6; }
12702   if test -n "$PKG_CONFIG" && \
12703     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12704   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12705   ac_status=$?
12706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12707   test $ac_status = 0; }; then
12708   have_gtk_doc=yes
12709 else
12710   have_gtk_doc=no
12711 fi
12712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12713 $as_echo "$have_gtk_doc" >&6; }
12714
12715   if test "$have_gtk_doc" = "no"; then
12716       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12717   You will not be able to create source packages with 'make dist'
12718   because $gtk_doc_requires is not found." >&5
12719 $as_echo "$as_me: WARNING:
12720   You will not be able to create source packages with 'make dist'
12721   because $gtk_doc_requires is not found." >&2;}
12722   fi
12723
12724             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12725 set dummy gtkdoc-check; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12729   $as_echo_n "(cached) " >&6
12730 else
12731   if test -n "$GTKDOC_CHECK"; then
12732   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12733 else
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12736 do
12737   IFS=$as_save_IFS
12738   test -z "$as_dir" && as_dir=.
12739     for ac_exec_ext in '' $ac_executable_extensions; do
12740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12741     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743     break 2
12744   fi
12745 done
12746   done
12747 IFS=$as_save_IFS
12748
12749 fi
12750 fi
12751 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12752 if test -n "$GTKDOC_CHECK"; then
12753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12754 $as_echo "$GTKDOC_CHECK" >&6; }
12755 else
12756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12758 fi
12759
12760
12761   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12762 set dummy gtkdoc-check; ac_word=$2
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12764 $as_echo_n "checking for $ac_word... " >&6; }
12765 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12766   $as_echo_n "(cached) " >&6
12767 else
12768   case $GTKDOC_CHECK_PATH in
12769   [\\/]* | ?:[\\/]*)
12770   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12771   ;;
12772   *)
12773   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12775 do
12776   IFS=$as_save_IFS
12777   test -z "$as_dir" && as_dir=.
12778     for ac_exec_ext in '' $ac_executable_extensions; do
12779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12782     break 2
12783   fi
12784 done
12785   done
12786 IFS=$as_save_IFS
12787
12788   ;;
12789 esac
12790 fi
12791 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12792 if test -n "$GTKDOC_CHECK_PATH"; then
12793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12794 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12795 else
12796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12797 $as_echo "no" >&6; }
12798 fi
12799
12800
12801   for ac_prog in gtkdoc-rebase
12802 do
12803   # Extract the first word of "$ac_prog", so it can be a program name with args.
12804 set dummy $ac_prog; ac_word=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12806 $as_echo_n "checking for $ac_word... " >&6; }
12807 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12808   $as_echo_n "(cached) " >&6
12809 else
12810   case $GTKDOC_REBASE in
12811   [\\/]* | ?:[\\/]*)
12812   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12813   ;;
12814   *)
12815   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12817 do
12818   IFS=$as_save_IFS
12819   test -z "$as_dir" && as_dir=.
12820     for ac_exec_ext in '' $ac_executable_extensions; do
12821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12822     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824     break 2
12825   fi
12826 done
12827   done
12828 IFS=$as_save_IFS
12829
12830   ;;
12831 esac
12832 fi
12833 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12834 if test -n "$GTKDOC_REBASE"; then
12835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12836 $as_echo "$GTKDOC_REBASE" >&6; }
12837 else
12838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12839 $as_echo "no" >&6; }
12840 fi
12841
12842
12843   test -n "$GTKDOC_REBASE" && break
12844 done
12845 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12846
12847   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12848 set dummy gtkdoc-mkpdf; ac_word=$2
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12850 $as_echo_n "checking for $ac_word... " >&6; }
12851 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12852   $as_echo_n "(cached) " >&6
12853 else
12854   case $GTKDOC_MKPDF in
12855   [\\/]* | ?:[\\/]*)
12856   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12857   ;;
12858   *)
12859   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12860 for as_dir in $PATH
12861 do
12862   IFS=$as_save_IFS
12863   test -z "$as_dir" && as_dir=.
12864     for ac_exec_ext in '' $ac_executable_extensions; do
12865   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12866     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12868     break 2
12869   fi
12870 done
12871   done
12872 IFS=$as_save_IFS
12873
12874   ;;
12875 esac
12876 fi
12877 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12878 if test -n "$GTKDOC_MKPDF"; then
12879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12880 $as_echo "$GTKDOC_MKPDF" >&6; }
12881 else
12882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12883 $as_echo "no" >&6; }
12884 fi
12885
12886
12887
12888
12889 # Check whether --with-html-dir was given.
12890 if test "${with_html_dir+set}" = set; then :
12891   withval=$with_html_dir;
12892 else
12893   with_html_dir='${datadir}/gtk-doc/html'
12894 fi
12895
12896   HTML_DIR="$with_html_dir"
12897
12898
12899     # Check whether --enable-gtk-doc was given.
12900 if test "${enable_gtk_doc+set}" = set; then :
12901   enableval=$enable_gtk_doc;
12902 else
12903   enable_gtk_doc=no
12904 fi
12905
12906
12907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12908 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12910 $as_echo "$enable_gtk_doc" >&6; }
12911
12912   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12913     as_fn_error $? "
12914   You must have $gtk_doc_requires installed to build documentation for
12915   $PACKAGE_NAME. Please install gtk-doc or disable building the
12916   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12917   fi
12918
12919     if test "x$PACKAGE_NAME" != "xglib"; then
12920
12921 pkg_failed=no
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12923 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12924
12925 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12926     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12927  elif test -n "$PKG_CONFIG"; then
12928     if test -n "$PKG_CONFIG" && \
12929     { { $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
12930   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12931   ac_status=$?
12932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12933   test $ac_status = 0; }; then
12934   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12935                       test "x$?" != "x0" && pkg_failed=yes
12936 else
12937   pkg_failed=yes
12938 fi
12939  else
12940     pkg_failed=untried
12941 fi
12942 if test -n "$GTKDOC_DEPS_LIBS"; then
12943     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12944  elif test -n "$PKG_CONFIG"; then
12945     if test -n "$PKG_CONFIG" && \
12946     { { $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
12947   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12948   ac_status=$?
12949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950   test $ac_status = 0; }; then
12951   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12952                       test "x$?" != "x0" && pkg_failed=yes
12953 else
12954   pkg_failed=yes
12955 fi
12956  else
12957     pkg_failed=untried
12958 fi
12959
12960
12961
12962 if test $pkg_failed = yes; then
12963         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12965
12966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12967         _pkg_short_errors_supported=yes
12968 else
12969         _pkg_short_errors_supported=no
12970 fi
12971         if test $_pkg_short_errors_supported = yes; then
12972                 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`
12973         else
12974                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12975         fi
12976         # Put the nasty error message in config.log where it belongs
12977         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12978
12979         :
12980 elif test $pkg_failed = untried; then
12981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12982 $as_echo "no" >&6; }
12983         :
12984 else
12985         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12986         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12987         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12988 $as_echo "yes" >&6; }
12989
12990 fi
12991   fi
12992
12993     # Check whether --enable-gtk-doc-html was given.
12994 if test "${enable_gtk_doc_html+set}" = set; then :
12995   enableval=$enable_gtk_doc_html;
12996 else
12997   enable_gtk_doc_html=yes
12998 fi
12999
13000     # Check whether --enable-gtk-doc-pdf was given.
13001 if test "${enable_gtk_doc_pdf+set}" = set; then :
13002   enableval=$enable_gtk_doc_pdf;
13003 else
13004   enable_gtk_doc_pdf=no
13005 fi
13006
13007
13008   if test -z "$GTKDOC_MKPDF"; then
13009     enable_gtk_doc_pdf=no
13010   fi
13011
13012   if test -z "$AM_DEFAULT_VERBOSITY"; then
13013     AM_DEFAULT_VERBOSITY=1
13014   fi
13015
13016
13017    if test x$have_gtk_doc = xyes; then
13018   HAVE_GTK_DOC_TRUE=
13019   HAVE_GTK_DOC_FALSE='#'
13020 else
13021   HAVE_GTK_DOC_TRUE='#'
13022   HAVE_GTK_DOC_FALSE=
13023 fi
13024
13025    if test x$enable_gtk_doc = xyes; then
13026   ENABLE_GTK_DOC_TRUE=
13027   ENABLE_GTK_DOC_FALSE='#'
13028 else
13029   ENABLE_GTK_DOC_TRUE='#'
13030   ENABLE_GTK_DOC_FALSE=
13031 fi
13032
13033    if test x$enable_gtk_doc_html = xyes; then
13034   GTK_DOC_BUILD_HTML_TRUE=
13035   GTK_DOC_BUILD_HTML_FALSE='#'
13036 else
13037   GTK_DOC_BUILD_HTML_TRUE='#'
13038   GTK_DOC_BUILD_HTML_FALSE=
13039 fi
13040
13041    if test x$enable_gtk_doc_pdf = xyes; then
13042   GTK_DOC_BUILD_PDF_TRUE=
13043   GTK_DOC_BUILD_PDF_FALSE='#'
13044 else
13045   GTK_DOC_BUILD_PDF_TRUE='#'
13046   GTK_DOC_BUILD_PDF_FALSE=
13047 fi
13048
13049    if test -n "$LIBTOOL"; then
13050   GTK_DOC_USE_LIBTOOL_TRUE=
13051   GTK_DOC_USE_LIBTOOL_FALSE='#'
13052 else
13053   GTK_DOC_USE_LIBTOOL_TRUE='#'
13054   GTK_DOC_USE_LIBTOOL_FALSE=
13055 fi
13056
13057    if test -n "$GTKDOC_REBASE"; then
13058   GTK_DOC_USE_REBASE_TRUE=
13059   GTK_DOC_USE_REBASE_FALSE='#'
13060 else
13061   GTK_DOC_USE_REBASE_TRUE='#'
13062   GTK_DOC_USE_REBASE_FALSE=
13063 fi
13064
13065
13066
13067
13068
13069   # Check whether --enable-schemas-compile was given.
13070 if test "${enable_schemas_compile+set}" = set; then :
13071   enableval=$enable_schemas_compile; case ${enableval} in
13072                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
13073                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
13074                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
13075                  esac
13076 fi
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13087         if test -n "$ac_tool_prefix"; then
13088   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13089 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13091 $as_echo_n "checking for $ac_word... " >&6; }
13092 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13093   $as_echo_n "(cached) " >&6
13094 else
13095   case $PKG_CONFIG in
13096   [\\/]* | ?:[\\/]*)
13097   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13098   ;;
13099   *)
13100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13101 for as_dir in $PATH
13102 do
13103   IFS=$as_save_IFS
13104   test -z "$as_dir" && as_dir=.
13105     for ac_exec_ext in '' $ac_executable_extensions; do
13106   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13107     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13109     break 2
13110   fi
13111 done
13112   done
13113 IFS=$as_save_IFS
13114
13115   ;;
13116 esac
13117 fi
13118 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13119 if test -n "$PKG_CONFIG"; then
13120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13121 $as_echo "$PKG_CONFIG" >&6; }
13122 else
13123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13124 $as_echo "no" >&6; }
13125 fi
13126
13127
13128 fi
13129 if test -z "$ac_cv_path_PKG_CONFIG"; then
13130   ac_pt_PKG_CONFIG=$PKG_CONFIG
13131   # Extract the first word of "pkg-config", so it can be a program name with args.
13132 set dummy pkg-config; ac_word=$2
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13134 $as_echo_n "checking for $ac_word... " >&6; }
13135 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13136   $as_echo_n "(cached) " >&6
13137 else
13138   case $ac_pt_PKG_CONFIG in
13139   [\\/]* | ?:[\\/]*)
13140   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13141   ;;
13142   *)
13143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13144 for as_dir in $PATH
13145 do
13146   IFS=$as_save_IFS
13147   test -z "$as_dir" && as_dir=.
13148     for ac_exec_ext in '' $ac_executable_extensions; do
13149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13150     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13152     break 2
13153   fi
13154 done
13155   done
13156 IFS=$as_save_IFS
13157
13158   ;;
13159 esac
13160 fi
13161 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13162 if test -n "$ac_pt_PKG_CONFIG"; then
13163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13164 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13165 else
13166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13168 fi
13169
13170   if test "x$ac_pt_PKG_CONFIG" = x; then
13171     PKG_CONFIG=""
13172   else
13173     case $cross_compiling:$ac_tool_warned in
13174 yes:)
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13177 ac_tool_warned=yes ;;
13178 esac
13179     PKG_CONFIG=$ac_pt_PKG_CONFIG
13180   fi
13181 else
13182   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13183 fi
13184
13185 fi
13186 if test -n "$PKG_CONFIG"; then
13187         _pkg_min_version=0.16
13188         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13189 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13190         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13191                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13192 $as_echo "yes" >&6; }
13193         else
13194                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13195 $as_echo "no" >&6; }
13196                 PKG_CONFIG=""
13197         fi
13198 fi
13199   gsettingsschemadir=${datadir}/glib-2.0/schemas
13200
13201   if test x$cross_compiling != xyes; then
13202     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
13203   else
13204     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
13205 set dummy glib-compile-schemas; ac_word=$2
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13207 $as_echo_n "checking for $ac_word... " >&6; }
13208 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
13209   $as_echo_n "(cached) " >&6
13210 else
13211   case $GLIB_COMPILE_SCHEMAS in
13212   [\\/]* | ?:[\\/]*)
13213   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
13214   ;;
13215   *)
13216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13217 for as_dir in $PATH
13218 do
13219   IFS=$as_save_IFS
13220   test -z "$as_dir" && as_dir=.
13221     for ac_exec_ext in '' $ac_executable_extensions; do
13222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13223     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13225     break 2
13226   fi
13227 done
13228   done
13229 IFS=$as_save_IFS
13230
13231   ;;
13232 esac
13233 fi
13234 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13235 if test -n "$GLIB_COMPILE_SCHEMAS"; then
13236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13237 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13238 else
13239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240 $as_echo "no" >&6; }
13241 fi
13242
13243
13244   fi
13245
13246   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13247     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13248   else
13249     :
13250   fi
13251
13252   GSETTINGS_RULES='
13253 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13254
13255 mostlyclean-am: clean-gsettings-schemas
13256
13257 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13258
13259 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13260         $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
13261
13262 all-am: $(gsettings_SCHEMAS:.xml=.valid)
13263 uninstall-am: uninstall-gsettings-schemas
13264 install-data-am: install-gsettings-schemas
13265
13266 .SECONDARY: $(gsettings_SCHEMAS)
13267
13268 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13269         @$(NORMAL_INSTALL)
13270         if test -n "$^"; then \
13271                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13272                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13273                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13274         fi
13275
13276 uninstall-gsettings-schemas:
13277         @$(NORMAL_UNINSTALL)
13278         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13279         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13280         test -n "$$files" || exit 0; \
13281         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13282         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13283         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13284
13285 clean-gsettings-schemas:
13286         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13287
13288 ifdef gsettings_ENUM_NAMESPACE
13289 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
13290         $(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 $@
13291 endif
13292 '
13293
13294
13295
13296
13297
13298
13299
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13301 $as_echo_n "checking for library containing strerror... " >&6; }
13302 if ${ac_cv_search_strerror+:} false; then :
13303   $as_echo_n "(cached) " >&6
13304 else
13305   ac_func_search_save_LIBS=$LIBS
13306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h.  */
13308
13309 /* Override any GCC internal prototype to avoid an error.
13310    Use char because int might match the return type of a GCC
13311    builtin and then its argument prototype would still apply.  */
13312 #ifdef __cplusplus
13313 extern "C"
13314 #endif
13315 char strerror ();
13316 int
13317 main ()
13318 {
13319 return strerror ();
13320   ;
13321   return 0;
13322 }
13323 _ACEOF
13324 for ac_lib in '' cposix; do
13325   if test -z "$ac_lib"; then
13326     ac_res="none required"
13327   else
13328     ac_res=-l$ac_lib
13329     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13330   fi
13331   if ac_fn_c_try_link "$LINENO"; then :
13332   ac_cv_search_strerror=$ac_res
13333 fi
13334 rm -f core conftest.err conftest.$ac_objext \
13335     conftest$ac_exeext
13336   if ${ac_cv_search_strerror+:} false; then :
13337   break
13338 fi
13339 done
13340 if ${ac_cv_search_strerror+:} false; then :
13341
13342 else
13343   ac_cv_search_strerror=no
13344 fi
13345 rm conftest.$ac_ext
13346 LIBS=$ac_func_search_save_LIBS
13347 fi
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13349 $as_echo "$ac_cv_search_strerror" >&6; }
13350 ac_res=$ac_cv_search_strerror
13351 if test "$ac_res" != no; then :
13352   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13353
13354 fi
13355
13356 ac_ext=c
13357 ac_cpp='$CPP $CPPFLAGS'
13358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13361 if test -n "$ac_tool_prefix"; then
13362   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13363 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13365 $as_echo_n "checking for $ac_word... " >&6; }
13366 if ${ac_cv_prog_CC+:} false; then :
13367   $as_echo_n "(cached) " >&6
13368 else
13369   if test -n "$CC"; then
13370   ac_cv_prog_CC="$CC" # Let the user override the test.
13371 else
13372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13373 for as_dir in $PATH
13374 do
13375   IFS=$as_save_IFS
13376   test -z "$as_dir" && as_dir=.
13377     for ac_exec_ext in '' $ac_executable_extensions; do
13378   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13379     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13381     break 2
13382   fi
13383 done
13384   done
13385 IFS=$as_save_IFS
13386
13387 fi
13388 fi
13389 CC=$ac_cv_prog_CC
13390 if test -n "$CC"; then
13391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13392 $as_echo "$CC" >&6; }
13393 else
13394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13395 $as_echo "no" >&6; }
13396 fi
13397
13398
13399 fi
13400 if test -z "$ac_cv_prog_CC"; then
13401   ac_ct_CC=$CC
13402   # Extract the first word of "gcc", so it can be a program name with args.
13403 set dummy gcc; ac_word=$2
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13405 $as_echo_n "checking for $ac_word... " >&6; }
13406 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13407   $as_echo_n "(cached) " >&6
13408 else
13409   if test -n "$ac_ct_CC"; then
13410   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13411 else
13412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13413 for as_dir in $PATH
13414 do
13415   IFS=$as_save_IFS
13416   test -z "$as_dir" && as_dir=.
13417     for ac_exec_ext in '' $ac_executable_extensions; do
13418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13419     ac_cv_prog_ac_ct_CC="gcc"
13420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13421     break 2
13422   fi
13423 done
13424   done
13425 IFS=$as_save_IFS
13426
13427 fi
13428 fi
13429 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13430 if test -n "$ac_ct_CC"; then
13431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13432 $as_echo "$ac_ct_CC" >&6; }
13433 else
13434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13435 $as_echo "no" >&6; }
13436 fi
13437
13438   if test "x$ac_ct_CC" = x; then
13439     CC=""
13440   else
13441     case $cross_compiling:$ac_tool_warned in
13442 yes:)
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13445 ac_tool_warned=yes ;;
13446 esac
13447     CC=$ac_ct_CC
13448   fi
13449 else
13450   CC="$ac_cv_prog_CC"
13451 fi
13452
13453 if test -z "$CC"; then
13454           if test -n "$ac_tool_prefix"; then
13455     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13456 set dummy ${ac_tool_prefix}cc; ac_word=$2
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13458 $as_echo_n "checking for $ac_word... " >&6; }
13459 if ${ac_cv_prog_CC+:} false; then :
13460   $as_echo_n "(cached) " >&6
13461 else
13462   if test -n "$CC"; then
13463   ac_cv_prog_CC="$CC" # Let the user override the test.
13464 else
13465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13466 for as_dir in $PATH
13467 do
13468   IFS=$as_save_IFS
13469   test -z "$as_dir" && as_dir=.
13470     for ac_exec_ext in '' $ac_executable_extensions; do
13471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13472     ac_cv_prog_CC="${ac_tool_prefix}cc"
13473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13474     break 2
13475   fi
13476 done
13477   done
13478 IFS=$as_save_IFS
13479
13480 fi
13481 fi
13482 CC=$ac_cv_prog_CC
13483 if test -n "$CC"; then
13484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13485 $as_echo "$CC" >&6; }
13486 else
13487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13488 $as_echo "no" >&6; }
13489 fi
13490
13491
13492   fi
13493 fi
13494 if test -z "$CC"; then
13495   # Extract the first word of "cc", so it can be a program name with args.
13496 set dummy cc; ac_word=$2
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13498 $as_echo_n "checking for $ac_word... " >&6; }
13499 if ${ac_cv_prog_CC+:} false; then :
13500   $as_echo_n "(cached) " >&6
13501 else
13502   if test -n "$CC"; then
13503   ac_cv_prog_CC="$CC" # Let the user override the test.
13504 else
13505   ac_prog_rejected=no
13506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13507 for as_dir in $PATH
13508 do
13509   IFS=$as_save_IFS
13510   test -z "$as_dir" && as_dir=.
13511     for ac_exec_ext in '' $ac_executable_extensions; do
13512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13513     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13514        ac_prog_rejected=yes
13515        continue
13516      fi
13517     ac_cv_prog_CC="cc"
13518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13519     break 2
13520   fi
13521 done
13522   done
13523 IFS=$as_save_IFS
13524
13525 if test $ac_prog_rejected = yes; then
13526   # We found a bogon in the path, so make sure we never use it.
13527   set dummy $ac_cv_prog_CC
13528   shift
13529   if test $# != 0; then
13530     # We chose a different compiler from the bogus one.
13531     # However, it has the same basename, so the bogon will be chosen
13532     # first if we set CC to just the basename; use the full file name.
13533     shift
13534     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13535   fi
13536 fi
13537 fi
13538 fi
13539 CC=$ac_cv_prog_CC
13540 if test -n "$CC"; then
13541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13542 $as_echo "$CC" >&6; }
13543 else
13544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13546 fi
13547
13548
13549 fi
13550 if test -z "$CC"; then
13551   if test -n "$ac_tool_prefix"; then
13552   for ac_prog in cl.exe
13553   do
13554     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13557 $as_echo_n "checking for $ac_word... " >&6; }
13558 if ${ac_cv_prog_CC+:} false; then :
13559   $as_echo_n "(cached) " >&6
13560 else
13561   if test -n "$CC"; then
13562   ac_cv_prog_CC="$CC" # Let the user override the test.
13563 else
13564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13565 for as_dir in $PATH
13566 do
13567   IFS=$as_save_IFS
13568   test -z "$as_dir" && as_dir=.
13569     for ac_exec_ext in '' $ac_executable_extensions; do
13570   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13571     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13573     break 2
13574   fi
13575 done
13576   done
13577 IFS=$as_save_IFS
13578
13579 fi
13580 fi
13581 CC=$ac_cv_prog_CC
13582 if test -n "$CC"; then
13583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13584 $as_echo "$CC" >&6; }
13585 else
13586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13587 $as_echo "no" >&6; }
13588 fi
13589
13590
13591     test -n "$CC" && break
13592   done
13593 fi
13594 if test -z "$CC"; then
13595   ac_ct_CC=$CC
13596   for ac_prog in cl.exe
13597 do
13598   # Extract the first word of "$ac_prog", so it can be a program name with args.
13599 set dummy $ac_prog; ac_word=$2
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13601 $as_echo_n "checking for $ac_word... " >&6; }
13602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13603   $as_echo_n "(cached) " >&6
13604 else
13605   if test -n "$ac_ct_CC"; then
13606   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13607 else
13608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13609 for as_dir in $PATH
13610 do
13611   IFS=$as_save_IFS
13612   test -z "$as_dir" && as_dir=.
13613     for ac_exec_ext in '' $ac_executable_extensions; do
13614   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13615     ac_cv_prog_ac_ct_CC="$ac_prog"
13616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13617     break 2
13618   fi
13619 done
13620   done
13621 IFS=$as_save_IFS
13622
13623 fi
13624 fi
13625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13626 if test -n "$ac_ct_CC"; then
13627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13628 $as_echo "$ac_ct_CC" >&6; }
13629 else
13630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13631 $as_echo "no" >&6; }
13632 fi
13633
13634
13635   test -n "$ac_ct_CC" && break
13636 done
13637
13638   if test "x$ac_ct_CC" = x; then
13639     CC=""
13640   else
13641     case $cross_compiling:$ac_tool_warned in
13642 yes:)
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13645 ac_tool_warned=yes ;;
13646 esac
13647     CC=$ac_ct_CC
13648   fi
13649 fi
13650
13651 fi
13652
13653
13654 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13656 as_fn_error $? "no acceptable C compiler found in \$PATH
13657 See \`config.log' for more details" "$LINENO" 5; }
13658
13659 # Provide some information about the compiler.
13660 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13661 set X $ac_compile
13662 ac_compiler=$2
13663 for ac_option in --version -v -V -qversion; do
13664   { { ac_try="$ac_compiler $ac_option >&5"
13665 case "(($ac_try" in
13666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13667   *) ac_try_echo=$ac_try;;
13668 esac
13669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13670 $as_echo "$ac_try_echo"; } >&5
13671   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13672   ac_status=$?
13673   if test -s conftest.err; then
13674     sed '10a\
13675 ... rest of stderr output deleted ...
13676          10q' conftest.err >conftest.er1
13677     cat conftest.er1 >&5
13678   fi
13679   rm -f conftest.er1 conftest.err
13680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13681   test $ac_status = 0; }
13682 done
13683
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13685 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13686 if ${ac_cv_c_compiler_gnu+:} false; then :
13687   $as_echo_n "(cached) " >&6
13688 else
13689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h.  */
13691
13692 int
13693 main ()
13694 {
13695 #ifndef __GNUC__
13696        choke me
13697 #endif
13698
13699   ;
13700   return 0;
13701 }
13702 _ACEOF
13703 if ac_fn_c_try_compile "$LINENO"; then :
13704   ac_compiler_gnu=yes
13705 else
13706   ac_compiler_gnu=no
13707 fi
13708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13710
13711 fi
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13713 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13714 if test $ac_compiler_gnu = yes; then
13715   GCC=yes
13716 else
13717   GCC=
13718 fi
13719 ac_test_CFLAGS=${CFLAGS+set}
13720 ac_save_CFLAGS=$CFLAGS
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13722 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13723 if ${ac_cv_prog_cc_g+:} false; then :
13724   $as_echo_n "(cached) " >&6
13725 else
13726   ac_save_c_werror_flag=$ac_c_werror_flag
13727    ac_c_werror_flag=yes
13728    ac_cv_prog_cc_g=no
13729    CFLAGS="-g"
13730    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h.  */
13732
13733 int
13734 main ()
13735 {
13736
13737   ;
13738   return 0;
13739 }
13740 _ACEOF
13741 if ac_fn_c_try_compile "$LINENO"; then :
13742   ac_cv_prog_cc_g=yes
13743 else
13744   CFLAGS=""
13745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h.  */
13747
13748 int
13749 main ()
13750 {
13751
13752   ;
13753   return 0;
13754 }
13755 _ACEOF
13756 if ac_fn_c_try_compile "$LINENO"; then :
13757
13758 else
13759   ac_c_werror_flag=$ac_save_c_werror_flag
13760          CFLAGS="-g"
13761          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h.  */
13763
13764 int
13765 main ()
13766 {
13767
13768   ;
13769   return 0;
13770 }
13771 _ACEOF
13772 if ac_fn_c_try_compile "$LINENO"; then :
13773   ac_cv_prog_cc_g=yes
13774 fi
13775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13776 fi
13777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13778 fi
13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13780    ac_c_werror_flag=$ac_save_c_werror_flag
13781 fi
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13783 $as_echo "$ac_cv_prog_cc_g" >&6; }
13784 if test "$ac_test_CFLAGS" = set; then
13785   CFLAGS=$ac_save_CFLAGS
13786 elif test $ac_cv_prog_cc_g = yes; then
13787   if test "$GCC" = yes; then
13788     CFLAGS="-g -O2"
13789   else
13790     CFLAGS="-g"
13791   fi
13792 else
13793   if test "$GCC" = yes; then
13794     CFLAGS="-O2"
13795   else
13796     CFLAGS=
13797   fi
13798 fi
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13800 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13801 if ${ac_cv_prog_cc_c89+:} false; then :
13802   $as_echo_n "(cached) " >&6
13803 else
13804   ac_cv_prog_cc_c89=no
13805 ac_save_CC=$CC
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h.  */
13808 #include <stdarg.h>
13809 #include <stdio.h>
13810 struct stat;
13811 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13812 struct buf { int x; };
13813 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13814 static char *e (p, i)
13815      char **p;
13816      int i;
13817 {
13818   return p[i];
13819 }
13820 static char *f (char * (*g) (char **, int), char **p, ...)
13821 {
13822   char *s;
13823   va_list v;
13824   va_start (v,p);
13825   s = g (p, va_arg (v,int));
13826   va_end (v);
13827   return s;
13828 }
13829
13830 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13831    function prototypes and stuff, but not '\xHH' hex character constants.
13832    These don't provoke an error unfortunately, instead are silently treated
13833    as 'x'.  The following induces an error, until -std is added to get
13834    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13835    array size at least.  It's necessary to write '\x00'==0 to get something
13836    that's true only with -std.  */
13837 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13838
13839 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13840    inside strings and character constants.  */
13841 #define FOO(x) 'x'
13842 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13843
13844 int test (int i, double x);
13845 struct s1 {int (*f) (int a);};
13846 struct s2 {int (*f) (double a);};
13847 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13848 int argc;
13849 char **argv;
13850 int
13851 main ()
13852 {
13853 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13854   ;
13855   return 0;
13856 }
13857 _ACEOF
13858 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13859         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13860 do
13861   CC="$ac_save_CC $ac_arg"
13862   if ac_fn_c_try_compile "$LINENO"; then :
13863   ac_cv_prog_cc_c89=$ac_arg
13864 fi
13865 rm -f core conftest.err conftest.$ac_objext
13866   test "x$ac_cv_prog_cc_c89" != "xno" && break
13867 done
13868 rm -f conftest.$ac_ext
13869 CC=$ac_save_CC
13870
13871 fi
13872 # AC_CACHE_VAL
13873 case "x$ac_cv_prog_cc_c89" in
13874   x)
13875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13876 $as_echo "none needed" >&6; } ;;
13877   xno)
13878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13879 $as_echo "unsupported" >&6; } ;;
13880   *)
13881     CC="$CC $ac_cv_prog_cc_c89"
13882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13883 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13884 esac
13885 if test "x$ac_cv_prog_cc_c89" != xno; then :
13886
13887 fi
13888
13889 ac_ext=c
13890 ac_cpp='$CPP $CPPFLAGS'
13891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13894
13895 ac_ext=c
13896 ac_cpp='$CPP $CPPFLAGS'
13897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13901 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13902 if ${am_cv_prog_cc_c_o+:} false; then :
13903   $as_echo_n "(cached) " >&6
13904 else
13905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h.  */
13907
13908 int
13909 main ()
13910 {
13911
13912   ;
13913   return 0;
13914 }
13915 _ACEOF
13916   # Make sure it works both with $CC and with simple cc.
13917   # Following AC_PROG_CC_C_O, we do the test twice because some
13918   # compilers refuse to overwrite an existing .o file with -o,
13919   # though they will create one.
13920   am_cv_prog_cc_c_o=yes
13921   for am_i in 1 2; do
13922     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13923    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13924    ac_status=$?
13925    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926    (exit $ac_status); } \
13927          && test -f conftest2.$ac_objext; then
13928       : OK
13929     else
13930       am_cv_prog_cc_c_o=no
13931       break
13932     fi
13933   done
13934   rm -f core conftest*
13935   unset am_i
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13938 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13939 if test "$am_cv_prog_cc_c_o" != yes; then
13940    # Losing compiler, so override with the script.
13941    # FIXME: It is wrong to rewrite CC.
13942    # But if we don't then we get into trouble of one sort or another.
13943    # A longer-term fix would be to have automake use am__CC in this case,
13944    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13945    CC="$am_aux_dir/compile $CC"
13946 fi
13947 ac_ext=c
13948 ac_cpp='$CPP $CPPFLAGS'
13949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13952
13953
13954 depcc="$CC"   am_compiler_list=
13955
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13957 $as_echo_n "checking dependency style of $depcc... " >&6; }
13958 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13959   $as_echo_n "(cached) " >&6
13960 else
13961   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13962   # We make a subdir and do the tests there.  Otherwise we can end up
13963   # making bogus files that we don't know about and never remove.  For
13964   # instance it was reported that on HP-UX the gcc test will end up
13965   # making a dummy file named 'D' -- because '-MD' means "put the output
13966   # in D".
13967   rm -rf conftest.dir
13968   mkdir conftest.dir
13969   # Copy depcomp to subdir because otherwise we won't find it if we're
13970   # using a relative directory.
13971   cp "$am_depcomp" conftest.dir
13972   cd conftest.dir
13973   # We will build objects and dependencies in a subdirectory because
13974   # it helps to detect inapplicable dependency modes.  For instance
13975   # both Tru64's cc and ICC support -MD to output dependencies as a
13976   # side effect of compilation, but ICC will put the dependencies in
13977   # the current directory while Tru64 will put them in the object
13978   # directory.
13979   mkdir sub
13980
13981   am_cv_CC_dependencies_compiler_type=none
13982   if test "$am_compiler_list" = ""; then
13983      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13984   fi
13985   am__universal=false
13986   case " $depcc " in #(
13987      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13988      esac
13989
13990   for depmode in $am_compiler_list; do
13991     # Setup a source with many dependencies, because some compilers
13992     # like to wrap large dependency lists on column 80 (with \), and
13993     # we should not choose a depcomp mode which is confused by this.
13994     #
13995     # We need to recreate these files for each test, as the compiler may
13996     # overwrite some of them when testing with obscure command lines.
13997     # This happens at least with the AIX C compiler.
13998     : > sub/conftest.c
13999     for i in 1 2 3 4 5 6; do
14000       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14001       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14002       # Solaris 10 /bin/sh.
14003       echo '/* dummy */' > sub/conftst$i.h
14004     done
14005     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14006
14007     # We check with '-c' and '-o' for the sake of the "dashmstdout"
14008     # mode.  It turns out that the SunPro C++ compiler does not properly
14009     # handle '-M -o', and we need to detect this.  Also, some Intel
14010     # versions had trouble with output in subdirs.
14011     am__obj=sub/conftest.${OBJEXT-o}
14012     am__minus_obj="-o $am__obj"
14013     case $depmode in
14014     gcc)
14015       # This depmode causes a compiler race in universal mode.
14016       test "$am__universal" = false || continue
14017       ;;
14018     nosideeffect)
14019       # After this tag, mechanisms are not by side-effect, so they'll
14020       # only be used when explicitly requested.
14021       if test "x$enable_dependency_tracking" = xyes; then
14022         continue
14023       else
14024         break
14025       fi
14026       ;;
14027     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14028       # This compiler won't grok '-c -o', but also, the minuso test has
14029       # not run yet.  These depmodes are late enough in the game, and
14030       # so weak that their functioning should not be impacted.
14031       am__obj=conftest.${OBJEXT-o}
14032       am__minus_obj=
14033       ;;
14034     none) break ;;
14035     esac
14036     if depmode=$depmode \
14037        source=sub/conftest.c object=$am__obj \
14038        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14039        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14040          >/dev/null 2>conftest.err &&
14041        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14042        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14043        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14044        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14045       # icc doesn't choke on unknown options, it will just issue warnings
14046       # or remarks (even with -Werror).  So we grep stderr for any message
14047       # that says an option was ignored or not supported.
14048       # When given -MP, icc 7.0 and 7.1 complain thusly:
14049       #   icc: Command line warning: ignoring option '-M'; no argument required
14050       # The diagnosis changed in icc 8.0:
14051       #   icc: Command line remark: option '-MP' not supported
14052       if (grep 'ignoring option' conftest.err ||
14053           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14054         am_cv_CC_dependencies_compiler_type=$depmode
14055         break
14056       fi
14057     fi
14058   done
14059
14060   cd ..
14061   rm -rf conftest.dir
14062 else
14063   am_cv_CC_dependencies_compiler_type=none
14064 fi
14065
14066 fi
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14068 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14069 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14070
14071  if
14072   test "x$enable_dependency_tracking" != xno \
14073   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14074   am__fastdepCC_TRUE=
14075   am__fastdepCC_FALSE='#'
14076 else
14077   am__fastdepCC_TRUE='#'
14078   am__fastdepCC_FALSE=
14079 fi
14080
14081
14082
14083
14084
14085
14086     # Check whether --enable-compile-warnings was given.
14087 if test "${enable_compile_warnings+set}" = set; then :
14088   enableval=$enable_compile_warnings;
14089 else
14090   enable_compile_warnings="yes"
14091 fi
14092
14093
14094     if test "x$GCC" != xyes; then
14095         enable_compile_warnings=no
14096     fi
14097
14098     warning_flags=
14099     realsave_CFLAGS="$CFLAGS"
14100
14101             base_warn_flags=" \
14102         -Wall \
14103         -Wstrict-prototypes \
14104         -Wnested-externs \
14105     "
14106
14107                     base_error_flags=" \
14108         -Werror=missing-prototypes \
14109         -Werror=implicit-function-declaration \
14110         -Werror=pointer-arith \
14111         -Werror=init-self \
14112         -Werror=format-security \
14113         -Werror=format=2 \
14114         -Werror=missing-include-dirs \
14115     "
14116
14117                 additional_flags=""
14118
14119     case "$enable_compile_warnings" in
14120     no)
14121         warning_flags=
14122         ;;
14123     minimum)
14124         warning_flags="-Wall"
14125         ;;
14126     yes)
14127         warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14128         ;;
14129     maximum|error)
14130         warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14131         ;;
14132     *)
14133         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
14134         ;;
14135     esac
14136
14137     if test "$enable_compile_warnings" = "error" ; then
14138         warning_flags="$warning_flags -Werror"
14139     fi
14140
14141         for option in $warning_flags; do
14142         save_CFLAGS="$CFLAGS"
14143         CFLAGS="$CFLAGS $option"
14144         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14145 $as_echo_n "checking whether gcc understands $option... " >&6; }
14146         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h.  */
14148
14149 int
14150 main ()
14151 {
14152
14153   ;
14154   return 0;
14155 }
14156 _ACEOF
14157 if ac_fn_c_try_compile "$LINENO"; then :
14158   has_option=yes
14159 else
14160   has_option=no
14161 fi
14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14163         CFLAGS="$save_CFLAGS"
14164         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14165 $as_echo "$has_option" >&6; }
14166         if test $has_option = yes; then
14167             tested_warning_flags="$tested_warning_flags $option"
14168         fi
14169         unset has_option
14170         unset save_CFLAGS
14171     done
14172     unset option
14173     CFLAGS="$realsave_CFLAGS"
14174     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
14175 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5
14177 $as_echo "$tested_warning_flags" >&6; }
14178
14179     # Check whether --enable-iso-c was given.
14180 if test "${enable_iso_c+set}" = set; then :
14181   enableval=$enable_iso_c;
14182 else
14183   enable_iso_c=no
14184 fi
14185
14186
14187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
14188 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14189     complCFLAGS=
14190     if test "x$enable_iso_c" != "xno"; then
14191         if test "x$GCC" = "xyes"; then
14192         case " $CFLAGS " in
14193             *\ \        -ansi\ \        *) ;;
14194             *) complCFLAGS="$complCFLAGS -ansi" ;;
14195         esac
14196         case " $CFLAGS " in
14197             *\ \        -pedantic\ \    *) ;;
14198             *) complCFLAGS="$complCFLAGS -pedantic" ;;
14199         esac
14200         fi
14201     fi
14202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
14203 $as_echo "$complCFLAGS" >&6; }
14204
14205     WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
14206
14207
14208
14209 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
14210 set dummy glib-genmarshal; ac_word=$2
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14212 $as_echo_n "checking for $ac_word... " >&6; }
14213 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
14214   $as_echo_n "(cached) " >&6
14215 else
14216   case $GLIB_GENMARSHAL in
14217   [\\/]* | ?:[\\/]*)
14218   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14219   ;;
14220   *)
14221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14223 do
14224   IFS=$as_save_IFS
14225   test -z "$as_dir" && as_dir=.
14226     for ac_exec_ext in '' $ac_executable_extensions; do
14227   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14228     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14230     break 2
14231   fi
14232 done
14233   done
14234 IFS=$as_save_IFS
14235
14236   ;;
14237 esac
14238 fi
14239 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14240 if test -n "$GLIB_GENMARSHAL"; then
14241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
14242 $as_echo "$GLIB_GENMARSHAL" >&6; }
14243 else
14244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245 $as_echo "no" >&6; }
14246 fi
14247
14248
14249 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
14250 set dummy gdk-pixbuf-csource; ac_word=$2
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14252 $as_echo_n "checking for $ac_word... " >&6; }
14253 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
14254   $as_echo_n "(cached) " >&6
14255 else
14256   case $GDK_PIXBUF_CSOURCE in
14257   [\\/]* | ?:[\\/]*)
14258   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
14259   ;;
14260   *)
14261   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14263 do
14264   IFS=$as_save_IFS
14265   test -z "$as_dir" && as_dir=.
14266     for ac_exec_ext in '' $ac_executable_extensions; do
14267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
14269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14270     break 2
14271   fi
14272 done
14273   done
14274 IFS=$as_save_IFS
14275
14276   ;;
14277 esac
14278 fi
14279 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
14280 if test -n "$GDK_PIXBUF_CSOURCE"; then
14281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
14282 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
14283 else
14284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14285 $as_echo "no" >&6; }
14286 fi
14287
14288
14289 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
14290 set dummy gtk-update-icon-cache; ac_word=$2
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14292 $as_echo_n "checking for $ac_word... " >&6; }
14293 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
14294   $as_echo_n "(cached) " >&6
14295 else
14296   case $GTK_UPDATE_ICON_CACHE in
14297   [\\/]* | ?:[\\/]*)
14298   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
14299   ;;
14300   *)
14301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14302 for as_dir in $PATH
14303 do
14304   IFS=$as_save_IFS
14305   test -z "$as_dir" && as_dir=.
14306     for ac_exec_ext in '' $ac_executable_extensions; do
14307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14308     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14310     break 2
14311   fi
14312 done
14313   done
14314 IFS=$as_save_IFS
14315
14316   ;;
14317 esac
14318 fi
14319 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
14320 if test -n "$GTK_UPDATE_ICON_CACHE"; then
14321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
14322 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
14323 else
14324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14326 fi
14327
14328
14329
14330
14331 GLABELS_BRANCH=glabels-3.0
14332
14333
14334 LIBGLABELS_BRANCH=libglabels-3.0
14335
14336
14337 LIBGLBARCODE_BRANCH=libglbarcode-3.0
14338
14339
14340 LIBGLABELS_C=8
14341 LIBGLABELS_R=0
14342 LIBGLABELS_A=0
14343
14344 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14345
14346
14347 LIBGLBARCODE_C=0
14348 LIBGLBARCODE_R=0
14349 LIBGLBARCODE_A=0
14350
14351 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
14352
14353
14354 GLIB_REQUIRED=2.28.2
14355 GTK_REQUIRED=3.0.9
14356 LIBXML_REQUIRED=2.7.8
14357 LIBRSVG_REQUIRED=2.32.0
14358 CAIRO_REQUIRED=1.10.0
14359 PANGO_REQUIRED=1.28.1
14360
14361 LIBEBOOK_REQUIRED=2.30.3
14362 LIBBARCODE_REQUIRED=0.98
14363 LIBQRENCODE_REQUIRED=3.1.0
14364 LIBIEC16022_REQUIRED=0.2.4
14365 LIBZINT_REQUIRED=2.4.0
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381 pkg_failed=no
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
14383 $as_echo_n "checking for GLABELS... " >&6; }
14384
14385 if test -n "$GLABELS_CFLAGS"; then
14386     pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14387  elif test -n "$PKG_CONFIG"; then
14388     if test -n "$PKG_CONFIG" && \
14389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14390         glib-2.0 >= \$GLIB_REQUIRED \\
14391         gtk+-3.0 >= \$GTK_REQUIRED \\
14392         libxml-2.0 >= \$LIBXML_REQUIRED \\
14393         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14394 \""; } >&5
14395   ($PKG_CONFIG --exists --print-errors "\
14396         glib-2.0 >= $GLIB_REQUIRED \
14397         gtk+-3.0 >= $GTK_REQUIRED \
14398         libxml-2.0 >= $LIBXML_REQUIRED \
14399         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14400 ") 2>&5
14401   ac_status=$?
14402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14403   test $ac_status = 0; }; then
14404   pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14405         glib-2.0 >= $GLIB_REQUIRED \
14406         gtk+-3.0 >= $GTK_REQUIRED \
14407         libxml-2.0 >= $LIBXML_REQUIRED \
14408         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14409 " 2>/dev/null`
14410                       test "x$?" != "x0" && pkg_failed=yes
14411 else
14412   pkg_failed=yes
14413 fi
14414  else
14415     pkg_failed=untried
14416 fi
14417 if test -n "$GLABELS_LIBS"; then
14418     pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14419  elif test -n "$PKG_CONFIG"; then
14420     if test -n "$PKG_CONFIG" && \
14421     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14422         glib-2.0 >= \$GLIB_REQUIRED \\
14423         gtk+-3.0 >= \$GTK_REQUIRED \\
14424         libxml-2.0 >= \$LIBXML_REQUIRED \\
14425         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14426 \""; } >&5
14427   ($PKG_CONFIG --exists --print-errors "\
14428         glib-2.0 >= $GLIB_REQUIRED \
14429         gtk+-3.0 >= $GTK_REQUIRED \
14430         libxml-2.0 >= $LIBXML_REQUIRED \
14431         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14432 ") 2>&5
14433   ac_status=$?
14434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14435   test $ac_status = 0; }; then
14436   pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14437         glib-2.0 >= $GLIB_REQUIRED \
14438         gtk+-3.0 >= $GTK_REQUIRED \
14439         libxml-2.0 >= $LIBXML_REQUIRED \
14440         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14441 " 2>/dev/null`
14442                       test "x$?" != "x0" && pkg_failed=yes
14443 else
14444   pkg_failed=yes
14445 fi
14446  else
14447     pkg_failed=untried
14448 fi
14449
14450
14451
14452 if test $pkg_failed = yes; then
14453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14455
14456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14457         _pkg_short_errors_supported=yes
14458 else
14459         _pkg_short_errors_supported=no
14460 fi
14461         if test $_pkg_short_errors_supported = yes; then
14462                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14463         glib-2.0 >= $GLIB_REQUIRED \
14464         gtk+-3.0 >= $GTK_REQUIRED \
14465         libxml-2.0 >= $LIBXML_REQUIRED \
14466         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14467 " 2>&1`
14468         else
14469                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14470         glib-2.0 >= $GLIB_REQUIRED \
14471         gtk+-3.0 >= $GTK_REQUIRED \
14472         libxml-2.0 >= $LIBXML_REQUIRED \
14473         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14474 " 2>&1`
14475         fi
14476         # Put the nasty error message in config.log where it belongs
14477         echo "$GLABELS_PKG_ERRORS" >&5
14478
14479         as_fn_error $? "Package requirements (\
14480         glib-2.0 >= $GLIB_REQUIRED \
14481         gtk+-3.0 >= $GTK_REQUIRED \
14482         libxml-2.0 >= $LIBXML_REQUIRED \
14483         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14484 ) were not met:
14485
14486 $GLABELS_PKG_ERRORS
14487
14488 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14489 installed software in a non-standard prefix.
14490
14491 Alternatively, you may set the environment variables GLABELS_CFLAGS
14492 and GLABELS_LIBS to avoid the need to call pkg-config.
14493 See the pkg-config man page for more details." "$LINENO" 5
14494 elif test $pkg_failed = untried; then
14495         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14496 $as_echo "no" >&6; }
14497         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14499 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14500 is in your PATH or set the PKG_CONFIG environment variable to the full
14501 path to pkg-config.
14502
14503 Alternatively, you may set the environment variables GLABELS_CFLAGS
14504 and GLABELS_LIBS to avoid the need to call pkg-config.
14505 See the pkg-config man page for more details.
14506
14507 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14508 See \`config.log' for more details" "$LINENO" 5; }
14509 else
14510         GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14511         GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14512         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14513 $as_echo "yes" >&6; }
14514
14515 fi
14516
14517
14518
14519
14520
14521
14522 pkg_failed=no
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14524 $as_echo_n "checking for LIBGLABELS... " >&6; }
14525
14526 if test -n "$LIBGLABELS_CFLAGS"; then
14527     pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14528  elif test -n "$PKG_CONFIG"; then
14529     if test -n "$PKG_CONFIG" && \
14530     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14531         glib-2.0 >= \$GLIB_REQUIRED \\
14532         gobject-2.0 >= \$GLIB_REQUIRED \\
14533         libxml-2.0 >= \$LIBXML_REQUIRED \\
14534 \""; } >&5
14535   ($PKG_CONFIG --exists --print-errors "\
14536         glib-2.0 >= $GLIB_REQUIRED \
14537         gobject-2.0 >= $GLIB_REQUIRED \
14538         libxml-2.0 >= $LIBXML_REQUIRED \
14539 ") 2>&5
14540   ac_status=$?
14541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542   test $ac_status = 0; }; then
14543   pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14544         glib-2.0 >= $GLIB_REQUIRED \
14545         gobject-2.0 >= $GLIB_REQUIRED \
14546         libxml-2.0 >= $LIBXML_REQUIRED \
14547 " 2>/dev/null`
14548                       test "x$?" != "x0" && pkg_failed=yes
14549 else
14550   pkg_failed=yes
14551 fi
14552  else
14553     pkg_failed=untried
14554 fi
14555 if test -n "$LIBGLABELS_LIBS"; then
14556     pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14557  elif test -n "$PKG_CONFIG"; then
14558     if test -n "$PKG_CONFIG" && \
14559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14560         glib-2.0 >= \$GLIB_REQUIRED \\
14561         gobject-2.0 >= \$GLIB_REQUIRED \\
14562         libxml-2.0 >= \$LIBXML_REQUIRED \\
14563 \""; } >&5
14564   ($PKG_CONFIG --exists --print-errors "\
14565         glib-2.0 >= $GLIB_REQUIRED \
14566         gobject-2.0 >= $GLIB_REQUIRED \
14567         libxml-2.0 >= $LIBXML_REQUIRED \
14568 ") 2>&5
14569   ac_status=$?
14570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14571   test $ac_status = 0; }; then
14572   pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14573         glib-2.0 >= $GLIB_REQUIRED \
14574         gobject-2.0 >= $GLIB_REQUIRED \
14575         libxml-2.0 >= $LIBXML_REQUIRED \
14576 " 2>/dev/null`
14577                       test "x$?" != "x0" && pkg_failed=yes
14578 else
14579   pkg_failed=yes
14580 fi
14581  else
14582     pkg_failed=untried
14583 fi
14584
14585
14586
14587 if test $pkg_failed = yes; then
14588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14589 $as_echo "no" >&6; }
14590
14591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14592         _pkg_short_errors_supported=yes
14593 else
14594         _pkg_short_errors_supported=no
14595 fi
14596         if test $_pkg_short_errors_supported = yes; then
14597                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14598         glib-2.0 >= $GLIB_REQUIRED \
14599         gobject-2.0 >= $GLIB_REQUIRED \
14600         libxml-2.0 >= $LIBXML_REQUIRED \
14601 " 2>&1`
14602         else
14603                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14604         glib-2.0 >= $GLIB_REQUIRED \
14605         gobject-2.0 >= $GLIB_REQUIRED \
14606         libxml-2.0 >= $LIBXML_REQUIRED \
14607 " 2>&1`
14608         fi
14609         # Put the nasty error message in config.log where it belongs
14610         echo "$LIBGLABELS_PKG_ERRORS" >&5
14611
14612         as_fn_error $? "Package requirements (\
14613         glib-2.0 >= $GLIB_REQUIRED \
14614         gobject-2.0 >= $GLIB_REQUIRED \
14615         libxml-2.0 >= $LIBXML_REQUIRED \
14616 ) were not met:
14617
14618 $LIBGLABELS_PKG_ERRORS
14619
14620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14621 installed software in a non-standard prefix.
14622
14623 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14624 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14625 See the pkg-config man page for more details." "$LINENO" 5
14626 elif test $pkg_failed = untried; then
14627         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14628 $as_echo "no" >&6; }
14629         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14631 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14632 is in your PATH or set the PKG_CONFIG environment variable to the full
14633 path to pkg-config.
14634
14635 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14636 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14637 See the pkg-config man page for more details.
14638
14639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14640 See \`config.log' for more details" "$LINENO" 5; }
14641 else
14642         LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14643         LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14644         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14645 $as_echo "yes" >&6; }
14646
14647 fi
14648
14649
14650
14651
14652
14653
14654 pkg_failed=no
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14656 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14657
14658 if test -n "$LIBGLBARCODE_CFLAGS"; then
14659     pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14660  elif test -n "$PKG_CONFIG"; then
14661     if test -n "$PKG_CONFIG" && \
14662     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14663         glib-2.0 >= \$GLIB_REQUIRED \\
14664         cairo >= \$CAIRO_REQUIRED \\
14665         pango >= \$PANGO_REQUIRED \\
14666         pangocairo >= \$PANGO_REQUIRED \\
14667 \""; } >&5
14668   ($PKG_CONFIG --exists --print-errors "\
14669         glib-2.0 >= $GLIB_REQUIRED \
14670         cairo >= $CAIRO_REQUIRED \
14671         pango >= $PANGO_REQUIRED \
14672         pangocairo >= $PANGO_REQUIRED \
14673 ") 2>&5
14674   ac_status=$?
14675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14676   test $ac_status = 0; }; then
14677   pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14678         glib-2.0 >= $GLIB_REQUIRED \
14679         cairo >= $CAIRO_REQUIRED \
14680         pango >= $PANGO_REQUIRED \
14681         pangocairo >= $PANGO_REQUIRED \
14682 " 2>/dev/null`
14683                       test "x$?" != "x0" && pkg_failed=yes
14684 else
14685   pkg_failed=yes
14686 fi
14687  else
14688     pkg_failed=untried
14689 fi
14690 if test -n "$LIBGLBARCODE_LIBS"; then
14691     pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14692  elif test -n "$PKG_CONFIG"; then
14693     if test -n "$PKG_CONFIG" && \
14694     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14695         glib-2.0 >= \$GLIB_REQUIRED \\
14696         cairo >= \$CAIRO_REQUIRED \\
14697         pango >= \$PANGO_REQUIRED \\
14698         pangocairo >= \$PANGO_REQUIRED \\
14699 \""; } >&5
14700   ($PKG_CONFIG --exists --print-errors "\
14701         glib-2.0 >= $GLIB_REQUIRED \
14702         cairo >= $CAIRO_REQUIRED \
14703         pango >= $PANGO_REQUIRED \
14704         pangocairo >= $PANGO_REQUIRED \
14705 ") 2>&5
14706   ac_status=$?
14707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14708   test $ac_status = 0; }; then
14709   pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14710         glib-2.0 >= $GLIB_REQUIRED \
14711         cairo >= $CAIRO_REQUIRED \
14712         pango >= $PANGO_REQUIRED \
14713         pangocairo >= $PANGO_REQUIRED \
14714 " 2>/dev/null`
14715                       test "x$?" != "x0" && pkg_failed=yes
14716 else
14717   pkg_failed=yes
14718 fi
14719  else
14720     pkg_failed=untried
14721 fi
14722
14723
14724
14725 if test $pkg_failed = yes; then
14726         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14727 $as_echo "no" >&6; }
14728
14729 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14730         _pkg_short_errors_supported=yes
14731 else
14732         _pkg_short_errors_supported=no
14733 fi
14734         if test $_pkg_short_errors_supported = yes; then
14735                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14736         glib-2.0 >= $GLIB_REQUIRED \
14737         cairo >= $CAIRO_REQUIRED \
14738         pango >= $PANGO_REQUIRED \
14739         pangocairo >= $PANGO_REQUIRED \
14740 " 2>&1`
14741         else
14742                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14743         glib-2.0 >= $GLIB_REQUIRED \
14744         cairo >= $CAIRO_REQUIRED \
14745         pango >= $PANGO_REQUIRED \
14746         pangocairo >= $PANGO_REQUIRED \
14747 " 2>&1`
14748         fi
14749         # Put the nasty error message in config.log where it belongs
14750         echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14751
14752         as_fn_error $? "Package requirements (\
14753         glib-2.0 >= $GLIB_REQUIRED \
14754         cairo >= $CAIRO_REQUIRED \
14755         pango >= $PANGO_REQUIRED \
14756         pangocairo >= $PANGO_REQUIRED \
14757 ) were not met:
14758
14759 $LIBGLBARCODE_PKG_ERRORS
14760
14761 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14762 installed software in a non-standard prefix.
14763
14764 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14765 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14766 See the pkg-config man page for more details." "$LINENO" 5
14767 elif test $pkg_failed = untried; then
14768         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14769 $as_echo "no" >&6; }
14770         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14772 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14773 is in your PATH or set the PKG_CONFIG environment variable to the full
14774 path to pkg-config.
14775
14776 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14777 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14778 See the pkg-config man page for more details.
14779
14780 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14781 See \`config.log' for more details" "$LINENO" 5; }
14782 else
14783         LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14784         LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14785         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14786 $as_echo "yes" >&6; }
14787
14788 fi
14789
14790
14791
14792
14793
14794
14795 # Check whether --with-libebook was given.
14796 if test "${with_libebook+set}" = set; then :
14797   withval=$with_libebook;
14798 fi
14799
14800 have_libebook=no
14801 if test "x$with_libebook" != xno; then
14802
14803 pkg_failed=no
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14805 $as_echo_n "checking for LIBEBOOK... " >&6; }
14806
14807 if test -n "$LIBEBOOK_CFLAGS"; then
14808     pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14809  elif test -n "$PKG_CONFIG"; then
14810     if test -n "$PKG_CONFIG" && \
14811     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14812   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14813   ac_status=$?
14814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14815   test $ac_status = 0; }; then
14816   pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14817                       test "x$?" != "x0" && pkg_failed=yes
14818 else
14819   pkg_failed=yes
14820 fi
14821  else
14822     pkg_failed=untried
14823 fi
14824 if test -n "$LIBEBOOK_LIBS"; then
14825     pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14826  elif test -n "$PKG_CONFIG"; then
14827     if test -n "$PKG_CONFIG" && \
14828     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14829   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14830   ac_status=$?
14831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832   test $ac_status = 0; }; then
14833   pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14834                       test "x$?" != "x0" && pkg_failed=yes
14835 else
14836   pkg_failed=yes
14837 fi
14838  else
14839     pkg_failed=untried
14840 fi
14841
14842
14843
14844 if test $pkg_failed = yes; then
14845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14846 $as_echo "no" >&6; }
14847
14848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14849         _pkg_short_errors_supported=yes
14850 else
14851         _pkg_short_errors_supported=no
14852 fi
14853         if test $_pkg_short_errors_supported = yes; then
14854                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14855         else
14856                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14857         fi
14858         # Put the nasty error message in config.log where it belongs
14859         echo "$LIBEBOOK_PKG_ERRORS" >&5
14860
14861         have_libebook=no
14862 elif test $pkg_failed = untried; then
14863         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14864 $as_echo "no" >&6; }
14865         have_libebook=no
14866 else
14867         LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14868         LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14869         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14870 $as_echo "yes" >&6; }
14871         have_libebook=yes
14872 fi
14873 fi
14874
14875 if test "x$have_libebook" = "xyes"; then
14876
14877 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14878
14879
14880
14881 fi
14882
14883
14884
14885 # Check whether --with-libbarcode was given.
14886 if test "${with_libbarcode+set}" = set; then :
14887   withval=$with_libbarcode;
14888 fi
14889
14890 have_libbarcode=no
14891 if test "x$with_libbarcode" != xno; then
14892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14893 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14894 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14895   $as_echo_n "(cached) " >&6
14896 else
14897   ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-lbarcode  $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h.  */
14901
14902 /* Override any GCC internal prototype to avoid an error.
14903    Use char because int might match the return type of a GCC
14904    builtin and then its argument prototype would still apply.  */
14905 #ifdef __cplusplus
14906 extern "C"
14907 #endif
14908 char Barcode_Create ();
14909 int
14910 main ()
14911 {
14912 return Barcode_Create ();
14913   ;
14914   return 0;
14915 }
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"; then :
14918   ac_cv_lib_barcode_Barcode_Create=yes
14919 else
14920   ac_cv_lib_barcode_Barcode_Create=no
14921 fi
14922 rm -f core conftest.err conftest.$ac_objext \
14923     conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14925 fi
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14927 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14928 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14929   have_libbarcode=yes
14930 else
14931   have_libbarcode=no
14932 fi
14933
14934 fi
14935
14936 if test "x$have_libbarcode" = "xyes"; then
14937
14938 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14939
14940         LIBBARCODE_CFLAGS=""
14941         LIBBARCODE_LIBS="-lbarcode"
14942
14943
14944 else
14945         help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14946 fi
14947
14948
14949 # Check whether --with-libzint was given.
14950 if test "${with_libzint+set}" = set; then :
14951   withval=$with_libzint;
14952 fi
14953
14954 have_libzint=no
14955 if test "x$with_libzint" != xno; then
14956    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14957 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14958 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14959   $as_echo_n "(cached) " >&6
14960 else
14961   ac_check_lib_save_LIBS=$LIBS
14962 LIBS="-lzint  $LIBS"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h.  */
14965
14966 /* Override any GCC internal prototype to avoid an error.
14967    Use char because int might match the return type of a GCC
14968    builtin and then its argument prototype would still apply.  */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 char ZBarcode_Render ();
14973 int
14974 main ()
14975 {
14976 return ZBarcode_Render ();
14977   ;
14978   return 0;
14979 }
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982   ac_cv_lib_zint_ZBarcode_Render=yes
14983 else
14984   ac_cv_lib_zint_ZBarcode_Render=no
14985 fi
14986 rm -f core conftest.err conftest.$ac_objext \
14987     conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_lib_save_LIBS
14989 fi
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14991 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14992 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14993   have_libzint=yes
14994 else
14995   have_libzint=no
14996 fi
14997
14998 fi
14999
15000 if test "x$have_libzint" = "xyes"; then
15001
15002 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
15003
15004         LIBZINT_CFLAGS=""
15005         LIBZINT_LIBS="-lzint"
15006
15007
15008 else
15009         help_libzint="(See http://www.zint.org.uk)"
15010 fi
15011
15012
15013
15014 # Check whether --with-libqrencode was given.
15015 if test "${with_libqrencode+set}" = set; then :
15016   withval=$with_libqrencode;
15017 fi
15018
15019 have_libqrencode=no
15020 if test "x$with_libqrencode" != xno; then
15021
15022 pkg_failed=no
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
15024 $as_echo_n "checking for LIBQRENCODE... " >&6; }
15025
15026 if test -n "$LIBQRENCODE_CFLAGS"; then
15027     pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
15028  elif test -n "$PKG_CONFIG"; then
15029     if test -n "$PKG_CONFIG" && \
15030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15031   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15032   ac_status=$?
15033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15034   test $ac_status = 0; }; then
15035   pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15036                       test "x$?" != "x0" && pkg_failed=yes
15037 else
15038   pkg_failed=yes
15039 fi
15040  else
15041     pkg_failed=untried
15042 fi
15043 if test -n "$LIBQRENCODE_LIBS"; then
15044     pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
15045  elif test -n "$PKG_CONFIG"; then
15046     if test -n "$PKG_CONFIG" && \
15047     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15048   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15049   ac_status=$?
15050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051   test $ac_status = 0; }; then
15052   pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15053                       test "x$?" != "x0" && pkg_failed=yes
15054 else
15055   pkg_failed=yes
15056 fi
15057  else
15058     pkg_failed=untried
15059 fi
15060
15061
15062
15063 if test $pkg_failed = yes; then
15064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15065 $as_echo "no" >&6; }
15066
15067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15068         _pkg_short_errors_supported=yes
15069 else
15070         _pkg_short_errors_supported=no
15071 fi
15072         if test $_pkg_short_errors_supported = yes; then
15073                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15074         else
15075                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15076         fi
15077         # Put the nasty error message in config.log where it belongs
15078         echo "$LIBQRENCODE_PKG_ERRORS" >&5
15079
15080         have_libqrencode=no
15081 elif test $pkg_failed = untried; then
15082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15083 $as_echo "no" >&6; }
15084         have_libqrencode=no
15085 else
15086         LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
15087         LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
15088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15089 $as_echo "yes" >&6; }
15090         have_libqrencode=yes
15091 fi
15092 fi
15093
15094 if test "x$have_libqrencode" = "xyes"; then
15095
15096 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
15097
15098
15099
15100 else
15101         help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
15102 fi
15103
15104
15105
15106 # Check whether --with-libiec16022 was given.
15107 if test "${with_libiec16022+set}" = set; then :
15108   withval=$with_libiec16022;
15109 fi
15110
15111 have_libiec16022=no
15112 if test "x$with_libiec16022" != xno; then
15113
15114 pkg_failed=no
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
15116 $as_echo_n "checking for LIBIEC16022... " >&6; }
15117
15118 if test -n "$LIBIEC16022_CFLAGS"; then
15119     pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
15120  elif test -n "$PKG_CONFIG"; then
15121     if test -n "$PKG_CONFIG" && \
15122     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15123   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15124   ac_status=$?
15125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15126   test $ac_status = 0; }; then
15127   pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15128                       test "x$?" != "x0" && pkg_failed=yes
15129 else
15130   pkg_failed=yes
15131 fi
15132  else
15133     pkg_failed=untried
15134 fi
15135 if test -n "$LIBIEC16022_LIBS"; then
15136     pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
15137  elif test -n "$PKG_CONFIG"; then
15138     if test -n "$PKG_CONFIG" && \
15139     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15140   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15141   ac_status=$?
15142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15143   test $ac_status = 0; }; then
15144   pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15145                       test "x$?" != "x0" && pkg_failed=yes
15146 else
15147   pkg_failed=yes
15148 fi
15149  else
15150     pkg_failed=untried
15151 fi
15152
15153
15154
15155 if test $pkg_failed = yes; then
15156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15157 $as_echo "no" >&6; }
15158
15159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15160         _pkg_short_errors_supported=yes
15161 else
15162         _pkg_short_errors_supported=no
15163 fi
15164         if test $_pkg_short_errors_supported = yes; then
15165                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15166         else
15167                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15168         fi
15169         # Put the nasty error message in config.log where it belongs
15170         echo "$LIBIEC16022_PKG_ERRORS" >&5
15171
15172         have_libiec16022=no
15173 elif test $pkg_failed = untried; then
15174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15175 $as_echo "no" >&6; }
15176         have_libiec16022=no
15177 else
15178         LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
15179         LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
15180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15181 $as_echo "yes" >&6; }
15182         have_libiec16022=yes
15183 fi
15184 fi
15185
15186 if test "x$have_libiec16022" = "xyes"; then
15187
15188 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
15189
15190
15191
15192 else
15193         help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
15194 fi
15195
15196
15197 # Check whether --enable-deprecations was given.
15198 if test "${enable_deprecations+set}" = set; then :
15199   enableval=$enable_deprecations;
15200 else
15201   enable_deprecations=no
15202 fi
15203
15204
15205 if test "x$enable_deprecations" = "xyes"; then
15206    DISABLE_DEPRECATED_CFLAGS="\
15207 -DG_DISABLE_DEPRECATED \
15208 -DGDK_DISABLE_DEPRECATED \
15209 -DGTK_DISABLE_DEPRECATED \
15210 -DGDK_PIXBUF_DISABLE_DEPRECATED \
15211 "
15212
15213 fi
15214
15215
15216 GETTEXT_PACKAGE=${GLABELS_BRANCH}
15217
15218
15219 cat >>confdefs.h <<_ACEOF
15220 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15221 _ACEOF
15222
15223
15224
15225    for ac_header in locale.h
15226 do :
15227   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15228 if test "x$ac_cv_header_locale_h" = xyes; then :
15229   cat >>confdefs.h <<_ACEOF
15230 #define HAVE_LOCALE_H 1
15231 _ACEOF
15232
15233 fi
15234
15235 done
15236
15237     if test $ac_cv_header_locale_h = yes; then
15238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15239 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15240 if ${am_cv_val_LC_MESSAGES+:} false; then :
15241   $as_echo_n "(cached) " >&6
15242 else
15243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h.  */
15245 #include <locale.h>
15246 int
15247 main ()
15248 {
15249 return LC_MESSAGES
15250   ;
15251   return 0;
15252 }
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255   am_cv_val_LC_MESSAGES=yes
15256 else
15257   am_cv_val_LC_MESSAGES=no
15258 fi
15259 rm -f core conftest.err conftest.$ac_objext \
15260     conftest$ac_exeext conftest.$ac_ext
15261 fi
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15263 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15264     if test $am_cv_val_LC_MESSAGES = yes; then
15265
15266 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15267
15268     fi
15269   fi
15270      USE_NLS=yes
15271
15272
15273     gt_cv_have_gettext=no
15274
15275     CATOBJEXT=NONE
15276     XGETTEXT=:
15277     INTLLIBS=
15278
15279     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15280 if test "x$ac_cv_header_libintl_h" = xyes; then :
15281   gt_cv_func_dgettext_libintl="no"
15282       libintl_extra_libs=""
15283
15284       #
15285       # First check in libc
15286       #
15287       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15288 $as_echo_n "checking for ngettext in libc... " >&6; }
15289 if ${gt_cv_func_ngettext_libc+:} false; then :
15290   $as_echo_n "(cached) " >&6
15291 else
15292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h.  */
15294
15295 #include <libintl.h>
15296
15297 int
15298 main ()
15299 {
15300 return !ngettext ("","", 1)
15301   ;
15302   return 0;
15303 }
15304 _ACEOF
15305 if ac_fn_c_try_link "$LINENO"; then :
15306   gt_cv_func_ngettext_libc=yes
15307 else
15308   gt_cv_func_ngettext_libc=no
15309 fi
15310 rm -f core conftest.err conftest.$ac_objext \
15311     conftest$ac_exeext conftest.$ac_ext
15312
15313 fi
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15315 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15316
15317       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15318               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15319 $as_echo_n "checking for dgettext in libc... " >&6; }
15320 if ${gt_cv_func_dgettext_libc+:} false; then :
15321   $as_echo_n "(cached) " >&6
15322 else
15323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h.  */
15325
15326 #include <libintl.h>
15327
15328 int
15329 main ()
15330 {
15331 return !dgettext ("","")
15332   ;
15333   return 0;
15334 }
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337   gt_cv_func_dgettext_libc=yes
15338 else
15339   gt_cv_func_dgettext_libc=no
15340 fi
15341 rm -f core conftest.err conftest.$ac_objext \
15342     conftest$ac_exeext conftest.$ac_ext
15343
15344 fi
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15346 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15347       fi
15348
15349       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15350         for ac_func in bind_textdomain_codeset
15351 do :
15352   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15353 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15354   cat >>confdefs.h <<_ACEOF
15355 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15356 _ACEOF
15357
15358 fi
15359 done
15360
15361       fi
15362
15363       #
15364       # If we don't have everything we want, check in libintl
15365       #
15366       if test "$gt_cv_func_dgettext_libc" != "yes" \
15367          || test "$gt_cv_func_ngettext_libc" != "yes" \
15368          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15369
15370         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15371 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15372 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15373   $as_echo_n "(cached) " >&6
15374 else
15375   ac_check_lib_save_LIBS=$LIBS
15376 LIBS="-lintl  $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h.  */
15379
15380 /* Override any GCC internal prototype to avoid an error.
15381    Use char because int might match the return type of a GCC
15382    builtin and then its argument prototype would still apply.  */
15383 #ifdef __cplusplus
15384 extern "C"
15385 #endif
15386 char bindtextdomain ();
15387 int
15388 main ()
15389 {
15390 return bindtextdomain ();
15391   ;
15392   return 0;
15393 }
15394 _ACEOF
15395 if ac_fn_c_try_link "$LINENO"; then :
15396   ac_cv_lib_intl_bindtextdomain=yes
15397 else
15398   ac_cv_lib_intl_bindtextdomain=no
15399 fi
15400 rm -f core conftest.err conftest.$ac_objext \
15401     conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_lib_save_LIBS
15403 fi
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15405 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15406 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15408 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15409 if ${ac_cv_lib_intl_ngettext+:} false; then :
15410   $as_echo_n "(cached) " >&6
15411 else
15412   ac_check_lib_save_LIBS=$LIBS
15413 LIBS="-lintl  $LIBS"
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h.  */
15416
15417 /* Override any GCC internal prototype to avoid an error.
15418    Use char because int might match the return type of a GCC
15419    builtin and then its argument prototype would still apply.  */
15420 #ifdef __cplusplus
15421 extern "C"
15422 #endif
15423 char ngettext ();
15424 int
15425 main ()
15426 {
15427 return ngettext ();
15428   ;
15429   return 0;
15430 }
15431 _ACEOF
15432 if ac_fn_c_try_link "$LINENO"; then :
15433   ac_cv_lib_intl_ngettext=yes
15434 else
15435   ac_cv_lib_intl_ngettext=no
15436 fi
15437 rm -f core conftest.err conftest.$ac_objext \
15438     conftest$ac_exeext conftest.$ac_ext
15439 LIBS=$ac_check_lib_save_LIBS
15440 fi
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15442 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15443 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15445 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15446 if ${ac_cv_lib_intl_dgettext+:} false; then :
15447   $as_echo_n "(cached) " >&6
15448 else
15449   ac_check_lib_save_LIBS=$LIBS
15450 LIBS="-lintl  $LIBS"
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h.  */
15453
15454 /* Override any GCC internal prototype to avoid an error.
15455    Use char because int might match the return type of a GCC
15456    builtin and then its argument prototype would still apply.  */
15457 #ifdef __cplusplus
15458 extern "C"
15459 #endif
15460 char dgettext ();
15461 int
15462 main ()
15463 {
15464 return dgettext ();
15465   ;
15466   return 0;
15467 }
15468 _ACEOF
15469 if ac_fn_c_try_link "$LINENO"; then :
15470   ac_cv_lib_intl_dgettext=yes
15471 else
15472   ac_cv_lib_intl_dgettext=no
15473 fi
15474 rm -f core conftest.err conftest.$ac_objext \
15475     conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_lib_save_LIBS
15477 fi
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15479 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15480 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15481   gt_cv_func_dgettext_libintl=yes
15482 fi
15483
15484 fi
15485
15486 fi
15487
15488
15489         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15490           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15491 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15492           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15493 $as_echo "" >&6; }
15494           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15495 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15496 if ${ac_cv_lib_intl_ngettext+:} false; then :
15497   $as_echo_n "(cached) " >&6
15498 else
15499   ac_check_lib_save_LIBS=$LIBS
15500 LIBS="-lintl -liconv $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h.  */
15503
15504 /* Override any GCC internal prototype to avoid an error.
15505    Use char because int might match the return type of a GCC
15506    builtin and then its argument prototype would still apply.  */
15507 #ifdef __cplusplus
15508 extern "C"
15509 #endif
15510 char ngettext ();
15511 int
15512 main ()
15513 {
15514 return ngettext ();
15515   ;
15516   return 0;
15517 }
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520   ac_cv_lib_intl_ngettext=yes
15521 else
15522   ac_cv_lib_intl_ngettext=no
15523 fi
15524 rm -f core conftest.err conftest.$ac_objext \
15525     conftest$ac_exeext conftest.$ac_ext
15526 LIBS=$ac_check_lib_save_LIBS
15527 fi
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15529 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15530 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15532 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15533 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15534   $as_echo_n "(cached) " >&6
15535 else
15536   ac_check_lib_save_LIBS=$LIBS
15537 LIBS="-lintl -liconv $LIBS"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h.  */
15540
15541 /* Override any GCC internal prototype to avoid an error.
15542    Use char because int might match the return type of a GCC
15543    builtin and then its argument prototype would still apply.  */
15544 #ifdef __cplusplus
15545 extern "C"
15546 #endif
15547 char dcgettext ();
15548 int
15549 main ()
15550 {
15551 return dcgettext ();
15552   ;
15553   return 0;
15554 }
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"; then :
15557   ac_cv_lib_intl_dcgettext=yes
15558 else
15559   ac_cv_lib_intl_dcgettext=no
15560 fi
15561 rm -f core conftest.err conftest.$ac_objext \
15562     conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_lib_save_LIBS
15564 fi
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15566 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15567 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15568   gt_cv_func_dgettext_libintl=yes
15569                         libintl_extra_libs=-liconv
15570 else
15571   :
15572 fi
15573
15574 else
15575   :
15576 fi
15577
15578         fi
15579
15580         #
15581         # If we found libintl, then check in it for bind_textdomain_codeset();
15582         # we'll prefer libc if neither have bind_textdomain_codeset(),
15583         # and both have dgettext and ngettext
15584         #
15585         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15586           glib_save_LIBS="$LIBS"
15587           LIBS="$LIBS -lintl $libintl_extra_libs"
15588           unset ac_cv_func_bind_textdomain_codeset
15589           for ac_func in bind_textdomain_codeset
15590 do :
15591   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15592 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15593   cat >>confdefs.h <<_ACEOF
15594 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15595 _ACEOF
15596
15597 fi
15598 done
15599
15600           LIBS="$glib_save_LIBS"
15601
15602           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15603             gt_cv_func_dgettext_libc=no
15604           else
15605             if test "$gt_cv_func_dgettext_libc" = "yes" \
15606                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15607               gt_cv_func_dgettext_libintl=no
15608             fi
15609           fi
15610         fi
15611       fi
15612
15613       if test "$gt_cv_func_dgettext_libc" = "yes" \
15614         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15615         gt_cv_have_gettext=yes
15616       fi
15617
15618       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15619         INTLLIBS="-lintl $libintl_extra_libs"
15620       fi
15621
15622       if test "$gt_cv_have_gettext" = "yes"; then
15623
15624 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15625
15626         # Extract the first word of "msgfmt", so it can be a program name with args.
15627 set dummy msgfmt; ac_word=$2
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15629 $as_echo_n "checking for $ac_word... " >&6; }
15630 if ${ac_cv_path_MSGFMT+:} false; then :
15631   $as_echo_n "(cached) " >&6
15632 else
15633   case "$MSGFMT" in
15634   /*)
15635   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15636   ;;
15637   *)
15638   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15639   for ac_dir in $PATH; do
15640     test -z "$ac_dir" && ac_dir=.
15641     if test -f $ac_dir/$ac_word; then
15642       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15643         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15644         break
15645       fi
15646     fi
15647   done
15648   IFS="$ac_save_ifs"
15649   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15650   ;;
15651 esac
15652 fi
15653 MSGFMT="$ac_cv_path_MSGFMT"
15654 if test "$MSGFMT" != "no"; then
15655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15656 $as_echo "$MSGFMT" >&6; }
15657 else
15658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15659 $as_echo "no" >&6; }
15660 fi
15661         if test "$MSGFMT" != "no"; then
15662           glib_save_LIBS="$LIBS"
15663           LIBS="$LIBS $INTLLIBS"
15664           for ac_func in dcgettext
15665 do :
15666   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15667 if test "x$ac_cv_func_dcgettext" = xyes; then :
15668   cat >>confdefs.h <<_ACEOF
15669 #define HAVE_DCGETTEXT 1
15670 _ACEOF
15671
15672 fi
15673 done
15674
15675           MSGFMT_OPTS=
15676           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15677 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15678           cat >conftest.foo <<_ACEOF
15679
15680 msgid ""
15681 msgstr ""
15682 "Content-Type: text/plain; charset=UTF-8\n"
15683 "Project-Id-Version: test 1.0\n"
15684 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15685 "Last-Translator: test <foo@bar.xx>\n"
15686 "Language-Team: C <LL@li.org>\n"
15687 "MIME-Version: 1.0\n"
15688 "Content-Transfer-Encoding: 8bit\n"
15689
15690 _ACEOF
15691 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15692   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15693   ac_status=$?
15694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695   test $ac_status = 0; }; then
15696   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15697 $as_echo "yes" >&6; }
15698 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15699 $as_echo "no" >&6; }
15700 echo "$as_me: failed input was:" >&5
15701 sed 's/^/| /' conftest.foo >&5
15702 fi
15703
15704           # Extract the first word of "gmsgfmt", so it can be a program name with args.
15705 set dummy gmsgfmt; ac_word=$2
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15707 $as_echo_n "checking for $ac_word... " >&6; }
15708 if ${ac_cv_path_GMSGFMT+:} false; then :
15709   $as_echo_n "(cached) " >&6
15710 else
15711   case $GMSGFMT in
15712   [\\/]* | ?:[\\/]*)
15713   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15714   ;;
15715   *)
15716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15717 for as_dir in $PATH
15718 do
15719   IFS=$as_save_IFS
15720   test -z "$as_dir" && as_dir=.
15721     for ac_exec_ext in '' $ac_executable_extensions; do
15722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15723     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15725     break 2
15726   fi
15727 done
15728   done
15729 IFS=$as_save_IFS
15730
15731   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15732   ;;
15733 esac
15734 fi
15735 GMSGFMT=$ac_cv_path_GMSGFMT
15736 if test -n "$GMSGFMT"; then
15737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15738 $as_echo "$GMSGFMT" >&6; }
15739 else
15740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15741 $as_echo "no" >&6; }
15742 fi
15743
15744
15745           # Extract the first word of "xgettext", so it can be a program name with args.
15746 set dummy xgettext; ac_word=$2
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15748 $as_echo_n "checking for $ac_word... " >&6; }
15749 if ${ac_cv_path_XGETTEXT+:} false; then :
15750   $as_echo_n "(cached) " >&6
15751 else
15752   case "$XGETTEXT" in
15753   /*)
15754   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15755   ;;
15756   *)
15757   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15758   for ac_dir in $PATH; do
15759     test -z "$ac_dir" && ac_dir=.
15760     if test -f $ac_dir/$ac_word; then
15761       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15762         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15763         break
15764       fi
15765     fi
15766   done
15767   IFS="$ac_save_ifs"
15768   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15769   ;;
15770 esac
15771 fi
15772 XGETTEXT="$ac_cv_path_XGETTEXT"
15773 if test "$XGETTEXT" != ":"; then
15774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15775 $as_echo "$XGETTEXT" >&6; }
15776 else
15777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15778 $as_echo "no" >&6; }
15779 fi
15780
15781           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h.  */
15783
15784 int
15785 main ()
15786 {
15787 extern int _nl_msg_cat_cntr;
15788                          return _nl_msg_cat_cntr
15789   ;
15790   return 0;
15791 }
15792 _ACEOF
15793 if ac_fn_c_try_link "$LINENO"; then :
15794   CATOBJEXT=.gmo
15795              DATADIRNAME=share
15796 else
15797   case $host in
15798             *-*-solaris*)
15799                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15800 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15801   CATOBJEXT=.gmo
15802                DATADIRNAME=share
15803 else
15804   CATOBJEXT=.mo
15805                DATADIRNAME=lib
15806 fi
15807
15808             ;;
15809             *-*-openbsd*)
15810             CATOBJEXT=.mo
15811             DATADIRNAME=share
15812             ;;
15813             *)
15814             CATOBJEXT=.mo
15815             DATADIRNAME=lib
15816             ;;
15817             esac
15818 fi
15819 rm -f core conftest.err conftest.$ac_objext \
15820     conftest$ac_exeext conftest.$ac_ext
15821           LIBS="$glib_save_LIBS"
15822           INSTOBJEXT=.mo
15823         else
15824           gt_cv_have_gettext=no
15825         fi
15826       fi
15827
15828 fi
15829
15830
15831
15832     if test "$gt_cv_have_gettext" = "yes" ; then
15833
15834 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15835
15836     fi
15837
15838         if test "$XGETTEXT" != ":"; then
15839                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15840         : ;
15841       else
15842         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15843 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15844         XGETTEXT=":"
15845       fi
15846     fi
15847
15848     # We need to process the po/ directory.
15849     POSUB=po
15850
15851     ac_config_commands="$ac_config_commands default-1"
15852
15853
15854                 for lang in $ALL_LINGUAS; do
15855       GMOFILES="$GMOFILES $lang.gmo"
15856       POFILES="$POFILES $lang.po"
15857     done
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871    if test "$gt_cv_have_gettext" = "yes"; then
15872      if test "x$ALL_LINGUAS" = "x"; then
15873        LINGUAS=
15874      else
15875        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15876 $as_echo_n "checking for catalogs to be installed... " >&6; }
15877        NEW_LINGUAS=
15878        for presentlang in $ALL_LINGUAS; do
15879          useit=no
15880          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15881            desiredlanguages="$LINGUAS"
15882          else
15883            desiredlanguages="$ALL_LINGUAS"
15884          fi
15885          for desiredlang in $desiredlanguages; do
15886            # Use the presentlang catalog if desiredlang is
15887            #   a. equal to presentlang, or
15888            #   b. a variant of presentlang (because in this case,
15889            #      presentlang can be used as a fallback for messages
15890            #      which are not translated in the desiredlang catalog).
15891            case "$desiredlang" in
15892              "$presentlang"*) useit=yes;;
15893            esac
15894          done
15895          if test $useit = yes; then
15896            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15897          fi
15898        done
15899        LINGUAS=$NEW_LINGUAS
15900        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15901 $as_echo "$LINGUAS" >&6; }
15902      fi
15903
15904           if test -n "$LINGUAS"; then
15905        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15906      fi
15907    fi
15908
15909             MKINSTALLDIRS=
15910    if test -n "$ac_aux_dir"; then
15911      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15912    fi
15913    if test -z "$MKINSTALLDIRS"; then
15914      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15915    fi
15916
15917
15918          test -d po || mkdir po
15919    if test "x$srcdir" != "x."; then
15920      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15921        posrcprefix="$srcdir/"
15922      else
15923        posrcprefix="../$srcdir/"
15924      fi
15925    else
15926      posrcprefix="../"
15927    fi
15928    rm -f po/POTFILES
15929    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15930         < $srcdir/po/POTFILES.in > po/POTFILES
15931
15932
15933
15934 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"
15935
15936 cat >confcache <<\_ACEOF
15937 # This file is a shell script that caches the results of configure
15938 # tests run on this system so they can be shared between configure
15939 # scripts and configure runs, see configure's option --config-cache.
15940 # It is not useful on other systems.  If it contains results you don't
15941 # want to keep, you may remove or edit it.
15942 #
15943 # config.status only pays attention to the cache file if you give it
15944 # the --recheck option to rerun configure.
15945 #
15946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15948 # following values.
15949
15950 _ACEOF
15951
15952 # The following way of writing the cache mishandles newlines in values,
15953 # but we know of no workaround that is simple, portable, and efficient.
15954 # So, we kill variables containing newlines.
15955 # Ultrix sh set writes to stderr and can't be redirected directly,
15956 # and sets the high bit in the cache file unless we assign to the vars.
15957 (
15958   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15959     eval ac_val=\$$ac_var
15960     case $ac_val in #(
15961     *${as_nl}*)
15962       case $ac_var in #(
15963       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15965       esac
15966       case $ac_var in #(
15967       _ | IFS | as_nl) ;; #(
15968       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15969       *) { eval $ac_var=; unset $ac_var;} ;;
15970       esac ;;
15971     esac
15972   done
15973
15974   (set) 2>&1 |
15975     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15976     *${as_nl}ac_space=\ *)
15977       # `set' does not quote correctly, so add quotes: double-quote
15978       # substitution turns \\\\ into \\, and sed turns \\ into \.
15979       sed -n \
15980         "s/'/'\\\\''/g;
15981           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15982       ;; #(
15983     *)
15984       # `set' quotes correctly as required by POSIX, so do not add quotes.
15985       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15986       ;;
15987     esac |
15988     sort
15989 ) |
15990   sed '
15991      /^ac_cv_env_/b end
15992      t clear
15993      :clear
15994      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15995      t end
15996      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15997      :end' >>confcache
15998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15999   if test -w "$cache_file"; then
16000     if test "x$cache_file" != "x/dev/null"; then
16001       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16002 $as_echo "$as_me: updating cache $cache_file" >&6;}
16003       if test ! -f "$cache_file" || test -h "$cache_file"; then
16004         cat confcache >"$cache_file"
16005       else
16006         case $cache_file in #(
16007         */* | ?:*)
16008           mv -f confcache "$cache_file"$$ &&
16009           mv -f "$cache_file"$$ "$cache_file" ;; #(
16010         *)
16011           mv -f confcache "$cache_file" ;;
16012         esac
16013       fi
16014     fi
16015   else
16016     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16017 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16018   fi
16019 fi
16020 rm -f confcache
16021
16022 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16023 # Let make expand exec_prefix.
16024 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16025
16026 DEFS=-DHAVE_CONFIG_H
16027
16028 ac_libobjs=
16029 ac_ltlibobjs=
16030 U=
16031 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16032   # 1. Remove the extension, and $U if already installed.
16033   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16034   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16035   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16036   #    will be set to the directory where LIBOBJS objects are built.
16037   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16038   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16039 done
16040 LIBOBJS=$ac_libobjs
16041
16042 LTLIBOBJS=$ac_ltlibobjs
16043
16044
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16046 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16047    if test -n "$am_sleep_pid"; then
16048      # Hide warnings about reused PIDs.
16049      wait $am_sleep_pid 2>/dev/null
16050    fi
16051    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16052 $as_echo "done" >&6; }
16053  if test -n "$EXEEXT"; then
16054   am__EXEEXT_TRUE=
16055   am__EXEEXT_FALSE='#'
16056 else
16057   am__EXEEXT_TRUE='#'
16058   am__EXEEXT_FALSE=
16059 fi
16060
16061 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16062   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16064 fi
16065 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16066   as_fn_error $? "conditional \"AMDEP\" was never defined.
16067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16068 fi
16069 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16070   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16072 fi
16073
16074   ac_config_commands="$ac_config_commands po/stamp-it"
16075
16076
16077 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
16078   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
16079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16080 fi
16081 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16082   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16084 fi
16085 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16086   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16088 fi
16089 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16090   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16092 fi
16093 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16094   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16096 fi
16097 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16098   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16100 fi
16101 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16102   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16104 fi
16105
16106 : "${CONFIG_STATUS=./config.status}"
16107 ac_write_fail=0
16108 ac_clean_files_save=$ac_clean_files
16109 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16111 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16112 as_write_fail=0
16113 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16114 #! $SHELL
16115 # Generated by $as_me.
16116 # Run this file to recreate the current configuration.
16117 # Compiler output produced by configure, useful for debugging
16118 # configure, is in config.log if it exists.
16119
16120 debug=false
16121 ac_cs_recheck=false
16122 ac_cs_silent=false
16123
16124 SHELL=\${CONFIG_SHELL-$SHELL}
16125 export SHELL
16126 _ASEOF
16127 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16128 ## -------------------- ##
16129 ## M4sh Initialization. ##
16130 ## -------------------- ##
16131
16132 # Be more Bourne compatible
16133 DUALCASE=1; export DUALCASE # for MKS sh
16134 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16135   emulate sh
16136   NULLCMD=:
16137   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16138   # is contrary to our usage.  Disable this feature.
16139   alias -g '${1+"$@"}'='"$@"'
16140   setopt NO_GLOB_SUBST
16141 else
16142   case `(set -o) 2>/dev/null` in #(
16143   *posix*) :
16144     set -o posix ;; #(
16145   *) :
16146      ;;
16147 esac
16148 fi
16149
16150
16151 as_nl='
16152 '
16153 export as_nl
16154 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16155 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16158 # Prefer a ksh shell builtin over an external printf program on Solaris,
16159 # but without wasting forks for bash or zsh.
16160 if test -z "$BASH_VERSION$ZSH_VERSION" \
16161     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16162   as_echo='print -r --'
16163   as_echo_n='print -rn --'
16164 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16165   as_echo='printf %s\n'
16166   as_echo_n='printf %s'
16167 else
16168   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16169     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16170     as_echo_n='/usr/ucb/echo -n'
16171   else
16172     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16173     as_echo_n_body='eval
16174       arg=$1;
16175       case $arg in #(
16176       *"$as_nl"*)
16177         expr "X$arg" : "X\\(.*\\)$as_nl";
16178         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16179       esac;
16180       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16181     '
16182     export as_echo_n_body
16183     as_echo_n='sh -c $as_echo_n_body as_echo'
16184   fi
16185   export as_echo_body
16186   as_echo='sh -c $as_echo_body as_echo'
16187 fi
16188
16189 # The user is always right.
16190 if test "${PATH_SEPARATOR+set}" != set; then
16191   PATH_SEPARATOR=:
16192   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16193     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16194       PATH_SEPARATOR=';'
16195   }
16196 fi
16197
16198
16199 # IFS
16200 # We need space, tab and new line, in precisely that order.  Quoting is
16201 # there to prevent editors from complaining about space-tab.
16202 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16203 # splitting by setting IFS to empty value.)
16204 IFS=" ""        $as_nl"
16205
16206 # Find who we are.  Look in the path if we contain no directory separator.
16207 as_myself=
16208 case $0 in #((
16209   *[\\/]* ) as_myself=$0 ;;
16210   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16211 for as_dir in $PATH
16212 do
16213   IFS=$as_save_IFS
16214   test -z "$as_dir" && as_dir=.
16215     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16216   done
16217 IFS=$as_save_IFS
16218
16219      ;;
16220 esac
16221 # We did not find ourselves, most probably we were run as `sh COMMAND'
16222 # in which case we are not to be found in the path.
16223 if test "x$as_myself" = x; then
16224   as_myself=$0
16225 fi
16226 if test ! -f "$as_myself"; then
16227   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16228   exit 1
16229 fi
16230
16231 # Unset variables that we do not need and which cause bugs (e.g. in
16232 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16233 # suppresses any "Segmentation fault" message there.  '((' could
16234 # trigger a bug in pdksh 5.2.14.
16235 for as_var in BASH_ENV ENV MAIL MAILPATH
16236 do eval test x\${$as_var+set} = xset \
16237   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16238 done
16239 PS1='$ '
16240 PS2='> '
16241 PS4='+ '
16242
16243 # NLS nuisances.
16244 LC_ALL=C
16245 export LC_ALL
16246 LANGUAGE=C
16247 export LANGUAGE
16248
16249 # CDPATH.
16250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16251
16252
16253 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16254 # ----------------------------------------
16255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16257 # script with STATUS, using 1 if that was 0.
16258 as_fn_error ()
16259 {
16260   as_status=$1; test $as_status -eq 0 && as_status=1
16261   if test "$4"; then
16262     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16263     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16264   fi
16265   $as_echo "$as_me: error: $2" >&2
16266   as_fn_exit $as_status
16267 } # as_fn_error
16268
16269
16270 # as_fn_set_status STATUS
16271 # -----------------------
16272 # Set $? to STATUS, without forking.
16273 as_fn_set_status ()
16274 {
16275   return $1
16276 } # as_fn_set_status
16277
16278 # as_fn_exit STATUS
16279 # -----------------
16280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16281 as_fn_exit ()
16282 {
16283   set +e
16284   as_fn_set_status $1
16285   exit $1
16286 } # as_fn_exit
16287
16288 # as_fn_unset VAR
16289 # ---------------
16290 # Portably unset VAR.
16291 as_fn_unset ()
16292 {
16293   { eval $1=; unset $1;}
16294 }
16295 as_unset=as_fn_unset
16296 # as_fn_append VAR VALUE
16297 # ----------------------
16298 # Append the text in VALUE to the end of the definition contained in VAR. Take
16299 # advantage of any shell optimizations that allow amortized linear growth over
16300 # repeated appends, instead of the typical quadratic growth present in naive
16301 # implementations.
16302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16303   eval 'as_fn_append ()
16304   {
16305     eval $1+=\$2
16306   }'
16307 else
16308   as_fn_append ()
16309   {
16310     eval $1=\$$1\$2
16311   }
16312 fi # as_fn_append
16313
16314 # as_fn_arith ARG...
16315 # ------------------
16316 # Perform arithmetic evaluation on the ARGs, and store the result in the
16317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16318 # must be portable across $(()) and expr.
16319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16320   eval 'as_fn_arith ()
16321   {
16322     as_val=$(( $* ))
16323   }'
16324 else
16325   as_fn_arith ()
16326   {
16327     as_val=`expr "$@" || test $? -eq 1`
16328   }
16329 fi # as_fn_arith
16330
16331
16332 if expr a : '\(a\)' >/dev/null 2>&1 &&
16333    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16334   as_expr=expr
16335 else
16336   as_expr=false
16337 fi
16338
16339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16340   as_basename=basename
16341 else
16342   as_basename=false
16343 fi
16344
16345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16346   as_dirname=dirname
16347 else
16348   as_dirname=false
16349 fi
16350
16351 as_me=`$as_basename -- "$0" ||
16352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16353          X"$0" : 'X\(//\)$' \| \
16354          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16355 $as_echo X/"$0" |
16356     sed '/^.*\/\([^/][^/]*\)\/*$/{
16357             s//\1/
16358             q
16359           }
16360           /^X\/\(\/\/\)$/{
16361             s//\1/
16362             q
16363           }
16364           /^X\/\(\/\).*/{
16365             s//\1/
16366             q
16367           }
16368           s/.*/./; q'`
16369
16370 # Avoid depending upon Character Ranges.
16371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16374 as_cr_digits='0123456789'
16375 as_cr_alnum=$as_cr_Letters$as_cr_digits
16376
16377 ECHO_C= ECHO_N= ECHO_T=
16378 case `echo -n x` in #(((((
16379 -n*)
16380   case `echo 'xy\c'` in
16381   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16382   xy)  ECHO_C='\c';;
16383   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16384        ECHO_T=' ';;
16385   esac;;
16386 *)
16387   ECHO_N='-n';;
16388 esac
16389
16390 rm -f conf$$ conf$$.exe conf$$.file
16391 if test -d conf$$.dir; then
16392   rm -f conf$$.dir/conf$$.file
16393 else
16394   rm -f conf$$.dir
16395   mkdir conf$$.dir 2>/dev/null
16396 fi
16397 if (echo >conf$$.file) 2>/dev/null; then
16398   if ln -s conf$$.file conf$$ 2>/dev/null; then
16399     as_ln_s='ln -s'
16400     # ... but there are two gotchas:
16401     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16402     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16403     # In both cases, we have to default to `cp -pR'.
16404     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16405       as_ln_s='cp -pR'
16406   elif ln conf$$.file conf$$ 2>/dev/null; then
16407     as_ln_s=ln
16408   else
16409     as_ln_s='cp -pR'
16410   fi
16411 else
16412   as_ln_s='cp -pR'
16413 fi
16414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16415 rmdir conf$$.dir 2>/dev/null
16416
16417
16418 # as_fn_mkdir_p
16419 # -------------
16420 # Create "$as_dir" as a directory, including parents if necessary.
16421 as_fn_mkdir_p ()
16422 {
16423
16424   case $as_dir in #(
16425   -*) as_dir=./$as_dir;;
16426   esac
16427   test -d "$as_dir" || eval $as_mkdir_p || {
16428     as_dirs=
16429     while :; do
16430       case $as_dir in #(
16431       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16432       *) as_qdir=$as_dir;;
16433       esac
16434       as_dirs="'$as_qdir' $as_dirs"
16435       as_dir=`$as_dirname -- "$as_dir" ||
16436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16437          X"$as_dir" : 'X\(//\)[^/]' \| \
16438          X"$as_dir" : 'X\(//\)$' \| \
16439          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16440 $as_echo X"$as_dir" |
16441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16442             s//\1/
16443             q
16444           }
16445           /^X\(\/\/\)[^/].*/{
16446             s//\1/
16447             q
16448           }
16449           /^X\(\/\/\)$/{
16450             s//\1/
16451             q
16452           }
16453           /^X\(\/\).*/{
16454             s//\1/
16455             q
16456           }
16457           s/.*/./; q'`
16458       test -d "$as_dir" && break
16459     done
16460     test -z "$as_dirs" || eval "mkdir $as_dirs"
16461   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16462
16463
16464 } # as_fn_mkdir_p
16465 if mkdir -p . 2>/dev/null; then
16466   as_mkdir_p='mkdir -p "$as_dir"'
16467 else
16468   test -d ./-p && rmdir ./-p
16469   as_mkdir_p=false
16470 fi
16471
16472
16473 # as_fn_executable_p FILE
16474 # -----------------------
16475 # Test if FILE is an executable regular file.
16476 as_fn_executable_p ()
16477 {
16478   test -f "$1" && test -x "$1"
16479 } # as_fn_executable_p
16480 as_test_x='test -x'
16481 as_executable_p=as_fn_executable_p
16482
16483 # Sed expression to map a string onto a valid CPP name.
16484 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16485
16486 # Sed expression to map a string onto a valid variable name.
16487 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16488
16489
16490 exec 6>&1
16491 ## ----------------------------------- ##
16492 ## Main body of $CONFIG_STATUS script. ##
16493 ## ----------------------------------- ##
16494 _ASEOF
16495 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16496
16497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16498 # Save the log message, to keep $0 and so on meaningful, and to
16499 # report actual input values of CONFIG_FILES etc. instead of their
16500 # values after options handling.
16501 ac_log="
16502 This file was extended by glabels $as_me 3.2.1, which was
16503 generated by GNU Autoconf 2.69.  Invocation command line was
16504
16505   CONFIG_FILES    = $CONFIG_FILES
16506   CONFIG_HEADERS  = $CONFIG_HEADERS
16507   CONFIG_LINKS    = $CONFIG_LINKS
16508   CONFIG_COMMANDS = $CONFIG_COMMANDS
16509   $ $0 $@
16510
16511 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16512 "
16513
16514 _ACEOF
16515
16516 case $ac_config_files in *"
16517 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16518 esac
16519
16520 case $ac_config_headers in *"
16521 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16522 esac
16523
16524
16525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16526 # Files that config.status was made for.
16527 config_files="$ac_config_files"
16528 config_headers="$ac_config_headers"
16529 config_commands="$ac_config_commands"
16530
16531 _ACEOF
16532
16533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16534 ac_cs_usage="\
16535 \`$as_me' instantiates files and other configuration actions
16536 from templates according to the current configuration.  Unless the files
16537 and actions are specified as TAGs, all are instantiated by default.
16538
16539 Usage: $0 [OPTION]... [TAG]...
16540
16541   -h, --help       print this help, then exit
16542   -V, --version    print version number and configuration settings, then exit
16543       --config     print configuration, then exit
16544   -q, --quiet, --silent
16545                    do not print progress messages
16546   -d, --debug      don't remove temporary files
16547       --recheck    update $as_me by reconfiguring in the same conditions
16548       --file=FILE[:TEMPLATE]
16549                    instantiate the configuration file FILE
16550       --header=FILE[:TEMPLATE]
16551                    instantiate the configuration header FILE
16552
16553 Configuration files:
16554 $config_files
16555
16556 Configuration headers:
16557 $config_headers
16558
16559 Configuration commands:
16560 $config_commands
16561
16562 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16563
16564 _ACEOF
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16567 ac_cs_version="\\
16568 glabels config.status 3.2.1
16569 configured by $0, generated by GNU Autoconf 2.69,
16570   with options \\"\$ac_cs_config\\"
16571
16572 Copyright (C) 2012 Free Software Foundation, Inc.
16573 This config.status script is free software; the Free Software Foundation
16574 gives unlimited permission to copy, distribute and modify it."
16575
16576 ac_pwd='$ac_pwd'
16577 srcdir='$srcdir'
16578 INSTALL='$INSTALL'
16579 MKDIR_P='$MKDIR_P'
16580 AWK='$AWK'
16581 test -n "\$AWK" || AWK=awk
16582 _ACEOF
16583
16584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16585 # The default lists apply if the user does not specify any file.
16586 ac_need_defaults=:
16587 while test $# != 0
16588 do
16589   case $1 in
16590   --*=?*)
16591     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16592     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16593     ac_shift=:
16594     ;;
16595   --*=)
16596     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16597     ac_optarg=
16598     ac_shift=:
16599     ;;
16600   *)
16601     ac_option=$1
16602     ac_optarg=$2
16603     ac_shift=shift
16604     ;;
16605   esac
16606
16607   case $ac_option in
16608   # Handling of the options.
16609   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16610     ac_cs_recheck=: ;;
16611   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16612     $as_echo "$ac_cs_version"; exit ;;
16613   --config | --confi | --conf | --con | --co | --c )
16614     $as_echo "$ac_cs_config"; exit ;;
16615   --debug | --debu | --deb | --de | --d | -d )
16616     debug=: ;;
16617   --file | --fil | --fi | --f )
16618     $ac_shift
16619     case $ac_optarg in
16620     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16621     '') as_fn_error $? "missing file argument" ;;
16622     esac
16623     as_fn_append CONFIG_FILES " '$ac_optarg'"
16624     ac_need_defaults=false;;
16625   --header | --heade | --head | --hea )
16626     $ac_shift
16627     case $ac_optarg in
16628     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16629     esac
16630     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16631     ac_need_defaults=false;;
16632   --he | --h)
16633     # Conflict between --help and --header
16634     as_fn_error $? "ambiguous option: \`$1'
16635 Try \`$0 --help' for more information.";;
16636   --help | --hel | -h )
16637     $as_echo "$ac_cs_usage"; exit ;;
16638   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16639   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16640     ac_cs_silent=: ;;
16641
16642   # This is an error.
16643   -*) as_fn_error $? "unrecognized option: \`$1'
16644 Try \`$0 --help' for more information." ;;
16645
16646   *) as_fn_append ac_config_targets " $1"
16647      ac_need_defaults=false ;;
16648
16649   esac
16650   shift
16651 done
16652
16653 ac_configure_extra_args=
16654
16655 if $ac_cs_silent; then
16656   exec 6>/dev/null
16657   ac_configure_extra_args="$ac_configure_extra_args --silent"
16658 fi
16659
16660 _ACEOF
16661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16662 if \$ac_cs_recheck; then
16663   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16664   shift
16665   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16666   CONFIG_SHELL='$SHELL'
16667   export CONFIG_SHELL
16668   exec "\$@"
16669 fi
16670
16671 _ACEOF
16672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16673 exec 5>>config.log
16674 {
16675   echo
16676   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16677 ## Running $as_me. ##
16678 _ASBOX
16679   $as_echo "$ac_log"
16680 } >&5
16681
16682 _ACEOF
16683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16684 #
16685 # INIT-COMMANDS
16686 #
16687 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16688
16689
16690 # The HP-UX ksh and POSIX shell print the target directory to stdout
16691 # if CDPATH is set.
16692 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16693
16694 sed_quote_subst='$sed_quote_subst'
16695 double_quote_subst='$double_quote_subst'
16696 delay_variable_subst='$delay_variable_subst'
16697 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16698 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16699 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16700 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16701 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16702 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16703 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16704 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16705 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16706 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16707 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16708 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16709 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16710 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16711 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16712 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16713 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16714 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16715 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16716 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16717 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16718 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16719 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16720 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16721 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16722 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16723 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16724 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16725 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16726 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16727 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16728 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16729 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16730 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16731 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16732 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16733 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16734 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16735 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16736 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16737 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16738 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16739 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16740 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16741 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16742 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16743 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16744 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16745 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16746 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16747 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16748 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16749 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16750 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16751 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16752 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16753 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"`'
16754 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16755 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16756 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16757 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16758 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16759 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16760 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16761 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16762 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16763 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16764 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16765 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16766 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16767 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16768 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16769 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16770 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16771 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16772 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16773 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16774 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16775 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16776 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16777 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16778 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16779 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16780 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16781 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16782 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16783 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16784 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16785 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16786 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16787 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16788 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16789 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16790 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16791 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16792 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16793 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16794 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16795 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16796 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16797 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16798 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16799 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16800 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16801 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16802 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16803 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16804 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16805 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16806 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16807 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16808 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16809 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16810 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16811 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16812 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16813 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16814 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16815 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16816 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16817 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16818 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16819 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16820 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16821 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16822 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16823 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16824 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16825 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16826 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16827
16828 LTCC='$LTCC'
16829 LTCFLAGS='$LTCFLAGS'
16830 compiler='$compiler_DEFAULT'
16831
16832 # A function that is used when there is no print builtin or printf.
16833 func_fallback_echo ()
16834 {
16835   eval 'cat <<_LTECHO_EOF
16836 \$1
16837 _LTECHO_EOF'
16838 }
16839
16840 # Quote evaled strings.
16841 for var in SHELL \
16842 ECHO \
16843 PATH_SEPARATOR \
16844 SED \
16845 GREP \
16846 EGREP \
16847 FGREP \
16848 LD \
16849 NM \
16850 LN_S \
16851 lt_SP2NL \
16852 lt_NL2SP \
16853 reload_flag \
16854 OBJDUMP \
16855 deplibs_check_method \
16856 file_magic_cmd \
16857 file_magic_glob \
16858 want_nocaseglob \
16859 DLLTOOL \
16860 sharedlib_from_linklib_cmd \
16861 AR \
16862 AR_FLAGS \
16863 archiver_list_spec \
16864 STRIP \
16865 RANLIB \
16866 CC \
16867 CFLAGS \
16868 compiler \
16869 lt_cv_sys_global_symbol_pipe \
16870 lt_cv_sys_global_symbol_to_cdecl \
16871 lt_cv_sys_global_symbol_to_c_name_address \
16872 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16873 nm_file_list_spec \
16874 lt_prog_compiler_no_builtin_flag \
16875 lt_prog_compiler_pic \
16876 lt_prog_compiler_wl \
16877 lt_prog_compiler_static \
16878 lt_cv_prog_compiler_c_o \
16879 need_locks \
16880 MANIFEST_TOOL \
16881 DSYMUTIL \
16882 NMEDIT \
16883 LIPO \
16884 OTOOL \
16885 OTOOL64 \
16886 shrext_cmds \
16887 export_dynamic_flag_spec \
16888 whole_archive_flag_spec \
16889 compiler_needs_object \
16890 with_gnu_ld \
16891 allow_undefined_flag \
16892 no_undefined_flag \
16893 hardcode_libdir_flag_spec \
16894 hardcode_libdir_separator \
16895 exclude_expsyms \
16896 include_expsyms \
16897 file_list_spec \
16898 variables_saved_for_relink \
16899 libname_spec \
16900 library_names_spec \
16901 soname_spec \
16902 install_override_mode \
16903 finish_eval \
16904 old_striplib \
16905 striplib; do
16906     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16907     *[\\\\\\\`\\"\\\$]*)
16908       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16909       ;;
16910     *)
16911       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16912       ;;
16913     esac
16914 done
16915
16916 # Double-quote double-evaled strings.
16917 for var in reload_cmds \
16918 old_postinstall_cmds \
16919 old_postuninstall_cmds \
16920 old_archive_cmds \
16921 extract_expsyms_cmds \
16922 old_archive_from_new_cmds \
16923 old_archive_from_expsyms_cmds \
16924 archive_cmds \
16925 archive_expsym_cmds \
16926 module_cmds \
16927 module_expsym_cmds \
16928 export_symbols_cmds \
16929 prelink_cmds \
16930 postlink_cmds \
16931 postinstall_cmds \
16932 postuninstall_cmds \
16933 finish_cmds \
16934 sys_lib_search_path_spec \
16935 sys_lib_dlsearch_path_spec; do
16936     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16937     *[\\\\\\\`\\"\\\$]*)
16938       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16939       ;;
16940     *)
16941       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16942       ;;
16943     esac
16944 done
16945
16946 ac_aux_dir='$ac_aux_dir'
16947 xsi_shell='$xsi_shell'
16948 lt_shell_append='$lt_shell_append'
16949
16950 # See if we are running on zsh, and set the options which allow our
16951 # commands through without removal of \ escapes INIT.
16952 if test -n "\${ZSH_VERSION+set}" ; then
16953    setopt NO_GLOB_SUBST
16954 fi
16955
16956
16957     PACKAGE='$PACKAGE'
16958     VERSION='$VERSION'
16959     TIMESTAMP='$TIMESTAMP'
16960     RM='$RM'
16961     ofile='$ofile'
16962
16963
16964
16965
16966
16967 _ACEOF
16968
16969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16970
16971 # Handling of arguments.
16972 for ac_config_target in $ac_config_targets
16973 do
16974   case $ac_config_target in
16975     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16976     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16977     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16978     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16979     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16980     "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16981     "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16982     "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16983     "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16984     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16985     "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16986     "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16987     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16988     "data/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/appdata/Makefile" ;;
16989     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16990     "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16991     "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16992     "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16993     "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16994     "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16995     "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16996     "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16997     "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16998     "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16999     "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
17000     "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
17001     "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
17002     "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
17003     "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
17004     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17005     "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17006     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17007     "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
17008     "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
17009     "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
17010     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17011
17012   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17013   esac
17014 done
17015
17016
17017 # If the user did not use the arguments to specify the items to instantiate,
17018 # then the envvar interface is used.  Set only those that are not.
17019 # We use the long form for the default assignment because of an extremely
17020 # bizarre bug on SunOS 4.1.3.
17021 if $ac_need_defaults; then
17022   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17023   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17024   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17025 fi
17026
17027 # Have a temporary directory for convenience.  Make it in the build tree
17028 # simply because there is no reason against having it here, and in addition,
17029 # creating and moving files from /tmp can sometimes cause problems.
17030 # Hook for its removal unless debugging.
17031 # Note that there is a small window in which the directory will not be cleaned:
17032 # after its creation but before its name has been assigned to `$tmp'.
17033 $debug ||
17034 {
17035   tmp= ac_tmp=
17036   trap 'exit_status=$?
17037   : "${ac_tmp:=$tmp}"
17038   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17039 ' 0
17040   trap 'as_fn_exit 1' 1 2 13 15
17041 }
17042 # Create a (secure) tmp directory for tmp files.
17043
17044 {
17045   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17046   test -d "$tmp"
17047 }  ||
17048 {
17049   tmp=./conf$$-$RANDOM
17050   (umask 077 && mkdir "$tmp")
17051 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17052 ac_tmp=$tmp
17053
17054 # Set up the scripts for CONFIG_FILES section.
17055 # No need to generate them if there are no CONFIG_FILES.
17056 # This happens for instance with `./config.status config.h'.
17057 if test -n "$CONFIG_FILES"; then
17058
17059
17060 ac_cr=`echo X | tr X '\015'`
17061 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17062 # But we know of no other shell where ac_cr would be empty at this
17063 # point, so we can use a bashism as a fallback.
17064 if test "x$ac_cr" = x; then
17065   eval ac_cr=\$\'\\r\'
17066 fi
17067 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17068 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17069   ac_cs_awk_cr='\\r'
17070 else
17071   ac_cs_awk_cr=$ac_cr
17072 fi
17073
17074 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17075 _ACEOF
17076
17077
17078 {
17079   echo "cat >conf$$subs.awk <<_ACEOF" &&
17080   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17081   echo "_ACEOF"
17082 } >conf$$subs.sh ||
17083   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17084 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17085 ac_delim='%!_!# '
17086 for ac_last_try in false false false false false :; do
17087   . ./conf$$subs.sh ||
17088     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17089
17090   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17091   if test $ac_delim_n = $ac_delim_num; then
17092     break
17093   elif $ac_last_try; then
17094     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17095   else
17096     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17097   fi
17098 done
17099 rm -f conf$$subs.sh
17100
17101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17102 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17103 _ACEOF
17104 sed -n '
17105 h
17106 s/^/S["/; s/!.*/"]=/
17107 p
17108 g
17109 s/^[^!]*!//
17110 :repl
17111 t repl
17112 s/'"$ac_delim"'$//
17113 t delim
17114 :nl
17115 h
17116 s/\(.\{148\}\)..*/\1/
17117 t more1
17118 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17119 p
17120 n
17121 b repl
17122 :more1
17123 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17124 p
17125 g
17126 s/.\{148\}//
17127 t nl
17128 :delim
17129 h
17130 s/\(.\{148\}\)..*/\1/
17131 t more2
17132 s/["\\]/\\&/g; s/^/"/; s/$/"/
17133 p
17134 b
17135 :more2
17136 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17137 p
17138 g
17139 s/.\{148\}//
17140 t delim
17141 ' <conf$$subs.awk | sed '
17142 /^[^""]/{
17143   N
17144   s/\n//
17145 }
17146 ' >>$CONFIG_STATUS || ac_write_fail=1
17147 rm -f conf$$subs.awk
17148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17149 _ACAWK
17150 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17151   for (key in S) S_is_set[key] = 1
17152   FS = "\a"
17153
17154 }
17155 {
17156   line = $ 0
17157   nfields = split(line, field, "@")
17158   substed = 0
17159   len = length(field[1])
17160   for (i = 2; i < nfields; i++) {
17161     key = field[i]
17162     keylen = length(key)
17163     if (S_is_set[key]) {
17164       value = S[key]
17165       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17166       len += length(value) + length(field[++i])
17167       substed = 1
17168     } else
17169       len += 1 + keylen
17170   }
17171
17172   print line
17173 }
17174
17175 _ACAWK
17176 _ACEOF
17177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17178 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17179   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17180 else
17181   cat
17182 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17183   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17184 _ACEOF
17185
17186 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17187 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17188 # trailing colons and then remove the whole line if VPATH becomes empty
17189 # (actually we leave an empty line to preserve line numbers).
17190 if test "x$srcdir" = x.; then
17191   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17192 h
17193 s///
17194 s/^/:/
17195 s/[      ]*$/:/
17196 s/:\$(srcdir):/:/g
17197 s/:\${srcdir}:/:/g
17198 s/:@srcdir@:/:/g
17199 s/^:*//
17200 s/:*$//
17201 x
17202 s/\(=[   ]*\).*/\1/
17203 G
17204 s/\n//
17205 s/^[^=]*=[       ]*$//
17206 }'
17207 fi
17208
17209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17210 fi # test -n "$CONFIG_FILES"
17211
17212 # Set up the scripts for CONFIG_HEADERS section.
17213 # No need to generate them if there are no CONFIG_HEADERS.
17214 # This happens for instance with `./config.status Makefile'.
17215 if test -n "$CONFIG_HEADERS"; then
17216 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17217 BEGIN {
17218 _ACEOF
17219
17220 # Transform confdefs.h into an awk script `defines.awk', embedded as
17221 # here-document in config.status, that substitutes the proper values into
17222 # config.h.in to produce config.h.
17223
17224 # Create a delimiter string that does not exist in confdefs.h, to ease
17225 # handling of long lines.
17226 ac_delim='%!_!# '
17227 for ac_last_try in false false :; do
17228   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17229   if test -z "$ac_tt"; then
17230     break
17231   elif $ac_last_try; then
17232     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17233   else
17234     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17235   fi
17236 done
17237
17238 # For the awk script, D is an array of macro values keyed by name,
17239 # likewise P contains macro parameters if any.  Preserve backslash
17240 # newline sequences.
17241
17242 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17243 sed -n '
17244 s/.\{148\}/&'"$ac_delim"'/g
17245 t rset
17246 :rset
17247 s/^[     ]*#[    ]*define[       ][      ]*/ /
17248 t def
17249 d
17250 :def
17251 s/\\$//
17252 t bsnl
17253 s/["\\]/\\&/g
17254 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17255 D["\1"]=" \3"/p
17256 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17257 d
17258 :bsnl
17259 s/["\\]/\\&/g
17260 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17261 D["\1"]=" \3\\\\\\n"\\/p
17262 t cont
17263 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17264 t cont
17265 d
17266 :cont
17267 n
17268 s/.\{148\}/&'"$ac_delim"'/g
17269 t clear
17270 :clear
17271 s/\\$//
17272 t bsnlc
17273 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17274 d
17275 :bsnlc
17276 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17277 b cont
17278 ' <confdefs.h | sed '
17279 s/'"$ac_delim"'/"\\\
17280 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17281
17282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17283   for (key in D) D_is_set[key] = 1
17284   FS = "\a"
17285 }
17286 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17287   line = \$ 0
17288   split(line, arg, " ")
17289   if (arg[1] == "#") {
17290     defundef = arg[2]
17291     mac1 = arg[3]
17292   } else {
17293     defundef = substr(arg[1], 2)
17294     mac1 = arg[2]
17295   }
17296   split(mac1, mac2, "(") #)
17297   macro = mac2[1]
17298   prefix = substr(line, 1, index(line, defundef) - 1)
17299   if (D_is_set[macro]) {
17300     # Preserve the white space surrounding the "#".
17301     print prefix "define", macro P[macro] D[macro]
17302     next
17303   } else {
17304     # Replace #undef with comments.  This is necessary, for example,
17305     # in the case of _POSIX_SOURCE, which is predefined and required
17306     # on some systems where configure will not decide to define it.
17307     if (defundef == "undef") {
17308       print "/*", prefix defundef, macro, "*/"
17309       next
17310     }
17311   }
17312 }
17313 { print }
17314 _ACAWK
17315 _ACEOF
17316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17317   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17318 fi # test -n "$CONFIG_HEADERS"
17319
17320
17321 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17322 shift
17323 for ac_tag
17324 do
17325   case $ac_tag in
17326   :[FHLC]) ac_mode=$ac_tag; continue;;
17327   esac
17328   case $ac_mode$ac_tag in
17329   :[FHL]*:*);;
17330   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17331   :[FH]-) ac_tag=-:-;;
17332   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17333   esac
17334   ac_save_IFS=$IFS
17335   IFS=:
17336   set x $ac_tag
17337   IFS=$ac_save_IFS
17338   shift
17339   ac_file=$1
17340   shift
17341
17342   case $ac_mode in
17343   :L) ac_source=$1;;
17344   :[FH])
17345     ac_file_inputs=
17346     for ac_f
17347     do
17348       case $ac_f in
17349       -) ac_f="$ac_tmp/stdin";;
17350       *) # Look for the file first in the build tree, then in the source tree
17351          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17352          # because $ac_f cannot contain `:'.
17353          test -f "$ac_f" ||
17354            case $ac_f in
17355            [\\/$]*) false;;
17356            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17357            esac ||
17358            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17359       esac
17360       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17361       as_fn_append ac_file_inputs " '$ac_f'"
17362     done
17363
17364     # Let's still pretend it is `configure' which instantiates (i.e., don't
17365     # use $as_me), people would be surprised to read:
17366     #    /* config.h.  Generated by config.status.  */
17367     configure_input='Generated from '`
17368           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17369         `' by configure.'
17370     if test x"$ac_file" != x-; then
17371       configure_input="$ac_file.  $configure_input"
17372       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17373 $as_echo "$as_me: creating $ac_file" >&6;}
17374     fi
17375     # Neutralize special characters interpreted by sed in replacement strings.
17376     case $configure_input in #(
17377     *\&* | *\|* | *\\* )
17378        ac_sed_conf_input=`$as_echo "$configure_input" |
17379        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17380     *) ac_sed_conf_input=$configure_input;;
17381     esac
17382
17383     case $ac_tag in
17384     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17385       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17386     esac
17387     ;;
17388   esac
17389
17390   ac_dir=`$as_dirname -- "$ac_file" ||
17391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17392          X"$ac_file" : 'X\(//\)[^/]' \| \
17393          X"$ac_file" : 'X\(//\)$' \| \
17394          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17395 $as_echo X"$ac_file" |
17396     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17397             s//\1/
17398             q
17399           }
17400           /^X\(\/\/\)[^/].*/{
17401             s//\1/
17402             q
17403           }
17404           /^X\(\/\/\)$/{
17405             s//\1/
17406             q
17407           }
17408           /^X\(\/\).*/{
17409             s//\1/
17410             q
17411           }
17412           s/.*/./; q'`
17413   as_dir="$ac_dir"; as_fn_mkdir_p
17414   ac_builddir=.
17415
17416 case "$ac_dir" in
17417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17418 *)
17419   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17420   # A ".." for each directory in $ac_dir_suffix.
17421   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17422   case $ac_top_builddir_sub in
17423   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17424   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17425   esac ;;
17426 esac
17427 ac_abs_top_builddir=$ac_pwd
17428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17429 # for backward compatibility:
17430 ac_top_builddir=$ac_top_build_prefix
17431
17432 case $srcdir in
17433   .)  # We are building in place.
17434     ac_srcdir=.
17435     ac_top_srcdir=$ac_top_builddir_sub
17436     ac_abs_top_srcdir=$ac_pwd ;;
17437   [\\/]* | ?:[\\/]* )  # Absolute name.
17438     ac_srcdir=$srcdir$ac_dir_suffix;
17439     ac_top_srcdir=$srcdir
17440     ac_abs_top_srcdir=$srcdir ;;
17441   *) # Relative name.
17442     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17443     ac_top_srcdir=$ac_top_build_prefix$srcdir
17444     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17445 esac
17446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17447
17448
17449   case $ac_mode in
17450   :F)
17451   #
17452   # CONFIG_FILE
17453   #
17454
17455   case $INSTALL in
17456   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17457   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17458   esac
17459   ac_MKDIR_P=$MKDIR_P
17460   case $MKDIR_P in
17461   [\\/$]* | ?:[\\/]* ) ;;
17462   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17463   esac
17464 _ACEOF
17465
17466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17467 # If the template does not know about datarootdir, expand it.
17468 # FIXME: This hack should be removed a few years after 2.60.
17469 ac_datarootdir_hack=; ac_datarootdir_seen=
17470 ac_sed_dataroot='
17471 /datarootdir/ {
17472   p
17473   q
17474 }
17475 /@datadir@/p
17476 /@docdir@/p
17477 /@infodir@/p
17478 /@localedir@/p
17479 /@mandir@/p'
17480 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17481 *datarootdir*) ac_datarootdir_seen=yes;;
17482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17483   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17484 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17485 _ACEOF
17486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17487   ac_datarootdir_hack='
17488   s&@datadir@&$datadir&g
17489   s&@docdir@&$docdir&g
17490   s&@infodir@&$infodir&g
17491   s&@localedir@&$localedir&g
17492   s&@mandir@&$mandir&g
17493   s&\\\${datarootdir}&$datarootdir&g' ;;
17494 esac
17495 _ACEOF
17496
17497 # Neutralize VPATH when `$srcdir' = `.'.
17498 # Shell code in configure.ac might set extrasub.
17499 # FIXME: do we really want to maintain this feature?
17500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17501 ac_sed_extra="$ac_vpsub
17502 $extrasub
17503 _ACEOF
17504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17505 :t
17506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17507 s|@configure_input@|$ac_sed_conf_input|;t t
17508 s&@top_builddir@&$ac_top_builddir_sub&;t t
17509 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17510 s&@srcdir@&$ac_srcdir&;t t
17511 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17512 s&@top_srcdir@&$ac_top_srcdir&;t t
17513 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17514 s&@builddir@&$ac_builddir&;t t
17515 s&@abs_builddir@&$ac_abs_builddir&;t t
17516 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17517 s&@INSTALL@&$ac_INSTALL&;t t
17518 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17519 $ac_datarootdir_hack
17520 "
17521 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17522   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17523
17524 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17525   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17526   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17527       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17528   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17529 which seems to be undefined.  Please make sure it is defined" >&5
17530 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17531 which seems to be undefined.  Please make sure it is defined" >&2;}
17532
17533   rm -f "$ac_tmp/stdin"
17534   case $ac_file in
17535   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17536   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17537   esac \
17538   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17539  ;;
17540   :H)
17541   #
17542   # CONFIG_HEADER
17543   #
17544   if test x"$ac_file" != x-; then
17545     {
17546       $as_echo "/* $configure_input  */" \
17547       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17548     } >"$ac_tmp/config.h" \
17549       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17550     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17551       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17552 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17553     else
17554       rm -f "$ac_file"
17555       mv "$ac_tmp/config.h" "$ac_file" \
17556         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17557     fi
17558   else
17559     $as_echo "/* $configure_input  */" \
17560       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17561       || as_fn_error $? "could not create -" "$LINENO" 5
17562   fi
17563 # Compute "$ac_file"'s index in $config_headers.
17564 _am_arg="$ac_file"
17565 _am_stamp_count=1
17566 for _am_header in $config_headers :; do
17567   case $_am_header in
17568     $_am_arg | $_am_arg:* )
17569       break ;;
17570     * )
17571       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17572   esac
17573 done
17574 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17575 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17576          X"$_am_arg" : 'X\(//\)[^/]' \| \
17577          X"$_am_arg" : 'X\(//\)$' \| \
17578          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17579 $as_echo X"$_am_arg" |
17580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17581             s//\1/
17582             q
17583           }
17584           /^X\(\/\/\)[^/].*/{
17585             s//\1/
17586             q
17587           }
17588           /^X\(\/\/\)$/{
17589             s//\1/
17590             q
17591           }
17592           /^X\(\/\).*/{
17593             s//\1/
17594             q
17595           }
17596           s/.*/./; q'`/stamp-h$_am_stamp_count
17597  ;;
17598
17599   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17600 $as_echo "$as_me: executing $ac_file commands" >&6;}
17601  ;;
17602   esac
17603
17604
17605   case $ac_file$ac_mode in
17606     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17607   # Older Autoconf quotes --file arguments for eval, but not when files
17608   # are listed without --file.  Let's play safe and only enable the eval
17609   # if we detect the quoting.
17610   case $CONFIG_FILES in
17611   *\'*) eval set x "$CONFIG_FILES" ;;
17612   *)   set x $CONFIG_FILES ;;
17613   esac
17614   shift
17615   for mf
17616   do
17617     # Strip MF so we end up with the name of the file.
17618     mf=`echo "$mf" | sed -e 's/:.*$//'`
17619     # Check whether this is an Automake generated Makefile or not.
17620     # We used to match only the files named 'Makefile.in', but
17621     # some people rename them; so instead we look at the file content.
17622     # Grep'ing the first line is not enough: some people post-process
17623     # each Makefile.in and add a new line on top of each file to say so.
17624     # Grep'ing the whole file is not good either: AIX grep has a line
17625     # limit of 2048, but all sed's we know have understand at least 4000.
17626     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17627       dirpart=`$as_dirname -- "$mf" ||
17628 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17629          X"$mf" : 'X\(//\)[^/]' \| \
17630          X"$mf" : 'X\(//\)$' \| \
17631          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17632 $as_echo X"$mf" |
17633     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17634             s//\1/
17635             q
17636           }
17637           /^X\(\/\/\)[^/].*/{
17638             s//\1/
17639             q
17640           }
17641           /^X\(\/\/\)$/{
17642             s//\1/
17643             q
17644           }
17645           /^X\(\/\).*/{
17646             s//\1/
17647             q
17648           }
17649           s/.*/./; q'`
17650     else
17651       continue
17652     fi
17653     # Extract the definition of DEPDIR, am__include, and am__quote
17654     # from the Makefile without running 'make'.
17655     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17656     test -z "$DEPDIR" && continue
17657     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17658     test -z "$am__include" && continue
17659     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17660     # Find all dependency output files, they are included files with
17661     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17662     # simplest approach to changing $(DEPDIR) to its actual value in the
17663     # expansion.
17664     for file in `sed -n "
17665       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17666          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17667       # Make sure the directory exists.
17668       test -f "$dirpart/$file" && continue
17669       fdir=`$as_dirname -- "$file" ||
17670 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17671          X"$file" : 'X\(//\)[^/]' \| \
17672          X"$file" : 'X\(//\)$' \| \
17673          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17674 $as_echo X"$file" |
17675     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17676             s//\1/
17677             q
17678           }
17679           /^X\(\/\/\)[^/].*/{
17680             s//\1/
17681             q
17682           }
17683           /^X\(\/\/\)$/{
17684             s//\1/
17685             q
17686           }
17687           /^X\(\/\).*/{
17688             s//\1/
17689             q
17690           }
17691           s/.*/./; q'`
17692       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17693       # echo "creating $dirpart/$file"
17694       echo '# dummy' > "$dirpart/$file"
17695     done
17696   done
17697 }
17698  ;;
17699     "libtool":C)
17700
17701     # See if we are running on zsh, and set the options which allow our
17702     # commands through without removal of \ escapes.
17703     if test -n "${ZSH_VERSION+set}" ; then
17704       setopt NO_GLOB_SUBST
17705     fi
17706
17707     cfgfile="${ofile}T"
17708     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17709     $RM "$cfgfile"
17710
17711     cat <<_LT_EOF >> "$cfgfile"
17712 #! $SHELL
17713
17714 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17715 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17716 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17717 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17718 #
17719 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17720 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17721 #                 Foundation, Inc.
17722 #   Written by Gordon Matzigkeit, 1996
17723 #
17724 #   This file is part of GNU Libtool.
17725 #
17726 # GNU Libtool is free software; you can redistribute it and/or
17727 # modify it under the terms of the GNU General Public License as
17728 # published by the Free Software Foundation; either version 2 of
17729 # the License, or (at your option) any later version.
17730 #
17731 # As a special exception to the GNU General Public License,
17732 # if you distribute this file as part of a program or library that
17733 # is built using GNU Libtool, you may include this file under the
17734 # same distribution terms that you use for the rest of that program.
17735 #
17736 # GNU Libtool is distributed in the hope that it will be useful,
17737 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17738 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17739 # GNU General Public License for more details.
17740 #
17741 # You should have received a copy of the GNU General Public License
17742 # along with GNU Libtool; see the file COPYING.  If not, a copy
17743 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17744 # obtained by writing to the Free Software Foundation, Inc.,
17745 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17746
17747
17748 # The names of the tagged configurations supported by this script.
17749 available_tags=""
17750
17751 # ### BEGIN LIBTOOL CONFIG
17752
17753 # Which release of libtool.m4 was used?
17754 macro_version=$macro_version
17755 macro_revision=$macro_revision
17756
17757 # Whether or not to build shared libraries.
17758 build_libtool_libs=$enable_shared
17759
17760 # Whether or not to build static libraries.
17761 build_old_libs=$enable_static
17762
17763 # What type of objects to build.
17764 pic_mode=$pic_mode
17765
17766 # Whether or not to optimize for fast installation.
17767 fast_install=$enable_fast_install
17768
17769 # Shell to use when invoking shell scripts.
17770 SHELL=$lt_SHELL
17771
17772 # An echo program that protects backslashes.
17773 ECHO=$lt_ECHO
17774
17775 # The PATH separator for the build system.
17776 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17777
17778 # The host system.
17779 host_alias=$host_alias
17780 host=$host
17781 host_os=$host_os
17782
17783 # The build system.
17784 build_alias=$build_alias
17785 build=$build
17786 build_os=$build_os
17787
17788 # A sed program that does not truncate output.
17789 SED=$lt_SED
17790
17791 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17792 Xsed="\$SED -e 1s/^X//"
17793
17794 # A grep program that handles long lines.
17795 GREP=$lt_GREP
17796
17797 # An ERE matcher.
17798 EGREP=$lt_EGREP
17799
17800 # A literal string matcher.
17801 FGREP=$lt_FGREP
17802
17803 # A BSD- or MS-compatible name lister.
17804 NM=$lt_NM
17805
17806 # Whether we need soft or hard links.
17807 LN_S=$lt_LN_S
17808
17809 # What is the maximum length of a command?
17810 max_cmd_len=$max_cmd_len
17811
17812 # Object file suffix (normally "o").
17813 objext=$ac_objext
17814
17815 # Executable file suffix (normally "").
17816 exeext=$exeext
17817
17818 # whether the shell understands "unset".
17819 lt_unset=$lt_unset
17820
17821 # turn spaces into newlines.
17822 SP2NL=$lt_lt_SP2NL
17823
17824 # turn newlines into spaces.
17825 NL2SP=$lt_lt_NL2SP
17826
17827 # convert \$build file names to \$host format.
17828 to_host_file_cmd=$lt_cv_to_host_file_cmd
17829
17830 # convert \$build files to toolchain format.
17831 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17832
17833 # An object symbol dumper.
17834 OBJDUMP=$lt_OBJDUMP
17835
17836 # Method to check whether dependent libraries are shared objects.
17837 deplibs_check_method=$lt_deplibs_check_method
17838
17839 # Command to use when deplibs_check_method = "file_magic".
17840 file_magic_cmd=$lt_file_magic_cmd
17841
17842 # How to find potential files when deplibs_check_method = "file_magic".
17843 file_magic_glob=$lt_file_magic_glob
17844
17845 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17846 want_nocaseglob=$lt_want_nocaseglob
17847
17848 # DLL creation program.
17849 DLLTOOL=$lt_DLLTOOL
17850
17851 # Command to associate shared and link libraries.
17852 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17853
17854 # The archiver.
17855 AR=$lt_AR
17856
17857 # Flags to create an archive.
17858 AR_FLAGS=$lt_AR_FLAGS
17859
17860 # How to feed a file listing to the archiver.
17861 archiver_list_spec=$lt_archiver_list_spec
17862
17863 # A symbol stripping program.
17864 STRIP=$lt_STRIP
17865
17866 # Commands used to install an old-style archive.
17867 RANLIB=$lt_RANLIB
17868 old_postinstall_cmds=$lt_old_postinstall_cmds
17869 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17870
17871 # Whether to use a lock for old archive extraction.
17872 lock_old_archive_extraction=$lock_old_archive_extraction
17873
17874 # A C compiler.
17875 LTCC=$lt_CC
17876
17877 # LTCC compiler flags.
17878 LTCFLAGS=$lt_CFLAGS
17879
17880 # Take the output of nm and produce a listing of raw symbols and C names.
17881 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17882
17883 # Transform the output of nm in a proper C declaration.
17884 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17885
17886 # Transform the output of nm in a C name address pair.
17887 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17888
17889 # Transform the output of nm in a C name address pair when lib prefix is needed.
17890 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17891
17892 # Specify filename containing input files for \$NM.
17893 nm_file_list_spec=$lt_nm_file_list_spec
17894
17895 # The root where to search for dependent libraries,and in which our libraries should be installed.
17896 lt_sysroot=$lt_sysroot
17897
17898 # The name of the directory that contains temporary libtool files.
17899 objdir=$objdir
17900
17901 # Used to examine libraries when file_magic_cmd begins with "file".
17902 MAGIC_CMD=$MAGIC_CMD
17903
17904 # Must we lock files when doing compilation?
17905 need_locks=$lt_need_locks
17906
17907 # Manifest tool.
17908 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17909
17910 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17911 DSYMUTIL=$lt_DSYMUTIL
17912
17913 # Tool to change global to local symbols on Mac OS X.
17914 NMEDIT=$lt_NMEDIT
17915
17916 # Tool to manipulate fat objects and archives on Mac OS X.
17917 LIPO=$lt_LIPO
17918
17919 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17920 OTOOL=$lt_OTOOL
17921
17922 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17923 OTOOL64=$lt_OTOOL64
17924
17925 # Old archive suffix (normally "a").
17926 libext=$libext
17927
17928 # Shared library suffix (normally ".so").
17929 shrext_cmds=$lt_shrext_cmds
17930
17931 # The commands to extract the exported symbol list from a shared archive.
17932 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17933
17934 # Variables whose values should be saved in libtool wrapper scripts and
17935 # restored at link time.
17936 variables_saved_for_relink=$lt_variables_saved_for_relink
17937
17938 # Do we need the "lib" prefix for modules?
17939 need_lib_prefix=$need_lib_prefix
17940
17941 # Do we need a version for libraries?
17942 need_version=$need_version
17943
17944 # Library versioning type.
17945 version_type=$version_type
17946
17947 # Shared library runtime path variable.
17948 runpath_var=$runpath_var
17949
17950 # Shared library path variable.
17951 shlibpath_var=$shlibpath_var
17952
17953 # Is shlibpath searched before the hard-coded library search path?
17954 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17955
17956 # Format of library name prefix.
17957 libname_spec=$lt_libname_spec
17958
17959 # List of archive names.  First name is the real one, the rest are links.
17960 # The last name is the one that the linker finds with -lNAME
17961 library_names_spec=$lt_library_names_spec
17962
17963 # The coded name of the library, if different from the real name.
17964 soname_spec=$lt_soname_spec
17965
17966 # Permission mode override for installation of shared libraries.
17967 install_override_mode=$lt_install_override_mode
17968
17969 # Command to use after installation of a shared archive.
17970 postinstall_cmds=$lt_postinstall_cmds
17971
17972 # Command to use after uninstallation of a shared archive.
17973 postuninstall_cmds=$lt_postuninstall_cmds
17974
17975 # Commands used to finish a libtool library installation in a directory.
17976 finish_cmds=$lt_finish_cmds
17977
17978 # As "finish_cmds", except a single script fragment to be evaled but
17979 # not shown.
17980 finish_eval=$lt_finish_eval
17981
17982 # Whether we should hardcode library paths into libraries.
17983 hardcode_into_libs=$hardcode_into_libs
17984
17985 # Compile-time system search path for libraries.
17986 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17987
17988 # Run-time system search path for libraries.
17989 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17990
17991 # Whether dlopen is supported.
17992 dlopen_support=$enable_dlopen
17993
17994 # Whether dlopen of programs is supported.
17995 dlopen_self=$enable_dlopen_self
17996
17997 # Whether dlopen of statically linked programs is supported.
17998 dlopen_self_static=$enable_dlopen_self_static
17999
18000 # Commands to strip libraries.
18001 old_striplib=$lt_old_striplib
18002 striplib=$lt_striplib
18003
18004
18005 # The linker used to build libraries.
18006 LD=$lt_LD
18007
18008 # How to create reloadable object files.
18009 reload_flag=$lt_reload_flag
18010 reload_cmds=$lt_reload_cmds
18011
18012 # Commands used to build an old-style archive.
18013 old_archive_cmds=$lt_old_archive_cmds
18014
18015 # A language specific compiler.
18016 CC=$lt_compiler
18017
18018 # Is the compiler the GNU compiler?
18019 with_gcc=$GCC
18020
18021 # Compiler flag to turn off builtin functions.
18022 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18023
18024 # Additional compiler flags for building library objects.
18025 pic_flag=$lt_lt_prog_compiler_pic
18026
18027 # How to pass a linker flag through the compiler.
18028 wl=$lt_lt_prog_compiler_wl
18029
18030 # Compiler flag to prevent dynamic linking.
18031 link_static_flag=$lt_lt_prog_compiler_static
18032
18033 # Does compiler simultaneously support -c and -o options?
18034 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18035
18036 # Whether or not to add -lc for building shared libraries.
18037 build_libtool_need_lc=$archive_cmds_need_lc
18038
18039 # Whether or not to disallow shared libs when runtime libs are static.
18040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18041
18042 # Compiler flag to allow reflexive dlopens.
18043 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18044
18045 # Compiler flag to generate shared objects directly from archives.
18046 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18047
18048 # Whether the compiler copes with passing no objects directly.
18049 compiler_needs_object=$lt_compiler_needs_object
18050
18051 # Create an old-style archive from a shared archive.
18052 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18053
18054 # Create a temporary old-style archive to link instead of a shared archive.
18055 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18056
18057 # Commands used to build a shared archive.
18058 archive_cmds=$lt_archive_cmds
18059 archive_expsym_cmds=$lt_archive_expsym_cmds
18060
18061 # Commands used to build a loadable module if different from building
18062 # a shared archive.
18063 module_cmds=$lt_module_cmds
18064 module_expsym_cmds=$lt_module_expsym_cmds
18065
18066 # Whether we are building with GNU ld or not.
18067 with_gnu_ld=$lt_with_gnu_ld
18068
18069 # Flag that allows shared libraries with undefined symbols to be built.
18070 allow_undefined_flag=$lt_allow_undefined_flag
18071
18072 # Flag that enforces no undefined symbols.
18073 no_undefined_flag=$lt_no_undefined_flag
18074
18075 # Flag to hardcode \$libdir into a binary during linking.
18076 # This must work even if \$libdir does not exist
18077 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18078
18079 # Whether we need a single "-rpath" flag with a separated argument.
18080 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18081
18082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18083 # DIR into the resulting binary.
18084 hardcode_direct=$hardcode_direct
18085
18086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18087 # DIR into the resulting binary and the resulting library dependency is
18088 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18089 # library is relocated.
18090 hardcode_direct_absolute=$hardcode_direct_absolute
18091
18092 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18093 # into the resulting binary.
18094 hardcode_minus_L=$hardcode_minus_L
18095
18096 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18097 # into the resulting binary.
18098 hardcode_shlibpath_var=$hardcode_shlibpath_var
18099
18100 # Set to "yes" if building a shared library automatically hardcodes DIR
18101 # into the library and all subsequent libraries and executables linked
18102 # against it.
18103 hardcode_automatic=$hardcode_automatic
18104
18105 # Set to yes if linker adds runtime paths of dependent libraries
18106 # to runtime path list.
18107 inherit_rpath=$inherit_rpath
18108
18109 # Whether libtool must link a program against all its dependency libraries.
18110 link_all_deplibs=$link_all_deplibs
18111
18112 # Set to "yes" if exported symbols are required.
18113 always_export_symbols=$always_export_symbols
18114
18115 # The commands to list exported symbols.
18116 export_symbols_cmds=$lt_export_symbols_cmds
18117
18118 # Symbols that should not be listed in the preloaded symbols.
18119 exclude_expsyms=$lt_exclude_expsyms
18120
18121 # Symbols that must always be exported.
18122 include_expsyms=$lt_include_expsyms
18123
18124 # Commands necessary for linking programs (against libraries) with templates.
18125 prelink_cmds=$lt_prelink_cmds
18126
18127 # Commands necessary for finishing linking programs.
18128 postlink_cmds=$lt_postlink_cmds
18129
18130 # Specify filename containing input files.
18131 file_list_spec=$lt_file_list_spec
18132
18133 # How to hardcode a shared library path into an executable.
18134 hardcode_action=$hardcode_action
18135
18136 # ### END LIBTOOL CONFIG
18137
18138 _LT_EOF
18139
18140   case $host_os in
18141   aix3*)
18142     cat <<\_LT_EOF >> "$cfgfile"
18143 # AIX sometimes has problems with the GCC collect2 program.  For some
18144 # reason, if we set the COLLECT_NAMES environment variable, the problems
18145 # vanish in a puff of smoke.
18146 if test "X${COLLECT_NAMES+set}" != Xset; then
18147   COLLECT_NAMES=
18148   export COLLECT_NAMES
18149 fi
18150 _LT_EOF
18151     ;;
18152   esac
18153
18154
18155 ltmain="$ac_aux_dir/ltmain.sh"
18156
18157
18158   # We use sed instead of cat because bash on DJGPP gets confused if
18159   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18160   # text mode, it properly converts lines to CR/LF.  This bash problem
18161   # is reportedly fixed, but why not run on old versions too?
18162   sed '$q' "$ltmain" >> "$cfgfile" \
18163      || (rm -f "$cfgfile"; exit 1)
18164
18165   if test x"$xsi_shell" = xyes; then
18166   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18167 func_dirname ()\
18168 {\
18169 \    case ${1} in\
18170 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18171 \      *  ) func_dirname_result="${3}" ;;\
18172 \    esac\
18173 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18174   && mv -f "$cfgfile.tmp" "$cfgfile" \
18175     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18176 test 0 -eq $? || _lt_function_replace_fail=:
18177
18178
18179   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18180 func_basename ()\
18181 {\
18182 \    func_basename_result="${1##*/}"\
18183 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18184   && mv -f "$cfgfile.tmp" "$cfgfile" \
18185     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18186 test 0 -eq $? || _lt_function_replace_fail=:
18187
18188
18189   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18190 func_dirname_and_basename ()\
18191 {\
18192 \    case ${1} in\
18193 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18194 \      *  ) func_dirname_result="${3}" ;;\
18195 \    esac\
18196 \    func_basename_result="${1##*/}"\
18197 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18198   && mv -f "$cfgfile.tmp" "$cfgfile" \
18199     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18200 test 0 -eq $? || _lt_function_replace_fail=:
18201
18202
18203   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18204 func_stripname ()\
18205 {\
18206 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18207 \    # positional parameters, so assign one to ordinary parameter first.\
18208 \    func_stripname_result=${3}\
18209 \    func_stripname_result=${func_stripname_result#"${1}"}\
18210 \    func_stripname_result=${func_stripname_result%"${2}"}\
18211 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18212   && mv -f "$cfgfile.tmp" "$cfgfile" \
18213     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18214 test 0 -eq $? || _lt_function_replace_fail=:
18215
18216
18217   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18218 func_split_long_opt ()\
18219 {\
18220 \    func_split_long_opt_name=${1%%=*}\
18221 \    func_split_long_opt_arg=${1#*=}\
18222 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18223   && mv -f "$cfgfile.tmp" "$cfgfile" \
18224     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18225 test 0 -eq $? || _lt_function_replace_fail=:
18226
18227
18228   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18229 func_split_short_opt ()\
18230 {\
18231 \    func_split_short_opt_arg=${1#??}\
18232 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18233 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18234   && mv -f "$cfgfile.tmp" "$cfgfile" \
18235     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18236 test 0 -eq $? || _lt_function_replace_fail=:
18237
18238
18239   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18240 func_lo2o ()\
18241 {\
18242 \    case ${1} in\
18243 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18244 \      *)    func_lo2o_result=${1} ;;\
18245 \    esac\
18246 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18247   && mv -f "$cfgfile.tmp" "$cfgfile" \
18248     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18249 test 0 -eq $? || _lt_function_replace_fail=:
18250
18251
18252   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18253 func_xform ()\
18254 {\
18255     func_xform_result=${1%.*}.lo\
18256 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18257   && mv -f "$cfgfile.tmp" "$cfgfile" \
18258     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18259 test 0 -eq $? || _lt_function_replace_fail=:
18260
18261
18262   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18263 func_arith ()\
18264 {\
18265     func_arith_result=$(( $* ))\
18266 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18267   && mv -f "$cfgfile.tmp" "$cfgfile" \
18268     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18269 test 0 -eq $? || _lt_function_replace_fail=:
18270
18271
18272   sed -e '/^func_len ()$/,/^} # func_len /c\
18273 func_len ()\
18274 {\
18275     func_len_result=${#1}\
18276 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18277   && mv -f "$cfgfile.tmp" "$cfgfile" \
18278     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18279 test 0 -eq $? || _lt_function_replace_fail=:
18280
18281 fi
18282
18283 if test x"$lt_shell_append" = xyes; then
18284   sed -e '/^func_append ()$/,/^} # func_append /c\
18285 func_append ()\
18286 {\
18287     eval "${1}+=\\${2}"\
18288 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18289   && mv -f "$cfgfile.tmp" "$cfgfile" \
18290     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18291 test 0 -eq $? || _lt_function_replace_fail=:
18292
18293
18294   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18295 func_append_quoted ()\
18296 {\
18297 \    func_quote_for_eval "${2}"\
18298 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18299 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18300   && mv -f "$cfgfile.tmp" "$cfgfile" \
18301     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18302 test 0 -eq $? || _lt_function_replace_fail=:
18303
18304
18305   # Save a `func_append' function call where possible by direct use of '+='
18306   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18307     && mv -f "$cfgfile.tmp" "$cfgfile" \
18308       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18309   test 0 -eq $? || _lt_function_replace_fail=:
18310 else
18311   # Save a `func_append' function call even when '+=' is not available
18312   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18313     && mv -f "$cfgfile.tmp" "$cfgfile" \
18314       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18315   test 0 -eq $? || _lt_function_replace_fail=:
18316 fi
18317
18318 if test x"$_lt_function_replace_fail" = x":"; then
18319   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18320 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18321 fi
18322
18323
18324    mv -f "$cfgfile" "$ofile" ||
18325     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18326   chmod +x "$ofile"
18327
18328  ;;
18329     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18330         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18331       esac ;;
18332     "po/stamp-it":C)
18333     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18334        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18335     fi
18336     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18337     >"po/stamp-it.tmp"
18338     sed '/^#/d
18339          s/^[[].*] *//
18340          /^[    ]*$/d
18341         '"s|^|  $ac_top_srcdir/|" \
18342       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18343
18344     sed '/^POTFILES =/,/[^\\]$/ {
18345                 /^POTFILES =/!d
18346                 r po/POTFILES
18347           }
18348          ' "po/Makefile.in" >"po/Makefile"
18349     rm -f "po/Makefile.tmp"
18350     mv "po/stamp-it.tmp" "po/stamp-it"
18351    ;;
18352
18353   esac
18354 done # for ac_tag
18355
18356
18357 as_fn_exit 0
18358 _ACEOF
18359 ac_clean_files=$ac_clean_files_save
18360
18361 test $ac_write_fail = 0 ||
18362   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18363
18364
18365 # configure is writing to config.log, and then calls config.status.
18366 # config.status does its own redirection, appending to config.log.
18367 # Unfortunately, on DOS this fails, as config.log is still kept open
18368 # by configure, so config.status won't be able to write to it; its
18369 # output is simply discarded.  So we exec the FD to /dev/null,
18370 # effectively closing config.log, so it can be properly (re)opened and
18371 # appended to by config.status.  When coming back to configure, we
18372 # need to make the FD available again.
18373 if test "$no_create" != yes; then
18374   ac_cs_success=:
18375   ac_config_status_args=
18376   test "$silent" = yes &&
18377     ac_config_status_args="$ac_config_status_args --quiet"
18378   exec 5>/dev/null
18379   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18380   exec 5>>config.log
18381   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18382   # would make configure fail if this is the last instruction.
18383   $ac_cs_success || as_fn_exit 1
18384 fi
18385 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18386   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18387 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18388 fi
18389
18390
18391
18392 echo "
18393
18394 Configuration:
18395
18396         Package ................. ${PACKAGE}-${VERSION}
18397         Installation prefix ..... ${prefix}
18398         Source code location .... ${srcdir}
18399         Compiler ................ ${CC}
18400
18401
18402 Optional data merge backends:
18403
18404         Evolution Data Server ... ${have_libebook}
18405
18406
18407 Optional barcode backends:
18408
18409         GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
18410         QR Code ................. ${have_libqrencode} ${help_libqrencode}
18411         IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
18412         Zint .................... ${have_libzint} ${help_libzint}
18413
18414
18415 "