]> git.sur5r.net Git - glabels/blob - configure
Upload to unstable
[glabels] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for glabels 3.4.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311   return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319   set +e
320   as_fn_set_status $1
321   exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330   case $as_dir in #(
331   -*) as_dir=./$as_dir;;
332   esac
333   test -d "$as_dir" || eval $as_mkdir_p || {
334     as_dirs=
335     while :; do
336       case $as_dir in #(
337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338       *) as_qdir=$as_dir;;
339       esac
340       as_dirs="'$as_qdir' $as_dirs"
341       as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343          X"$as_dir" : 'X\(//\)[^/]' \| \
344          X"$as_dir" : 'X\(//\)$' \| \
345          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)[^/].*/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)$/{
356             s//\1/
357             q
358           }
359           /^X\(\/\).*/{
360             s//\1/
361             q
362           }
363           s/.*/./; q'`
364       test -d "$as_dir" && break
365     done
366     test -z "$as_dirs" || eval "mkdir $as_dirs"
367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377   test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386   eval 'as_fn_append ()
387   {
388     eval $1+=\$2
389   }'
390 else
391   as_fn_append ()
392   {
393     eval $1=\$$1\$2
394   }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403   eval 'as_fn_arith ()
404   {
405     as_val=$(( $* ))
406   }'
407 else
408   as_fn_arith ()
409   {
410     as_val=`expr "$@" || test $? -eq 1`
411   }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422   as_status=$1; test $as_status -eq 0 && as_status=1
423   if test "$4"; then
424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426   fi
427   $as_echo "$as_me: error: $2" >&2
428   as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
433   as_expr=expr
434 else
435   as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439   as_basename=basename
440 else
441   as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445   as_dirname=dirname
446 else
447   as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452          X"$0" : 'X\(//\)$' \| \
453          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455     sed '/^.*\/\([^/][^/]*\)\/*$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\/\)$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\).*/{
464             s//\1/
465             q
466           }
467           s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482   sed -n '
483     p
484     /[$]LINENO/=
485   ' <$as_myself |
486     sed '
487       s/[$]LINENO.*/&-/
488       t lineno
489       b
490       :lineno
491       N
492       :loop
493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494       t loop
495       s/-\n.*//
496     ' >$as_me.lineno &&
497   chmod +x "$as_me.lineno" ||
498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501   # already done that, so ensure we don't try to do so again and fall
502   # in an infinite loop.  This has already happened in practice.
503   _as_can_reexec=no; export _as_can_reexec
504   # Don't try to exec as it changes $[0], causing all sort of problems
505   # (the dirname of $[0] is not the place where we might find the
506   # original and so on.  Autoconf is especially sensitive to this).
507   . "./$as_me.lineno"
508   # Exit status is that of the last command.
509   exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515   case `echo 'xy\c'` in
516   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517   xy)  ECHO_C='\c';;
518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519        ECHO_T=' ';;
520   esac;;
521 *)
522   ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527   rm -f conf$$.dir/conf$$.file
528 else
529   rm -f conf$$.dir
530   mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533   if ln -s conf$$.file conf$$ 2>/dev/null; then
534     as_ln_s='ln -s'
535     # ... but there are two gotchas:
536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538     # In both cases, we have to default to `cp -pR'.
539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540       as_ln_s='cp -pR'
541   elif ln conf$$.file conf$$ 2>/dev/null; then
542     as_ln_s=ln
543   else
544     as_ln_s='cp -pR'
545   fi
546 else
547   as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553   as_mkdir_p='mkdir -p "$as_dir"'
554 else
555   test -d ./-p && rmdir ./-p
556   as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='glabels'
593 PACKAGE_TARNAME='glabels'
594 PACKAGE_VERSION='3.4.0'
595 PACKAGE_STRING='glabels 3.4.0'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
597 PACKAGE_URL=''
598
599 ac_unique_file="src/glabels.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 #  include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #  include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 MKINSTALLDIRS
641 POSUB
642 POFILES
643 PO_IN_DATADIR_FALSE
644 PO_IN_DATADIR_TRUE
645 INTLLIBS
646 INSTOBJEXT
647 GMOFILES
648 DATADIRNAME
649 CATOBJEXT
650 CATALOGS
651 MSGFMT_OPTS
652 GETTEXT_PACKAGE
653 DISABLE_DEPRECATED_CFLAGS
654 LIBIEC16022_LIBS
655 LIBIEC16022_CFLAGS
656 LIBQRENCODE_LIBS
657 LIBQRENCODE_CFLAGS
658 LIBZINT_LIBS
659 LIBZINT_CFLAGS
660 LIBBARCODE_LIBS
661 LIBBARCODE_CFLAGS
662 LIBEBOOK_LIBS
663 LIBEBOOK_CFLAGS
664 LIBGLBARCODE_LIBS
665 LIBGLBARCODE_CFLAGS
666 LIBGLABELS_LIBS
667 LIBGLABELS_CFLAGS
668 GLABELS_LIBS
669 GLABELS_CFLAGS
670 LIBZINT_REQUIRED
671 LIBIEC16022_REQUIRED
672 LIBQRENCODE_REQUIRED
673 LIBBARCODE_REQUIRED
674 LIBEBOOK_REQUIRED
675 PANGO_REQUIRED
676 CAIRO_REQUIRED
677 LIBRSVG_REQUIRED
678 LIBXML_REQUIRED
679 GTK_REQUIRED
680 GLIB_REQUIRED
681 LIBGLBARCODE_API_VERSION
682 LIBGLABELS_API_VERSION
683 LIBGLBARCODE_BRANCH
684 LIBGLABELS_BRANCH
685 GLABELS_BRANCH
686 GTK_UPDATE_ICON_CACHE
687 GDK_PIXBUF_CSOURCE
688 GLIB_GENMARSHAL
689 WARN_CFLAGS
690 GSETTINGS_RULES
691 GLIB_COMPILE_SCHEMAS
692 gsettingsschemadir
693 GSETTINGS_DISABLE_SCHEMAS_COMPILE
694 GTK_DOC_USE_REBASE_FALSE
695 GTK_DOC_USE_REBASE_TRUE
696 GTK_DOC_USE_LIBTOOL_FALSE
697 GTK_DOC_USE_LIBTOOL_TRUE
698 GTK_DOC_BUILD_PDF_FALSE
699 GTK_DOC_BUILD_PDF_TRUE
700 GTK_DOC_BUILD_HTML_FALSE
701 GTK_DOC_BUILD_HTML_TRUE
702 ENABLE_GTK_DOC_FALSE
703 ENABLE_GTK_DOC_TRUE
704 HAVE_GTK_DOC_FALSE
705 HAVE_GTK_DOC_TRUE
706 GTKDOC_DEPS_LIBS
707 GTKDOC_DEPS_CFLAGS
708 HTML_DIR
709 GTKDOC_MKPDF
710 GTKDOC_REBASE
711 GTKDOC_CHECK_PATH
712 GTKDOC_CHECK
713 YELP_HELP_RULES
714 XMLLINT
715 ITSTOOL
716 HELP_DIR
717 YELP_LC_DIST
718 YELP_LC_MEDIA_LINKS
719 CPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 MANIFEST_TOOL
726 RANLIB
727 ac_ct_AR
728 AR
729 DLLTOOL
730 OBJDUMP
731 LN_S
732 NM
733 ac_ct_DUMPBIN
734 DUMPBIN
735 LD
736 FGREP
737 EGREP
738 GREP
739 SED
740 am__fastdepCC_FALSE
741 am__fastdepCC_TRUE
742 CCDEPMODE
743 am__nodep
744 AMDEPBACKSLASH
745 AMDEP_FALSE
746 AMDEP_TRUE
747 am__quote
748 am__include
749 DEPDIR
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 LIBTOOL
766 PKG_CONFIG_LIBDIR
767 PKG_CONFIG_PATH
768 PKG_CONFIG
769 ALL_LINGUAS
770 INTLTOOL_PERL
771 GMSGFMT
772 MSGFMT
773 MSGMERGE
774 XGETTEXT
775 INTLTOOL_POLICY_RULE
776 INTLTOOL_SERVICE_RULE
777 INTLTOOL_THEME_RULE
778 INTLTOOL_SCHEMAS_RULE
779 INTLTOOL_CAVES_RULE
780 INTLTOOL_XML_NOMERGE_RULE
781 INTLTOOL_XML_RULE
782 INTLTOOL_KBD_RULE
783 INTLTOOL_XAM_RULE
784 INTLTOOL_UI_RULE
785 INTLTOOL_SOUNDLIST_RULE
786 INTLTOOL_SHEET_RULE
787 INTLTOOL_SERVER_RULE
788 INTLTOOL_PONG_RULE
789 INTLTOOL_OAF_RULE
790 INTLTOOL_PROP_RULE
791 INTLTOOL_KEYS_RULE
792 INTLTOOL_DIRECTORY_RULE
793 INTLTOOL_DESKTOP_RULE
794 intltool__v_merge_options_0
795 intltool__v_merge_options_
796 INTLTOOL_V_MERGE_OPTIONS
797 INTLTOOL__v_MERGE_0
798 INTLTOOL__v_MERGE_
799 INTLTOOL_V_MERGE
800 INTLTOOL_EXTRACT
801 INTLTOOL_MERGE
802 INTLTOOL_UPDATE
803 USE_NLS
804 MAINT
805 MAINTAINER_MODE_FALSE
806 MAINTAINER_MODE_TRUE
807 AM_BACKSLASH
808 AM_DEFAULT_VERBOSITY
809 AM_DEFAULT_V
810 AM_V
811 am__untar
812 am__tar
813 AMTAR
814 am__leading_dot
815 SET_MAKE
816 AWK
817 mkdir_p
818 MKDIR_P
819 INSTALL_STRIP_PROGRAM
820 STRIP
821 install_sh
822 MAKEINFO
823 AUTOHEADER
824 AUTOMAKE
825 AUTOCONF
826 ACLOCAL
827 VERSION
828 PACKAGE
829 CYGPATH_W
830 am__isrc
831 INSTALL_DATA
832 INSTALL_SCRIPT
833 INSTALL_PROGRAM
834 target_alias
835 host_alias
836 build_alias
837 LIBS
838 ECHO_T
839 ECHO_N
840 ECHO_C
841 DEFS
842 mandir
843 localedir
844 libdir
845 psdir
846 pdfdir
847 dvidir
848 htmldir
849 infodir
850 docdir
851 oldincludedir
852 includedir
853 localstatedir
854 sharedstatedir
855 sysconfdir
856 datadir
857 datarootdir
858 libexecdir
859 sbindir
860 bindir
861 program_transform_name
862 prefix
863 exec_prefix
864 PACKAGE_URL
865 PACKAGE_BUGREPORT
866 PACKAGE_STRING
867 PACKAGE_VERSION
868 PACKAGE_TARNAME
869 PACKAGE_NAME
870 PATH_SEPARATOR
871 SHELL'
872 ac_subst_files=''
873 ac_user_opts='
874 enable_option_checking
875 enable_silent_rules
876 enable_maintainer_mode
877 enable_nls
878 enable_shared
879 enable_static
880 with_pic
881 enable_fast_install
882 enable_dependency_tracking
883 with_gnu_ld
884 with_sysroot
885 enable_libtool_lock
886 with_help_dir
887 with_html_dir
888 enable_gtk_doc
889 enable_gtk_doc_html
890 enable_gtk_doc_pdf
891 enable_schemas_compile
892 enable_compile_warnings
893 enable_iso_c
894 with_libebook
895 with_libbarcode
896 with_libzint
897 with_libqrencode
898 with_libiec16022
899 enable_deprecations
900 '
901       ac_precious_vars='build_alias
902 host_alias
903 target_alias
904 PKG_CONFIG
905 PKG_CONFIG_PATH
906 PKG_CONFIG_LIBDIR
907 CC
908 CFLAGS
909 LDFLAGS
910 LIBS
911 CPPFLAGS
912 CPP
913 ITSTOOL
914 XMLLINT
915 GTKDOC_DEPS_CFLAGS
916 GTKDOC_DEPS_LIBS
917 GLABELS_CFLAGS
918 GLABELS_LIBS
919 LIBGLABELS_CFLAGS
920 LIBGLABELS_LIBS
921 LIBGLBARCODE_CFLAGS
922 LIBGLBARCODE_LIBS
923 LIBEBOOK_CFLAGS
924 LIBEBOOK_LIBS
925 LIBQRENCODE_CFLAGS
926 LIBQRENCODE_LIBS
927 LIBIEC16022_CFLAGS
928 LIBIEC16022_LIBS'
929
930
931 # Initialize some variables set by options.
932 ac_init_help=
933 ac_init_version=false
934 ac_unrecognized_opts=
935 ac_unrecognized_sep=
936 # The variables have the same names as the options, with
937 # dashes changed to underlines.
938 cache_file=/dev/null
939 exec_prefix=NONE
940 no_create=
941 no_recursion=
942 prefix=NONE
943 program_prefix=NONE
944 program_suffix=NONE
945 program_transform_name=s,x,x,
946 silent=
947 site=
948 srcdir=
949 verbose=
950 x_includes=NONE
951 x_libraries=NONE
952
953 # Installation directory options.
954 # These are left unexpanded so users can "make install exec_prefix=/foo"
955 # and all the variables that are supposed to be based on exec_prefix
956 # by default will actually change.
957 # Use braces instead of parens because sh, perl, etc. also accept them.
958 # (The list follows the same order as the GNU Coding Standards.)
959 bindir='${exec_prefix}/bin'
960 sbindir='${exec_prefix}/sbin'
961 libexecdir='${exec_prefix}/libexec'
962 datarootdir='${prefix}/share'
963 datadir='${datarootdir}'
964 sysconfdir='${prefix}/etc'
965 sharedstatedir='${prefix}/com'
966 localstatedir='${prefix}/var'
967 includedir='${prefix}/include'
968 oldincludedir='/usr/include'
969 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
970 infodir='${datarootdir}/info'
971 htmldir='${docdir}'
972 dvidir='${docdir}'
973 pdfdir='${docdir}'
974 psdir='${docdir}'
975 libdir='${exec_prefix}/lib'
976 localedir='${datarootdir}/locale'
977 mandir='${datarootdir}/man'
978
979 ac_prev=
980 ac_dashdash=
981 for ac_option
982 do
983   # If the previous option needs an argument, assign it.
984   if test -n "$ac_prev"; then
985     eval $ac_prev=\$ac_option
986     ac_prev=
987     continue
988   fi
989
990   case $ac_option in
991   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992   *=)   ac_optarg= ;;
993   *)    ac_optarg=yes ;;
994   esac
995
996   # Accept the important Cygnus configure options, so we can diagnose typos.
997
998   case $ac_dashdash$ac_option in
999   --)
1000     ac_dashdash=yes ;;
1001
1002   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1003     ac_prev=bindir ;;
1004   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1005     bindir=$ac_optarg ;;
1006
1007   -build | --build | --buil | --bui | --bu)
1008     ac_prev=build_alias ;;
1009   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1010     build_alias=$ac_optarg ;;
1011
1012   -cache-file | --cache-file | --cache-fil | --cache-fi \
1013   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1014     ac_prev=cache_file ;;
1015   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1016   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1017     cache_file=$ac_optarg ;;
1018
1019   --config-cache | -C)
1020     cache_file=config.cache ;;
1021
1022   -datadir | --datadir | --datadi | --datad)
1023     ac_prev=datadir ;;
1024   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1025     datadir=$ac_optarg ;;
1026
1027   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1028   | --dataroo | --dataro | --datar)
1029     ac_prev=datarootdir ;;
1030   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1031   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1032     datarootdir=$ac_optarg ;;
1033
1034   -disable-* | --disable-*)
1035     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1036     # Reject names that are not valid shell variable names.
1037     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038       as_fn_error $? "invalid feature name: $ac_useropt"
1039     ac_useropt_orig=$ac_useropt
1040     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041     case $ac_user_opts in
1042       *"
1043 "enable_$ac_useropt"
1044 "*) ;;
1045       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1046          ac_unrecognized_sep=', ';;
1047     esac
1048     eval enable_$ac_useropt=no ;;
1049
1050   -docdir | --docdir | --docdi | --doc | --do)
1051     ac_prev=docdir ;;
1052   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1053     docdir=$ac_optarg ;;
1054
1055   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1056     ac_prev=dvidir ;;
1057   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1058     dvidir=$ac_optarg ;;
1059
1060   -enable-* | --enable-*)
1061     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1062     # Reject names that are not valid shell variable names.
1063     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064       as_fn_error $? "invalid feature name: $ac_useropt"
1065     ac_useropt_orig=$ac_useropt
1066     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067     case $ac_user_opts in
1068       *"
1069 "enable_$ac_useropt"
1070 "*) ;;
1071       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1072          ac_unrecognized_sep=', ';;
1073     esac
1074     eval enable_$ac_useropt=\$ac_optarg ;;
1075
1076   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1077   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1078   | --exec | --exe | --ex)
1079     ac_prev=exec_prefix ;;
1080   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1081   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1082   | --exec=* | --exe=* | --ex=*)
1083     exec_prefix=$ac_optarg ;;
1084
1085   -gas | --gas | --ga | --g)
1086     # Obsolete; use --with-gas.
1087     with_gas=yes ;;
1088
1089   -help | --help | --hel | --he | -h)
1090     ac_init_help=long ;;
1091   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1092     ac_init_help=recursive ;;
1093   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1094     ac_init_help=short ;;
1095
1096   -host | --host | --hos | --ho)
1097     ac_prev=host_alias ;;
1098   -host=* | --host=* | --hos=* | --ho=*)
1099     host_alias=$ac_optarg ;;
1100
1101   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1102     ac_prev=htmldir ;;
1103   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1104   | --ht=*)
1105     htmldir=$ac_optarg ;;
1106
1107   -includedir | --includedir | --includedi | --included | --include \
1108   | --includ | --inclu | --incl | --inc)
1109     ac_prev=includedir ;;
1110   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1111   | --includ=* | --inclu=* | --incl=* | --inc=*)
1112     includedir=$ac_optarg ;;
1113
1114   -infodir | --infodir | --infodi | --infod | --info | --inf)
1115     ac_prev=infodir ;;
1116   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1117     infodir=$ac_optarg ;;
1118
1119   -libdir | --libdir | --libdi | --libd)
1120     ac_prev=libdir ;;
1121   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1122     libdir=$ac_optarg ;;
1123
1124   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1125   | --libexe | --libex | --libe)
1126     ac_prev=libexecdir ;;
1127   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1128   | --libexe=* | --libex=* | --libe=*)
1129     libexecdir=$ac_optarg ;;
1130
1131   -localedir | --localedir | --localedi | --localed | --locale)
1132     ac_prev=localedir ;;
1133   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1134     localedir=$ac_optarg ;;
1135
1136   -localstatedir | --localstatedir | --localstatedi | --localstated \
1137   | --localstate | --localstat | --localsta | --localst | --locals)
1138     ac_prev=localstatedir ;;
1139   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1140   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1141     localstatedir=$ac_optarg ;;
1142
1143   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1144     ac_prev=mandir ;;
1145   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1146     mandir=$ac_optarg ;;
1147
1148   -nfp | --nfp | --nf)
1149     # Obsolete; use --without-fp.
1150     with_fp=no ;;
1151
1152   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1153   | --no-cr | --no-c | -n)
1154     no_create=yes ;;
1155
1156   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1157   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158     no_recursion=yes ;;
1159
1160   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1161   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1162   | --oldin | --oldi | --old | --ol | --o)
1163     ac_prev=oldincludedir ;;
1164   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1165   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1166   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1167     oldincludedir=$ac_optarg ;;
1168
1169   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1170     ac_prev=prefix ;;
1171   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1172     prefix=$ac_optarg ;;
1173
1174   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1175   | --program-pre | --program-pr | --program-p)
1176     ac_prev=program_prefix ;;
1177   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1178   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1179     program_prefix=$ac_optarg ;;
1180
1181   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1182   | --program-suf | --program-su | --program-s)
1183     ac_prev=program_suffix ;;
1184   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1185   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1186     program_suffix=$ac_optarg ;;
1187
1188   -program-transform-name | --program-transform-name \
1189   | --program-transform-nam | --program-transform-na \
1190   | --program-transform-n | --program-transform- \
1191   | --program-transform | --program-transfor \
1192   | --program-transfo | --program-transf \
1193   | --program-trans | --program-tran \
1194   | --progr-tra | --program-tr | --program-t)
1195     ac_prev=program_transform_name ;;
1196   -program-transform-name=* | --program-transform-name=* \
1197   | --program-transform-nam=* | --program-transform-na=* \
1198   | --program-transform-n=* | --program-transform-=* \
1199   | --program-transform=* | --program-transfor=* \
1200   | --program-transfo=* | --program-transf=* \
1201   | --program-trans=* | --program-tran=* \
1202   | --progr-tra=* | --program-tr=* | --program-t=*)
1203     program_transform_name=$ac_optarg ;;
1204
1205   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1206     ac_prev=pdfdir ;;
1207   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1208     pdfdir=$ac_optarg ;;
1209
1210   -psdir | --psdir | --psdi | --psd | --ps)
1211     ac_prev=psdir ;;
1212   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213     psdir=$ac_optarg ;;
1214
1215   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1216   | -silent | --silent | --silen | --sile | --sil)
1217     silent=yes ;;
1218
1219   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1220     ac_prev=sbindir ;;
1221   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1222   | --sbi=* | --sb=*)
1223     sbindir=$ac_optarg ;;
1224
1225   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1226   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1227   | --sharedst | --shareds | --shared | --share | --shar \
1228   | --sha | --sh)
1229     ac_prev=sharedstatedir ;;
1230   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1231   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1232   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1233   | --sha=* | --sh=*)
1234     sharedstatedir=$ac_optarg ;;
1235
1236   -site | --site | --sit)
1237     ac_prev=site ;;
1238   -site=* | --site=* | --sit=*)
1239     site=$ac_optarg ;;
1240
1241   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1242     ac_prev=srcdir ;;
1243   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1244     srcdir=$ac_optarg ;;
1245
1246   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1247   | --syscon | --sysco | --sysc | --sys | --sy)
1248     ac_prev=sysconfdir ;;
1249   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1250   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1251     sysconfdir=$ac_optarg ;;
1252
1253   -target | --target | --targe | --targ | --tar | --ta | --t)
1254     ac_prev=target_alias ;;
1255   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1256     target_alias=$ac_optarg ;;
1257
1258   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259     verbose=yes ;;
1260
1261   -version | --version | --versio | --versi | --vers | -V)
1262     ac_init_version=: ;;
1263
1264   -with-* | --with-*)
1265     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1266     # Reject names that are not valid shell variable names.
1267     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268       as_fn_error $? "invalid package name: $ac_useropt"
1269     ac_useropt_orig=$ac_useropt
1270     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271     case $ac_user_opts in
1272       *"
1273 "with_$ac_useropt"
1274 "*) ;;
1275       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1276          ac_unrecognized_sep=', ';;
1277     esac
1278     eval with_$ac_useropt=\$ac_optarg ;;
1279
1280   -without-* | --without-*)
1281     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1282     # Reject names that are not valid shell variable names.
1283     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1284       as_fn_error $? "invalid package name: $ac_useropt"
1285     ac_useropt_orig=$ac_useropt
1286     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287     case $ac_user_opts in
1288       *"
1289 "with_$ac_useropt"
1290 "*) ;;
1291       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1292          ac_unrecognized_sep=', ';;
1293     esac
1294     eval with_$ac_useropt=no ;;
1295
1296   --x)
1297     # Obsolete; use --with-x.
1298     with_x=yes ;;
1299
1300   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1301   | --x-incl | --x-inc | --x-in | --x-i)
1302     ac_prev=x_includes ;;
1303   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1304   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1305     x_includes=$ac_optarg ;;
1306
1307   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1308   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1309     ac_prev=x_libraries ;;
1310   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1311   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1312     x_libraries=$ac_optarg ;;
1313
1314   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1315 Try \`$0 --help' for more information"
1316     ;;
1317
1318   *=*)
1319     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1320     # Reject names that are not valid shell variable names.
1321     case $ac_envvar in #(
1322       '' | [0-9]* | *[!_$as_cr_alnum]* )
1323       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1324     esac
1325     eval $ac_envvar=\$ac_optarg
1326     export $ac_envvar ;;
1327
1328   *)
1329     # FIXME: should be removed in autoconf 3.0.
1330     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1331     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1332       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1333     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1334     ;;
1335
1336   esac
1337 done
1338
1339 if test -n "$ac_prev"; then
1340   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1341   as_fn_error $? "missing argument to $ac_option"
1342 fi
1343
1344 if test -n "$ac_unrecognized_opts"; then
1345   case $enable_option_checking in
1346     no) ;;
1347     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1348     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349   esac
1350 fi
1351
1352 # Check all directory arguments for consistency.
1353 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1354                 datadir sysconfdir sharedstatedir localstatedir includedir \
1355                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1356                 libdir localedir mandir
1357 do
1358   eval ac_val=\$$ac_var
1359   # Remove trailing slashes.
1360   case $ac_val in
1361     */ )
1362       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1363       eval $ac_var=\$ac_val;;
1364   esac
1365   # Be sure to have absolute directory names.
1366   case $ac_val in
1367     [\\/$]* | ?:[\\/]* )  continue;;
1368     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1369   esac
1370   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1371 done
1372
1373 # There might be people who depend on the old broken behavior: `$host'
1374 # used to hold the argument of --host etc.
1375 # FIXME: To remove some day.
1376 build=$build_alias
1377 host=$host_alias
1378 target=$target_alias
1379
1380 # FIXME: To remove some day.
1381 if test "x$host_alias" != x; then
1382   if test "x$build_alias" = x; then
1383     cross_compiling=maybe
1384   elif test "x$build_alias" != "x$host_alias"; then
1385     cross_compiling=yes
1386   fi
1387 fi
1388
1389 ac_tool_prefix=
1390 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1391
1392 test "$silent" = yes && exec 6>/dev/null
1393
1394
1395 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1396 ac_ls_di=`ls -di .` &&
1397 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1398   as_fn_error $? "working directory cannot be determined"
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400   as_fn_error $? "pwd does not report name of working directory"
1401
1402
1403 # Find the source files, if location was not specified.
1404 if test -z "$srcdir"; then
1405   ac_srcdir_defaulted=yes
1406   # Try the directory containing this script, then the parent directory.
1407   ac_confdir=`$as_dirname -- "$as_myself" ||
1408 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409          X"$as_myself" : 'X\(//\)[^/]' \| \
1410          X"$as_myself" : 'X\(//\)$' \| \
1411          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1412 $as_echo X"$as_myself" |
1413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414             s//\1/
1415             q
1416           }
1417           /^X\(\/\/\)[^/].*/{
1418             s//\1/
1419             q
1420           }
1421           /^X\(\/\/\)$/{
1422             s//\1/
1423             q
1424           }
1425           /^X\(\/\).*/{
1426             s//\1/
1427             q
1428           }
1429           s/.*/./; q'`
1430   srcdir=$ac_confdir
1431   if test ! -r "$srcdir/$ac_unique_file"; then
1432     srcdir=..
1433   fi
1434 else
1435   ac_srcdir_defaulted=no
1436 fi
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1438   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1440 fi
1441 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1442 ac_abs_confdir=`(
1443         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444         pwd)`
1445 # When building in place, set srcdir=.
1446 if test "$ac_abs_confdir" = "$ac_pwd"; then
1447   srcdir=.
1448 fi
1449 # Remove unnecessary trailing slashes from srcdir.
1450 # Double slashes in file names in object file debugging info
1451 # mess up M-x gdb in Emacs.
1452 case $srcdir in
1453 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454 esac
1455 for ac_var in $ac_precious_vars; do
1456   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1457   eval ac_env_${ac_var}_value=\$${ac_var}
1458   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1459   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1460 done
1461
1462 #
1463 # Report the --help message.
1464 #
1465 if test "$ac_init_help" = "long"; then
1466   # Omit some internal or obsolete options to make the list less imposing.
1467   # This message is too long to be a string in the A/UX 3.1 sh.
1468   cat <<_ACEOF
1469 \`configure' configures glabels 3.4.0 to adapt to many kinds of systems.
1470
1471 Usage: $0 [OPTION]... [VAR=VALUE]...
1472
1473 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474 VAR=VALUE.  See below for descriptions of some of the useful variables.
1475
1476 Defaults for the options are specified in brackets.
1477
1478 Configuration:
1479   -h, --help              display this help and exit
1480       --help=short        display options specific to this package
1481       --help=recursive    display the short help of all the included packages
1482   -V, --version           display version information and exit
1483   -q, --quiet, --silent   do not print \`checking ...' messages
1484       --cache-file=FILE   cache test results in FILE [disabled]
1485   -C, --config-cache      alias for \`--cache-file=config.cache'
1486   -n, --no-create         do not create output files
1487       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1488
1489 Installation directories:
1490   --prefix=PREFIX         install architecture-independent files in PREFIX
1491                           [$ac_default_prefix]
1492   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1493                           [PREFIX]
1494
1495 By default, \`make install' will install all the files in
1496 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1497 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498 for instance \`--prefix=\$HOME'.
1499
1500 For better control, use the options below.
1501
1502 Fine tuning of the installation directories:
1503   --bindir=DIR            user executables [EPREFIX/bin]
1504   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1505   --libexecdir=DIR        program executables [EPREFIX/libexec]
1506   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1507   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1508   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1509   --libdir=DIR            object code libraries [EPREFIX/lib]
1510   --includedir=DIR        C header files [PREFIX/include]
1511   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1512   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1513   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1514   --infodir=DIR           info documentation [DATAROOTDIR/info]
1515   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1516   --mandir=DIR            man documentation [DATAROOTDIR/man]
1517   --docdir=DIR            documentation root [DATAROOTDIR/doc/glabels]
1518   --htmldir=DIR           html documentation [DOCDIR]
1519   --dvidir=DIR            dvi documentation [DOCDIR]
1520   --pdfdir=DIR            pdf documentation [DOCDIR]
1521   --psdir=DIR             ps documentation [DOCDIR]
1522 _ACEOF
1523
1524   cat <<\_ACEOF
1525
1526 Program names:
1527   --program-prefix=PREFIX            prepend PREFIX to installed program names
1528   --program-suffix=SUFFIX            append SUFFIX to installed program names
1529   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1530
1531 System types:
1532   --build=BUILD     configure for building on BUILD [guessed]
1533   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1534 _ACEOF
1535 fi
1536
1537 if test -n "$ac_init_help"; then
1538   case $ac_init_help in
1539      short | recursive ) echo "Configuration of glabels 3.4.0:";;
1540    esac
1541   cat <<\_ACEOF
1542
1543 Optional Features:
1544   --disable-option-checking  ignore unrecognized --enable/--with options
1545   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1546   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1547   --enable-silent-rules   less verbose build output (undo: "make V=1")
1548   --disable-silent-rules  verbose build output (undo: "make V=0")
1549   --enable-maintainer-mode
1550                           enable make rules and dependencies not useful (and
1551                           sometimes confusing) to the casual installer
1552   --disable-nls           do not use Native Language Support
1553   --enable-shared[=PKGS]  build shared libraries [default=yes]
1554   --enable-static[=PKGS]  build static libraries [default=yes]
1555   --enable-fast-install[=PKGS]
1556                           optimize for fast installation [default=yes]
1557   --enable-dependency-tracking
1558                           do not reject slow dependency extractors
1559   --disable-dependency-tracking
1560                           speeds up one-time build
1561   --disable-libtool-lock  avoid locking (might break parallel builds)
1562   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1563   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1564   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1565   --disable-schemas-compile
1566                           Disable regeneration of gschemas.compiled on install
1567   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1568                           Turn on compiler warnings
1569   --enable-iso-c          Try to warn if code is not ISO C
1570   --enable-deprecations   warn about deprecated usages [default=no]
1571
1572 Optional Packages:
1573   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1574   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1575   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1576                           both]
1577   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1578   --with-sysroot=DIR Search for dependent libraries within DIR
1579                         (or the compiler's sysroot if not specified).
1580   --with-help-dir=DIR     path where help files are installed
1581   --with-html-dir=PATH    path to installed docs
1582   --without-libebook      build without Evolution Data Server support
1583   --without-libbarcode    build without GNU Barcode support
1584   --without-libzint       build without Zint Barcode support
1585   --without-libqrencode   build without QR code support
1586   --without-libiec16022   build without IEC 16022 support
1587
1588 Some influential environment variables:
1589   PKG_CONFIG  path to pkg-config utility
1590   PKG_CONFIG_PATH
1591               directories to add to pkg-config's search path
1592   PKG_CONFIG_LIBDIR
1593               path overriding pkg-config's built-in search path
1594   CC          C compiler command
1595   CFLAGS      C compiler flags
1596   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1597               nonstandard directory <lib dir>
1598   LIBS        libraries to pass to the linker, e.g. -l<library>
1599   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1600               you have headers in a nonstandard directory <include dir>
1601   CPP         C preprocessor
1602   ITSTOOL     Path to the `itstool` command
1603   XMLLINT     Path to the `xmllint` command
1604   GTKDOC_DEPS_CFLAGS
1605               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1606   GTKDOC_DEPS_LIBS
1607               linker flags for GTKDOC_DEPS, overriding pkg-config
1608   GLABELS_CFLAGS
1609               C compiler flags for GLABELS, overriding pkg-config
1610   GLABELS_LIBS
1611               linker flags for GLABELS, overriding pkg-config
1612   LIBGLABELS_CFLAGS
1613               C compiler flags for LIBGLABELS, overriding pkg-config
1614   LIBGLABELS_LIBS
1615               linker flags for LIBGLABELS, overriding pkg-config
1616   LIBGLBARCODE_CFLAGS
1617               C compiler flags for LIBGLBARCODE, overriding pkg-config
1618   LIBGLBARCODE_LIBS
1619               linker flags for LIBGLBARCODE, overriding pkg-config
1620   LIBEBOOK_CFLAGS
1621               C compiler flags for LIBEBOOK, overriding pkg-config
1622   LIBEBOOK_LIBS
1623               linker flags for LIBEBOOK, overriding pkg-config
1624   LIBQRENCODE_CFLAGS
1625               C compiler flags for LIBQRENCODE, overriding pkg-config
1626   LIBQRENCODE_LIBS
1627               linker flags for LIBQRENCODE, overriding pkg-config
1628   LIBIEC16022_CFLAGS
1629               C compiler flags for LIBIEC16022, overriding pkg-config
1630   LIBIEC16022_LIBS
1631               linker flags for LIBIEC16022, overriding pkg-config
1632
1633 Use these variables to override the choices made by `configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1635
1636 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1637 _ACEOF
1638 ac_status=$?
1639 fi
1640
1641 if test "$ac_init_help" = "recursive"; then
1642   # If there are subdirs, report their specific --help.
1643   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644     test -d "$ac_dir" ||
1645       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1646       continue
1647     ac_builddir=.
1648
1649 case "$ac_dir" in
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 *)
1652   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653   # A ".." for each directory in $ac_dir_suffix.
1654   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655   case $ac_top_builddir_sub in
1656   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1658   esac ;;
1659 esac
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1664
1665 case $srcdir in
1666   .)  # We are building in place.
1667     ac_srcdir=.
1668     ac_top_srcdir=$ac_top_builddir_sub
1669     ac_abs_top_srcdir=$ac_pwd ;;
1670   [\\/]* | ?:[\\/]* )  # Absolute name.
1671     ac_srcdir=$srcdir$ac_dir_suffix;
1672     ac_top_srcdir=$srcdir
1673     ac_abs_top_srcdir=$srcdir ;;
1674   *) # Relative name.
1675     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676     ac_top_srcdir=$ac_top_build_prefix$srcdir
1677     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1678 esac
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680
1681     cd "$ac_dir" || { ac_status=$?; continue; }
1682     # Check for guested configure.
1683     if test -f "$ac_srcdir/configure.gnu"; then
1684       echo &&
1685       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686     elif test -f "$ac_srcdir/configure"; then
1687       echo &&
1688       $SHELL "$ac_srcdir/configure" --help=recursive
1689     else
1690       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691     fi || ac_status=$?
1692     cd "$ac_pwd" || { ac_status=$?; break; }
1693   done
1694 fi
1695
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1698   cat <<\_ACEOF
1699 glabels configure 3.4.0
1700 generated by GNU Autoconf 2.69
1701
1702 Copyright (C) 2012 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1705 _ACEOF
1706   exit
1707 fi
1708
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1712
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1717 {
1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719   rm -f conftest.$ac_objext
1720   if { { ac_try="$ac_compile"
1721 case "(($ac_try" in
1722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723   *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727   (eval "$ac_compile") 2>conftest.err
1728   ac_status=$?
1729   if test -s conftest.err; then
1730     grep -v '^ *+' conftest.err >conftest.er1
1731     cat conftest.er1 >&5
1732     mv -f conftest.er1 conftest.err
1733   fi
1734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735   test $ac_status = 0; } && {
1736          test -z "$ac_c_werror_flag" ||
1737          test ! -s conftest.err
1738        } && test -s conftest.$ac_objext; then :
1739   ac_retval=0
1740 else
1741   $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744         ac_retval=1
1745 fi
1746   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747   as_fn_set_status $ac_retval
1748
1749 } # ac_fn_c_try_compile
1750
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_link ()
1755 {
1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757   rm -f conftest.$ac_objext conftest$ac_exeext
1758   if { { ac_try="$ac_link"
1759 case "(($ac_try" in
1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761   *) ac_try_echo=$ac_try;;
1762 esac
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765   (eval "$ac_link") 2>conftest.err
1766   ac_status=$?
1767   if test -s conftest.err; then
1768     grep -v '^ *+' conftest.err >conftest.er1
1769     cat conftest.er1 >&5
1770     mv -f conftest.er1 conftest.err
1771   fi
1772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773   test $ac_status = 0; } && {
1774          test -z "$ac_c_werror_flag" ||
1775          test ! -s conftest.err
1776        } && test -s conftest$ac_exeext && {
1777          test "$cross_compiling" = yes ||
1778          test -x conftest$ac_exeext
1779        }; then :
1780   ac_retval=0
1781 else
1782   $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1784
1785         ac_retval=1
1786 fi
1787   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789   # interfere with the next link command; also delete a directory that is
1790   # left behind by Apple's compiler.  We do this before executing the actions.
1791   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793   as_fn_set_status $ac_retval
1794
1795 } # ac_fn_c_try_link
1796
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1802 {
1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807   $as_echo_n "(cached) " >&6
1808 else
1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 $4
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815   eval "$3=yes"
1816 else
1817   eval "$3=no"
1818 fi
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 fi
1821 eval ac_res=\$$3
1822                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825
1826 } # ac_fn_c_check_header_compile
1827
1828 # ac_fn_c_try_cpp LINENO
1829 # ----------------------
1830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_cpp ()
1832 {
1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834   if { { ac_try="$ac_cpp conftest.$ac_ext"
1835 case "(($ac_try" in
1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837   *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1842   ac_status=$?
1843   if test -s conftest.err; then
1844     grep -v '^ *+' conftest.err >conftest.er1
1845     cat conftest.er1 >&5
1846     mv -f conftest.er1 conftest.err
1847   fi
1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849   test $ac_status = 0; } > conftest.i && {
1850          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1851          test ! -s conftest.err
1852        }; then :
1853   ac_retval=0
1854 else
1855   $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858     ac_retval=1
1859 fi
1860   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861   as_fn_set_status $ac_retval
1862
1863 } # ac_fn_c_try_cpp
1864
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1869 ac_fn_c_try_run ()
1870 {
1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872   if { { ac_try="$ac_link"
1873 case "(($ac_try" in
1874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875   *) ac_try_echo=$ac_try;;
1876 esac
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879   (eval "$ac_link") 2>&5
1880   ac_status=$?
1881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883   { { case "(($ac_try" in
1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885   *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889   (eval "$ac_try") 2>&5
1890   ac_status=$?
1891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892   test $ac_status = 0; }; }; then :
1893   ac_retval=0
1894 else
1895   $as_echo "$as_me: program exited with status $ac_status" >&5
1896        $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1898
1899        ac_retval=$ac_status
1900 fi
1901   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903   as_fn_set_status $ac_retval
1904
1905 } # ac_fn_c_try_run
1906
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1911 {
1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval \${$3+:} false; then :
1916   $as_echo_n "(cached) " >&6
1917 else
1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h.  */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1922 #define $2 innocuous_$2
1923
1924 /* System header to define __stub macros and hopefully few prototypes,
1925     which can conflict with char $2 (); below.
1926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927     <limits.h> exists even on freestanding compilers.  */
1928
1929 #ifdef __STDC__
1930 # include <limits.h>
1931 #else
1932 # include <assert.h>
1933 #endif
1934
1935 #undef $2
1936
1937 /* Override any GCC internal prototype to avoid an error.
1938    Use char because int might match the return type of a GCC
1939    builtin and then its argument prototype would still apply.  */
1940 #ifdef __cplusplus
1941 extern "C"
1942 #endif
1943 char $2 ();
1944 /* The GNU C library defines this for functions which it implements
1945     to always fail with ENOSYS.  Some functions are actually named
1946     something starting with __ and the normal name is an alias.  */
1947 #if defined __stub_$2 || defined __stub___$2
1948 choke me
1949 #endif
1950
1951 int
1952 main ()
1953 {
1954 return $2 ();
1955   ;
1956   return 0;
1957 }
1958 _ACEOF
1959 if ac_fn_c_try_link "$LINENO"; then :
1960   eval "$3=yes"
1961 else
1962   eval "$3=no"
1963 fi
1964 rm -f core conftest.err conftest.$ac_objext \
1965     conftest$ac_exeext conftest.$ac_ext
1966 fi
1967 eval ac_res=\$$3
1968                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971
1972 } # ac_fn_c_check_func
1973
1974 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1977 # the include files in INCLUDES and setting the cache variable VAR
1978 # accordingly.
1979 ac_fn_c_check_header_mongrel ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   if eval \${$3+:} false; then :
1983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval \${$3+:} false; then :
1986   $as_echo_n "(cached) " >&6
1987 fi
1988 eval ac_res=\$$3
1989                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 else
1992   # Is the header compilable?
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1994 $as_echo_n "checking $2 usability... " >&6; }
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h.  */
1997 $4
1998 #include <$2>
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001   ac_header_compiler=yes
2002 else
2003   ac_header_compiler=no
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2007 $as_echo "$ac_header_compiler" >&6; }
2008
2009 # Is the header present?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2011 $as_echo_n "checking $2 presence... " >&6; }
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h.  */
2014 #include <$2>
2015 _ACEOF
2016 if ac_fn_c_try_cpp "$LINENO"; then :
2017   ac_header_preproc=yes
2018 else
2019   ac_header_preproc=no
2020 fi
2021 rm -f conftest.err conftest.i conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2023 $as_echo "$ac_header_preproc" >&6; }
2024
2025 # So?  What about this header?
2026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2027   yes:no: )
2028     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2029 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032     ;;
2033   no:yes:* )
2034     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2035 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2036     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2037 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2038     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2039 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2040     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2041 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2042     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 ( $as_echo "## ---------------------------------------------------------------------- ##
2045 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2046 ## ---------------------------------------------------------------------- ##"
2047      ) | sed "s/^/$as_me: WARNING:     /" >&2
2048     ;;
2049 esac
2050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval \${$3+:} false; then :
2053   $as_echo_n "(cached) " >&6
2054 else
2055   eval "$3=\$ac_header_compiler"
2056 fi
2057 eval ac_res=\$$3
2058                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 fi
2061   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062
2063 } # ac_fn_c_check_header_mongrel
2064 cat >config.log <<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2067
2068 It was created by glabels $as_me 3.4.0, which was
2069 generated by GNU Autoconf 2.69.  Invocation command line was
2070
2071   $ $0 $@
2072
2073 _ACEOF
2074 exec 5>>config.log
2075 {
2076 cat <<_ASUNAME
2077 ## --------- ##
2078 ## Platform. ##
2079 ## --------- ##
2080
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2089
2090 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2091 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2094 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2095 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2096 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2097
2098 _ASUNAME
2099
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 for as_dir in $PATH
2102 do
2103   IFS=$as_save_IFS
2104   test -z "$as_dir" && as_dir=.
2105     $as_echo "PATH: $as_dir"
2106   done
2107 IFS=$as_save_IFS
2108
2109 } >&5
2110
2111 cat >&5 <<_ACEOF
2112
2113
2114 ## ----------- ##
2115 ## Core tests. ##
2116 ## ----------- ##
2117
2118 _ACEOF
2119
2120
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_configure_args=
2127 ac_configure_args0=
2128 ac_configure_args1=
2129 ac_must_keep_next=false
2130 for ac_pass in 1 2
2131 do
2132   for ac_arg
2133   do
2134     case $ac_arg in
2135     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137     | -silent | --silent | --silen | --sile | --sil)
2138       continue ;;
2139     *\'*)
2140       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2141     esac
2142     case $ac_pass in
2143     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2144     2)
2145       as_fn_append ac_configure_args1 " '$ac_arg'"
2146       if test $ac_must_keep_next = true; then
2147         ac_must_keep_next=false # Got value, back to normal.
2148       else
2149         case $ac_arg in
2150           *=* | --config-cache | -C | -disable-* | --disable-* \
2151           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153           | -with-* | --with-* | -without-* | --without-* | --x)
2154             case "$ac_configure_args0 " in
2155               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2156             esac
2157             ;;
2158           -* ) ac_must_keep_next=true ;;
2159         esac
2160       fi
2161       as_fn_append ac_configure_args " '$ac_arg'"
2162       ;;
2163     esac
2164   done
2165 done
2166 { ac_configure_args0=; unset ac_configure_args0;}
2167 { ac_configure_args1=; unset ac_configure_args1;}
2168
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log.  We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175   # Save into config.log some information that might help in debugging.
2176   {
2177     echo
2178
2179     $as_echo "## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##"
2182     echo
2183     # The following way of writing the cache mishandles newlines in values,
2184 (
2185   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186     eval ac_val=\$$ac_var
2187     case $ac_val in #(
2188     *${as_nl}*)
2189       case $ac_var in #(
2190       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2191 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2192       esac
2193       case $ac_var in #(
2194       _ | IFS | as_nl) ;; #(
2195       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2196       *) { eval $ac_var=; unset $ac_var;} ;;
2197       esac ;;
2198     esac
2199   done
2200   (set) 2>&1 |
2201     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202     *${as_nl}ac_space=\ *)
2203       sed -n \
2204         "s/'\''/'\''\\\\'\'''\''/g;
2205           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206       ;; #(
2207     *)
2208       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209       ;;
2210     esac |
2211     sort
2212 )
2213     echo
2214
2215     $as_echo "## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##"
2218     echo
2219     for ac_var in $ac_subst_vars
2220     do
2221       eval ac_val=\$$ac_var
2222       case $ac_val in
2223       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2224       esac
2225       $as_echo "$ac_var='\''$ac_val'\''"
2226     done | sort
2227     echo
2228
2229     if test -n "$ac_subst_files"; then
2230       $as_echo "## ------------------- ##
2231 ## File substitutions. ##
2232 ## ------------------- ##"
2233       echo
2234       for ac_var in $ac_subst_files
2235       do
2236         eval ac_val=\$$ac_var
2237         case $ac_val in
2238         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2239         esac
2240         $as_echo "$ac_var='\''$ac_val'\''"
2241       done | sort
2242       echo
2243     fi
2244
2245     if test -s confdefs.h; then
2246       $as_echo "## ----------- ##
2247 ## confdefs.h. ##
2248 ## ----------- ##"
2249       echo
2250       cat confdefs.h
2251       echo
2252     fi
2253     test "$ac_signal" != 0 &&
2254       $as_echo "$as_me: caught signal $ac_signal"
2255     $as_echo "$as_me: exit $exit_status"
2256   } >&5
2257   rm -f core *.core core.conftest.* &&
2258     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2259     exit $exit_status
2260 ' 0
2261 for ac_signal in 1 2 13 15; do
2262   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2263 done
2264 ac_signal=0
2265
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2268
2269 $as_echo "/* confdefs.h */" > confdefs.h
2270
2271 # Predefined preprocessor variables.
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2275 _ACEOF
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2279 _ACEOF
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2283 _ACEOF
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2287 _ACEOF
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2291 _ACEOF
2292
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2295 _ACEOF
2296
2297
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2300 ac_site_file1=NONE
2301 ac_site_file2=NONE
2302 if test -n "$CONFIG_SITE"; then
2303   # We do not want a PATH search for config.site.
2304   case $CONFIG_SITE in #((
2305     -*)  ac_site_file1=./$CONFIG_SITE;;
2306     */*) ac_site_file1=$CONFIG_SITE;;
2307     *)   ac_site_file1=./$CONFIG_SITE;;
2308   esac
2309 elif test "x$prefix" != xNONE; then
2310   ac_site_file1=$prefix/share/config.site
2311   ac_site_file2=$prefix/etc/config.site
2312 else
2313   ac_site_file1=$ac_default_prefix/share/config.site
2314   ac_site_file2=$ac_default_prefix/etc/config.site
2315 fi
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2317 do
2318   test "x$ac_site_file" = xNONE && continue
2319   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322     sed 's/^/| /' "$ac_site_file" >&5
2323     . "$ac_site_file" \
2324       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "failed to load site script $ac_site_file
2327 See \`config.log' for more details" "$LINENO" 5; }
2328   fi
2329 done
2330
2331 if test -r "$cache_file"; then
2332   # Some versions of bash will fail to source /dev/null (special files
2333   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2334   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2335     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2336 $as_echo "$as_me: loading cache $cache_file" >&6;}
2337     case $cache_file in
2338       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2339       *)                      . "./$cache_file";;
2340     esac
2341   fi
2342 else
2343   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2344 $as_echo "$as_me: creating cache $cache_file" >&6;}
2345   >$cache_file
2346 fi
2347
2348 # Check that the precious variables saved in the cache have kept the same
2349 # value.
2350 ac_cache_corrupted=false
2351 for ac_var in $ac_precious_vars; do
2352   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2353   eval ac_new_set=\$ac_env_${ac_var}_set
2354   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2355   eval ac_new_val=\$ac_env_${ac_var}_value
2356   case $ac_old_set,$ac_new_set in
2357     set,)
2358       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2360       ac_cache_corrupted=: ;;
2361     ,set)
2362       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2363 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2364       ac_cache_corrupted=: ;;
2365     ,);;
2366     *)
2367       if test "x$ac_old_val" != "x$ac_new_val"; then
2368         # differences in whitespace do not lead to failure.
2369         ac_old_val_w=`echo x $ac_old_val`
2370         ac_new_val_w=`echo x $ac_new_val`
2371         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2372           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2373 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2374           ac_cache_corrupted=:
2375         else
2376           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2377 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2378           eval $ac_var=\$ac_old_val
2379         fi
2380         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2381 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2382         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2383 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2384       fi;;
2385   esac
2386   # Pass precious variables to config.status.
2387   if test "$ac_new_set" = set; then
2388     case $ac_new_val in
2389     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2390     *) ac_arg=$ac_var=$ac_new_val ;;
2391     esac
2392     case " $ac_configure_args " in
2393       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2394       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2395     esac
2396   fi
2397 done
2398 if $ac_cache_corrupted; then
2399   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2402 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2403   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2404 fi
2405 ## -------------------- ##
2406 ## Main body of script. ##
2407 ## -------------------- ##
2408
2409 ac_ext=c
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414
2415
2416
2417
2418
2419 am__api_version='1.15'
2420
2421 ac_aux_dir=
2422 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2423   if test -f "$ac_dir/install-sh"; then
2424     ac_aux_dir=$ac_dir
2425     ac_install_sh="$ac_aux_dir/install-sh -c"
2426     break
2427   elif test -f "$ac_dir/install.sh"; then
2428     ac_aux_dir=$ac_dir
2429     ac_install_sh="$ac_aux_dir/install.sh -c"
2430     break
2431   elif test -f "$ac_dir/shtool"; then
2432     ac_aux_dir=$ac_dir
2433     ac_install_sh="$ac_aux_dir/shtool install -c"
2434     break
2435   fi
2436 done
2437 if test -z "$ac_aux_dir"; then
2438   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2439 fi
2440
2441 # These three variables are undocumented and unsupported,
2442 # and are intended to be withdrawn in a future Autoconf release.
2443 # They can cause serious problems if a builder's source tree is in a directory
2444 # whose full name contains unusual characters.
2445 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2446 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2447 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2448
2449
2450 # Find a good install program.  We prefer a C program (faster),
2451 # so one script is as good as another.  But avoid the broken or
2452 # incompatible versions:
2453 # SysV /etc/install, /usr/sbin/install
2454 # SunOS /usr/etc/install
2455 # IRIX /sbin/install
2456 # AIX /bin/install
2457 # AmigaOS /C/install, which installs bootblocks on floppy discs
2458 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2459 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2460 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2461 # OS/2's system install, which has a completely different semantic
2462 # ./install, which can be erroneously created by make from ./install.sh.
2463 # Reject install programs that cannot install multiple files.
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2465 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2466 if test -z "$INSTALL"; then
2467 if ${ac_cv_path_install+:} false; then :
2468   $as_echo_n "(cached) " >&6
2469 else
2470   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 for as_dir in $PATH
2472 do
2473   IFS=$as_save_IFS
2474   test -z "$as_dir" && as_dir=.
2475     # Account for people who put trailing slashes in PATH elements.
2476 case $as_dir/ in #((
2477   ./ | .// | /[cC]/* | \
2478   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2479   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2480   /usr/ucb/* ) ;;
2481   *)
2482     # OSF1 and SCO ODT 3.0 have their own names for install.
2483     # Don't use installbsd from OSF since it installs stuff as root
2484     # by default.
2485     for ac_prog in ginstall scoinst install; do
2486       for ac_exec_ext in '' $ac_executable_extensions; do
2487         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2488           if test $ac_prog = install &&
2489             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2490             # AIX install.  It has an incompatible calling convention.
2491             :
2492           elif test $ac_prog = install &&
2493             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2494             # program-specific install script used by HP pwplus--don't use.
2495             :
2496           else
2497             rm -rf conftest.one conftest.two conftest.dir
2498             echo one > conftest.one
2499             echo two > conftest.two
2500             mkdir conftest.dir
2501             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2502               test -s conftest.one && test -s conftest.two &&
2503               test -s conftest.dir/conftest.one &&
2504               test -s conftest.dir/conftest.two
2505             then
2506               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2507               break 3
2508             fi
2509           fi
2510         fi
2511       done
2512     done
2513     ;;
2514 esac
2515
2516   done
2517 IFS=$as_save_IFS
2518
2519 rm -rf conftest.one conftest.two conftest.dir
2520
2521 fi
2522   if test "${ac_cv_path_install+set}" = set; then
2523     INSTALL=$ac_cv_path_install
2524   else
2525     # As a last resort, use the slow shell script.  Don't cache a
2526     # value for INSTALL within a source directory, because that will
2527     # break other packages using the cache if that directory is
2528     # removed, or if the value is a relative name.
2529     INSTALL=$ac_install_sh
2530   fi
2531 fi
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2533 $as_echo "$INSTALL" >&6; }
2534
2535 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2536 # It thinks the first close brace ends the variable substitution.
2537 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2538
2539 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2540
2541 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2542
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2544 $as_echo_n "checking whether build environment is sane... " >&6; }
2545 # Reject unsafe characters in $srcdir or the absolute working directory
2546 # name.  Accept space and tab only in the latter.
2547 am_lf='
2548 '
2549 case `pwd` in
2550   *[\\\"\#\$\&\'\`$am_lf]*)
2551     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2552 esac
2553 case $srcdir in
2554   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2555     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2556 esac
2557
2558 # Do 'set' in a subshell so we don't clobber the current shell's
2559 # arguments.  Must try -L first in case configure is actually a
2560 # symlink; some systems play weird games with the mod time of symlinks
2561 # (eg FreeBSD returns the mod time of the symlink's containing
2562 # directory).
2563 if (
2564    am_has_slept=no
2565    for am_try in 1 2; do
2566      echo "timestamp, slept: $am_has_slept" > conftest.file
2567      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2568      if test "$*" = "X"; then
2569         # -L didn't work.
2570         set X `ls -t "$srcdir/configure" conftest.file`
2571      fi
2572      if test "$*" != "X $srcdir/configure conftest.file" \
2573         && test "$*" != "X conftest.file $srcdir/configure"; then
2574
2575         # If neither matched, then we have a broken ls.  This can happen
2576         # if, for instance, CONFIG_SHELL is bash and it inherits a
2577         # broken ls alias from the environment.  This has actually
2578         # happened.  Such a system could not be considered "sane".
2579         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2580   alias in your environment" "$LINENO" 5
2581      fi
2582      if test "$2" = conftest.file || test $am_try -eq 2; then
2583        break
2584      fi
2585      # Just in case.
2586      sleep 1
2587      am_has_slept=yes
2588    done
2589    test "$2" = conftest.file
2590    )
2591 then
2592    # Ok.
2593    :
2594 else
2595    as_fn_error $? "newly created file is older than distributed files!
2596 Check your system clock" "$LINENO" 5
2597 fi
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2599 $as_echo "yes" >&6; }
2600 # If we didn't sleep, we still need to ensure time stamps of config.status and
2601 # generated files are strictly newer.
2602 am_sleep_pid=
2603 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2604   ( sleep 1 ) &
2605   am_sleep_pid=$!
2606 fi
2607
2608 rm -f conftest.file
2609
2610 test "$program_prefix" != NONE &&
2611   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2612 # Use a double $ so make ignores it.
2613 test "$program_suffix" != NONE &&
2614   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2615 # Double any \ or $.
2616 # By default was `s,x,x', remove it if useless.
2617 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2618 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2619
2620 # Expand $ac_aux_dir to an absolute path.
2621 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2622
2623 if test x"${MISSING+set}" != xset; then
2624   case $am_aux_dir in
2625   *\ * | *\     *)
2626     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2627   *)
2628     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2629   esac
2630 fi
2631 # Use eval to expand $SHELL
2632 if eval "$MISSING --is-lightweight"; then
2633   am_missing_run="$MISSING "
2634 else
2635   am_missing_run=
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2637 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2638 fi
2639
2640 if test x"${install_sh+set}" != xset; then
2641   case $am_aux_dir in
2642   *\ * | *\     *)
2643     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2644   *)
2645     install_sh="\${SHELL} $am_aux_dir/install-sh"
2646   esac
2647 fi
2648
2649 # Installed binaries are usually stripped using 'strip' when the user
2650 # run "make install-strip".  However 'strip' might not be the right
2651 # tool to use in cross-compilation environments, therefore Automake
2652 # will honor the 'STRIP' environment variable to overrule this program.
2653 if test "$cross_compiling" != no; then
2654   if test -n "$ac_tool_prefix"; then
2655   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2656 set dummy ${ac_tool_prefix}strip; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if ${ac_cv_prog_STRIP+:} false; then :
2660   $as_echo_n "(cached) " >&6
2661 else
2662   if test -n "$STRIP"; then
2663   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2664 else
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 for as_dir in $PATH
2667 do
2668   IFS=$as_save_IFS
2669   test -z "$as_dir" && as_dir=.
2670     for ac_exec_ext in '' $ac_executable_extensions; do
2671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2672     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674     break 2
2675   fi
2676 done
2677   done
2678 IFS=$as_save_IFS
2679
2680 fi
2681 fi
2682 STRIP=$ac_cv_prog_STRIP
2683 if test -n "$STRIP"; then
2684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2685 $as_echo "$STRIP" >&6; }
2686 else
2687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2689 fi
2690
2691
2692 fi
2693 if test -z "$ac_cv_prog_STRIP"; then
2694   ac_ct_STRIP=$STRIP
2695   # Extract the first word of "strip", so it can be a program name with args.
2696 set dummy strip; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2700   $as_echo_n "(cached) " >&6
2701 else
2702   if test -n "$ac_ct_STRIP"; then
2703   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2704 else
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 for as_dir in $PATH
2707 do
2708   IFS=$as_save_IFS
2709   test -z "$as_dir" && as_dir=.
2710     for ac_exec_ext in '' $ac_executable_extensions; do
2711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712     ac_cv_prog_ac_ct_STRIP="strip"
2713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714     break 2
2715   fi
2716 done
2717   done
2718 IFS=$as_save_IFS
2719
2720 fi
2721 fi
2722 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2723 if test -n "$ac_ct_STRIP"; then
2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2725 $as_echo "$ac_ct_STRIP" >&6; }
2726 else
2727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2729 fi
2730
2731   if test "x$ac_ct_STRIP" = x; then
2732     STRIP=":"
2733   else
2734     case $cross_compiling:$ac_tool_warned in
2735 yes:)
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2738 ac_tool_warned=yes ;;
2739 esac
2740     STRIP=$ac_ct_STRIP
2741   fi
2742 else
2743   STRIP="$ac_cv_prog_STRIP"
2744 fi
2745
2746 fi
2747 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2748
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2750 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2751 if test -z "$MKDIR_P"; then
2752   if ${ac_cv_path_mkdir+:} false; then :
2753   $as_echo_n "(cached) " >&6
2754 else
2755   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2757 do
2758   IFS=$as_save_IFS
2759   test -z "$as_dir" && as_dir=.
2760     for ac_prog in mkdir gmkdir; do
2761          for ac_exec_ext in '' $ac_executable_extensions; do
2762            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2763            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2764              'mkdir (GNU coreutils) '* | \
2765              'mkdir (coreutils) '* | \
2766              'mkdir (fileutils) '4.1*)
2767                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2768                break 3;;
2769            esac
2770          done
2771        done
2772   done
2773 IFS=$as_save_IFS
2774
2775 fi
2776
2777   test -d ./--version && rmdir ./--version
2778   if test "${ac_cv_path_mkdir+set}" = set; then
2779     MKDIR_P="$ac_cv_path_mkdir -p"
2780   else
2781     # As a last resort, use the slow shell script.  Don't cache a
2782     # value for MKDIR_P within a source directory, because that will
2783     # break other packages using the cache if that directory is
2784     # removed, or if the value is a relative name.
2785     MKDIR_P="$ac_install_sh -d"
2786   fi
2787 fi
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2789 $as_echo "$MKDIR_P" >&6; }
2790
2791 for ac_prog in gawk mawk nawk awk
2792 do
2793   # Extract the first word of "$ac_prog", so it can be a program name with args.
2794 set dummy $ac_prog; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_AWK+:} false; then :
2798   $as_echo_n "(cached) " >&6
2799 else
2800   if test -n "$AWK"; then
2801   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2802 else
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 for as_dir in $PATH
2805 do
2806   IFS=$as_save_IFS
2807   test -z "$as_dir" && as_dir=.
2808     for ac_exec_ext in '' $ac_executable_extensions; do
2809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2810     ac_cv_prog_AWK="$ac_prog"
2811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812     break 2
2813   fi
2814 done
2815   done
2816 IFS=$as_save_IFS
2817
2818 fi
2819 fi
2820 AWK=$ac_cv_prog_AWK
2821 if test -n "$AWK"; then
2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2823 $as_echo "$AWK" >&6; }
2824 else
2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2827 fi
2828
2829
2830   test -n "$AWK" && break
2831 done
2832
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2834 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2835 set x ${MAKE-make}
2836 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2837 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2838   $as_echo_n "(cached) " >&6
2839 else
2840   cat >conftest.make <<\_ACEOF
2841 SHELL = /bin/sh
2842 all:
2843         @echo '@@@%%%=$(MAKE)=@@@%%%'
2844 _ACEOF
2845 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2846 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2847   *@@@%%%=?*=@@@%%%*)
2848     eval ac_cv_prog_make_${ac_make}_set=yes;;
2849   *)
2850     eval ac_cv_prog_make_${ac_make}_set=no;;
2851 esac
2852 rm -f conftest.make
2853 fi
2854 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2856 $as_echo "yes" >&6; }
2857   SET_MAKE=
2858 else
2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2861   SET_MAKE="MAKE=${MAKE-make}"
2862 fi
2863
2864 rm -rf .tst 2>/dev/null
2865 mkdir .tst 2>/dev/null
2866 if test -d .tst; then
2867   am__leading_dot=.
2868 else
2869   am__leading_dot=_
2870 fi
2871 rmdir .tst 2>/dev/null
2872
2873 # Check whether --enable-silent-rules was given.
2874 if test "${enable_silent_rules+set}" = set; then :
2875   enableval=$enable_silent_rules;
2876 fi
2877
2878 case $enable_silent_rules in # (((
2879   yes) AM_DEFAULT_VERBOSITY=0;;
2880    no) AM_DEFAULT_VERBOSITY=1;;
2881     *) AM_DEFAULT_VERBOSITY=1;;
2882 esac
2883 am_make=${MAKE-make}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2885 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2886 if ${am_cv_make_support_nested_variables+:} false; then :
2887   $as_echo_n "(cached) " >&6
2888 else
2889   if $as_echo 'TRUE=$(BAR$(V))
2890 BAR0=false
2891 BAR1=true
2892 V=1
2893 am__doit:
2894         @$(TRUE)
2895 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2896   am_cv_make_support_nested_variables=yes
2897 else
2898   am_cv_make_support_nested_variables=no
2899 fi
2900 fi
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2902 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2903 if test $am_cv_make_support_nested_variables = yes; then
2904     AM_V='$(V)'
2905   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2906 else
2907   AM_V=$AM_DEFAULT_VERBOSITY
2908   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2909 fi
2910 AM_BACKSLASH='\'
2911
2912 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2913   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2914   # is not polluted with repeated "-I."
2915   am__isrc=' -I$(srcdir)'
2916   # test to see if srcdir already configured
2917   if test -f $srcdir/config.status; then
2918     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2919   fi
2920 fi
2921
2922 # test whether we have cygpath
2923 if test -z "$CYGPATH_W"; then
2924   if (cygpath --version) >/dev/null 2>/dev/null; then
2925     CYGPATH_W='cygpath -w'
2926   else
2927     CYGPATH_W=echo
2928   fi
2929 fi
2930
2931
2932 # Define the identity of the package.
2933
2934  PACKAGE=glabels
2935  VERSION=3.4.0
2936
2937
2938 cat >>confdefs.h <<_ACEOF
2939 #define PACKAGE "$PACKAGE"
2940 _ACEOF
2941
2942
2943 cat >>confdefs.h <<_ACEOF
2944 #define VERSION "$VERSION"
2945 _ACEOF
2946
2947 # Some tools Automake needs.
2948
2949 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2950
2951
2952 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2953
2954
2955 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2956
2957
2958 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2959
2960
2961 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2962
2963 # For better backward compatibility.  To be removed once Automake 1.9.x
2964 # dies out for good.  For more background, see:
2965 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2966 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2967 mkdir_p='$(MKDIR_P)'
2968
2969 # We need awk for the "check" target (and possibly the TAP driver).  The
2970 # system "awk" is bad on some platforms.
2971 # Always define AMTAR for backward compatibility.  Yes, it's still used
2972 # in the wild :-(  We should find a proper way to deprecate it ...
2973 AMTAR='$${TAR-tar}'
2974
2975
2976 # We'll loop over all known methods to create a tar archive until one works.
2977 _am_tools='gnutar  pax cpio none'
2978
2979 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2980
2981
2982
2983
2984
2985
2986 # POSIX will say in a future version that running "rm -f" with no argument
2987 # is OK; and we want to be able to make that assumption in our Makefile
2988 # recipes.  So use an aggressive probe to check that the usage we want is
2989 # actually supported "in the wild" to an acceptable degree.
2990 # See automake bug#10828.
2991 # To make any issue more visible, cause the running configure to be aborted
2992 # by default if the 'rm' program in use doesn't match our expectations; the
2993 # user can still override this though.
2994 if rm -f && rm -fr && rm -rf; then : OK; else
2995   cat >&2 <<'END'
2996 Oops!
2997
2998 Your 'rm' program seems unable to run without file operands specified
2999 on the command line, even when the '-f' option is present.  This is contrary
3000 to the behaviour of most rm programs out there, and not conforming with
3001 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3002
3003 Please tell bug-automake@gnu.org about your system, including the value
3004 of your $PATH and any error possibly output before this message.  This
3005 can help us improve future automake versions.
3006
3007 END
3008   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3009     echo 'Configuration will proceed anyway, since you have set the' >&2
3010     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3011     echo >&2
3012   else
3013     cat >&2 <<'END'
3014 Aborting the configuration process, to ensure you take notice of the issue.
3015
3016 You can download and install GNU coreutils to get an 'rm' implementation
3017 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3018
3019 If you want to complete the configuration process using your problematic
3020 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3021 to "yes", and re-run configure.
3022
3023 END
3024     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3025   fi
3026 fi
3027
3028
3029
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3031 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3032     # Check whether --enable-maintainer-mode was given.
3033 if test "${enable_maintainer_mode+set}" = set; then :
3034   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3035 else
3036   USE_MAINTAINER_MODE=no
3037 fi
3038
3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3040 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3041    if test $USE_MAINTAINER_MODE = yes; then
3042   MAINTAINER_MODE_TRUE=
3043   MAINTAINER_MODE_FALSE='#'
3044 else
3045   MAINTAINER_MODE_TRUE='#'
3046   MAINTAINER_MODE_FALSE=
3047 fi
3048
3049   MAINT=$MAINTAINER_MODE_TRUE
3050
3051
3052 # Check whether --enable-silent-rules was given.
3053 if test "${enable_silent_rules+set}" = set; then :
3054   enableval=$enable_silent_rules;
3055 fi
3056
3057 case $enable_silent_rules in # (((
3058   yes) AM_DEFAULT_VERBOSITY=0;;
3059    no) AM_DEFAULT_VERBOSITY=1;;
3060     *) AM_DEFAULT_VERBOSITY=0;;
3061 esac
3062 am_make=${MAKE-make}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3064 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3065 if ${am_cv_make_support_nested_variables+:} false; then :
3066   $as_echo_n "(cached) " >&6
3067 else
3068   if $as_echo 'TRUE=$(BAR$(V))
3069 BAR0=false
3070 BAR1=true
3071 V=1
3072 am__doit:
3073         @$(TRUE)
3074 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3075   am_cv_make_support_nested_variables=yes
3076 else
3077   am_cv_make_support_nested_variables=no
3078 fi
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3081 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3082 if test $am_cv_make_support_nested_variables = yes; then
3083     AM_V='$(V)'
3084   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3085 else
3086   AM_V=$AM_DEFAULT_VERBOSITY
3087   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3088 fi
3089 AM_BACKSLASH='\'
3090
3091
3092 ac_config_headers="$ac_config_headers config.h"
3093
3094
3095
3096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3097 $as_echo_n "checking whether NLS is requested... " >&6; }
3098     # Check whether --enable-nls was given.
3099 if test "${enable_nls+set}" = set; then :
3100   enableval=$enable_nls; USE_NLS=$enableval
3101 else
3102   USE_NLS=yes
3103 fi
3104
3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3106 $as_echo "$USE_NLS" >&6; }
3107
3108
3109
3110
3111 case "$am__api_version" in
3112     1.01234)
3113         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3114     ;;
3115     *)
3116     ;;
3117 esac
3118
3119 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3120 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3121 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3122 if test -n "0.21"; then
3123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3124 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3126 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3127     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3128         as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
3129 fi
3130
3131 # Extract the first word of "intltool-update", so it can be a program name with args.
3132 set dummy intltool-update; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3136   $as_echo_n "(cached) " >&6
3137 else
3138   case $INTLTOOL_UPDATE in
3139   [\\/]* | ?:[\\/]*)
3140   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3141   ;;
3142   *)
3143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3145 do
3146   IFS=$as_save_IFS
3147   test -z "$as_dir" && as_dir=.
3148     for ac_exec_ext in '' $ac_executable_extensions; do
3149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152     break 2
3153   fi
3154 done
3155   done
3156 IFS=$as_save_IFS
3157
3158   ;;
3159 esac
3160 fi
3161 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3162 if test -n "$INTLTOOL_UPDATE"; then
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3164 $as_echo "$INTLTOOL_UPDATE" >&6; }
3165 else
3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 fi
3169
3170
3171 # Extract the first word of "intltool-merge", so it can be a program name with args.
3172 set dummy intltool-merge; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3176   $as_echo_n "(cached) " >&6
3177 else
3178   case $INTLTOOL_MERGE in
3179   [\\/]* | ?:[\\/]*)
3180   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3181   ;;
3182   *)
3183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3185 do
3186   IFS=$as_save_IFS
3187   test -z "$as_dir" && as_dir=.
3188     for ac_exec_ext in '' $ac_executable_extensions; do
3189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192     break 2
3193   fi
3194 done
3195   done
3196 IFS=$as_save_IFS
3197
3198   ;;
3199 esac
3200 fi
3201 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3202 if test -n "$INTLTOOL_MERGE"; then
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3204 $as_echo "$INTLTOOL_MERGE" >&6; }
3205 else
3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3208 fi
3209
3210
3211 # Extract the first word of "intltool-extract", so it can be a program name with args.
3212 set dummy intltool-extract; ac_word=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3216   $as_echo_n "(cached) " >&6
3217 else
3218   case $INTLTOOL_EXTRACT in
3219   [\\/]* | ?:[\\/]*)
3220   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3221   ;;
3222   *)
3223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 for as_dir in $PATH
3225 do
3226   IFS=$as_save_IFS
3227   test -z "$as_dir" && as_dir=.
3228     for ac_exec_ext in '' $ac_executable_extensions; do
3229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232     break 2
3233   fi
3234 done
3235   done
3236 IFS=$as_save_IFS
3237
3238   ;;
3239 esac
3240 fi
3241 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3242 if test -n "$INTLTOOL_EXTRACT"; then
3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3244 $as_echo "$INTLTOOL_EXTRACT" >&6; }
3245 else
3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 fi
3249
3250
3251 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3252     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3253 fi
3254
3255 if test -z "$AM_DEFAULT_VERBOSITY"; then
3256   AM_DEFAULT_VERBOSITY=1
3257 fi
3258
3259
3260 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3261 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3262 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
3263
3264
3265
3266
3267 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3268 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3269 intltool__v_merge_options_0='-q'
3270
3271
3272
3273
3274   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 $< $@'
3275 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 $< $@'
3276      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 $< $@'
3277      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 $< $@'
3278       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 $< $@'
3279      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 $< $@'
3280    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 $< $@'
3281     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 $< $@'
3282 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 $< $@'
3283        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 $< $@'
3284       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 $< $@'
3285 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3286       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 $< $@'
3287 else
3288       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'
3289 fi
3290       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 $< $@'
3291       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 $< $@'
3292     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 $< $@'
3293   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 $< $@'
3294     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 $< $@'
3295     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 $< $@'
3296    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 $< $@'
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394 # Check the gettext tools to make sure they are GNU
3395 # Extract the first word of "xgettext", so it can be a program name with args.
3396 set dummy xgettext; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if ${ac_cv_path_XGETTEXT+:} false; then :
3400   $as_echo_n "(cached) " >&6
3401 else
3402   case $XGETTEXT in
3403   [\\/]* | ?:[\\/]*)
3404   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3405   ;;
3406   *)
3407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3409 do
3410   IFS=$as_save_IFS
3411   test -z "$as_dir" && as_dir=.
3412     for ac_exec_ext in '' $ac_executable_extensions; do
3413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416     break 2
3417   fi
3418 done
3419   done
3420 IFS=$as_save_IFS
3421
3422   ;;
3423 esac
3424 fi
3425 XGETTEXT=$ac_cv_path_XGETTEXT
3426 if test -n "$XGETTEXT"; then
3427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3428 $as_echo "$XGETTEXT" >&6; }
3429 else
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 fi
3433
3434
3435 # Extract the first word of "msgmerge", so it can be a program name with args.
3436 set dummy msgmerge; ac_word=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if ${ac_cv_path_MSGMERGE+:} false; then :
3440   $as_echo_n "(cached) " >&6
3441 else
3442   case $MSGMERGE in
3443   [\\/]* | ?:[\\/]*)
3444   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3445   ;;
3446   *)
3447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448 for as_dir in $PATH
3449 do
3450   IFS=$as_save_IFS
3451   test -z "$as_dir" && as_dir=.
3452     for ac_exec_ext in '' $ac_executable_extensions; do
3453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456     break 2
3457   fi
3458 done
3459   done
3460 IFS=$as_save_IFS
3461
3462   ;;
3463 esac
3464 fi
3465 MSGMERGE=$ac_cv_path_MSGMERGE
3466 if test -n "$MSGMERGE"; then
3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3468 $as_echo "$MSGMERGE" >&6; }
3469 else
3470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 $as_echo "no" >&6; }
3472 fi
3473
3474
3475 # Extract the first word of "msgfmt", so it can be a program name with args.
3476 set dummy msgfmt; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if ${ac_cv_path_MSGFMT+:} false; then :
3480   $as_echo_n "(cached) " >&6
3481 else
3482   case $MSGFMT in
3483   [\\/]* | ?:[\\/]*)
3484   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3485   ;;
3486   *)
3487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3489 do
3490   IFS=$as_save_IFS
3491   test -z "$as_dir" && as_dir=.
3492     for ac_exec_ext in '' $ac_executable_extensions; do
3493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496     break 2
3497   fi
3498 done
3499   done
3500 IFS=$as_save_IFS
3501
3502   ;;
3503 esac
3504 fi
3505 MSGFMT=$ac_cv_path_MSGFMT
3506 if test -n "$MSGFMT"; then
3507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3508 $as_echo "$MSGFMT" >&6; }
3509 else
3510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3511 $as_echo "no" >&6; }
3512 fi
3513
3514
3515 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3516 set dummy gmsgfmt; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_path_GMSGFMT+:} false; then :
3520   $as_echo_n "(cached) " >&6
3521 else
3522   case $GMSGFMT in
3523   [\\/]* | ?:[\\/]*)
3524   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3525   ;;
3526   *)
3527   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530   IFS=$as_save_IFS
3531   test -z "$as_dir" && as_dir=.
3532     for ac_exec_ext in '' $ac_executable_extensions; do
3533   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536     break 2
3537   fi
3538 done
3539   done
3540 IFS=$as_save_IFS
3541
3542   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3543   ;;
3544 esac
3545 fi
3546 GMSGFMT=$ac_cv_path_GMSGFMT
3547 if test -n "$GMSGFMT"; then
3548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3549 $as_echo "$GMSGFMT" >&6; }
3550 else
3551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 fi
3554
3555
3556 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3557     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3558 fi
3559 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3560 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3561 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3562 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3563     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3564 fi
3565
3566 # Extract the first word of "perl", so it can be a program name with args.
3567 set dummy perl; ac_word=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3571   $as_echo_n "(cached) " >&6
3572 else
3573   case $INTLTOOL_PERL in
3574   [\\/]* | ?:[\\/]*)
3575   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3576   ;;
3577   *)
3578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3580 do
3581   IFS=$as_save_IFS
3582   test -z "$as_dir" && as_dir=.
3583     for ac_exec_ext in '' $ac_executable_extensions; do
3584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587     break 2
3588   fi
3589 done
3590   done
3591 IFS=$as_save_IFS
3592
3593   ;;
3594 esac
3595 fi
3596 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3597 if test -n "$INTLTOOL_PERL"; then
3598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3599 $as_echo "$INTLTOOL_PERL" >&6; }
3600 else
3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 fi
3604
3605
3606 if test -z "$INTLTOOL_PERL"; then
3607    as_fn_error $? "perl not found" "$LINENO" 5
3608 fi
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
3610 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
3611 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3612 if test $? -ne 0; then
3613    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
3614 else
3615    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
3616    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
3617 $as_echo "$IT_PERL_VERSION" >&6; }
3618 fi
3619 if test "x" != "xno-xml"; then
3620    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
3621 $as_echo_n "checking for XML::Parser... " >&6; }
3622    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3623        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3624 $as_echo "ok" >&6; }
3625    else
3626        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3627    fi
3628 fi
3629
3630 # Substitute ALL_LINGUAS so we can use it in po/Makefile
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3645         if test -n "$ac_tool_prefix"; then
3646   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3651   $as_echo_n "(cached) " >&6
3652 else
3653   case $PKG_CONFIG in
3654   [\\/]* | ?:[\\/]*)
3655   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3656   ;;
3657   *)
3658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH
3660 do
3661   IFS=$as_save_IFS
3662   test -z "$as_dir" && as_dir=.
3663     for ac_exec_ext in '' $ac_executable_extensions; do
3664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667     break 2
3668   fi
3669 done
3670   done
3671 IFS=$as_save_IFS
3672
3673   ;;
3674 esac
3675 fi
3676 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3677 if test -n "$PKG_CONFIG"; then
3678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3679 $as_echo "$PKG_CONFIG" >&6; }
3680 else
3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3683 fi
3684
3685
3686 fi
3687 if test -z "$ac_cv_path_PKG_CONFIG"; then
3688   ac_pt_PKG_CONFIG=$PKG_CONFIG
3689   # Extract the first word of "pkg-config", so it can be a program name with args.
3690 set dummy pkg-config; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3694   $as_echo_n "(cached) " >&6
3695 else
3696   case $ac_pt_PKG_CONFIG in
3697   [\\/]* | ?:[\\/]*)
3698   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3699   ;;
3700   *)
3701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704   IFS=$as_save_IFS
3705   test -z "$as_dir" && as_dir=.
3706     for ac_exec_ext in '' $ac_executable_extensions; do
3707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710     break 2
3711   fi
3712 done
3713   done
3714 IFS=$as_save_IFS
3715
3716   ;;
3717 esac
3718 fi
3719 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3720 if test -n "$ac_pt_PKG_CONFIG"; then
3721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3722 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3723 else
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3726 fi
3727
3728   if test "x$ac_pt_PKG_CONFIG" = x; then
3729     PKG_CONFIG=""
3730   else
3731     case $cross_compiling:$ac_tool_warned in
3732 yes:)
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3735 ac_tool_warned=yes ;;
3736 esac
3737     PKG_CONFIG=$ac_pt_PKG_CONFIG
3738   fi
3739 else
3740   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3741 fi
3742
3743 fi
3744 if test -n "$PKG_CONFIG"; then
3745         _pkg_min_version=0.9.0
3746         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3747 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3748         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3749                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3750 $as_echo "yes" >&6; }
3751         else
3752                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3754                 PKG_CONFIG=""
3755         fi
3756 fi
3757
3758 case `pwd` in
3759   *\ * | *\     *)
3760     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3761 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3762 esac
3763
3764
3765
3766 macro_version='2.4.2'
3767 macro_revision='1.3337'
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781 ltmain="$ac_aux_dir/ltmain.sh"
3782
3783 # Make sure we can run config.sub.
3784 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3785   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3786
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3788 $as_echo_n "checking build system type... " >&6; }
3789 if ${ac_cv_build+:} false; then :
3790   $as_echo_n "(cached) " >&6
3791 else
3792   ac_build_alias=$build_alias
3793 test "x$ac_build_alias" = x &&
3794   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3795 test "x$ac_build_alias" = x &&
3796   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3797 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3798   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3799
3800 fi
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3802 $as_echo "$ac_cv_build" >&6; }
3803 case $ac_cv_build in
3804 *-*-*) ;;
3805 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3806 esac
3807 build=$ac_cv_build
3808 ac_save_IFS=$IFS; IFS='-'
3809 set x $ac_cv_build
3810 shift
3811 build_cpu=$1
3812 build_vendor=$2
3813 shift; shift
3814 # Remember, the first character of IFS is used to create $*,
3815 # except with old shells:
3816 build_os=$*
3817 IFS=$ac_save_IFS
3818 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3819
3820
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3822 $as_echo_n "checking host system type... " >&6; }
3823 if ${ac_cv_host+:} false; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   if test "x$host_alias" = x; then
3827   ac_cv_host=$ac_cv_build
3828 else
3829   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3830     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3831 fi
3832
3833 fi
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3835 $as_echo "$ac_cv_host" >&6; }
3836 case $ac_cv_host in
3837 *-*-*) ;;
3838 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3839 esac
3840 host=$ac_cv_host
3841 ac_save_IFS=$IFS; IFS='-'
3842 set x $ac_cv_host
3843 shift
3844 host_cpu=$1
3845 host_vendor=$2
3846 shift; shift
3847 # Remember, the first character of IFS is used to create $*,
3848 # except with old shells:
3849 host_os=$*
3850 IFS=$ac_save_IFS
3851 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3852
3853
3854 # Backslashify metacharacters that are still active within
3855 # double-quoted strings.
3856 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3857
3858 # Same as above, but do not quote variable references.
3859 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3860
3861 # Sed substitution to delay expansion of an escaped shell variable in a
3862 # double_quote_subst'ed string.
3863 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3864
3865 # Sed substitution to delay expansion of an escaped single quote.
3866 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3867
3868 # Sed substitution to avoid accidental globbing in evaled expressions
3869 no_glob_subst='s/\*/\\\*/g'
3870
3871 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3872 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3873 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3874
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3876 $as_echo_n "checking how to print strings... " >&6; }
3877 # Test print first, because it will be a builtin if present.
3878 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3879    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3880   ECHO='print -r --'
3881 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3882   ECHO='printf %s\n'
3883 else
3884   # Use this function as a fallback that always works.
3885   func_fallback_echo ()
3886   {
3887     eval 'cat <<_LTECHO_EOF
3888 $1
3889 _LTECHO_EOF'
3890   }
3891   ECHO='func_fallback_echo'
3892 fi
3893
3894 # func_echo_all arg...
3895 # Invoke $ECHO with all args, space-separated.
3896 func_echo_all ()
3897 {
3898     $ECHO ""
3899 }
3900
3901 case "$ECHO" in
3902   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3903 $as_echo "printf" >&6; } ;;
3904   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3905 $as_echo "print -r" >&6; } ;;
3906   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3907 $as_echo "cat" >&6; } ;;
3908 esac
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923 DEPDIR="${am__leading_dot}deps"
3924
3925 ac_config_commands="$ac_config_commands depfiles"
3926
3927
3928 am_make=${MAKE-make}
3929 cat > confinc << 'END'
3930 am__doit:
3931         @echo this is the am__doit target
3932 .PHONY: am__doit
3933 END
3934 # If we don't find an include directive, just comment out the code.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3936 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3937 am__include="#"
3938 am__quote=
3939 _am_result=none
3940 # First try GNU make style include.
3941 echo "include confinc" > confmf
3942 # Ignore all kinds of additional output from 'make'.
3943 case `$am_make -s -f confmf 2> /dev/null` in #(
3944 *the\ am__doit\ target*)
3945   am__include=include
3946   am__quote=
3947   _am_result=GNU
3948   ;;
3949 esac
3950 # Now try BSD make style include.
3951 if test "$am__include" = "#"; then
3952    echo '.include "confinc"' > confmf
3953    case `$am_make -s -f confmf 2> /dev/null` in #(
3954    *the\ am__doit\ target*)
3955      am__include=.include
3956      am__quote="\""
3957      _am_result=BSD
3958      ;;
3959    esac
3960 fi
3961
3962
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3964 $as_echo "$_am_result" >&6; }
3965 rm -f confinc confmf
3966
3967 # Check whether --enable-dependency-tracking was given.
3968 if test "${enable_dependency_tracking+set}" = set; then :
3969   enableval=$enable_dependency_tracking;
3970 fi
3971
3972 if test "x$enable_dependency_tracking" != xno; then
3973   am_depcomp="$ac_aux_dir/depcomp"
3974   AMDEPBACKSLASH='\'
3975   am__nodep='_no'
3976 fi
3977  if test "x$enable_dependency_tracking" != xno; then
3978   AMDEP_TRUE=
3979   AMDEP_FALSE='#'
3980 else
3981   AMDEP_TRUE='#'
3982   AMDEP_FALSE=
3983 fi
3984
3985
3986 ac_ext=c
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991 if test -n "$ac_tool_prefix"; then
3992   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3993 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false; then :
3997   $as_echo_n "(cached) " >&6
3998 else
3999   if test -n "$CC"; then
4000   ac_cv_prog_CC="$CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4004 do
4005   IFS=$as_save_IFS
4006   test -z "$as_dir" && as_dir=.
4007     for ac_exec_ext in '' $ac_executable_extensions; do
4008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011     break 2
4012   fi
4013 done
4014   done
4015 IFS=$as_save_IFS
4016
4017 fi
4018 fi
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4023 else
4024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4026 fi
4027
4028
4029 fi
4030 if test -z "$ac_cv_prog_CC"; then
4031   ac_ct_CC=$CC
4032   # Extract the first word of "gcc", so it can be a program name with args.
4033 set dummy gcc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4037   $as_echo_n "(cached) " >&6
4038 else
4039   if test -n "$ac_ct_CC"; then
4040   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4044 do
4045   IFS=$as_save_IFS
4046   test -z "$as_dir" && as_dir=.
4047     for ac_exec_ext in '' $ac_executable_extensions; do
4048   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049     ac_cv_prog_ac_ct_CC="gcc"
4050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051     break 2
4052   fi
4053 done
4054   done
4055 IFS=$as_save_IFS
4056
4057 fi
4058 fi
4059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4063 else
4064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4066 fi
4067
4068   if test "x$ac_ct_CC" = x; then
4069     CC=""
4070   else
4071     case $cross_compiling:$ac_tool_warned in
4072 yes:)
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4075 ac_tool_warned=yes ;;
4076 esac
4077     CC=$ac_ct_CC
4078   fi
4079 else
4080   CC="$ac_cv_prog_CC"
4081 fi
4082
4083 if test -z "$CC"; then
4084           if test -n "$ac_tool_prefix"; then
4085     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4086 set dummy ${ac_tool_prefix}cc; ac_word=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if ${ac_cv_prog_CC+:} false; then :
4090   $as_echo_n "(cached) " >&6
4091 else
4092   if test -n "$CC"; then
4093   ac_cv_prog_CC="$CC" # Let the user override the test.
4094 else
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 for as_dir in $PATH
4097 do
4098   IFS=$as_save_IFS
4099   test -z "$as_dir" && as_dir=.
4100     for ac_exec_ext in '' $ac_executable_extensions; do
4101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102     ac_cv_prog_CC="${ac_tool_prefix}cc"
4103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104     break 2
4105   fi
4106 done
4107   done
4108 IFS=$as_save_IFS
4109
4110 fi
4111 fi
4112 CC=$ac_cv_prog_CC
4113 if test -n "$CC"; then
4114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4115 $as_echo "$CC" >&6; }
4116 else
4117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 fi
4120
4121
4122   fi
4123 fi
4124 if test -z "$CC"; then
4125   # Extract the first word of "cc", so it can be a program name with args.
4126 set dummy cc; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_CC+:} false; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   if test -n "$CC"; then
4133   ac_cv_prog_CC="$CC" # Let the user override the test.
4134 else
4135   ac_prog_rejected=no
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH
4138 do
4139   IFS=$as_save_IFS
4140   test -z "$as_dir" && as_dir=.
4141     for ac_exec_ext in '' $ac_executable_extensions; do
4142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4144        ac_prog_rejected=yes
4145        continue
4146      fi
4147     ac_cv_prog_CC="cc"
4148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149     break 2
4150   fi
4151 done
4152   done
4153 IFS=$as_save_IFS
4154
4155 if test $ac_prog_rejected = yes; then
4156   # We found a bogon in the path, so make sure we never use it.
4157   set dummy $ac_cv_prog_CC
4158   shift
4159   if test $# != 0; then
4160     # We chose a different compiler from the bogus one.
4161     # However, it has the same basename, so the bogon will be chosen
4162     # first if we set CC to just the basename; use the full file name.
4163     shift
4164     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4165   fi
4166 fi
4167 fi
4168 fi
4169 CC=$ac_cv_prog_CC
4170 if test -n "$CC"; then
4171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4172 $as_echo "$CC" >&6; }
4173 else
4174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4176 fi
4177
4178
4179 fi
4180 if test -z "$CC"; then
4181   if test -n "$ac_tool_prefix"; then
4182   for ac_prog in cl.exe
4183   do
4184     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_prog_CC+:} false; then :
4189   $as_echo_n "(cached) " >&6
4190 else
4191   if test -n "$CC"; then
4192   ac_cv_prog_CC="$CC" # Let the user override the test.
4193 else
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH
4196 do
4197   IFS=$as_save_IFS
4198   test -z "$as_dir" && as_dir=.
4199     for ac_exec_ext in '' $ac_executable_extensions; do
4200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4203     break 2
4204   fi
4205 done
4206   done
4207 IFS=$as_save_IFS
4208
4209 fi
4210 fi
4211 CC=$ac_cv_prog_CC
4212 if test -n "$CC"; then
4213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4215 else
4216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4218 fi
4219
4220
4221     test -n "$CC" && break
4222   done
4223 fi
4224 if test -z "$CC"; then
4225   ac_ct_CC=$CC
4226   for ac_prog in cl.exe
4227 do
4228   # Extract the first word of "$ac_prog", so it can be a program name with args.
4229 set dummy $ac_prog; ac_word=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4233   $as_echo_n "(cached) " >&6
4234 else
4235   if test -n "$ac_ct_CC"; then
4236   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4237 else
4238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 for as_dir in $PATH
4240 do
4241   IFS=$as_save_IFS
4242   test -z "$as_dir" && as_dir=.
4243     for ac_exec_ext in '' $ac_executable_extensions; do
4244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245     ac_cv_prog_ac_ct_CC="$ac_prog"
4246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247     break 2
4248   fi
4249 done
4250   done
4251 IFS=$as_save_IFS
4252
4253 fi
4254 fi
4255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4256 if test -n "$ac_ct_CC"; then
4257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4258 $as_echo "$ac_ct_CC" >&6; }
4259 else
4260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4262 fi
4263
4264
4265   test -n "$ac_ct_CC" && break
4266 done
4267
4268   if test "x$ac_ct_CC" = x; then
4269     CC=""
4270   else
4271     case $cross_compiling:$ac_tool_warned in
4272 yes:)
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4275 ac_tool_warned=yes ;;
4276 esac
4277     CC=$ac_ct_CC
4278   fi
4279 fi
4280
4281 fi
4282
4283
4284 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $? "no acceptable C compiler found in \$PATH
4287 See \`config.log' for more details" "$LINENO" 5; }
4288
4289 # Provide some information about the compiler.
4290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4291 set X $ac_compile
4292 ac_compiler=$2
4293 for ac_option in --version -v -V -qversion; do
4294   { { ac_try="$ac_compiler $ac_option >&5"
4295 case "(($ac_try" in
4296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297   *) ac_try_echo=$ac_try;;
4298 esac
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4302   ac_status=$?
4303   if test -s conftest.err; then
4304     sed '10a\
4305 ... rest of stderr output deleted ...
4306          10q' conftest.err >conftest.er1
4307     cat conftest.er1 >&5
4308   fi
4309   rm -f conftest.er1 conftest.err
4310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311   test $ac_status = 0; }
4312 done
4313
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h.  */
4316
4317 int
4318 main ()
4319 {
4320
4321   ;
4322   return 0;
4323 }
4324 _ACEOF
4325 ac_clean_files_save=$ac_clean_files
4326 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4327 # Try to create an executable without -o first, disregard a.out.
4328 # It will help us diagnose broken compilers, and finding out an intuition
4329 # of exeext.
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4331 $as_echo_n "checking whether the C compiler works... " >&6; }
4332 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4333
4334 # The possible output files:
4335 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4336
4337 ac_rmfiles=
4338 for ac_file in $ac_files
4339 do
4340   case $ac_file in
4341     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4342     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4343   esac
4344 done
4345 rm -f $ac_rmfiles
4346
4347 if { { ac_try="$ac_link_default"
4348 case "(($ac_try" in
4349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350   *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354   (eval "$ac_link_default") 2>&5
4355   ac_status=$?
4356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357   test $ac_status = 0; }; then :
4358   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4359 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4360 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4361 # so that the user can short-circuit this test for compilers unknown to
4362 # Autoconf.
4363 for ac_file in $ac_files ''
4364 do
4365   test -f "$ac_file" || continue
4366   case $ac_file in
4367     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4368         ;;
4369     [ab].out )
4370         # We found the default executable, but exeext='' is most
4371         # certainly right.
4372         break;;
4373     *.* )
4374         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4375         then :; else
4376            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4377         fi
4378         # We set ac_cv_exeext here because the later test for it is not
4379         # safe: cross compilers may not add the suffix if given an `-o'
4380         # argument, so we may need to know it at that point already.
4381         # Even if this section looks crufty: it has the advantage of
4382         # actually working.
4383         break;;
4384     * )
4385         break;;
4386   esac
4387 done
4388 test "$ac_cv_exeext" = no && ac_cv_exeext=
4389
4390 else
4391   ac_file=''
4392 fi
4393 if test -z "$ac_file"; then :
4394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 $as_echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4398
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error 77 "C compiler cannot create executables
4402 See \`config.log' for more details" "$LINENO" 5; }
4403 else
4404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4405 $as_echo "yes" >&6; }
4406 fi
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4408 $as_echo_n "checking for C compiler default output file name... " >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4410 $as_echo "$ac_file" >&6; }
4411 ac_exeext=$ac_cv_exeext
4412
4413 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4414 ac_clean_files=$ac_clean_files_save
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4416 $as_echo_n "checking for suffix of executables... " >&6; }
4417 if { { ac_try="$ac_link"
4418 case "(($ac_try" in
4419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420   *) ac_try_echo=$ac_try;;
4421 esac
4422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4423 $as_echo "$ac_try_echo"; } >&5
4424   (eval "$ac_link") 2>&5
4425   ac_status=$?
4426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427   test $ac_status = 0; }; then :
4428   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4429 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4430 # work properly (i.e., refer to `conftest.exe'), while it won't with
4431 # `rm'.
4432 for ac_file in conftest.exe conftest conftest.*; do
4433   test -f "$ac_file" || continue
4434   case $ac_file in
4435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4436     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4437           break;;
4438     * ) break;;
4439   esac
4440 done
4441 else
4442   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4444 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4445 See \`config.log' for more details" "$LINENO" 5; }
4446 fi
4447 rm -f conftest conftest$ac_cv_exeext
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4449 $as_echo "$ac_cv_exeext" >&6; }
4450
4451 rm -f conftest.$ac_ext
4452 EXEEXT=$ac_cv_exeext
4453 ac_exeext=$EXEEXT
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h.  */
4456 #include <stdio.h>
4457 int
4458 main ()
4459 {
4460 FILE *f = fopen ("conftest.out", "w");
4461  return ferror (f) || fclose (f) != 0;
4462
4463   ;
4464   return 0;
4465 }
4466 _ACEOF
4467 ac_clean_files="$ac_clean_files conftest.out"
4468 # Check that the compiler produces executables we can run.  If not, either
4469 # the compiler is broken, or we cross compile.
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4471 $as_echo_n "checking whether we are cross compiling... " >&6; }
4472 if test "$cross_compiling" != yes; then
4473   { { ac_try="$ac_link"
4474 case "(($ac_try" in
4475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476   *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480   (eval "$ac_link") 2>&5
4481   ac_status=$?
4482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4483   test $ac_status = 0; }
4484   if { ac_try='./conftest$ac_cv_exeext'
4485   { { case "(($ac_try" in
4486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4487   *) ac_try_echo=$ac_try;;
4488 esac
4489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4490 $as_echo "$ac_try_echo"; } >&5
4491   (eval "$ac_try") 2>&5
4492   ac_status=$?
4493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494   test $ac_status = 0; }; }; then
4495     cross_compiling=no
4496   else
4497     if test "$cross_compiling" = maybe; then
4498         cross_compiling=yes
4499     else
4500         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4502 as_fn_error $? "cannot run C compiled programs.
4503 If you meant to cross compile, use \`--host'.
4504 See \`config.log' for more details" "$LINENO" 5; }
4505     fi
4506   fi
4507 fi
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4509 $as_echo "$cross_compiling" >&6; }
4510
4511 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4512 ac_clean_files=$ac_clean_files_save
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4514 $as_echo_n "checking for suffix of object files... " >&6; }
4515 if ${ac_cv_objext+:} false; then :
4516   $as_echo_n "(cached) " >&6
4517 else
4518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h.  */
4520
4521 int
4522 main ()
4523 {
4524
4525   ;
4526   return 0;
4527 }
4528 _ACEOF
4529 rm -f conftest.o conftest.obj
4530 if { { ac_try="$ac_compile"
4531 case "(($ac_try" in
4532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533   *) ac_try_echo=$ac_try;;
4534 esac
4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536 $as_echo "$ac_try_echo"; } >&5
4537   (eval "$ac_compile") 2>&5
4538   ac_status=$?
4539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540   test $ac_status = 0; }; then :
4541   for ac_file in conftest.o conftest.obj conftest.*; do
4542   test -f "$ac_file" || continue;
4543   case $ac_file in
4544     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4545     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4546        break;;
4547   esac
4548 done
4549 else
4550   $as_echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4552
4553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4555 as_fn_error $? "cannot compute suffix of object files: cannot compile
4556 See \`config.log' for more details" "$LINENO" 5; }
4557 fi
4558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4559 fi
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4561 $as_echo "$ac_cv_objext" >&6; }
4562 OBJEXT=$ac_cv_objext
4563 ac_objext=$OBJEXT
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4565 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4566 if ${ac_cv_c_compiler_gnu+:} false; then :
4567   $as_echo_n "(cached) " >&6
4568 else
4569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h.  */
4571
4572 int
4573 main ()
4574 {
4575 #ifndef __GNUC__
4576        choke me
4577 #endif
4578
4579   ;
4580   return 0;
4581 }
4582 _ACEOF
4583 if ac_fn_c_try_compile "$LINENO"; then :
4584   ac_compiler_gnu=yes
4585 else
4586   ac_compiler_gnu=no
4587 fi
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4590
4591 fi
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4593 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4594 if test $ac_compiler_gnu = yes; then
4595   GCC=yes
4596 else
4597   GCC=
4598 fi
4599 ac_test_CFLAGS=${CFLAGS+set}
4600 ac_save_CFLAGS=$CFLAGS
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4602 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4603 if ${ac_cv_prog_cc_g+:} false; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   ac_save_c_werror_flag=$ac_c_werror_flag
4607    ac_c_werror_flag=yes
4608    ac_cv_prog_cc_g=no
4609    CFLAGS="-g"
4610    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h.  */
4612
4613 int
4614 main ()
4615 {
4616
4617   ;
4618   return 0;
4619 }
4620 _ACEOF
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622   ac_cv_prog_cc_g=yes
4623 else
4624   CFLAGS=""
4625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h.  */
4627
4628 int
4629 main ()
4630 {
4631
4632   ;
4633   return 0;
4634 }
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637
4638 else
4639   ac_c_werror_flag=$ac_save_c_werror_flag
4640          CFLAGS="-g"
4641          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h.  */
4643
4644 int
4645 main ()
4646 {
4647
4648   ;
4649   return 0;
4650 }
4651 _ACEOF
4652 if ac_fn_c_try_compile "$LINENO"; then :
4653   ac_cv_prog_cc_g=yes
4654 fi
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 fi
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 fi
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660    ac_c_werror_flag=$ac_save_c_werror_flag
4661 fi
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4663 $as_echo "$ac_cv_prog_cc_g" >&6; }
4664 if test "$ac_test_CFLAGS" = set; then
4665   CFLAGS=$ac_save_CFLAGS
4666 elif test $ac_cv_prog_cc_g = yes; then
4667   if test "$GCC" = yes; then
4668     CFLAGS="-g -O2"
4669   else
4670     CFLAGS="-g"
4671   fi
4672 else
4673   if test "$GCC" = yes; then
4674     CFLAGS="-O2"
4675   else
4676     CFLAGS=
4677   fi
4678 fi
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4680 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4681 if ${ac_cv_prog_cc_c89+:} false; then :
4682   $as_echo_n "(cached) " >&6
4683 else
4684   ac_cv_prog_cc_c89=no
4685 ac_save_CC=$CC
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h.  */
4688 #include <stdarg.h>
4689 #include <stdio.h>
4690 struct stat;
4691 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4692 struct buf { int x; };
4693 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4694 static char *e (p, i)
4695      char **p;
4696      int i;
4697 {
4698   return p[i];
4699 }
4700 static char *f (char * (*g) (char **, int), char **p, ...)
4701 {
4702   char *s;
4703   va_list v;
4704   va_start (v,p);
4705   s = g (p, va_arg (v,int));
4706   va_end (v);
4707   return s;
4708 }
4709
4710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4711    function prototypes and stuff, but not '\xHH' hex character constants.
4712    These don't provoke an error unfortunately, instead are silently treated
4713    as 'x'.  The following induces an error, until -std is added to get
4714    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4715    array size at least.  It's necessary to write '\x00'==0 to get something
4716    that's true only with -std.  */
4717 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4718
4719 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4720    inside strings and character constants.  */
4721 #define FOO(x) 'x'
4722 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4723
4724 int test (int i, double x);
4725 struct s1 {int (*f) (int a);};
4726 struct s2 {int (*f) (double a);};
4727 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4728 int argc;
4729 char **argv;
4730 int
4731 main ()
4732 {
4733 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4734   ;
4735   return 0;
4736 }
4737 _ACEOF
4738 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4739         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4740 do
4741   CC="$ac_save_CC $ac_arg"
4742   if ac_fn_c_try_compile "$LINENO"; then :
4743   ac_cv_prog_cc_c89=$ac_arg
4744 fi
4745 rm -f core conftest.err conftest.$ac_objext
4746   test "x$ac_cv_prog_cc_c89" != "xno" && break
4747 done
4748 rm -f conftest.$ac_ext
4749 CC=$ac_save_CC
4750
4751 fi
4752 # AC_CACHE_VAL
4753 case "x$ac_cv_prog_cc_c89" in
4754   x)
4755     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4756 $as_echo "none needed" >&6; } ;;
4757   xno)
4758     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4759 $as_echo "unsupported" >&6; } ;;
4760   *)
4761     CC="$CC $ac_cv_prog_cc_c89"
4762     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4763 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4764 esac
4765 if test "x$ac_cv_prog_cc_c89" != xno; then :
4766
4767 fi
4768
4769 ac_ext=c
4770 ac_cpp='$CPP $CPPFLAGS'
4771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4774
4775 ac_ext=c
4776 ac_cpp='$CPP $CPPFLAGS'
4777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4781 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4782 if ${am_cv_prog_cc_c_o+:} false; then :
4783   $as_echo_n "(cached) " >&6
4784 else
4785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h.  */
4787
4788 int
4789 main ()
4790 {
4791
4792   ;
4793   return 0;
4794 }
4795 _ACEOF
4796   # Make sure it works both with $CC and with simple cc.
4797   # Following AC_PROG_CC_C_O, we do the test twice because some
4798   # compilers refuse to overwrite an existing .o file with -o,
4799   # though they will create one.
4800   am_cv_prog_cc_c_o=yes
4801   for am_i in 1 2; do
4802     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4803    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4804    ac_status=$?
4805    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806    (exit $ac_status); } \
4807          && test -f conftest2.$ac_objext; then
4808       : OK
4809     else
4810       am_cv_prog_cc_c_o=no
4811       break
4812     fi
4813   done
4814   rm -f core conftest*
4815   unset am_i
4816 fi
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4818 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4819 if test "$am_cv_prog_cc_c_o" != yes; then
4820    # Losing compiler, so override with the script.
4821    # FIXME: It is wrong to rewrite CC.
4822    # But if we don't then we get into trouble of one sort or another.
4823    # A longer-term fix would be to have automake use am__CC in this case,
4824    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4825    CC="$am_aux_dir/compile $CC"
4826 fi
4827 ac_ext=c
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832
4833
4834 depcc="$CC"   am_compiler_list=
4835
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4837 $as_echo_n "checking dependency style of $depcc... " >&6; }
4838 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4839   $as_echo_n "(cached) " >&6
4840 else
4841   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4842   # We make a subdir and do the tests there.  Otherwise we can end up
4843   # making bogus files that we don't know about and never remove.  For
4844   # instance it was reported that on HP-UX the gcc test will end up
4845   # making a dummy file named 'D' -- because '-MD' means "put the output
4846   # in D".
4847   rm -rf conftest.dir
4848   mkdir conftest.dir
4849   # Copy depcomp to subdir because otherwise we won't find it if we're
4850   # using a relative directory.
4851   cp "$am_depcomp" conftest.dir
4852   cd conftest.dir
4853   # We will build objects and dependencies in a subdirectory because
4854   # it helps to detect inapplicable dependency modes.  For instance
4855   # both Tru64's cc and ICC support -MD to output dependencies as a
4856   # side effect of compilation, but ICC will put the dependencies in
4857   # the current directory while Tru64 will put them in the object
4858   # directory.
4859   mkdir sub
4860
4861   am_cv_CC_dependencies_compiler_type=none
4862   if test "$am_compiler_list" = ""; then
4863      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4864   fi
4865   am__universal=false
4866   case " $depcc " in #(
4867      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4868      esac
4869
4870   for depmode in $am_compiler_list; do
4871     # Setup a source with many dependencies, because some compilers
4872     # like to wrap large dependency lists on column 80 (with \), and
4873     # we should not choose a depcomp mode which is confused by this.
4874     #
4875     # We need to recreate these files for each test, as the compiler may
4876     # overwrite some of them when testing with obscure command lines.
4877     # This happens at least with the AIX C compiler.
4878     : > sub/conftest.c
4879     for i in 1 2 3 4 5 6; do
4880       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4881       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4882       # Solaris 10 /bin/sh.
4883       echo '/* dummy */' > sub/conftst$i.h
4884     done
4885     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4886
4887     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4888     # mode.  It turns out that the SunPro C++ compiler does not properly
4889     # handle '-M -o', and we need to detect this.  Also, some Intel
4890     # versions had trouble with output in subdirs.
4891     am__obj=sub/conftest.${OBJEXT-o}
4892     am__minus_obj="-o $am__obj"
4893     case $depmode in
4894     gcc)
4895       # This depmode causes a compiler race in universal mode.
4896       test "$am__universal" = false || continue
4897       ;;
4898     nosideeffect)
4899       # After this tag, mechanisms are not by side-effect, so they'll
4900       # only be used when explicitly requested.
4901       if test "x$enable_dependency_tracking" = xyes; then
4902         continue
4903       else
4904         break
4905       fi
4906       ;;
4907     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4908       # This compiler won't grok '-c -o', but also, the minuso test has
4909       # not run yet.  These depmodes are late enough in the game, and
4910       # so weak that their functioning should not be impacted.
4911       am__obj=conftest.${OBJEXT-o}
4912       am__minus_obj=
4913       ;;
4914     none) break ;;
4915     esac
4916     if depmode=$depmode \
4917        source=sub/conftest.c object=$am__obj \
4918        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4919        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4920          >/dev/null 2>conftest.err &&
4921        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4922        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4923        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4924        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4925       # icc doesn't choke on unknown options, it will just issue warnings
4926       # or remarks (even with -Werror).  So we grep stderr for any message
4927       # that says an option was ignored or not supported.
4928       # When given -MP, icc 7.0 and 7.1 complain thusly:
4929       #   icc: Command line warning: ignoring option '-M'; no argument required
4930       # The diagnosis changed in icc 8.0:
4931       #   icc: Command line remark: option '-MP' not supported
4932       if (grep 'ignoring option' conftest.err ||
4933           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4934         am_cv_CC_dependencies_compiler_type=$depmode
4935         break
4936       fi
4937     fi
4938   done
4939
4940   cd ..
4941   rm -rf conftest.dir
4942 else
4943   am_cv_CC_dependencies_compiler_type=none
4944 fi
4945
4946 fi
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4948 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4949 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4950
4951  if
4952   test "x$enable_dependency_tracking" != xno \
4953   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4954   am__fastdepCC_TRUE=
4955   am__fastdepCC_FALSE='#'
4956 else
4957   am__fastdepCC_TRUE='#'
4958   am__fastdepCC_FALSE=
4959 fi
4960
4961
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4963 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4964 if ${ac_cv_path_SED+:} false; then :
4965   $as_echo_n "(cached) " >&6
4966 else
4967             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4968      for ac_i in 1 2 3 4 5 6 7; do
4969        ac_script="$ac_script$as_nl$ac_script"
4970      done
4971      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4972      { ac_script=; unset ac_script;}
4973      if test -z "$SED"; then
4974   ac_path_SED_found=false
4975   # Loop through the user's path and test for each of PROGNAME-LIST
4976   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4978 do
4979   IFS=$as_save_IFS
4980   test -z "$as_dir" && as_dir=.
4981     for ac_prog in sed gsed; do
4982     for ac_exec_ext in '' $ac_executable_extensions; do
4983       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4984       as_fn_executable_p "$ac_path_SED" || continue
4985 # Check for GNU ac_path_SED and select it if it is found.
4986   # Check for GNU $ac_path_SED
4987 case `"$ac_path_SED" --version 2>&1` in
4988 *GNU*)
4989   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4990 *)
4991   ac_count=0
4992   $as_echo_n 0123456789 >"conftest.in"
4993   while :
4994   do
4995     cat "conftest.in" "conftest.in" >"conftest.tmp"
4996     mv "conftest.tmp" "conftest.in"
4997     cp "conftest.in" "conftest.nl"
4998     $as_echo '' >> "conftest.nl"
4999     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5000     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5001     as_fn_arith $ac_count + 1 && ac_count=$as_val
5002     if test $ac_count -gt ${ac_path_SED_max-0}; then
5003       # Best one so far, save it but keep looking for a better one
5004       ac_cv_path_SED="$ac_path_SED"
5005       ac_path_SED_max=$ac_count
5006     fi
5007     # 10*(2^10) chars as input seems more than enough
5008     test $ac_count -gt 10 && break
5009   done
5010   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5011 esac
5012
5013       $ac_path_SED_found && break 3
5014     done
5015   done
5016   done
5017 IFS=$as_save_IFS
5018   if test -z "$ac_cv_path_SED"; then
5019     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5020   fi
5021 else
5022   ac_cv_path_SED=$SED
5023 fi
5024
5025 fi
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5027 $as_echo "$ac_cv_path_SED" >&6; }
5028  SED="$ac_cv_path_SED"
5029   rm -f conftest.sed
5030
5031 test -z "$SED" && SED=sed
5032 Xsed="$SED -e 1s/^X//"
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5045 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5046 if ${ac_cv_path_GREP+:} false; then :
5047   $as_echo_n "(cached) " >&6
5048 else
5049   if test -z "$GREP"; then
5050   ac_path_GREP_found=false
5051   # Loop through the user's path and test for each of PROGNAME-LIST
5052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5054 do
5055   IFS=$as_save_IFS
5056   test -z "$as_dir" && as_dir=.
5057     for ac_prog in grep ggrep; do
5058     for ac_exec_ext in '' $ac_executable_extensions; do
5059       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5060       as_fn_executable_p "$ac_path_GREP" || continue
5061 # Check for GNU ac_path_GREP and select it if it is found.
5062   # Check for GNU $ac_path_GREP
5063 case `"$ac_path_GREP" --version 2>&1` in
5064 *GNU*)
5065   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5066 *)
5067   ac_count=0
5068   $as_echo_n 0123456789 >"conftest.in"
5069   while :
5070   do
5071     cat "conftest.in" "conftest.in" >"conftest.tmp"
5072     mv "conftest.tmp" "conftest.in"
5073     cp "conftest.in" "conftest.nl"
5074     $as_echo 'GREP' >> "conftest.nl"
5075     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5076     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5077     as_fn_arith $ac_count + 1 && ac_count=$as_val
5078     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5079       # Best one so far, save it but keep looking for a better one
5080       ac_cv_path_GREP="$ac_path_GREP"
5081       ac_path_GREP_max=$ac_count
5082     fi
5083     # 10*(2^10) chars as input seems more than enough
5084     test $ac_count -gt 10 && break
5085   done
5086   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5087 esac
5088
5089       $ac_path_GREP_found && break 3
5090     done
5091   done
5092   done
5093 IFS=$as_save_IFS
5094   if test -z "$ac_cv_path_GREP"; then
5095     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5096   fi
5097 else
5098   ac_cv_path_GREP=$GREP
5099 fi
5100
5101 fi
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5103 $as_echo "$ac_cv_path_GREP" >&6; }
5104  GREP="$ac_cv_path_GREP"
5105
5106
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5108 $as_echo_n "checking for egrep... " >&6; }
5109 if ${ac_cv_path_EGREP+:} false; then :
5110   $as_echo_n "(cached) " >&6
5111 else
5112   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5113    then ac_cv_path_EGREP="$GREP -E"
5114    else
5115      if test -z "$EGREP"; then
5116   ac_path_EGREP_found=false
5117   # Loop through the user's path and test for each of PROGNAME-LIST
5118   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5120 do
5121   IFS=$as_save_IFS
5122   test -z "$as_dir" && as_dir=.
5123     for ac_prog in egrep; do
5124     for ac_exec_ext in '' $ac_executable_extensions; do
5125       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5126       as_fn_executable_p "$ac_path_EGREP" || continue
5127 # Check for GNU ac_path_EGREP and select it if it is found.
5128   # Check for GNU $ac_path_EGREP
5129 case `"$ac_path_EGREP" --version 2>&1` in
5130 *GNU*)
5131   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5132 *)
5133   ac_count=0
5134   $as_echo_n 0123456789 >"conftest.in"
5135   while :
5136   do
5137     cat "conftest.in" "conftest.in" >"conftest.tmp"
5138     mv "conftest.tmp" "conftest.in"
5139     cp "conftest.in" "conftest.nl"
5140     $as_echo 'EGREP' >> "conftest.nl"
5141     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143     as_fn_arith $ac_count + 1 && ac_count=$as_val
5144     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5145       # Best one so far, save it but keep looking for a better one
5146       ac_cv_path_EGREP="$ac_path_EGREP"
5147       ac_path_EGREP_max=$ac_count
5148     fi
5149     # 10*(2^10) chars as input seems more than enough
5150     test $ac_count -gt 10 && break
5151   done
5152   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5153 esac
5154
5155       $ac_path_EGREP_found && break 3
5156     done
5157   done
5158   done
5159 IFS=$as_save_IFS
5160   if test -z "$ac_cv_path_EGREP"; then
5161     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5162   fi
5163 else
5164   ac_cv_path_EGREP=$EGREP
5165 fi
5166
5167    fi
5168 fi
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5170 $as_echo "$ac_cv_path_EGREP" >&6; }
5171  EGREP="$ac_cv_path_EGREP"
5172
5173
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5175 $as_echo_n "checking for fgrep... " >&6; }
5176 if ${ac_cv_path_FGREP+:} false; then :
5177   $as_echo_n "(cached) " >&6
5178 else
5179   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5180    then ac_cv_path_FGREP="$GREP -F"
5181    else
5182      if test -z "$FGREP"; then
5183   ac_path_FGREP_found=false
5184   # Loop through the user's path and test for each of PROGNAME-LIST
5185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5187 do
5188   IFS=$as_save_IFS
5189   test -z "$as_dir" && as_dir=.
5190     for ac_prog in fgrep; do
5191     for ac_exec_ext in '' $ac_executable_extensions; do
5192       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5193       as_fn_executable_p "$ac_path_FGREP" || continue
5194 # Check for GNU ac_path_FGREP and select it if it is found.
5195   # Check for GNU $ac_path_FGREP
5196 case `"$ac_path_FGREP" --version 2>&1` in
5197 *GNU*)
5198   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5199 *)
5200   ac_count=0
5201   $as_echo_n 0123456789 >"conftest.in"
5202   while :
5203   do
5204     cat "conftest.in" "conftest.in" >"conftest.tmp"
5205     mv "conftest.tmp" "conftest.in"
5206     cp "conftest.in" "conftest.nl"
5207     $as_echo 'FGREP' >> "conftest.nl"
5208     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5209     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5210     as_fn_arith $ac_count + 1 && ac_count=$as_val
5211     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5212       # Best one so far, save it but keep looking for a better one
5213       ac_cv_path_FGREP="$ac_path_FGREP"
5214       ac_path_FGREP_max=$ac_count
5215     fi
5216     # 10*(2^10) chars as input seems more than enough
5217     test $ac_count -gt 10 && break
5218   done
5219   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5220 esac
5221
5222       $ac_path_FGREP_found && break 3
5223     done
5224   done
5225   done
5226 IFS=$as_save_IFS
5227   if test -z "$ac_cv_path_FGREP"; then
5228     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5229   fi
5230 else
5231   ac_cv_path_FGREP=$FGREP
5232 fi
5233
5234    fi
5235 fi
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5237 $as_echo "$ac_cv_path_FGREP" >&6; }
5238  FGREP="$ac_cv_path_FGREP"
5239
5240
5241 test -z "$GREP" && GREP=grep
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261 # Check whether --with-gnu-ld was given.
5262 if test "${with_gnu_ld+set}" = set; then :
5263   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5264 else
5265   with_gnu_ld=no
5266 fi
5267
5268 ac_prog=ld
5269 if test "$GCC" = yes; then
5270   # Check if gcc -print-prog-name=ld gives a path.
5271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5272 $as_echo_n "checking for ld used by $CC... " >&6; }
5273   case $host in
5274   *-*-mingw*)
5275     # gcc leaves a trailing carriage return which upsets mingw
5276     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5277   *)
5278     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5279   esac
5280   case $ac_prog in
5281     # Accept absolute paths.
5282     [\\/]* | ?:[\\/]*)
5283       re_direlt='/[^/][^/]*/\.\./'
5284       # Canonicalize the pathname of ld
5285       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5286       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5287         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5288       done
5289       test -z "$LD" && LD="$ac_prog"
5290       ;;
5291   "")
5292     # If it fails, then pretend we aren't using GCC.
5293     ac_prog=ld
5294     ;;
5295   *)
5296     # If it is relative, then search for the first ld in PATH.
5297     with_gnu_ld=unknown
5298     ;;
5299   esac
5300 elif test "$with_gnu_ld" = yes; then
5301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5302 $as_echo_n "checking for GNU ld... " >&6; }
5303 else
5304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5305 $as_echo_n "checking for non-GNU ld... " >&6; }
5306 fi
5307 if ${lt_cv_path_LD+:} false; then :
5308   $as_echo_n "(cached) " >&6
5309 else
5310   if test -z "$LD"; then
5311   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5312   for ac_dir in $PATH; do
5313     IFS="$lt_save_ifs"
5314     test -z "$ac_dir" && ac_dir=.
5315     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5316       lt_cv_path_LD="$ac_dir/$ac_prog"
5317       # Check to see if the program is GNU ld.  I'd rather use --version,
5318       # but apparently some variants of GNU ld only accept -v.
5319       # Break only if it was the GNU/non-GNU ld that we prefer.
5320       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5321       *GNU* | *'with BFD'*)
5322         test "$with_gnu_ld" != no && break
5323         ;;
5324       *)
5325         test "$with_gnu_ld" != yes && break
5326         ;;
5327       esac
5328     fi
5329   done
5330   IFS="$lt_save_ifs"
5331 else
5332   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5333 fi
5334 fi
5335
5336 LD="$lt_cv_path_LD"
5337 if test -n "$LD"; then
5338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5339 $as_echo "$LD" >&6; }
5340 else
5341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5343 fi
5344 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5346 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5347 if ${lt_cv_prog_gnu_ld+:} false; then :
5348   $as_echo_n "(cached) " >&6
5349 else
5350   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5351 case `$LD -v 2>&1 </dev/null` in
5352 *GNU* | *'with BFD'*)
5353   lt_cv_prog_gnu_ld=yes
5354   ;;
5355 *)
5356   lt_cv_prog_gnu_ld=no
5357   ;;
5358 esac
5359 fi
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5361 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5362 with_gnu_ld=$lt_cv_prog_gnu_ld
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5373 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5374 if ${lt_cv_path_NM+:} false; then :
5375   $as_echo_n "(cached) " >&6
5376 else
5377   if test -n "$NM"; then
5378   # Let the user override the test.
5379   lt_cv_path_NM="$NM"
5380 else
5381   lt_nm_to_check="${ac_tool_prefix}nm"
5382   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5383     lt_nm_to_check="$lt_nm_to_check nm"
5384   fi
5385   for lt_tmp_nm in $lt_nm_to_check; do
5386     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5387     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5388       IFS="$lt_save_ifs"
5389       test -z "$ac_dir" && ac_dir=.
5390       tmp_nm="$ac_dir/$lt_tmp_nm"
5391       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5392         # Check to see if the nm accepts a BSD-compat flag.
5393         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5394         #   nm: unknown option "B" ignored
5395         # Tru64's nm complains that /dev/null is an invalid object file
5396         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5397         */dev/null* | *'Invalid file or object type'*)
5398           lt_cv_path_NM="$tmp_nm -B"
5399           break
5400           ;;
5401         *)
5402           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5403           */dev/null*)
5404             lt_cv_path_NM="$tmp_nm -p"
5405             break
5406             ;;
5407           *)
5408             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5409             continue # so that we can try to find one that supports BSD flags
5410             ;;
5411           esac
5412           ;;
5413         esac
5414       fi
5415     done
5416     IFS="$lt_save_ifs"
5417   done
5418   : ${lt_cv_path_NM=no}
5419 fi
5420 fi
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5422 $as_echo "$lt_cv_path_NM" >&6; }
5423 if test "$lt_cv_path_NM" != "no"; then
5424   NM="$lt_cv_path_NM"
5425 else
5426   # Didn't find any BSD compatible name lister, look for dumpbin.
5427   if test -n "$DUMPBIN"; then :
5428     # Let the user override the test.
5429   else
5430     if test -n "$ac_tool_prefix"; then
5431   for ac_prog in dumpbin "link -dump"
5432   do
5433     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_DUMPBIN+:} false; then :
5438   $as_echo_n "(cached) " >&6
5439 else
5440   if test -n "$DUMPBIN"; then
5441   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5445 do
5446   IFS=$as_save_IFS
5447   test -z "$as_dir" && as_dir=.
5448     for ac_exec_ext in '' $ac_executable_extensions; do
5449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452     break 2
5453   fi
5454 done
5455   done
5456 IFS=$as_save_IFS
5457
5458 fi
5459 fi
5460 DUMPBIN=$ac_cv_prog_DUMPBIN
5461 if test -n "$DUMPBIN"; then
5462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5463 $as_echo "$DUMPBIN" >&6; }
5464 else
5465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5467 fi
5468
5469
5470     test -n "$DUMPBIN" && break
5471   done
5472 fi
5473 if test -z "$DUMPBIN"; then
5474   ac_ct_DUMPBIN=$DUMPBIN
5475   for ac_prog in dumpbin "link -dump"
5476 do
5477   # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5482   $as_echo_n "(cached) " >&6
5483 else
5484   if test -n "$ac_ct_DUMPBIN"; then
5485   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5489 do
5490   IFS=$as_save_IFS
5491   test -z "$as_dir" && as_dir=.
5492     for ac_exec_ext in '' $ac_executable_extensions; do
5493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496     break 2
5497   fi
5498 done
5499   done
5500 IFS=$as_save_IFS
5501
5502 fi
5503 fi
5504 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5505 if test -n "$ac_ct_DUMPBIN"; then
5506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5507 $as_echo "$ac_ct_DUMPBIN" >&6; }
5508 else
5509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5511 fi
5512
5513
5514   test -n "$ac_ct_DUMPBIN" && break
5515 done
5516
5517   if test "x$ac_ct_DUMPBIN" = x; then
5518     DUMPBIN=":"
5519   else
5520     case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5525 esac
5526     DUMPBIN=$ac_ct_DUMPBIN
5527   fi
5528 fi
5529
5530     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5531     *COFF*)
5532       DUMPBIN="$DUMPBIN -symbols"
5533       ;;
5534     *)
5535       DUMPBIN=:
5536       ;;
5537     esac
5538   fi
5539
5540   if test "$DUMPBIN" != ":"; then
5541     NM="$DUMPBIN"
5542   fi
5543 fi
5544 test -z "$NM" && NM=nm
5545
5546
5547
5548
5549
5550
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5552 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5553 if ${lt_cv_nm_interface+:} false; then :
5554   $as_echo_n "(cached) " >&6
5555 else
5556   lt_cv_nm_interface="BSD nm"
5557   echo "int some_variable = 0;" > conftest.$ac_ext
5558   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5559   (eval "$ac_compile" 2>conftest.err)
5560   cat conftest.err >&5
5561   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5562   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5563   cat conftest.err >&5
5564   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5565   cat conftest.out >&5
5566   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5567     lt_cv_nm_interface="MS dumpbin"
5568   fi
5569   rm -f conftest*
5570 fi
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5572 $as_echo "$lt_cv_nm_interface" >&6; }
5573
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5575 $as_echo_n "checking whether ln -s works... " >&6; }
5576 LN_S=$as_ln_s
5577 if test "$LN_S" = "ln -s"; then
5578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5580 else
5581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5582 $as_echo "no, using $LN_S" >&6; }
5583 fi
5584
5585 # find the maximum length of command line arguments
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5587 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5588 if ${lt_cv_sys_max_cmd_len+:} false; then :
5589   $as_echo_n "(cached) " >&6
5590 else
5591     i=0
5592   teststring="ABCD"
5593
5594   case $build_os in
5595   msdosdjgpp*)
5596     # On DJGPP, this test can blow up pretty badly due to problems in libc
5597     # (any single argument exceeding 2000 bytes causes a buffer overrun
5598     # during glob expansion).  Even if it were fixed, the result of this
5599     # check would be larger than it should be.
5600     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5601     ;;
5602
5603   gnu*)
5604     # Under GNU Hurd, this test is not required because there is
5605     # no limit to the length of command line arguments.
5606     # Libtool will interpret -1 as no limit whatsoever
5607     lt_cv_sys_max_cmd_len=-1;
5608     ;;
5609
5610   cygwin* | mingw* | cegcc*)
5611     # On Win9x/ME, this test blows up -- it succeeds, but takes
5612     # about 5 minutes as the teststring grows exponentially.
5613     # Worse, since 9x/ME are not pre-emptively multitasking,
5614     # you end up with a "frozen" computer, even though with patience
5615     # the test eventually succeeds (with a max line length of 256k).
5616     # Instead, let's just punt: use the minimum linelength reported by
5617     # all of the supported platforms: 8192 (on NT/2K/XP).
5618     lt_cv_sys_max_cmd_len=8192;
5619     ;;
5620
5621   mint*)
5622     # On MiNT this can take a long time and run out of memory.
5623     lt_cv_sys_max_cmd_len=8192;
5624     ;;
5625
5626   amigaos*)
5627     # On AmigaOS with pdksh, this test takes hours, literally.
5628     # So we just punt and use a minimum line length of 8192.
5629     lt_cv_sys_max_cmd_len=8192;
5630     ;;
5631
5632   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5633     # This has been around since 386BSD, at least.  Likely further.
5634     if test -x /sbin/sysctl; then
5635       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5636     elif test -x /usr/sbin/sysctl; then
5637       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5638     else
5639       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5640     fi
5641     # And add a safety zone
5642     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5643     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5644     ;;
5645
5646   interix*)
5647     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5648     lt_cv_sys_max_cmd_len=196608
5649     ;;
5650
5651   os2*)
5652     # The test takes a long time on OS/2.
5653     lt_cv_sys_max_cmd_len=8192
5654     ;;
5655
5656   osf*)
5657     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5658     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5659     # nice to cause kernel panics so lets avoid the loop below.
5660     # First set a reasonable default.
5661     lt_cv_sys_max_cmd_len=16384
5662     #
5663     if test -x /sbin/sysconfig; then
5664       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5665         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5666       esac
5667     fi
5668     ;;
5669   sco3.2v5*)
5670     lt_cv_sys_max_cmd_len=102400
5671     ;;
5672   sysv5* | sco5v6* | sysv4.2uw2*)
5673     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5674     if test -n "$kargmax"; then
5675       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5676     else
5677       lt_cv_sys_max_cmd_len=32768
5678     fi
5679     ;;
5680   *)
5681     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5682     if test -n "$lt_cv_sys_max_cmd_len" && \
5683         test undefined != "$lt_cv_sys_max_cmd_len"; then
5684       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5685       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5686     else
5687       # Make teststring a little bigger before we do anything with it.
5688       # a 1K string should be a reasonable start.
5689       for i in 1 2 3 4 5 6 7 8 ; do
5690         teststring=$teststring$teststring
5691       done
5692       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5693       # If test is not a shell built-in, we'll probably end up computing a
5694       # maximum length that is only half of the actual maximum length, but
5695       # we can't tell.
5696       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5697                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5698               test $i != 17 # 1/2 MB should be enough
5699       do
5700         i=`expr $i + 1`
5701         teststring=$teststring$teststring
5702       done
5703       # Only check the string length outside the loop.
5704       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5705       teststring=
5706       # Add a significant safety factor because C++ compilers can tack on
5707       # massive amounts of additional arguments before passing them to the
5708       # linker.  It appears as though 1/2 is a usable value.
5709       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5710     fi
5711     ;;
5712   esac
5713
5714 fi
5715
5716 if test -n $lt_cv_sys_max_cmd_len ; then
5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5718 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5719 else
5720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5721 $as_echo "none" >&6; }
5722 fi
5723 max_cmd_len=$lt_cv_sys_max_cmd_len
5724
5725
5726
5727
5728
5729
5730 : ${CP="cp -f"}
5731 : ${MV="mv -f"}
5732 : ${RM="rm -f"}
5733
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5735 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5736 # Try some XSI features
5737 xsi_shell=no
5738 ( _lt_dummy="a/b/c"
5739   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5740       = c,a/b,b/c, \
5741     && eval 'test $(( 1 + 1 )) -eq 2 \
5742     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5743   && xsi_shell=yes
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5745 $as_echo "$xsi_shell" >&6; }
5746
5747
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5749 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5750 lt_shell_append=no
5751 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5752     >/dev/null 2>&1 \
5753   && lt_shell_append=yes
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5755 $as_echo "$lt_shell_append" >&6; }
5756
5757
5758 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5759   lt_unset=unset
5760 else
5761   lt_unset=false
5762 fi
5763
5764
5765
5766
5767
5768 # test EBCDIC or ASCII
5769 case `echo X|tr X '\101'` in
5770  A) # ASCII based system
5771     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5772   lt_SP2NL='tr \040 \012'
5773   lt_NL2SP='tr \015\012 \040\040'
5774   ;;
5775  *) # EBCDIC based system
5776   lt_SP2NL='tr \100 \n'
5777   lt_NL2SP='tr \r\n \100\100'
5778   ;;
5779 esac
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5790 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5791 if ${lt_cv_to_host_file_cmd+:} false; then :
5792   $as_echo_n "(cached) " >&6
5793 else
5794   case $host in
5795   *-*-mingw* )
5796     case $build in
5797       *-*-mingw* ) # actually msys
5798         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5799         ;;
5800       *-*-cygwin* )
5801         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5802         ;;
5803       * ) # otherwise, assume *nix
5804         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5805         ;;
5806     esac
5807     ;;
5808   *-*-cygwin* )
5809     case $build in
5810       *-*-mingw* ) # actually msys
5811         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5812         ;;
5813       *-*-cygwin* )
5814         lt_cv_to_host_file_cmd=func_convert_file_noop
5815         ;;
5816       * ) # otherwise, assume *nix
5817         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5818         ;;
5819     esac
5820     ;;
5821   * ) # unhandled hosts (and "normal" native builds)
5822     lt_cv_to_host_file_cmd=func_convert_file_noop
5823     ;;
5824 esac
5825
5826 fi
5827
5828 to_host_file_cmd=$lt_cv_to_host_file_cmd
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5830 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5831
5832
5833
5834
5835
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5837 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5838 if ${lt_cv_to_tool_file_cmd+:} false; then :
5839   $as_echo_n "(cached) " >&6
5840 else
5841   #assume ordinary cross tools, or native build.
5842 lt_cv_to_tool_file_cmd=func_convert_file_noop
5843 case $host in
5844   *-*-mingw* )
5845     case $build in
5846       *-*-mingw* ) # actually msys
5847         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5848         ;;
5849     esac
5850     ;;
5851 esac
5852
5853 fi
5854
5855 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5857 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5858
5859
5860
5861
5862
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5864 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5865 if ${lt_cv_ld_reload_flag+:} false; then :
5866   $as_echo_n "(cached) " >&6
5867 else
5868   lt_cv_ld_reload_flag='-r'
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5871 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5872 reload_flag=$lt_cv_ld_reload_flag
5873 case $reload_flag in
5874 "" | " "*) ;;
5875 *) reload_flag=" $reload_flag" ;;
5876 esac
5877 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5878 case $host_os in
5879   cygwin* | mingw* | pw32* | cegcc*)
5880     if test "$GCC" != yes; then
5881       reload_cmds=false
5882     fi
5883     ;;
5884   darwin*)
5885     if test "$GCC" = yes; then
5886       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5887     else
5888       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5889     fi
5890     ;;
5891 esac
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901 if test -n "$ac_tool_prefix"; then
5902   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5903 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_OBJDUMP+:} false; then :
5907   $as_echo_n "(cached) " >&6
5908 else
5909   if test -n "$OBJDUMP"; then
5910   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5914 do
5915   IFS=$as_save_IFS
5916   test -z "$as_dir" && as_dir=.
5917     for ac_exec_ext in '' $ac_executable_extensions; do
5918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921     break 2
5922   fi
5923 done
5924   done
5925 IFS=$as_save_IFS
5926
5927 fi
5928 fi
5929 OBJDUMP=$ac_cv_prog_OBJDUMP
5930 if test -n "$OBJDUMP"; then
5931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5932 $as_echo "$OBJDUMP" >&6; }
5933 else
5934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5936 fi
5937
5938
5939 fi
5940 if test -z "$ac_cv_prog_OBJDUMP"; then
5941   ac_ct_OBJDUMP=$OBJDUMP
5942   # Extract the first word of "objdump", so it can be a program name with args.
5943 set dummy objdump; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5947   $as_echo_n "(cached) " >&6
5948 else
5949   if test -n "$ac_ct_OBJDUMP"; then
5950   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5951 else
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH
5954 do
5955   IFS=$as_save_IFS
5956   test -z "$as_dir" && as_dir=.
5957     for ac_exec_ext in '' $ac_executable_extensions; do
5958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961     break 2
5962   fi
5963 done
5964   done
5965 IFS=$as_save_IFS
5966
5967 fi
5968 fi
5969 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5970 if test -n "$ac_ct_OBJDUMP"; then
5971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5972 $as_echo "$ac_ct_OBJDUMP" >&6; }
5973 else
5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5976 fi
5977
5978   if test "x$ac_ct_OBJDUMP" = x; then
5979     OBJDUMP="false"
5980   else
5981     case $cross_compiling:$ac_tool_warned in
5982 yes:)
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5985 ac_tool_warned=yes ;;
5986 esac
5987     OBJDUMP=$ac_ct_OBJDUMP
5988   fi
5989 else
5990   OBJDUMP="$ac_cv_prog_OBJDUMP"
5991 fi
5992
5993 test -z "$OBJDUMP" && OBJDUMP=objdump
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6004 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6005 if ${lt_cv_deplibs_check_method+:} false; then :
6006   $as_echo_n "(cached) " >&6
6007 else
6008   lt_cv_file_magic_cmd='$MAGIC_CMD'
6009 lt_cv_file_magic_test_file=
6010 lt_cv_deplibs_check_method='unknown'
6011 # Need to set the preceding variable on all platforms that support
6012 # interlibrary dependencies.
6013 # 'none' -- dependencies not supported.
6014 # `unknown' -- same as none, but documents that we really don't know.
6015 # 'pass_all' -- all dependencies passed with no checks.
6016 # 'test_compile' -- check by making test program.
6017 # 'file_magic [[regex]]' -- check by looking for files in library path
6018 # which responds to the $file_magic_cmd with a given extended regex.
6019 # If you have `file' or equivalent on your system and you're not sure
6020 # whether `pass_all' will *always* work, you probably want this one.
6021
6022 case $host_os in
6023 aix[4-9]*)
6024   lt_cv_deplibs_check_method=pass_all
6025   ;;
6026
6027 beos*)
6028   lt_cv_deplibs_check_method=pass_all
6029   ;;
6030
6031 bsdi[45]*)
6032   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6033   lt_cv_file_magic_cmd='/usr/bin/file -L'
6034   lt_cv_file_magic_test_file=/shlib/libc.so
6035   ;;
6036
6037 cygwin*)
6038   # func_win32_libid is a shell function defined in ltmain.sh
6039   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6040   lt_cv_file_magic_cmd='func_win32_libid'
6041   ;;
6042
6043 mingw* | pw32*)
6044   # Base MSYS/MinGW do not provide the 'file' command needed by
6045   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6046   # unless we find 'file', for example because we are cross-compiling.
6047   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6048   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6049     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6050     lt_cv_file_magic_cmd='func_win32_libid'
6051   else
6052     # Keep this pattern in sync with the one in func_win32_libid.
6053     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6054     lt_cv_file_magic_cmd='$OBJDUMP -f'
6055   fi
6056   ;;
6057
6058 cegcc*)
6059   # use the weaker test based on 'objdump'. See mingw*.
6060   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6061   lt_cv_file_magic_cmd='$OBJDUMP -f'
6062   ;;
6063
6064 darwin* | rhapsody*)
6065   lt_cv_deplibs_check_method=pass_all
6066   ;;
6067
6068 freebsd* | dragonfly*)
6069   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6070     case $host_cpu in
6071     i*86 )
6072       # Not sure whether the presence of OpenBSD here was a mistake.
6073       # Let's accept both of them until this is cleared up.
6074       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6075       lt_cv_file_magic_cmd=/usr/bin/file
6076       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6077       ;;
6078     esac
6079   else
6080     lt_cv_deplibs_check_method=pass_all
6081   fi
6082   ;;
6083
6084 haiku*)
6085   lt_cv_deplibs_check_method=pass_all
6086   ;;
6087
6088 hpux10.20* | hpux11*)
6089   lt_cv_file_magic_cmd=/usr/bin/file
6090   case $host_cpu in
6091   ia64*)
6092     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6093     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6094     ;;
6095   hppa*64*)
6096     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]'
6097     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6098     ;;
6099   *)
6100     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6101     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6102     ;;
6103   esac
6104   ;;
6105
6106 interix[3-9]*)
6107   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6108   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6109   ;;
6110
6111 irix5* | irix6* | nonstopux*)
6112   case $LD in
6113   *-32|*"-32 ") libmagic=32-bit;;
6114   *-n32|*"-n32 ") libmagic=N32;;
6115   *-64|*"-64 ") libmagic=64-bit;;
6116   *) libmagic=never-match;;
6117   esac
6118   lt_cv_deplibs_check_method=pass_all
6119   ;;
6120
6121 # This must be glibc/ELF.
6122 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6123   lt_cv_deplibs_check_method=pass_all
6124   ;;
6125
6126 netbsd* | netbsdelf*-gnu)
6127   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6128     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6129   else
6130     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6131   fi
6132   ;;
6133
6134 newos6*)
6135   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6136   lt_cv_file_magic_cmd=/usr/bin/file
6137   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6138   ;;
6139
6140 *nto* | *qnx*)
6141   lt_cv_deplibs_check_method=pass_all
6142   ;;
6143
6144 openbsd*)
6145   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6146     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6147   else
6148     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6149   fi
6150   ;;
6151
6152 osf3* | osf4* | osf5*)
6153   lt_cv_deplibs_check_method=pass_all
6154   ;;
6155
6156 rdos*)
6157   lt_cv_deplibs_check_method=pass_all
6158   ;;
6159
6160 solaris*)
6161   lt_cv_deplibs_check_method=pass_all
6162   ;;
6163
6164 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6165   lt_cv_deplibs_check_method=pass_all
6166   ;;
6167
6168 sysv4 | sysv4.3*)
6169   case $host_vendor in
6170   motorola)
6171     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]'
6172     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6173     ;;
6174   ncr)
6175     lt_cv_deplibs_check_method=pass_all
6176     ;;
6177   sequent)
6178     lt_cv_file_magic_cmd='/bin/file'
6179     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6180     ;;
6181   sni)
6182     lt_cv_file_magic_cmd='/bin/file'
6183     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6184     lt_cv_file_magic_test_file=/lib/libc.so
6185     ;;
6186   siemens)
6187     lt_cv_deplibs_check_method=pass_all
6188     ;;
6189   pc)
6190     lt_cv_deplibs_check_method=pass_all
6191     ;;
6192   esac
6193   ;;
6194
6195 tpf*)
6196   lt_cv_deplibs_check_method=pass_all
6197   ;;
6198 esac
6199
6200 fi
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6202 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6203
6204 file_magic_glob=
6205 want_nocaseglob=no
6206 if test "$build" = "$host"; then
6207   case $host_os in
6208   mingw* | pw32*)
6209     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6210       want_nocaseglob=yes
6211     else
6212       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6213     fi
6214     ;;
6215   esac
6216 fi
6217
6218 file_magic_cmd=$lt_cv_file_magic_cmd
6219 deplibs_check_method=$lt_cv_deplibs_check_method
6220 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243 if test -n "$ac_tool_prefix"; then
6244   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6245 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if ${ac_cv_prog_DLLTOOL+:} false; then :
6249   $as_echo_n "(cached) " >&6
6250 else
6251   if test -n "$DLLTOOL"; then
6252   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6253 else
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH
6256 do
6257   IFS=$as_save_IFS
6258   test -z "$as_dir" && as_dir=.
6259     for ac_exec_ext in '' $ac_executable_extensions; do
6260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263     break 2
6264   fi
6265 done
6266   done
6267 IFS=$as_save_IFS
6268
6269 fi
6270 fi
6271 DLLTOOL=$ac_cv_prog_DLLTOOL
6272 if test -n "$DLLTOOL"; then
6273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6274 $as_echo "$DLLTOOL" >&6; }
6275 else
6276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6278 fi
6279
6280
6281 fi
6282 if test -z "$ac_cv_prog_DLLTOOL"; then
6283   ac_ct_DLLTOOL=$DLLTOOL
6284   # Extract the first word of "dlltool", so it can be a program name with args.
6285 set dummy dlltool; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6289   $as_echo_n "(cached) " >&6
6290 else
6291   if test -n "$ac_ct_DLLTOOL"; then
6292   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6296 do
6297   IFS=$as_save_IFS
6298   test -z "$as_dir" && as_dir=.
6299     for ac_exec_ext in '' $ac_executable_extensions; do
6300   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303     break 2
6304   fi
6305 done
6306   done
6307 IFS=$as_save_IFS
6308
6309 fi
6310 fi
6311 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6312 if test -n "$ac_ct_DLLTOOL"; then
6313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6314 $as_echo "$ac_ct_DLLTOOL" >&6; }
6315 else
6316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6318 fi
6319
6320   if test "x$ac_ct_DLLTOOL" = x; then
6321     DLLTOOL="false"
6322   else
6323     case $cross_compiling:$ac_tool_warned in
6324 yes:)
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6327 ac_tool_warned=yes ;;
6328 esac
6329     DLLTOOL=$ac_ct_DLLTOOL
6330   fi
6331 else
6332   DLLTOOL="$ac_cv_prog_DLLTOOL"
6333 fi
6334
6335 test -z "$DLLTOOL" && DLLTOOL=dlltool
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6347 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6348 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6349   $as_echo_n "(cached) " >&6
6350 else
6351   lt_cv_sharedlib_from_linklib_cmd='unknown'
6352
6353 case $host_os in
6354 cygwin* | mingw* | pw32* | cegcc*)
6355   # two different shell functions defined in ltmain.sh
6356   # decide which to use based on capabilities of $DLLTOOL
6357   case `$DLLTOOL --help 2>&1` in
6358   *--identify-strict*)
6359     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6360     ;;
6361   *)
6362     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6363     ;;
6364   esac
6365   ;;
6366 *)
6367   # fallback: assume linklib IS sharedlib
6368   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6369   ;;
6370 esac
6371
6372 fi
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6374 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6375 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6376 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6377
6378
6379
6380
6381
6382
6383
6384
6385 if test -n "$ac_tool_prefix"; then
6386   for ac_prog in ar
6387   do
6388     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_AR+:} false; then :
6393   $as_echo_n "(cached) " >&6
6394 else
6395   if test -n "$AR"; then
6396   ac_cv_prog_AR="$AR" # Let the user override the test.
6397 else
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 for as_dir in $PATH
6400 do
6401   IFS=$as_save_IFS
6402   test -z "$as_dir" && as_dir=.
6403     for ac_exec_ext in '' $ac_executable_extensions; do
6404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407     break 2
6408   fi
6409 done
6410   done
6411 IFS=$as_save_IFS
6412
6413 fi
6414 fi
6415 AR=$ac_cv_prog_AR
6416 if test -n "$AR"; then
6417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6418 $as_echo "$AR" >&6; }
6419 else
6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6422 fi
6423
6424
6425     test -n "$AR" && break
6426   done
6427 fi
6428 if test -z "$AR"; then
6429   ac_ct_AR=$AR
6430   for ac_prog in ar
6431 do
6432   # Extract the first word of "$ac_prog", so it can be a program name with args.
6433 set dummy $ac_prog; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6437   $as_echo_n "(cached) " >&6
6438 else
6439   if test -n "$ac_ct_AR"; then
6440   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445   IFS=$as_save_IFS
6446   test -z "$as_dir" && as_dir=.
6447     for ac_exec_ext in '' $ac_executable_extensions; do
6448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449     ac_cv_prog_ac_ct_AR="$ac_prog"
6450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451     break 2
6452   fi
6453 done
6454   done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6460 if test -n "$ac_ct_AR"; then
6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6462 $as_echo "$ac_ct_AR" >&6; }
6463 else
6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469   test -n "$ac_ct_AR" && break
6470 done
6471
6472   if test "x$ac_ct_AR" = x; then
6473     AR="false"
6474   else
6475     case $cross_compiling:$ac_tool_warned in
6476 yes:)
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6479 ac_tool_warned=yes ;;
6480 esac
6481     AR=$ac_ct_AR
6482   fi
6483 fi
6484
6485 : ${AR=ar}
6486 : ${AR_FLAGS=cru}
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6499 $as_echo_n "checking for archiver @FILE support... " >&6; }
6500 if ${lt_cv_ar_at_file+:} false; then :
6501   $as_echo_n "(cached) " >&6
6502 else
6503   lt_cv_ar_at_file=no
6504    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h.  */
6506
6507 int
6508 main ()
6509 {
6510
6511   ;
6512   return 0;
6513 }
6514 _ACEOF
6515 if ac_fn_c_try_compile "$LINENO"; then :
6516   echo conftest.$ac_objext > conftest.lst
6517       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6518       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6519   (eval $lt_ar_try) 2>&5
6520   ac_status=$?
6521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6522   test $ac_status = 0; }
6523       if test "$ac_status" -eq 0; then
6524         # Ensure the archiver fails upon bogus file names.
6525         rm -f conftest.$ac_objext libconftest.a
6526         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6527   (eval $lt_ar_try) 2>&5
6528   ac_status=$?
6529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6530   test $ac_status = 0; }
6531         if test "$ac_status" -ne 0; then
6532           lt_cv_ar_at_file=@
6533         fi
6534       fi
6535       rm -f conftest.* libconftest.a
6536
6537 fi
6538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6539
6540 fi
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6542 $as_echo "$lt_cv_ar_at_file" >&6; }
6543
6544 if test "x$lt_cv_ar_at_file" = xno; then
6545   archiver_list_spec=
6546 else
6547   archiver_list_spec=$lt_cv_ar_at_file
6548 fi
6549
6550
6551
6552
6553
6554
6555
6556 if test -n "$ac_tool_prefix"; then
6557   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6558 set dummy ${ac_tool_prefix}strip; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if ${ac_cv_prog_STRIP+:} false; then :
6562   $as_echo_n "(cached) " >&6
6563 else
6564   if test -n "$STRIP"; then
6565   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6569 do
6570   IFS=$as_save_IFS
6571   test -z "$as_dir" && as_dir=.
6572     for ac_exec_ext in '' $ac_executable_extensions; do
6573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576     break 2
6577   fi
6578 done
6579   done
6580 IFS=$as_save_IFS
6581
6582 fi
6583 fi
6584 STRIP=$ac_cv_prog_STRIP
6585 if test -n "$STRIP"; then
6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6587 $as_echo "$STRIP" >&6; }
6588 else
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6591 fi
6592
6593
6594 fi
6595 if test -z "$ac_cv_prog_STRIP"; then
6596   ac_ct_STRIP=$STRIP
6597   # Extract the first word of "strip", so it can be a program name with args.
6598 set dummy strip; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600 $as_echo_n "checking for $ac_word... " >&6; }
6601 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6602   $as_echo_n "(cached) " >&6
6603 else
6604   if test -n "$ac_ct_STRIP"; then
6605   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6606 else
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 for as_dir in $PATH
6609 do
6610   IFS=$as_save_IFS
6611   test -z "$as_dir" && as_dir=.
6612     for ac_exec_ext in '' $ac_executable_extensions; do
6613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614     ac_cv_prog_ac_ct_STRIP="strip"
6615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616     break 2
6617   fi
6618 done
6619   done
6620 IFS=$as_save_IFS
6621
6622 fi
6623 fi
6624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6625 if test -n "$ac_ct_STRIP"; then
6626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6627 $as_echo "$ac_ct_STRIP" >&6; }
6628 else
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 $as_echo "no" >&6; }
6631 fi
6632
6633   if test "x$ac_ct_STRIP" = x; then
6634     STRIP=":"
6635   else
6636     case $cross_compiling:$ac_tool_warned in
6637 yes:)
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6640 ac_tool_warned=yes ;;
6641 esac
6642     STRIP=$ac_ct_STRIP
6643   fi
6644 else
6645   STRIP="$ac_cv_prog_STRIP"
6646 fi
6647
6648 test -z "$STRIP" && STRIP=:
6649
6650
6651
6652
6653
6654
6655 if test -n "$ac_tool_prefix"; then
6656   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_RANLIB+:} false; then :
6661   $as_echo_n "(cached) " >&6
6662 else
6663   if test -n "$RANLIB"; then
6664   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6668 do
6669   IFS=$as_save_IFS
6670   test -z "$as_dir" && as_dir=.
6671     for ac_exec_ext in '' $ac_executable_extensions; do
6672   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675     break 2
6676   fi
6677 done
6678   done
6679 IFS=$as_save_IFS
6680
6681 fi
6682 fi
6683 RANLIB=$ac_cv_prog_RANLIB
6684 if test -n "$RANLIB"; then
6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6686 $as_echo "$RANLIB" >&6; }
6687 else
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6690 fi
6691
6692
6693 fi
6694 if test -z "$ac_cv_prog_RANLIB"; then
6695   ac_ct_RANLIB=$RANLIB
6696   # Extract the first word of "ranlib", so it can be a program name with args.
6697 set dummy ranlib; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6701   $as_echo_n "(cached) " >&6
6702 else
6703   if test -n "$ac_ct_RANLIB"; then
6704   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6705 else
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 for as_dir in $PATH
6708 do
6709   IFS=$as_save_IFS
6710   test -z "$as_dir" && as_dir=.
6711     for ac_exec_ext in '' $ac_executable_extensions; do
6712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713     ac_cv_prog_ac_ct_RANLIB="ranlib"
6714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715     break 2
6716   fi
6717 done
6718   done
6719 IFS=$as_save_IFS
6720
6721 fi
6722 fi
6723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6724 if test -n "$ac_ct_RANLIB"; then
6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6726 $as_echo "$ac_ct_RANLIB" >&6; }
6727 else
6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6730 fi
6731
6732   if test "x$ac_ct_RANLIB" = x; then
6733     RANLIB=":"
6734   else
6735     case $cross_compiling:$ac_tool_warned in
6736 yes:)
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6740 esac
6741     RANLIB=$ac_ct_RANLIB
6742   fi
6743 else
6744   RANLIB="$ac_cv_prog_RANLIB"
6745 fi
6746
6747 test -z "$RANLIB" && RANLIB=:
6748
6749
6750
6751
6752
6753
6754 # Determine commands to create old-style static archives.
6755 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6756 old_postinstall_cmds='chmod 644 $oldlib'
6757 old_postuninstall_cmds=
6758
6759 if test -n "$RANLIB"; then
6760   case $host_os in
6761   openbsd*)
6762     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6763     ;;
6764   *)
6765     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6766     ;;
6767   esac
6768   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6769 fi
6770
6771 case $host_os in
6772   darwin*)
6773     lock_old_archive_extraction=yes ;;
6774   *)
6775     lock_old_archive_extraction=no ;;
6776 esac
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816 # If no C compiler was specified, use CC.
6817 LTCC=${LTCC-"$CC"}
6818
6819 # If no C compiler flags were specified, use CFLAGS.
6820 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6821
6822 # Allow CC to be a program name with arguments.
6823 compiler=$CC
6824
6825
6826 # Check for command to grab the raw symbol name followed by C symbol from nm.
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6828 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6829 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6830   $as_echo_n "(cached) " >&6
6831 else
6832
6833 # These are sane defaults that work on at least a few old systems.
6834 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6835
6836 # Character class describing NM global symbol codes.
6837 symcode='[BCDEGRST]'
6838
6839 # Regexp to match symbols that can be accessed directly from C.
6840 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6841
6842 # Define system-specific variables.
6843 case $host_os in
6844 aix*)
6845   symcode='[BCDT]'
6846   ;;
6847 cygwin* | mingw* | pw32* | cegcc*)
6848   symcode='[ABCDGISTW]'
6849   ;;
6850 hpux*)
6851   if test "$host_cpu" = ia64; then
6852     symcode='[ABCDEGRST]'
6853   fi
6854   ;;
6855 irix* | nonstopux*)
6856   symcode='[BCDEGRST]'
6857   ;;
6858 osf*)
6859   symcode='[BCDEGQRST]'
6860   ;;
6861 solaris*)
6862   symcode='[BDRT]'
6863   ;;
6864 sco3.2v5*)
6865   symcode='[DT]'
6866   ;;
6867 sysv4.2uw2*)
6868   symcode='[DT]'
6869   ;;
6870 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6871   symcode='[ABDT]'
6872   ;;
6873 sysv4)
6874   symcode='[DFNSTU]'
6875   ;;
6876 esac
6877
6878 # If we're using GNU nm, then use its standard symbol codes.
6879 case `$NM -V 2>&1` in
6880 *GNU* | *'with BFD'*)
6881   symcode='[ABCDGIRSTW]' ;;
6882 esac
6883
6884 # Transform an extracted symbol line into a proper C declaration.
6885 # Some systems (esp. on ia64) link data and code symbols differently,
6886 # so use this general approach.
6887 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6888
6889 # Transform an extracted symbol line into symbol name and symbol address
6890 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6891 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'"
6892
6893 # Handle CRLF in mingw tool chain
6894 opt_cr=
6895 case $build_os in
6896 mingw*)
6897   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6898   ;;
6899 esac
6900
6901 # Try without a prefix underscore, then with it.
6902 for ac_symprfx in "" "_"; do
6903
6904   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6905   symxfrm="\\1 $ac_symprfx\\2 \\2"
6906
6907   # Write the raw and C identifiers.
6908   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6909     # Fake it for dumpbin and say T for any non-static function
6910     # and D for any global variable.
6911     # Also find C++ and __fastcall symbols from MSVC++,
6912     # which start with @ or ?.
6913     lt_cv_sys_global_symbol_pipe="$AWK '"\
6914 "     {last_section=section; section=\$ 3};"\
6915 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6916 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6917 "     \$ 0!~/External *\|/{next};"\
6918 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6919 "     {if(hide[section]) next};"\
6920 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6921 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6922 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6923 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6924 "     ' prfx=^$ac_symprfx"
6925   else
6926     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6927   fi
6928   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6929
6930   # Check to see that the pipe works correctly.
6931   pipe_works=no
6932
6933   rm -f conftest*
6934   cat > conftest.$ac_ext <<_LT_EOF
6935 #ifdef __cplusplus
6936 extern "C" {
6937 #endif
6938 char nm_test_var;
6939 void nm_test_func(void);
6940 void nm_test_func(void){}
6941 #ifdef __cplusplus
6942 }
6943 #endif
6944 int main(){nm_test_var='a';nm_test_func();return(0);}
6945 _LT_EOF
6946
6947   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6948   (eval $ac_compile) 2>&5
6949   ac_status=$?
6950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6951   test $ac_status = 0; }; then
6952     # Now try to grab the symbols.
6953     nlist=conftest.nm
6954     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6955   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6956   ac_status=$?
6957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6958   test $ac_status = 0; } && test -s "$nlist"; then
6959       # Try sorting and uniquifying the output.
6960       if sort "$nlist" | uniq > "$nlist"T; then
6961         mv -f "$nlist"T "$nlist"
6962       else
6963         rm -f "$nlist"T
6964       fi
6965
6966       # Make sure that we snagged all the symbols we need.
6967       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6968         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6969           cat <<_LT_EOF > conftest.$ac_ext
6970 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6971 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6972 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6973    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6974 # define LT_DLSYM_CONST
6975 #elif defined(__osf__)
6976 /* This system does not cope well with relocations in const data.  */
6977 # define LT_DLSYM_CONST
6978 #else
6979 # define LT_DLSYM_CONST const
6980 #endif
6981
6982 #ifdef __cplusplus
6983 extern "C" {
6984 #endif
6985
6986 _LT_EOF
6987           # Now generate the symbol file.
6988           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6989
6990           cat <<_LT_EOF >> conftest.$ac_ext
6991
6992 /* The mapping between symbol names and symbols.  */
6993 LT_DLSYM_CONST struct {
6994   const char *name;
6995   void       *address;
6996 }
6997 lt__PROGRAM__LTX_preloaded_symbols[] =
6998 {
6999   { "@PROGRAM@", (void *) 0 },
7000 _LT_EOF
7001           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7002           cat <<\_LT_EOF >> conftest.$ac_ext
7003   {0, (void *) 0}
7004 };
7005
7006 /* This works around a problem in FreeBSD linker */
7007 #ifdef FREEBSD_WORKAROUND
7008 static const void *lt_preloaded_setup() {
7009   return lt__PROGRAM__LTX_preloaded_symbols;
7010 }
7011 #endif
7012
7013 #ifdef __cplusplus
7014 }
7015 #endif
7016 _LT_EOF
7017           # Now try linking the two files.
7018           mv conftest.$ac_objext conftstm.$ac_objext
7019           lt_globsym_save_LIBS=$LIBS
7020           lt_globsym_save_CFLAGS=$CFLAGS
7021           LIBS="conftstm.$ac_objext"
7022           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7023           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7024   (eval $ac_link) 2>&5
7025   ac_status=$?
7026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7027   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7028             pipe_works=yes
7029           fi
7030           LIBS=$lt_globsym_save_LIBS
7031           CFLAGS=$lt_globsym_save_CFLAGS
7032         else
7033           echo "cannot find nm_test_func in $nlist" >&5
7034         fi
7035       else
7036         echo "cannot find nm_test_var in $nlist" >&5
7037       fi
7038     else
7039       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7040     fi
7041   else
7042     echo "$progname: failed program was:" >&5
7043     cat conftest.$ac_ext >&5
7044   fi
7045   rm -rf conftest* conftst*
7046
7047   # Do not use the global_symbol_pipe unless it works.
7048   if test "$pipe_works" = yes; then
7049     break
7050   else
7051     lt_cv_sys_global_symbol_pipe=
7052   fi
7053 done
7054
7055 fi
7056
7057 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7058   lt_cv_sys_global_symbol_to_cdecl=
7059 fi
7060 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7062 $as_echo "failed" >&6; }
7063 else
7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7065 $as_echo "ok" >&6; }
7066 fi
7067
7068 # Response file support.
7069 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7070   nm_file_list_spec='@'
7071 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7072   nm_file_list_spec='@'
7073 fi
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7102 $as_echo_n "checking for sysroot... " >&6; }
7103
7104 # Check whether --with-sysroot was given.
7105 if test "${with_sysroot+set}" = set; then :
7106   withval=$with_sysroot;
7107 else
7108   with_sysroot=no
7109 fi
7110
7111
7112 lt_sysroot=
7113 case ${with_sysroot} in #(
7114  yes)
7115    if test "$GCC" = yes; then
7116      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7117    fi
7118    ;; #(
7119  /*)
7120    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7121    ;; #(
7122  no|'')
7123    ;; #(
7124  *)
7125    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7126 $as_echo "${with_sysroot}" >&6; }
7127    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7128    ;;
7129 esac
7130
7131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7132 $as_echo "${lt_sysroot:-no}" >&6; }
7133
7134
7135
7136
7137
7138 # Check whether --enable-libtool-lock was given.
7139 if test "${enable_libtool_lock+set}" = set; then :
7140   enableval=$enable_libtool_lock;
7141 fi
7142
7143 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7144
7145 # Some flags need to be propagated to the compiler or linker for good
7146 # libtool support.
7147 case $host in
7148 ia64-*-hpux*)
7149   # Find out which ABI we are using.
7150   echo 'int i;' > conftest.$ac_ext
7151   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7152   (eval $ac_compile) 2>&5
7153   ac_status=$?
7154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7155   test $ac_status = 0; }; then
7156     case `/usr/bin/file conftest.$ac_objext` in
7157       *ELF-32*)
7158         HPUX_IA64_MODE="32"
7159         ;;
7160       *ELF-64*)
7161         HPUX_IA64_MODE="64"
7162         ;;
7163     esac
7164   fi
7165   rm -rf conftest*
7166   ;;
7167 *-*-irix6*)
7168   # Find out which ABI we are using.
7169   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7170   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7171   (eval $ac_compile) 2>&5
7172   ac_status=$?
7173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7174   test $ac_status = 0; }; then
7175     if test "$lt_cv_prog_gnu_ld" = yes; then
7176       case `/usr/bin/file conftest.$ac_objext` in
7177         *32-bit*)
7178           LD="${LD-ld} -melf32bsmip"
7179           ;;
7180         *N32*)
7181           LD="${LD-ld} -melf32bmipn32"
7182           ;;
7183         *64-bit*)
7184           LD="${LD-ld} -melf64bmip"
7185         ;;
7186       esac
7187     else
7188       case `/usr/bin/file conftest.$ac_objext` in
7189         *32-bit*)
7190           LD="${LD-ld} -32"
7191           ;;
7192         *N32*)
7193           LD="${LD-ld} -n32"
7194           ;;
7195         *64-bit*)
7196           LD="${LD-ld} -64"
7197           ;;
7198       esac
7199     fi
7200   fi
7201   rm -rf conftest*
7202   ;;
7203
7204 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7205 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7206   # Find out which ABI we are using.
7207   echo 'int i;' > conftest.$ac_ext
7208   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7209   (eval $ac_compile) 2>&5
7210   ac_status=$?
7211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7212   test $ac_status = 0; }; then
7213     case `/usr/bin/file conftest.o` in
7214       *32-bit*)
7215         case $host in
7216           x86_64-*kfreebsd*-gnu)
7217             LD="${LD-ld} -m elf_i386_fbsd"
7218             ;;
7219           x86_64-*linux*)
7220             case `/usr/bin/file conftest.o` in
7221               *x86-64*)
7222                 LD="${LD-ld} -m elf32_x86_64"
7223                 ;;
7224               *)
7225                 LD="${LD-ld} -m elf_i386"
7226                 ;;
7227             esac
7228             ;;
7229           powerpc64le-*)
7230             LD="${LD-ld} -m elf32lppclinux"
7231             ;;
7232           powerpc64-*)
7233             LD="${LD-ld} -m elf32ppclinux"
7234             ;;
7235           s390x-*linux*)
7236             LD="${LD-ld} -m elf_s390"
7237             ;;
7238           sparc64-*linux*)
7239             LD="${LD-ld} -m elf32_sparc"
7240             ;;
7241         esac
7242         ;;
7243       *64-bit*)
7244         case $host in
7245           x86_64-*kfreebsd*-gnu)
7246             LD="${LD-ld} -m elf_x86_64_fbsd"
7247             ;;
7248           x86_64-*linux*)
7249             LD="${LD-ld} -m elf_x86_64"
7250             ;;
7251           powerpcle-*)
7252             LD="${LD-ld} -m elf64lppc"
7253             ;;
7254           powerpc-*)
7255             LD="${LD-ld} -m elf64ppc"
7256             ;;
7257           s390*-*linux*|s390*-*tpf*)
7258             LD="${LD-ld} -m elf64_s390"
7259             ;;
7260           sparc*-*linux*)
7261             LD="${LD-ld} -m elf64_sparc"
7262             ;;
7263         esac
7264         ;;
7265     esac
7266   fi
7267   rm -rf conftest*
7268   ;;
7269
7270 *-*-sco3.2v5*)
7271   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7272   SAVE_CFLAGS="$CFLAGS"
7273   CFLAGS="$CFLAGS -belf"
7274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7275 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7276 if ${lt_cv_cc_needs_belf+:} false; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   ac_ext=c
7280 ac_cpp='$CPP $CPPFLAGS'
7281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7284
7285      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h.  */
7287
7288 int
7289 main ()
7290 {
7291
7292   ;
7293   return 0;
7294 }
7295 _ACEOF
7296 if ac_fn_c_try_link "$LINENO"; then :
7297   lt_cv_cc_needs_belf=yes
7298 else
7299   lt_cv_cc_needs_belf=no
7300 fi
7301 rm -f core conftest.err conftest.$ac_objext \
7302     conftest$ac_exeext conftest.$ac_ext
7303      ac_ext=c
7304 ac_cpp='$CPP $CPPFLAGS'
7305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7308
7309 fi
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7311 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7312   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7313     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7314     CFLAGS="$SAVE_CFLAGS"
7315   fi
7316   ;;
7317 *-*solaris*)
7318   # Find out which ABI we are using.
7319   echo 'int i;' > conftest.$ac_ext
7320   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7321   (eval $ac_compile) 2>&5
7322   ac_status=$?
7323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7324   test $ac_status = 0; }; then
7325     case `/usr/bin/file conftest.o` in
7326     *64-bit*)
7327       case $lt_cv_prog_gnu_ld in
7328       yes*)
7329         case $host in
7330         i?86-*-solaris*)
7331           LD="${LD-ld} -m elf_x86_64"
7332           ;;
7333         sparc*-*-solaris*)
7334           LD="${LD-ld} -m elf64_sparc"
7335           ;;
7336         esac
7337         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7338         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7339           LD="${LD-ld}_sol2"
7340         fi
7341         ;;
7342       *)
7343         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7344           LD="${LD-ld} -64"
7345         fi
7346         ;;
7347       esac
7348       ;;
7349     esac
7350   fi
7351   rm -rf conftest*
7352   ;;
7353 esac
7354
7355 need_locks="$enable_libtool_lock"
7356
7357 if test -n "$ac_tool_prefix"; then
7358   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7359 set dummy ${ac_tool_prefix}mt; ac_word=$2
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7361 $as_echo_n "checking for $ac_word... " >&6; }
7362 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7363   $as_echo_n "(cached) " >&6
7364 else
7365   if test -n "$MANIFEST_TOOL"; then
7366   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7367 else
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 for as_dir in $PATH
7370 do
7371   IFS=$as_save_IFS
7372   test -z "$as_dir" && as_dir=.
7373     for ac_exec_ext in '' $ac_executable_extensions; do
7374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377     break 2
7378   fi
7379 done
7380   done
7381 IFS=$as_save_IFS
7382
7383 fi
7384 fi
7385 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7386 if test -n "$MANIFEST_TOOL"; then
7387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7388 $as_echo "$MANIFEST_TOOL" >&6; }
7389 else
7390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7391 $as_echo "no" >&6; }
7392 fi
7393
7394
7395 fi
7396 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7397   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7398   # Extract the first word of "mt", so it can be a program name with args.
7399 set dummy mt; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7403   $as_echo_n "(cached) " >&6
7404 else
7405   if test -n "$ac_ct_MANIFEST_TOOL"; then
7406   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7407 else
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 for as_dir in $PATH
7410 do
7411   IFS=$as_save_IFS
7412   test -z "$as_dir" && as_dir=.
7413     for ac_exec_ext in '' $ac_executable_extensions; do
7414   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7415     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417     break 2
7418   fi
7419 done
7420   done
7421 IFS=$as_save_IFS
7422
7423 fi
7424 fi
7425 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7426 if test -n "$ac_ct_MANIFEST_TOOL"; then
7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7428 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7429 else
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7432 fi
7433
7434   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7435     MANIFEST_TOOL=":"
7436   else
7437     case $cross_compiling:$ac_tool_warned in
7438 yes:)
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7441 ac_tool_warned=yes ;;
7442 esac
7443     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7444   fi
7445 else
7446   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7447 fi
7448
7449 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7451 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7452 if ${lt_cv_path_mainfest_tool+:} false; then :
7453   $as_echo_n "(cached) " >&6
7454 else
7455   lt_cv_path_mainfest_tool=no
7456   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7457   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7458   cat conftest.err >&5
7459   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7460     lt_cv_path_mainfest_tool=yes
7461   fi
7462   rm -f conftest*
7463 fi
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7465 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7466 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7467   MANIFEST_TOOL=:
7468 fi
7469
7470
7471
7472
7473
7474
7475   case $host_os in
7476     rhapsody* | darwin*)
7477     if test -n "$ac_tool_prefix"; then
7478   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7479 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7483   $as_echo_n "(cached) " >&6
7484 else
7485   if test -n "$DSYMUTIL"; then
7486   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7487 else
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH
7490 do
7491   IFS=$as_save_IFS
7492   test -z "$as_dir" && as_dir=.
7493     for ac_exec_ext in '' $ac_executable_extensions; do
7494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497     break 2
7498   fi
7499 done
7500   done
7501 IFS=$as_save_IFS
7502
7503 fi
7504 fi
7505 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7506 if test -n "$DSYMUTIL"; then
7507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7508 $as_echo "$DSYMUTIL" >&6; }
7509 else
7510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7512 fi
7513
7514
7515 fi
7516 if test -z "$ac_cv_prog_DSYMUTIL"; then
7517   ac_ct_DSYMUTIL=$DSYMUTIL
7518   # Extract the first word of "dsymutil", so it can be a program name with args.
7519 set dummy dsymutil; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   if test -n "$ac_ct_DSYMUTIL"; then
7526   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7527 else
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 for as_dir in $PATH
7530 do
7531   IFS=$as_save_IFS
7532   test -z "$as_dir" && as_dir=.
7533     for ac_exec_ext in '' $ac_executable_extensions; do
7534   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537     break 2
7538   fi
7539 done
7540   done
7541 IFS=$as_save_IFS
7542
7543 fi
7544 fi
7545 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7546 if test -n "$ac_ct_DSYMUTIL"; then
7547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7548 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7549 else
7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7552 fi
7553
7554   if test "x$ac_ct_DSYMUTIL" = x; then
7555     DSYMUTIL=":"
7556   else
7557     case $cross_compiling:$ac_tool_warned in
7558 yes:)
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7561 ac_tool_warned=yes ;;
7562 esac
7563     DSYMUTIL=$ac_ct_DSYMUTIL
7564   fi
7565 else
7566   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7567 fi
7568
7569     if test -n "$ac_tool_prefix"; then
7570   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7571 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if ${ac_cv_prog_NMEDIT+:} false; then :
7575   $as_echo_n "(cached) " >&6
7576 else
7577   if test -n "$NMEDIT"; then
7578   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7579 else
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 for as_dir in $PATH
7582 do
7583   IFS=$as_save_IFS
7584   test -z "$as_dir" && as_dir=.
7585     for ac_exec_ext in '' $ac_executable_extensions; do
7586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7587     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589     break 2
7590   fi
7591 done
7592   done
7593 IFS=$as_save_IFS
7594
7595 fi
7596 fi
7597 NMEDIT=$ac_cv_prog_NMEDIT
7598 if test -n "$NMEDIT"; then
7599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7600 $as_echo "$NMEDIT" >&6; }
7601 else
7602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7604 fi
7605
7606
7607 fi
7608 if test -z "$ac_cv_prog_NMEDIT"; then
7609   ac_ct_NMEDIT=$NMEDIT
7610   # Extract the first word of "nmedit", so it can be a program name with args.
7611 set dummy nmedit; ac_word=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7615   $as_echo_n "(cached) " >&6
7616 else
7617   if test -n "$ac_ct_NMEDIT"; then
7618   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7619 else
7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7621 for as_dir in $PATH
7622 do
7623   IFS=$as_save_IFS
7624   test -z "$as_dir" && as_dir=.
7625     for ac_exec_ext in '' $ac_executable_extensions; do
7626   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7627     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629     break 2
7630   fi
7631 done
7632   done
7633 IFS=$as_save_IFS
7634
7635 fi
7636 fi
7637 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7638 if test -n "$ac_ct_NMEDIT"; then
7639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7640 $as_echo "$ac_ct_NMEDIT" >&6; }
7641 else
7642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7644 fi
7645
7646   if test "x$ac_ct_NMEDIT" = x; then
7647     NMEDIT=":"
7648   else
7649     case $cross_compiling:$ac_tool_warned in
7650 yes:)
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7653 ac_tool_warned=yes ;;
7654 esac
7655     NMEDIT=$ac_ct_NMEDIT
7656   fi
7657 else
7658   NMEDIT="$ac_cv_prog_NMEDIT"
7659 fi
7660
7661     if test -n "$ac_tool_prefix"; then
7662   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7663 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if ${ac_cv_prog_LIPO+:} false; then :
7667   $as_echo_n "(cached) " >&6
7668 else
7669   if test -n "$LIPO"; then
7670   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7671 else
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 for as_dir in $PATH
7674 do
7675   IFS=$as_save_IFS
7676   test -z "$as_dir" && as_dir=.
7677     for ac_exec_ext in '' $ac_executable_extensions; do
7678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7681     break 2
7682   fi
7683 done
7684   done
7685 IFS=$as_save_IFS
7686
7687 fi
7688 fi
7689 LIPO=$ac_cv_prog_LIPO
7690 if test -n "$LIPO"; then
7691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7692 $as_echo "$LIPO" >&6; }
7693 else
7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7696 fi
7697
7698
7699 fi
7700 if test -z "$ac_cv_prog_LIPO"; then
7701   ac_ct_LIPO=$LIPO
7702   # Extract the first word of "lipo", so it can be a program name with args.
7703 set dummy lipo; ac_word=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705 $as_echo_n "checking for $ac_word... " >&6; }
7706 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7707   $as_echo_n "(cached) " >&6
7708 else
7709   if test -n "$ac_ct_LIPO"; then
7710   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7711 else
7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713 for as_dir in $PATH
7714 do
7715   IFS=$as_save_IFS
7716   test -z "$as_dir" && as_dir=.
7717     for ac_exec_ext in '' $ac_executable_extensions; do
7718   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7719     ac_cv_prog_ac_ct_LIPO="lipo"
7720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721     break 2
7722   fi
7723 done
7724   done
7725 IFS=$as_save_IFS
7726
7727 fi
7728 fi
7729 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7730 if test -n "$ac_ct_LIPO"; then
7731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7732 $as_echo "$ac_ct_LIPO" >&6; }
7733 else
7734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7736 fi
7737
7738   if test "x$ac_ct_LIPO" = x; then
7739     LIPO=":"
7740   else
7741     case $cross_compiling:$ac_tool_warned in
7742 yes:)
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7745 ac_tool_warned=yes ;;
7746 esac
7747     LIPO=$ac_ct_LIPO
7748   fi
7749 else
7750   LIPO="$ac_cv_prog_LIPO"
7751 fi
7752
7753     if test -n "$ac_tool_prefix"; then
7754   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7755 set dummy ${ac_tool_prefix}otool; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_OTOOL+:} false; then :
7759   $as_echo_n "(cached) " >&6
7760 else
7761   if test -n "$OTOOL"; then
7762   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7763 else
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 for as_dir in $PATH
7766 do
7767   IFS=$as_save_IFS
7768   test -z "$as_dir" && as_dir=.
7769     for ac_exec_ext in '' $ac_executable_extensions; do
7770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7773     break 2
7774   fi
7775 done
7776   done
7777 IFS=$as_save_IFS
7778
7779 fi
7780 fi
7781 OTOOL=$ac_cv_prog_OTOOL
7782 if test -n "$OTOOL"; then
7783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7784 $as_echo "$OTOOL" >&6; }
7785 else
7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7788 fi
7789
7790
7791 fi
7792 if test -z "$ac_cv_prog_OTOOL"; then
7793   ac_ct_OTOOL=$OTOOL
7794   # Extract the first word of "otool", so it can be a program name with args.
7795 set dummy otool; ac_word=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7797 $as_echo_n "checking for $ac_word... " >&6; }
7798 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7799   $as_echo_n "(cached) " >&6
7800 else
7801   if test -n "$ac_ct_OTOOL"; then
7802   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7803 else
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 for as_dir in $PATH
7806 do
7807   IFS=$as_save_IFS
7808   test -z "$as_dir" && as_dir=.
7809     for ac_exec_ext in '' $ac_executable_extensions; do
7810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7811     ac_cv_prog_ac_ct_OTOOL="otool"
7812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813     break 2
7814   fi
7815 done
7816   done
7817 IFS=$as_save_IFS
7818
7819 fi
7820 fi
7821 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7822 if test -n "$ac_ct_OTOOL"; then
7823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7824 $as_echo "$ac_ct_OTOOL" >&6; }
7825 else
7826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7828 fi
7829
7830   if test "x$ac_ct_OTOOL" = x; then
7831     OTOOL=":"
7832   else
7833     case $cross_compiling:$ac_tool_warned in
7834 yes:)
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7837 ac_tool_warned=yes ;;
7838 esac
7839     OTOOL=$ac_ct_OTOOL
7840   fi
7841 else
7842   OTOOL="$ac_cv_prog_OTOOL"
7843 fi
7844
7845     if test -n "$ac_tool_prefix"; then
7846   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7847 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_OTOOL64+:} false; then :
7851   $as_echo_n "(cached) " >&6
7852 else
7853   if test -n "$OTOOL64"; then
7854   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7855 else
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 for as_dir in $PATH
7858 do
7859   IFS=$as_save_IFS
7860   test -z "$as_dir" && as_dir=.
7861     for ac_exec_ext in '' $ac_executable_extensions; do
7862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865     break 2
7866   fi
7867 done
7868   done
7869 IFS=$as_save_IFS
7870
7871 fi
7872 fi
7873 OTOOL64=$ac_cv_prog_OTOOL64
7874 if test -n "$OTOOL64"; then
7875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7876 $as_echo "$OTOOL64" >&6; }
7877 else
7878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7880 fi
7881
7882
7883 fi
7884 if test -z "$ac_cv_prog_OTOOL64"; then
7885   ac_ct_OTOOL64=$OTOOL64
7886   # Extract the first word of "otool64", so it can be a program name with args.
7887 set dummy otool64; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7891   $as_echo_n "(cached) " >&6
7892 else
7893   if test -n "$ac_ct_OTOOL64"; then
7894   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7895 else
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 for as_dir in $PATH
7898 do
7899   IFS=$as_save_IFS
7900   test -z "$as_dir" && as_dir=.
7901     for ac_exec_ext in '' $ac_executable_extensions; do
7902   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7903     ac_cv_prog_ac_ct_OTOOL64="otool64"
7904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905     break 2
7906   fi
7907 done
7908   done
7909 IFS=$as_save_IFS
7910
7911 fi
7912 fi
7913 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7914 if test -n "$ac_ct_OTOOL64"; then
7915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7916 $as_echo "$ac_ct_OTOOL64" >&6; }
7917 else
7918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7920 fi
7921
7922   if test "x$ac_ct_OTOOL64" = x; then
7923     OTOOL64=":"
7924   else
7925     case $cross_compiling:$ac_tool_warned in
7926 yes:)
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7929 ac_tool_warned=yes ;;
7930 esac
7931     OTOOL64=$ac_ct_OTOOL64
7932   fi
7933 else
7934   OTOOL64="$ac_cv_prog_OTOOL64"
7935 fi
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7964 $as_echo_n "checking for -single_module linker flag... " >&6; }
7965 if ${lt_cv_apple_cc_single_mod+:} false; then :
7966   $as_echo_n "(cached) " >&6
7967 else
7968   lt_cv_apple_cc_single_mod=no
7969       if test -z "${LT_MULTI_MODULE}"; then
7970         # By default we will add the -single_module flag. You can override
7971         # by either setting the environment variable LT_MULTI_MODULE
7972         # non-empty at configure time, or by adding -multi_module to the
7973         # link flags.
7974         rm -rf libconftest.dylib*
7975         echo "int foo(void){return 1;}" > conftest.c
7976         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7977 -dynamiclib -Wl,-single_module conftest.c" >&5
7978         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7979           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7980         _lt_result=$?
7981         # If there is a non-empty error log, and "single_module"
7982         # appears in it, assume the flag caused a linker warning
7983         if test -s conftest.err && $GREP single_module conftest.err; then
7984           cat conftest.err >&5
7985         # Otherwise, if the output was created with a 0 exit code from
7986         # the compiler, it worked.
7987         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7988           lt_cv_apple_cc_single_mod=yes
7989         else
7990           cat conftest.err >&5
7991         fi
7992         rm -rf libconftest.dylib*
7993         rm -f conftest.*
7994       fi
7995 fi
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7997 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7998
7999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8000 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8001 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8002   $as_echo_n "(cached) " >&6
8003 else
8004   lt_cv_ld_exported_symbols_list=no
8005       save_LDFLAGS=$LDFLAGS
8006       echo "_main" > conftest.sym
8007       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h.  */
8010
8011 int
8012 main ()
8013 {
8014
8015   ;
8016   return 0;
8017 }
8018 _ACEOF
8019 if ac_fn_c_try_link "$LINENO"; then :
8020   lt_cv_ld_exported_symbols_list=yes
8021 else
8022   lt_cv_ld_exported_symbols_list=no
8023 fi
8024 rm -f core conftest.err conftest.$ac_objext \
8025     conftest$ac_exeext conftest.$ac_ext
8026         LDFLAGS="$save_LDFLAGS"
8027
8028 fi
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8030 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8031
8032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8033 $as_echo_n "checking for -force_load linker flag... " >&6; }
8034 if ${lt_cv_ld_force_load+:} false; then :
8035   $as_echo_n "(cached) " >&6
8036 else
8037   lt_cv_ld_force_load=no
8038       cat > conftest.c << _LT_EOF
8039 int forced_loaded() { return 2;}
8040 _LT_EOF
8041       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8042       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8043       echo "$AR cru libconftest.a conftest.o" >&5
8044       $AR cru libconftest.a conftest.o 2>&5
8045       echo "$RANLIB libconftest.a" >&5
8046       $RANLIB libconftest.a 2>&5
8047       cat > conftest.c << _LT_EOF
8048 int main() { return 0;}
8049 _LT_EOF
8050       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8051       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8052       _lt_result=$?
8053       if test -s conftest.err && $GREP force_load conftest.err; then
8054         cat conftest.err >&5
8055       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8056         lt_cv_ld_force_load=yes
8057       else
8058         cat conftest.err >&5
8059       fi
8060         rm -f conftest.err libconftest.a conftest conftest.c
8061         rm -rf conftest.dSYM
8062
8063 fi
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8065 $as_echo "$lt_cv_ld_force_load" >&6; }
8066     case $host_os in
8067     rhapsody* | darwin1.[012])
8068       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8069     darwin1.*)
8070       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8071     darwin*) # darwin 5.x on
8072       # if running on 10.5 or later, the deployment target defaults
8073       # to the OS version, if on x86, and 10.4, the deployment
8074       # target defaults to 10.4. Don't you love it?
8075       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8076         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8077           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8078         10.[012]*)
8079           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8080         10.*)
8081           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8082       esac
8083     ;;
8084   esac
8085     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8086       _lt_dar_single_mod='$single_module'
8087     fi
8088     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8089       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8090     else
8091       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8092     fi
8093     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8094       _lt_dsymutil='~$DSYMUTIL $lib || :'
8095     else
8096       _lt_dsymutil=
8097     fi
8098     ;;
8099   esac
8100
8101 ac_ext=c
8102 ac_cpp='$CPP $CPPFLAGS'
8103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8107 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8108 # On Suns, sometimes $CPP names a directory.
8109 if test -n "$CPP" && test -d "$CPP"; then
8110   CPP=
8111 fi
8112 if test -z "$CPP"; then
8113   if ${ac_cv_prog_CPP+:} false; then :
8114   $as_echo_n "(cached) " >&6
8115 else
8116       # Double quotes because CPP needs to be expanded
8117     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8118     do
8119       ac_preproc_ok=false
8120 for ac_c_preproc_warn_flag in '' yes
8121 do
8122   # Use a header file that comes with gcc, so configuring glibc
8123   # with a fresh cross-compiler works.
8124   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8125   # <limits.h> exists even on freestanding compilers.
8126   # On the NeXT, cc -E runs the code through the compiler's parser,
8127   # not just through cpp. "Syntax error" is here to catch this case.
8128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h.  */
8130 #ifdef __STDC__
8131 # include <limits.h>
8132 #else
8133 # include <assert.h>
8134 #endif
8135                      Syntax error
8136 _ACEOF
8137 if ac_fn_c_try_cpp "$LINENO"; then :
8138
8139 else
8140   # Broken: fails on valid input.
8141 continue
8142 fi
8143 rm -f conftest.err conftest.i conftest.$ac_ext
8144
8145   # OK, works on sane cases.  Now check whether nonexistent headers
8146   # can be detected and how.
8147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h.  */
8149 #include <ac_nonexistent.h>
8150 _ACEOF
8151 if ac_fn_c_try_cpp "$LINENO"; then :
8152   # Broken: success on invalid input.
8153 continue
8154 else
8155   # Passes both tests.
8156 ac_preproc_ok=:
8157 break
8158 fi
8159 rm -f conftest.err conftest.i conftest.$ac_ext
8160
8161 done
8162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8163 rm -f conftest.i conftest.err conftest.$ac_ext
8164 if $ac_preproc_ok; then :
8165   break
8166 fi
8167
8168     done
8169     ac_cv_prog_CPP=$CPP
8170
8171 fi
8172   CPP=$ac_cv_prog_CPP
8173 else
8174   ac_cv_prog_CPP=$CPP
8175 fi
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8177 $as_echo "$CPP" >&6; }
8178 ac_preproc_ok=false
8179 for ac_c_preproc_warn_flag in '' yes
8180 do
8181   # Use a header file that comes with gcc, so configuring glibc
8182   # with a fresh cross-compiler works.
8183   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8184   # <limits.h> exists even on freestanding compilers.
8185   # On the NeXT, cc -E runs the code through the compiler's parser,
8186   # not just through cpp. "Syntax error" is here to catch this case.
8187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188 /* end confdefs.h.  */
8189 #ifdef __STDC__
8190 # include <limits.h>
8191 #else
8192 # include <assert.h>
8193 #endif
8194                      Syntax error
8195 _ACEOF
8196 if ac_fn_c_try_cpp "$LINENO"; then :
8197
8198 else
8199   # Broken: fails on valid input.
8200 continue
8201 fi
8202 rm -f conftest.err conftest.i conftest.$ac_ext
8203
8204   # OK, works on sane cases.  Now check whether nonexistent headers
8205   # can be detected and how.
8206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h.  */
8208 #include <ac_nonexistent.h>
8209 _ACEOF
8210 if ac_fn_c_try_cpp "$LINENO"; then :
8211   # Broken: success on invalid input.
8212 continue
8213 else
8214   # Passes both tests.
8215 ac_preproc_ok=:
8216 break
8217 fi
8218 rm -f conftest.err conftest.i conftest.$ac_ext
8219
8220 done
8221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8222 rm -f conftest.i conftest.err conftest.$ac_ext
8223 if $ac_preproc_ok; then :
8224
8225 else
8226   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8228 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8229 See \`config.log' for more details" "$LINENO" 5; }
8230 fi
8231
8232 ac_ext=c
8233 ac_cpp='$CPP $CPPFLAGS'
8234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8237
8238
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8240 $as_echo_n "checking for ANSI C header files... " >&6; }
8241 if ${ac_cv_header_stdc+:} false; then :
8242   $as_echo_n "(cached) " >&6
8243 else
8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h.  */
8246 #include <stdlib.h>
8247 #include <stdarg.h>
8248 #include <string.h>
8249 #include <float.h>
8250
8251 int
8252 main ()
8253 {
8254
8255   ;
8256   return 0;
8257 }
8258 _ACEOF
8259 if ac_fn_c_try_compile "$LINENO"; then :
8260   ac_cv_header_stdc=yes
8261 else
8262   ac_cv_header_stdc=no
8263 fi
8264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8265
8266 if test $ac_cv_header_stdc = yes; then
8267   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h.  */
8270 #include <string.h>
8271
8272 _ACEOF
8273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8274   $EGREP "memchr" >/dev/null 2>&1; then :
8275
8276 else
8277   ac_cv_header_stdc=no
8278 fi
8279 rm -f conftest*
8280
8281 fi
8282
8283 if test $ac_cv_header_stdc = yes; then
8284   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h.  */
8287 #include <stdlib.h>
8288
8289 _ACEOF
8290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8291   $EGREP "free" >/dev/null 2>&1; then :
8292
8293 else
8294   ac_cv_header_stdc=no
8295 fi
8296 rm -f conftest*
8297
8298 fi
8299
8300 if test $ac_cv_header_stdc = yes; then
8301   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8302   if test "$cross_compiling" = yes; then :
8303   :
8304 else
8305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h.  */
8307 #include <ctype.h>
8308 #include <stdlib.h>
8309 #if ((' ' & 0x0FF) == 0x020)
8310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8312 #else
8313 # define ISLOWER(c) \
8314                    (('a' <= (c) && (c) <= 'i') \
8315                      || ('j' <= (c) && (c) <= 'r') \
8316                      || ('s' <= (c) && (c) <= 'z'))
8317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8318 #endif
8319
8320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8321 int
8322 main ()
8323 {
8324   int i;
8325   for (i = 0; i < 256; i++)
8326     if (XOR (islower (i), ISLOWER (i))
8327         || toupper (i) != TOUPPER (i))
8328       return 2;
8329   return 0;
8330 }
8331 _ACEOF
8332 if ac_fn_c_try_run "$LINENO"; then :
8333
8334 else
8335   ac_cv_header_stdc=no
8336 fi
8337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8338   conftest.$ac_objext conftest.beam conftest.$ac_ext
8339 fi
8340
8341 fi
8342 fi
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8344 $as_echo "$ac_cv_header_stdc" >&6; }
8345 if test $ac_cv_header_stdc = yes; then
8346
8347 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8348
8349 fi
8350
8351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8352 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8353                   inttypes.h stdint.h unistd.h
8354 do :
8355   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8357 "
8358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8359   cat >>confdefs.h <<_ACEOF
8360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8361 _ACEOF
8362
8363 fi
8364
8365 done
8366
8367
8368 for ac_header in dlfcn.h
8369 do :
8370   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8371 "
8372 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8373   cat >>confdefs.h <<_ACEOF
8374 #define HAVE_DLFCN_H 1
8375 _ACEOF
8376
8377 fi
8378
8379 done
8380
8381
8382
8383
8384
8385 # Set options
8386
8387
8388
8389         enable_dlopen=no
8390
8391
8392   enable_win32_dll=no
8393
8394
8395             # Check whether --enable-shared was given.
8396 if test "${enable_shared+set}" = set; then :
8397   enableval=$enable_shared; p=${PACKAGE-default}
8398     case $enableval in
8399     yes) enable_shared=yes ;;
8400     no) enable_shared=no ;;
8401     *)
8402       enable_shared=no
8403       # Look at the argument we got.  We use all the common list separators.
8404       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8405       for pkg in $enableval; do
8406         IFS="$lt_save_ifs"
8407         if test "X$pkg" = "X$p"; then
8408           enable_shared=yes
8409         fi
8410       done
8411       IFS="$lt_save_ifs"
8412       ;;
8413     esac
8414 else
8415   enable_shared=yes
8416 fi
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426   # Check whether --enable-static was given.
8427 if test "${enable_static+set}" = set; then :
8428   enableval=$enable_static; p=${PACKAGE-default}
8429     case $enableval in
8430     yes) enable_static=yes ;;
8431     no) enable_static=no ;;
8432     *)
8433      enable_static=no
8434       # Look at the argument we got.  We use all the common list separators.
8435       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8436       for pkg in $enableval; do
8437         IFS="$lt_save_ifs"
8438         if test "X$pkg" = "X$p"; then
8439           enable_static=yes
8440         fi
8441       done
8442       IFS="$lt_save_ifs"
8443       ;;
8444     esac
8445 else
8446   enable_static=yes
8447 fi
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458 # Check whether --with-pic was given.
8459 if test "${with_pic+set}" = set; then :
8460   withval=$with_pic; lt_p=${PACKAGE-default}
8461     case $withval in
8462     yes|no) pic_mode=$withval ;;
8463     *)
8464       pic_mode=default
8465       # Look at the argument we got.  We use all the common list separators.
8466       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8467       for lt_pkg in $withval; do
8468         IFS="$lt_save_ifs"
8469         if test "X$lt_pkg" = "X$lt_p"; then
8470           pic_mode=yes
8471         fi
8472       done
8473       IFS="$lt_save_ifs"
8474       ;;
8475     esac
8476 else
8477   pic_mode=default
8478 fi
8479
8480
8481 test -z "$pic_mode" && pic_mode=default
8482
8483
8484
8485
8486
8487
8488
8489   # Check whether --enable-fast-install was given.
8490 if test "${enable_fast_install+set}" = set; then :
8491   enableval=$enable_fast_install; p=${PACKAGE-default}
8492     case $enableval in
8493     yes) enable_fast_install=yes ;;
8494     no) enable_fast_install=no ;;
8495     *)
8496       enable_fast_install=no
8497       # Look at the argument we got.  We use all the common list separators.
8498       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8499       for pkg in $enableval; do
8500         IFS="$lt_save_ifs"
8501         if test "X$pkg" = "X$p"; then
8502           enable_fast_install=yes
8503         fi
8504       done
8505       IFS="$lt_save_ifs"
8506       ;;
8507     esac
8508 else
8509   enable_fast_install=yes
8510 fi
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522 # This can be used to rebuild libtool when needed
8523 LIBTOOL_DEPS="$ltmain"
8524
8525 # Always use our own libtool.
8526 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557 test -z "$LN_S" && LN_S="ln -s"
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572 if test -n "${ZSH_VERSION+set}" ; then
8573    setopt NO_GLOB_SUBST
8574 fi
8575
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8577 $as_echo_n "checking for objdir... " >&6; }
8578 if ${lt_cv_objdir+:} false; then :
8579   $as_echo_n "(cached) " >&6
8580 else
8581   rm -f .libs 2>/dev/null
8582 mkdir .libs 2>/dev/null
8583 if test -d .libs; then
8584   lt_cv_objdir=.libs
8585 else
8586   # MS-DOS does not allow filenames that begin with a dot.
8587   lt_cv_objdir=_libs
8588 fi
8589 rmdir .libs 2>/dev/null
8590 fi
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8592 $as_echo "$lt_cv_objdir" >&6; }
8593 objdir=$lt_cv_objdir
8594
8595
8596
8597
8598
8599 cat >>confdefs.h <<_ACEOF
8600 #define LT_OBJDIR "$lt_cv_objdir/"
8601 _ACEOF
8602
8603
8604
8605
8606 case $host_os in
8607 aix3*)
8608   # AIX sometimes has problems with the GCC collect2 program.  For some
8609   # reason, if we set the COLLECT_NAMES environment variable, the problems
8610   # vanish in a puff of smoke.
8611   if test "X${COLLECT_NAMES+set}" != Xset; then
8612     COLLECT_NAMES=
8613     export COLLECT_NAMES
8614   fi
8615   ;;
8616 esac
8617
8618 # Global variables:
8619 ofile=libtool
8620 can_build_shared=yes
8621
8622 # All known linkers require a `.a' archive for static linking (except MSVC,
8623 # which needs '.lib').
8624 libext=a
8625
8626 with_gnu_ld="$lt_cv_prog_gnu_ld"
8627
8628 old_CC="$CC"
8629 old_CFLAGS="$CFLAGS"
8630
8631 # Set sane defaults for various variables
8632 test -z "$CC" && CC=cc
8633 test -z "$LTCC" && LTCC=$CC
8634 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8635 test -z "$LD" && LD=ld
8636 test -z "$ac_objext" && ac_objext=o
8637
8638 for cc_temp in $compiler""; do
8639   case $cc_temp in
8640     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8641     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8642     \-*) ;;
8643     *) break;;
8644   esac
8645 done
8646 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8647
8648
8649 # Only perform the check for file, if the check method requires it
8650 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8651 case $deplibs_check_method in
8652 file_magic*)
8653   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8655 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8656 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8657   $as_echo_n "(cached) " >&6
8658 else
8659   case $MAGIC_CMD in
8660 [\\/*] |  ?:[\\/]*)
8661   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8662   ;;
8663 *)
8664   lt_save_MAGIC_CMD="$MAGIC_CMD"
8665   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8666   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8667   for ac_dir in $ac_dummy; do
8668     IFS="$lt_save_ifs"
8669     test -z "$ac_dir" && ac_dir=.
8670     if test -f $ac_dir/${ac_tool_prefix}file; then
8671       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8672       if test -n "$file_magic_test_file"; then
8673         case $deplibs_check_method in
8674         "file_magic "*)
8675           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8676           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8677           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8678             $EGREP "$file_magic_regex" > /dev/null; then
8679             :
8680           else
8681             cat <<_LT_EOF 1>&2
8682
8683 *** Warning: the command libtool uses to detect shared libraries,
8684 *** $file_magic_cmd, produces output that libtool cannot recognize.
8685 *** The result is that libtool may fail to recognize shared libraries
8686 *** as such.  This will affect the creation of libtool libraries that
8687 *** depend on shared libraries, but programs linked with such libtool
8688 *** libraries will work regardless of this problem.  Nevertheless, you
8689 *** may want to report the problem to your system manager and/or to
8690 *** bug-libtool@gnu.org
8691
8692 _LT_EOF
8693           fi ;;
8694         esac
8695       fi
8696       break
8697     fi
8698   done
8699   IFS="$lt_save_ifs"
8700   MAGIC_CMD="$lt_save_MAGIC_CMD"
8701   ;;
8702 esac
8703 fi
8704
8705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8706 if test -n "$MAGIC_CMD"; then
8707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8708 $as_echo "$MAGIC_CMD" >&6; }
8709 else
8710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8711 $as_echo "no" >&6; }
8712 fi
8713
8714
8715
8716
8717
8718 if test -z "$lt_cv_path_MAGIC_CMD"; then
8719   if test -n "$ac_tool_prefix"; then
8720     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8721 $as_echo_n "checking for file... " >&6; }
8722 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8723   $as_echo_n "(cached) " >&6
8724 else
8725   case $MAGIC_CMD in
8726 [\\/*] |  ?:[\\/]*)
8727   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8728   ;;
8729 *)
8730   lt_save_MAGIC_CMD="$MAGIC_CMD"
8731   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8732   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8733   for ac_dir in $ac_dummy; do
8734     IFS="$lt_save_ifs"
8735     test -z "$ac_dir" && ac_dir=.
8736     if test -f $ac_dir/file; then
8737       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8738       if test -n "$file_magic_test_file"; then
8739         case $deplibs_check_method in
8740         "file_magic "*)
8741           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8742           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8743           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8744             $EGREP "$file_magic_regex" > /dev/null; then
8745             :
8746           else
8747             cat <<_LT_EOF 1>&2
8748
8749 *** Warning: the command libtool uses to detect shared libraries,
8750 *** $file_magic_cmd, produces output that libtool cannot recognize.
8751 *** The result is that libtool may fail to recognize shared libraries
8752 *** as such.  This will affect the creation of libtool libraries that
8753 *** depend on shared libraries, but programs linked with such libtool
8754 *** libraries will work regardless of this problem.  Nevertheless, you
8755 *** may want to report the problem to your system manager and/or to
8756 *** bug-libtool@gnu.org
8757
8758 _LT_EOF
8759           fi ;;
8760         esac
8761       fi
8762       break
8763     fi
8764   done
8765   IFS="$lt_save_ifs"
8766   MAGIC_CMD="$lt_save_MAGIC_CMD"
8767   ;;
8768 esac
8769 fi
8770
8771 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8772 if test -n "$MAGIC_CMD"; then
8773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8774 $as_echo "$MAGIC_CMD" >&6; }
8775 else
8776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8778 fi
8779
8780
8781   else
8782     MAGIC_CMD=:
8783   fi
8784 fi
8785
8786   fi
8787   ;;
8788 esac
8789
8790 # Use C for the default configuration in the libtool script
8791
8792 lt_save_CC="$CC"
8793 ac_ext=c
8794 ac_cpp='$CPP $CPPFLAGS'
8795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8798
8799
8800 # Source file extension for C test sources.
8801 ac_ext=c
8802
8803 # Object file extension for compiled C test sources.
8804 objext=o
8805 objext=$objext
8806
8807 # Code to be used in simple compile tests
8808 lt_simple_compile_test_code="int some_variable = 0;"
8809
8810 # Code to be used in simple link tests
8811 lt_simple_link_test_code='int main(){return(0);}'
8812
8813
8814
8815
8816
8817
8818
8819 # If no C compiler was specified, use CC.
8820 LTCC=${LTCC-"$CC"}
8821
8822 # If no C compiler flags were specified, use CFLAGS.
8823 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8824
8825 # Allow CC to be a program name with arguments.
8826 compiler=$CC
8827
8828 # Save the default compiler, since it gets overwritten when the other
8829 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8830 compiler_DEFAULT=$CC
8831
8832 # save warnings/boilerplate of simple test code
8833 ac_outfile=conftest.$ac_objext
8834 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8835 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8836 _lt_compiler_boilerplate=`cat conftest.err`
8837 $RM conftest*
8838
8839 ac_outfile=conftest.$ac_objext
8840 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8841 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8842 _lt_linker_boilerplate=`cat conftest.err`
8843 $RM -r conftest*
8844
8845
8846 if test -n "$compiler"; then
8847
8848 lt_prog_compiler_no_builtin_flag=
8849
8850 if test "$GCC" = yes; then
8851   case $cc_basename in
8852   nvcc*)
8853     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8854   *)
8855     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8856   esac
8857
8858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8859 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8860 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8861   $as_echo_n "(cached) " >&6
8862 else
8863   lt_cv_prog_compiler_rtti_exceptions=no
8864    ac_outfile=conftest.$ac_objext
8865    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8866    lt_compiler_flag="-fno-rtti -fno-exceptions"
8867    # Insert the option either (1) after the last *FLAGS variable, or
8868    # (2) before a word containing "conftest.", or (3) at the end.
8869    # Note that $ac_compile itself does not contain backslashes and begins
8870    # with a dollar sign (not a hyphen), so the echo should work correctly.
8871    # The option is referenced via a variable to avoid confusing sed.
8872    lt_compile=`echo "$ac_compile" | $SED \
8873    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8874    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8875    -e 's:$: $lt_compiler_flag:'`
8876    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8877    (eval "$lt_compile" 2>conftest.err)
8878    ac_status=$?
8879    cat conftest.err >&5
8880    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881    if (exit $ac_status) && test -s "$ac_outfile"; then
8882      # The compiler can only warn and ignore the option if not recognized
8883      # So say no if there are warnings other than the usual output.
8884      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8885      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8886      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8887        lt_cv_prog_compiler_rtti_exceptions=yes
8888      fi
8889    fi
8890    $RM conftest*
8891
8892 fi
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8894 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8895
8896 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8897     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8898 else
8899     :
8900 fi
8901
8902 fi
8903
8904
8905
8906
8907
8908
8909   lt_prog_compiler_wl=
8910 lt_prog_compiler_pic=
8911 lt_prog_compiler_static=
8912
8913
8914   if test "$GCC" = yes; then
8915     lt_prog_compiler_wl='-Wl,'
8916     lt_prog_compiler_static='-static'
8917
8918     case $host_os in
8919       aix*)
8920       # All AIX code is PIC.
8921       if test "$host_cpu" = ia64; then
8922         # AIX 5 now supports IA64 processor
8923         lt_prog_compiler_static='-Bstatic'
8924       fi
8925       ;;
8926
8927     amigaos*)
8928       case $host_cpu in
8929       powerpc)
8930             # see comment about AmigaOS4 .so support
8931             lt_prog_compiler_pic='-fPIC'
8932         ;;
8933       m68k)
8934             # FIXME: we need at least 68020 code to build shared libraries, but
8935             # adding the `-m68020' flag to GCC prevents building anything better,
8936             # like `-m68040'.
8937             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8938         ;;
8939       esac
8940       ;;
8941
8942     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8943       # PIC is the default for these OSes.
8944       ;;
8945
8946     mingw* | cygwin* | pw32* | os2* | cegcc*)
8947       # This hack is so that the source file can tell whether it is being
8948       # built for inclusion in a dll (and should export symbols for example).
8949       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8950       # (--disable-auto-import) libraries
8951       lt_prog_compiler_pic='-DDLL_EXPORT'
8952       ;;
8953
8954     darwin* | rhapsody*)
8955       # PIC is the default on this platform
8956       # Common symbols not allowed in MH_DYLIB files
8957       lt_prog_compiler_pic='-fno-common'
8958       ;;
8959
8960     haiku*)
8961       # PIC is the default for Haiku.
8962       # The "-static" flag exists, but is broken.
8963       lt_prog_compiler_static=
8964       ;;
8965
8966     hpux*)
8967       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8968       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8969       # sets the default TLS model and affects inlining.
8970       case $host_cpu in
8971       hppa*64*)
8972         # +Z the default
8973         ;;
8974       *)
8975         lt_prog_compiler_pic='-fPIC'
8976         ;;
8977       esac
8978       ;;
8979
8980     interix[3-9]*)
8981       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8982       # Instead, we relocate shared libraries at runtime.
8983       ;;
8984
8985     msdosdjgpp*)
8986       # Just because we use GCC doesn't mean we suddenly get shared libraries
8987       # on systems that don't support them.
8988       lt_prog_compiler_can_build_shared=no
8989       enable_shared=no
8990       ;;
8991
8992     *nto* | *qnx*)
8993       # QNX uses GNU C++, but need to define -shared option too, otherwise
8994       # it will coredump.
8995       lt_prog_compiler_pic='-fPIC -shared'
8996       ;;
8997
8998     sysv4*MP*)
8999       if test -d /usr/nec; then
9000         lt_prog_compiler_pic=-Kconform_pic
9001       fi
9002       ;;
9003
9004     *)
9005       lt_prog_compiler_pic='-fPIC'
9006       ;;
9007     esac
9008
9009     case $cc_basename in
9010     nvcc*) # Cuda Compiler Driver 2.2
9011       lt_prog_compiler_wl='-Xlinker '
9012       if test -n "$lt_prog_compiler_pic"; then
9013         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9014       fi
9015       ;;
9016     esac
9017   else
9018     # PORTME Check for flag to pass linker flags through the system compiler.
9019     case $host_os in
9020     aix*)
9021       lt_prog_compiler_wl='-Wl,'
9022       if test "$host_cpu" = ia64; then
9023         # AIX 5 now supports IA64 processor
9024         lt_prog_compiler_static='-Bstatic'
9025       else
9026         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9027       fi
9028       ;;
9029
9030     mingw* | cygwin* | pw32* | os2* | cegcc*)
9031       # This hack is so that the source file can tell whether it is being
9032       # built for inclusion in a dll (and should export symbols for example).
9033       lt_prog_compiler_pic='-DDLL_EXPORT'
9034       ;;
9035
9036     hpux9* | hpux10* | hpux11*)
9037       lt_prog_compiler_wl='-Wl,'
9038       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9039       # not for PA HP-UX.
9040       case $host_cpu in
9041       hppa*64*|ia64*)
9042         # +Z the default
9043         ;;
9044       *)
9045         lt_prog_compiler_pic='+Z'
9046         ;;
9047       esac
9048       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9049       lt_prog_compiler_static='${wl}-a ${wl}archive'
9050       ;;
9051
9052     irix5* | irix6* | nonstopux*)
9053       lt_prog_compiler_wl='-Wl,'
9054       # PIC (with -KPIC) is the default.
9055       lt_prog_compiler_static='-non_shared'
9056       ;;
9057
9058     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9059       case $cc_basename in
9060       # old Intel for x86_64 which still supported -KPIC.
9061       ecc*)
9062         lt_prog_compiler_wl='-Wl,'
9063         lt_prog_compiler_pic='-KPIC'
9064         lt_prog_compiler_static='-static'
9065         ;;
9066       # icc used to be incompatible with GCC.
9067       # ICC 10 doesn't accept -KPIC any more.
9068       icc* | ifort*)
9069         lt_prog_compiler_wl='-Wl,'
9070         lt_prog_compiler_pic='-fPIC'
9071         lt_prog_compiler_static='-static'
9072         ;;
9073       # Lahey Fortran 8.1.
9074       lf95*)
9075         lt_prog_compiler_wl='-Wl,'
9076         lt_prog_compiler_pic='--shared'
9077         lt_prog_compiler_static='--static'
9078         ;;
9079       nagfor*)
9080         # NAG Fortran compiler
9081         lt_prog_compiler_wl='-Wl,-Wl,,'
9082         lt_prog_compiler_pic='-PIC'
9083         lt_prog_compiler_static='-Bstatic'
9084         ;;
9085       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9086         # Portland Group compilers (*not* the Pentium gcc compiler,
9087         # which looks to be a dead project)
9088         lt_prog_compiler_wl='-Wl,'
9089         lt_prog_compiler_pic='-fpic'
9090         lt_prog_compiler_static='-Bstatic'
9091         ;;
9092       ccc*)
9093         lt_prog_compiler_wl='-Wl,'
9094         # All Alpha code is PIC.
9095         lt_prog_compiler_static='-non_shared'
9096         ;;
9097       xl* | bgxl* | bgf* | mpixl*)
9098         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9099         lt_prog_compiler_wl='-Wl,'
9100         lt_prog_compiler_pic='-qpic'
9101         lt_prog_compiler_static='-qstaticlink'
9102         ;;
9103       *)
9104         case `$CC -V 2>&1 | sed 5q` in
9105         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9106           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9107           lt_prog_compiler_pic='-KPIC'
9108           lt_prog_compiler_static='-Bstatic'
9109           lt_prog_compiler_wl=''
9110           ;;
9111         *Sun\ F* | *Sun*Fortran*)
9112           lt_prog_compiler_pic='-KPIC'
9113           lt_prog_compiler_static='-Bstatic'
9114           lt_prog_compiler_wl='-Qoption ld '
9115           ;;
9116         *Sun\ C*)
9117           # Sun C 5.9
9118           lt_prog_compiler_pic='-KPIC'
9119           lt_prog_compiler_static='-Bstatic'
9120           lt_prog_compiler_wl='-Wl,'
9121           ;;
9122         *Intel*\ [CF]*Compiler*)
9123           lt_prog_compiler_wl='-Wl,'
9124           lt_prog_compiler_pic='-fPIC'
9125           lt_prog_compiler_static='-static'
9126           ;;
9127         *Portland\ Group*)
9128           lt_prog_compiler_wl='-Wl,'
9129           lt_prog_compiler_pic='-fpic'
9130           lt_prog_compiler_static='-Bstatic'
9131           ;;
9132         esac
9133         ;;
9134       esac
9135       ;;
9136
9137     newsos6)
9138       lt_prog_compiler_pic='-KPIC'
9139       lt_prog_compiler_static='-Bstatic'
9140       ;;
9141
9142     *nto* | *qnx*)
9143       # QNX uses GNU C++, but need to define -shared option too, otherwise
9144       # it will coredump.
9145       lt_prog_compiler_pic='-fPIC -shared'
9146       ;;
9147
9148     osf3* | osf4* | osf5*)
9149       lt_prog_compiler_wl='-Wl,'
9150       # All OSF/1 code is PIC.
9151       lt_prog_compiler_static='-non_shared'
9152       ;;
9153
9154     rdos*)
9155       lt_prog_compiler_static='-non_shared'
9156       ;;
9157
9158     solaris*)
9159       lt_prog_compiler_pic='-KPIC'
9160       lt_prog_compiler_static='-Bstatic'
9161       case $cc_basename in
9162       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9163         lt_prog_compiler_wl='-Qoption ld ';;
9164       *)
9165         lt_prog_compiler_wl='-Wl,';;
9166       esac
9167       ;;
9168
9169     sunos4*)
9170       lt_prog_compiler_wl='-Qoption ld '
9171       lt_prog_compiler_pic='-PIC'
9172       lt_prog_compiler_static='-Bstatic'
9173       ;;
9174
9175     sysv4 | sysv4.2uw2* | sysv4.3*)
9176       lt_prog_compiler_wl='-Wl,'
9177       lt_prog_compiler_pic='-KPIC'
9178       lt_prog_compiler_static='-Bstatic'
9179       ;;
9180
9181     sysv4*MP*)
9182       if test -d /usr/nec ;then
9183         lt_prog_compiler_pic='-Kconform_pic'
9184         lt_prog_compiler_static='-Bstatic'
9185       fi
9186       ;;
9187
9188     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9189       lt_prog_compiler_wl='-Wl,'
9190       lt_prog_compiler_pic='-KPIC'
9191       lt_prog_compiler_static='-Bstatic'
9192       ;;
9193
9194     unicos*)
9195       lt_prog_compiler_wl='-Wl,'
9196       lt_prog_compiler_can_build_shared=no
9197       ;;
9198
9199     uts4*)
9200       lt_prog_compiler_pic='-pic'
9201       lt_prog_compiler_static='-Bstatic'
9202       ;;
9203
9204     *)
9205       lt_prog_compiler_can_build_shared=no
9206       ;;
9207     esac
9208   fi
9209
9210 case $host_os in
9211   # For platforms which do not support PIC, -DPIC is meaningless:
9212   *djgpp*)
9213     lt_prog_compiler_pic=
9214     ;;
9215   *)
9216     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9217     ;;
9218 esac
9219
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9221 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9222 if ${lt_cv_prog_compiler_pic+:} false; then :
9223   $as_echo_n "(cached) " >&6
9224 else
9225   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9226 fi
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9228 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9229 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9230
9231 #
9232 # Check to make sure the PIC flag actually works.
9233 #
9234 if test -n "$lt_prog_compiler_pic"; then
9235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9236 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9237 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9238   $as_echo_n "(cached) " >&6
9239 else
9240   lt_cv_prog_compiler_pic_works=no
9241    ac_outfile=conftest.$ac_objext
9242    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9243    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9244    # Insert the option either (1) after the last *FLAGS variable, or
9245    # (2) before a word containing "conftest.", or (3) at the end.
9246    # Note that $ac_compile itself does not contain backslashes and begins
9247    # with a dollar sign (not a hyphen), so the echo should work correctly.
9248    # The option is referenced via a variable to avoid confusing sed.
9249    lt_compile=`echo "$ac_compile" | $SED \
9250    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9251    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9252    -e 's:$: $lt_compiler_flag:'`
9253    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9254    (eval "$lt_compile" 2>conftest.err)
9255    ac_status=$?
9256    cat conftest.err >&5
9257    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258    if (exit $ac_status) && test -s "$ac_outfile"; then
9259      # The compiler can only warn and ignore the option if not recognized
9260      # So say no if there are warnings other than the usual output.
9261      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9262      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9263      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9264        lt_cv_prog_compiler_pic_works=yes
9265      fi
9266    fi
9267    $RM conftest*
9268
9269 fi
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9271 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9272
9273 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9274     case $lt_prog_compiler_pic in
9275      "" | " "*) ;;
9276      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9277      esac
9278 else
9279     lt_prog_compiler_pic=
9280      lt_prog_compiler_can_build_shared=no
9281 fi
9282
9283 fi
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295 #
9296 # Check to make sure the static flag actually works.
9297 #
9298 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9300 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9301 if ${lt_cv_prog_compiler_static_works+:} false; then :
9302   $as_echo_n "(cached) " >&6
9303 else
9304   lt_cv_prog_compiler_static_works=no
9305    save_LDFLAGS="$LDFLAGS"
9306    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9307    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9308    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9309      # The linker can only warn and ignore the option if not recognized
9310      # So say no if there are warnings
9311      if test -s conftest.err; then
9312        # Append any errors to the config.log.
9313        cat conftest.err 1>&5
9314        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9315        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9316        if diff conftest.exp conftest.er2 >/dev/null; then
9317          lt_cv_prog_compiler_static_works=yes
9318        fi
9319      else
9320        lt_cv_prog_compiler_static_works=yes
9321      fi
9322    fi
9323    $RM -r conftest*
9324    LDFLAGS="$save_LDFLAGS"
9325
9326 fi
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9328 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9329
9330 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9331     :
9332 else
9333     lt_prog_compiler_static=
9334 fi
9335
9336
9337
9338
9339
9340
9341
9342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9344 if ${lt_cv_prog_compiler_c_o+:} false; then :
9345   $as_echo_n "(cached) " >&6
9346 else
9347   lt_cv_prog_compiler_c_o=no
9348    $RM -r conftest 2>/dev/null
9349    mkdir conftest
9350    cd conftest
9351    mkdir out
9352    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9353
9354    lt_compiler_flag="-o out/conftest2.$ac_objext"
9355    # Insert the option either (1) after the last *FLAGS variable, or
9356    # (2) before a word containing "conftest.", or (3) at the end.
9357    # Note that $ac_compile itself does not contain backslashes and begins
9358    # with a dollar sign (not a hyphen), so the echo should work correctly.
9359    lt_compile=`echo "$ac_compile" | $SED \
9360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9362    -e 's:$: $lt_compiler_flag:'`
9363    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9364    (eval "$lt_compile" 2>out/conftest.err)
9365    ac_status=$?
9366    cat out/conftest.err >&5
9367    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9369    then
9370      # The compiler can only warn and ignore the option if not recognized
9371      # So say no if there are warnings
9372      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9375        lt_cv_prog_compiler_c_o=yes
9376      fi
9377    fi
9378    chmod u+w . 2>&5
9379    $RM conftest*
9380    # SGI C++ compiler will create directory out/ii_files/ for
9381    # template instantiation
9382    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9383    $RM out/* && rmdir out
9384    cd ..
9385    $RM -r conftest
9386    $RM conftest*
9387
9388 fi
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9390 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9391
9392
9393
9394
9395
9396
9397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9398 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9399 if ${lt_cv_prog_compiler_c_o+:} false; then :
9400   $as_echo_n "(cached) " >&6
9401 else
9402   lt_cv_prog_compiler_c_o=no
9403    $RM -r conftest 2>/dev/null
9404    mkdir conftest
9405    cd conftest
9406    mkdir out
9407    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9408
9409    lt_compiler_flag="-o out/conftest2.$ac_objext"
9410    # Insert the option either (1) after the last *FLAGS variable, or
9411    # (2) before a word containing "conftest.", or (3) at the end.
9412    # Note that $ac_compile itself does not contain backslashes and begins
9413    # with a dollar sign (not a hyphen), so the echo should work correctly.
9414    lt_compile=`echo "$ac_compile" | $SED \
9415    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9416    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9417    -e 's:$: $lt_compiler_flag:'`
9418    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9419    (eval "$lt_compile" 2>out/conftest.err)
9420    ac_status=$?
9421    cat out/conftest.err >&5
9422    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9424    then
9425      # The compiler can only warn and ignore the option if not recognized
9426      # So say no if there are warnings
9427      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9428      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9429      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9430        lt_cv_prog_compiler_c_o=yes
9431      fi
9432    fi
9433    chmod u+w . 2>&5
9434    $RM conftest*
9435    # SGI C++ compiler will create directory out/ii_files/ for
9436    # template instantiation
9437    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9438    $RM out/* && rmdir out
9439    cd ..
9440    $RM -r conftest
9441    $RM conftest*
9442
9443 fi
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9445 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9446
9447
9448
9449
9450 hard_links="nottested"
9451 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9452   # do not overwrite the value of need_locks provided by the user
9453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9454 $as_echo_n "checking if we can lock with hard links... " >&6; }
9455   hard_links=yes
9456   $RM conftest*
9457   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9458   touch conftest.a
9459   ln conftest.a conftest.b 2>&5 || hard_links=no
9460   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9462 $as_echo "$hard_links" >&6; }
9463   if test "$hard_links" = no; then
9464     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9465 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9466     need_locks=warn
9467   fi
9468 else
9469   need_locks=no
9470 fi
9471
9472
9473
9474
9475
9476
9477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9478 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9479
9480   runpath_var=
9481   allow_undefined_flag=
9482   always_export_symbols=no
9483   archive_cmds=
9484   archive_expsym_cmds=
9485   compiler_needs_object=no
9486   enable_shared_with_static_runtimes=no
9487   export_dynamic_flag_spec=
9488   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9489   hardcode_automatic=no
9490   hardcode_direct=no
9491   hardcode_direct_absolute=no
9492   hardcode_libdir_flag_spec=
9493   hardcode_libdir_separator=
9494   hardcode_minus_L=no
9495   hardcode_shlibpath_var=unsupported
9496   inherit_rpath=no
9497   link_all_deplibs=unknown
9498   module_cmds=
9499   module_expsym_cmds=
9500   old_archive_from_new_cmds=
9501   old_archive_from_expsyms_cmds=
9502   thread_safe_flag_spec=
9503   whole_archive_flag_spec=
9504   # include_expsyms should be a list of space-separated symbols to be *always*
9505   # included in the symbol list
9506   include_expsyms=
9507   # exclude_expsyms can be an extended regexp of symbols to exclude
9508   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9509   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9510   # as well as any symbol that contains `d'.
9511   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9512   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9513   # platforms (ab)use it in PIC code, but their linkers get confused if
9514   # the symbol is explicitly referenced.  Since portable code cannot
9515   # rely on this symbol name, it's probably fine to never include it in
9516   # preloaded symbol tables.
9517   # Exclude shared library initialization/finalization symbols.
9518   extract_expsyms_cmds=
9519
9520   case $host_os in
9521   cygwin* | mingw* | pw32* | cegcc*)
9522     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9523     # When not using gcc, we currently assume that we are using
9524     # Microsoft Visual C++.
9525     if test "$GCC" != yes; then
9526       with_gnu_ld=no
9527     fi
9528     ;;
9529   interix*)
9530     # we just hope/assume this is gcc and not c89 (= MSVC++)
9531     with_gnu_ld=yes
9532     ;;
9533   openbsd*)
9534     with_gnu_ld=no
9535     ;;
9536   linux* | k*bsd*-gnu | gnu*)
9537     link_all_deplibs=no
9538     ;;
9539   esac
9540
9541   ld_shlibs=yes
9542
9543   # On some targets, GNU ld is compatible enough with the native linker
9544   # that we're better off using the native interface for both.
9545   lt_use_gnu_ld_interface=no
9546   if test "$with_gnu_ld" = yes; then
9547     case $host_os in
9548       aix*)
9549         # The AIX port of GNU ld has always aspired to compatibility
9550         # with the native linker.  However, as the warning in the GNU ld
9551         # block says, versions before 2.19.5* couldn't really create working
9552         # shared libraries, regardless of the interface used.
9553         case `$LD -v 2>&1` in
9554           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9555           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9556           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9557           *)
9558             lt_use_gnu_ld_interface=yes
9559             ;;
9560         esac
9561         ;;
9562       *)
9563         lt_use_gnu_ld_interface=yes
9564         ;;
9565     esac
9566   fi
9567
9568   if test "$lt_use_gnu_ld_interface" = yes; then
9569     # If archive_cmds runs LD, not CC, wlarc should be empty
9570     wlarc='${wl}'
9571
9572     # Set some defaults for GNU ld with shared library support. These
9573     # are reset later if shared libraries are not supported. Putting them
9574     # here allows them to be overridden if necessary.
9575     runpath_var=LD_RUN_PATH
9576     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9577     export_dynamic_flag_spec='${wl}--export-dynamic'
9578     # ancient GNU ld didn't support --whole-archive et. al.
9579     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9580       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9581     else
9582       whole_archive_flag_spec=
9583     fi
9584     supports_anon_versioning=no
9585     case `$LD -v 2>&1` in
9586       *GNU\ gold*) supports_anon_versioning=yes ;;
9587       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9588       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9589       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9590       *\ 2.11.*) ;; # other 2.11 versions
9591       *) supports_anon_versioning=yes ;;
9592     esac
9593
9594     # See if GNU ld supports shared libraries.
9595     case $host_os in
9596     aix[3-9]*)
9597       # On AIX/PPC, the GNU linker is very broken
9598       if test "$host_cpu" != ia64; then
9599         ld_shlibs=no
9600         cat <<_LT_EOF 1>&2
9601
9602 *** Warning: the GNU linker, at least up to release 2.19, is reported
9603 *** to be unable to reliably create shared libraries on AIX.
9604 *** Therefore, libtool is disabling shared libraries support.  If you
9605 *** really care for shared libraries, you may want to install binutils
9606 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9607 *** You will then need to restart the configuration process.
9608
9609 _LT_EOF
9610       fi
9611       ;;
9612
9613     amigaos*)
9614       case $host_cpu in
9615       powerpc)
9616             # see comment about AmigaOS4 .so support
9617             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618             archive_expsym_cmds=''
9619         ;;
9620       m68k)
9621             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)'
9622             hardcode_libdir_flag_spec='-L$libdir'
9623             hardcode_minus_L=yes
9624         ;;
9625       esac
9626       ;;
9627
9628     beos*)
9629       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9630         allow_undefined_flag=unsupported
9631         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9632         # support --undefined.  This deserves some investigation.  FIXME
9633         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634       else
9635         ld_shlibs=no
9636       fi
9637       ;;
9638
9639     cygwin* | mingw* | pw32* | cegcc*)
9640       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9641       # as there is no search path for DLLs.
9642       hardcode_libdir_flag_spec='-L$libdir'
9643       export_dynamic_flag_spec='${wl}--export-all-symbols'
9644       allow_undefined_flag=unsupported
9645       always_export_symbols=no
9646       enable_shared_with_static_runtimes=yes
9647       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'
9648       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9649
9650       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9651         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9652         # If the export-symbols file already is a .def file (1st line
9653         # is EXPORTS), use it as is; otherwise, prepend...
9654         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9655           cp $export_symbols $output_objdir/$soname.def;
9656         else
9657           echo EXPORTS > $output_objdir/$soname.def;
9658           cat $export_symbols >> $output_objdir/$soname.def;
9659         fi~
9660         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9661       else
9662         ld_shlibs=no
9663       fi
9664       ;;
9665
9666     haiku*)
9667       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9668       link_all_deplibs=yes
9669       ;;
9670
9671     interix[3-9]*)
9672       hardcode_direct=no
9673       hardcode_shlibpath_var=no
9674       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9675       export_dynamic_flag_spec='${wl}-E'
9676       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9677       # Instead, shared libraries are loaded at an image base (0x10000000 by
9678       # default) and relocated if they conflict, which is a slow very memory
9679       # consuming and fragmenting process.  To avoid this, we pick a random,
9680       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9681       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9682       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9683       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'
9684       ;;
9685
9686     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9687       tmp_diet=no
9688       if test "$host_os" = linux-dietlibc; then
9689         case $cc_basename in
9690           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9691         esac
9692       fi
9693       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9694          && test "$tmp_diet" = no
9695       then
9696         tmp_addflag=' $pic_flag'
9697         tmp_sharedflag='-shared'
9698         case $cc_basename,$host_cpu in
9699         pgcc*)                          # Portland Group C compiler
9700           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'
9701           tmp_addflag=' $pic_flag'
9702           ;;
9703         pgf77* | pgf90* | pgf95* | pgfortran*)
9704                                         # Portland Group f77 and f90 compilers
9705           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'
9706           tmp_addflag=' $pic_flag -Mnomain' ;;
9707         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9708           tmp_addflag=' -i_dynamic' ;;
9709         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9710           tmp_addflag=' -i_dynamic -nofor_main' ;;
9711         ifc* | ifort*)                  # Intel Fortran compiler
9712           tmp_addflag=' -nofor_main' ;;
9713         lf95*)                          # Lahey Fortran 8.1
9714           whole_archive_flag_spec=
9715           tmp_sharedflag='--shared' ;;
9716         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9717           tmp_sharedflag='-qmkshrobj'
9718           tmp_addflag= ;;
9719         nvcc*)  # Cuda Compiler Driver 2.2
9720           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'
9721           compiler_needs_object=yes
9722           ;;
9723         esac
9724         case `$CC -V 2>&1 | sed 5q` in
9725         *Sun\ C*)                       # Sun C 5.9
9726           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'
9727           compiler_needs_object=yes
9728           tmp_sharedflag='-G' ;;
9729         *Sun\ F*)                       # Sun Fortran 8.3
9730           tmp_sharedflag='-G' ;;
9731         esac
9732         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9733
9734         if test "x$supports_anon_versioning" = xyes; then
9735           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9736             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9737             echo "local: *; };" >> $output_objdir/$libname.ver~
9738             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9739         fi
9740
9741         case $cc_basename in
9742         xlf* | bgf* | bgxlf* | mpixlf*)
9743           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9744           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9745           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9746           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9747           if test "x$supports_anon_versioning" = xyes; then
9748             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9749               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9750               echo "local: *; };" >> $output_objdir/$libname.ver~
9751               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9752           fi
9753           ;;
9754         esac
9755       else
9756         ld_shlibs=no
9757       fi
9758       ;;
9759
9760     netbsd* | netbsdelf*-gnu)
9761       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9762         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9763         wlarc=
9764       else
9765         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9766         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9767       fi
9768       ;;
9769
9770     solaris*)
9771       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9772         ld_shlibs=no
9773         cat <<_LT_EOF 1>&2
9774
9775 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9776 *** create shared libraries on Solaris systems.  Therefore, libtool
9777 *** is disabling shared libraries support.  We urge you to upgrade GNU
9778 *** binutils to release 2.9.1 or newer.  Another option is to modify
9779 *** your PATH or compiler configuration so that the native linker is
9780 *** used, and then restart.
9781
9782 _LT_EOF
9783       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9784         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9786       else
9787         ld_shlibs=no
9788       fi
9789       ;;
9790
9791     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9792       case `$LD -v 2>&1` in
9793         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9794         ld_shlibs=no
9795         cat <<_LT_EOF 1>&2
9796
9797 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9798 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9799 *** is disabling shared libraries support.  We urge you to upgrade GNU
9800 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9801 *** your PATH or compiler configuration so that the native linker is
9802 *** used, and then restart.
9803
9804 _LT_EOF
9805         ;;
9806         *)
9807           # For security reasons, it is highly recommended that you always
9808           # use absolute paths for naming shared libraries, and exclude the
9809           # DT_RUNPATH tag from executables and libraries.  But doing so
9810           # requires that you compile everything twice, which is a pain.
9811           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9812             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9813             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9814             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9815           else
9816             ld_shlibs=no
9817           fi
9818         ;;
9819       esac
9820       ;;
9821
9822     sunos4*)
9823       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9824       wlarc=
9825       hardcode_direct=yes
9826       hardcode_shlibpath_var=no
9827       ;;
9828
9829     *)
9830       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9831         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9832         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9833       else
9834         ld_shlibs=no
9835       fi
9836       ;;
9837     esac
9838
9839     if test "$ld_shlibs" = no; then
9840       runpath_var=
9841       hardcode_libdir_flag_spec=
9842       export_dynamic_flag_spec=
9843       whole_archive_flag_spec=
9844     fi
9845   else
9846     # PORTME fill in a description of your system's linker (not GNU ld)
9847     case $host_os in
9848     aix3*)
9849       allow_undefined_flag=unsupported
9850       always_export_symbols=yes
9851       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'
9852       # Note: this linker hardcodes the directories in LIBPATH if there
9853       # are no directories specified by -L.
9854       hardcode_minus_L=yes
9855       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9856         # Neither direct hardcoding nor static linking is supported with a
9857         # broken collect2.
9858         hardcode_direct=unsupported
9859       fi
9860       ;;
9861
9862     aix[4-9]*)
9863       if test "$host_cpu" = ia64; then
9864         # On IA64, the linker does run time linking by default, so we don't
9865         # have to do anything special.
9866         aix_use_runtimelinking=no
9867         exp_sym_flag='-Bexport'
9868         no_entry_flag=""
9869       else
9870         # If we're using GNU nm, then we don't want the "-C" option.
9871         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9872         # Also, AIX nm treats weak defined symbols like other global
9873         # defined symbols, whereas GNU nm marks them as "W".
9874         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9875           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'
9876         else
9877           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'
9878         fi
9879         aix_use_runtimelinking=no
9880
9881         # Test if we are trying to use run time linking or normal
9882         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9883         # need to do runtime linking.
9884         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9885           for ld_flag in $LDFLAGS; do
9886           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9887             aix_use_runtimelinking=yes
9888             break
9889           fi
9890           done
9891           ;;
9892         esac
9893
9894         exp_sym_flag='-bexport'
9895         no_entry_flag='-bnoentry'
9896       fi
9897
9898       # When large executables or shared objects are built, AIX ld can
9899       # have problems creating the table of contents.  If linking a library
9900       # or program results in "error TOC overflow" add -mminimal-toc to
9901       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9902       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9903
9904       archive_cmds=''
9905       hardcode_direct=yes
9906       hardcode_direct_absolute=yes
9907       hardcode_libdir_separator=':'
9908       link_all_deplibs=yes
9909       file_list_spec='${wl}-f,'
9910
9911       if test "$GCC" = yes; then
9912         case $host_os in aix4.[012]|aix4.[012].*)
9913         # We only want to do this on AIX 4.2 and lower, the check
9914         # below for broken collect2 doesn't work under 4.3+
9915           collect2name=`${CC} -print-prog-name=collect2`
9916           if test -f "$collect2name" &&
9917            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9918           then
9919           # We have reworked collect2
9920           :
9921           else
9922           # We have old collect2
9923           hardcode_direct=unsupported
9924           # It fails to find uninstalled libraries when the uninstalled
9925           # path is not listed in the libpath.  Setting hardcode_minus_L
9926           # to unsupported forces relinking
9927           hardcode_minus_L=yes
9928           hardcode_libdir_flag_spec='-L$libdir'
9929           hardcode_libdir_separator=
9930           fi
9931           ;;
9932         esac
9933         shared_flag='-shared'
9934         if test "$aix_use_runtimelinking" = yes; then
9935           shared_flag="$shared_flag "'${wl}-G'
9936         fi
9937         link_all_deplibs=no
9938       else
9939         # not using gcc
9940         if test "$host_cpu" = ia64; then
9941         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9942         # chokes on -Wl,-G. The following line is correct:
9943           shared_flag='-G'
9944         else
9945           if test "$aix_use_runtimelinking" = yes; then
9946             shared_flag='${wl}-G'
9947           else
9948             shared_flag='${wl}-bM:SRE'
9949           fi
9950         fi
9951       fi
9952
9953       export_dynamic_flag_spec='${wl}-bexpall'
9954       # It seems that -bexpall does not export symbols beginning with
9955       # underscore (_), so it is better to generate a list of symbols to export.
9956       always_export_symbols=yes
9957       if test "$aix_use_runtimelinking" = yes; then
9958         # Warning - without using the other runtime loading flags (-brtl),
9959         # -berok will link without error, but may produce a broken library.
9960         allow_undefined_flag='-berok'
9961         # Determine the default libpath from the value encoded in an
9962         # empty executable.
9963         if test "${lt_cv_aix_libpath+set}" = set; then
9964   aix_libpath=$lt_cv_aix_libpath
9965 else
9966   if ${lt_cv_aix_libpath_+:} false; then :
9967   $as_echo_n "(cached) " >&6
9968 else
9969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h.  */
9971
9972 int
9973 main ()
9974 {
9975
9976   ;
9977   return 0;
9978 }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981
9982   lt_aix_libpath_sed='
9983       /Import File Strings/,/^$/ {
9984           /^0/ {
9985               s/^0  *\([^ ]*\) *$/\1/
9986               p
9987           }
9988       }'
9989   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9990   # Check for a 64-bit object if we didn't find anything.
9991   if test -z "$lt_cv_aix_libpath_"; then
9992     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9993   fi
9994 fi
9995 rm -f core conftest.err conftest.$ac_objext \
9996     conftest$ac_exeext conftest.$ac_ext
9997   if test -z "$lt_cv_aix_libpath_"; then
9998     lt_cv_aix_libpath_="/usr/lib:/lib"
9999   fi
10000
10001 fi
10002
10003   aix_libpath=$lt_cv_aix_libpath_
10004 fi
10005
10006         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10007         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"
10008       else
10009         if test "$host_cpu" = ia64; then
10010           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10011           allow_undefined_flag="-z nodefs"
10012           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"
10013         else
10014          # Determine the default libpath from the value encoded in an
10015          # empty executable.
10016          if test "${lt_cv_aix_libpath+set}" = set; then
10017   aix_libpath=$lt_cv_aix_libpath
10018 else
10019   if ${lt_cv_aix_libpath_+:} false; then :
10020   $as_echo_n "(cached) " >&6
10021 else
10022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h.  */
10024
10025 int
10026 main ()
10027 {
10028
10029   ;
10030   return 0;
10031 }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034
10035   lt_aix_libpath_sed='
10036       /Import File Strings/,/^$/ {
10037           /^0/ {
10038               s/^0  *\([^ ]*\) *$/\1/
10039               p
10040           }
10041       }'
10042   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10043   # Check for a 64-bit object if we didn't find anything.
10044   if test -z "$lt_cv_aix_libpath_"; then
10045     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10046   fi
10047 fi
10048 rm -f core conftest.err conftest.$ac_objext \
10049     conftest$ac_exeext conftest.$ac_ext
10050   if test -z "$lt_cv_aix_libpath_"; then
10051     lt_cv_aix_libpath_="/usr/lib:/lib"
10052   fi
10053
10054 fi
10055
10056   aix_libpath=$lt_cv_aix_libpath_
10057 fi
10058
10059          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10060           # Warning - without using the other run time loading flags,
10061           # -berok will link without error, but may produce a broken library.
10062           no_undefined_flag=' ${wl}-bernotok'
10063           allow_undefined_flag=' ${wl}-berok'
10064           if test "$with_gnu_ld" = yes; then
10065             # We only use this code for GNU lds that support --whole-archive.
10066             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10067           else
10068             # Exported symbols can be pulled into shared objects from archives
10069             whole_archive_flag_spec='$convenience'
10070           fi
10071           archive_cmds_need_lc=yes
10072           # This is similar to how AIX traditionally builds its shared libraries.
10073           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'
10074         fi
10075       fi
10076       ;;
10077
10078     amigaos*)
10079       case $host_cpu in
10080       powerpc)
10081             # see comment about AmigaOS4 .so support
10082             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10083             archive_expsym_cmds=''
10084         ;;
10085       m68k)
10086             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)'
10087             hardcode_libdir_flag_spec='-L$libdir'
10088             hardcode_minus_L=yes
10089         ;;
10090       esac
10091       ;;
10092
10093     bsdi[45]*)
10094       export_dynamic_flag_spec=-rdynamic
10095       ;;
10096
10097     cygwin* | mingw* | pw32* | cegcc*)
10098       # When not using gcc, we currently assume that we are using
10099       # Microsoft Visual C++.
10100       # hardcode_libdir_flag_spec is actually meaningless, as there is
10101       # no search path for DLLs.
10102       case $cc_basename in
10103       cl*)
10104         # Native MSVC
10105         hardcode_libdir_flag_spec=' '
10106         allow_undefined_flag=unsupported
10107         always_export_symbols=yes
10108         file_list_spec='@'
10109         # Tell ltmain to make .lib files, not .a files.
10110         libext=lib
10111         # Tell ltmain to make .dll files, not .so files.
10112         shrext_cmds=".dll"
10113         # FIXME: Setting linknames here is a bad hack.
10114         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10115         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10116             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10117           else
10118             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10119           fi~
10120           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10121           linknames='
10122         # The linker will not automatically build a static lib if we build a DLL.
10123         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10124         enable_shared_with_static_runtimes=yes
10125         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10126         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10127         # Don't use ranlib
10128         old_postinstall_cmds='chmod 644 $oldlib'
10129         postlink_cmds='lt_outputfile="@OUTPUT@"~
10130           lt_tool_outputfile="@TOOL_OUTPUT@"~
10131           case $lt_outputfile in
10132             *.exe|*.EXE) ;;
10133             *)
10134               lt_outputfile="$lt_outputfile.exe"
10135               lt_tool_outputfile="$lt_tool_outputfile.exe"
10136               ;;
10137           esac~
10138           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10139             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10140             $RM "$lt_outputfile.manifest";
10141           fi'
10142         ;;
10143       *)
10144         # Assume MSVC wrapper
10145         hardcode_libdir_flag_spec=' '
10146         allow_undefined_flag=unsupported
10147         # Tell ltmain to make .lib files, not .a files.
10148         libext=lib
10149         # Tell ltmain to make .dll files, not .so files.
10150         shrext_cmds=".dll"
10151         # FIXME: Setting linknames here is a bad hack.
10152         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10153         # The linker will automatically build a .lib file if we build a DLL.
10154         old_archive_from_new_cmds='true'
10155         # FIXME: Should let the user specify the lib program.
10156         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10157         enable_shared_with_static_runtimes=yes
10158         ;;
10159       esac
10160       ;;
10161
10162     darwin* | rhapsody*)
10163
10164
10165   archive_cmds_need_lc=no
10166   hardcode_direct=no
10167   hardcode_automatic=yes
10168   hardcode_shlibpath_var=unsupported
10169   if test "$lt_cv_ld_force_load" = "yes"; then
10170     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\"`'
10171
10172   else
10173     whole_archive_flag_spec=''
10174   fi
10175   link_all_deplibs=yes
10176   allow_undefined_flag="$_lt_dar_allow_undefined"
10177   case $cc_basename in
10178      ifort*) _lt_dar_can_shared=yes ;;
10179      *) _lt_dar_can_shared=$GCC ;;
10180   esac
10181   if test "$_lt_dar_can_shared" = "yes"; then
10182     output_verbose_link_cmd=func_echo_all
10183     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10184     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10185     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}"
10186     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}"
10187
10188   else
10189   ld_shlibs=no
10190   fi
10191
10192       ;;
10193
10194     dgux*)
10195       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196       hardcode_libdir_flag_spec='-L$libdir'
10197       hardcode_shlibpath_var=no
10198       ;;
10199
10200     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10201     # support.  Future versions do this automatically, but an explicit c++rt0.o
10202     # does not break anything, and helps significantly (at the cost of a little
10203     # extra space).
10204     freebsd2.2*)
10205       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10206       hardcode_libdir_flag_spec='-R$libdir'
10207       hardcode_direct=yes
10208       hardcode_shlibpath_var=no
10209       ;;
10210
10211     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10212     freebsd2.*)
10213       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10214       hardcode_direct=yes
10215       hardcode_minus_L=yes
10216       hardcode_shlibpath_var=no
10217       ;;
10218
10219     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10220     freebsd* | dragonfly*)
10221       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10222       hardcode_libdir_flag_spec='-R$libdir'
10223       hardcode_direct=yes
10224       hardcode_shlibpath_var=no
10225       ;;
10226
10227     hpux9*)
10228       if test "$GCC" = yes; then
10229         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'
10230       else
10231         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'
10232       fi
10233       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10234       hardcode_libdir_separator=:
10235       hardcode_direct=yes
10236
10237       # hardcode_minus_L: Not really in the search PATH,
10238       # but as the default location of the library.
10239       hardcode_minus_L=yes
10240       export_dynamic_flag_spec='${wl}-E'
10241       ;;
10242
10243     hpux10*)
10244       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10245         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10246       else
10247         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10248       fi
10249       if test "$with_gnu_ld" = no; then
10250         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10251         hardcode_libdir_separator=:
10252         hardcode_direct=yes
10253         hardcode_direct_absolute=yes
10254         export_dynamic_flag_spec='${wl}-E'
10255         # hardcode_minus_L: Not really in the search PATH,
10256         # but as the default location of the library.
10257         hardcode_minus_L=yes
10258       fi
10259       ;;
10260
10261     hpux11*)
10262       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10263         case $host_cpu in
10264         hppa*64*)
10265           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10266           ;;
10267         ia64*)
10268           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10269           ;;
10270         *)
10271           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10272           ;;
10273         esac
10274       else
10275         case $host_cpu in
10276         hppa*64*)
10277           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10278           ;;
10279         ia64*)
10280           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10281           ;;
10282         *)
10283
10284           # Older versions of the 11.00 compiler do not understand -b yet
10285           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10286           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10287 $as_echo_n "checking if $CC understands -b... " >&6; }
10288 if ${lt_cv_prog_compiler__b+:} false; then :
10289   $as_echo_n "(cached) " >&6
10290 else
10291   lt_cv_prog_compiler__b=no
10292    save_LDFLAGS="$LDFLAGS"
10293    LDFLAGS="$LDFLAGS -b"
10294    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10295    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10296      # The linker can only warn and ignore the option if not recognized
10297      # So say no if there are warnings
10298      if test -s conftest.err; then
10299        # Append any errors to the config.log.
10300        cat conftest.err 1>&5
10301        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10302        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10303        if diff conftest.exp conftest.er2 >/dev/null; then
10304          lt_cv_prog_compiler__b=yes
10305        fi
10306      else
10307        lt_cv_prog_compiler__b=yes
10308      fi
10309    fi
10310    $RM -r conftest*
10311    LDFLAGS="$save_LDFLAGS"
10312
10313 fi
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10315 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10316
10317 if test x"$lt_cv_prog_compiler__b" = xyes; then
10318     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10319 else
10320     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10321 fi
10322
10323           ;;
10324         esac
10325       fi
10326       if test "$with_gnu_ld" = no; then
10327         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10328         hardcode_libdir_separator=:
10329
10330         case $host_cpu in
10331         hppa*64*|ia64*)
10332           hardcode_direct=no
10333           hardcode_shlibpath_var=no
10334           ;;
10335         *)
10336           hardcode_direct=yes
10337           hardcode_direct_absolute=yes
10338           export_dynamic_flag_spec='${wl}-E'
10339
10340           # hardcode_minus_L: Not really in the search PATH,
10341           # but as the default location of the library.
10342           hardcode_minus_L=yes
10343           ;;
10344         esac
10345       fi
10346       ;;
10347
10348     irix5* | irix6* | nonstopux*)
10349       if test "$GCC" = yes; then
10350         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'
10351         # Try to use the -exported_symbol ld option, if it does not
10352         # work, assume that -exports_file does not work either and
10353         # implicitly export all symbols.
10354         # This should be the same for all languages, so no per-tag cache variable.
10355         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10356 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10357 if ${lt_cv_irix_exported_symbol+:} false; then :
10358   $as_echo_n "(cached) " >&6
10359 else
10360   save_LDFLAGS="$LDFLAGS"
10361            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10362            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10363 /* end confdefs.h.  */
10364 int foo (void) { return 0; }
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367   lt_cv_irix_exported_symbol=yes
10368 else
10369   lt_cv_irix_exported_symbol=no
10370 fi
10371 rm -f core conftest.err conftest.$ac_objext \
10372     conftest$ac_exeext conftest.$ac_ext
10373            LDFLAGS="$save_LDFLAGS"
10374 fi
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10376 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10377         if test "$lt_cv_irix_exported_symbol" = yes; then
10378           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'
10379         fi
10380       else
10381         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'
10382         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'
10383       fi
10384       archive_cmds_need_lc='no'
10385       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10386       hardcode_libdir_separator=:
10387       inherit_rpath=yes
10388       link_all_deplibs=yes
10389       ;;
10390
10391     netbsd* | netbsdelf*-gnu)
10392       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10393         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10394       else
10395         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10396       fi
10397       hardcode_libdir_flag_spec='-R$libdir'
10398       hardcode_direct=yes
10399       hardcode_shlibpath_var=no
10400       ;;
10401
10402     newsos6)
10403       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10404       hardcode_direct=yes
10405       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10406       hardcode_libdir_separator=:
10407       hardcode_shlibpath_var=no
10408       ;;
10409
10410     *nto* | *qnx*)
10411       ;;
10412
10413     openbsd*)
10414       if test -f /usr/libexec/ld.so; then
10415         hardcode_direct=yes
10416         hardcode_shlibpath_var=no
10417         hardcode_direct_absolute=yes
10418         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10419           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10420           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10421           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10422           export_dynamic_flag_spec='${wl}-E'
10423         else
10424           case $host_os in
10425            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10426              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10427              hardcode_libdir_flag_spec='-R$libdir'
10428              ;;
10429            *)
10430              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10431              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10432              ;;
10433           esac
10434         fi
10435       else
10436         ld_shlibs=no
10437       fi
10438       ;;
10439
10440     os2*)
10441       hardcode_libdir_flag_spec='-L$libdir'
10442       hardcode_minus_L=yes
10443       allow_undefined_flag=unsupported
10444       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'
10445       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10446       ;;
10447
10448     osf3*)
10449       if test "$GCC" = yes; then
10450         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10451         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'
10452       else
10453         allow_undefined_flag=' -expect_unresolved \*'
10454         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'
10455       fi
10456       archive_cmds_need_lc='no'
10457       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10458       hardcode_libdir_separator=:
10459       ;;
10460
10461     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10462       if test "$GCC" = yes; then
10463         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10464         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'
10465         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10466       else
10467         allow_undefined_flag=' -expect_unresolved \*'
10468         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'
10469         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~
10470         $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'
10471
10472         # Both c and cxx compiler support -rpath directly
10473         hardcode_libdir_flag_spec='-rpath $libdir'
10474       fi
10475       archive_cmds_need_lc='no'
10476       hardcode_libdir_separator=:
10477       ;;
10478
10479     solaris*)
10480       no_undefined_flag=' -z defs'
10481       if test "$GCC" = yes; then
10482         wlarc='${wl}'
10483         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10484         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10485           $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'
10486       else
10487         case `$CC -V 2>&1` in
10488         *"Compilers 5.0"*)
10489           wlarc=''
10490           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10491           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10492           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10493           ;;
10494         *)
10495           wlarc='${wl}'
10496           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10497           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10498           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10499           ;;
10500         esac
10501       fi
10502       hardcode_libdir_flag_spec='-R$libdir'
10503       hardcode_shlibpath_var=no
10504       case $host_os in
10505       solaris2.[0-5] | solaris2.[0-5].*) ;;
10506       *)
10507         # The compiler driver will combine and reorder linker options,
10508         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10509         # but is careful enough not to reorder.
10510         # Supported since Solaris 2.6 (maybe 2.5.1?)
10511         if test "$GCC" = yes; then
10512           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10513         else
10514           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10515         fi
10516         ;;
10517       esac
10518       link_all_deplibs=yes
10519       ;;
10520
10521     sunos4*)
10522       if test "x$host_vendor" = xsequent; then
10523         # Use $CC to link under sequent, because it throws in some extra .o
10524         # files that make .init and .fini sections work.
10525         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10526       else
10527         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10528       fi
10529       hardcode_libdir_flag_spec='-L$libdir'
10530       hardcode_direct=yes
10531       hardcode_minus_L=yes
10532       hardcode_shlibpath_var=no
10533       ;;
10534
10535     sysv4)
10536       case $host_vendor in
10537         sni)
10538           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10539           hardcode_direct=yes # is this really true???
10540         ;;
10541         siemens)
10542           ## LD is ld it makes a PLAMLIB
10543           ## CC just makes a GrossModule.
10544           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10545           reload_cmds='$CC -r -o $output$reload_objs'
10546           hardcode_direct=no
10547         ;;
10548         motorola)
10549           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10551         ;;
10552       esac
10553       runpath_var='LD_RUN_PATH'
10554       hardcode_shlibpath_var=no
10555       ;;
10556
10557     sysv4.3*)
10558       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10559       hardcode_shlibpath_var=no
10560       export_dynamic_flag_spec='-Bexport'
10561       ;;
10562
10563     sysv4*MP*)
10564       if test -d /usr/nec; then
10565         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10566         hardcode_shlibpath_var=no
10567         runpath_var=LD_RUN_PATH
10568         hardcode_runpath_var=yes
10569         ld_shlibs=yes
10570       fi
10571       ;;
10572
10573     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10574       no_undefined_flag='${wl}-z,text'
10575       archive_cmds_need_lc=no
10576       hardcode_shlibpath_var=no
10577       runpath_var='LD_RUN_PATH'
10578
10579       if test "$GCC" = yes; then
10580         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10581         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10582       else
10583         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10584         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10585       fi
10586       ;;
10587
10588     sysv5* | sco3.2v5* | sco5v6*)
10589       # Note: We can NOT use -z defs as we might desire, because we do not
10590       # link with -lc, and that would cause any symbols used from libc to
10591       # always be unresolved, which means just about no library would
10592       # ever link correctly.  If we're not using GNU ld we use -z text
10593       # though, which does catch some bad symbols but isn't as heavy-handed
10594       # as -z defs.
10595       no_undefined_flag='${wl}-z,text'
10596       allow_undefined_flag='${wl}-z,nodefs'
10597       archive_cmds_need_lc=no
10598       hardcode_shlibpath_var=no
10599       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10600       hardcode_libdir_separator=':'
10601       link_all_deplibs=yes
10602       export_dynamic_flag_spec='${wl}-Bexport'
10603       runpath_var='LD_RUN_PATH'
10604
10605       if test "$GCC" = yes; then
10606         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10607         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10608       else
10609         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10610         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10611       fi
10612       ;;
10613
10614     uts4*)
10615       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10616       hardcode_libdir_flag_spec='-L$libdir'
10617       hardcode_shlibpath_var=no
10618       ;;
10619
10620     *)
10621       ld_shlibs=no
10622       ;;
10623     esac
10624
10625     if test x$host_vendor = xsni; then
10626       case $host in
10627       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10628         export_dynamic_flag_spec='${wl}-Blargedynsym'
10629         ;;
10630       esac
10631     fi
10632   fi
10633
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10635 $as_echo "$ld_shlibs" >&6; }
10636 test "$ld_shlibs" = no && can_build_shared=no
10637
10638 with_gnu_ld=$with_gnu_ld
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654 #
10655 # Do we need to explicitly link libc?
10656 #
10657 case "x$archive_cmds_need_lc" in
10658 x|xyes)
10659   # Assume -lc should be added
10660   archive_cmds_need_lc=yes
10661
10662   if test "$enable_shared" = yes && test "$GCC" = yes; then
10663     case $archive_cmds in
10664     *'~'*)
10665       # FIXME: we may have to deal with multi-command sequences.
10666       ;;
10667     '$CC '*)
10668       # Test whether the compiler implicitly links with -lc since on some
10669       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10670       # to ld, don't add -lc before -lgcc.
10671       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10672 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10673 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10674   $as_echo_n "(cached) " >&6
10675 else
10676   $RM conftest*
10677         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10678
10679         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10680   (eval $ac_compile) 2>&5
10681   ac_status=$?
10682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10683   test $ac_status = 0; } 2>conftest.err; then
10684           soname=conftest
10685           lib=conftest
10686           libobjs=conftest.$ac_objext
10687           deplibs=
10688           wl=$lt_prog_compiler_wl
10689           pic_flag=$lt_prog_compiler_pic
10690           compiler_flags=-v
10691           linker_flags=-v
10692           verstring=
10693           output_objdir=.
10694           libname=conftest
10695           lt_save_allow_undefined_flag=$allow_undefined_flag
10696           allow_undefined_flag=
10697           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10698   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10699   ac_status=$?
10700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10701   test $ac_status = 0; }
10702           then
10703             lt_cv_archive_cmds_need_lc=no
10704           else
10705             lt_cv_archive_cmds_need_lc=yes
10706           fi
10707           allow_undefined_flag=$lt_save_allow_undefined_flag
10708         else
10709           cat conftest.err 1>&5
10710         fi
10711         $RM conftest*
10712
10713 fi
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10715 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10716       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10717       ;;
10718     esac
10719   fi
10720   ;;
10721 esac
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10875 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10876
10877 if test "$GCC" = yes; then
10878   case $host_os in
10879     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10880     *) lt_awk_arg="/^libraries:/" ;;
10881   esac
10882   case $host_os in
10883     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10884     *) lt_sed_strip_eq="s,=/,/,g" ;;
10885   esac
10886   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10887   case $lt_search_path_spec in
10888   *\;*)
10889     # if the path contains ";" then we assume it to be the separator
10890     # otherwise default to the standard path separator (i.e. ":") - it is
10891     # assumed that no part of a normal pathname contains ";" but that should
10892     # okay in the real world where ";" in dirpaths is itself problematic.
10893     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10894     ;;
10895   *)
10896     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10897     ;;
10898   esac
10899   # Ok, now we have the path, separated by spaces, we can step through it
10900   # and add multilib dir if necessary.
10901   lt_tmp_lt_search_path_spec=
10902   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10903   for lt_sys_path in $lt_search_path_spec; do
10904     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10905       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10906     else
10907       test -d "$lt_sys_path" && \
10908         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10909     fi
10910   done
10911   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10912 BEGIN {RS=" "; FS="/|\n";} {
10913   lt_foo="";
10914   lt_count=0;
10915   for (lt_i = NF; lt_i > 0; lt_i--) {
10916     if ($lt_i != "" && $lt_i != ".") {
10917       if ($lt_i == "..") {
10918         lt_count++;
10919       } else {
10920         if (lt_count == 0) {
10921           lt_foo="/" $lt_i lt_foo;
10922         } else {
10923           lt_count--;
10924         }
10925       }
10926     }
10927   }
10928   if (lt_foo != "") { lt_freq[lt_foo]++; }
10929   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10930 }'`
10931   # AWK program above erroneously prepends '/' to C:/dos/paths
10932   # for these hosts.
10933   case $host_os in
10934     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10935       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10936   esac
10937   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10938 else
10939   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10940 fi
10941 library_names_spec=
10942 libname_spec='lib$name'
10943 soname_spec=
10944 shrext_cmds=".so"
10945 postinstall_cmds=
10946 postuninstall_cmds=
10947 finish_cmds=
10948 finish_eval=
10949 shlibpath_var=
10950 shlibpath_overrides_runpath=unknown
10951 version_type=none
10952 dynamic_linker="$host_os ld.so"
10953 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10954 need_lib_prefix=unknown
10955 hardcode_into_libs=no
10956
10957 # when you set need_version to no, make sure it does not cause -set_version
10958 # flags to be left without arguments
10959 need_version=unknown
10960
10961 case $host_os in
10962 aix3*)
10963   version_type=linux # correct to gnu/linux during the next big refactor
10964   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10965   shlibpath_var=LIBPATH
10966
10967   # AIX 3 has no versioning support, so we append a major version to the name.
10968   soname_spec='${libname}${release}${shared_ext}$major'
10969   ;;
10970
10971 aix[4-9]*)
10972   version_type=linux # correct to gnu/linux during the next big refactor
10973   need_lib_prefix=no
10974   need_version=no
10975   hardcode_into_libs=yes
10976   if test "$host_cpu" = ia64; then
10977     # AIX 5 supports IA64
10978     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10979     shlibpath_var=LD_LIBRARY_PATH
10980   else
10981     # With GCC up to 2.95.x, collect2 would create an import file
10982     # for dependence libraries.  The import file would start with
10983     # the line `#! .'.  This would cause the generated library to
10984     # depend on `.', always an invalid library.  This was fixed in
10985     # development snapshots of GCC prior to 3.0.
10986     case $host_os in
10987       aix4 | aix4.[01] | aix4.[01].*)
10988       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10989            echo ' yes '
10990            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10991         :
10992       else
10993         can_build_shared=no
10994       fi
10995       ;;
10996     esac
10997     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10998     # soname into executable. Probably we can add versioning support to
10999     # collect2, so additional links can be useful in future.
11000     if test "$aix_use_runtimelinking" = yes; then
11001       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11002       # instead of lib<name>.a to let people know that these are not
11003       # typical AIX shared libraries.
11004       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005     else
11006       # We preserve .a as extension for shared libraries through AIX4.2
11007       # and later when we are not doing run time linking.
11008       library_names_spec='${libname}${release}.a $libname.a'
11009       soname_spec='${libname}${release}${shared_ext}$major'
11010     fi
11011     shlibpath_var=LIBPATH
11012   fi
11013   ;;
11014
11015 amigaos*)
11016   case $host_cpu in
11017   powerpc)
11018     # Since July 2007 AmigaOS4 officially supports .so libraries.
11019     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11020     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021     ;;
11022   m68k)
11023     library_names_spec='$libname.ixlibrary $libname.a'
11024     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11025     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'
11026     ;;
11027   esac
11028   ;;
11029
11030 beos*)
11031   library_names_spec='${libname}${shared_ext}'
11032   dynamic_linker="$host_os ld.so"
11033   shlibpath_var=LIBRARY_PATH
11034   ;;
11035
11036 bsdi[45]*)
11037   version_type=linux # correct to gnu/linux during the next big refactor
11038   need_version=no
11039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040   soname_spec='${libname}${release}${shared_ext}$major'
11041   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11042   shlibpath_var=LD_LIBRARY_PATH
11043   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11044   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11045   # the default ld.so.conf also contains /usr/contrib/lib and
11046   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11047   # libtool to hard-code these into programs
11048   ;;
11049
11050 cygwin* | mingw* | pw32* | cegcc*)
11051   version_type=windows
11052   shrext_cmds=".dll"
11053   need_version=no
11054   need_lib_prefix=no
11055
11056   case $GCC,$cc_basename in
11057   yes,*)
11058     # gcc
11059     library_names_spec='$libname.dll.a'
11060     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11061     postinstall_cmds='base_file=`basename \${file}`~
11062       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11063       dldir=$destdir/`dirname \$dlpath`~
11064       test -d \$dldir || mkdir -p \$dldir~
11065       $install_prog $dir/$dlname \$dldir/$dlname~
11066       chmod a+x \$dldir/$dlname~
11067       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11068         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11069       fi'
11070     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11071       dlpath=$dir/\$dldll~
11072        $RM \$dlpath'
11073     shlibpath_overrides_runpath=yes
11074
11075     case $host_os in
11076     cygwin*)
11077       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11078       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11079
11080       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11081       ;;
11082     mingw* | cegcc*)
11083       # MinGW DLLs use traditional 'lib' prefix
11084       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11085       ;;
11086     pw32*)
11087       # pw32 DLLs use 'pw' prefix rather than 'lib'
11088       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11089       ;;
11090     esac
11091     dynamic_linker='Win32 ld.exe'
11092     ;;
11093
11094   *,cl*)
11095     # Native MSVC
11096     libname_spec='$name'
11097     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11098     library_names_spec='${libname}.dll.lib'
11099
11100     case $build_os in
11101     mingw*)
11102       sys_lib_search_path_spec=
11103       lt_save_ifs=$IFS
11104       IFS=';'
11105       for lt_path in $LIB
11106       do
11107         IFS=$lt_save_ifs
11108         # Let DOS variable expansion print the short 8.3 style file name.
11109         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11110         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11111       done
11112       IFS=$lt_save_ifs
11113       # Convert to MSYS style.
11114       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11115       ;;
11116     cygwin*)
11117       # Convert to unix form, then to dos form, then back to unix form
11118       # but this time dos style (no spaces!) so that the unix form looks
11119       # like /cygdrive/c/PROGRA~1:/cygdr...
11120       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11121       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11122       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11123       ;;
11124     *)
11125       sys_lib_search_path_spec="$LIB"
11126       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11127         # It is most probably a Windows format PATH.
11128         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11129       else
11130         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11131       fi
11132       # FIXME: find the short name or the path components, as spaces are
11133       # common. (e.g. "Program Files" -> "PROGRA~1")
11134       ;;
11135     esac
11136
11137     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11138     postinstall_cmds='base_file=`basename \${file}`~
11139       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11140       dldir=$destdir/`dirname \$dlpath`~
11141       test -d \$dldir || mkdir -p \$dldir~
11142       $install_prog $dir/$dlname \$dldir/$dlname'
11143     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11144       dlpath=$dir/\$dldll~
11145        $RM \$dlpath'
11146     shlibpath_overrides_runpath=yes
11147     dynamic_linker='Win32 link.exe'
11148     ;;
11149
11150   *)
11151     # Assume MSVC wrapper
11152     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11153     dynamic_linker='Win32 ld.exe'
11154     ;;
11155   esac
11156   # FIXME: first we should search . and the directory the executable is in
11157   shlibpath_var=PATH
11158   ;;
11159
11160 darwin* | rhapsody*)
11161   dynamic_linker="$host_os dyld"
11162   version_type=darwin
11163   need_lib_prefix=no
11164   need_version=no
11165   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11166   soname_spec='${libname}${release}${major}$shared_ext'
11167   shlibpath_overrides_runpath=yes
11168   shlibpath_var=DYLD_LIBRARY_PATH
11169   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11170
11171   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11172   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11173   ;;
11174
11175 dgux*)
11176   version_type=linux # correct to gnu/linux during the next big refactor
11177   need_lib_prefix=no
11178   need_version=no
11179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11180   soname_spec='${libname}${release}${shared_ext}$major'
11181   shlibpath_var=LD_LIBRARY_PATH
11182   ;;
11183
11184 freebsd* | dragonfly*)
11185   # DragonFly does not have aout.  When/if they implement a new
11186   # versioning mechanism, adjust this.
11187   if test -x /usr/bin/objformat; then
11188     objformat=`/usr/bin/objformat`
11189   else
11190     case $host_os in
11191     freebsd[23].*) objformat=aout ;;
11192     *) objformat=elf ;;
11193     esac
11194   fi
11195   version_type=freebsd-$objformat
11196   case $version_type in
11197     freebsd-elf*)
11198       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11199       need_version=no
11200       need_lib_prefix=no
11201       ;;
11202     freebsd-*)
11203       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11204       need_version=yes
11205       ;;
11206   esac
11207   shlibpath_var=LD_LIBRARY_PATH
11208   case $host_os in
11209   freebsd2.*)
11210     shlibpath_overrides_runpath=yes
11211     ;;
11212   freebsd3.[01]* | freebsdelf3.[01]*)
11213     shlibpath_overrides_runpath=yes
11214     hardcode_into_libs=yes
11215     ;;
11216   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11217   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11218     shlibpath_overrides_runpath=no
11219     hardcode_into_libs=yes
11220     ;;
11221   *) # from 4.6 on, and DragonFly
11222     shlibpath_overrides_runpath=yes
11223     hardcode_into_libs=yes
11224     ;;
11225   esac
11226   ;;
11227
11228 haiku*)
11229   version_type=linux # correct to gnu/linux during the next big refactor
11230   need_lib_prefix=no
11231   need_version=no
11232   dynamic_linker="$host_os runtime_loader"
11233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11234   soname_spec='${libname}${release}${shared_ext}$major'
11235   shlibpath_var=LIBRARY_PATH
11236   shlibpath_overrides_runpath=yes
11237   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11238   hardcode_into_libs=yes
11239   ;;
11240
11241 hpux9* | hpux10* | hpux11*)
11242   # Give a soname corresponding to the major version so that dld.sl refuses to
11243   # link against other versions.
11244   version_type=sunos
11245   need_lib_prefix=no
11246   need_version=no
11247   case $host_cpu in
11248   ia64*)
11249     shrext_cmds='.so'
11250     hardcode_into_libs=yes
11251     dynamic_linker="$host_os dld.so"
11252     shlibpath_var=LD_LIBRARY_PATH
11253     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11254     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11255     soname_spec='${libname}${release}${shared_ext}$major'
11256     if test "X$HPUX_IA64_MODE" = X32; then
11257       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11258     else
11259       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11260     fi
11261     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11262     ;;
11263   hppa*64*)
11264     shrext_cmds='.sl'
11265     hardcode_into_libs=yes
11266     dynamic_linker="$host_os dld.sl"
11267     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11268     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11269     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270     soname_spec='${libname}${release}${shared_ext}$major'
11271     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11272     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11273     ;;
11274   *)
11275     shrext_cmds='.sl'
11276     dynamic_linker="$host_os dld.sl"
11277     shlibpath_var=SHLIB_PATH
11278     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11279     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11280     soname_spec='${libname}${release}${shared_ext}$major'
11281     ;;
11282   esac
11283   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11284   postinstall_cmds='chmod 555 $lib'
11285   # or fails outright, so override atomically:
11286   install_override_mode=555
11287   ;;
11288
11289 interix[3-9]*)
11290   version_type=linux # correct to gnu/linux during the next big refactor
11291   need_lib_prefix=no
11292   need_version=no
11293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11294   soname_spec='${libname}${release}${shared_ext}$major'
11295   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11296   shlibpath_var=LD_LIBRARY_PATH
11297   shlibpath_overrides_runpath=no
11298   hardcode_into_libs=yes
11299   ;;
11300
11301 irix5* | irix6* | nonstopux*)
11302   case $host_os in
11303     nonstopux*) version_type=nonstopux ;;
11304     *)
11305         if test "$lt_cv_prog_gnu_ld" = yes; then
11306                 version_type=linux # correct to gnu/linux during the next big refactor
11307         else
11308                 version_type=irix
11309         fi ;;
11310   esac
11311   need_lib_prefix=no
11312   need_version=no
11313   soname_spec='${libname}${release}${shared_ext}$major'
11314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11315   case $host_os in
11316   irix5* | nonstopux*)
11317     libsuff= shlibsuff=
11318     ;;
11319   *)
11320     case $LD in # libtool.m4 will add one of these switches to LD
11321     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11322       libsuff= shlibsuff= libmagic=32-bit;;
11323     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11324       libsuff=32 shlibsuff=N32 libmagic=N32;;
11325     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11326       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11327     *) libsuff= shlibsuff= libmagic=never-match;;
11328     esac
11329     ;;
11330   esac
11331   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11332   shlibpath_overrides_runpath=no
11333   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11334   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11335   hardcode_into_libs=yes
11336   ;;
11337
11338 # No shared lib support for Linux oldld, aout, or coff.
11339 linux*oldld* | linux*aout* | linux*coff*)
11340   dynamic_linker=no
11341   ;;
11342
11343 # This must be glibc/ELF.
11344 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11345   version_type=linux # correct to gnu/linux during the next big refactor
11346   need_lib_prefix=no
11347   need_version=no
11348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349   soname_spec='${libname}${release}${shared_ext}$major'
11350   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11351   shlibpath_var=LD_LIBRARY_PATH
11352   shlibpath_overrides_runpath=no
11353
11354   # Some binutils ld are patched to set DT_RUNPATH
11355   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11356   $as_echo_n "(cached) " >&6
11357 else
11358   lt_cv_shlibpath_overrides_runpath=no
11359     save_LDFLAGS=$LDFLAGS
11360     save_libdir=$libdir
11361     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11362          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11363     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h.  */
11365
11366 int
11367 main ()
11368 {
11369
11370   ;
11371   return 0;
11372 }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11376   lt_cv_shlibpath_overrides_runpath=yes
11377 fi
11378 fi
11379 rm -f core conftest.err conftest.$ac_objext \
11380     conftest$ac_exeext conftest.$ac_ext
11381     LDFLAGS=$save_LDFLAGS
11382     libdir=$save_libdir
11383
11384 fi
11385
11386   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11387
11388   # This implies no fast_install, which is unacceptable.
11389   # Some rework will be needed to allow for fast_install
11390   # before this can be enabled.
11391   hardcode_into_libs=yes
11392
11393   # Append ld.so.conf contents to the search path
11394   if test -f /etc/ld.so.conf; then
11395     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' ' '`
11396     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11397   fi
11398
11399   # We used to test for /lib/ld.so.1 and disable shared libraries on
11400   # powerpc, because MkLinux only supported shared libraries with the
11401   # GNU dynamic linker.  Since this was broken with cross compilers,
11402   # most powerpc-linux boxes support dynamic linking these days and
11403   # people can always --disable-shared, the test was removed, and we
11404   # assume the GNU/Linux dynamic linker is in use.
11405   dynamic_linker='GNU/Linux ld.so'
11406   ;;
11407
11408 netbsdelf*-gnu)
11409   version_type=linux
11410   need_lib_prefix=no
11411   need_version=no
11412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11413   soname_spec='${libname}${release}${shared_ext}$major'
11414   shlibpath_var=LD_LIBRARY_PATH
11415   shlibpath_overrides_runpath=no
11416   hardcode_into_libs=yes
11417   dynamic_linker='NetBSD ld.elf_so'
11418   ;;
11419
11420 netbsd*)
11421   version_type=sunos
11422   need_lib_prefix=no
11423   need_version=no
11424   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11425     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11426     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11427     dynamic_linker='NetBSD (a.out) ld.so'
11428   else
11429     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11430     soname_spec='${libname}${release}${shared_ext}$major'
11431     dynamic_linker='NetBSD ld.elf_so'
11432   fi
11433   shlibpath_var=LD_LIBRARY_PATH
11434   shlibpath_overrides_runpath=yes
11435   hardcode_into_libs=yes
11436   ;;
11437
11438 newsos6)
11439   version_type=linux # correct to gnu/linux during the next big refactor
11440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11441   shlibpath_var=LD_LIBRARY_PATH
11442   shlibpath_overrides_runpath=yes
11443   ;;
11444
11445 *nto* | *qnx*)
11446   version_type=qnx
11447   need_lib_prefix=no
11448   need_version=no
11449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450   soname_spec='${libname}${release}${shared_ext}$major'
11451   shlibpath_var=LD_LIBRARY_PATH
11452   shlibpath_overrides_runpath=no
11453   hardcode_into_libs=yes
11454   dynamic_linker='ldqnx.so'
11455   ;;
11456
11457 openbsd*)
11458   version_type=sunos
11459   sys_lib_dlsearch_path_spec="/usr/lib"
11460   need_lib_prefix=no
11461   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11462   case $host_os in
11463     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11464     *)                          need_version=no  ;;
11465   esac
11466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11467   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11468   shlibpath_var=LD_LIBRARY_PATH
11469   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11470     case $host_os in
11471       openbsd2.[89] | openbsd2.[89].*)
11472         shlibpath_overrides_runpath=no
11473         ;;
11474       *)
11475         shlibpath_overrides_runpath=yes
11476         ;;
11477       esac
11478   else
11479     shlibpath_overrides_runpath=yes
11480   fi
11481   ;;
11482
11483 os2*)
11484   libname_spec='$name'
11485   shrext_cmds=".dll"
11486   need_lib_prefix=no
11487   library_names_spec='$libname${shared_ext} $libname.a'
11488   dynamic_linker='OS/2 ld.exe'
11489   shlibpath_var=LIBPATH
11490   ;;
11491
11492 osf3* | osf4* | osf5*)
11493   version_type=osf
11494   need_lib_prefix=no
11495   need_version=no
11496   soname_spec='${libname}${release}${shared_ext}$major'
11497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498   shlibpath_var=LD_LIBRARY_PATH
11499   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11500   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11501   ;;
11502
11503 rdos*)
11504   dynamic_linker=no
11505   ;;
11506
11507 solaris*)
11508   version_type=linux # correct to gnu/linux during the next big refactor
11509   need_lib_prefix=no
11510   need_version=no
11511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512   soname_spec='${libname}${release}${shared_ext}$major'
11513   shlibpath_var=LD_LIBRARY_PATH
11514   shlibpath_overrides_runpath=yes
11515   hardcode_into_libs=yes
11516   # ldd complains unless libraries are executable
11517   postinstall_cmds='chmod +x $lib'
11518   ;;
11519
11520 sunos4*)
11521   version_type=sunos
11522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11523   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11524   shlibpath_var=LD_LIBRARY_PATH
11525   shlibpath_overrides_runpath=yes
11526   if test "$with_gnu_ld" = yes; then
11527     need_lib_prefix=no
11528   fi
11529   need_version=yes
11530   ;;
11531
11532 sysv4 | sysv4.3*)
11533   version_type=linux # correct to gnu/linux during the next big refactor
11534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535   soname_spec='${libname}${release}${shared_ext}$major'
11536   shlibpath_var=LD_LIBRARY_PATH
11537   case $host_vendor in
11538     sni)
11539       shlibpath_overrides_runpath=no
11540       need_lib_prefix=no
11541       runpath_var=LD_RUN_PATH
11542       ;;
11543     siemens)
11544       need_lib_prefix=no
11545       ;;
11546     motorola)
11547       need_lib_prefix=no
11548       need_version=no
11549       shlibpath_overrides_runpath=no
11550       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11551       ;;
11552   esac
11553   ;;
11554
11555 sysv4*MP*)
11556   if test -d /usr/nec ;then
11557     version_type=linux # correct to gnu/linux during the next big refactor
11558     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11559     soname_spec='$libname${shared_ext}.$major'
11560     shlibpath_var=LD_LIBRARY_PATH
11561   fi
11562   ;;
11563
11564 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11565   version_type=freebsd-elf
11566   need_lib_prefix=no
11567   need_version=no
11568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11569   soname_spec='${libname}${release}${shared_ext}$major'
11570   shlibpath_var=LD_LIBRARY_PATH
11571   shlibpath_overrides_runpath=yes
11572   hardcode_into_libs=yes
11573   if test "$with_gnu_ld" = yes; then
11574     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11575   else
11576     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11577     case $host_os in
11578       sco3.2v5*)
11579         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11580         ;;
11581     esac
11582   fi
11583   sys_lib_dlsearch_path_spec='/usr/lib'
11584   ;;
11585
11586 tpf*)
11587   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11588   version_type=linux # correct to gnu/linux during the next big refactor
11589   need_lib_prefix=no
11590   need_version=no
11591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592   shlibpath_var=LD_LIBRARY_PATH
11593   shlibpath_overrides_runpath=no
11594   hardcode_into_libs=yes
11595   ;;
11596
11597 uts4*)
11598   version_type=linux # correct to gnu/linux during the next big refactor
11599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11600   soname_spec='${libname}${release}${shared_ext}$major'
11601   shlibpath_var=LD_LIBRARY_PATH
11602   ;;
11603
11604 *)
11605   dynamic_linker=no
11606   ;;
11607 esac
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11609 $as_echo "$dynamic_linker" >&6; }
11610 test "$dynamic_linker" = no && can_build_shared=no
11611
11612 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11613 if test "$GCC" = yes; then
11614   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11615 fi
11616
11617 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11618   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11619 fi
11620 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11621   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11622 fi
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11716 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11717 hardcode_action=
11718 if test -n "$hardcode_libdir_flag_spec" ||
11719    test -n "$runpath_var" ||
11720    test "X$hardcode_automatic" = "Xyes" ; then
11721
11722   # We can hardcode non-existent directories.
11723   if test "$hardcode_direct" != no &&
11724      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11725      # have to relink, otherwise we might link with an installed library
11726      # when we should be linking with a yet-to-be-installed one
11727      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11728      test "$hardcode_minus_L" != no; then
11729     # Linking always hardcodes the temporary library directory.
11730     hardcode_action=relink
11731   else
11732     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11733     hardcode_action=immediate
11734   fi
11735 else
11736   # We cannot hardcode anything, or else we can only hardcode existing
11737   # directories.
11738   hardcode_action=unsupported
11739 fi
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11741 $as_echo "$hardcode_action" >&6; }
11742
11743 if test "$hardcode_action" = relink ||
11744    test "$inherit_rpath" = yes; then
11745   # Fast installation is not supported
11746   enable_fast_install=no
11747 elif test "$shlibpath_overrides_runpath" = yes ||
11748      test "$enable_shared" = no; then
11749   # Fast installation is not necessary
11750   enable_fast_install=needless
11751 fi
11752
11753
11754
11755
11756
11757
11758   if test "x$enable_dlopen" != xyes; then
11759   enable_dlopen=unknown
11760   enable_dlopen_self=unknown
11761   enable_dlopen_self_static=unknown
11762 else
11763   lt_cv_dlopen=no
11764   lt_cv_dlopen_libs=
11765
11766   case $host_os in
11767   beos*)
11768     lt_cv_dlopen="load_add_on"
11769     lt_cv_dlopen_libs=
11770     lt_cv_dlopen_self=yes
11771     ;;
11772
11773   mingw* | pw32* | cegcc*)
11774     lt_cv_dlopen="LoadLibrary"
11775     lt_cv_dlopen_libs=
11776     ;;
11777
11778   cygwin*)
11779     lt_cv_dlopen="dlopen"
11780     lt_cv_dlopen_libs=
11781     ;;
11782
11783   darwin*)
11784   # if libdl is installed we need to link against it
11785     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11786 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11787 if ${ac_cv_lib_dl_dlopen+:} false; then :
11788   $as_echo_n "(cached) " >&6
11789 else
11790   ac_check_lib_save_LIBS=$LIBS
11791 LIBS="-ldl  $LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h.  */
11794
11795 /* Override any GCC internal prototype to avoid an error.
11796    Use char because int might match the return type of a GCC
11797    builtin and then its argument prototype would still apply.  */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char dlopen ();
11802 int
11803 main ()
11804 {
11805 return dlopen ();
11806   ;
11807   return 0;
11808 }
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811   ac_cv_lib_dl_dlopen=yes
11812 else
11813   ac_cv_lib_dl_dlopen=no
11814 fi
11815 rm -f core conftest.err conftest.$ac_objext \
11816     conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_lib_save_LIBS
11818 fi
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11820 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11821 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11822   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11823 else
11824
11825     lt_cv_dlopen="dyld"
11826     lt_cv_dlopen_libs=
11827     lt_cv_dlopen_self=yes
11828
11829 fi
11830
11831     ;;
11832
11833   *)
11834     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11835 if test "x$ac_cv_func_shl_load" = xyes; then :
11836   lt_cv_dlopen="shl_load"
11837 else
11838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11839 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11840 if ${ac_cv_lib_dld_shl_load+:} false; then :
11841   $as_echo_n "(cached) " >&6
11842 else
11843   ac_check_lib_save_LIBS=$LIBS
11844 LIBS="-ldld  $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h.  */
11847
11848 /* Override any GCC internal prototype to avoid an error.
11849    Use char because int might match the return type of a GCC
11850    builtin and then its argument prototype would still apply.  */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char shl_load ();
11855 int
11856 main ()
11857 {
11858 return shl_load ();
11859   ;
11860   return 0;
11861 }
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864   ac_cv_lib_dld_shl_load=yes
11865 else
11866   ac_cv_lib_dld_shl_load=no
11867 fi
11868 rm -f core conftest.err conftest.$ac_objext \
11869     conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_lib_save_LIBS
11871 fi
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11873 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11874 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11875   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11876 else
11877   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11878 if test "x$ac_cv_func_dlopen" = xyes; then :
11879   lt_cv_dlopen="dlopen"
11880 else
11881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11882 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11883 if ${ac_cv_lib_dl_dlopen+:} false; then :
11884   $as_echo_n "(cached) " >&6
11885 else
11886   ac_check_lib_save_LIBS=$LIBS
11887 LIBS="-ldl  $LIBS"
11888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h.  */
11890
11891 /* Override any GCC internal prototype to avoid an error.
11892    Use char because int might match the return type of a GCC
11893    builtin and then its argument prototype would still apply.  */
11894 #ifdef __cplusplus
11895 extern "C"
11896 #endif
11897 char dlopen ();
11898 int
11899 main ()
11900 {
11901 return dlopen ();
11902   ;
11903   return 0;
11904 }
11905 _ACEOF
11906 if ac_fn_c_try_link "$LINENO"; then :
11907   ac_cv_lib_dl_dlopen=yes
11908 else
11909   ac_cv_lib_dl_dlopen=no
11910 fi
11911 rm -f core conftest.err conftest.$ac_objext \
11912     conftest$ac_exeext conftest.$ac_ext
11913 LIBS=$ac_check_lib_save_LIBS
11914 fi
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11916 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11917 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11918   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11919 else
11920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11921 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11922 if ${ac_cv_lib_svld_dlopen+:} false; then :
11923   $as_echo_n "(cached) " >&6
11924 else
11925   ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lsvld  $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h.  */
11929
11930 /* Override any GCC internal prototype to avoid an error.
11931    Use char because int might match the return type of a GCC
11932    builtin and then its argument prototype would still apply.  */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char dlopen ();
11937 int
11938 main ()
11939 {
11940 return dlopen ();
11941   ;
11942   return 0;
11943 }
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946   ac_cv_lib_svld_dlopen=yes
11947 else
11948   ac_cv_lib_svld_dlopen=no
11949 fi
11950 rm -f core conftest.err conftest.$ac_objext \
11951     conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11953 fi
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11955 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11956 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11957   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11958 else
11959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11960 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11961 if ${ac_cv_lib_dld_dld_link+:} false; then :
11962   $as_echo_n "(cached) " >&6
11963 else
11964   ac_check_lib_save_LIBS=$LIBS
11965 LIBS="-ldld  $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h.  */
11968
11969 /* Override any GCC internal prototype to avoid an error.
11970    Use char because int might match the return type of a GCC
11971    builtin and then its argument prototype would still apply.  */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char dld_link ();
11976 int
11977 main ()
11978 {
11979 return dld_link ();
11980   ;
11981   return 0;
11982 }
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985   ac_cv_lib_dld_dld_link=yes
11986 else
11987   ac_cv_lib_dld_dld_link=no
11988 fi
11989 rm -f core conftest.err conftest.$ac_objext \
11990     conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11992 fi
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11994 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11995 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11996   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11997 fi
11998
11999
12000 fi
12001
12002
12003 fi
12004
12005
12006 fi
12007
12008
12009 fi
12010
12011
12012 fi
12013
12014     ;;
12015   esac
12016
12017   if test "x$lt_cv_dlopen" != xno; then
12018     enable_dlopen=yes
12019   else
12020     enable_dlopen=no
12021   fi
12022
12023   case $lt_cv_dlopen in
12024   dlopen)
12025     save_CPPFLAGS="$CPPFLAGS"
12026     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12027
12028     save_LDFLAGS="$LDFLAGS"
12029     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12030
12031     save_LIBS="$LIBS"
12032     LIBS="$lt_cv_dlopen_libs $LIBS"
12033
12034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12035 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12036 if ${lt_cv_dlopen_self+:} false; then :
12037   $as_echo_n "(cached) " >&6
12038 else
12039           if test "$cross_compiling" = yes; then :
12040   lt_cv_dlopen_self=cross
12041 else
12042   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12043   lt_status=$lt_dlunknown
12044   cat > conftest.$ac_ext <<_LT_EOF
12045 #line $LINENO "configure"
12046 #include "confdefs.h"
12047
12048 #if HAVE_DLFCN_H
12049 #include <dlfcn.h>
12050 #endif
12051
12052 #include <stdio.h>
12053
12054 #ifdef RTLD_GLOBAL
12055 #  define LT_DLGLOBAL           RTLD_GLOBAL
12056 #else
12057 #  ifdef DL_GLOBAL
12058 #    define LT_DLGLOBAL         DL_GLOBAL
12059 #  else
12060 #    define LT_DLGLOBAL         0
12061 #  endif
12062 #endif
12063
12064 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12065    find out it does not work in some platform. */
12066 #ifndef LT_DLLAZY_OR_NOW
12067 #  ifdef RTLD_LAZY
12068 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12069 #  else
12070 #    ifdef DL_LAZY
12071 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12072 #    else
12073 #      ifdef RTLD_NOW
12074 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12075 #      else
12076 #        ifdef DL_NOW
12077 #          define LT_DLLAZY_OR_NOW      DL_NOW
12078 #        else
12079 #          define LT_DLLAZY_OR_NOW      0
12080 #        endif
12081 #      endif
12082 #    endif
12083 #  endif
12084 #endif
12085
12086 /* When -fvisbility=hidden is used, assume the code has been annotated
12087    correspondingly for the symbols needed.  */
12088 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12089 int fnord () __attribute__((visibility("default")));
12090 #endif
12091
12092 int fnord () { return 42; }
12093 int main ()
12094 {
12095   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12096   int status = $lt_dlunknown;
12097
12098   if (self)
12099     {
12100       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12101       else
12102         {
12103           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12104           else puts (dlerror ());
12105         }
12106       /* dlclose (self); */
12107     }
12108   else
12109     puts (dlerror ());
12110
12111   return status;
12112 }
12113 _LT_EOF
12114   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12115   (eval $ac_link) 2>&5
12116   ac_status=$?
12117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12118   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12119     (./conftest; exit; ) >&5 2>/dev/null
12120     lt_status=$?
12121     case x$lt_status in
12122       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12123       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12124       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12125     esac
12126   else :
12127     # compilation failed
12128     lt_cv_dlopen_self=no
12129   fi
12130 fi
12131 rm -fr conftest*
12132
12133
12134 fi
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12136 $as_echo "$lt_cv_dlopen_self" >&6; }
12137
12138     if test "x$lt_cv_dlopen_self" = xyes; then
12139       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12140       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12141 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12142 if ${lt_cv_dlopen_self_static+:} false; then :
12143   $as_echo_n "(cached) " >&6
12144 else
12145           if test "$cross_compiling" = yes; then :
12146   lt_cv_dlopen_self_static=cross
12147 else
12148   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12149   lt_status=$lt_dlunknown
12150   cat > conftest.$ac_ext <<_LT_EOF
12151 #line $LINENO "configure"
12152 #include "confdefs.h"
12153
12154 #if HAVE_DLFCN_H
12155 #include <dlfcn.h>
12156 #endif
12157
12158 #include <stdio.h>
12159
12160 #ifdef RTLD_GLOBAL
12161 #  define LT_DLGLOBAL           RTLD_GLOBAL
12162 #else
12163 #  ifdef DL_GLOBAL
12164 #    define LT_DLGLOBAL         DL_GLOBAL
12165 #  else
12166 #    define LT_DLGLOBAL         0
12167 #  endif
12168 #endif
12169
12170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12171    find out it does not work in some platform. */
12172 #ifndef LT_DLLAZY_OR_NOW
12173 #  ifdef RTLD_LAZY
12174 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12175 #  else
12176 #    ifdef DL_LAZY
12177 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12178 #    else
12179 #      ifdef RTLD_NOW
12180 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12181 #      else
12182 #        ifdef DL_NOW
12183 #          define LT_DLLAZY_OR_NOW      DL_NOW
12184 #        else
12185 #          define LT_DLLAZY_OR_NOW      0
12186 #        endif
12187 #      endif
12188 #    endif
12189 #  endif
12190 #endif
12191
12192 /* When -fvisbility=hidden is used, assume the code has been annotated
12193    correspondingly for the symbols needed.  */
12194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12195 int fnord () __attribute__((visibility("default")));
12196 #endif
12197
12198 int fnord () { return 42; }
12199 int main ()
12200 {
12201   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12202   int status = $lt_dlunknown;
12203
12204   if (self)
12205     {
12206       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12207       else
12208         {
12209           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12210           else puts (dlerror ());
12211         }
12212       /* dlclose (self); */
12213     }
12214   else
12215     puts (dlerror ());
12216
12217   return status;
12218 }
12219 _LT_EOF
12220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12221   (eval $ac_link) 2>&5
12222   ac_status=$?
12223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12224   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12225     (./conftest; exit; ) >&5 2>/dev/null
12226     lt_status=$?
12227     case x$lt_status in
12228       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12229       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12230       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12231     esac
12232   else :
12233     # compilation failed
12234     lt_cv_dlopen_self_static=no
12235   fi
12236 fi
12237 rm -fr conftest*
12238
12239
12240 fi
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12242 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12243     fi
12244
12245     CPPFLAGS="$save_CPPFLAGS"
12246     LDFLAGS="$save_LDFLAGS"
12247     LIBS="$save_LIBS"
12248     ;;
12249   esac
12250
12251   case $lt_cv_dlopen_self in
12252   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12253   *) enable_dlopen_self=unknown ;;
12254   esac
12255
12256   case $lt_cv_dlopen_self_static in
12257   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12258   *) enable_dlopen_self_static=unknown ;;
12259   esac
12260 fi
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278 striplib=
12279 old_striplib=
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12281 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12282 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12283   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12284   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12286 $as_echo "yes" >&6; }
12287 else
12288 # FIXME - insert some real tests, host_os isn't really good enough
12289   case $host_os in
12290   darwin*)
12291     if test -n "$STRIP" ; then
12292       striplib="$STRIP -x"
12293       old_striplib="$STRIP -S"
12294       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12295 $as_echo "yes" >&6; }
12296     else
12297       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12298 $as_echo "no" >&6; }
12299     fi
12300     ;;
12301   *)
12302     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12304     ;;
12305   esac
12306 fi
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319   # Report which library types will actually be built
12320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12321 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12323 $as_echo "$can_build_shared" >&6; }
12324
12325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12326 $as_echo_n "checking whether to build shared libraries... " >&6; }
12327   test "$can_build_shared" = "no" && enable_shared=no
12328
12329   # On AIX, shared libraries and static libraries use the same namespace, and
12330   # are all built from PIC.
12331   case $host_os in
12332   aix3*)
12333     test "$enable_shared" = yes && enable_static=no
12334     if test -n "$RANLIB"; then
12335       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12336       postinstall_cmds='$RANLIB $lib'
12337     fi
12338     ;;
12339
12340   aix[4-9]*)
12341     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12342       test "$enable_shared" = yes && enable_static=no
12343     fi
12344     ;;
12345   esac
12346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12347 $as_echo "$enable_shared" >&6; }
12348
12349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12350 $as_echo_n "checking whether to build static libraries... " >&6; }
12351   # Make sure either enable_shared or enable_static is yes.
12352   test "$enable_shared" = yes || enable_static=yes
12353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12354 $as_echo "$enable_static" >&6; }
12355
12356
12357
12358
12359 fi
12360 ac_ext=c
12361 ac_cpp='$CPP $CPPFLAGS'
12362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12365
12366 CC="$lt_save_CC"
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382         ac_config_commands="$ac_config_commands libtool"
12383
12384
12385
12386
12387 # Only expand once:
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397 YELP_LC_MEDIA_LINKS=true
12398 YELP_LC_DIST=true
12399
12400 for yelpopt in ; do
12401   case $yelpopt in
12402     lc-media-links)    YELP_LC_MEDIA_LINKS=true ;;
12403     no-lc-media-links) YELP_LC_MEDIA_LINKS= ;;
12404     lc-dist)           YELP_LC_DIST=true ;;
12405     no-lc-dist)        YELP_LC_DIST= ;;
12406     *) as_fn_error $? "Unrecognized YELP_HELP_INIT option $yelpopt\"" "$LINENO" 5 ;;
12407   esac
12408 done;
12409
12410
12411
12412
12413 # Check whether --with-help-dir was given.
12414 if test "${with_help_dir+set}" = set; then :
12415   withval=$with_help_dir;
12416 else
12417   with_help_dir='${datadir}/help'
12418 fi
12419
12420 HELP_DIR="$with_help_dir"
12421
12422
12423
12424 # Extract the first word of "itstool", so it can be a program name with args.
12425 set dummy itstool; ac_word=$2
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12427 $as_echo_n "checking for $ac_word... " >&6; }
12428 if ${ac_cv_prog_ITSTOOL+:} false; then :
12429   $as_echo_n "(cached) " >&6
12430 else
12431   if test -n "$ITSTOOL"; then
12432   ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
12433 else
12434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12435 for as_dir in $PATH
12436 do
12437   IFS=$as_save_IFS
12438   test -z "$as_dir" && as_dir=.
12439     for ac_exec_ext in '' $ac_executable_extensions; do
12440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12441     ac_cv_prog_ITSTOOL="itstool"
12442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12443     break 2
12444   fi
12445 done
12446   done
12447 IFS=$as_save_IFS
12448
12449 fi
12450 fi
12451 ITSTOOL=$ac_cv_prog_ITSTOOL
12452 if test -n "$ITSTOOL"; then
12453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
12454 $as_echo "$ITSTOOL" >&6; }
12455 else
12456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12457 $as_echo "no" >&6; }
12458 fi
12459
12460
12461 if test x"$ITSTOOL" = x; then
12462   as_fn_error $? "itstool not found" "$LINENO" 5
12463 fi
12464
12465
12466 # Extract the first word of "xmllint", so it can be a program name with args.
12467 set dummy xmllint; ac_word=$2
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12469 $as_echo_n "checking for $ac_word... " >&6; }
12470 if ${ac_cv_prog_XMLLINT+:} false; then :
12471   $as_echo_n "(cached) " >&6
12472 else
12473   if test -n "$XMLLINT"; then
12474   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
12475 else
12476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12477 for as_dir in $PATH
12478 do
12479   IFS=$as_save_IFS
12480   test -z "$as_dir" && as_dir=.
12481     for ac_exec_ext in '' $ac_executable_extensions; do
12482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12483     ac_cv_prog_XMLLINT="xmllint"
12484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12485     break 2
12486   fi
12487 done
12488   done
12489 IFS=$as_save_IFS
12490
12491 fi
12492 fi
12493 XMLLINT=$ac_cv_prog_XMLLINT
12494 if test -n "$XMLLINT"; then
12495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
12496 $as_echo "$XMLLINT" >&6; }
12497 else
12498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499 $as_echo "no" >&6; }
12500 fi
12501
12502
12503 if test x"$XMLLINT" = x; then
12504   as_fn_error $? "xmllint not found" "$LINENO" 5
12505 fi
12506
12507 YELP_HELP_RULES='
12508 HELP_ID ?=
12509 HELP_POT ?=
12510 HELP_FILES ?=
12511 HELP_EXTRA ?=
12512 HELP_MEDIA ?=
12513 HELP_LINGUAS ?=
12514
12515 _HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
12516 _HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
12517 _HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
12518 _HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
12519 _HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
12520 _HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
12521 _HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
12522 _HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
12523 _HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
12524
12525 _HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
12526 _HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
12527 _HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
12528 _HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
12529 _HELP_LC_VERBOSE_0 = @echo "  GEN    "$(dir $@);
12530
12531 all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
12532
12533 .PHONY: pot
12534 pot: $(_HELP_POTFILE)
12535 $(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12536         $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
12537         $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
12538
12539 .PHONY: repo
12540 repo: $(_HELP_POTFILE)
12541         $(AM_V_at)for po in $(_HELP_POFILES); do \
12542           if test "x$(_HELP_V)" = "x0"; then echo "  GEN    $${po}"; fi; \
12543           msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
12544         done
12545
12546 $(_HELP_POFILES):
12547         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12548         $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
12549         $(AM_V_GEN)if ! test -f "$@"; then \
12550           (cd "$(dir $@)" && \
12551             $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12552             mv "$(notdir $@).tmp" "$(notdir $@)"); \
12553         else \
12554           (cd "$(dir $@)" && \
12555             $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
12556             msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
12557             rm "$(notdir $@).tmp"); \
12558         fi
12559
12560 $(_HELP_MOFILES): %.mo: %.po
12561         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12562         $(AM_V_GEN)msgfmt -o "$@" "$<"
12563
12564 $(_HELP_LC_FILES): $(_HELP_LINGUAS)
12565 $(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
12566 $(_HELP_LC_STAMPS): %.stamp: %.mo
12567 $(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
12568         $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
12569         $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
12570         mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
12571         if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
12572         (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
12573         touch "$@"
12574
12575 .PHONY: clean-help
12576 mostlyclean-am: $(if $(HELP_ID),clean-help)
12577 clean-help:
12578         rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
12579
12580 EXTRA_DIST ?=
12581 EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
12582 EXTRA_DIST += $(if $(YELP_LC_DIST),$(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp))
12583 EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
12584 EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
12585
12586 distdir: distdir-help-files
12587 distdir-help-files: $(_HELP_LC_FILES)
12588         @for lc in C $(if $(YELP_LC_DIST),$(HELP_LINGUAS)) ; do \
12589           $(MKDIR_P) "$(distdir)/$$lc"; \
12590           for file in $(HELP_FILES); do \
12591             if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
12592             cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
12593           done; \
12594         done; \
12595
12596 .PHONY: check-help
12597 check: check-help
12598 check-help:
12599         for lc in C $(_HELP_LINGUAS); do \
12600           if test -d "$$lc"; \
12601             then d=; \
12602             xmlpath="$$lc"; \
12603           else \
12604             d="$(srcdir)/"; \
12605             xmlpath="$$lc:$(srcdir)/$$lc"; \
12606           fi; \
12607           for page in $(HELP_FILES); do \
12608             echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
12609             $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
12610           done; \
12611         done
12612
12613
12614 .PHONY: install-help
12615 install-data-am: $(if $(HELP_ID),install-help)
12616 install-help: $(_HELP_LC_FILES)
12617         @for lc in C $(_HELP_LINGUAS); do \
12618           $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
12619         done
12620         @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12621           if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
12622           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12623           if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12624           echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
12625           $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
12626         done; done
12627         @for f in $(_HELP_C_EXTRA); do \
12628           lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12629           if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
12630           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12631           if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
12632           echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
12633           $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
12634         done
12635         @for f in $(HELP_MEDIA); do \
12636           for lc in C $(_HELP_LINGUAS); do \
12637             if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
12638             helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12639             mdir=`dirname "$$f"`; \
12640             if test "x$mdir" = "x."; then mdir=""; fi; \
12641             if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
12642             if test -f "$$d$$lc/$$f"; then \
12643               echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
12644               $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
12645             elif test "x$$lc" != "xC"; then \
12646               if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \
12647                 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12648                 $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
12649               fi; \
12650             fi; \
12651           done; \
12652         done
12653
12654 .PHONY: uninstall-help
12655 uninstall-am: $(if $(HELP_ID),uninstall-help)
12656 uninstall-help:
12657         for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
12658           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12659           echo "rm -f $$helpdir`basename $$f`"; \
12660           rm -f "$$helpdir`basename $$f`"; \
12661         done; done
12662         @for f in $(_HELP_C_EXTRA); do \
12663           lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
12664           helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12665           echo "rm -f $$helpdir`basename $$f`"; \
12666           rm -f "$$helpdir`basename $$f`"; \
12667         done
12668         @for f in $(HELP_MEDIA); do \
12669           for lc in C $(_HELP_LINGUAS); do \
12670             helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
12671             echo "rm -f $$helpdir$$f"; \
12672             rm -f "$$helpdir$$f"; \
12673           done; \
12674         done;
12675 '
12676
12677
12678
12679
12680
12681
12682   gtk_doc_requires="gtk-doc >= 1.0"
12683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12684 $as_echo_n "checking for gtk-doc... " >&6; }
12685   if test -n "$PKG_CONFIG" && \
12686     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12687   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12688   ac_status=$?
12689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12690   test $ac_status = 0; }; then
12691   have_gtk_doc=yes
12692 else
12693   have_gtk_doc=no
12694 fi
12695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12696 $as_echo "$have_gtk_doc" >&6; }
12697
12698   if test "$have_gtk_doc" = "no"; then
12699       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12700   You will not be able to create source packages with 'make dist'
12701   because $gtk_doc_requires is not found." >&5
12702 $as_echo "$as_me: WARNING:
12703   You will not be able to create source packages with 'make dist'
12704   because $gtk_doc_requires is not found." >&2;}
12705   fi
12706
12707             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12708 set dummy gtkdoc-check; ac_word=$2
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12710 $as_echo_n "checking for $ac_word... " >&6; }
12711 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12712   $as_echo_n "(cached) " >&6
12713 else
12714   if test -n "$GTKDOC_CHECK"; then
12715   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12716 else
12717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12718 for as_dir in $PATH
12719 do
12720   IFS=$as_save_IFS
12721   test -z "$as_dir" && as_dir=.
12722     for ac_exec_ext in '' $ac_executable_extensions; do
12723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12724     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12726     break 2
12727   fi
12728 done
12729   done
12730 IFS=$as_save_IFS
12731
12732 fi
12733 fi
12734 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12735 if test -n "$GTKDOC_CHECK"; then
12736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12737 $as_echo "$GTKDOC_CHECK" >&6; }
12738 else
12739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12740 $as_echo "no" >&6; }
12741 fi
12742
12743
12744   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12745 set dummy gtkdoc-check; ac_word=$2
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12747 $as_echo_n "checking for $ac_word... " >&6; }
12748 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12749   $as_echo_n "(cached) " >&6
12750 else
12751   case $GTKDOC_CHECK_PATH in
12752   [\\/]* | ?:[\\/]*)
12753   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12754   ;;
12755   *)
12756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12757 for as_dir in $PATH
12758 do
12759   IFS=$as_save_IFS
12760   test -z "$as_dir" && as_dir=.
12761     for ac_exec_ext in '' $ac_executable_extensions; do
12762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12763     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12765     break 2
12766   fi
12767 done
12768   done
12769 IFS=$as_save_IFS
12770
12771   ;;
12772 esac
12773 fi
12774 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12775 if test -n "$GTKDOC_CHECK_PATH"; then
12776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12777 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12778 else
12779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12780 $as_echo "no" >&6; }
12781 fi
12782
12783
12784   for ac_prog in gtkdoc-rebase
12785 do
12786   # Extract the first word of "$ac_prog", so it can be a program name with args.
12787 set dummy $ac_prog; ac_word=$2
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12789 $as_echo_n "checking for $ac_word... " >&6; }
12790 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12791   $as_echo_n "(cached) " >&6
12792 else
12793   case $GTKDOC_REBASE in
12794   [\\/]* | ?:[\\/]*)
12795   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12796   ;;
12797   *)
12798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12799 for as_dir in $PATH
12800 do
12801   IFS=$as_save_IFS
12802   test -z "$as_dir" && as_dir=.
12803     for ac_exec_ext in '' $ac_executable_extensions; do
12804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12805     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12807     break 2
12808   fi
12809 done
12810   done
12811 IFS=$as_save_IFS
12812
12813   ;;
12814 esac
12815 fi
12816 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12817 if test -n "$GTKDOC_REBASE"; then
12818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12819 $as_echo "$GTKDOC_REBASE" >&6; }
12820 else
12821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12823 fi
12824
12825
12826   test -n "$GTKDOC_REBASE" && break
12827 done
12828 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12829
12830   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12831 set dummy gtkdoc-mkpdf; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12833 $as_echo_n "checking for $ac_word... " >&6; }
12834 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12835   $as_echo_n "(cached) " >&6
12836 else
12837   case $GTKDOC_MKPDF in
12838   [\\/]* | ?:[\\/]*)
12839   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12840   ;;
12841   *)
12842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12844 do
12845   IFS=$as_save_IFS
12846   test -z "$as_dir" && as_dir=.
12847     for ac_exec_ext in '' $ac_executable_extensions; do
12848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12849     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12851     break 2
12852   fi
12853 done
12854   done
12855 IFS=$as_save_IFS
12856
12857   ;;
12858 esac
12859 fi
12860 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12861 if test -n "$GTKDOC_MKPDF"; then
12862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12863 $as_echo "$GTKDOC_MKPDF" >&6; }
12864 else
12865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866 $as_echo "no" >&6; }
12867 fi
12868
12869
12870
12871
12872 # Check whether --with-html-dir was given.
12873 if test "${with_html_dir+set}" = set; then :
12874   withval=$with_html_dir;
12875 else
12876   with_html_dir='${datadir}/gtk-doc/html'
12877 fi
12878
12879   HTML_DIR="$with_html_dir"
12880
12881
12882     # Check whether --enable-gtk-doc was given.
12883 if test "${enable_gtk_doc+set}" = set; then :
12884   enableval=$enable_gtk_doc;
12885 else
12886   enable_gtk_doc=no
12887 fi
12888
12889
12890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12891 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12893 $as_echo "$enable_gtk_doc" >&6; }
12894
12895   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12896     as_fn_error $? "
12897   You must have $gtk_doc_requires installed to build documentation for
12898   $PACKAGE_NAME. Please install gtk-doc or disable building the
12899   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12900   fi
12901
12902     if test "x$PACKAGE_NAME" != "xglib"; then
12903
12904 pkg_failed=no
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12906 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12907
12908 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12909     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12910  elif test -n "$PKG_CONFIG"; then
12911     if test -n "$PKG_CONFIG" && \
12912     { { $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
12913   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12914   ac_status=$?
12915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12916   test $ac_status = 0; }; then
12917   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12918                       test "x$?" != "x0" && pkg_failed=yes
12919 else
12920   pkg_failed=yes
12921 fi
12922  else
12923     pkg_failed=untried
12924 fi
12925 if test -n "$GTKDOC_DEPS_LIBS"; then
12926     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
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_LIBS=`$PKG_CONFIG --libs "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
12943
12944
12945 if test $pkg_failed = yes; then
12946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12947 $as_echo "no" >&6; }
12948
12949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12950         _pkg_short_errors_supported=yes
12951 else
12952         _pkg_short_errors_supported=no
12953 fi
12954         if test $_pkg_short_errors_supported = yes; then
12955                 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`
12956         else
12957                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12958         fi
12959         # Put the nasty error message in config.log where it belongs
12960         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12961
12962         :
12963 elif test $pkg_failed = untried; then
12964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12966         :
12967 else
12968         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12969         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12971 $as_echo "yes" >&6; }
12972
12973 fi
12974   fi
12975
12976     # Check whether --enable-gtk-doc-html was given.
12977 if test "${enable_gtk_doc_html+set}" = set; then :
12978   enableval=$enable_gtk_doc_html;
12979 else
12980   enable_gtk_doc_html=yes
12981 fi
12982
12983     # Check whether --enable-gtk-doc-pdf was given.
12984 if test "${enable_gtk_doc_pdf+set}" = set; then :
12985   enableval=$enable_gtk_doc_pdf;
12986 else
12987   enable_gtk_doc_pdf=no
12988 fi
12989
12990
12991   if test -z "$GTKDOC_MKPDF"; then
12992     enable_gtk_doc_pdf=no
12993   fi
12994
12995   if test -z "$AM_DEFAULT_VERBOSITY"; then
12996     AM_DEFAULT_VERBOSITY=1
12997   fi
12998
12999
13000    if test x$have_gtk_doc = xyes; then
13001   HAVE_GTK_DOC_TRUE=
13002   HAVE_GTK_DOC_FALSE='#'
13003 else
13004   HAVE_GTK_DOC_TRUE='#'
13005   HAVE_GTK_DOC_FALSE=
13006 fi
13007
13008    if test x$enable_gtk_doc = xyes; then
13009   ENABLE_GTK_DOC_TRUE=
13010   ENABLE_GTK_DOC_FALSE='#'
13011 else
13012   ENABLE_GTK_DOC_TRUE='#'
13013   ENABLE_GTK_DOC_FALSE=
13014 fi
13015
13016    if test x$enable_gtk_doc_html = xyes; then
13017   GTK_DOC_BUILD_HTML_TRUE=
13018   GTK_DOC_BUILD_HTML_FALSE='#'
13019 else
13020   GTK_DOC_BUILD_HTML_TRUE='#'
13021   GTK_DOC_BUILD_HTML_FALSE=
13022 fi
13023
13024    if test x$enable_gtk_doc_pdf = xyes; then
13025   GTK_DOC_BUILD_PDF_TRUE=
13026   GTK_DOC_BUILD_PDF_FALSE='#'
13027 else
13028   GTK_DOC_BUILD_PDF_TRUE='#'
13029   GTK_DOC_BUILD_PDF_FALSE=
13030 fi
13031
13032    if test -n "$LIBTOOL"; then
13033   GTK_DOC_USE_LIBTOOL_TRUE=
13034   GTK_DOC_USE_LIBTOOL_FALSE='#'
13035 else
13036   GTK_DOC_USE_LIBTOOL_TRUE='#'
13037   GTK_DOC_USE_LIBTOOL_FALSE=
13038 fi
13039
13040    if test -n "$GTKDOC_REBASE"; then
13041   GTK_DOC_USE_REBASE_TRUE=
13042   GTK_DOC_USE_REBASE_FALSE='#'
13043 else
13044   GTK_DOC_USE_REBASE_TRUE='#'
13045   GTK_DOC_USE_REBASE_FALSE=
13046 fi
13047
13048
13049
13050
13051
13052   # Check whether --enable-schemas-compile was given.
13053 if test "${enable_schemas_compile+set}" = set; then :
13054   enableval=$enable_schemas_compile; case ${enableval} in
13055                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
13056                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
13057                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
13058                  esac
13059 fi
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13070         if test -n "$ac_tool_prefix"; then
13071   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13072 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13074 $as_echo_n "checking for $ac_word... " >&6; }
13075 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13076   $as_echo_n "(cached) " >&6
13077 else
13078   case $PKG_CONFIG in
13079   [\\/]* | ?:[\\/]*)
13080   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13081   ;;
13082   *)
13083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13084 for as_dir in $PATH
13085 do
13086   IFS=$as_save_IFS
13087   test -z "$as_dir" && as_dir=.
13088     for ac_exec_ext in '' $ac_executable_extensions; do
13089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13090     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13092     break 2
13093   fi
13094 done
13095   done
13096 IFS=$as_save_IFS
13097
13098   ;;
13099 esac
13100 fi
13101 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13102 if test -n "$PKG_CONFIG"; then
13103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13104 $as_echo "$PKG_CONFIG" >&6; }
13105 else
13106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13107 $as_echo "no" >&6; }
13108 fi
13109
13110
13111 fi
13112 if test -z "$ac_cv_path_PKG_CONFIG"; then
13113   ac_pt_PKG_CONFIG=$PKG_CONFIG
13114   # Extract the first word of "pkg-config", so it can be a program name with args.
13115 set dummy pkg-config; ac_word=$2
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13117 $as_echo_n "checking for $ac_word... " >&6; }
13118 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13119   $as_echo_n "(cached) " >&6
13120 else
13121   case $ac_pt_PKG_CONFIG in
13122   [\\/]* | ?:[\\/]*)
13123   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13124   ;;
13125   *)
13126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13128 do
13129   IFS=$as_save_IFS
13130   test -z "$as_dir" && as_dir=.
13131     for ac_exec_ext in '' $ac_executable_extensions; do
13132   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13133     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13135     break 2
13136   fi
13137 done
13138   done
13139 IFS=$as_save_IFS
13140
13141   ;;
13142 esac
13143 fi
13144 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13145 if test -n "$ac_pt_PKG_CONFIG"; then
13146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13147 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13148 else
13149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13150 $as_echo "no" >&6; }
13151 fi
13152
13153   if test "x$ac_pt_PKG_CONFIG" = x; then
13154     PKG_CONFIG=""
13155   else
13156     case $cross_compiling:$ac_tool_warned in
13157 yes:)
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13160 ac_tool_warned=yes ;;
13161 esac
13162     PKG_CONFIG=$ac_pt_PKG_CONFIG
13163   fi
13164 else
13165   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13166 fi
13167
13168 fi
13169 if test -n "$PKG_CONFIG"; then
13170         _pkg_min_version=0.16
13171         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13172 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13173         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13174                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13175 $as_echo "yes" >&6; }
13176         else
13177                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13179                 PKG_CONFIG=""
13180         fi
13181 fi
13182   gsettingsschemadir=${datadir}/glib-2.0/schemas
13183
13184   if test x$cross_compiling != xyes; then
13185     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
13186   else
13187     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
13188 set dummy glib-compile-schemas; ac_word=$2
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13190 $as_echo_n "checking for $ac_word... " >&6; }
13191 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
13192   $as_echo_n "(cached) " >&6
13193 else
13194   case $GLIB_COMPILE_SCHEMAS in
13195   [\\/]* | ?:[\\/]*)
13196   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
13197   ;;
13198   *)
13199   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13200 for as_dir in $PATH
13201 do
13202   IFS=$as_save_IFS
13203   test -z "$as_dir" && as_dir=.
13204     for ac_exec_ext in '' $ac_executable_extensions; do
13205   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13206     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
13207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13208     break 2
13209   fi
13210 done
13211   done
13212 IFS=$as_save_IFS
13213
13214   ;;
13215 esac
13216 fi
13217 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
13218 if test -n "$GLIB_COMPILE_SCHEMAS"; then
13219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
13220 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
13221 else
13222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13223 $as_echo "no" >&6; }
13224 fi
13225
13226
13227   fi
13228
13229   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
13230     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
13231   else
13232     :
13233   fi
13234
13235   GSETTINGS_RULES='
13236 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
13237
13238 mostlyclean-am: clean-gsettings-schemas
13239
13240 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
13241
13242 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
13243         $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
13244
13245 all-am: $(gsettings_SCHEMAS:.xml=.valid)
13246 uninstall-am: uninstall-gsettings-schemas
13247 install-data-am: install-gsettings-schemas
13248
13249 .SECONDARY: $(gsettings_SCHEMAS)
13250
13251 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
13252         @$(NORMAL_INSTALL)
13253         if test -n "$^"; then \
13254                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
13255                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
13256                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
13257         fi
13258
13259 uninstall-gsettings-schemas:
13260         @$(NORMAL_UNINSTALL)
13261         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
13262         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
13263         test -n "$$files" || exit 0; \
13264         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
13265         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
13266         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
13267
13268 clean-gsettings-schemas:
13269         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
13270
13271 ifdef gsettings_ENUM_NAMESPACE
13272 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
13273         $(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 $@
13274 endif
13275 '
13276
13277
13278
13279
13280
13281
13282
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13284 $as_echo_n "checking for library containing strerror... " >&6; }
13285 if ${ac_cv_search_strerror+:} false; then :
13286   $as_echo_n "(cached) " >&6
13287 else
13288   ac_func_search_save_LIBS=$LIBS
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h.  */
13291
13292 /* Override any GCC internal prototype to avoid an error.
13293    Use char because int might match the return type of a GCC
13294    builtin and then its argument prototype would still apply.  */
13295 #ifdef __cplusplus
13296 extern "C"
13297 #endif
13298 char strerror ();
13299 int
13300 main ()
13301 {
13302 return strerror ();
13303   ;
13304   return 0;
13305 }
13306 _ACEOF
13307 for ac_lib in '' cposix; do
13308   if test -z "$ac_lib"; then
13309     ac_res="none required"
13310   else
13311     ac_res=-l$ac_lib
13312     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13313   fi
13314   if ac_fn_c_try_link "$LINENO"; then :
13315   ac_cv_search_strerror=$ac_res
13316 fi
13317 rm -f core conftest.err conftest.$ac_objext \
13318     conftest$ac_exeext
13319   if ${ac_cv_search_strerror+:} false; then :
13320   break
13321 fi
13322 done
13323 if ${ac_cv_search_strerror+:} false; then :
13324
13325 else
13326   ac_cv_search_strerror=no
13327 fi
13328 rm conftest.$ac_ext
13329 LIBS=$ac_func_search_save_LIBS
13330 fi
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13332 $as_echo "$ac_cv_search_strerror" >&6; }
13333 ac_res=$ac_cv_search_strerror
13334 if test "$ac_res" != no; then :
13335   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13336
13337 fi
13338
13339 ac_ext=c
13340 ac_cpp='$CPP $CPPFLAGS'
13341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13344 if test -n "$ac_tool_prefix"; then
13345   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13348 $as_echo_n "checking for $ac_word... " >&6; }
13349 if ${ac_cv_prog_CC+:} false; then :
13350   $as_echo_n "(cached) " >&6
13351 else
13352   if test -n "$CC"; then
13353   ac_cv_prog_CC="$CC" # Let the user override the test.
13354 else
13355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13356 for as_dir in $PATH
13357 do
13358   IFS=$as_save_IFS
13359   test -z "$as_dir" && as_dir=.
13360     for ac_exec_ext in '' $ac_executable_extensions; do
13361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13362     ac_cv_prog_CC="${ac_tool_prefix}gcc"
13363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13364     break 2
13365   fi
13366 done
13367   done
13368 IFS=$as_save_IFS
13369
13370 fi
13371 fi
13372 CC=$ac_cv_prog_CC
13373 if test -n "$CC"; then
13374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13375 $as_echo "$CC" >&6; }
13376 else
13377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13378 $as_echo "no" >&6; }
13379 fi
13380
13381
13382 fi
13383 if test -z "$ac_cv_prog_CC"; then
13384   ac_ct_CC=$CC
13385   # Extract the first word of "gcc", so it can be a program name with args.
13386 set dummy gcc; ac_word=$2
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13388 $as_echo_n "checking for $ac_word... " >&6; }
13389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13390   $as_echo_n "(cached) " >&6
13391 else
13392   if test -n "$ac_ct_CC"; then
13393   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13394 else
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13397 do
13398   IFS=$as_save_IFS
13399   test -z "$as_dir" && as_dir=.
13400     for ac_exec_ext in '' $ac_executable_extensions; do
13401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13402     ac_cv_prog_ac_ct_CC="gcc"
13403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13404     break 2
13405   fi
13406 done
13407   done
13408 IFS=$as_save_IFS
13409
13410 fi
13411 fi
13412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13413 if test -n "$ac_ct_CC"; then
13414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13415 $as_echo "$ac_ct_CC" >&6; }
13416 else
13417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13418 $as_echo "no" >&6; }
13419 fi
13420
13421   if test "x$ac_ct_CC" = x; then
13422     CC=""
13423   else
13424     case $cross_compiling:$ac_tool_warned in
13425 yes:)
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13428 ac_tool_warned=yes ;;
13429 esac
13430     CC=$ac_ct_CC
13431   fi
13432 else
13433   CC="$ac_cv_prog_CC"
13434 fi
13435
13436 if test -z "$CC"; then
13437           if test -n "$ac_tool_prefix"; then
13438     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13439 set dummy ${ac_tool_prefix}cc; ac_word=$2
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13441 $as_echo_n "checking for $ac_word... " >&6; }
13442 if ${ac_cv_prog_CC+:} false; then :
13443   $as_echo_n "(cached) " >&6
13444 else
13445   if test -n "$CC"; then
13446   ac_cv_prog_CC="$CC" # Let the user override the test.
13447 else
13448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13449 for as_dir in $PATH
13450 do
13451   IFS=$as_save_IFS
13452   test -z "$as_dir" && as_dir=.
13453     for ac_exec_ext in '' $ac_executable_extensions; do
13454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13455     ac_cv_prog_CC="${ac_tool_prefix}cc"
13456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13457     break 2
13458   fi
13459 done
13460   done
13461 IFS=$as_save_IFS
13462
13463 fi
13464 fi
13465 CC=$ac_cv_prog_CC
13466 if test -n "$CC"; then
13467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13468 $as_echo "$CC" >&6; }
13469 else
13470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13471 $as_echo "no" >&6; }
13472 fi
13473
13474
13475   fi
13476 fi
13477 if test -z "$CC"; then
13478   # Extract the first word of "cc", so it can be a program name with args.
13479 set dummy cc; ac_word=$2
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13481 $as_echo_n "checking for $ac_word... " >&6; }
13482 if ${ac_cv_prog_CC+:} false; then :
13483   $as_echo_n "(cached) " >&6
13484 else
13485   if test -n "$CC"; then
13486   ac_cv_prog_CC="$CC" # Let the user override the test.
13487 else
13488   ac_prog_rejected=no
13489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13490 for as_dir in $PATH
13491 do
13492   IFS=$as_save_IFS
13493   test -z "$as_dir" && as_dir=.
13494     for ac_exec_ext in '' $ac_executable_extensions; do
13495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13496     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13497        ac_prog_rejected=yes
13498        continue
13499      fi
13500     ac_cv_prog_CC="cc"
13501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13502     break 2
13503   fi
13504 done
13505   done
13506 IFS=$as_save_IFS
13507
13508 if test $ac_prog_rejected = yes; then
13509   # We found a bogon in the path, so make sure we never use it.
13510   set dummy $ac_cv_prog_CC
13511   shift
13512   if test $# != 0; then
13513     # We chose a different compiler from the bogus one.
13514     # However, it has the same basename, so the bogon will be chosen
13515     # first if we set CC to just the basename; use the full file name.
13516     shift
13517     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13518   fi
13519 fi
13520 fi
13521 fi
13522 CC=$ac_cv_prog_CC
13523 if test -n "$CC"; then
13524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13525 $as_echo "$CC" >&6; }
13526 else
13527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13528 $as_echo "no" >&6; }
13529 fi
13530
13531
13532 fi
13533 if test -z "$CC"; then
13534   if test -n "$ac_tool_prefix"; then
13535   for ac_prog in cl.exe
13536   do
13537     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13540 $as_echo_n "checking for $ac_word... " >&6; }
13541 if ${ac_cv_prog_CC+:} false; then :
13542   $as_echo_n "(cached) " >&6
13543 else
13544   if test -n "$CC"; then
13545   ac_cv_prog_CC="$CC" # Let the user override the test.
13546 else
13547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13548 for as_dir in $PATH
13549 do
13550   IFS=$as_save_IFS
13551   test -z "$as_dir" && as_dir=.
13552     for ac_exec_ext in '' $ac_executable_extensions; do
13553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13554     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13556     break 2
13557   fi
13558 done
13559   done
13560 IFS=$as_save_IFS
13561
13562 fi
13563 fi
13564 CC=$ac_cv_prog_CC
13565 if test -n "$CC"; then
13566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13567 $as_echo "$CC" >&6; }
13568 else
13569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13570 $as_echo "no" >&6; }
13571 fi
13572
13573
13574     test -n "$CC" && break
13575   done
13576 fi
13577 if test -z "$CC"; then
13578   ac_ct_CC=$CC
13579   for ac_prog in cl.exe
13580 do
13581   # Extract the first word of "$ac_prog", so it can be a program name with args.
13582 set dummy $ac_prog; ac_word=$2
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13584 $as_echo_n "checking for $ac_word... " >&6; }
13585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13586   $as_echo_n "(cached) " >&6
13587 else
13588   if test -n "$ac_ct_CC"; then
13589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13590 else
13591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13592 for as_dir in $PATH
13593 do
13594   IFS=$as_save_IFS
13595   test -z "$as_dir" && as_dir=.
13596     for ac_exec_ext in '' $ac_executable_extensions; do
13597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598     ac_cv_prog_ac_ct_CC="$ac_prog"
13599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13600     break 2
13601   fi
13602 done
13603   done
13604 IFS=$as_save_IFS
13605
13606 fi
13607 fi
13608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13609 if test -n "$ac_ct_CC"; then
13610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13611 $as_echo "$ac_ct_CC" >&6; }
13612 else
13613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614 $as_echo "no" >&6; }
13615 fi
13616
13617
13618   test -n "$ac_ct_CC" && break
13619 done
13620
13621   if test "x$ac_ct_CC" = x; then
13622     CC=""
13623   else
13624     case $cross_compiling:$ac_tool_warned in
13625 yes:)
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13628 ac_tool_warned=yes ;;
13629 esac
13630     CC=$ac_ct_CC
13631   fi
13632 fi
13633
13634 fi
13635
13636
13637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13639 as_fn_error $? "no acceptable C compiler found in \$PATH
13640 See \`config.log' for more details" "$LINENO" 5; }
13641
13642 # Provide some information about the compiler.
13643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13644 set X $ac_compile
13645 ac_compiler=$2
13646 for ac_option in --version -v -V -qversion; do
13647   { { ac_try="$ac_compiler $ac_option >&5"
13648 case "(($ac_try" in
13649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13650   *) ac_try_echo=$ac_try;;
13651 esac
13652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13653 $as_echo "$ac_try_echo"; } >&5
13654   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13655   ac_status=$?
13656   if test -s conftest.err; then
13657     sed '10a\
13658 ... rest of stderr output deleted ...
13659          10q' conftest.err >conftest.er1
13660     cat conftest.er1 >&5
13661   fi
13662   rm -f conftest.er1 conftest.err
13663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13664   test $ac_status = 0; }
13665 done
13666
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13668 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13669 if ${ac_cv_c_compiler_gnu+:} false; then :
13670   $as_echo_n "(cached) " >&6
13671 else
13672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h.  */
13674
13675 int
13676 main ()
13677 {
13678 #ifndef __GNUC__
13679        choke me
13680 #endif
13681
13682   ;
13683   return 0;
13684 }
13685 _ACEOF
13686 if ac_fn_c_try_compile "$LINENO"; then :
13687   ac_compiler_gnu=yes
13688 else
13689   ac_compiler_gnu=no
13690 fi
13691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13692 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13693
13694 fi
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13696 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13697 if test $ac_compiler_gnu = yes; then
13698   GCC=yes
13699 else
13700   GCC=
13701 fi
13702 ac_test_CFLAGS=${CFLAGS+set}
13703 ac_save_CFLAGS=$CFLAGS
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13705 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13706 if ${ac_cv_prog_cc_g+:} false; then :
13707   $as_echo_n "(cached) " >&6
13708 else
13709   ac_save_c_werror_flag=$ac_c_werror_flag
13710    ac_c_werror_flag=yes
13711    ac_cv_prog_cc_g=no
13712    CFLAGS="-g"
13713    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h.  */
13715
13716 int
13717 main ()
13718 {
13719
13720   ;
13721   return 0;
13722 }
13723 _ACEOF
13724 if ac_fn_c_try_compile "$LINENO"; then :
13725   ac_cv_prog_cc_g=yes
13726 else
13727   CFLAGS=""
13728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h.  */
13730
13731 int
13732 main ()
13733 {
13734
13735   ;
13736   return 0;
13737 }
13738 _ACEOF
13739 if ac_fn_c_try_compile "$LINENO"; then :
13740
13741 else
13742   ac_c_werror_flag=$ac_save_c_werror_flag
13743          CFLAGS="-g"
13744          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h.  */
13746
13747 int
13748 main ()
13749 {
13750
13751   ;
13752   return 0;
13753 }
13754 _ACEOF
13755 if ac_fn_c_try_compile "$LINENO"; then :
13756   ac_cv_prog_cc_g=yes
13757 fi
13758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13759 fi
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 fi
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13763    ac_c_werror_flag=$ac_save_c_werror_flag
13764 fi
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13766 $as_echo "$ac_cv_prog_cc_g" >&6; }
13767 if test "$ac_test_CFLAGS" = set; then
13768   CFLAGS=$ac_save_CFLAGS
13769 elif test $ac_cv_prog_cc_g = yes; then
13770   if test "$GCC" = yes; then
13771     CFLAGS="-g -O2"
13772   else
13773     CFLAGS="-g"
13774   fi
13775 else
13776   if test "$GCC" = yes; then
13777     CFLAGS="-O2"
13778   else
13779     CFLAGS=
13780   fi
13781 fi
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13783 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13784 if ${ac_cv_prog_cc_c89+:} false; then :
13785   $as_echo_n "(cached) " >&6
13786 else
13787   ac_cv_prog_cc_c89=no
13788 ac_save_CC=$CC
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h.  */
13791 #include <stdarg.h>
13792 #include <stdio.h>
13793 struct stat;
13794 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13795 struct buf { int x; };
13796 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13797 static char *e (p, i)
13798      char **p;
13799      int i;
13800 {
13801   return p[i];
13802 }
13803 static char *f (char * (*g) (char **, int), char **p, ...)
13804 {
13805   char *s;
13806   va_list v;
13807   va_start (v,p);
13808   s = g (p, va_arg (v,int));
13809   va_end (v);
13810   return s;
13811 }
13812
13813 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13814    function prototypes and stuff, but not '\xHH' hex character constants.
13815    These don't provoke an error unfortunately, instead are silently treated
13816    as 'x'.  The following induces an error, until -std is added to get
13817    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13818    array size at least.  It's necessary to write '\x00'==0 to get something
13819    that's true only with -std.  */
13820 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13821
13822 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13823    inside strings and character constants.  */
13824 #define FOO(x) 'x'
13825 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13826
13827 int test (int i, double x);
13828 struct s1 {int (*f) (int a);};
13829 struct s2 {int (*f) (double a);};
13830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13831 int argc;
13832 char **argv;
13833 int
13834 main ()
13835 {
13836 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13837   ;
13838   return 0;
13839 }
13840 _ACEOF
13841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13842         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13843 do
13844   CC="$ac_save_CC $ac_arg"
13845   if ac_fn_c_try_compile "$LINENO"; then :
13846   ac_cv_prog_cc_c89=$ac_arg
13847 fi
13848 rm -f core conftest.err conftest.$ac_objext
13849   test "x$ac_cv_prog_cc_c89" != "xno" && break
13850 done
13851 rm -f conftest.$ac_ext
13852 CC=$ac_save_CC
13853
13854 fi
13855 # AC_CACHE_VAL
13856 case "x$ac_cv_prog_cc_c89" in
13857   x)
13858     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13859 $as_echo "none needed" >&6; } ;;
13860   xno)
13861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13862 $as_echo "unsupported" >&6; } ;;
13863   *)
13864     CC="$CC $ac_cv_prog_cc_c89"
13865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13866 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13867 esac
13868 if test "x$ac_cv_prog_cc_c89" != xno; then :
13869
13870 fi
13871
13872 ac_ext=c
13873 ac_cpp='$CPP $CPPFLAGS'
13874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13877
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13884 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13885 if ${am_cv_prog_cc_c_o+:} false; then :
13886   $as_echo_n "(cached) " >&6
13887 else
13888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h.  */
13890
13891 int
13892 main ()
13893 {
13894
13895   ;
13896   return 0;
13897 }
13898 _ACEOF
13899   # Make sure it works both with $CC and with simple cc.
13900   # Following AC_PROG_CC_C_O, we do the test twice because some
13901   # compilers refuse to overwrite an existing .o file with -o,
13902   # though they will create one.
13903   am_cv_prog_cc_c_o=yes
13904   for am_i in 1 2; do
13905     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13906    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13907    ac_status=$?
13908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909    (exit $ac_status); } \
13910          && test -f conftest2.$ac_objext; then
13911       : OK
13912     else
13913       am_cv_prog_cc_c_o=no
13914       break
13915     fi
13916   done
13917   rm -f core conftest*
13918   unset am_i
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13921 $as_echo "$am_cv_prog_cc_c_o" >&6; }
13922 if test "$am_cv_prog_cc_c_o" != yes; then
13923    # Losing compiler, so override with the script.
13924    # FIXME: It is wrong to rewrite CC.
13925    # But if we don't then we get into trouble of one sort or another.
13926    # A longer-term fix would be to have automake use am__CC in this case,
13927    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13928    CC="$am_aux_dir/compile $CC"
13929 fi
13930 ac_ext=c
13931 ac_cpp='$CPP $CPPFLAGS'
13932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13935
13936
13937 depcc="$CC"   am_compiler_list=
13938
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13940 $as_echo_n "checking dependency style of $depcc... " >&6; }
13941 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13942   $as_echo_n "(cached) " >&6
13943 else
13944   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13945   # We make a subdir and do the tests there.  Otherwise we can end up
13946   # making bogus files that we don't know about and never remove.  For
13947   # instance it was reported that on HP-UX the gcc test will end up
13948   # making a dummy file named 'D' -- because '-MD' means "put the output
13949   # in D".
13950   rm -rf conftest.dir
13951   mkdir conftest.dir
13952   # Copy depcomp to subdir because otherwise we won't find it if we're
13953   # using a relative directory.
13954   cp "$am_depcomp" conftest.dir
13955   cd conftest.dir
13956   # We will build objects and dependencies in a subdirectory because
13957   # it helps to detect inapplicable dependency modes.  For instance
13958   # both Tru64's cc and ICC support -MD to output dependencies as a
13959   # side effect of compilation, but ICC will put the dependencies in
13960   # the current directory while Tru64 will put them in the object
13961   # directory.
13962   mkdir sub
13963
13964   am_cv_CC_dependencies_compiler_type=none
13965   if test "$am_compiler_list" = ""; then
13966      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13967   fi
13968   am__universal=false
13969   case " $depcc " in #(
13970      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13971      esac
13972
13973   for depmode in $am_compiler_list; do
13974     # Setup a source with many dependencies, because some compilers
13975     # like to wrap large dependency lists on column 80 (with \), and
13976     # we should not choose a depcomp mode which is confused by this.
13977     #
13978     # We need to recreate these files for each test, as the compiler may
13979     # overwrite some of them when testing with obscure command lines.
13980     # This happens at least with the AIX C compiler.
13981     : > sub/conftest.c
13982     for i in 1 2 3 4 5 6; do
13983       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13984       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13985       # Solaris 10 /bin/sh.
13986       echo '/* dummy */' > sub/conftst$i.h
13987     done
13988     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13989
13990     # We check with '-c' and '-o' for the sake of the "dashmstdout"
13991     # mode.  It turns out that the SunPro C++ compiler does not properly
13992     # handle '-M -o', and we need to detect this.  Also, some Intel
13993     # versions had trouble with output in subdirs.
13994     am__obj=sub/conftest.${OBJEXT-o}
13995     am__minus_obj="-o $am__obj"
13996     case $depmode in
13997     gcc)
13998       # This depmode causes a compiler race in universal mode.
13999       test "$am__universal" = false || continue
14000       ;;
14001     nosideeffect)
14002       # After this tag, mechanisms are not by side-effect, so they'll
14003       # only be used when explicitly requested.
14004       if test "x$enable_dependency_tracking" = xyes; then
14005         continue
14006       else
14007         break
14008       fi
14009       ;;
14010     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14011       # This compiler won't grok '-c -o', but also, the minuso test has
14012       # not run yet.  These depmodes are late enough in the game, and
14013       # so weak that their functioning should not be impacted.
14014       am__obj=conftest.${OBJEXT-o}
14015       am__minus_obj=
14016       ;;
14017     none) break ;;
14018     esac
14019     if depmode=$depmode \
14020        source=sub/conftest.c object=$am__obj \
14021        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14022        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14023          >/dev/null 2>conftest.err &&
14024        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14025        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14026        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14027        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14028       # icc doesn't choke on unknown options, it will just issue warnings
14029       # or remarks (even with -Werror).  So we grep stderr for any message
14030       # that says an option was ignored or not supported.
14031       # When given -MP, icc 7.0 and 7.1 complain thusly:
14032       #   icc: Command line warning: ignoring option '-M'; no argument required
14033       # The diagnosis changed in icc 8.0:
14034       #   icc: Command line remark: option '-MP' not supported
14035       if (grep 'ignoring option' conftest.err ||
14036           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14037         am_cv_CC_dependencies_compiler_type=$depmode
14038         break
14039       fi
14040     fi
14041   done
14042
14043   cd ..
14044   rm -rf conftest.dir
14045 else
14046   am_cv_CC_dependencies_compiler_type=none
14047 fi
14048
14049 fi
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14051 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14052 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14053
14054  if
14055   test "x$enable_dependency_tracking" != xno \
14056   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14057   am__fastdepCC_TRUE=
14058   am__fastdepCC_FALSE='#'
14059 else
14060   am__fastdepCC_TRUE='#'
14061   am__fastdepCC_FALSE=
14062 fi
14063
14064
14065
14066
14067
14068
14069     # Check whether --enable-compile-warnings was given.
14070 if test "${enable_compile_warnings+set}" = set; then :
14071   enableval=$enable_compile_warnings;
14072 else
14073   enable_compile_warnings="yes"
14074 fi
14075
14076
14077     if test "x$GCC" != xyes; then
14078         enable_compile_warnings=no
14079     fi
14080
14081     warning_flags=
14082     realsave_CFLAGS="$CFLAGS"
14083
14084             base_warn_flags=" \
14085         -Wall \
14086         -Wstrict-prototypes \
14087         -Wnested-externs \
14088     "
14089
14090                     base_error_flags=" \
14091         -Werror=missing-prototypes \
14092         -Werror=implicit-function-declaration \
14093         -Werror=pointer-arith \
14094         -Werror=init-self \
14095         -Werror=format-security \
14096         -Werror=format=2 \
14097         -Werror=missing-include-dirs \
14098     "
14099
14100                 additional_flags=""
14101
14102     case "$enable_compile_warnings" in
14103     no)
14104         warning_flags="-w"
14105         ;;
14106     minimum)
14107         warning_flags="-Wall"
14108         ;;
14109     yes|maximum|error)
14110         warning_flags="$base_warn_flags $base_error_flags $additional_flags"
14111         ;;
14112     *)
14113         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
14114         ;;
14115     esac
14116
14117     if test "$enable_compile_warnings" = "error" ; then
14118         warning_flags="$warning_flags -Werror"
14119     fi
14120
14121         for option in $warning_flags; do
14122         save_CFLAGS="$CFLAGS"
14123         CFLAGS="$CFLAGS $option"
14124         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
14125 $as_echo_n "checking whether gcc understands $option... " >&6; }
14126         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h.  */
14128
14129 int
14130 main ()
14131 {
14132
14133   ;
14134   return 0;
14135 }
14136 _ACEOF
14137 if ac_fn_c_try_compile "$LINENO"; then :
14138   has_option=yes
14139 else
14140   has_option=no
14141 fi
14142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14143         CFLAGS="$save_CFLAGS"
14144         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
14145 $as_echo "$has_option" >&6; }
14146         if test $has_option = yes; then
14147             tested_warning_flags="$tested_warning_flags $option"
14148         fi
14149         unset has_option
14150         unset save_CFLAGS
14151     done
14152     unset option
14153     CFLAGS="$realsave_CFLAGS"
14154     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
14155 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
14156     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tested_warning_flags" >&5
14157 $as_echo "$tested_warning_flags" >&6; }
14158
14159     # Check whether --enable-iso-c was given.
14160 if test "${enable_iso_c+set}" = set; then :
14161   enableval=$enable_iso_c;
14162 else
14163   enable_iso_c=no
14164 fi
14165
14166
14167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
14168 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
14169     complCFLAGS=
14170     if test "x$enable_iso_c" != "xno"; then
14171         if test "x$GCC" = "xyes"; then
14172         case " $CFLAGS " in
14173             *\ \        -ansi\ \        *) ;;
14174             *) complCFLAGS="$complCFLAGS -ansi" ;;
14175         esac
14176         case " $CFLAGS " in
14177             *\ \        -pedantic\ \    *) ;;
14178             *) complCFLAGS="$complCFLAGS -pedantic" ;;
14179         esac
14180         fi
14181     fi
14182     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
14183 $as_echo "$complCFLAGS" >&6; }
14184
14185     WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
14186
14187
14188
14189 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
14190 set dummy glib-genmarshal; ac_word=$2
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14192 $as_echo_n "checking for $ac_word... " >&6; }
14193 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
14194   $as_echo_n "(cached) " >&6
14195 else
14196   case $GLIB_GENMARSHAL in
14197   [\\/]* | ?:[\\/]*)
14198   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
14199   ;;
14200   *)
14201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14202 for as_dir in $PATH
14203 do
14204   IFS=$as_save_IFS
14205   test -z "$as_dir" && as_dir=.
14206     for ac_exec_ext in '' $ac_executable_extensions; do
14207   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14208     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
14209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14210     break 2
14211   fi
14212 done
14213   done
14214 IFS=$as_save_IFS
14215
14216   ;;
14217 esac
14218 fi
14219 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
14220 if test -n "$GLIB_GENMARSHAL"; then
14221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
14222 $as_echo "$GLIB_GENMARSHAL" >&6; }
14223 else
14224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14225 $as_echo "no" >&6; }
14226 fi
14227
14228
14229 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
14230 set dummy gdk-pixbuf-csource; ac_word=$2
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14232 $as_echo_n "checking for $ac_word... " >&6; }
14233 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
14234   $as_echo_n "(cached) " >&6
14235 else
14236   case $GDK_PIXBUF_CSOURCE in
14237   [\\/]* | ?:[\\/]*)
14238   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
14239   ;;
14240   *)
14241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14242 for as_dir in $PATH
14243 do
14244   IFS=$as_save_IFS
14245   test -z "$as_dir" && as_dir=.
14246     for ac_exec_ext in '' $ac_executable_extensions; do
14247   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14248     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
14249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14250     break 2
14251   fi
14252 done
14253   done
14254 IFS=$as_save_IFS
14255
14256   ;;
14257 esac
14258 fi
14259 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
14260 if test -n "$GDK_PIXBUF_CSOURCE"; then
14261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
14262 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
14263 else
14264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14265 $as_echo "no" >&6; }
14266 fi
14267
14268
14269 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
14270 set dummy gtk-update-icon-cache; ac_word=$2
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14272 $as_echo_n "checking for $ac_word... " >&6; }
14273 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
14274   $as_echo_n "(cached) " >&6
14275 else
14276   case $GTK_UPDATE_ICON_CACHE in
14277   [\\/]* | ?:[\\/]*)
14278   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
14279   ;;
14280   *)
14281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14282 for as_dir in $PATH
14283 do
14284   IFS=$as_save_IFS
14285   test -z "$as_dir" && as_dir=.
14286     for ac_exec_ext in '' $ac_executable_extensions; do
14287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14288     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
14289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14290     break 2
14291   fi
14292 done
14293   done
14294 IFS=$as_save_IFS
14295
14296   ;;
14297 esac
14298 fi
14299 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
14300 if test -n "$GTK_UPDATE_ICON_CACHE"; then
14301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
14302 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
14303 else
14304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14306 fi
14307
14308
14309
14310
14311 GLABELS_BRANCH=glabels-3.0
14312
14313
14314 LIBGLABELS_BRANCH=libglabels-3.0
14315
14316
14317 LIBGLBARCODE_BRANCH=libglbarcode-3.0
14318
14319
14320 LIBGLABELS_C=8
14321 LIBGLABELS_R=0
14322 LIBGLABELS_A=0
14323
14324 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
14325
14326
14327 LIBGLBARCODE_C=0
14328 LIBGLBARCODE_R=0
14329 LIBGLBARCODE_A=0
14330
14331 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
14332
14333
14334 GLIB_REQUIRED=2.42.0
14335 GTK_REQUIRED=3.14.0
14336 LIBXML_REQUIRED=2.9.0
14337 LIBRSVG_REQUIRED=2.39.0
14338 CAIRO_REQUIRED=1.14.0
14339 PANGO_REQUIRED=1.36.0
14340
14341 LIBEBOOK_REQUIRED=3.12.0
14342 LIBBARCODE_REQUIRED=0.98
14343 LIBQRENCODE_REQUIRED=3.1.0
14344 LIBIEC16022_REQUIRED=0.2.4
14345 LIBZINT_REQUIRED=2.4.0
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361 pkg_failed=no
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
14363 $as_echo_n "checking for GLABELS... " >&6; }
14364
14365 if test -n "$GLABELS_CFLAGS"; then
14366     pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
14367  elif test -n "$PKG_CONFIG"; then
14368     if test -n "$PKG_CONFIG" && \
14369     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14370         glib-2.0 >= \$GLIB_REQUIRED \\
14371         gtk+-3.0 >= \$GTK_REQUIRED \\
14372         libxml-2.0 >= \$LIBXML_REQUIRED \\
14373         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14374 \""; } >&5
14375   ($PKG_CONFIG --exists --print-errors "\
14376         glib-2.0 >= $GLIB_REQUIRED \
14377         gtk+-3.0 >= $GTK_REQUIRED \
14378         libxml-2.0 >= $LIBXML_REQUIRED \
14379         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14380 ") 2>&5
14381   ac_status=$?
14382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14383   test $ac_status = 0; }; then
14384   pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14385         glib-2.0 >= $GLIB_REQUIRED \
14386         gtk+-3.0 >= $GTK_REQUIRED \
14387         libxml-2.0 >= $LIBXML_REQUIRED \
14388         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14389 " 2>/dev/null`
14390                       test "x$?" != "x0" && pkg_failed=yes
14391 else
14392   pkg_failed=yes
14393 fi
14394  else
14395     pkg_failed=untried
14396 fi
14397 if test -n "$GLABELS_LIBS"; then
14398     pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
14399  elif test -n "$PKG_CONFIG"; then
14400     if test -n "$PKG_CONFIG" && \
14401     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14402         glib-2.0 >= \$GLIB_REQUIRED \\
14403         gtk+-3.0 >= \$GTK_REQUIRED \\
14404         libxml-2.0 >= \$LIBXML_REQUIRED \\
14405         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
14406 \""; } >&5
14407   ($PKG_CONFIG --exists --print-errors "\
14408         glib-2.0 >= $GLIB_REQUIRED \
14409         gtk+-3.0 >= $GTK_REQUIRED \
14410         libxml-2.0 >= $LIBXML_REQUIRED \
14411         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14412 ") 2>&5
14413   ac_status=$?
14414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14415   test $ac_status = 0; }; then
14416   pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
14417         glib-2.0 >= $GLIB_REQUIRED \
14418         gtk+-3.0 >= $GTK_REQUIRED \
14419         libxml-2.0 >= $LIBXML_REQUIRED \
14420         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14421 " 2>/dev/null`
14422                       test "x$?" != "x0" && pkg_failed=yes
14423 else
14424   pkg_failed=yes
14425 fi
14426  else
14427     pkg_failed=untried
14428 fi
14429
14430
14431
14432 if test $pkg_failed = yes; then
14433         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14434 $as_echo "no" >&6; }
14435
14436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14437         _pkg_short_errors_supported=yes
14438 else
14439         _pkg_short_errors_supported=no
14440 fi
14441         if test $_pkg_short_errors_supported = yes; then
14442                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14443         glib-2.0 >= $GLIB_REQUIRED \
14444         gtk+-3.0 >= $GTK_REQUIRED \
14445         libxml-2.0 >= $LIBXML_REQUIRED \
14446         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14447 " 2>&1`
14448         else
14449                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14450         glib-2.0 >= $GLIB_REQUIRED \
14451         gtk+-3.0 >= $GTK_REQUIRED \
14452         libxml-2.0 >= $LIBXML_REQUIRED \
14453         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14454 " 2>&1`
14455         fi
14456         # Put the nasty error message in config.log where it belongs
14457         echo "$GLABELS_PKG_ERRORS" >&5
14458
14459         as_fn_error $? "Package requirements (\
14460         glib-2.0 >= $GLIB_REQUIRED \
14461         gtk+-3.0 >= $GTK_REQUIRED \
14462         libxml-2.0 >= $LIBXML_REQUIRED \
14463         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14464 ) were not met:
14465
14466 $GLABELS_PKG_ERRORS
14467
14468 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14469 installed software in a non-standard prefix.
14470
14471 Alternatively, you may set the environment variables GLABELS_CFLAGS
14472 and GLABELS_LIBS to avoid the need to call pkg-config.
14473 See the pkg-config man page for more details." "$LINENO" 5
14474 elif test $pkg_failed = untried; then
14475         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14476 $as_echo "no" >&6; }
14477         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14479 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14480 is in your PATH or set the PKG_CONFIG environment variable to the full
14481 path to pkg-config.
14482
14483 Alternatively, you may set the environment variables GLABELS_CFLAGS
14484 and GLABELS_LIBS to avoid the need to call pkg-config.
14485 See the pkg-config man page for more details.
14486
14487 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14488 See \`config.log' for more details" "$LINENO" 5; }
14489 else
14490         GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14491         GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14494
14495 fi
14496
14497
14498
14499
14500
14501
14502 pkg_failed=no
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14504 $as_echo_n "checking for LIBGLABELS... " >&6; }
14505
14506 if test -n "$LIBGLABELS_CFLAGS"; then
14507     pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14508  elif test -n "$PKG_CONFIG"; then
14509     if test -n "$PKG_CONFIG" && \
14510     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14511         glib-2.0 >= \$GLIB_REQUIRED \\
14512         gobject-2.0 >= \$GLIB_REQUIRED \\
14513         libxml-2.0 >= \$LIBXML_REQUIRED \\
14514 \""; } >&5
14515   ($PKG_CONFIG --exists --print-errors "\
14516         glib-2.0 >= $GLIB_REQUIRED \
14517         gobject-2.0 >= $GLIB_REQUIRED \
14518         libxml-2.0 >= $LIBXML_REQUIRED \
14519 ") 2>&5
14520   ac_status=$?
14521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14522   test $ac_status = 0; }; then
14523   pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14524         glib-2.0 >= $GLIB_REQUIRED \
14525         gobject-2.0 >= $GLIB_REQUIRED \
14526         libxml-2.0 >= $LIBXML_REQUIRED \
14527 " 2>/dev/null`
14528                       test "x$?" != "x0" && pkg_failed=yes
14529 else
14530   pkg_failed=yes
14531 fi
14532  else
14533     pkg_failed=untried
14534 fi
14535 if test -n "$LIBGLABELS_LIBS"; then
14536     pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14537  elif test -n "$PKG_CONFIG"; then
14538     if test -n "$PKG_CONFIG" && \
14539     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14540         glib-2.0 >= \$GLIB_REQUIRED \\
14541         gobject-2.0 >= \$GLIB_REQUIRED \\
14542         libxml-2.0 >= \$LIBXML_REQUIRED \\
14543 \""; } >&5
14544   ($PKG_CONFIG --exists --print-errors "\
14545         glib-2.0 >= $GLIB_REQUIRED \
14546         gobject-2.0 >= $GLIB_REQUIRED \
14547         libxml-2.0 >= $LIBXML_REQUIRED \
14548 ") 2>&5
14549   ac_status=$?
14550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14551   test $ac_status = 0; }; then
14552   pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14553         glib-2.0 >= $GLIB_REQUIRED \
14554         gobject-2.0 >= $GLIB_REQUIRED \
14555         libxml-2.0 >= $LIBXML_REQUIRED \
14556 " 2>/dev/null`
14557                       test "x$?" != "x0" && pkg_failed=yes
14558 else
14559   pkg_failed=yes
14560 fi
14561  else
14562     pkg_failed=untried
14563 fi
14564
14565
14566
14567 if test $pkg_failed = yes; then
14568         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14569 $as_echo "no" >&6; }
14570
14571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14572         _pkg_short_errors_supported=yes
14573 else
14574         _pkg_short_errors_supported=no
14575 fi
14576         if test $_pkg_short_errors_supported = yes; then
14577                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14578         glib-2.0 >= $GLIB_REQUIRED \
14579         gobject-2.0 >= $GLIB_REQUIRED \
14580         libxml-2.0 >= $LIBXML_REQUIRED \
14581 " 2>&1`
14582         else
14583                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14584         glib-2.0 >= $GLIB_REQUIRED \
14585         gobject-2.0 >= $GLIB_REQUIRED \
14586         libxml-2.0 >= $LIBXML_REQUIRED \
14587 " 2>&1`
14588         fi
14589         # Put the nasty error message in config.log where it belongs
14590         echo "$LIBGLABELS_PKG_ERRORS" >&5
14591
14592         as_fn_error $? "Package requirements (\
14593         glib-2.0 >= $GLIB_REQUIRED \
14594         gobject-2.0 >= $GLIB_REQUIRED \
14595         libxml-2.0 >= $LIBXML_REQUIRED \
14596 ) were not met:
14597
14598 $LIBGLABELS_PKG_ERRORS
14599
14600 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14601 installed software in a non-standard prefix.
14602
14603 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14604 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14605 See the pkg-config man page for more details." "$LINENO" 5
14606 elif test $pkg_failed = untried; then
14607         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14608 $as_echo "no" >&6; }
14609         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14611 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14612 is in your PATH or set the PKG_CONFIG environment variable to the full
14613 path to pkg-config.
14614
14615 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14616 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14617 See the pkg-config man page for more details.
14618
14619 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14620 See \`config.log' for more details" "$LINENO" 5; }
14621 else
14622         LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14623         LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14624         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14625 $as_echo "yes" >&6; }
14626
14627 fi
14628
14629
14630
14631
14632
14633
14634 pkg_failed=no
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14636 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14637
14638 if test -n "$LIBGLBARCODE_CFLAGS"; then
14639     pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14640  elif test -n "$PKG_CONFIG"; then
14641     if test -n "$PKG_CONFIG" && \
14642     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14643         glib-2.0 >= \$GLIB_REQUIRED \\
14644         cairo >= \$CAIRO_REQUIRED \\
14645         pango >= \$PANGO_REQUIRED \\
14646         pangocairo >= \$PANGO_REQUIRED \\
14647 \""; } >&5
14648   ($PKG_CONFIG --exists --print-errors "\
14649         glib-2.0 >= $GLIB_REQUIRED \
14650         cairo >= $CAIRO_REQUIRED \
14651         pango >= $PANGO_REQUIRED \
14652         pangocairo >= $PANGO_REQUIRED \
14653 ") 2>&5
14654   ac_status=$?
14655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14656   test $ac_status = 0; }; then
14657   pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14658         glib-2.0 >= $GLIB_REQUIRED \
14659         cairo >= $CAIRO_REQUIRED \
14660         pango >= $PANGO_REQUIRED \
14661         pangocairo >= $PANGO_REQUIRED \
14662 " 2>/dev/null`
14663                       test "x$?" != "x0" && pkg_failed=yes
14664 else
14665   pkg_failed=yes
14666 fi
14667  else
14668     pkg_failed=untried
14669 fi
14670 if test -n "$LIBGLBARCODE_LIBS"; then
14671     pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14672  elif test -n "$PKG_CONFIG"; then
14673     if test -n "$PKG_CONFIG" && \
14674     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14675         glib-2.0 >= \$GLIB_REQUIRED \\
14676         cairo >= \$CAIRO_REQUIRED \\
14677         pango >= \$PANGO_REQUIRED \\
14678         pangocairo >= \$PANGO_REQUIRED \\
14679 \""; } >&5
14680   ($PKG_CONFIG --exists --print-errors "\
14681         glib-2.0 >= $GLIB_REQUIRED \
14682         cairo >= $CAIRO_REQUIRED \
14683         pango >= $PANGO_REQUIRED \
14684         pangocairo >= $PANGO_REQUIRED \
14685 ") 2>&5
14686   ac_status=$?
14687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14688   test $ac_status = 0; }; then
14689   pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14690         glib-2.0 >= $GLIB_REQUIRED \
14691         cairo >= $CAIRO_REQUIRED \
14692         pango >= $PANGO_REQUIRED \
14693         pangocairo >= $PANGO_REQUIRED \
14694 " 2>/dev/null`
14695                       test "x$?" != "x0" && pkg_failed=yes
14696 else
14697   pkg_failed=yes
14698 fi
14699  else
14700     pkg_failed=untried
14701 fi
14702
14703
14704
14705 if test $pkg_failed = yes; then
14706         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14708
14709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14710         _pkg_short_errors_supported=yes
14711 else
14712         _pkg_short_errors_supported=no
14713 fi
14714         if test $_pkg_short_errors_supported = yes; then
14715                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14716         glib-2.0 >= $GLIB_REQUIRED \
14717         cairo >= $CAIRO_REQUIRED \
14718         pango >= $PANGO_REQUIRED \
14719         pangocairo >= $PANGO_REQUIRED \
14720 " 2>&1`
14721         else
14722                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14723         glib-2.0 >= $GLIB_REQUIRED \
14724         cairo >= $CAIRO_REQUIRED \
14725         pango >= $PANGO_REQUIRED \
14726         pangocairo >= $PANGO_REQUIRED \
14727 " 2>&1`
14728         fi
14729         # Put the nasty error message in config.log where it belongs
14730         echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14731
14732         as_fn_error $? "Package requirements (\
14733         glib-2.0 >= $GLIB_REQUIRED \
14734         cairo >= $CAIRO_REQUIRED \
14735         pango >= $PANGO_REQUIRED \
14736         pangocairo >= $PANGO_REQUIRED \
14737 ) were not met:
14738
14739 $LIBGLBARCODE_PKG_ERRORS
14740
14741 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14742 installed software in a non-standard prefix.
14743
14744 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14745 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14746 See the pkg-config man page for more details." "$LINENO" 5
14747 elif test $pkg_failed = untried; then
14748         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14749 $as_echo "no" >&6; }
14750         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14752 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14753 is in your PATH or set the PKG_CONFIG environment variable to the full
14754 path to pkg-config.
14755
14756 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14757 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14758 See the pkg-config man page for more details.
14759
14760 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14761 See \`config.log' for more details" "$LINENO" 5; }
14762 else
14763         LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14764         LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14765         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14766 $as_echo "yes" >&6; }
14767
14768 fi
14769
14770
14771
14772
14773
14774
14775 # Check whether --with-libebook was given.
14776 if test "${with_libebook+set}" = set; then :
14777   withval=$with_libebook;
14778 fi
14779
14780 have_libebook=no
14781 if test "x$with_libebook" != xno; then
14782
14783 pkg_failed=no
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14785 $as_echo_n "checking for LIBEBOOK... " >&6; }
14786
14787 if test -n "$LIBEBOOK_CFLAGS"; then
14788     pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14789  elif test -n "$PKG_CONFIG"; then
14790     if test -n "$PKG_CONFIG" && \
14791     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14792   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14793   ac_status=$?
14794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14795   test $ac_status = 0; }; then
14796   pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14797                       test "x$?" != "x0" && pkg_failed=yes
14798 else
14799   pkg_failed=yes
14800 fi
14801  else
14802     pkg_failed=untried
14803 fi
14804 if test -n "$LIBEBOOK_LIBS"; then
14805     pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14806  elif test -n "$PKG_CONFIG"; then
14807     if test -n "$PKG_CONFIG" && \
14808     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14809   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14810   ac_status=$?
14811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14812   test $ac_status = 0; }; then
14813   pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14814                       test "x$?" != "x0" && pkg_failed=yes
14815 else
14816   pkg_failed=yes
14817 fi
14818  else
14819     pkg_failed=untried
14820 fi
14821
14822
14823
14824 if test $pkg_failed = yes; then
14825         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14826 $as_echo "no" >&6; }
14827
14828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14829         _pkg_short_errors_supported=yes
14830 else
14831         _pkg_short_errors_supported=no
14832 fi
14833         if test $_pkg_short_errors_supported = yes; then
14834                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14835         else
14836                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14837         fi
14838         # Put the nasty error message in config.log where it belongs
14839         echo "$LIBEBOOK_PKG_ERRORS" >&5
14840
14841         have_libebook=no
14842 elif test $pkg_failed = untried; then
14843         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14845         have_libebook=no
14846 else
14847         LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14848         LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14849         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14850 $as_echo "yes" >&6; }
14851         have_libebook=yes
14852 fi
14853 fi
14854
14855 if test "x$have_libebook" = "xyes"; then
14856
14857 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14858
14859
14860
14861 fi
14862
14863
14864
14865 # Check whether --with-libbarcode was given.
14866 if test "${with_libbarcode+set}" = set; then :
14867   withval=$with_libbarcode;
14868 fi
14869
14870 have_libbarcode=no
14871 if test "x$with_libbarcode" != xno; then
14872    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14873 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14874 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14875   $as_echo_n "(cached) " >&6
14876 else
14877   ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-lbarcode  $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h.  */
14881
14882 /* Override any GCC internal prototype to avoid an error.
14883    Use char because int might match the return type of a GCC
14884    builtin and then its argument prototype would still apply.  */
14885 #ifdef __cplusplus
14886 extern "C"
14887 #endif
14888 char Barcode_Create ();
14889 int
14890 main ()
14891 {
14892 return Barcode_Create ();
14893   ;
14894   return 0;
14895 }
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"; then :
14898   ac_cv_lib_barcode_Barcode_Create=yes
14899 else
14900   ac_cv_lib_barcode_Barcode_Create=no
14901 fi
14902 rm -f core conftest.err conftest.$ac_objext \
14903     conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14905 fi
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14907 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14908 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14909   have_libbarcode=yes
14910 else
14911   have_libbarcode=no
14912 fi
14913
14914 fi
14915
14916 if test "x$have_libbarcode" = "xyes"; then
14917
14918 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14919
14920         LIBBARCODE_CFLAGS=""
14921         LIBBARCODE_LIBS="-lbarcode"
14922
14923
14924 else
14925         help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14926 fi
14927
14928
14929 # Check whether --with-libzint was given.
14930 if test "${with_libzint+set}" = set; then :
14931   withval=$with_libzint;
14932 fi
14933
14934 have_libzint=no
14935 if test "x$with_libzint" != xno; then
14936    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14937 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14938 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14939   $as_echo_n "(cached) " >&6
14940 else
14941   ac_check_lib_save_LIBS=$LIBS
14942 LIBS="-lzint  $LIBS"
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h.  */
14945
14946 /* Override any GCC internal prototype to avoid an error.
14947    Use char because int might match the return type of a GCC
14948    builtin and then its argument prototype would still apply.  */
14949 #ifdef __cplusplus
14950 extern "C"
14951 #endif
14952 char ZBarcode_Render ();
14953 int
14954 main ()
14955 {
14956 return ZBarcode_Render ();
14957   ;
14958   return 0;
14959 }
14960 _ACEOF
14961 if ac_fn_c_try_link "$LINENO"; then :
14962   ac_cv_lib_zint_ZBarcode_Render=yes
14963 else
14964   ac_cv_lib_zint_ZBarcode_Render=no
14965 fi
14966 rm -f core conftest.err conftest.$ac_objext \
14967     conftest$ac_exeext conftest.$ac_ext
14968 LIBS=$ac_check_lib_save_LIBS
14969 fi
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14971 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14972 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14973   have_libzint=yes
14974 else
14975   have_libzint=no
14976 fi
14977
14978 fi
14979
14980 if test "x$have_libzint" = "xyes"; then
14981
14982 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14983
14984         LIBZINT_CFLAGS=""
14985         LIBZINT_LIBS="-lzint"
14986
14987
14988 else
14989         help_libzint="(See http://www.zint.org.uk)"
14990 fi
14991
14992
14993
14994 # Check whether --with-libqrencode was given.
14995 if test "${with_libqrencode+set}" = set; then :
14996   withval=$with_libqrencode;
14997 fi
14998
14999 have_libqrencode=no
15000 if test "x$with_libqrencode" != xno; then
15001
15002 pkg_failed=no
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
15004 $as_echo_n "checking for LIBQRENCODE... " >&6; }
15005
15006 if test -n "$LIBQRENCODE_CFLAGS"; then
15007     pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
15008  elif test -n "$PKG_CONFIG"; then
15009     if test -n "$PKG_CONFIG" && \
15010     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15011   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15012   ac_status=$?
15013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014   test $ac_status = 0; }; then
15015   pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15016                       test "x$?" != "x0" && pkg_failed=yes
15017 else
15018   pkg_failed=yes
15019 fi
15020  else
15021     pkg_failed=untried
15022 fi
15023 if test -n "$LIBQRENCODE_LIBS"; then
15024     pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
15025  elif test -n "$PKG_CONFIG"; then
15026     if test -n "$PKG_CONFIG" && \
15027     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
15028   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
15029   ac_status=$?
15030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031   test $ac_status = 0; }; then
15032   pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
15033                       test "x$?" != "x0" && pkg_failed=yes
15034 else
15035   pkg_failed=yes
15036 fi
15037  else
15038     pkg_failed=untried
15039 fi
15040
15041
15042
15043 if test $pkg_failed = yes; then
15044         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15045 $as_echo "no" >&6; }
15046
15047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15048         _pkg_short_errors_supported=yes
15049 else
15050         _pkg_short_errors_supported=no
15051 fi
15052         if test $_pkg_short_errors_supported = yes; then
15053                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15054         else
15055                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
15056         fi
15057         # Put the nasty error message in config.log where it belongs
15058         echo "$LIBQRENCODE_PKG_ERRORS" >&5
15059
15060         have_libqrencode=no
15061 elif test $pkg_failed = untried; then
15062         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15063 $as_echo "no" >&6; }
15064         have_libqrencode=no
15065 else
15066         LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
15067         LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
15068         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15069 $as_echo "yes" >&6; }
15070         have_libqrencode=yes
15071 fi
15072 fi
15073
15074 if test "x$have_libqrencode" = "xyes"; then
15075
15076 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
15077
15078
15079
15080 else
15081         help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
15082 fi
15083
15084
15085
15086 # Check whether --with-libiec16022 was given.
15087 if test "${with_libiec16022+set}" = set; then :
15088   withval=$with_libiec16022;
15089 fi
15090
15091 have_libiec16022=no
15092 if test "x$with_libiec16022" != xno; then
15093
15094 pkg_failed=no
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
15096 $as_echo_n "checking for LIBIEC16022... " >&6; }
15097
15098 if test -n "$LIBIEC16022_CFLAGS"; then
15099     pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
15100  elif test -n "$PKG_CONFIG"; then
15101     if test -n "$PKG_CONFIG" && \
15102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15103   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15104   ac_status=$?
15105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15106   test $ac_status = 0; }; then
15107   pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15108                       test "x$?" != "x0" && pkg_failed=yes
15109 else
15110   pkg_failed=yes
15111 fi
15112  else
15113     pkg_failed=untried
15114 fi
15115 if test -n "$LIBIEC16022_LIBS"; then
15116     pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
15117  elif test -n "$PKG_CONFIG"; then
15118     if test -n "$PKG_CONFIG" && \
15119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
15120   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
15121   ac_status=$?
15122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15123   test $ac_status = 0; }; then
15124   pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
15125                       test "x$?" != "x0" && pkg_failed=yes
15126 else
15127   pkg_failed=yes
15128 fi
15129  else
15130     pkg_failed=untried
15131 fi
15132
15133
15134
15135 if test $pkg_failed = yes; then
15136         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15137 $as_echo "no" >&6; }
15138
15139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15140         _pkg_short_errors_supported=yes
15141 else
15142         _pkg_short_errors_supported=no
15143 fi
15144         if test $_pkg_short_errors_supported = yes; then
15145                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15146         else
15147                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
15148         fi
15149         # Put the nasty error message in config.log where it belongs
15150         echo "$LIBIEC16022_PKG_ERRORS" >&5
15151
15152         have_libiec16022=no
15153 elif test $pkg_failed = untried; then
15154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15155 $as_echo "no" >&6; }
15156         have_libiec16022=no
15157 else
15158         LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
15159         LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
15160         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15161 $as_echo "yes" >&6; }
15162         have_libiec16022=yes
15163 fi
15164 fi
15165
15166 if test "x$have_libiec16022" = "xyes"; then
15167
15168 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
15169
15170
15171
15172 else
15173         help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
15174 fi
15175
15176
15177 # Check whether --enable-deprecations was given.
15178 if test "${enable_deprecations+set}" = set; then :
15179   enableval=$enable_deprecations;
15180 else
15181   enable_deprecations=no
15182 fi
15183
15184
15185 if test "x$enable_deprecations" = "xyes"; then
15186    DISABLE_DEPRECATED_CFLAGS="\
15187 -DG_DISABLE_DEPRECATED \
15188 -DGDK_DISABLE_DEPRECATED \
15189 -DGTK_DISABLE_DEPRECATED \
15190 -DGDK_PIXBUF_DISABLE_DEPRECATED \
15191 "
15192
15193 fi
15194
15195
15196 GETTEXT_PACKAGE=${GLABELS_BRANCH}
15197
15198
15199 cat >>confdefs.h <<_ACEOF
15200 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15201 _ACEOF
15202
15203
15204
15205    for ac_header in locale.h
15206 do :
15207   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15208 if test "x$ac_cv_header_locale_h" = xyes; then :
15209   cat >>confdefs.h <<_ACEOF
15210 #define HAVE_LOCALE_H 1
15211 _ACEOF
15212
15213 fi
15214
15215 done
15216
15217     if test $ac_cv_header_locale_h = yes; then
15218     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15219 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15220 if ${am_cv_val_LC_MESSAGES+:} false; then :
15221   $as_echo_n "(cached) " >&6
15222 else
15223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h.  */
15225 #include <locale.h>
15226 int
15227 main ()
15228 {
15229 return LC_MESSAGES
15230   ;
15231   return 0;
15232 }
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"; then :
15235   am_cv_val_LC_MESSAGES=yes
15236 else
15237   am_cv_val_LC_MESSAGES=no
15238 fi
15239 rm -f core conftest.err conftest.$ac_objext \
15240     conftest$ac_exeext conftest.$ac_ext
15241 fi
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15243 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15244     if test $am_cv_val_LC_MESSAGES = yes; then
15245
15246 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15247
15248     fi
15249   fi
15250      USE_NLS=yes
15251
15252
15253     gt_cv_have_gettext=no
15254
15255     CATOBJEXT=NONE
15256     XGETTEXT=:
15257     INTLLIBS=
15258
15259     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15260 if test "x$ac_cv_header_libintl_h" = xyes; then :
15261   gt_cv_func_dgettext_libintl="no"
15262       libintl_extra_libs=""
15263
15264       #
15265       # First check in libc
15266       #
15267       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15268 $as_echo_n "checking for ngettext in libc... " >&6; }
15269 if ${gt_cv_func_ngettext_libc+:} false; then :
15270   $as_echo_n "(cached) " >&6
15271 else
15272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h.  */
15274
15275 #include <libintl.h>
15276
15277 int
15278 main ()
15279 {
15280 return !ngettext ("","", 1)
15281   ;
15282   return 0;
15283 }
15284 _ACEOF
15285 if ac_fn_c_try_link "$LINENO"; then :
15286   gt_cv_func_ngettext_libc=yes
15287 else
15288   gt_cv_func_ngettext_libc=no
15289 fi
15290 rm -f core conftest.err conftest.$ac_objext \
15291     conftest$ac_exeext conftest.$ac_ext
15292
15293 fi
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15295 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15296
15297       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15298               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15299 $as_echo_n "checking for dgettext in libc... " >&6; }
15300 if ${gt_cv_func_dgettext_libc+:} false; then :
15301   $as_echo_n "(cached) " >&6
15302 else
15303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h.  */
15305
15306 #include <libintl.h>
15307
15308 int
15309 main ()
15310 {
15311 return !dgettext ("","")
15312   ;
15313   return 0;
15314 }
15315 _ACEOF
15316 if ac_fn_c_try_link "$LINENO"; then :
15317   gt_cv_func_dgettext_libc=yes
15318 else
15319   gt_cv_func_dgettext_libc=no
15320 fi
15321 rm -f core conftest.err conftest.$ac_objext \
15322     conftest$ac_exeext conftest.$ac_ext
15323
15324 fi
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15326 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15327       fi
15328
15329       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15330         for ac_func in bind_textdomain_codeset
15331 do :
15332   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15333 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15334   cat >>confdefs.h <<_ACEOF
15335 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15336 _ACEOF
15337
15338 fi
15339 done
15340
15341       fi
15342
15343       #
15344       # If we don't have everything we want, check in libintl
15345       #
15346       if test "$gt_cv_func_dgettext_libc" != "yes" \
15347          || test "$gt_cv_func_ngettext_libc" != "yes" \
15348          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15349
15350         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15351 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15352 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15353   $as_echo_n "(cached) " >&6
15354 else
15355   ac_check_lib_save_LIBS=$LIBS
15356 LIBS="-lintl  $LIBS"
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h.  */
15359
15360 /* Override any GCC internal prototype to avoid an error.
15361    Use char because int might match the return type of a GCC
15362    builtin and then its argument prototype would still apply.  */
15363 #ifdef __cplusplus
15364 extern "C"
15365 #endif
15366 char bindtextdomain ();
15367 int
15368 main ()
15369 {
15370 return bindtextdomain ();
15371   ;
15372   return 0;
15373 }
15374 _ACEOF
15375 if ac_fn_c_try_link "$LINENO"; then :
15376   ac_cv_lib_intl_bindtextdomain=yes
15377 else
15378   ac_cv_lib_intl_bindtextdomain=no
15379 fi
15380 rm -f core conftest.err conftest.$ac_objext \
15381     conftest$ac_exeext conftest.$ac_ext
15382 LIBS=$ac_check_lib_save_LIBS
15383 fi
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15385 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15386 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15388 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15389 if ${ac_cv_lib_intl_ngettext+:} false; then :
15390   $as_echo_n "(cached) " >&6
15391 else
15392   ac_check_lib_save_LIBS=$LIBS
15393 LIBS="-lintl  $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h.  */
15396
15397 /* Override any GCC internal prototype to avoid an error.
15398    Use char because int might match the return type of a GCC
15399    builtin and then its argument prototype would still apply.  */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char ngettext ();
15404 int
15405 main ()
15406 {
15407 return ngettext ();
15408   ;
15409   return 0;
15410 }
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413   ac_cv_lib_intl_ngettext=yes
15414 else
15415   ac_cv_lib_intl_ngettext=no
15416 fi
15417 rm -f core conftest.err conftest.$ac_objext \
15418     conftest$ac_exeext conftest.$ac_ext
15419 LIBS=$ac_check_lib_save_LIBS
15420 fi
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15422 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15423 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15425 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15426 if ${ac_cv_lib_intl_dgettext+:} false; then :
15427   $as_echo_n "(cached) " >&6
15428 else
15429   ac_check_lib_save_LIBS=$LIBS
15430 LIBS="-lintl  $LIBS"
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h.  */
15433
15434 /* Override any GCC internal prototype to avoid an error.
15435    Use char because int might match the return type of a GCC
15436    builtin and then its argument prototype would still apply.  */
15437 #ifdef __cplusplus
15438 extern "C"
15439 #endif
15440 char dgettext ();
15441 int
15442 main ()
15443 {
15444 return dgettext ();
15445   ;
15446   return 0;
15447 }
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450   ac_cv_lib_intl_dgettext=yes
15451 else
15452   ac_cv_lib_intl_dgettext=no
15453 fi
15454 rm -f core conftest.err conftest.$ac_objext \
15455     conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_check_lib_save_LIBS
15457 fi
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15459 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15460 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15461   gt_cv_func_dgettext_libintl=yes
15462 fi
15463
15464 fi
15465
15466 fi
15467
15468
15469         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15470           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15471 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15472           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15473 $as_echo "" >&6; }
15474           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15475 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15476 if ${ac_cv_lib_intl_ngettext+:} false; then :
15477   $as_echo_n "(cached) " >&6
15478 else
15479   ac_check_lib_save_LIBS=$LIBS
15480 LIBS="-lintl -liconv $LIBS"
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h.  */
15483
15484 /* Override any GCC internal prototype to avoid an error.
15485    Use char because int might match the return type of a GCC
15486    builtin and then its argument prototype would still apply.  */
15487 #ifdef __cplusplus
15488 extern "C"
15489 #endif
15490 char ngettext ();
15491 int
15492 main ()
15493 {
15494 return ngettext ();
15495   ;
15496   return 0;
15497 }
15498 _ACEOF
15499 if ac_fn_c_try_link "$LINENO"; then :
15500   ac_cv_lib_intl_ngettext=yes
15501 else
15502   ac_cv_lib_intl_ngettext=no
15503 fi
15504 rm -f core conftest.err conftest.$ac_objext \
15505     conftest$ac_exeext conftest.$ac_ext
15506 LIBS=$ac_check_lib_save_LIBS
15507 fi
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15509 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15510 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15512 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15513 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15514   $as_echo_n "(cached) " >&6
15515 else
15516   ac_check_lib_save_LIBS=$LIBS
15517 LIBS="-lintl -liconv $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h.  */
15520
15521 /* Override any GCC internal prototype to avoid an error.
15522    Use char because int might match the return type of a GCC
15523    builtin and then its argument prototype would still apply.  */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char dcgettext ();
15528 int
15529 main ()
15530 {
15531 return dcgettext ();
15532   ;
15533   return 0;
15534 }
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537   ac_cv_lib_intl_dcgettext=yes
15538 else
15539   ac_cv_lib_intl_dcgettext=no
15540 fi
15541 rm -f core conftest.err conftest.$ac_objext \
15542     conftest$ac_exeext conftest.$ac_ext
15543 LIBS=$ac_check_lib_save_LIBS
15544 fi
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15546 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15547 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15548   gt_cv_func_dgettext_libintl=yes
15549                         libintl_extra_libs=-liconv
15550 else
15551   :
15552 fi
15553
15554 else
15555   :
15556 fi
15557
15558         fi
15559
15560         #
15561         # If we found libintl, then check in it for bind_textdomain_codeset();
15562         # we'll prefer libc if neither have bind_textdomain_codeset(),
15563         # and both have dgettext and ngettext
15564         #
15565         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15566           glib_save_LIBS="$LIBS"
15567           LIBS="$LIBS -lintl $libintl_extra_libs"
15568           unset ac_cv_func_bind_textdomain_codeset
15569           for ac_func in bind_textdomain_codeset
15570 do :
15571   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15572 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15573   cat >>confdefs.h <<_ACEOF
15574 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15575 _ACEOF
15576
15577 fi
15578 done
15579
15580           LIBS="$glib_save_LIBS"
15581
15582           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15583             gt_cv_func_dgettext_libc=no
15584           else
15585             if test "$gt_cv_func_dgettext_libc" = "yes" \
15586                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15587               gt_cv_func_dgettext_libintl=no
15588             fi
15589           fi
15590         fi
15591       fi
15592
15593       if test "$gt_cv_func_dgettext_libc" = "yes" \
15594         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15595         gt_cv_have_gettext=yes
15596       fi
15597
15598       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15599         INTLLIBS="-lintl $libintl_extra_libs"
15600       fi
15601
15602       if test "$gt_cv_have_gettext" = "yes"; then
15603
15604 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15605
15606         # Extract the first word of "msgfmt", so it can be a program name with args.
15607 set dummy msgfmt; ac_word=$2
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15609 $as_echo_n "checking for $ac_word... " >&6; }
15610 if ${ac_cv_path_MSGFMT+:} false; then :
15611   $as_echo_n "(cached) " >&6
15612 else
15613   case "$MSGFMT" in
15614   /*)
15615   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15616   ;;
15617   *)
15618   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15619   for ac_dir in $PATH; do
15620     test -z "$ac_dir" && ac_dir=.
15621     if test -f $ac_dir/$ac_word; then
15622       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15623         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15624         break
15625       fi
15626     fi
15627   done
15628   IFS="$ac_save_ifs"
15629   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15630   ;;
15631 esac
15632 fi
15633 MSGFMT="$ac_cv_path_MSGFMT"
15634 if test "$MSGFMT" != "no"; then
15635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15636 $as_echo "$MSGFMT" >&6; }
15637 else
15638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15639 $as_echo "no" >&6; }
15640 fi
15641         if test "$MSGFMT" != "no"; then
15642           glib_save_LIBS="$LIBS"
15643           LIBS="$LIBS $INTLLIBS"
15644           for ac_func in dcgettext
15645 do :
15646   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15647 if test "x$ac_cv_func_dcgettext" = xyes; then :
15648   cat >>confdefs.h <<_ACEOF
15649 #define HAVE_DCGETTEXT 1
15650 _ACEOF
15651
15652 fi
15653 done
15654
15655           MSGFMT_OPTS=
15656           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15657 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15658           cat >conftest.foo <<_ACEOF
15659
15660 msgid ""
15661 msgstr ""
15662 "Content-Type: text/plain; charset=UTF-8\n"
15663 "Project-Id-Version: test 1.0\n"
15664 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15665 "Last-Translator: test <foo@bar.xx>\n"
15666 "Language-Team: C <LL@li.org>\n"
15667 "MIME-Version: 1.0\n"
15668 "Content-Transfer-Encoding: 8bit\n"
15669
15670 _ACEOF
15671 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15672   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15673   ac_status=$?
15674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675   test $ac_status = 0; }; then
15676   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15677 $as_echo "yes" >&6; }
15678 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15679 $as_echo "no" >&6; }
15680 echo "$as_me: failed input was:" >&5
15681 sed 's/^/| /' conftest.foo >&5
15682 fi
15683
15684           # Extract the first word of "gmsgfmt", so it can be a program name with args.
15685 set dummy gmsgfmt; ac_word=$2
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15687 $as_echo_n "checking for $ac_word... " >&6; }
15688 if ${ac_cv_path_GMSGFMT+:} false; then :
15689   $as_echo_n "(cached) " >&6
15690 else
15691   case $GMSGFMT in
15692   [\\/]* | ?:[\\/]*)
15693   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15694   ;;
15695   *)
15696   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15697 for as_dir in $PATH
15698 do
15699   IFS=$as_save_IFS
15700   test -z "$as_dir" && as_dir=.
15701     for ac_exec_ext in '' $ac_executable_extensions; do
15702   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15703     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15705     break 2
15706   fi
15707 done
15708   done
15709 IFS=$as_save_IFS
15710
15711   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15712   ;;
15713 esac
15714 fi
15715 GMSGFMT=$ac_cv_path_GMSGFMT
15716 if test -n "$GMSGFMT"; then
15717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15718 $as_echo "$GMSGFMT" >&6; }
15719 else
15720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15721 $as_echo "no" >&6; }
15722 fi
15723
15724
15725           # Extract the first word of "xgettext", so it can be a program name with args.
15726 set dummy xgettext; ac_word=$2
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15728 $as_echo_n "checking for $ac_word... " >&6; }
15729 if ${ac_cv_path_XGETTEXT+:} false; then :
15730   $as_echo_n "(cached) " >&6
15731 else
15732   case "$XGETTEXT" in
15733   /*)
15734   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15735   ;;
15736   *)
15737   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15738   for ac_dir in $PATH; do
15739     test -z "$ac_dir" && ac_dir=.
15740     if test -f $ac_dir/$ac_word; then
15741       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15742         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15743         break
15744       fi
15745     fi
15746   done
15747   IFS="$ac_save_ifs"
15748   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15749   ;;
15750 esac
15751 fi
15752 XGETTEXT="$ac_cv_path_XGETTEXT"
15753 if test "$XGETTEXT" != ":"; then
15754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15755 $as_echo "$XGETTEXT" >&6; }
15756 else
15757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15758 $as_echo "no" >&6; }
15759 fi
15760
15761           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h.  */
15763
15764 int
15765 main ()
15766 {
15767 extern int _nl_msg_cat_cntr;
15768                          return _nl_msg_cat_cntr
15769   ;
15770   return 0;
15771 }
15772 _ACEOF
15773 if ac_fn_c_try_link "$LINENO"; then :
15774   CATOBJEXT=.gmo
15775              DATADIRNAME=share
15776 else
15777   case $host in
15778             *-*-solaris*)
15779                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15780 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15781   CATOBJEXT=.gmo
15782                DATADIRNAME=share
15783 else
15784   CATOBJEXT=.mo
15785                DATADIRNAME=lib
15786 fi
15787
15788             ;;
15789             *-*-openbsd*)
15790             CATOBJEXT=.mo
15791             DATADIRNAME=share
15792             ;;
15793             *)
15794             CATOBJEXT=.mo
15795             DATADIRNAME=lib
15796             ;;
15797             esac
15798 fi
15799 rm -f core conftest.err conftest.$ac_objext \
15800     conftest$ac_exeext conftest.$ac_ext
15801           LIBS="$glib_save_LIBS"
15802           INSTOBJEXT=.mo
15803         else
15804           gt_cv_have_gettext=no
15805         fi
15806       fi
15807
15808 fi
15809
15810
15811
15812     if test "$gt_cv_have_gettext" = "yes" ; then
15813
15814 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15815
15816     fi
15817
15818         if test "$XGETTEXT" != ":"; then
15819                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15820         : ;
15821       else
15822         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15823 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15824         XGETTEXT=":"
15825       fi
15826     fi
15827
15828     # We need to process the po/ directory.
15829     POSUB=po
15830
15831     ac_config_commands="$ac_config_commands default-1"
15832
15833
15834                 for lang in $ALL_LINGUAS; do
15835       GMOFILES="$GMOFILES $lang.gmo"
15836       POFILES="$POFILES $lang.po"
15837     done
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851    if test "$gt_cv_have_gettext" = "yes"; then
15852      if test "x$ALL_LINGUAS" = "x"; then
15853        LINGUAS=
15854      else
15855        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15856 $as_echo_n "checking for catalogs to be installed... " >&6; }
15857        NEW_LINGUAS=
15858        for presentlang in $ALL_LINGUAS; do
15859          useit=no
15860          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15861            desiredlanguages="$LINGUAS"
15862          else
15863            desiredlanguages="$ALL_LINGUAS"
15864          fi
15865          for desiredlang in $desiredlanguages; do
15866            # Use the presentlang catalog if desiredlang is
15867            #   a. equal to presentlang, or
15868            #   b. a variant of presentlang (because in this case,
15869            #      presentlang can be used as a fallback for messages
15870            #      which are not translated in the desiredlang catalog).
15871            case "$desiredlang" in
15872              "$presentlang"*) useit=yes;;
15873            esac
15874          done
15875          if test $useit = yes; then
15876            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15877          fi
15878        done
15879        LINGUAS=$NEW_LINGUAS
15880        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15881 $as_echo "$LINGUAS" >&6; }
15882      fi
15883
15884           if test -n "$LINGUAS"; then
15885        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15886      fi
15887    fi
15888
15889             MKINSTALLDIRS=
15890    if test -n "$ac_aux_dir"; then
15891      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15892    fi
15893    if test -z "$MKINSTALLDIRS"; then
15894      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15895    fi
15896
15897
15898          test -d po || mkdir po
15899    if test "x$srcdir" != "x."; then
15900      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15901        posrcprefix="$srcdir/"
15902      else
15903        posrcprefix="../$srcdir/"
15904      fi
15905    else
15906      posrcprefix="../"
15907    fi
15908    rm -f po/POTFILES
15909    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15910         < $srcdir/po/POTFILES.in > po/POTFILES
15911
15912
15913
15914 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"
15915
15916 cat >confcache <<\_ACEOF
15917 # This file is a shell script that caches the results of configure
15918 # tests run on this system so they can be shared between configure
15919 # scripts and configure runs, see configure's option --config-cache.
15920 # It is not useful on other systems.  If it contains results you don't
15921 # want to keep, you may remove or edit it.
15922 #
15923 # config.status only pays attention to the cache file if you give it
15924 # the --recheck option to rerun configure.
15925 #
15926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15928 # following values.
15929
15930 _ACEOF
15931
15932 # The following way of writing the cache mishandles newlines in values,
15933 # but we know of no workaround that is simple, portable, and efficient.
15934 # So, we kill variables containing newlines.
15935 # Ultrix sh set writes to stderr and can't be redirected directly,
15936 # and sets the high bit in the cache file unless we assign to the vars.
15937 (
15938   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15939     eval ac_val=\$$ac_var
15940     case $ac_val in #(
15941     *${as_nl}*)
15942       case $ac_var in #(
15943       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15945       esac
15946       case $ac_var in #(
15947       _ | IFS | as_nl) ;; #(
15948       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15949       *) { eval $ac_var=; unset $ac_var;} ;;
15950       esac ;;
15951     esac
15952   done
15953
15954   (set) 2>&1 |
15955     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15956     *${as_nl}ac_space=\ *)
15957       # `set' does not quote correctly, so add quotes: double-quote
15958       # substitution turns \\\\ into \\, and sed turns \\ into \.
15959       sed -n \
15960         "s/'/'\\\\''/g;
15961           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15962       ;; #(
15963     *)
15964       # `set' quotes correctly as required by POSIX, so do not add quotes.
15965       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15966       ;;
15967     esac |
15968     sort
15969 ) |
15970   sed '
15971      /^ac_cv_env_/b end
15972      t clear
15973      :clear
15974      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15975      t end
15976      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15977      :end' >>confcache
15978 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15979   if test -w "$cache_file"; then
15980     if test "x$cache_file" != "x/dev/null"; then
15981       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15982 $as_echo "$as_me: updating cache $cache_file" >&6;}
15983       if test ! -f "$cache_file" || test -h "$cache_file"; then
15984         cat confcache >"$cache_file"
15985       else
15986         case $cache_file in #(
15987         */* | ?:*)
15988           mv -f confcache "$cache_file"$$ &&
15989           mv -f "$cache_file"$$ "$cache_file" ;; #(
15990         *)
15991           mv -f confcache "$cache_file" ;;
15992         esac
15993       fi
15994     fi
15995   else
15996     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15997 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15998   fi
15999 fi
16000 rm -f confcache
16001
16002 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16003 # Let make expand exec_prefix.
16004 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16005
16006 DEFS=-DHAVE_CONFIG_H
16007
16008 ac_libobjs=
16009 ac_ltlibobjs=
16010 U=
16011 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16012   # 1. Remove the extension, and $U if already installed.
16013   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16014   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16015   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16016   #    will be set to the directory where LIBOBJS objects are built.
16017   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16018   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16019 done
16020 LIBOBJS=$ac_libobjs
16021
16022 LTLIBOBJS=$ac_ltlibobjs
16023
16024
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16026 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16027    if test -n "$am_sleep_pid"; then
16028      # Hide warnings about reused PIDs.
16029      wait $am_sleep_pid 2>/dev/null
16030    fi
16031    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16032 $as_echo "done" >&6; }
16033  if test -n "$EXEEXT"; then
16034   am__EXEEXT_TRUE=
16035   am__EXEEXT_FALSE='#'
16036 else
16037   am__EXEEXT_TRUE='#'
16038   am__EXEEXT_FALSE=
16039 fi
16040
16041 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16042   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16044 fi
16045
16046   ac_config_commands="$ac_config_commands po/stamp-it"
16047
16048
16049 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16050   as_fn_error $? "conditional \"AMDEP\" was never defined.
16051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16052 fi
16053 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16054   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16056 fi
16057 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
16058   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
16059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16060 fi
16061 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16062   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16064 fi
16065 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16066   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16068 fi
16069 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16070   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16072 fi
16073 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16074   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16076 fi
16077 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16078   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16080 fi
16081 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16082   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16084 fi
16085
16086 : "${CONFIG_STATUS=./config.status}"
16087 ac_write_fail=0
16088 ac_clean_files_save=$ac_clean_files
16089 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16091 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16092 as_write_fail=0
16093 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16094 #! $SHELL
16095 # Generated by $as_me.
16096 # Run this file to recreate the current configuration.
16097 # Compiler output produced by configure, useful for debugging
16098 # configure, is in config.log if it exists.
16099
16100 debug=false
16101 ac_cs_recheck=false
16102 ac_cs_silent=false
16103
16104 SHELL=\${CONFIG_SHELL-$SHELL}
16105 export SHELL
16106 _ASEOF
16107 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16108 ## -------------------- ##
16109 ## M4sh Initialization. ##
16110 ## -------------------- ##
16111
16112 # Be more Bourne compatible
16113 DUALCASE=1; export DUALCASE # for MKS sh
16114 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16115   emulate sh
16116   NULLCMD=:
16117   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16118   # is contrary to our usage.  Disable this feature.
16119   alias -g '${1+"$@"}'='"$@"'
16120   setopt NO_GLOB_SUBST
16121 else
16122   case `(set -o) 2>/dev/null` in #(
16123   *posix*) :
16124     set -o posix ;; #(
16125   *) :
16126      ;;
16127 esac
16128 fi
16129
16130
16131 as_nl='
16132 '
16133 export as_nl
16134 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16135 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16137 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16138 # Prefer a ksh shell builtin over an external printf program on Solaris,
16139 # but without wasting forks for bash or zsh.
16140 if test -z "$BASH_VERSION$ZSH_VERSION" \
16141     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16142   as_echo='print -r --'
16143   as_echo_n='print -rn --'
16144 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16145   as_echo='printf %s\n'
16146   as_echo_n='printf %s'
16147 else
16148   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16149     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16150     as_echo_n='/usr/ucb/echo -n'
16151   else
16152     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16153     as_echo_n_body='eval
16154       arg=$1;
16155       case $arg in #(
16156       *"$as_nl"*)
16157         expr "X$arg" : "X\\(.*\\)$as_nl";
16158         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16159       esac;
16160       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16161     '
16162     export as_echo_n_body
16163     as_echo_n='sh -c $as_echo_n_body as_echo'
16164   fi
16165   export as_echo_body
16166   as_echo='sh -c $as_echo_body as_echo'
16167 fi
16168
16169 # The user is always right.
16170 if test "${PATH_SEPARATOR+set}" != set; then
16171   PATH_SEPARATOR=:
16172   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16173     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16174       PATH_SEPARATOR=';'
16175   }
16176 fi
16177
16178
16179 # IFS
16180 # We need space, tab and new line, in precisely that order.  Quoting is
16181 # there to prevent editors from complaining about space-tab.
16182 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16183 # splitting by setting IFS to empty value.)
16184 IFS=" ""        $as_nl"
16185
16186 # Find who we are.  Look in the path if we contain no directory separator.
16187 as_myself=
16188 case $0 in #((
16189   *[\\/]* ) as_myself=$0 ;;
16190   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16191 for as_dir in $PATH
16192 do
16193   IFS=$as_save_IFS
16194   test -z "$as_dir" && as_dir=.
16195     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16196   done
16197 IFS=$as_save_IFS
16198
16199      ;;
16200 esac
16201 # We did not find ourselves, most probably we were run as `sh COMMAND'
16202 # in which case we are not to be found in the path.
16203 if test "x$as_myself" = x; then
16204   as_myself=$0
16205 fi
16206 if test ! -f "$as_myself"; then
16207   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16208   exit 1
16209 fi
16210
16211 # Unset variables that we do not need and which cause bugs (e.g. in
16212 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16213 # suppresses any "Segmentation fault" message there.  '((' could
16214 # trigger a bug in pdksh 5.2.14.
16215 for as_var in BASH_ENV ENV MAIL MAILPATH
16216 do eval test x\${$as_var+set} = xset \
16217   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16218 done
16219 PS1='$ '
16220 PS2='> '
16221 PS4='+ '
16222
16223 # NLS nuisances.
16224 LC_ALL=C
16225 export LC_ALL
16226 LANGUAGE=C
16227 export LANGUAGE
16228
16229 # CDPATH.
16230 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16231
16232
16233 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16234 # ----------------------------------------
16235 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16236 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16237 # script with STATUS, using 1 if that was 0.
16238 as_fn_error ()
16239 {
16240   as_status=$1; test $as_status -eq 0 && as_status=1
16241   if test "$4"; then
16242     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16243     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16244   fi
16245   $as_echo "$as_me: error: $2" >&2
16246   as_fn_exit $as_status
16247 } # as_fn_error
16248
16249
16250 # as_fn_set_status STATUS
16251 # -----------------------
16252 # Set $? to STATUS, without forking.
16253 as_fn_set_status ()
16254 {
16255   return $1
16256 } # as_fn_set_status
16257
16258 # as_fn_exit STATUS
16259 # -----------------
16260 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16261 as_fn_exit ()
16262 {
16263   set +e
16264   as_fn_set_status $1
16265   exit $1
16266 } # as_fn_exit
16267
16268 # as_fn_unset VAR
16269 # ---------------
16270 # Portably unset VAR.
16271 as_fn_unset ()
16272 {
16273   { eval $1=; unset $1;}
16274 }
16275 as_unset=as_fn_unset
16276 # as_fn_append VAR VALUE
16277 # ----------------------
16278 # Append the text in VALUE to the end of the definition contained in VAR. Take
16279 # advantage of any shell optimizations that allow amortized linear growth over
16280 # repeated appends, instead of the typical quadratic growth present in naive
16281 # implementations.
16282 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16283   eval 'as_fn_append ()
16284   {
16285     eval $1+=\$2
16286   }'
16287 else
16288   as_fn_append ()
16289   {
16290     eval $1=\$$1\$2
16291   }
16292 fi # as_fn_append
16293
16294 # as_fn_arith ARG...
16295 # ------------------
16296 # Perform arithmetic evaluation on the ARGs, and store the result in the
16297 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16298 # must be portable across $(()) and expr.
16299 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16300   eval 'as_fn_arith ()
16301   {
16302     as_val=$(( $* ))
16303   }'
16304 else
16305   as_fn_arith ()
16306   {
16307     as_val=`expr "$@" || test $? -eq 1`
16308   }
16309 fi # as_fn_arith
16310
16311
16312 if expr a : '\(a\)' >/dev/null 2>&1 &&
16313    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16314   as_expr=expr
16315 else
16316   as_expr=false
16317 fi
16318
16319 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16320   as_basename=basename
16321 else
16322   as_basename=false
16323 fi
16324
16325 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16326   as_dirname=dirname
16327 else
16328   as_dirname=false
16329 fi
16330
16331 as_me=`$as_basename -- "$0" ||
16332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16333          X"$0" : 'X\(//\)$' \| \
16334          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16335 $as_echo X/"$0" |
16336     sed '/^.*\/\([^/][^/]*\)\/*$/{
16337             s//\1/
16338             q
16339           }
16340           /^X\/\(\/\/\)$/{
16341             s//\1/
16342             q
16343           }
16344           /^X\/\(\/\).*/{
16345             s//\1/
16346             q
16347           }
16348           s/.*/./; q'`
16349
16350 # Avoid depending upon Character Ranges.
16351 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16352 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16353 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16354 as_cr_digits='0123456789'
16355 as_cr_alnum=$as_cr_Letters$as_cr_digits
16356
16357 ECHO_C= ECHO_N= ECHO_T=
16358 case `echo -n x` in #(((((
16359 -n*)
16360   case `echo 'xy\c'` in
16361   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16362   xy)  ECHO_C='\c';;
16363   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16364        ECHO_T=' ';;
16365   esac;;
16366 *)
16367   ECHO_N='-n';;
16368 esac
16369
16370 rm -f conf$$ conf$$.exe conf$$.file
16371 if test -d conf$$.dir; then
16372   rm -f conf$$.dir/conf$$.file
16373 else
16374   rm -f conf$$.dir
16375   mkdir conf$$.dir 2>/dev/null
16376 fi
16377 if (echo >conf$$.file) 2>/dev/null; then
16378   if ln -s conf$$.file conf$$ 2>/dev/null; then
16379     as_ln_s='ln -s'
16380     # ... but there are two gotchas:
16381     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16382     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16383     # In both cases, we have to default to `cp -pR'.
16384     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16385       as_ln_s='cp -pR'
16386   elif ln conf$$.file conf$$ 2>/dev/null; then
16387     as_ln_s=ln
16388   else
16389     as_ln_s='cp -pR'
16390   fi
16391 else
16392   as_ln_s='cp -pR'
16393 fi
16394 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16395 rmdir conf$$.dir 2>/dev/null
16396
16397
16398 # as_fn_mkdir_p
16399 # -------------
16400 # Create "$as_dir" as a directory, including parents if necessary.
16401 as_fn_mkdir_p ()
16402 {
16403
16404   case $as_dir in #(
16405   -*) as_dir=./$as_dir;;
16406   esac
16407   test -d "$as_dir" || eval $as_mkdir_p || {
16408     as_dirs=
16409     while :; do
16410       case $as_dir in #(
16411       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16412       *) as_qdir=$as_dir;;
16413       esac
16414       as_dirs="'$as_qdir' $as_dirs"
16415       as_dir=`$as_dirname -- "$as_dir" ||
16416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16417          X"$as_dir" : 'X\(//\)[^/]' \| \
16418          X"$as_dir" : 'X\(//\)$' \| \
16419          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16420 $as_echo X"$as_dir" |
16421     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16422             s//\1/
16423             q
16424           }
16425           /^X\(\/\/\)[^/].*/{
16426             s//\1/
16427             q
16428           }
16429           /^X\(\/\/\)$/{
16430             s//\1/
16431             q
16432           }
16433           /^X\(\/\).*/{
16434             s//\1/
16435             q
16436           }
16437           s/.*/./; q'`
16438       test -d "$as_dir" && break
16439     done
16440     test -z "$as_dirs" || eval "mkdir $as_dirs"
16441   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16442
16443
16444 } # as_fn_mkdir_p
16445 if mkdir -p . 2>/dev/null; then
16446   as_mkdir_p='mkdir -p "$as_dir"'
16447 else
16448   test -d ./-p && rmdir ./-p
16449   as_mkdir_p=false
16450 fi
16451
16452
16453 # as_fn_executable_p FILE
16454 # -----------------------
16455 # Test if FILE is an executable regular file.
16456 as_fn_executable_p ()
16457 {
16458   test -f "$1" && test -x "$1"
16459 } # as_fn_executable_p
16460 as_test_x='test -x'
16461 as_executable_p=as_fn_executable_p
16462
16463 # Sed expression to map a string onto a valid CPP name.
16464 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16465
16466 # Sed expression to map a string onto a valid variable name.
16467 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16468
16469
16470 exec 6>&1
16471 ## ----------------------------------- ##
16472 ## Main body of $CONFIG_STATUS script. ##
16473 ## ----------------------------------- ##
16474 _ASEOF
16475 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16476
16477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16478 # Save the log message, to keep $0 and so on meaningful, and to
16479 # report actual input values of CONFIG_FILES etc. instead of their
16480 # values after options handling.
16481 ac_log="
16482 This file was extended by glabels $as_me 3.4.0, which was
16483 generated by GNU Autoconf 2.69.  Invocation command line was
16484
16485   CONFIG_FILES    = $CONFIG_FILES
16486   CONFIG_HEADERS  = $CONFIG_HEADERS
16487   CONFIG_LINKS    = $CONFIG_LINKS
16488   CONFIG_COMMANDS = $CONFIG_COMMANDS
16489   $ $0 $@
16490
16491 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16492 "
16493
16494 _ACEOF
16495
16496 case $ac_config_files in *"
16497 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16498 esac
16499
16500 case $ac_config_headers in *"
16501 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16502 esac
16503
16504
16505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16506 # Files that config.status was made for.
16507 config_files="$ac_config_files"
16508 config_headers="$ac_config_headers"
16509 config_commands="$ac_config_commands"
16510
16511 _ACEOF
16512
16513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16514 ac_cs_usage="\
16515 \`$as_me' instantiates files and other configuration actions
16516 from templates according to the current configuration.  Unless the files
16517 and actions are specified as TAGs, all are instantiated by default.
16518
16519 Usage: $0 [OPTION]... [TAG]...
16520
16521   -h, --help       print this help, then exit
16522   -V, --version    print version number and configuration settings, then exit
16523       --config     print configuration, then exit
16524   -q, --quiet, --silent
16525                    do not print progress messages
16526   -d, --debug      don't remove temporary files
16527       --recheck    update $as_me by reconfiguring in the same conditions
16528       --file=FILE[:TEMPLATE]
16529                    instantiate the configuration file FILE
16530       --header=FILE[:TEMPLATE]
16531                    instantiate the configuration header FILE
16532
16533 Configuration files:
16534 $config_files
16535
16536 Configuration headers:
16537 $config_headers
16538
16539 Configuration commands:
16540 $config_commands
16541
16542 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16543
16544 _ACEOF
16545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16546 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16547 ac_cs_version="\\
16548 glabels config.status 3.4.0
16549 configured by $0, generated by GNU Autoconf 2.69,
16550   with options \\"\$ac_cs_config\\"
16551
16552 Copyright (C) 2012 Free Software Foundation, Inc.
16553 This config.status script is free software; the Free Software Foundation
16554 gives unlimited permission to copy, distribute and modify it."
16555
16556 ac_pwd='$ac_pwd'
16557 srcdir='$srcdir'
16558 INSTALL='$INSTALL'
16559 MKDIR_P='$MKDIR_P'
16560 AWK='$AWK'
16561 test -n "\$AWK" || AWK=awk
16562 _ACEOF
16563
16564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16565 # The default lists apply if the user does not specify any file.
16566 ac_need_defaults=:
16567 while test $# != 0
16568 do
16569   case $1 in
16570   --*=?*)
16571     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16572     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16573     ac_shift=:
16574     ;;
16575   --*=)
16576     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16577     ac_optarg=
16578     ac_shift=:
16579     ;;
16580   *)
16581     ac_option=$1
16582     ac_optarg=$2
16583     ac_shift=shift
16584     ;;
16585   esac
16586
16587   case $ac_option in
16588   # Handling of the options.
16589   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16590     ac_cs_recheck=: ;;
16591   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16592     $as_echo "$ac_cs_version"; exit ;;
16593   --config | --confi | --conf | --con | --co | --c )
16594     $as_echo "$ac_cs_config"; exit ;;
16595   --debug | --debu | --deb | --de | --d | -d )
16596     debug=: ;;
16597   --file | --fil | --fi | --f )
16598     $ac_shift
16599     case $ac_optarg in
16600     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16601     '') as_fn_error $? "missing file argument" ;;
16602     esac
16603     as_fn_append CONFIG_FILES " '$ac_optarg'"
16604     ac_need_defaults=false;;
16605   --header | --heade | --head | --hea )
16606     $ac_shift
16607     case $ac_optarg in
16608     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16609     esac
16610     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16611     ac_need_defaults=false;;
16612   --he | --h)
16613     # Conflict between --help and --header
16614     as_fn_error $? "ambiguous option: \`$1'
16615 Try \`$0 --help' for more information.";;
16616   --help | --hel | -h )
16617     $as_echo "$ac_cs_usage"; exit ;;
16618   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16619   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16620     ac_cs_silent=: ;;
16621
16622   # This is an error.
16623   -*) as_fn_error $? "unrecognized option: \`$1'
16624 Try \`$0 --help' for more information." ;;
16625
16626   *) as_fn_append ac_config_targets " $1"
16627      ac_need_defaults=false ;;
16628
16629   esac
16630   shift
16631 done
16632
16633 ac_configure_extra_args=
16634
16635 if $ac_cs_silent; then
16636   exec 6>/dev/null
16637   ac_configure_extra_args="$ac_configure_extra_args --silent"
16638 fi
16639
16640 _ACEOF
16641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16642 if \$ac_cs_recheck; then
16643   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16644   shift
16645   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16646   CONFIG_SHELL='$SHELL'
16647   export CONFIG_SHELL
16648   exec "\$@"
16649 fi
16650
16651 _ACEOF
16652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16653 exec 5>>config.log
16654 {
16655   echo
16656   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16657 ## Running $as_me. ##
16658 _ASBOX
16659   $as_echo "$ac_log"
16660 } >&5
16661
16662 _ACEOF
16663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16664 #
16665 # INIT-COMMANDS
16666 #
16667 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16668
16669
16670 # The HP-UX ksh and POSIX shell print the target directory to stdout
16671 # if CDPATH is set.
16672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16673
16674 sed_quote_subst='$sed_quote_subst'
16675 double_quote_subst='$double_quote_subst'
16676 delay_variable_subst='$delay_variable_subst'
16677 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16678 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16679 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16680 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16681 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16682 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16683 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16684 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16685 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16686 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16687 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16688 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16689 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16690 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16691 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16692 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16693 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16694 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16695 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16696 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16697 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16698 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16699 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16700 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16701 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16702 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16703 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16704 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16705 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16706 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16707 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16708 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16709 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16710 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16711 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16712 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16713 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16714 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16715 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16716 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16717 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16718 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16719 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16720 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16721 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16722 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16723 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16724 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16725 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16726 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16727 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16728 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16729 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16730 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16731 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16732 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16733 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"`'
16734 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16735 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16736 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16737 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16738 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16739 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16740 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16741 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16742 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16743 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16744 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16745 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16746 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16747 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16748 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16749 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16750 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16751 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16752 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16753 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16754 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16755 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16756 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16757 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16758 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16759 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16760 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16761 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16762 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16763 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16764 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16765 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16766 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16767 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16768 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16769 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16770 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16771 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16772 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16773 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16774 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16775 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16776 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16777 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16778 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16779 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16780 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16781 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16782 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16783 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16784 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16785 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16786 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16787 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16788 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16789 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16790 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16791 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16792 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16793 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16794 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16795 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16796 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16797 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16798 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16799 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16800 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16801 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16802 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16803 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16804 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16805 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16806 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16807
16808 LTCC='$LTCC'
16809 LTCFLAGS='$LTCFLAGS'
16810 compiler='$compiler_DEFAULT'
16811
16812 # A function that is used when there is no print builtin or printf.
16813 func_fallback_echo ()
16814 {
16815   eval 'cat <<_LTECHO_EOF
16816 \$1
16817 _LTECHO_EOF'
16818 }
16819
16820 # Quote evaled strings.
16821 for var in SHELL \
16822 ECHO \
16823 PATH_SEPARATOR \
16824 SED \
16825 GREP \
16826 EGREP \
16827 FGREP \
16828 LD \
16829 NM \
16830 LN_S \
16831 lt_SP2NL \
16832 lt_NL2SP \
16833 reload_flag \
16834 OBJDUMP \
16835 deplibs_check_method \
16836 file_magic_cmd \
16837 file_magic_glob \
16838 want_nocaseglob \
16839 DLLTOOL \
16840 sharedlib_from_linklib_cmd \
16841 AR \
16842 AR_FLAGS \
16843 archiver_list_spec \
16844 STRIP \
16845 RANLIB \
16846 CC \
16847 CFLAGS \
16848 compiler \
16849 lt_cv_sys_global_symbol_pipe \
16850 lt_cv_sys_global_symbol_to_cdecl \
16851 lt_cv_sys_global_symbol_to_c_name_address \
16852 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16853 nm_file_list_spec \
16854 lt_prog_compiler_no_builtin_flag \
16855 lt_prog_compiler_pic \
16856 lt_prog_compiler_wl \
16857 lt_prog_compiler_static \
16858 lt_cv_prog_compiler_c_o \
16859 need_locks \
16860 MANIFEST_TOOL \
16861 DSYMUTIL \
16862 NMEDIT \
16863 LIPO \
16864 OTOOL \
16865 OTOOL64 \
16866 shrext_cmds \
16867 export_dynamic_flag_spec \
16868 whole_archive_flag_spec \
16869 compiler_needs_object \
16870 with_gnu_ld \
16871 allow_undefined_flag \
16872 no_undefined_flag \
16873 hardcode_libdir_flag_spec \
16874 hardcode_libdir_separator \
16875 exclude_expsyms \
16876 include_expsyms \
16877 file_list_spec \
16878 variables_saved_for_relink \
16879 libname_spec \
16880 library_names_spec \
16881 soname_spec \
16882 install_override_mode \
16883 finish_eval \
16884 old_striplib \
16885 striplib; do
16886     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16887     *[\\\\\\\`\\"\\\$]*)
16888       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16889       ;;
16890     *)
16891       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16892       ;;
16893     esac
16894 done
16895
16896 # Double-quote double-evaled strings.
16897 for var in reload_cmds \
16898 old_postinstall_cmds \
16899 old_postuninstall_cmds \
16900 old_archive_cmds \
16901 extract_expsyms_cmds \
16902 old_archive_from_new_cmds \
16903 old_archive_from_expsyms_cmds \
16904 archive_cmds \
16905 archive_expsym_cmds \
16906 module_cmds \
16907 module_expsym_cmds \
16908 export_symbols_cmds \
16909 prelink_cmds \
16910 postlink_cmds \
16911 postinstall_cmds \
16912 postuninstall_cmds \
16913 finish_cmds \
16914 sys_lib_search_path_spec \
16915 sys_lib_dlsearch_path_spec; do
16916     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16917     *[\\\\\\\`\\"\\\$]*)
16918       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16919       ;;
16920     *)
16921       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16922       ;;
16923     esac
16924 done
16925
16926 ac_aux_dir='$ac_aux_dir'
16927 xsi_shell='$xsi_shell'
16928 lt_shell_append='$lt_shell_append'
16929
16930 # See if we are running on zsh, and set the options which allow our
16931 # commands through without removal of \ escapes INIT.
16932 if test -n "\${ZSH_VERSION+set}" ; then
16933    setopt NO_GLOB_SUBST
16934 fi
16935
16936
16937     PACKAGE='$PACKAGE'
16938     VERSION='$VERSION'
16939     TIMESTAMP='$TIMESTAMP'
16940     RM='$RM'
16941     ofile='$ofile'
16942
16943
16944
16945
16946
16947 _ACEOF
16948
16949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16950
16951 # Handling of arguments.
16952 for ac_config_target in $ac_config_targets
16953 do
16954   case $ac_config_target in
16955     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16956     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16957     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16958     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16959     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16960     "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16961     "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16962     "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16963     "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16964     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16965     "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16966     "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16967     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16968     "data/appdata/Makefile") CONFIG_FILES="$CONFIG_FILES data/appdata/Makefile" ;;
16969     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16970     "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16971     "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16972     "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16973     "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16974     "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16975     "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16976     "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16977     "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16978     "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16979     "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16980     "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16981     "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16982     "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16983     "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16984     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16985     "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16986     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16987     "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16988     "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16989     "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16990     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16991
16992   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16993   esac
16994 done
16995
16996
16997 # If the user did not use the arguments to specify the items to instantiate,
16998 # then the envvar interface is used.  Set only those that are not.
16999 # We use the long form for the default assignment because of an extremely
17000 # bizarre bug on SunOS 4.1.3.
17001 if $ac_need_defaults; then
17002   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17003   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17004   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17005 fi
17006
17007 # Have a temporary directory for convenience.  Make it in the build tree
17008 # simply because there is no reason against having it here, and in addition,
17009 # creating and moving files from /tmp can sometimes cause problems.
17010 # Hook for its removal unless debugging.
17011 # Note that there is a small window in which the directory will not be cleaned:
17012 # after its creation but before its name has been assigned to `$tmp'.
17013 $debug ||
17014 {
17015   tmp= ac_tmp=
17016   trap 'exit_status=$?
17017   : "${ac_tmp:=$tmp}"
17018   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17019 ' 0
17020   trap 'as_fn_exit 1' 1 2 13 15
17021 }
17022 # Create a (secure) tmp directory for tmp files.
17023
17024 {
17025   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17026   test -d "$tmp"
17027 }  ||
17028 {
17029   tmp=./conf$$-$RANDOM
17030   (umask 077 && mkdir "$tmp")
17031 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17032 ac_tmp=$tmp
17033
17034 # Set up the scripts for CONFIG_FILES section.
17035 # No need to generate them if there are no CONFIG_FILES.
17036 # This happens for instance with `./config.status config.h'.
17037 if test -n "$CONFIG_FILES"; then
17038
17039
17040 ac_cr=`echo X | tr X '\015'`
17041 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17042 # But we know of no other shell where ac_cr would be empty at this
17043 # point, so we can use a bashism as a fallback.
17044 if test "x$ac_cr" = x; then
17045   eval ac_cr=\$\'\\r\'
17046 fi
17047 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17048 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17049   ac_cs_awk_cr='\\r'
17050 else
17051   ac_cs_awk_cr=$ac_cr
17052 fi
17053
17054 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17055 _ACEOF
17056
17057
17058 {
17059   echo "cat >conf$$subs.awk <<_ACEOF" &&
17060   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17061   echo "_ACEOF"
17062 } >conf$$subs.sh ||
17063   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17065 ac_delim='%!_!# '
17066 for ac_last_try in false false false false false :; do
17067   . ./conf$$subs.sh ||
17068     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17069
17070   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17071   if test $ac_delim_n = $ac_delim_num; then
17072     break
17073   elif $ac_last_try; then
17074     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17075   else
17076     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17077   fi
17078 done
17079 rm -f conf$$subs.sh
17080
17081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17082 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17083 _ACEOF
17084 sed -n '
17085 h
17086 s/^/S["/; s/!.*/"]=/
17087 p
17088 g
17089 s/^[^!]*!//
17090 :repl
17091 t repl
17092 s/'"$ac_delim"'$//
17093 t delim
17094 :nl
17095 h
17096 s/\(.\{148\}\)..*/\1/
17097 t more1
17098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17099 p
17100 n
17101 b repl
17102 :more1
17103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17104 p
17105 g
17106 s/.\{148\}//
17107 t nl
17108 :delim
17109 h
17110 s/\(.\{148\}\)..*/\1/
17111 t more2
17112 s/["\\]/\\&/g; s/^/"/; s/$/"/
17113 p
17114 b
17115 :more2
17116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17117 p
17118 g
17119 s/.\{148\}//
17120 t delim
17121 ' <conf$$subs.awk | sed '
17122 /^[^""]/{
17123   N
17124   s/\n//
17125 }
17126 ' >>$CONFIG_STATUS || ac_write_fail=1
17127 rm -f conf$$subs.awk
17128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17129 _ACAWK
17130 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17131   for (key in S) S_is_set[key] = 1
17132   FS = "\a"
17133
17134 }
17135 {
17136   line = $ 0
17137   nfields = split(line, field, "@")
17138   substed = 0
17139   len = length(field[1])
17140   for (i = 2; i < nfields; i++) {
17141     key = field[i]
17142     keylen = length(key)
17143     if (S_is_set[key]) {
17144       value = S[key]
17145       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17146       len += length(value) + length(field[++i])
17147       substed = 1
17148     } else
17149       len += 1 + keylen
17150   }
17151
17152   print line
17153 }
17154
17155 _ACAWK
17156 _ACEOF
17157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17159   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17160 else
17161   cat
17162 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17163   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17164 _ACEOF
17165
17166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17168 # trailing colons and then remove the whole line if VPATH becomes empty
17169 # (actually we leave an empty line to preserve line numbers).
17170 if test "x$srcdir" = x.; then
17171   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17172 h
17173 s///
17174 s/^/:/
17175 s/[      ]*$/:/
17176 s/:\$(srcdir):/:/g
17177 s/:\${srcdir}:/:/g
17178 s/:@srcdir@:/:/g
17179 s/^:*//
17180 s/:*$//
17181 x
17182 s/\(=[   ]*\).*/\1/
17183 G
17184 s/\n//
17185 s/^[^=]*=[       ]*$//
17186 }'
17187 fi
17188
17189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17190 fi # test -n "$CONFIG_FILES"
17191
17192 # Set up the scripts for CONFIG_HEADERS section.
17193 # No need to generate them if there are no CONFIG_HEADERS.
17194 # This happens for instance with `./config.status Makefile'.
17195 if test -n "$CONFIG_HEADERS"; then
17196 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17197 BEGIN {
17198 _ACEOF
17199
17200 # Transform confdefs.h into an awk script `defines.awk', embedded as
17201 # here-document in config.status, that substitutes the proper values into
17202 # config.h.in to produce config.h.
17203
17204 # Create a delimiter string that does not exist in confdefs.h, to ease
17205 # handling of long lines.
17206 ac_delim='%!_!# '
17207 for ac_last_try in false false :; do
17208   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17209   if test -z "$ac_tt"; then
17210     break
17211   elif $ac_last_try; then
17212     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17213   else
17214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17215   fi
17216 done
17217
17218 # For the awk script, D is an array of macro values keyed by name,
17219 # likewise P contains macro parameters if any.  Preserve backslash
17220 # newline sequences.
17221
17222 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17223 sed -n '
17224 s/.\{148\}/&'"$ac_delim"'/g
17225 t rset
17226 :rset
17227 s/^[     ]*#[    ]*define[       ][      ]*/ /
17228 t def
17229 d
17230 :def
17231 s/\\$//
17232 t bsnl
17233 s/["\\]/\\&/g
17234 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17235 D["\1"]=" \3"/p
17236 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17237 d
17238 :bsnl
17239 s/["\\]/\\&/g
17240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17241 D["\1"]=" \3\\\\\\n"\\/p
17242 t cont
17243 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17244 t cont
17245 d
17246 :cont
17247 n
17248 s/.\{148\}/&'"$ac_delim"'/g
17249 t clear
17250 :clear
17251 s/\\$//
17252 t bsnlc
17253 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17254 d
17255 :bsnlc
17256 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17257 b cont
17258 ' <confdefs.h | sed '
17259 s/'"$ac_delim"'/"\\\
17260 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17261
17262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17263   for (key in D) D_is_set[key] = 1
17264   FS = "\a"
17265 }
17266 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17267   line = \$ 0
17268   split(line, arg, " ")
17269   if (arg[1] == "#") {
17270     defundef = arg[2]
17271     mac1 = arg[3]
17272   } else {
17273     defundef = substr(arg[1], 2)
17274     mac1 = arg[2]
17275   }
17276   split(mac1, mac2, "(") #)
17277   macro = mac2[1]
17278   prefix = substr(line, 1, index(line, defundef) - 1)
17279   if (D_is_set[macro]) {
17280     # Preserve the white space surrounding the "#".
17281     print prefix "define", macro P[macro] D[macro]
17282     next
17283   } else {
17284     # Replace #undef with comments.  This is necessary, for example,
17285     # in the case of _POSIX_SOURCE, which is predefined and required
17286     # on some systems where configure will not decide to define it.
17287     if (defundef == "undef") {
17288       print "/*", prefix defundef, macro, "*/"
17289       next
17290     }
17291   }
17292 }
17293 { print }
17294 _ACAWK
17295 _ACEOF
17296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17297   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17298 fi # test -n "$CONFIG_HEADERS"
17299
17300
17301 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17302 shift
17303 for ac_tag
17304 do
17305   case $ac_tag in
17306   :[FHLC]) ac_mode=$ac_tag; continue;;
17307   esac
17308   case $ac_mode$ac_tag in
17309   :[FHL]*:*);;
17310   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17311   :[FH]-) ac_tag=-:-;;
17312   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17313   esac
17314   ac_save_IFS=$IFS
17315   IFS=:
17316   set x $ac_tag
17317   IFS=$ac_save_IFS
17318   shift
17319   ac_file=$1
17320   shift
17321
17322   case $ac_mode in
17323   :L) ac_source=$1;;
17324   :[FH])
17325     ac_file_inputs=
17326     for ac_f
17327     do
17328       case $ac_f in
17329       -) ac_f="$ac_tmp/stdin";;
17330       *) # Look for the file first in the build tree, then in the source tree
17331          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17332          # because $ac_f cannot contain `:'.
17333          test -f "$ac_f" ||
17334            case $ac_f in
17335            [\\/$]*) false;;
17336            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17337            esac ||
17338            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17339       esac
17340       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17341       as_fn_append ac_file_inputs " '$ac_f'"
17342     done
17343
17344     # Let's still pretend it is `configure' which instantiates (i.e., don't
17345     # use $as_me), people would be surprised to read:
17346     #    /* config.h.  Generated by config.status.  */
17347     configure_input='Generated from '`
17348           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17349         `' by configure.'
17350     if test x"$ac_file" != x-; then
17351       configure_input="$ac_file.  $configure_input"
17352       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17353 $as_echo "$as_me: creating $ac_file" >&6;}
17354     fi
17355     # Neutralize special characters interpreted by sed in replacement strings.
17356     case $configure_input in #(
17357     *\&* | *\|* | *\\* )
17358        ac_sed_conf_input=`$as_echo "$configure_input" |
17359        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17360     *) ac_sed_conf_input=$configure_input;;
17361     esac
17362
17363     case $ac_tag in
17364     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17365       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17366     esac
17367     ;;
17368   esac
17369
17370   ac_dir=`$as_dirname -- "$ac_file" ||
17371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17372          X"$ac_file" : 'X\(//\)[^/]' \| \
17373          X"$ac_file" : 'X\(//\)$' \| \
17374          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17375 $as_echo X"$ac_file" |
17376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17377             s//\1/
17378             q
17379           }
17380           /^X\(\/\/\)[^/].*/{
17381             s//\1/
17382             q
17383           }
17384           /^X\(\/\/\)$/{
17385             s//\1/
17386             q
17387           }
17388           /^X\(\/\).*/{
17389             s//\1/
17390             q
17391           }
17392           s/.*/./; q'`
17393   as_dir="$ac_dir"; as_fn_mkdir_p
17394   ac_builddir=.
17395
17396 case "$ac_dir" in
17397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17398 *)
17399   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17400   # A ".." for each directory in $ac_dir_suffix.
17401   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17402   case $ac_top_builddir_sub in
17403   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17404   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17405   esac ;;
17406 esac
17407 ac_abs_top_builddir=$ac_pwd
17408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17409 # for backward compatibility:
17410 ac_top_builddir=$ac_top_build_prefix
17411
17412 case $srcdir in
17413   .)  # We are building in place.
17414     ac_srcdir=.
17415     ac_top_srcdir=$ac_top_builddir_sub
17416     ac_abs_top_srcdir=$ac_pwd ;;
17417   [\\/]* | ?:[\\/]* )  # Absolute name.
17418     ac_srcdir=$srcdir$ac_dir_suffix;
17419     ac_top_srcdir=$srcdir
17420     ac_abs_top_srcdir=$srcdir ;;
17421   *) # Relative name.
17422     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17423     ac_top_srcdir=$ac_top_build_prefix$srcdir
17424     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17425 esac
17426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17427
17428
17429   case $ac_mode in
17430   :F)
17431   #
17432   # CONFIG_FILE
17433   #
17434
17435   case $INSTALL in
17436   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17437   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17438   esac
17439   ac_MKDIR_P=$MKDIR_P
17440   case $MKDIR_P in
17441   [\\/$]* | ?:[\\/]* ) ;;
17442   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17443   esac
17444 _ACEOF
17445
17446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17447 # If the template does not know about datarootdir, expand it.
17448 # FIXME: This hack should be removed a few years after 2.60.
17449 ac_datarootdir_hack=; ac_datarootdir_seen=
17450 ac_sed_dataroot='
17451 /datarootdir/ {
17452   p
17453   q
17454 }
17455 /@datadir@/p
17456 /@docdir@/p
17457 /@infodir@/p
17458 /@localedir@/p
17459 /@mandir@/p'
17460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17461 *datarootdir*) ac_datarootdir_seen=yes;;
17462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17463   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17464 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17465 _ACEOF
17466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467   ac_datarootdir_hack='
17468   s&@datadir@&$datadir&g
17469   s&@docdir@&$docdir&g
17470   s&@infodir@&$infodir&g
17471   s&@localedir@&$localedir&g
17472   s&@mandir@&$mandir&g
17473   s&\\\${datarootdir}&$datarootdir&g' ;;
17474 esac
17475 _ACEOF
17476
17477 # Neutralize VPATH when `$srcdir' = `.'.
17478 # Shell code in configure.ac might set extrasub.
17479 # FIXME: do we really want to maintain this feature?
17480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17481 ac_sed_extra="$ac_vpsub
17482 $extrasub
17483 _ACEOF
17484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17485 :t
17486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17487 s|@configure_input@|$ac_sed_conf_input|;t t
17488 s&@top_builddir@&$ac_top_builddir_sub&;t t
17489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17490 s&@srcdir@&$ac_srcdir&;t t
17491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17492 s&@top_srcdir@&$ac_top_srcdir&;t t
17493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17494 s&@builddir@&$ac_builddir&;t t
17495 s&@abs_builddir@&$ac_abs_builddir&;t t
17496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17497 s&@INSTALL@&$ac_INSTALL&;t t
17498 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17499 $ac_datarootdir_hack
17500 "
17501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17502   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17503
17504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17505   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17506   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17507       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17509 which seems to be undefined.  Please make sure it is defined" >&5
17510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17511 which seems to be undefined.  Please make sure it is defined" >&2;}
17512
17513   rm -f "$ac_tmp/stdin"
17514   case $ac_file in
17515   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17516   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17517   esac \
17518   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17519  ;;
17520   :H)
17521   #
17522   # CONFIG_HEADER
17523   #
17524   if test x"$ac_file" != x-; then
17525     {
17526       $as_echo "/* $configure_input  */" \
17527       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17528     } >"$ac_tmp/config.h" \
17529       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17530     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17531       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17533     else
17534       rm -f "$ac_file"
17535       mv "$ac_tmp/config.h" "$ac_file" \
17536         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17537     fi
17538   else
17539     $as_echo "/* $configure_input  */" \
17540       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17541       || as_fn_error $? "could not create -" "$LINENO" 5
17542   fi
17543 # Compute "$ac_file"'s index in $config_headers.
17544 _am_arg="$ac_file"
17545 _am_stamp_count=1
17546 for _am_header in $config_headers :; do
17547   case $_am_header in
17548     $_am_arg | $_am_arg:* )
17549       break ;;
17550     * )
17551       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17552   esac
17553 done
17554 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17555 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17556          X"$_am_arg" : 'X\(//\)[^/]' \| \
17557          X"$_am_arg" : 'X\(//\)$' \| \
17558          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17559 $as_echo X"$_am_arg" |
17560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17561             s//\1/
17562             q
17563           }
17564           /^X\(\/\/\)[^/].*/{
17565             s//\1/
17566             q
17567           }
17568           /^X\(\/\/\)$/{
17569             s//\1/
17570             q
17571           }
17572           /^X\(\/\).*/{
17573             s//\1/
17574             q
17575           }
17576           s/.*/./; q'`/stamp-h$_am_stamp_count
17577  ;;
17578
17579   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17580 $as_echo "$as_me: executing $ac_file commands" >&6;}
17581  ;;
17582   esac
17583
17584
17585   case $ac_file$ac_mode in
17586     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17587   # Older Autoconf quotes --file arguments for eval, but not when files
17588   # are listed without --file.  Let's play safe and only enable the eval
17589   # if we detect the quoting.
17590   case $CONFIG_FILES in
17591   *\'*) eval set x "$CONFIG_FILES" ;;
17592   *)   set x $CONFIG_FILES ;;
17593   esac
17594   shift
17595   for mf
17596   do
17597     # Strip MF so we end up with the name of the file.
17598     mf=`echo "$mf" | sed -e 's/:.*$//'`
17599     # Check whether this is an Automake generated Makefile or not.
17600     # We used to match only the files named 'Makefile.in', but
17601     # some people rename them; so instead we look at the file content.
17602     # Grep'ing the first line is not enough: some people post-process
17603     # each Makefile.in and add a new line on top of each file to say so.
17604     # Grep'ing the whole file is not good either: AIX grep has a line
17605     # limit of 2048, but all sed's we know have understand at least 4000.
17606     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17607       dirpart=`$as_dirname -- "$mf" ||
17608 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17609          X"$mf" : 'X\(//\)[^/]' \| \
17610          X"$mf" : 'X\(//\)$' \| \
17611          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17612 $as_echo X"$mf" |
17613     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17614             s//\1/
17615             q
17616           }
17617           /^X\(\/\/\)[^/].*/{
17618             s//\1/
17619             q
17620           }
17621           /^X\(\/\/\)$/{
17622             s//\1/
17623             q
17624           }
17625           /^X\(\/\).*/{
17626             s//\1/
17627             q
17628           }
17629           s/.*/./; q'`
17630     else
17631       continue
17632     fi
17633     # Extract the definition of DEPDIR, am__include, and am__quote
17634     # from the Makefile without running 'make'.
17635     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17636     test -z "$DEPDIR" && continue
17637     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17638     test -z "$am__include" && continue
17639     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17640     # Find all dependency output files, they are included files with
17641     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17642     # simplest approach to changing $(DEPDIR) to its actual value in the
17643     # expansion.
17644     for file in `sed -n "
17645       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17646          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17647       # Make sure the directory exists.
17648       test -f "$dirpart/$file" && continue
17649       fdir=`$as_dirname -- "$file" ||
17650 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17651          X"$file" : 'X\(//\)[^/]' \| \
17652          X"$file" : 'X\(//\)$' \| \
17653          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17654 $as_echo X"$file" |
17655     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17656             s//\1/
17657             q
17658           }
17659           /^X\(\/\/\)[^/].*/{
17660             s//\1/
17661             q
17662           }
17663           /^X\(\/\/\)$/{
17664             s//\1/
17665             q
17666           }
17667           /^X\(\/\).*/{
17668             s//\1/
17669             q
17670           }
17671           s/.*/./; q'`
17672       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17673       # echo "creating $dirpart/$file"
17674       echo '# dummy' > "$dirpart/$file"
17675     done
17676   done
17677 }
17678  ;;
17679     "libtool":C)
17680
17681     # See if we are running on zsh, and set the options which allow our
17682     # commands through without removal of \ escapes.
17683     if test -n "${ZSH_VERSION+set}" ; then
17684       setopt NO_GLOB_SUBST
17685     fi
17686
17687     cfgfile="${ofile}T"
17688     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17689     $RM "$cfgfile"
17690
17691     cat <<_LT_EOF >> "$cfgfile"
17692 #! $SHELL
17693
17694 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17695 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17696 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17698 #
17699 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17700 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17701 #                 Foundation, Inc.
17702 #   Written by Gordon Matzigkeit, 1996
17703 #
17704 #   This file is part of GNU Libtool.
17705 #
17706 # GNU Libtool is free software; you can redistribute it and/or
17707 # modify it under the terms of the GNU General Public License as
17708 # published by the Free Software Foundation; either version 2 of
17709 # the License, or (at your option) any later version.
17710 #
17711 # As a special exception to the GNU General Public License,
17712 # if you distribute this file as part of a program or library that
17713 # is built using GNU Libtool, you may include this file under the
17714 # same distribution terms that you use for the rest of that program.
17715 #
17716 # GNU Libtool is distributed in the hope that it will be useful,
17717 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17718 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17719 # GNU General Public License for more details.
17720 #
17721 # You should have received a copy of the GNU General Public License
17722 # along with GNU Libtool; see the file COPYING.  If not, a copy
17723 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17724 # obtained by writing to the Free Software Foundation, Inc.,
17725 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17726
17727
17728 # The names of the tagged configurations supported by this script.
17729 available_tags=""
17730
17731 # ### BEGIN LIBTOOL CONFIG
17732
17733 # Which release of libtool.m4 was used?
17734 macro_version=$macro_version
17735 macro_revision=$macro_revision
17736
17737 # Whether or not to build shared libraries.
17738 build_libtool_libs=$enable_shared
17739
17740 # Whether or not to build static libraries.
17741 build_old_libs=$enable_static
17742
17743 # What type of objects to build.
17744 pic_mode=$pic_mode
17745
17746 # Whether or not to optimize for fast installation.
17747 fast_install=$enable_fast_install
17748
17749 # Shell to use when invoking shell scripts.
17750 SHELL=$lt_SHELL
17751
17752 # An echo program that protects backslashes.
17753 ECHO=$lt_ECHO
17754
17755 # The PATH separator for the build system.
17756 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17757
17758 # The host system.
17759 host_alias=$host_alias
17760 host=$host
17761 host_os=$host_os
17762
17763 # The build system.
17764 build_alias=$build_alias
17765 build=$build
17766 build_os=$build_os
17767
17768 # A sed program that does not truncate output.
17769 SED=$lt_SED
17770
17771 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17772 Xsed="\$SED -e 1s/^X//"
17773
17774 # A grep program that handles long lines.
17775 GREP=$lt_GREP
17776
17777 # An ERE matcher.
17778 EGREP=$lt_EGREP
17779
17780 # A literal string matcher.
17781 FGREP=$lt_FGREP
17782
17783 # A BSD- or MS-compatible name lister.
17784 NM=$lt_NM
17785
17786 # Whether we need soft or hard links.
17787 LN_S=$lt_LN_S
17788
17789 # What is the maximum length of a command?
17790 max_cmd_len=$max_cmd_len
17791
17792 # Object file suffix (normally "o").
17793 objext=$ac_objext
17794
17795 # Executable file suffix (normally "").
17796 exeext=$exeext
17797
17798 # whether the shell understands "unset".
17799 lt_unset=$lt_unset
17800
17801 # turn spaces into newlines.
17802 SP2NL=$lt_lt_SP2NL
17803
17804 # turn newlines into spaces.
17805 NL2SP=$lt_lt_NL2SP
17806
17807 # convert \$build file names to \$host format.
17808 to_host_file_cmd=$lt_cv_to_host_file_cmd
17809
17810 # convert \$build files to toolchain format.
17811 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17812
17813 # An object symbol dumper.
17814 OBJDUMP=$lt_OBJDUMP
17815
17816 # Method to check whether dependent libraries are shared objects.
17817 deplibs_check_method=$lt_deplibs_check_method
17818
17819 # Command to use when deplibs_check_method = "file_magic".
17820 file_magic_cmd=$lt_file_magic_cmd
17821
17822 # How to find potential files when deplibs_check_method = "file_magic".
17823 file_magic_glob=$lt_file_magic_glob
17824
17825 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17826 want_nocaseglob=$lt_want_nocaseglob
17827
17828 # DLL creation program.
17829 DLLTOOL=$lt_DLLTOOL
17830
17831 # Command to associate shared and link libraries.
17832 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17833
17834 # The archiver.
17835 AR=$lt_AR
17836
17837 # Flags to create an archive.
17838 AR_FLAGS=$lt_AR_FLAGS
17839
17840 # How to feed a file listing to the archiver.
17841 archiver_list_spec=$lt_archiver_list_spec
17842
17843 # A symbol stripping program.
17844 STRIP=$lt_STRIP
17845
17846 # Commands used to install an old-style archive.
17847 RANLIB=$lt_RANLIB
17848 old_postinstall_cmds=$lt_old_postinstall_cmds
17849 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17850
17851 # Whether to use a lock for old archive extraction.
17852 lock_old_archive_extraction=$lock_old_archive_extraction
17853
17854 # A C compiler.
17855 LTCC=$lt_CC
17856
17857 # LTCC compiler flags.
17858 LTCFLAGS=$lt_CFLAGS
17859
17860 # Take the output of nm and produce a listing of raw symbols and C names.
17861 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17862
17863 # Transform the output of nm in a proper C declaration.
17864 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17865
17866 # Transform the output of nm in a C name address pair.
17867 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17868
17869 # Transform the output of nm in a C name address pair when lib prefix is needed.
17870 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17871
17872 # Specify filename containing input files for \$NM.
17873 nm_file_list_spec=$lt_nm_file_list_spec
17874
17875 # The root where to search for dependent libraries,and in which our libraries should be installed.
17876 lt_sysroot=$lt_sysroot
17877
17878 # The name of the directory that contains temporary libtool files.
17879 objdir=$objdir
17880
17881 # Used to examine libraries when file_magic_cmd begins with "file".
17882 MAGIC_CMD=$MAGIC_CMD
17883
17884 # Must we lock files when doing compilation?
17885 need_locks=$lt_need_locks
17886
17887 # Manifest tool.
17888 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17889
17890 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17891 DSYMUTIL=$lt_DSYMUTIL
17892
17893 # Tool to change global to local symbols on Mac OS X.
17894 NMEDIT=$lt_NMEDIT
17895
17896 # Tool to manipulate fat objects and archives on Mac OS X.
17897 LIPO=$lt_LIPO
17898
17899 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17900 OTOOL=$lt_OTOOL
17901
17902 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17903 OTOOL64=$lt_OTOOL64
17904
17905 # Old archive suffix (normally "a").
17906 libext=$libext
17907
17908 # Shared library suffix (normally ".so").
17909 shrext_cmds=$lt_shrext_cmds
17910
17911 # The commands to extract the exported symbol list from a shared archive.
17912 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17913
17914 # Variables whose values should be saved in libtool wrapper scripts and
17915 # restored at link time.
17916 variables_saved_for_relink=$lt_variables_saved_for_relink
17917
17918 # Do we need the "lib" prefix for modules?
17919 need_lib_prefix=$need_lib_prefix
17920
17921 # Do we need a version for libraries?
17922 need_version=$need_version
17923
17924 # Library versioning type.
17925 version_type=$version_type
17926
17927 # Shared library runtime path variable.
17928 runpath_var=$runpath_var
17929
17930 # Shared library path variable.
17931 shlibpath_var=$shlibpath_var
17932
17933 # Is shlibpath searched before the hard-coded library search path?
17934 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17935
17936 # Format of library name prefix.
17937 libname_spec=$lt_libname_spec
17938
17939 # List of archive names.  First name is the real one, the rest are links.
17940 # The last name is the one that the linker finds with -lNAME
17941 library_names_spec=$lt_library_names_spec
17942
17943 # The coded name of the library, if different from the real name.
17944 soname_spec=$lt_soname_spec
17945
17946 # Permission mode override for installation of shared libraries.
17947 install_override_mode=$lt_install_override_mode
17948
17949 # Command to use after installation of a shared archive.
17950 postinstall_cmds=$lt_postinstall_cmds
17951
17952 # Command to use after uninstallation of a shared archive.
17953 postuninstall_cmds=$lt_postuninstall_cmds
17954
17955 # Commands used to finish a libtool library installation in a directory.
17956 finish_cmds=$lt_finish_cmds
17957
17958 # As "finish_cmds", except a single script fragment to be evaled but
17959 # not shown.
17960 finish_eval=$lt_finish_eval
17961
17962 # Whether we should hardcode library paths into libraries.
17963 hardcode_into_libs=$hardcode_into_libs
17964
17965 # Compile-time system search path for libraries.
17966 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17967
17968 # Run-time system search path for libraries.
17969 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17970
17971 # Whether dlopen is supported.
17972 dlopen_support=$enable_dlopen
17973
17974 # Whether dlopen of programs is supported.
17975 dlopen_self=$enable_dlopen_self
17976
17977 # Whether dlopen of statically linked programs is supported.
17978 dlopen_self_static=$enable_dlopen_self_static
17979
17980 # Commands to strip libraries.
17981 old_striplib=$lt_old_striplib
17982 striplib=$lt_striplib
17983
17984
17985 # The linker used to build libraries.
17986 LD=$lt_LD
17987
17988 # How to create reloadable object files.
17989 reload_flag=$lt_reload_flag
17990 reload_cmds=$lt_reload_cmds
17991
17992 # Commands used to build an old-style archive.
17993 old_archive_cmds=$lt_old_archive_cmds
17994
17995 # A language specific compiler.
17996 CC=$lt_compiler
17997
17998 # Is the compiler the GNU compiler?
17999 with_gcc=$GCC
18000
18001 # Compiler flag to turn off builtin functions.
18002 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18003
18004 # Additional compiler flags for building library objects.
18005 pic_flag=$lt_lt_prog_compiler_pic
18006
18007 # How to pass a linker flag through the compiler.
18008 wl=$lt_lt_prog_compiler_wl
18009
18010 # Compiler flag to prevent dynamic linking.
18011 link_static_flag=$lt_lt_prog_compiler_static
18012
18013 # Does compiler simultaneously support -c and -o options?
18014 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18015
18016 # Whether or not to add -lc for building shared libraries.
18017 build_libtool_need_lc=$archive_cmds_need_lc
18018
18019 # Whether or not to disallow shared libs when runtime libs are static.
18020 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18021
18022 # Compiler flag to allow reflexive dlopens.
18023 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18024
18025 # Compiler flag to generate shared objects directly from archives.
18026 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18027
18028 # Whether the compiler copes with passing no objects directly.
18029 compiler_needs_object=$lt_compiler_needs_object
18030
18031 # Create an old-style archive from a shared archive.
18032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18033
18034 # Create a temporary old-style archive to link instead of a shared archive.
18035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18036
18037 # Commands used to build a shared archive.
18038 archive_cmds=$lt_archive_cmds
18039 archive_expsym_cmds=$lt_archive_expsym_cmds
18040
18041 # Commands used to build a loadable module if different from building
18042 # a shared archive.
18043 module_cmds=$lt_module_cmds
18044 module_expsym_cmds=$lt_module_expsym_cmds
18045
18046 # Whether we are building with GNU ld or not.
18047 with_gnu_ld=$lt_with_gnu_ld
18048
18049 # Flag that allows shared libraries with undefined symbols to be built.
18050 allow_undefined_flag=$lt_allow_undefined_flag
18051
18052 # Flag that enforces no undefined symbols.
18053 no_undefined_flag=$lt_no_undefined_flag
18054
18055 # Flag to hardcode \$libdir into a binary during linking.
18056 # This must work even if \$libdir does not exist
18057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18058
18059 # Whether we need a single "-rpath" flag with a separated argument.
18060 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18061
18062 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18063 # DIR into the resulting binary.
18064 hardcode_direct=$hardcode_direct
18065
18066 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18067 # DIR into the resulting binary and the resulting library dependency is
18068 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18069 # library is relocated.
18070 hardcode_direct_absolute=$hardcode_direct_absolute
18071
18072 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18073 # into the resulting binary.
18074 hardcode_minus_L=$hardcode_minus_L
18075
18076 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18077 # into the resulting binary.
18078 hardcode_shlibpath_var=$hardcode_shlibpath_var
18079
18080 # Set to "yes" if building a shared library automatically hardcodes DIR
18081 # into the library and all subsequent libraries and executables linked
18082 # against it.
18083 hardcode_automatic=$hardcode_automatic
18084
18085 # Set to yes if linker adds runtime paths of dependent libraries
18086 # to runtime path list.
18087 inherit_rpath=$inherit_rpath
18088
18089 # Whether libtool must link a program against all its dependency libraries.
18090 link_all_deplibs=$link_all_deplibs
18091
18092 # Set to "yes" if exported symbols are required.
18093 always_export_symbols=$always_export_symbols
18094
18095 # The commands to list exported symbols.
18096 export_symbols_cmds=$lt_export_symbols_cmds
18097
18098 # Symbols that should not be listed in the preloaded symbols.
18099 exclude_expsyms=$lt_exclude_expsyms
18100
18101 # Symbols that must always be exported.
18102 include_expsyms=$lt_include_expsyms
18103
18104 # Commands necessary for linking programs (against libraries) with templates.
18105 prelink_cmds=$lt_prelink_cmds
18106
18107 # Commands necessary for finishing linking programs.
18108 postlink_cmds=$lt_postlink_cmds
18109
18110 # Specify filename containing input files.
18111 file_list_spec=$lt_file_list_spec
18112
18113 # How to hardcode a shared library path into an executable.
18114 hardcode_action=$hardcode_action
18115
18116 # ### END LIBTOOL CONFIG
18117
18118 _LT_EOF
18119
18120   case $host_os in
18121   aix3*)
18122     cat <<\_LT_EOF >> "$cfgfile"
18123 # AIX sometimes has problems with the GCC collect2 program.  For some
18124 # reason, if we set the COLLECT_NAMES environment variable, the problems
18125 # vanish in a puff of smoke.
18126 if test "X${COLLECT_NAMES+set}" != Xset; then
18127   COLLECT_NAMES=
18128   export COLLECT_NAMES
18129 fi
18130 _LT_EOF
18131     ;;
18132   esac
18133
18134
18135 ltmain="$ac_aux_dir/ltmain.sh"
18136
18137
18138   # We use sed instead of cat because bash on DJGPP gets confused if
18139   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18140   # text mode, it properly converts lines to CR/LF.  This bash problem
18141   # is reportedly fixed, but why not run on old versions too?
18142   sed '$q' "$ltmain" >> "$cfgfile" \
18143      || (rm -f "$cfgfile"; exit 1)
18144
18145   if test x"$xsi_shell" = xyes; then
18146   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18147 func_dirname ()\
18148 {\
18149 \    case ${1} in\
18150 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18151 \      *  ) func_dirname_result="${3}" ;;\
18152 \    esac\
18153 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18154   && mv -f "$cfgfile.tmp" "$cfgfile" \
18155     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18156 test 0 -eq $? || _lt_function_replace_fail=:
18157
18158
18159   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18160 func_basename ()\
18161 {\
18162 \    func_basename_result="${1##*/}"\
18163 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18164   && mv -f "$cfgfile.tmp" "$cfgfile" \
18165     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18166 test 0 -eq $? || _lt_function_replace_fail=:
18167
18168
18169   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18170 func_dirname_and_basename ()\
18171 {\
18172 \    case ${1} in\
18173 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18174 \      *  ) func_dirname_result="${3}" ;;\
18175 \    esac\
18176 \    func_basename_result="${1##*/}"\
18177 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18178   && mv -f "$cfgfile.tmp" "$cfgfile" \
18179     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18180 test 0 -eq $? || _lt_function_replace_fail=:
18181
18182
18183   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18184 func_stripname ()\
18185 {\
18186 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18187 \    # positional parameters, so assign one to ordinary parameter first.\
18188 \    func_stripname_result=${3}\
18189 \    func_stripname_result=${func_stripname_result#"${1}"}\
18190 \    func_stripname_result=${func_stripname_result%"${2}"}\
18191 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18192   && mv -f "$cfgfile.tmp" "$cfgfile" \
18193     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18194 test 0 -eq $? || _lt_function_replace_fail=:
18195
18196
18197   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18198 func_split_long_opt ()\
18199 {\
18200 \    func_split_long_opt_name=${1%%=*}\
18201 \    func_split_long_opt_arg=${1#*=}\
18202 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18203   && mv -f "$cfgfile.tmp" "$cfgfile" \
18204     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18205 test 0 -eq $? || _lt_function_replace_fail=:
18206
18207
18208   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18209 func_split_short_opt ()\
18210 {\
18211 \    func_split_short_opt_arg=${1#??}\
18212 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18213 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18214   && mv -f "$cfgfile.tmp" "$cfgfile" \
18215     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18216 test 0 -eq $? || _lt_function_replace_fail=:
18217
18218
18219   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18220 func_lo2o ()\
18221 {\
18222 \    case ${1} in\
18223 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18224 \      *)    func_lo2o_result=${1} ;;\
18225 \    esac\
18226 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18227   && mv -f "$cfgfile.tmp" "$cfgfile" \
18228     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18229 test 0 -eq $? || _lt_function_replace_fail=:
18230
18231
18232   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18233 func_xform ()\
18234 {\
18235     func_xform_result=${1%.*}.lo\
18236 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18237   && mv -f "$cfgfile.tmp" "$cfgfile" \
18238     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18239 test 0 -eq $? || _lt_function_replace_fail=:
18240
18241
18242   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18243 func_arith ()\
18244 {\
18245     func_arith_result=$(( $* ))\
18246 } # Extended-shell func_arith 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_len ()$/,/^} # func_len /c\
18253 func_len ()\
18254 {\
18255     func_len_result=${#1}\
18256 } # Extended-shell func_len 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 fi
18262
18263 if test x"$lt_shell_append" = xyes; then
18264   sed -e '/^func_append ()$/,/^} # func_append /c\
18265 func_append ()\
18266 {\
18267     eval "${1}+=\\${2}"\
18268 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18269   && mv -f "$cfgfile.tmp" "$cfgfile" \
18270     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18271 test 0 -eq $? || _lt_function_replace_fail=:
18272
18273
18274   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18275 func_append_quoted ()\
18276 {\
18277 \    func_quote_for_eval "${2}"\
18278 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18279 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18280   && mv -f "$cfgfile.tmp" "$cfgfile" \
18281     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18282 test 0 -eq $? || _lt_function_replace_fail=:
18283
18284
18285   # Save a `func_append' function call where possible by direct use of '+='
18286   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18287     && mv -f "$cfgfile.tmp" "$cfgfile" \
18288       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18289   test 0 -eq $? || _lt_function_replace_fail=:
18290 else
18291   # Save a `func_append' function call even when '+=' is not available
18292   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18293     && mv -f "$cfgfile.tmp" "$cfgfile" \
18294       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18295   test 0 -eq $? || _lt_function_replace_fail=:
18296 fi
18297
18298 if test x"$_lt_function_replace_fail" = x":"; then
18299   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18300 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18301 fi
18302
18303
18304    mv -f "$cfgfile" "$ofile" ||
18305     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18306   chmod +x "$ofile"
18307
18308  ;;
18309     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18310         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18311       esac ;;
18312     "po/stamp-it":C)
18313     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18314        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18315     fi
18316     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18317     >"po/stamp-it.tmp"
18318     sed '/^#/d
18319          s/^[[].*] *//
18320          /^[    ]*$/d
18321         '"s|^|  $ac_top_srcdir/|" \
18322       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18323
18324     sed '/^POTFILES =/,/[^\\]$/ {
18325                 /^POTFILES =/!d
18326                 r po/POTFILES
18327           }
18328          ' "po/Makefile.in" >"po/Makefile"
18329     rm -f "po/Makefile.tmp"
18330     mv "po/stamp-it.tmp" "po/stamp-it"
18331    ;;
18332
18333   esac
18334 done # for ac_tag
18335
18336
18337 as_fn_exit 0
18338 _ACEOF
18339 ac_clean_files=$ac_clean_files_save
18340
18341 test $ac_write_fail = 0 ||
18342   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18343
18344
18345 # configure is writing to config.log, and then calls config.status.
18346 # config.status does its own redirection, appending to config.log.
18347 # Unfortunately, on DOS this fails, as config.log is still kept open
18348 # by configure, so config.status won't be able to write to it; its
18349 # output is simply discarded.  So we exec the FD to /dev/null,
18350 # effectively closing config.log, so it can be properly (re)opened and
18351 # appended to by config.status.  When coming back to configure, we
18352 # need to make the FD available again.
18353 if test "$no_create" != yes; then
18354   ac_cs_success=:
18355   ac_config_status_args=
18356   test "$silent" = yes &&
18357     ac_config_status_args="$ac_config_status_args --quiet"
18358   exec 5>/dev/null
18359   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18360   exec 5>>config.log
18361   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18362   # would make configure fail if this is the last instruction.
18363   $ac_cs_success || as_fn_exit 1
18364 fi
18365 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18366   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18367 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18368 fi
18369
18370
18371
18372 echo "
18373
18374 Configuration:
18375
18376         Package ................. ${PACKAGE}-${VERSION}
18377         Installation prefix ..... ${prefix}
18378         Source code location .... ${srcdir}
18379         Compiler ................ ${CC}
18380
18381
18382 Optional data merge backends:
18383
18384         Evolution Data Server ... ${have_libebook}
18385
18386
18387 Optional barcode backends:
18388
18389         GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
18390         QR Code ................. ${have_libqrencode} ${help_libqrencode}
18391         IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
18392         Zint .................... ${have_libzint} ${help_libzint}
18393
18394
18395 "