1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xfce4-weather-plugin 0.11.0.
4#
5# Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin>.
6#
7# Copyright (c) 2006-2020
8#         The Xfce development team. All rights reserved.
9#
10#
11# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12#
13#
14# This configure script is free software; the Free Software Foundation
15# gives unlimited permission to copy, distribute and modify it.
16## -------------------- ##
17## M4sh Initialization. ##
18## -------------------- ##
19
20# Be more Bourne compatible
21DUALCASE=1; export DUALCASE # for MKS sh
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23  emulate sh
24  NULLCMD=:
25  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26  # is contrary to our usage.  Disable this feature.
27  alias -g '${1+"$@"}'='"$@"'
28  setopt NO_GLOB_SUBST
29else
30  case `(set -o) 2>/dev/null` in #(
31  *posix*) :
32    set -o posix ;; #(
33  *) :
34     ;;
35esac
36fi
37
38
39as_nl='
40'
41export as_nl
42# Printing a long string crashes Solaris 7 /usr/bin/printf.
43as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46# Prefer a ksh shell builtin over an external printf program on Solaris,
47# but without wasting forks for bash or zsh.
48if test -z "$BASH_VERSION$ZSH_VERSION" \
49    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='print -r --'
51  as_echo_n='print -rn --'
52elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53  as_echo='printf %s\n'
54  as_echo_n='printf %s'
55else
56  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58    as_echo_n='/usr/ucb/echo -n'
59  else
60    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61    as_echo_n_body='eval
62      arg=$1;
63      case $arg in #(
64      *"$as_nl"*)
65	expr "X$arg" : "X\\(.*\\)$as_nl";
66	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67      esac;
68      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69    '
70    export as_echo_n_body
71    as_echo_n='sh -c $as_echo_n_body as_echo'
72  fi
73  export as_echo_body
74  as_echo='sh -c $as_echo_body as_echo'
75fi
76
77# The user is always right.
78if test "${PATH_SEPARATOR+set}" != set; then
79  PATH_SEPARATOR=:
80  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82      PATH_SEPARATOR=';'
83  }
84fi
85
86
87# IFS
88# We need space, tab and new line, in precisely that order.  Quoting is
89# there to prevent editors from complaining about space-tab.
90# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91# splitting by setting IFS to empty value.)
92IFS=" ""	$as_nl"
93
94# Find who we are.  Look in the path if we contain no directory separator.
95as_myself=
96case $0 in #((
97  *[\\/]* ) as_myself=$0 ;;
98  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99for as_dir in $PATH
100do
101  IFS=$as_save_IFS
102  test -z "$as_dir" && as_dir=.
103    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104  done
105IFS=$as_save_IFS
106
107     ;;
108esac
109# We did not find ourselves, most probably we were run as `sh COMMAND'
110# in which case we are not to be found in the path.
111if test "x$as_myself" = x; then
112  as_myself=$0
113fi
114if test ! -f "$as_myself"; then
115  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116  exit 1
117fi
118
119# Unset variables that we do not need and which cause bugs (e.g. in
120# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
121# suppresses any "Segmentation fault" message there.  '((' could
122# trigger a bug in pdksh 5.2.14.
123for as_var in BASH_ENV ENV MAIL MAILPATH
124do eval test x\${$as_var+set} = xset \
125  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126done
127PS1='$ '
128PS2='> '
129PS4='+ '
130
131# NLS nuisances.
132LC_ALL=C
133export LC_ALL
134LANGUAGE=C
135export LANGUAGE
136
137# CDPATH.
138(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
140# Use a proper internal environment variable to ensure we don't fall
141  # into an infinite loop, continuously re-executing ourselves.
142  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
143    _as_can_reexec=no; export _as_can_reexec;
144    # We cannot yet assume a decent shell, so we have to provide a
145# neutralization value for shells without unset; and this also
146# works around shells that cannot unset nonexistent variables.
147# Preserve -v and -x to the replacement shell.
148BASH_ENV=/dev/null
149ENV=/dev/null
150(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
151case $- in # ((((
152  *v*x* | *x*v* ) as_opts=-vx ;;
153  *v* ) as_opts=-v ;;
154  *x* ) as_opts=-x ;;
155  * ) as_opts= ;;
156esac
157exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
158# Admittedly, this is quite paranoid, since all the known shells bail
159# out after a failed `exec'.
160$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161as_fn_exit 255
162  fi
163  # We don't want this to propagate to other subprocesses.
164          { _as_can_reexec=; unset _as_can_reexec;}
165if test "x$CONFIG_SHELL" = x; then
166  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167  emulate sh
168  NULLCMD=:
169  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
170  # is contrary to our usage.  Disable this feature.
171  alias -g '\${1+\"\$@\"}'='\"\$@\"'
172  setopt NO_GLOB_SUBST
173else
174  case \`(set -o) 2>/dev/null\` in #(
175  *posix*) :
176    set -o posix ;; #(
177  *) :
178     ;;
179esac
180fi
181"
182  as_required="as_fn_return () { (exit \$1); }
183as_fn_success () { as_fn_return 0; }
184as_fn_failure () { as_fn_return 1; }
185as_fn_ret_success () { return 0; }
186as_fn_ret_failure () { return 1; }
187
188exitcode=0
189as_fn_success || { exitcode=1; echo as_fn_success failed.; }
190as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
191as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
192as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
193if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194
195else
196  exitcode=1; echo positional parameters were not saved.
197fi
198test x\$exitcode = x0 || exit 1
199test -x / || exit 1"
200  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
201  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
202  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
203  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204test \$(( 1 + 1 )) = 2 || exit 1
205
206  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
207    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
208    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
209    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
210    PATH=/empty FPATH=/empty; export PATH FPATH
211    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
212      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
213  if (eval "$as_required") 2>/dev/null; then :
214  as_have_required=yes
215else
216  as_have_required=no
217fi
218  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
219
220else
221  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222as_found=false
223for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224do
225  IFS=$as_save_IFS
226  test -z "$as_dir" && as_dir=.
227  as_found=:
228  case $as_dir in #(
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     # Try only shells that exist, to save several forks.
232	     as_shell=$as_dir/$as_base
233	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
234		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
235  CONFIG_SHELL=$as_shell as_have_required=yes
236		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
237  break 2
238fi
239fi
240	   done;;
241       esac
242  as_found=false
243done
244$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
245	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
246  CONFIG_SHELL=$SHELL as_have_required=yes
247fi; }
248IFS=$as_save_IFS
249
250
251      if test "x$CONFIG_SHELL" != x; then :
252  export CONFIG_SHELL
253             # We cannot yet assume a decent shell, so we have to provide a
254# neutralization value for shells without unset; and this also
255# works around shells that cannot unset nonexistent variables.
256# Preserve -v and -x to the replacement shell.
257BASH_ENV=/dev/null
258ENV=/dev/null
259(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
260case $- in # ((((
261  *v*x* | *x*v* ) as_opts=-vx ;;
262  *v* ) as_opts=-v ;;
263  *x* ) as_opts=-x ;;
264  * ) as_opts= ;;
265esac
266exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
267# Admittedly, this is quite paranoid, since all the known shells bail
268# out after a failed `exec'.
269$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270exit 255
271fi
272
273    if test x$as_have_required = xno; then :
274  $as_echo "$0: This script requires a shell more modern than all"
275  $as_echo "$0: the shells that I found on your system."
276  if test x${ZSH_VERSION+set} = xset ; then
277    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
278    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279  else
280    $as_echo "$0: Please tell bug-autoconf@gnu.org and
281$0: https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin
282$0: about your system, including any error possibly output
283$0: before this message. Then install a modern shell, or
284$0: manually run the script under such a shell if you do
285$0: have one."
286  fi
287  exit 1
288fi
289fi
290fi
291SHELL=${CONFIG_SHELL-/bin/sh}
292export SHELL
293# Unset more variables known to interfere with behavior of common tools.
294CLICOLOR_FORCE= GREP_OPTIONS=
295unset CLICOLOR_FORCE GREP_OPTIONS
296
297## --------------------- ##
298## M4sh Shell Functions. ##
299## --------------------- ##
300# as_fn_unset VAR
301# ---------------
302# Portably unset VAR.
303as_fn_unset ()
304{
305  { eval $1=; unset $1;}
306}
307as_unset=as_fn_unset
308
309# as_fn_set_status STATUS
310# -----------------------
311# Set $? to STATUS, without forking.
312as_fn_set_status ()
313{
314  return $1
315} # as_fn_set_status
316
317# as_fn_exit STATUS
318# -----------------
319# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
320as_fn_exit ()
321{
322  set +e
323  as_fn_set_status $1
324  exit $1
325} # as_fn_exit
326
327# as_fn_mkdir_p
328# -------------
329# Create "$as_dir" as a directory, including parents if necessary.
330as_fn_mkdir_p ()
331{
332
333  case $as_dir in #(
334  -*) as_dir=./$as_dir;;
335  esac
336  test -d "$as_dir" || eval $as_mkdir_p || {
337    as_dirs=
338    while :; do
339      case $as_dir in #(
340      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341      *) as_qdir=$as_dir;;
342      esac
343      as_dirs="'$as_qdir' $as_dirs"
344      as_dir=`$as_dirname -- "$as_dir" ||
345$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
346	 X"$as_dir" : 'X\(//\)[^/]' \| \
347	 X"$as_dir" : 'X\(//\)$' \| \
348	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
349$as_echo X"$as_dir" |
350    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)[^/].*/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\/\)$/{
359	    s//\1/
360	    q
361	  }
362	  /^X\(\/\).*/{
363	    s//\1/
364	    q
365	  }
366	  s/.*/./; q'`
367      test -d "$as_dir" && break
368    done
369    test -z "$as_dirs" || eval "mkdir $as_dirs"
370  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
372
373} # as_fn_mkdir_p
374
375# as_fn_executable_p FILE
376# -----------------------
377# Test if FILE is an executable regular file.
378as_fn_executable_p ()
379{
380  test -f "$1" && test -x "$1"
381} # as_fn_executable_p
382# as_fn_append VAR VALUE
383# ----------------------
384# Append the text in VALUE to the end of the definition contained in VAR. Take
385# advantage of any shell optimizations that allow amortized linear growth over
386# repeated appends, instead of the typical quadratic growth present in naive
387# implementations.
388if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
389  eval 'as_fn_append ()
390  {
391    eval $1+=\$2
392  }'
393else
394  as_fn_append ()
395  {
396    eval $1=\$$1\$2
397  }
398fi # as_fn_append
399
400# as_fn_arith ARG...
401# ------------------
402# Perform arithmetic evaluation on the ARGs, and store the result in the
403# global $as_val. Take advantage of shells that can avoid forks. The arguments
404# must be portable across $(()) and expr.
405if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406  eval 'as_fn_arith ()
407  {
408    as_val=$(( $* ))
409  }'
410else
411  as_fn_arith ()
412  {
413    as_val=`expr "$@" || test $? -eq 1`
414  }
415fi # as_fn_arith
416
417
418# as_fn_error STATUS ERROR [LINENO LOG_FD]
419# ----------------------------------------
420# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
421# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
422# script with STATUS, using 1 if that was 0.
423as_fn_error ()
424{
425  as_status=$1; test $as_status -eq 0 && as_status=1
426  if test "$4"; then
427    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
428    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
429  fi
430  $as_echo "$as_me: error: $2" >&2
431  as_fn_exit $as_status
432} # as_fn_error
433
434if expr a : '\(a\)' >/dev/null 2>&1 &&
435   test "X`expr 00001 : '.*\(...\)'`" = X001; then
436  as_expr=expr
437else
438  as_expr=false
439fi
440
441if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442  as_basename=basename
443else
444  as_basename=false
445fi
446
447if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
448  as_dirname=dirname
449else
450  as_dirname=false
451fi
452
453as_me=`$as_basename -- "$0" ||
454$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
455	 X"$0" : 'X\(//\)$' \| \
456	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
457$as_echo X/"$0" |
458    sed '/^.*\/\([^/][^/]*\)\/*$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\/\)$/{
463	    s//\1/
464	    q
465	  }
466	  /^X\/\(\/\).*/{
467	    s//\1/
468	    q
469	  }
470	  s/.*/./; q'`
471
472# Avoid depending upon Character Ranges.
473as_cr_letters='abcdefghijklmnopqrstuvwxyz'
474as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
475as_cr_Letters=$as_cr_letters$as_cr_LETTERS
476as_cr_digits='0123456789'
477as_cr_alnum=$as_cr_Letters$as_cr_digits
478
479
480  as_lineno_1=$LINENO as_lineno_1a=$LINENO
481  as_lineno_2=$LINENO as_lineno_2a=$LINENO
482  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
483  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
484  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
485  sed -n '
486    p
487    /[$]LINENO/=
488  ' <$as_myself |
489    sed '
490      s/[$]LINENO.*/&-/
491      t lineno
492      b
493      :lineno
494      N
495      :loop
496      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497      t loop
498      s/-\n.*//
499    ' >$as_me.lineno &&
500  chmod +x "$as_me.lineno" ||
501    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
502
503  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504  # already done that, so ensure we don't try to do so again and fall
505  # in an infinite loop.  This has already happened in practice.
506  _as_can_reexec=no; export _as_can_reexec
507  # Don't try to exec as it changes $[0], causing all sort of problems
508  # (the dirname of $[0] is not the place where we might find the
509  # original and so on.  Autoconf is especially sensitive to this).
510  . "./$as_me.lineno"
511  # Exit status is that of the last command.
512  exit
513}
514
515ECHO_C= ECHO_N= ECHO_T=
516case `echo -n x` in #(((((
517-n*)
518  case `echo 'xy\c'` in
519  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
520  xy)  ECHO_C='\c';;
521  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
522       ECHO_T='	';;
523  esac;;
524*)
525  ECHO_N='-n';;
526esac
527
528rm -f conf$$ conf$$.exe conf$$.file
529if test -d conf$$.dir; then
530  rm -f conf$$.dir/conf$$.file
531else
532  rm -f conf$$.dir
533  mkdir conf$$.dir 2>/dev/null
534fi
535if (echo >conf$$.file) 2>/dev/null; then
536  if ln -s conf$$.file conf$$ 2>/dev/null; then
537    as_ln_s='ln -s'
538    # ... but there are two gotchas:
539    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
540    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
541    # In both cases, we have to default to `cp -pR'.
542    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
543      as_ln_s='cp -pR'
544  elif ln conf$$.file conf$$ 2>/dev/null; then
545    as_ln_s=ln
546  else
547    as_ln_s='cp -pR'
548  fi
549else
550  as_ln_s='cp -pR'
551fi
552rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
553rmdir conf$$.dir 2>/dev/null
554
555if mkdir -p . 2>/dev/null; then
556  as_mkdir_p='mkdir -p "$as_dir"'
557else
558  test -d ./-p && rmdir ./-p
559  as_mkdir_p=false
560fi
561
562as_test_x='test -x'
563as_executable_p=as_fn_executable_p
564
565# Sed expression to map a string onto a valid CPP name.
566as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
567
568# Sed expression to map a string onto a valid variable name.
569as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570
571SHELL=${CONFIG_SHELL-/bin/sh}
572
573
574test -n "$DJDIR" || exec 7<&0 </dev/null
575exec 6>&1
576
577# Name of the host.
578# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579# so uname gets run too.
580ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
582#
583# Initializations.
584#
585ac_default_prefix=/usr/local
586ac_clean_files=
587ac_config_libobj_dir=.
588LIBOBJS=
589cross_compiling=no
590subdirs=
591MFLAGS=
592MAKEFLAGS=
593
594# Identity of this package.
595PACKAGE_NAME='xfce4-weather-plugin'
596PACKAGE_TARNAME='xfce4-weather-plugin'
597PACKAGE_VERSION='0.11.0'
598PACKAGE_STRING='xfce4-weather-plugin 0.11.0'
599PACKAGE_BUGREPORT='https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin'
600PACKAGE_URL=''
601
602# Factoring default headers for most tests.
603ac_includes_default="\
604#include <stdio.h>
605#ifdef HAVE_SYS_TYPES_H
606# include <sys/types.h>
607#endif
608#ifdef HAVE_SYS_STAT_H
609# include <sys/stat.h>
610#endif
611#ifdef STDC_HEADERS
612# include <stdlib.h>
613# include <stddef.h>
614#else
615# ifdef HAVE_STDLIB_H
616#  include <stdlib.h>
617# endif
618#endif
619#ifdef HAVE_STRING_H
620# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621#  include <memory.h>
622# endif
623# include <string.h>
624#endif
625#ifdef HAVE_STRINGS_H
626# include <strings.h>
627#endif
628#ifdef HAVE_INTTYPES_H
629# include <inttypes.h>
630#endif
631#ifdef HAVE_STDINT_H
632# include <stdint.h>
633#endif
634#ifdef HAVE_UNISTD_H
635# include <unistd.h>
636#endif"
637
638ac_subst_vars='am__EXEEXT_FALSE
639am__EXEEXT_TRUE
640LTLIBOBJS
641LIBOBJS
642GEONAMES_USERNAME
643HAVE_UPOWER_GLIB_FALSE
644HAVE_UPOWER_GLIB_TRUE
645UPOWER_GLIB_REQUIRED_VERSION
646UPOWER_GLIB_LIBS
647UPOWER_GLIB_CFLAGS
648UPOWER_GLIB_VERSION
649SOUP_REQUIRED_VERSION
650SOUP_LIBS
651SOUP_CFLAGS
652SOUP_VERSION
653LIBXML_REQUIRED_VERSION
654LIBXML_LIBS
655LIBXML_CFLAGS
656LIBXML_VERSION
657XFCONF_REQUIRED_VERSION
658XFCONF_LIBS
659XFCONF_CFLAGS
660XFCONF_VERSION
661LIBXFCE4PANEL_REQUIRED_VERSION
662LIBXFCE4PANEL_LIBS
663LIBXFCE4PANEL_CFLAGS
664LIBXFCE4PANEL_VERSION
665LIBXFCE4UI_REQUIRED_VERSION
666LIBXFCE4UI_LIBS
667LIBXFCE4UI_CFLAGS
668LIBXFCE4UI_VERSION
669LIBXFCE4UTIL_REQUIRED_VERSION
670LIBXFCE4UTIL_LIBS
671LIBXFCE4UTIL_CFLAGS
672LIBXFCE4UTIL_VERSION
673GLIB_REQUIRED_VERSION
674GLIB_LIBS
675GLIB_CFLAGS
676GLIB_VERSION
677GTHREAD_REQUIRED_VERSION
678GTHREAD_LIBS
679GTHREAD_CFLAGS
680GTHREAD_VERSION
681GTK_REQUIRED_VERSION
682GTK_LIBS
683GTK_CFLAGS
684GTK_VERSION
685PKG_CONFIG_LIBDIR
686PKG_CONFIG_PATH
687PKG_CONFIG
688XGETTEXT_ARGS
689MKINSTALLDIRS
690POSUB
691POFILES
692PO_IN_DATADIR_FALSE
693PO_IN_DATADIR_TRUE
694INTLLIBS
695INSTOBJEXT
696GMOFILES
697DATADIRNAME
698CATOBJEXT
699CATALOGS
700MSGFMT_OPTS
701INTL_MACOSX_LIBS
702GETTEXT_PACKAGE
703LIBM
704CPP
705LT_SYS_LIBRARY_PATH
706OTOOL64
707OTOOL
708LIPO
709NMEDIT
710DSYMUTIL
711MANIFEST_TOOL
712RANLIB
713ac_ct_AR
714AR
715DLLTOOL
716OBJDUMP
717LN_S
718NM
719ac_ct_DUMPBIN
720DUMPBIN
721LIBTOOL
722ALL_LINGUAS
723INTLTOOL_PERL
724GMSGFMT
725MSGFMT
726MSGMERGE
727XGETTEXT
728INTLTOOL_POLICY_RULE
729INTLTOOL_SERVICE_RULE
730INTLTOOL_THEME_RULE
731INTLTOOL_SCHEMAS_RULE
732INTLTOOL_CAVES_RULE
733INTLTOOL_XML_NOMERGE_RULE
734INTLTOOL_XML_RULE
735INTLTOOL_KBD_RULE
736INTLTOOL_XAM_RULE
737INTLTOOL_UI_RULE
738INTLTOOL_SOUNDLIST_RULE
739INTLTOOL_SHEET_RULE
740INTLTOOL_SERVER_RULE
741INTLTOOL_PONG_RULE
742INTLTOOL_OAF_RULE
743INTLTOOL_PROP_RULE
744INTLTOOL_KEYS_RULE
745INTLTOOL_DIRECTORY_RULE
746INTLTOOL_DESKTOP_RULE
747intltool__v_merge_options_0
748intltool__v_merge_options_
749INTLTOOL_V_MERGE_OPTIONS
750INTLTOOL__v_MERGE_0
751INTLTOOL__v_MERGE_
752INTLTOOL_V_MERGE
753INTLTOOL_EXTRACT
754INTLTOOL_MERGE
755INTLTOOL_UPDATE
756USE_NLS
757LD
758FGREP
759EGREP
760GREP
761SED
762host_os
763host_vendor
764host_cpu
765host
766build_os
767build_vendor
768build_cpu
769build
770am__fastdepCC_FALSE
771am__fastdepCC_TRUE
772CCDEPMODE
773am__nodep
774AMDEPBACKSLASH
775AMDEP_FALSE
776AMDEP_TRUE
777am__include
778DEPDIR
779OBJEXT
780EXEEXT
781ac_ct_CC
782CPPFLAGS
783LDFLAGS
784CFLAGS
785CC
786MAINT
787MAINTAINER_MODE_FALSE
788MAINTAINER_MODE_TRUE
789AM_BACKSLASH
790AM_DEFAULT_VERBOSITY
791AM_DEFAULT_V
792AM_V
793am__untar
794am__tar
795AMTAR
796am__leading_dot
797SET_MAKE
798AWK
799mkdir_p
800MKDIR_P
801INSTALL_STRIP_PROGRAM
802STRIP
803install_sh
804MAKEINFO
805AUTOHEADER
806AUTOMAKE
807AUTOCONF
808ACLOCAL
809VERSION
810PACKAGE
811CYGPATH_W
812am__isrc
813INSTALL_DATA
814INSTALL_SCRIPT
815INSTALL_PROGRAM
816target_alias
817host_alias
818build_alias
819LIBS
820ECHO_T
821ECHO_N
822ECHO_C
823DEFS
824mandir
825localedir
826libdir
827psdir
828pdfdir
829dvidir
830htmldir
831infodir
832docdir
833oldincludedir
834includedir
835runstatedir
836localstatedir
837sharedstatedir
838sysconfdir
839datadir
840datarootdir
841libexecdir
842sbindir
843bindir
844program_transform_name
845prefix
846exec_prefix
847PACKAGE_URL
848PACKAGE_BUGREPORT
849PACKAGE_STRING
850PACKAGE_VERSION
851PACKAGE_TARNAME
852PACKAGE_NAME
853PATH_SEPARATOR
854SHELL
855am__quote'
856ac_subst_files=''
857ac_user_opts='
858enable_option_checking
859enable_silent_rules
860enable_maintainer_mode
861enable_dependency_tracking
862with_gnu_ld
863enable_nls
864enable_static
865enable_shared
866with_pic
867enable_fast_install
868with_aix_soname
869with_sysroot
870enable_libtool_lock
871with_locales_dir
872enable_upower
873enable_debug
874'
875      ac_precious_vars='build_alias
876host_alias
877target_alias
878CC
879CFLAGS
880LDFLAGS
881LIBS
882CPPFLAGS
883LT_SYS_LIBRARY_PATH
884CPP
885PKG_CONFIG
886PKG_CONFIG_PATH
887PKG_CONFIG_LIBDIR
888GEONAMES_USERNAME'
889
890
891# Initialize some variables set by options.
892ac_init_help=
893ac_init_version=false
894ac_unrecognized_opts=
895ac_unrecognized_sep=
896# The variables have the same names as the options, with
897# dashes changed to underlines.
898cache_file=/dev/null
899exec_prefix=NONE
900no_create=
901no_recursion=
902prefix=NONE
903program_prefix=NONE
904program_suffix=NONE
905program_transform_name=s,x,x,
906silent=
907site=
908srcdir=
909verbose=
910x_includes=NONE
911x_libraries=NONE
912
913# Installation directory options.
914# These are left unexpanded so users can "make install exec_prefix=/foo"
915# and all the variables that are supposed to be based on exec_prefix
916# by default will actually change.
917# Use braces instead of parens because sh, perl, etc. also accept them.
918# (The list follows the same order as the GNU Coding Standards.)
919bindir='${exec_prefix}/bin'
920sbindir='${exec_prefix}/sbin'
921libexecdir='${exec_prefix}/libexec'
922datarootdir='${prefix}/share'
923datadir='${datarootdir}'
924sysconfdir='${prefix}/etc'
925sharedstatedir='${prefix}/com'
926localstatedir='${prefix}/var'
927runstatedir='${localstatedir}/run'
928includedir='${prefix}/include'
929oldincludedir='/usr/include'
930docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931infodir='${datarootdir}/info'
932htmldir='${docdir}'
933dvidir='${docdir}'
934pdfdir='${docdir}'
935psdir='${docdir}'
936libdir='${exec_prefix}/lib'
937localedir='${datarootdir}/locale'
938mandir='${datarootdir}/man'
939
940ac_prev=
941ac_dashdash=
942for ac_option
943do
944  # If the previous option needs an argument, assign it.
945  if test -n "$ac_prev"; then
946    eval $ac_prev=\$ac_option
947    ac_prev=
948    continue
949  fi
950
951  case $ac_option in
952  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953  *=)   ac_optarg= ;;
954  *)    ac_optarg=yes ;;
955  esac
956
957  # Accept the important Cygnus configure options, so we can diagnose typos.
958
959  case $ac_dashdash$ac_option in
960  --)
961    ac_dashdash=yes ;;
962
963  -bindir | --bindir | --bindi | --bind | --bin | --bi)
964    ac_prev=bindir ;;
965  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
966    bindir=$ac_optarg ;;
967
968  -build | --build | --buil | --bui | --bu)
969    ac_prev=build_alias ;;
970  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
971    build_alias=$ac_optarg ;;
972
973  -cache-file | --cache-file | --cache-fil | --cache-fi \
974  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
975    ac_prev=cache_file ;;
976  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
977  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
978    cache_file=$ac_optarg ;;
979
980  --config-cache | -C)
981    cache_file=config.cache ;;
982
983  -datadir | --datadir | --datadi | --datad)
984    ac_prev=datadir ;;
985  -datadir=* | --datadir=* | --datadi=* | --datad=*)
986    datadir=$ac_optarg ;;
987
988  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
989  | --dataroo | --dataro | --datar)
990    ac_prev=datarootdir ;;
991  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
992  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
993    datarootdir=$ac_optarg ;;
994
995  -disable-* | --disable-*)
996    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997    # Reject names that are not valid shell variable names.
998    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999      as_fn_error $? "invalid feature name: $ac_useropt"
1000    ac_useropt_orig=$ac_useropt
1001    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002    case $ac_user_opts in
1003      *"
1004"enable_$ac_useropt"
1005"*) ;;
1006      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1007	 ac_unrecognized_sep=', ';;
1008    esac
1009    eval enable_$ac_useropt=no ;;
1010
1011  -docdir | --docdir | --docdi | --doc | --do)
1012    ac_prev=docdir ;;
1013  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1014    docdir=$ac_optarg ;;
1015
1016  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1017    ac_prev=dvidir ;;
1018  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1019    dvidir=$ac_optarg ;;
1020
1021  -enable-* | --enable-*)
1022    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023    # Reject names that are not valid shell variable names.
1024    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025      as_fn_error $? "invalid feature name: $ac_useropt"
1026    ac_useropt_orig=$ac_useropt
1027    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028    case $ac_user_opts in
1029      *"
1030"enable_$ac_useropt"
1031"*) ;;
1032      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033	 ac_unrecognized_sep=', ';;
1034    esac
1035    eval enable_$ac_useropt=\$ac_optarg ;;
1036
1037  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1038  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1039  | --exec | --exe | --ex)
1040    ac_prev=exec_prefix ;;
1041  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1042  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1043  | --exec=* | --exe=* | --ex=*)
1044    exec_prefix=$ac_optarg ;;
1045
1046  -gas | --gas | --ga | --g)
1047    # Obsolete; use --with-gas.
1048    with_gas=yes ;;
1049
1050  -help | --help | --hel | --he | -h)
1051    ac_init_help=long ;;
1052  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1053    ac_init_help=recursive ;;
1054  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1055    ac_init_help=short ;;
1056
1057  -host | --host | --hos | --ho)
1058    ac_prev=host_alias ;;
1059  -host=* | --host=* | --hos=* | --ho=*)
1060    host_alias=$ac_optarg ;;
1061
1062  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1063    ac_prev=htmldir ;;
1064  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1065  | --ht=*)
1066    htmldir=$ac_optarg ;;
1067
1068  -includedir | --includedir | --includedi | --included | --include \
1069  | --includ | --inclu | --incl | --inc)
1070    ac_prev=includedir ;;
1071  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1072  | --includ=* | --inclu=* | --incl=* | --inc=*)
1073    includedir=$ac_optarg ;;
1074
1075  -infodir | --infodir | --infodi | --infod | --info | --inf)
1076    ac_prev=infodir ;;
1077  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1078    infodir=$ac_optarg ;;
1079
1080  -libdir | --libdir | --libdi | --libd)
1081    ac_prev=libdir ;;
1082  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1083    libdir=$ac_optarg ;;
1084
1085  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1086  | --libexe | --libex | --libe)
1087    ac_prev=libexecdir ;;
1088  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1089  | --libexe=* | --libex=* | --libe=*)
1090    libexecdir=$ac_optarg ;;
1091
1092  -localedir | --localedir | --localedi | --localed | --locale)
1093    ac_prev=localedir ;;
1094  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1095    localedir=$ac_optarg ;;
1096
1097  -localstatedir | --localstatedir | --localstatedi | --localstated \
1098  | --localstate | --localstat | --localsta | --localst | --locals)
1099    ac_prev=localstatedir ;;
1100  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1101  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1102    localstatedir=$ac_optarg ;;
1103
1104  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1105    ac_prev=mandir ;;
1106  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1107    mandir=$ac_optarg ;;
1108
1109  -nfp | --nfp | --nf)
1110    # Obsolete; use --without-fp.
1111    with_fp=no ;;
1112
1113  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1114  | --no-cr | --no-c | -n)
1115    no_create=yes ;;
1116
1117  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1118  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1119    no_recursion=yes ;;
1120
1121  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1122  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1123  | --oldin | --oldi | --old | --ol | --o)
1124    ac_prev=oldincludedir ;;
1125  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1126  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1127  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1128    oldincludedir=$ac_optarg ;;
1129
1130  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1131    ac_prev=prefix ;;
1132  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1133    prefix=$ac_optarg ;;
1134
1135  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1136  | --program-pre | --program-pr | --program-p)
1137    ac_prev=program_prefix ;;
1138  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1139  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1140    program_prefix=$ac_optarg ;;
1141
1142  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1143  | --program-suf | --program-su | --program-s)
1144    ac_prev=program_suffix ;;
1145  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1146  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1147    program_suffix=$ac_optarg ;;
1148
1149  -program-transform-name | --program-transform-name \
1150  | --program-transform-nam | --program-transform-na \
1151  | --program-transform-n | --program-transform- \
1152  | --program-transform | --program-transfor \
1153  | --program-transfo | --program-transf \
1154  | --program-trans | --program-tran \
1155  | --progr-tra | --program-tr | --program-t)
1156    ac_prev=program_transform_name ;;
1157  -program-transform-name=* | --program-transform-name=* \
1158  | --program-transform-nam=* | --program-transform-na=* \
1159  | --program-transform-n=* | --program-transform-=* \
1160  | --program-transform=* | --program-transfor=* \
1161  | --program-transfo=* | --program-transf=* \
1162  | --program-trans=* | --program-tran=* \
1163  | --progr-tra=* | --program-tr=* | --program-t=*)
1164    program_transform_name=$ac_optarg ;;
1165
1166  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1167    ac_prev=pdfdir ;;
1168  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1169    pdfdir=$ac_optarg ;;
1170
1171  -psdir | --psdir | --psdi | --psd | --ps)
1172    ac_prev=psdir ;;
1173  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1174    psdir=$ac_optarg ;;
1175
1176  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1177  | -silent | --silent | --silen | --sile | --sil)
1178    silent=yes ;;
1179
1180  -runstatedir | --runstatedir | --runstatedi | --runstated \
1181  | --runstate | --runstat | --runsta | --runst | --runs \
1182  | --run | --ru | --r)
1183    ac_prev=runstatedir ;;
1184  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1185  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1186  | --run=* | --ru=* | --r=*)
1187    runstatedir=$ac_optarg ;;
1188
1189  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1190    ac_prev=sbindir ;;
1191  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1192  | --sbi=* | --sb=*)
1193    sbindir=$ac_optarg ;;
1194
1195  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197  | --sharedst | --shareds | --shared | --share | --shar \
1198  | --sha | --sh)
1199    ac_prev=sharedstatedir ;;
1200  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1203  | --sha=* | --sh=*)
1204    sharedstatedir=$ac_optarg ;;
1205
1206  -site | --site | --sit)
1207    ac_prev=site ;;
1208  -site=* | --site=* | --sit=*)
1209    site=$ac_optarg ;;
1210
1211  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1212    ac_prev=srcdir ;;
1213  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214    srcdir=$ac_optarg ;;
1215
1216  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217  | --syscon | --sysco | --sysc | --sys | --sy)
1218    ac_prev=sysconfdir ;;
1219  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221    sysconfdir=$ac_optarg ;;
1222
1223  -target | --target | --targe | --targ | --tar | --ta | --t)
1224    ac_prev=target_alias ;;
1225  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226    target_alias=$ac_optarg ;;
1227
1228  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229    verbose=yes ;;
1230
1231  -version | --version | --versio | --versi | --vers | -V)
1232    ac_init_version=: ;;
1233
1234  -with-* | --with-*)
1235    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236    # Reject names that are not valid shell variable names.
1237    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238      as_fn_error $? "invalid package name: $ac_useropt"
1239    ac_useropt_orig=$ac_useropt
1240    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241    case $ac_user_opts in
1242      *"
1243"with_$ac_useropt"
1244"*) ;;
1245      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246	 ac_unrecognized_sep=', ';;
1247    esac
1248    eval with_$ac_useropt=\$ac_optarg ;;
1249
1250  -without-* | --without-*)
1251    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252    # Reject names that are not valid shell variable names.
1253    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254      as_fn_error $? "invalid package name: $ac_useropt"
1255    ac_useropt_orig=$ac_useropt
1256    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257    case $ac_user_opts in
1258      *"
1259"with_$ac_useropt"
1260"*) ;;
1261      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262	 ac_unrecognized_sep=', ';;
1263    esac
1264    eval with_$ac_useropt=no ;;
1265
1266  --x)
1267    # Obsolete; use --with-x.
1268    with_x=yes ;;
1269
1270  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271  | --x-incl | --x-inc | --x-in | --x-i)
1272    ac_prev=x_includes ;;
1273  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275    x_includes=$ac_optarg ;;
1276
1277  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279    ac_prev=x_libraries ;;
1280  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282    x_libraries=$ac_optarg ;;
1283
1284  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1285Try \`$0 --help' for more information"
1286    ;;
1287
1288  *=*)
1289    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290    # Reject names that are not valid shell variable names.
1291    case $ac_envvar in #(
1292      '' | [0-9]* | *[!_$as_cr_alnum]* )
1293      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1294    esac
1295    eval $ac_envvar=\$ac_optarg
1296    export $ac_envvar ;;
1297
1298  *)
1299    # FIXME: should be removed in autoconf 3.0.
1300    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1304    ;;
1305
1306  esac
1307done
1308
1309if test -n "$ac_prev"; then
1310  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311  as_fn_error $? "missing argument to $ac_option"
1312fi
1313
1314if test -n "$ac_unrecognized_opts"; then
1315  case $enable_option_checking in
1316    no) ;;
1317    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1318    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1319  esac
1320fi
1321
1322# Check all directory arguments for consistency.
1323for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324		datadir sysconfdir sharedstatedir localstatedir includedir \
1325		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326		libdir localedir mandir runstatedir
1327do
1328  eval ac_val=\$$ac_var
1329  # Remove trailing slashes.
1330  case $ac_val in
1331    */ )
1332      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333      eval $ac_var=\$ac_val;;
1334  esac
1335  # Be sure to have absolute directory names.
1336  case $ac_val in
1337    [\\/$]* | ?:[\\/]* )  continue;;
1338    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1339  esac
1340  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1341done
1342
1343# There might be people who depend on the old broken behavior: `$host'
1344# used to hold the argument of --host etc.
1345# FIXME: To remove some day.
1346build=$build_alias
1347host=$host_alias
1348target=$target_alias
1349
1350# FIXME: To remove some day.
1351if test "x$host_alias" != x; then
1352  if test "x$build_alias" = x; then
1353    cross_compiling=maybe
1354  elif test "x$build_alias" != "x$host_alias"; then
1355    cross_compiling=yes
1356  fi
1357fi
1358
1359ac_tool_prefix=
1360test -n "$host_alias" && ac_tool_prefix=$host_alias-
1361
1362test "$silent" = yes && exec 6>/dev/null
1363
1364
1365ac_pwd=`pwd` && test -n "$ac_pwd" &&
1366ac_ls_di=`ls -di .` &&
1367ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1368  as_fn_error $? "working directory cannot be determined"
1369test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370  as_fn_error $? "pwd does not report name of working directory"
1371
1372
1373# Find the source files, if location was not specified.
1374if test -z "$srcdir"; then
1375  ac_srcdir_defaulted=yes
1376  # Try the directory containing this script, then the parent directory.
1377  ac_confdir=`$as_dirname -- "$as_myself" ||
1378$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379	 X"$as_myself" : 'X\(//\)[^/]' \| \
1380	 X"$as_myself" : 'X\(//\)$' \| \
1381	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382$as_echo X"$as_myself" |
1383    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384	    s//\1/
1385	    q
1386	  }
1387	  /^X\(\/\/\)[^/].*/{
1388	    s//\1/
1389	    q
1390	  }
1391	  /^X\(\/\/\)$/{
1392	    s//\1/
1393	    q
1394	  }
1395	  /^X\(\/\).*/{
1396	    s//\1/
1397	    q
1398	  }
1399	  s/.*/./; q'`
1400  srcdir=$ac_confdir
1401  if test ! -r "$srcdir/$ac_unique_file"; then
1402    srcdir=..
1403  fi
1404else
1405  ac_srcdir_defaulted=no
1406fi
1407if test ! -r "$srcdir/$ac_unique_file"; then
1408  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1409  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1410fi
1411ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1412ac_abs_confdir=`(
1413	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1414	pwd)`
1415# When building in place, set srcdir=.
1416if test "$ac_abs_confdir" = "$ac_pwd"; then
1417  srcdir=.
1418fi
1419# Remove unnecessary trailing slashes from srcdir.
1420# Double slashes in file names in object file debugging info
1421# mess up M-x gdb in Emacs.
1422case $srcdir in
1423*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424esac
1425for ac_var in $ac_precious_vars; do
1426  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1427  eval ac_env_${ac_var}_value=\$${ac_var}
1428  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1429  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1430done
1431
1432#
1433# Report the --help message.
1434#
1435if test "$ac_init_help" = "long"; then
1436  # Omit some internal or obsolete options to make the list less imposing.
1437  # This message is too long to be a string in the A/UX 3.1 sh.
1438  cat <<_ACEOF
1439\`configure' configures xfce4-weather-plugin 0.11.0 to adapt to many kinds of systems.
1440
1441Usage: $0 [OPTION]... [VAR=VALUE]...
1442
1443To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444VAR=VALUE.  See below for descriptions of some of the useful variables.
1445
1446Defaults for the options are specified in brackets.
1447
1448Configuration:
1449  -h, --help              display this help and exit
1450      --help=short        display options specific to this package
1451      --help=recursive    display the short help of all the included packages
1452  -V, --version           display version information and exit
1453  -q, --quiet, --silent   do not print \`checking ...' messages
1454      --cache-file=FILE   cache test results in FILE [disabled]
1455  -C, --config-cache      alias for \`--cache-file=config.cache'
1456  -n, --no-create         do not create output files
1457      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1458
1459Installation directories:
1460  --prefix=PREFIX         install architecture-independent files in PREFIX
1461                          [$ac_default_prefix]
1462  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1463                          [PREFIX]
1464
1465By default, \`make install' will install all the files in
1466\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1467an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468for instance \`--prefix=\$HOME'.
1469
1470For better control, use the options below.
1471
1472Fine tuning of the installation directories:
1473  --bindir=DIR            user executables [EPREFIX/bin]
1474  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1475  --libexecdir=DIR        program executables [EPREFIX/libexec]
1476  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1477  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1478  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1479  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1480  --libdir=DIR            object code libraries [EPREFIX/lib]
1481  --includedir=DIR        C header files [PREFIX/include]
1482  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1483  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1484  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1485  --infodir=DIR           info documentation [DATAROOTDIR/info]
1486  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1487  --mandir=DIR            man documentation [DATAROOTDIR/man]
1488  --docdir=DIR            documentation root
1489                          [DATAROOTDIR/doc/xfce4-weather-plugin]
1490  --htmldir=DIR           html documentation [DOCDIR]
1491  --dvidir=DIR            dvi documentation [DOCDIR]
1492  --pdfdir=DIR            pdf documentation [DOCDIR]
1493  --psdir=DIR             ps documentation [DOCDIR]
1494_ACEOF
1495
1496  cat <<\_ACEOF
1497
1498Program names:
1499  --program-prefix=PREFIX            prepend PREFIX to installed program names
1500  --program-suffix=SUFFIX            append SUFFIX to installed program names
1501  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1502
1503System types:
1504  --build=BUILD     configure for building on BUILD [guessed]
1505  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1506_ACEOF
1507fi
1508
1509if test -n "$ac_init_help"; then
1510  case $ac_init_help in
1511     short | recursive ) echo "Configuration of xfce4-weather-plugin 0.11.0:";;
1512   esac
1513  cat <<\_ACEOF
1514
1515Optional Features:
1516  --disable-option-checking  ignore unrecognized --enable/--with options
1517  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1518  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1519  --enable-silent-rules   less verbose build output (undo: "make V=1")
1520  --disable-silent-rules  verbose build output (undo: "make V=0")
1521  --enable-maintainer-mode
1522                          enable make rules and dependencies not useful (and
1523                          sometimes confusing) to the casual installer
1524  --enable-dependency-tracking
1525                          do not reject slow dependency extractors
1526  --disable-dependency-tracking
1527                          speeds up one-time build
1528  --disable-nls           do not use Native Language Support
1529  --enable-static[=PKGS]  build static libraries [default=no]
1530  --enable-shared[=PKGS]  build shared libraries [default=yes]
1531  --enable-fast-install[=PKGS]
1532                          optimize for fast installation [default=yes]
1533  --disable-libtool-lock  avoid locking (might break parallel builds)
1534  --enable-upower         Enable checking for upower for adapting update
1535                          interval to power state (default=[])
1536  --disable-upower        Disable checking for upower for adapting update
1537                          interval to power state
1538  --enable-debug[=no|minimum|yes|full]
1539                          Build with debugging support
1540                          [default=[minimum]]
1541  --disable-debug         Include no debugging support
1542
1543Optional Packages:
1544  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1545  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1546  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1547  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1548                          both]
1549  --with-aix-soname=aix|svr4|both
1550                          shared library versioning (aka "SONAME") variant to
1551                          provide on AIX, [default=aix].
1552  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1553                          compiler's sysroot if not specified).
1554
1555      --with-locales-dir=DIR  Install locales into DIR
1556
1557
1558Some influential environment variables:
1559  CC          C compiler command
1560  CFLAGS      C compiler flags
1561  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1562              nonstandard directory <lib dir>
1563  LIBS        libraries to pass to the linker, e.g. -l<library>
1564  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565              you have headers in a nonstandard directory <include dir>
1566  LT_SYS_LIBRARY_PATH
1567              User-defined run-time library search path.
1568  CPP         C preprocessor
1569  PKG_CONFIG  path to pkg-config utility
1570  PKG_CONFIG_PATH
1571              directories to add to pkg-config's search path
1572  PKG_CONFIG_LIBDIR
1573              path overriding pkg-config's built-in search path
1574  GEONAMES_USERNAME
1575              Username for the GeoNames webservice. Please register your own
1576              if you're going to distribute the package, as requests are
1577              limited per hour and day. See README for further information.
1578
1579Use these variables to override the choices made by `configure' or to help
1580it to find libraries and programs with nonstandard names/locations.
1581
1582Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin>.
1583_ACEOF
1584ac_status=$?
1585fi
1586
1587if test "$ac_init_help" = "recursive"; then
1588  # If there are subdirs, report their specific --help.
1589  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1590    test -d "$ac_dir" ||
1591      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592      continue
1593    ac_builddir=.
1594
1595case "$ac_dir" in
1596.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1597*)
1598  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1599  # A ".." for each directory in $ac_dir_suffix.
1600  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1601  case $ac_top_builddir_sub in
1602  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604  esac ;;
1605esac
1606ac_abs_top_builddir=$ac_pwd
1607ac_abs_builddir=$ac_pwd$ac_dir_suffix
1608# for backward compatibility:
1609ac_top_builddir=$ac_top_build_prefix
1610
1611case $srcdir in
1612  .)  # We are building in place.
1613    ac_srcdir=.
1614    ac_top_srcdir=$ac_top_builddir_sub
1615    ac_abs_top_srcdir=$ac_pwd ;;
1616  [\\/]* | ?:[\\/]* )  # Absolute name.
1617    ac_srcdir=$srcdir$ac_dir_suffix;
1618    ac_top_srcdir=$srcdir
1619    ac_abs_top_srcdir=$srcdir ;;
1620  *) # Relative name.
1621    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1622    ac_top_srcdir=$ac_top_build_prefix$srcdir
1623    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1624esac
1625ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1626
1627    cd "$ac_dir" || { ac_status=$?; continue; }
1628    # Check for guested configure.
1629    if test -f "$ac_srcdir/configure.gnu"; then
1630      echo &&
1631      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1632    elif test -f "$ac_srcdir/configure"; then
1633      echo &&
1634      $SHELL "$ac_srcdir/configure" --help=recursive
1635    else
1636      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1637    fi || ac_status=$?
1638    cd "$ac_pwd" || { ac_status=$?; break; }
1639  done
1640fi
1641
1642test -n "$ac_init_help" && exit $ac_status
1643if $ac_init_version; then
1644  cat <<\_ACEOF
1645xfce4-weather-plugin configure 0.11.0
1646generated by GNU Autoconf 2.69
1647
1648Copyright (C) 2012 Free Software Foundation, Inc.
1649This configure script is free software; the Free Software Foundation
1650gives unlimited permission to copy, distribute and modify it.
1651
1652Copyright (c) 2006-2020
1653        The Xfce development team. All rights reserved.
1654_ACEOF
1655  exit
1656fi
1657
1658## ------------------------ ##
1659## Autoconf initialization. ##
1660## ------------------------ ##
1661
1662# ac_fn_c_try_compile LINENO
1663# --------------------------
1664# Try to compile conftest.$ac_ext, and return whether this succeeded.
1665ac_fn_c_try_compile ()
1666{
1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668  rm -f conftest.$ac_objext
1669  if { { ac_try="$ac_compile"
1670case "(($ac_try" in
1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672  *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676  (eval "$ac_compile") 2>conftest.err
1677  ac_status=$?
1678  if test -s conftest.err; then
1679    grep -v '^ *+' conftest.err >conftest.er1
1680    cat conftest.er1 >&5
1681    mv -f conftest.er1 conftest.err
1682  fi
1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684  test $ac_status = 0; } && {
1685	 test -z "$ac_c_werror_flag" ||
1686	 test ! -s conftest.err
1687       } && test -s conftest.$ac_objext; then :
1688  ac_retval=0
1689else
1690  $as_echo "$as_me: failed program was:" >&5
1691sed 's/^/| /' conftest.$ac_ext >&5
1692
1693	ac_retval=1
1694fi
1695  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  as_fn_set_status $ac_retval
1697
1698} # ac_fn_c_try_compile
1699
1700# ac_fn_c_try_link LINENO
1701# -----------------------
1702# Try to link conftest.$ac_ext, and return whether this succeeded.
1703ac_fn_c_try_link ()
1704{
1705  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706  rm -f conftest.$ac_objext conftest$ac_exeext
1707  if { { ac_try="$ac_link"
1708case "(($ac_try" in
1709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710  *) ac_try_echo=$ac_try;;
1711esac
1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713$as_echo "$ac_try_echo"; } >&5
1714  (eval "$ac_link") 2>conftest.err
1715  ac_status=$?
1716  if test -s conftest.err; then
1717    grep -v '^ *+' conftest.err >conftest.er1
1718    cat conftest.er1 >&5
1719    mv -f conftest.er1 conftest.err
1720  fi
1721  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722  test $ac_status = 0; } && {
1723	 test -z "$ac_c_werror_flag" ||
1724	 test ! -s conftest.err
1725       } && test -s conftest$ac_exeext && {
1726	 test "$cross_compiling" = yes ||
1727	 test -x conftest$ac_exeext
1728       }; then :
1729  ac_retval=0
1730else
1731  $as_echo "$as_me: failed program was:" >&5
1732sed 's/^/| /' conftest.$ac_ext >&5
1733
1734	ac_retval=1
1735fi
1736  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738  # interfere with the next link command; also delete a directory that is
1739  # left behind by Apple's compiler.  We do this before executing the actions.
1740  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742  as_fn_set_status $ac_retval
1743
1744} # ac_fn_c_try_link
1745
1746# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747# -------------------------------------------------------
1748# Tests whether HEADER exists and can be compiled using the include files in
1749# INCLUDES, setting the cache variable VAR accordingly.
1750ac_fn_c_check_header_compile ()
1751{
1752  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754$as_echo_n "checking for $2... " >&6; }
1755if eval \${$3+:} false; then :
1756  $as_echo_n "(cached) " >&6
1757else
1758  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759/* end confdefs.h.  */
1760$4
1761#include <$2>
1762_ACEOF
1763if ac_fn_c_try_compile "$LINENO"; then :
1764  eval "$3=yes"
1765else
1766  eval "$3=no"
1767fi
1768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769fi
1770eval ac_res=\$$3
1771	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772$as_echo "$ac_res" >&6; }
1773  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1775} # ac_fn_c_check_header_compile
1776
1777# ac_fn_c_try_cpp LINENO
1778# ----------------------
1779# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1780ac_fn_c_try_cpp ()
1781{
1782  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783  if { { ac_try="$ac_cpp conftest.$ac_ext"
1784case "(($ac_try" in
1785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786  *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1791  ac_status=$?
1792  if test -s conftest.err; then
1793    grep -v '^ *+' conftest.err >conftest.er1
1794    cat conftest.er1 >&5
1795    mv -f conftest.er1 conftest.err
1796  fi
1797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798  test $ac_status = 0; } > conftest.i && {
1799	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1800	 test ! -s conftest.err
1801       }; then :
1802  ac_retval=0
1803else
1804  $as_echo "$as_me: failed program was:" >&5
1805sed 's/^/| /' conftest.$ac_ext >&5
1806
1807    ac_retval=1
1808fi
1809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810  as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_cpp
1813
1814# ac_fn_c_try_run LINENO
1815# ----------------------
1816# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1817# that executables *can* be run.
1818ac_fn_c_try_run ()
1819{
1820  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821  if { { ac_try="$ac_link"
1822case "(($ac_try" in
1823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824  *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828  (eval "$ac_link") 2>&5
1829  ac_status=$?
1830  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1832  { { case "(($ac_try" in
1833  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834  *) ac_try_echo=$ac_try;;
1835esac
1836eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837$as_echo "$ac_try_echo"; } >&5
1838  (eval "$ac_try") 2>&5
1839  ac_status=$?
1840  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841  test $ac_status = 0; }; }; then :
1842  ac_retval=0
1843else
1844  $as_echo "$as_me: program exited with status $ac_status" >&5
1845       $as_echo "$as_me: failed program was:" >&5
1846sed 's/^/| /' conftest.$ac_ext >&5
1847
1848       ac_retval=$ac_status
1849fi
1850  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852  as_fn_set_status $ac_retval
1853
1854} # ac_fn_c_try_run
1855
1856# ac_fn_c_check_func LINENO FUNC VAR
1857# ----------------------------------
1858# Tests whether FUNC exists, setting the cache variable VAR accordingly
1859ac_fn_c_check_func ()
1860{
1861  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863$as_echo_n "checking for $2... " >&6; }
1864if eval \${$3+:} false; then :
1865  $as_echo_n "(cached) " >&6
1866else
1867  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868/* end confdefs.h.  */
1869/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1870   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1871#define $2 innocuous_$2
1872
1873/* System header to define __stub macros and hopefully few prototypes,
1874    which can conflict with char $2 (); below.
1875    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1876    <limits.h> exists even on freestanding compilers.  */
1877
1878#ifdef __STDC__
1879# include <limits.h>
1880#else
1881# include <assert.h>
1882#endif
1883
1884#undef $2
1885
1886/* Override any GCC internal prototype to avoid an error.
1887   Use char because int might match the return type of a GCC
1888   builtin and then its argument prototype would still apply.  */
1889#ifdef __cplusplus
1890extern "C"
1891#endif
1892char $2 ();
1893/* The GNU C library defines this for functions which it implements
1894    to always fail with ENOSYS.  Some functions are actually named
1895    something starting with __ and the normal name is an alias.  */
1896#if defined __stub_$2 || defined __stub___$2
1897choke me
1898#endif
1899
1900int
1901main ()
1902{
1903return $2 ();
1904  ;
1905  return 0;
1906}
1907_ACEOF
1908if ac_fn_c_try_link "$LINENO"; then :
1909  eval "$3=yes"
1910else
1911  eval "$3=no"
1912fi
1913rm -f core conftest.err conftest.$ac_objext \
1914    conftest$ac_exeext conftest.$ac_ext
1915fi
1916eval ac_res=\$$3
1917	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918$as_echo "$ac_res" >&6; }
1919  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920
1921} # ac_fn_c_check_func
1922
1923# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1924# -------------------------------------------------------
1925# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1926# the include files in INCLUDES and setting the cache variable VAR
1927# accordingly.
1928ac_fn_c_check_header_mongrel ()
1929{
1930  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931  if eval \${$3+:} false; then :
1932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933$as_echo_n "checking for $2... " >&6; }
1934if eval \${$3+:} false; then :
1935  $as_echo_n "(cached) " >&6
1936fi
1937eval ac_res=\$$3
1938	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939$as_echo "$ac_res" >&6; }
1940else
1941  # Is the header compilable?
1942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1943$as_echo_n "checking $2 usability... " >&6; }
1944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945/* end confdefs.h.  */
1946$4
1947#include <$2>
1948_ACEOF
1949if ac_fn_c_try_compile "$LINENO"; then :
1950  ac_header_compiler=yes
1951else
1952  ac_header_compiler=no
1953fi
1954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1956$as_echo "$ac_header_compiler" >&6; }
1957
1958# Is the header present?
1959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1960$as_echo_n "checking $2 presence... " >&6; }
1961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962/* end confdefs.h.  */
1963#include <$2>
1964_ACEOF
1965if ac_fn_c_try_cpp "$LINENO"; then :
1966  ac_header_preproc=yes
1967else
1968  ac_header_preproc=no
1969fi
1970rm -f conftest.err conftest.i conftest.$ac_ext
1971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1972$as_echo "$ac_header_preproc" >&6; }
1973
1974# So?  What about this header?
1975case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1976  yes:no: )
1977    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1978$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1979    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1980$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1981    ;;
1982  no:yes:* )
1983    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1984$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1985    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1986$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1987    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1988$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1989    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1990$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1991    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1992$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1993( $as_echo "## ------------------------------------------------------------------------- ##
1994## Report this to https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin ##
1995## ------------------------------------------------------------------------- ##"
1996     ) | sed "s/^/$as_me: WARNING:     /" >&2
1997    ;;
1998esac
1999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2000$as_echo_n "checking for $2... " >&6; }
2001if eval \${$3+:} false; then :
2002  $as_echo_n "(cached) " >&6
2003else
2004  eval "$3=\$ac_header_compiler"
2005fi
2006eval ac_res=\$$3
2007	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008$as_echo "$ac_res" >&6; }
2009fi
2010  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011
2012} # ac_fn_c_check_header_mongrel
2013cat >config.log <<_ACEOF
2014This file contains any messages produced by compilers while
2015running configure, to aid debugging if configure makes a mistake.
2016
2017It was created by xfce4-weather-plugin $as_me 0.11.0, which was
2018generated by GNU Autoconf 2.69.  Invocation command line was
2019
2020  $ $0 $@
2021
2022_ACEOF
2023exec 5>>config.log
2024{
2025cat <<_ASUNAME
2026## --------- ##
2027## Platform. ##
2028## --------- ##
2029
2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035
2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2038
2039/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2040/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2043/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2044/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2045/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2046
2047_ASUNAME
2048
2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050for as_dir in $PATH
2051do
2052  IFS=$as_save_IFS
2053  test -z "$as_dir" && as_dir=.
2054    $as_echo "PATH: $as_dir"
2055  done
2056IFS=$as_save_IFS
2057
2058} >&5
2059
2060cat >&5 <<_ACEOF
2061
2062
2063## ----------- ##
2064## Core tests. ##
2065## ----------- ##
2066
2067_ACEOF
2068
2069
2070# Keep a trace of the command line.
2071# Strip out --no-create and --no-recursion so they do not pile up.
2072# Strip out --silent because we don't want to record it for future runs.
2073# Also quote any args containing shell meta-characters.
2074# Make two passes to allow for proper duplicate-argument suppression.
2075ac_configure_args=
2076ac_configure_args0=
2077ac_configure_args1=
2078ac_must_keep_next=false
2079for ac_pass in 1 2
2080do
2081  for ac_arg
2082  do
2083    case $ac_arg in
2084    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2085    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086    | -silent | --silent | --silen | --sile | --sil)
2087      continue ;;
2088    *\'*)
2089      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090    esac
2091    case $ac_pass in
2092    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093    2)
2094      as_fn_append ac_configure_args1 " '$ac_arg'"
2095      if test $ac_must_keep_next = true; then
2096	ac_must_keep_next=false # Got value, back to normal.
2097      else
2098	case $ac_arg in
2099	  *=* | --config-cache | -C | -disable-* | --disable-* \
2100	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2101	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2102	  | -with-* | --with-* | -without-* | --without-* | --x)
2103	    case "$ac_configure_args0 " in
2104	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105	    esac
2106	    ;;
2107	  -* ) ac_must_keep_next=true ;;
2108	esac
2109      fi
2110      as_fn_append ac_configure_args " '$ac_arg'"
2111      ;;
2112    esac
2113  done
2114done
2115{ ac_configure_args0=; unset ac_configure_args0;}
2116{ ac_configure_args1=; unset ac_configure_args1;}
2117
2118# When interrupted or exit'd, cleanup temporary files, and complete
2119# config.log.  We remove comments because anyway the quotes in there
2120# would cause problems or look ugly.
2121# WARNING: Use '\'' to represent an apostrophe within the trap.
2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123trap 'exit_status=$?
2124  # Save into config.log some information that might help in debugging.
2125  {
2126    echo
2127
2128    $as_echo "## ---------------- ##
2129## Cache variables. ##
2130## ---------------- ##"
2131    echo
2132    # The following way of writing the cache mishandles newlines in values,
2133(
2134  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135    eval ac_val=\$$ac_var
2136    case $ac_val in #(
2137    *${as_nl}*)
2138      case $ac_var in #(
2139      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141      esac
2142      case $ac_var in #(
2143      _ | IFS | as_nl) ;; #(
2144      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145      *) { eval $ac_var=; unset $ac_var;} ;;
2146      esac ;;
2147    esac
2148  done
2149  (set) 2>&1 |
2150    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151    *${as_nl}ac_space=\ *)
2152      sed -n \
2153	"s/'\''/'\''\\\\'\'''\''/g;
2154	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155      ;; #(
2156    *)
2157      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158      ;;
2159    esac |
2160    sort
2161)
2162    echo
2163
2164    $as_echo "## ----------------- ##
2165## Output variables. ##
2166## ----------------- ##"
2167    echo
2168    for ac_var in $ac_subst_vars
2169    do
2170      eval ac_val=\$$ac_var
2171      case $ac_val in
2172      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173      esac
2174      $as_echo "$ac_var='\''$ac_val'\''"
2175    done | sort
2176    echo
2177
2178    if test -n "$ac_subst_files"; then
2179      $as_echo "## ------------------- ##
2180## File substitutions. ##
2181## ------------------- ##"
2182      echo
2183      for ac_var in $ac_subst_files
2184      do
2185	eval ac_val=\$$ac_var
2186	case $ac_val in
2187	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188	esac
2189	$as_echo "$ac_var='\''$ac_val'\''"
2190      done | sort
2191      echo
2192    fi
2193
2194    if test -s confdefs.h; then
2195      $as_echo "## ----------- ##
2196## confdefs.h. ##
2197## ----------- ##"
2198      echo
2199      cat confdefs.h
2200      echo
2201    fi
2202    test "$ac_signal" != 0 &&
2203      $as_echo "$as_me: caught signal $ac_signal"
2204    $as_echo "$as_me: exit $exit_status"
2205  } >&5
2206  rm -f core *.core core.conftest.* &&
2207    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208    exit $exit_status
2209' 0
2210for ac_signal in 1 2 13 15; do
2211  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212done
2213ac_signal=0
2214
2215# confdefs.h avoids OS command line length limits that DEFS can exceed.
2216rm -f -r conftest* confdefs.h
2217
2218$as_echo "/* confdefs.h */" > confdefs.h
2219
2220# Predefined preprocessor variables.
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_NAME "$PACKAGE_NAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_VERSION "$PACKAGE_VERSION"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_STRING "$PACKAGE_STRING"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240_ACEOF
2241
2242cat >>confdefs.h <<_ACEOF
2243#define PACKAGE_URL "$PACKAGE_URL"
2244_ACEOF
2245
2246
2247# Let the site file select an alternate cache file if it wants to.
2248# Prefer an explicitly selected file to automatically selected ones.
2249ac_site_file1=NONE
2250ac_site_file2=NONE
2251if test -n "$CONFIG_SITE"; then
2252  # We do not want a PATH search for config.site.
2253  case $CONFIG_SITE in #((
2254    -*)  ac_site_file1=./$CONFIG_SITE;;
2255    */*) ac_site_file1=$CONFIG_SITE;;
2256    *)   ac_site_file1=./$CONFIG_SITE;;
2257  esac
2258elif test "x$prefix" != xNONE; then
2259  ac_site_file1=$prefix/share/config.site
2260  ac_site_file2=$prefix/etc/config.site
2261else
2262  ac_site_file1=$ac_default_prefix/share/config.site
2263  ac_site_file2=$ac_default_prefix/etc/config.site
2264fi
2265for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2266do
2267  test "x$ac_site_file" = xNONE && continue
2268  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2269    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271    sed 's/^/| /' "$ac_site_file" >&5
2272    . "$ac_site_file" \
2273      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275as_fn_error $? "failed to load site script $ac_site_file
2276See \`config.log' for more details" "$LINENO" 5; }
2277  fi
2278done
2279
2280if test -r "$cache_file"; then
2281  # Some versions of bash will fail to source /dev/null (special files
2282  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2283  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2284    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285$as_echo "$as_me: loading cache $cache_file" >&6;}
2286    case $cache_file in
2287      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288      *)                      . "./$cache_file";;
2289    esac
2290  fi
2291else
2292  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293$as_echo "$as_me: creating cache $cache_file" >&6;}
2294  >$cache_file
2295fi
2296
2297# Check that the precious variables saved in the cache have kept the same
2298# value.
2299ac_cache_corrupted=false
2300for ac_var in $ac_precious_vars; do
2301  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302  eval ac_new_set=\$ac_env_${ac_var}_set
2303  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304  eval ac_new_val=\$ac_env_${ac_var}_value
2305  case $ac_old_set,$ac_new_set in
2306    set,)
2307      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309      ac_cache_corrupted=: ;;
2310    ,set)
2311      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313      ac_cache_corrupted=: ;;
2314    ,);;
2315    *)
2316      if test "x$ac_old_val" != "x$ac_new_val"; then
2317	# differences in whitespace do not lead to failure.
2318	ac_old_val_w=`echo x $ac_old_val`
2319	ac_new_val_w=`echo x $ac_new_val`
2320	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323	  ac_cache_corrupted=:
2324	else
2325	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327	  eval $ac_var=\$ac_old_val
2328	fi
2329	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2330$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2331	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2332$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2333      fi;;
2334  esac
2335  # Pass precious variables to config.status.
2336  if test "$ac_new_set" = set; then
2337    case $ac_new_val in
2338    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339    *) ac_arg=$ac_var=$ac_new_val ;;
2340    esac
2341    case " $ac_configure_args " in
2342      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2343      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344    esac
2345  fi
2346done
2347if $ac_cache_corrupted; then
2348  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353fi
2354## -------------------- ##
2355## Main body of script. ##
2356## -------------------- ##
2357
2358ac_ext=c
2359ac_cpp='$CPP $CPPFLAGS'
2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368am__api_version='1.16'
2369
2370ac_aux_dir=
2371for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2372  if test -f "$ac_dir/install-sh"; then
2373    ac_aux_dir=$ac_dir
2374    ac_install_sh="$ac_aux_dir/install-sh -c"
2375    break
2376  elif test -f "$ac_dir/install.sh"; then
2377    ac_aux_dir=$ac_dir
2378    ac_install_sh="$ac_aux_dir/install.sh -c"
2379    break
2380  elif test -f "$ac_dir/shtool"; then
2381    ac_aux_dir=$ac_dir
2382    ac_install_sh="$ac_aux_dir/shtool install -c"
2383    break
2384  fi
2385done
2386if test -z "$ac_aux_dir"; then
2387  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2388fi
2389
2390# These three variables are undocumented and unsupported,
2391# and are intended to be withdrawn in a future Autoconf release.
2392# They can cause serious problems if a builder's source tree is in a directory
2393# whose full name contains unusual characters.
2394ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2395ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2396ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2397
2398
2399# Find a good install program.  We prefer a C program (faster),
2400# so one script is as good as another.  But avoid the broken or
2401# incompatible versions:
2402# SysV /etc/install, /usr/sbin/install
2403# SunOS /usr/etc/install
2404# IRIX /sbin/install
2405# AIX /bin/install
2406# AmigaOS /C/install, which installs bootblocks on floppy discs
2407# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2408# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2409# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2410# OS/2's system install, which has a completely different semantic
2411# ./install, which can be erroneously created by make from ./install.sh.
2412# Reject install programs that cannot install multiple files.
2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2414$as_echo_n "checking for a BSD-compatible install... " >&6; }
2415if test -z "$INSTALL"; then
2416if ${ac_cv_path_install+:} false; then :
2417  $as_echo_n "(cached) " >&6
2418else
2419  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420for as_dir in $PATH
2421do
2422  IFS=$as_save_IFS
2423  test -z "$as_dir" && as_dir=.
2424    # Account for people who put trailing slashes in PATH elements.
2425case $as_dir/ in #((
2426  ./ | .// | /[cC]/* | \
2427  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2428  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2429  /usr/ucb/* ) ;;
2430  *)
2431    # OSF1 and SCO ODT 3.0 have their own names for install.
2432    # Don't use installbsd from OSF since it installs stuff as root
2433    # by default.
2434    for ac_prog in ginstall scoinst install; do
2435      for ac_exec_ext in '' $ac_executable_extensions; do
2436	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2437	  if test $ac_prog = install &&
2438	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2439	    # AIX install.  It has an incompatible calling convention.
2440	    :
2441	  elif test $ac_prog = install &&
2442	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2443	    # program-specific install script used by HP pwplus--don't use.
2444	    :
2445	  else
2446	    rm -rf conftest.one conftest.two conftest.dir
2447	    echo one > conftest.one
2448	    echo two > conftest.two
2449	    mkdir conftest.dir
2450	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2451	      test -s conftest.one && test -s conftest.two &&
2452	      test -s conftest.dir/conftest.one &&
2453	      test -s conftest.dir/conftest.two
2454	    then
2455	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2456	      break 3
2457	    fi
2458	  fi
2459	fi
2460      done
2461    done
2462    ;;
2463esac
2464
2465  done
2466IFS=$as_save_IFS
2467
2468rm -rf conftest.one conftest.two conftest.dir
2469
2470fi
2471  if test "${ac_cv_path_install+set}" = set; then
2472    INSTALL=$ac_cv_path_install
2473  else
2474    # As a last resort, use the slow shell script.  Don't cache a
2475    # value for INSTALL within a source directory, because that will
2476    # break other packages using the cache if that directory is
2477    # removed, or if the value is a relative name.
2478    INSTALL=$ac_install_sh
2479  fi
2480fi
2481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2482$as_echo "$INSTALL" >&6; }
2483
2484# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2485# It thinks the first close brace ends the variable substitution.
2486test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2487
2488test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2489
2490test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2491
2492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2493$as_echo_n "checking whether build environment is sane... " >&6; }
2494# Reject unsafe characters in $srcdir or the absolute working directory
2495# name.  Accept space and tab only in the latter.
2496am_lf='
2497'
2498case `pwd` in
2499  *[\\\"\#\$\&\'\`$am_lf]*)
2500    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2501esac
2502case $srcdir in
2503  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2504    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2505esac
2506
2507# Do 'set' in a subshell so we don't clobber the current shell's
2508# arguments.  Must try -L first in case configure is actually a
2509# symlink; some systems play weird games with the mod time of symlinks
2510# (eg FreeBSD returns the mod time of the symlink's containing
2511# directory).
2512if (
2513   am_has_slept=no
2514   for am_try in 1 2; do
2515     echo "timestamp, slept: $am_has_slept" > conftest.file
2516     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2517     if test "$*" = "X"; then
2518	# -L didn't work.
2519	set X `ls -t "$srcdir/configure" conftest.file`
2520     fi
2521     if test "$*" != "X $srcdir/configure conftest.file" \
2522	&& test "$*" != "X conftest.file $srcdir/configure"; then
2523
2524	# If neither matched, then we have a broken ls.  This can happen
2525	# if, for instance, CONFIG_SHELL is bash and it inherits a
2526	# broken ls alias from the environment.  This has actually
2527	# happened.  Such a system could not be considered "sane".
2528	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2529  alias in your environment" "$LINENO" 5
2530     fi
2531     if test "$2" = conftest.file || test $am_try -eq 2; then
2532       break
2533     fi
2534     # Just in case.
2535     sleep 1
2536     am_has_slept=yes
2537   done
2538   test "$2" = conftest.file
2539   )
2540then
2541   # Ok.
2542   :
2543else
2544   as_fn_error $? "newly created file is older than distributed files!
2545Check your system clock" "$LINENO" 5
2546fi
2547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548$as_echo "yes" >&6; }
2549# If we didn't sleep, we still need to ensure time stamps of config.status and
2550# generated files are strictly newer.
2551am_sleep_pid=
2552if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2553  ( sleep 1 ) &
2554  am_sleep_pid=$!
2555fi
2556
2557rm -f conftest.file
2558
2559test "$program_prefix" != NONE &&
2560  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2561# Use a double $ so make ignores it.
2562test "$program_suffix" != NONE &&
2563  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2564# Double any \ or $.
2565# By default was `s,x,x', remove it if useless.
2566ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2567program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2568
2569# Expand $ac_aux_dir to an absolute path.
2570am_aux_dir=`cd "$ac_aux_dir" && pwd`
2571
2572if test x"${MISSING+set}" != xset; then
2573  case $am_aux_dir in
2574  *\ * | *\	*)
2575    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2576  *)
2577    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2578  esac
2579fi
2580# Use eval to expand $SHELL
2581if eval "$MISSING --is-lightweight"; then
2582  am_missing_run="$MISSING "
2583else
2584  am_missing_run=
2585  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2586$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2587fi
2588
2589if test x"${install_sh+set}" != xset; then
2590  case $am_aux_dir in
2591  *\ * | *\	*)
2592    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2593  *)
2594    install_sh="\${SHELL} $am_aux_dir/install-sh"
2595  esac
2596fi
2597
2598# Installed binaries are usually stripped using 'strip' when the user
2599# run "make install-strip".  However 'strip' might not be the right
2600# tool to use in cross-compilation environments, therefore Automake
2601# will honor the 'STRIP' environment variable to overrule this program.
2602if test "$cross_compiling" != no; then
2603  if test -n "$ac_tool_prefix"; then
2604  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2605set dummy ${ac_tool_prefix}strip; ac_word=$2
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607$as_echo_n "checking for $ac_word... " >&6; }
2608if ${ac_cv_prog_STRIP+:} false; then :
2609  $as_echo_n "(cached) " >&6
2610else
2611  if test -n "$STRIP"; then
2612  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2613else
2614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615for as_dir in $PATH
2616do
2617  IFS=$as_save_IFS
2618  test -z "$as_dir" && as_dir=.
2619    for ac_exec_ext in '' $ac_executable_extensions; do
2620  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2621    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2622    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623    break 2
2624  fi
2625done
2626  done
2627IFS=$as_save_IFS
2628
2629fi
2630fi
2631STRIP=$ac_cv_prog_STRIP
2632if test -n "$STRIP"; then
2633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2634$as_echo "$STRIP" >&6; }
2635else
2636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637$as_echo "no" >&6; }
2638fi
2639
2640
2641fi
2642if test -z "$ac_cv_prog_STRIP"; then
2643  ac_ct_STRIP=$STRIP
2644  # Extract the first word of "strip", so it can be a program name with args.
2645set dummy strip; ac_word=$2
2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647$as_echo_n "checking for $ac_word... " >&6; }
2648if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2649  $as_echo_n "(cached) " >&6
2650else
2651  if test -n "$ac_ct_STRIP"; then
2652  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2653else
2654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655for as_dir in $PATH
2656do
2657  IFS=$as_save_IFS
2658  test -z "$as_dir" && as_dir=.
2659    for ac_exec_ext in '' $ac_executable_extensions; do
2660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661    ac_cv_prog_ac_ct_STRIP="strip"
2662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663    break 2
2664  fi
2665done
2666  done
2667IFS=$as_save_IFS
2668
2669fi
2670fi
2671ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2672if test -n "$ac_ct_STRIP"; then
2673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2674$as_echo "$ac_ct_STRIP" >&6; }
2675else
2676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677$as_echo "no" >&6; }
2678fi
2679
2680  if test "x$ac_ct_STRIP" = x; then
2681    STRIP=":"
2682  else
2683    case $cross_compiling:$ac_tool_warned in
2684yes:)
2685{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2686$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2687ac_tool_warned=yes ;;
2688esac
2689    STRIP=$ac_ct_STRIP
2690  fi
2691else
2692  STRIP="$ac_cv_prog_STRIP"
2693fi
2694
2695fi
2696INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2699$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2700if test -z "$MKDIR_P"; then
2701  if ${ac_cv_path_mkdir+:} false; then :
2702  $as_echo_n "(cached) " >&6
2703else
2704  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2706do
2707  IFS=$as_save_IFS
2708  test -z "$as_dir" && as_dir=.
2709    for ac_prog in mkdir gmkdir; do
2710	 for ac_exec_ext in '' $ac_executable_extensions; do
2711	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2712	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2713	     'mkdir (GNU coreutils) '* | \
2714	     'mkdir (coreutils) '* | \
2715	     'mkdir (fileutils) '4.1*)
2716	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2717	       break 3;;
2718	   esac
2719	 done
2720       done
2721  done
2722IFS=$as_save_IFS
2723
2724fi
2725
2726  test -d ./--version && rmdir ./--version
2727  if test "${ac_cv_path_mkdir+set}" = set; then
2728    MKDIR_P="$ac_cv_path_mkdir -p"
2729  else
2730    # As a last resort, use the slow shell script.  Don't cache a
2731    # value for MKDIR_P within a source directory, because that will
2732    # break other packages using the cache if that directory is
2733    # removed, or if the value is a relative name.
2734    MKDIR_P="$ac_install_sh -d"
2735  fi
2736fi
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2738$as_echo "$MKDIR_P" >&6; }
2739
2740for ac_prog in gawk mawk nawk awk
2741do
2742  # Extract the first word of "$ac_prog", so it can be a program name with args.
2743set dummy $ac_prog; ac_word=$2
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745$as_echo_n "checking for $ac_word... " >&6; }
2746if ${ac_cv_prog_AWK+:} false; then :
2747  $as_echo_n "(cached) " >&6
2748else
2749  if test -n "$AWK"; then
2750  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2751else
2752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753for as_dir in $PATH
2754do
2755  IFS=$as_save_IFS
2756  test -z "$as_dir" && as_dir=.
2757    for ac_exec_ext in '' $ac_executable_extensions; do
2758  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759    ac_cv_prog_AWK="$ac_prog"
2760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761    break 2
2762  fi
2763done
2764  done
2765IFS=$as_save_IFS
2766
2767fi
2768fi
2769AWK=$ac_cv_prog_AWK
2770if test -n "$AWK"; then
2771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2772$as_echo "$AWK" >&6; }
2773else
2774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775$as_echo "no" >&6; }
2776fi
2777
2778
2779  test -n "$AWK" && break
2780done
2781
2782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2783$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2784set x ${MAKE-make}
2785ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2786if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2787  $as_echo_n "(cached) " >&6
2788else
2789  cat >conftest.make <<\_ACEOF
2790SHELL = /bin/sh
2791all:
2792	@echo '@@@%%%=$(MAKE)=@@@%%%'
2793_ACEOF
2794# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2795case `${MAKE-make} -f conftest.make 2>/dev/null` in
2796  *@@@%%%=?*=@@@%%%*)
2797    eval ac_cv_prog_make_${ac_make}_set=yes;;
2798  *)
2799    eval ac_cv_prog_make_${ac_make}_set=no;;
2800esac
2801rm -f conftest.make
2802fi
2803if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2805$as_echo "yes" >&6; }
2806  SET_MAKE=
2807else
2808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809$as_echo "no" >&6; }
2810  SET_MAKE="MAKE=${MAKE-make}"
2811fi
2812
2813rm -rf .tst 2>/dev/null
2814mkdir .tst 2>/dev/null
2815if test -d .tst; then
2816  am__leading_dot=.
2817else
2818  am__leading_dot=_
2819fi
2820rmdir .tst 2>/dev/null
2821
2822# Check whether --enable-silent-rules was given.
2823if test "${enable_silent_rules+set}" = set; then :
2824  enableval=$enable_silent_rules;
2825fi
2826
2827case $enable_silent_rules in # (((
2828  yes) AM_DEFAULT_VERBOSITY=0;;
2829   no) AM_DEFAULT_VERBOSITY=1;;
2830    *) AM_DEFAULT_VERBOSITY=1;;
2831esac
2832am_make=${MAKE-make}
2833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2834$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2835if ${am_cv_make_support_nested_variables+:} false; then :
2836  $as_echo_n "(cached) " >&6
2837else
2838  if $as_echo 'TRUE=$(BAR$(V))
2839BAR0=false
2840BAR1=true
2841V=1
2842am__doit:
2843	@$(TRUE)
2844.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2845  am_cv_make_support_nested_variables=yes
2846else
2847  am_cv_make_support_nested_variables=no
2848fi
2849fi
2850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2851$as_echo "$am_cv_make_support_nested_variables" >&6; }
2852if test $am_cv_make_support_nested_variables = yes; then
2853    AM_V='$(V)'
2854  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2855else
2856  AM_V=$AM_DEFAULT_VERBOSITY
2857  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2858fi
2859AM_BACKSLASH='\'
2860
2861if test "`cd $srcdir && pwd`" != "`pwd`"; then
2862  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2863  # is not polluted with repeated "-I."
2864  am__isrc=' -I$(srcdir)'
2865  # test to see if srcdir already configured
2866  if test -f $srcdir/config.status; then
2867    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2868  fi
2869fi
2870
2871# test whether we have cygpath
2872if test -z "$CYGPATH_W"; then
2873  if (cygpath --version) >/dev/null 2>/dev/null; then
2874    CYGPATH_W='cygpath -w'
2875  else
2876    CYGPATH_W=echo
2877  fi
2878fi
2879
2880
2881# Define the identity of the package.
2882 PACKAGE='xfce4-weather-plugin'
2883 VERSION='0.11.0'
2884
2885
2886cat >>confdefs.h <<_ACEOF
2887#define PACKAGE "$PACKAGE"
2888_ACEOF
2889
2890
2891cat >>confdefs.h <<_ACEOF
2892#define VERSION "$VERSION"
2893_ACEOF
2894
2895# Some tools Automake needs.
2896
2897ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2898
2899
2900AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2901
2902
2903AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2904
2905
2906AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2907
2908
2909MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2910
2911# For better backward compatibility.  To be removed once Automake 1.9.x
2912# dies out for good.  For more background, see:
2913# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2914# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2915mkdir_p='$(MKDIR_P)'
2916
2917# We need awk for the "check" target (and possibly the TAP driver).  The
2918# system "awk" is bad on some platforms.
2919# Always define AMTAR for backward compatibility.  Yes, it's still used
2920# in the wild :-(  We should find a proper way to deprecate it ...
2921AMTAR='$${TAR-tar}'
2922
2923
2924# We'll loop over all known methods to create a tar archive until one works.
2925_am_tools='gnutar plaintar pax cpio none'
2926
2927# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2928      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2929      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2930      # and bug#13588).
2931      am_max_uid=2097151 # 2^21 - 1
2932      am_max_gid=$am_max_uid
2933      # The $UID and $GID variables are not portable, so we need to resort
2934      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2935      # below are definitely unexpected, so allow the users to see them
2936      # (that is, avoid stderr redirection).
2937      am_uid=`id -u || echo unknown`
2938      am_gid=`id -g || echo unknown`
2939      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2940$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2941      if test $am_uid -le $am_max_uid; then
2942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2943$as_echo "yes" >&6; }
2944      else
2945         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946$as_echo "no" >&6; }
2947         _am_tools=none
2948      fi
2949      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2950$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2951      if test $am_gid -le $am_max_gid; then
2952         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2953$as_echo "yes" >&6; }
2954      else
2955        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956$as_echo "no" >&6; }
2957        _am_tools=none
2958      fi
2959
2960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2961$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2962
2963  # Go ahead even if we have the value already cached.  We do so because we
2964  # need to set the values for the 'am__tar' and 'am__untar' variables.
2965  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2966
2967  for _am_tool in $_am_tools; do
2968    case $_am_tool in
2969    gnutar)
2970      for _am_tar in tar gnutar gtar; do
2971        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2972   ($_am_tar --version) >&5 2>&5
2973   ac_status=$?
2974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975   (exit $ac_status); } && break
2976      done
2977      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2978      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2979      am__untar="$_am_tar -xf -"
2980      ;;
2981    plaintar)
2982      # Must skip GNU tar: if it does not support --format= it doesn't create
2983      # ustar tarball either.
2984      (tar --version) >/dev/null 2>&1 && continue
2985      am__tar='tar chf - "$$tardir"'
2986      am__tar_='tar chf - "$tardir"'
2987      am__untar='tar xf -'
2988      ;;
2989    pax)
2990      am__tar='pax -L -x ustar -w "$$tardir"'
2991      am__tar_='pax -L -x ustar -w "$tardir"'
2992      am__untar='pax -r'
2993      ;;
2994    cpio)
2995      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2996      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2997      am__untar='cpio -i -H ustar -d'
2998      ;;
2999    none)
3000      am__tar=false
3001      am__tar_=false
3002      am__untar=false
3003      ;;
3004    esac
3005
3006    # If the value was cached, stop now.  We just wanted to have am__tar
3007    # and am__untar set.
3008    test -n "${am_cv_prog_tar_ustar}" && break
3009
3010    # tar/untar a dummy directory, and stop if the command works.
3011    rm -rf conftest.dir
3012    mkdir conftest.dir
3013    echo GrepMe > conftest.dir/file
3014    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3015   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3016   ac_status=$?
3017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018   (exit $ac_status); }
3019    rm -rf conftest.dir
3020    if test -s conftest.tar; then
3021      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3022   ($am__untar <conftest.tar) >&5 2>&5
3023   ac_status=$?
3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025   (exit $ac_status); }
3026      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3027   (cat conftest.dir/file) >&5 2>&5
3028   ac_status=$?
3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030   (exit $ac_status); }
3031      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3032    fi
3033  done
3034  rm -rf conftest.dir
3035
3036  if ${am_cv_prog_tar_ustar+:} false; then :
3037  $as_echo_n "(cached) " >&6
3038else
3039  am_cv_prog_tar_ustar=$_am_tool
3040fi
3041
3042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3043$as_echo "$am_cv_prog_tar_ustar" >&6; }
3044
3045
3046
3047
3048
3049
3050# POSIX will say in a future version that running "rm -f" with no argument
3051# is OK; and we want to be able to make that assumption in our Makefile
3052# recipes.  So use an aggressive probe to check that the usage we want is
3053# actually supported "in the wild" to an acceptable degree.
3054# See automake bug#10828.
3055# To make any issue more visible, cause the running configure to be aborted
3056# by default if the 'rm' program in use doesn't match our expectations; the
3057# user can still override this though.
3058if rm -f && rm -fr && rm -rf; then : OK; else
3059  cat >&2 <<'END'
3060Oops!
3061
3062Your 'rm' program seems unable to run without file operands specified
3063on the command line, even when the '-f' option is present.  This is contrary
3064to the behaviour of most rm programs out there, and not conforming with
3065the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3066
3067Please tell bug-automake@gnu.org about your system, including the value
3068of your $PATH and any error possibly output before this message.  This
3069can help us improve future automake versions.
3070
3071END
3072  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3073    echo 'Configuration will proceed anyway, since you have set the' >&2
3074    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3075    echo >&2
3076  else
3077    cat >&2 <<'END'
3078Aborting the configuration process, to ensure you take notice of the issue.
3079
3080You can download and install GNU coreutils to get an 'rm' implementation
3081that behaves properly: <https://www.gnu.org/software/coreutils/>.
3082
3083If you want to complete the configuration process using your problematic
3084'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3085to "yes", and re-run configure.
3086
3087END
3088    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3089  fi
3090fi
3091
3092ac_config_headers="$ac_config_headers config.h"
3093
3094
3095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3096$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3097    # Check whether --enable-maintainer-mode was given.
3098if test "${enable_maintainer_mode+set}" = set; then :
3099  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3100else
3101  USE_MAINTAINER_MODE=no
3102fi
3103
3104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3105$as_echo "$USE_MAINTAINER_MODE" >&6; }
3106   if test $USE_MAINTAINER_MODE = yes; then
3107  MAINTAINER_MODE_TRUE=
3108  MAINTAINER_MODE_FALSE='#'
3109else
3110  MAINTAINER_MODE_TRUE='#'
3111  MAINTAINER_MODE_FALSE=
3112fi
3113
3114  MAINT=$MAINTAINER_MODE_TRUE
3115
3116
3117# Check whether --enable-silent-rules was given.
3118if test "${enable_silent_rules+set}" = set; then :
3119  enableval=$enable_silent_rules;
3120fi
3121
3122case $enable_silent_rules in # (((
3123  yes) AM_DEFAULT_VERBOSITY=0;;
3124   no) AM_DEFAULT_VERBOSITY=1;;
3125    *) AM_DEFAULT_VERBOSITY=0;;
3126esac
3127am_make=${MAKE-make}
3128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3129$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3130if ${am_cv_make_support_nested_variables+:} false; then :
3131  $as_echo_n "(cached) " >&6
3132else
3133  if $as_echo 'TRUE=$(BAR$(V))
3134BAR0=false
3135BAR1=true
3136V=1
3137am__doit:
3138	@$(TRUE)
3139.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3140  am_cv_make_support_nested_variables=yes
3141else
3142  am_cv_make_support_nested_variables=no
3143fi
3144fi
3145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3146$as_echo "$am_cv_make_support_nested_variables" >&6; }
3147if test $am_cv_make_support_nested_variables = yes; then
3148    AM_V='$(V)'
3149  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3150else
3151  AM_V=$AM_DEFAULT_VERBOSITY
3152  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3153fi
3154AM_BACKSLASH='\'
3155
3156
3157ac_ext=c
3158ac_cpp='$CPP $CPPFLAGS'
3159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161ac_compiler_gnu=$ac_cv_c_compiler_gnu
3162if test -n "$ac_tool_prefix"; then
3163  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3164set dummy ${ac_tool_prefix}gcc; ac_word=$2
3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3166$as_echo_n "checking for $ac_word... " >&6; }
3167if ${ac_cv_prog_CC+:} false; then :
3168  $as_echo_n "(cached) " >&6
3169else
3170  if test -n "$CC"; then
3171  ac_cv_prog_CC="$CC" # Let the user override the test.
3172else
3173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174for as_dir in $PATH
3175do
3176  IFS=$as_save_IFS
3177  test -z "$as_dir" && as_dir=.
3178    for ac_exec_ext in '' $ac_executable_extensions; do
3179  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3180    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3181    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182    break 2
3183  fi
3184done
3185  done
3186IFS=$as_save_IFS
3187
3188fi
3189fi
3190CC=$ac_cv_prog_CC
3191if test -n "$CC"; then
3192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3193$as_echo "$CC" >&6; }
3194else
3195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196$as_echo "no" >&6; }
3197fi
3198
3199
3200fi
3201if test -z "$ac_cv_prog_CC"; then
3202  ac_ct_CC=$CC
3203  # Extract the first word of "gcc", so it can be a program name with args.
3204set dummy gcc; ac_word=$2
3205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3206$as_echo_n "checking for $ac_word... " >&6; }
3207if ${ac_cv_prog_ac_ct_CC+:} false; then :
3208  $as_echo_n "(cached) " >&6
3209else
3210  if test -n "$ac_ct_CC"; then
3211  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3212else
3213as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214for as_dir in $PATH
3215do
3216  IFS=$as_save_IFS
3217  test -z "$as_dir" && as_dir=.
3218    for ac_exec_ext in '' $ac_executable_extensions; do
3219  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220    ac_cv_prog_ac_ct_CC="gcc"
3221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222    break 2
3223  fi
3224done
3225  done
3226IFS=$as_save_IFS
3227
3228fi
3229fi
3230ac_ct_CC=$ac_cv_prog_ac_ct_CC
3231if test -n "$ac_ct_CC"; then
3232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3233$as_echo "$ac_ct_CC" >&6; }
3234else
3235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236$as_echo "no" >&6; }
3237fi
3238
3239  if test "x$ac_ct_CC" = x; then
3240    CC=""
3241  else
3242    case $cross_compiling:$ac_tool_warned in
3243yes:)
3244{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3245$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3246ac_tool_warned=yes ;;
3247esac
3248    CC=$ac_ct_CC
3249  fi
3250else
3251  CC="$ac_cv_prog_CC"
3252fi
3253
3254if test -z "$CC"; then
3255          if test -n "$ac_tool_prefix"; then
3256    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3257set dummy ${ac_tool_prefix}cc; ac_word=$2
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259$as_echo_n "checking for $ac_word... " >&6; }
3260if ${ac_cv_prog_CC+:} false; then :
3261  $as_echo_n "(cached) " >&6
3262else
3263  if test -n "$CC"; then
3264  ac_cv_prog_CC="$CC" # Let the user override the test.
3265else
3266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267for as_dir in $PATH
3268do
3269  IFS=$as_save_IFS
3270  test -z "$as_dir" && as_dir=.
3271    for ac_exec_ext in '' $ac_executable_extensions; do
3272  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273    ac_cv_prog_CC="${ac_tool_prefix}cc"
3274    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275    break 2
3276  fi
3277done
3278  done
3279IFS=$as_save_IFS
3280
3281fi
3282fi
3283CC=$ac_cv_prog_CC
3284if test -n "$CC"; then
3285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3286$as_echo "$CC" >&6; }
3287else
3288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289$as_echo "no" >&6; }
3290fi
3291
3292
3293  fi
3294fi
3295if test -z "$CC"; then
3296  # Extract the first word of "cc", so it can be a program name with args.
3297set dummy cc; ac_word=$2
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299$as_echo_n "checking for $ac_word... " >&6; }
3300if ${ac_cv_prog_CC+:} false; then :
3301  $as_echo_n "(cached) " >&6
3302else
3303  if test -n "$CC"; then
3304  ac_cv_prog_CC="$CC" # Let the user override the test.
3305else
3306  ac_prog_rejected=no
3307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308for as_dir in $PATH
3309do
3310  IFS=$as_save_IFS
3311  test -z "$as_dir" && as_dir=.
3312    for ac_exec_ext in '' $ac_executable_extensions; do
3313  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3315       ac_prog_rejected=yes
3316       continue
3317     fi
3318    ac_cv_prog_CC="cc"
3319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320    break 2
3321  fi
3322done
3323  done
3324IFS=$as_save_IFS
3325
3326if test $ac_prog_rejected = yes; then
3327  # We found a bogon in the path, so make sure we never use it.
3328  set dummy $ac_cv_prog_CC
3329  shift
3330  if test $# != 0; then
3331    # We chose a different compiler from the bogus one.
3332    # However, it has the same basename, so the bogon will be chosen
3333    # first if we set CC to just the basename; use the full file name.
3334    shift
3335    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3336  fi
3337fi
3338fi
3339fi
3340CC=$ac_cv_prog_CC
3341if test -n "$CC"; then
3342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3343$as_echo "$CC" >&6; }
3344else
3345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346$as_echo "no" >&6; }
3347fi
3348
3349
3350fi
3351if test -z "$CC"; then
3352  if test -n "$ac_tool_prefix"; then
3353  for ac_prog in cl.exe
3354  do
3355    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3356set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358$as_echo_n "checking for $ac_word... " >&6; }
3359if ${ac_cv_prog_CC+:} false; then :
3360  $as_echo_n "(cached) " >&6
3361else
3362  if test -n "$CC"; then
3363  ac_cv_prog_CC="$CC" # Let the user override the test.
3364else
3365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366for as_dir in $PATH
3367do
3368  IFS=$as_save_IFS
3369  test -z "$as_dir" && as_dir=.
3370    for ac_exec_ext in '' $ac_executable_extensions; do
3371  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374    break 2
3375  fi
3376done
3377  done
3378IFS=$as_save_IFS
3379
3380fi
3381fi
3382CC=$ac_cv_prog_CC
3383if test -n "$CC"; then
3384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3385$as_echo "$CC" >&6; }
3386else
3387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388$as_echo "no" >&6; }
3389fi
3390
3391
3392    test -n "$CC" && break
3393  done
3394fi
3395if test -z "$CC"; then
3396  ac_ct_CC=$CC
3397  for ac_prog in cl.exe
3398do
3399  # Extract the first word of "$ac_prog", so it can be a program name with args.
3400set dummy $ac_prog; ac_word=$2
3401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402$as_echo_n "checking for $ac_word... " >&6; }
3403if ${ac_cv_prog_ac_ct_CC+:} false; then :
3404  $as_echo_n "(cached) " >&6
3405else
3406  if test -n "$ac_ct_CC"; then
3407  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3408else
3409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410for as_dir in $PATH
3411do
3412  IFS=$as_save_IFS
3413  test -z "$as_dir" && as_dir=.
3414    for ac_exec_ext in '' $ac_executable_extensions; do
3415  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416    ac_cv_prog_ac_ct_CC="$ac_prog"
3417    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418    break 2
3419  fi
3420done
3421  done
3422IFS=$as_save_IFS
3423
3424fi
3425fi
3426ac_ct_CC=$ac_cv_prog_ac_ct_CC
3427if test -n "$ac_ct_CC"; then
3428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3429$as_echo "$ac_ct_CC" >&6; }
3430else
3431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432$as_echo "no" >&6; }
3433fi
3434
3435
3436  test -n "$ac_ct_CC" && break
3437done
3438
3439  if test "x$ac_ct_CC" = x; then
3440    CC=""
3441  else
3442    case $cross_compiling:$ac_tool_warned in
3443yes:)
3444{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3445$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3446ac_tool_warned=yes ;;
3447esac
3448    CC=$ac_ct_CC
3449  fi
3450fi
3451
3452fi
3453
3454
3455test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457as_fn_error $? "no acceptable C compiler found in \$PATH
3458See \`config.log' for more details" "$LINENO" 5; }
3459
3460# Provide some information about the compiler.
3461$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3462set X $ac_compile
3463ac_compiler=$2
3464for ac_option in --version -v -V -qversion; do
3465  { { ac_try="$ac_compiler $ac_option >&5"
3466case "(($ac_try" in
3467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468  *) ac_try_echo=$ac_try;;
3469esac
3470eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3471$as_echo "$ac_try_echo"; } >&5
3472  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3473  ac_status=$?
3474  if test -s conftest.err; then
3475    sed '10a\
3476... rest of stderr output deleted ...
3477         10q' conftest.err >conftest.er1
3478    cat conftest.er1 >&5
3479  fi
3480  rm -f conftest.er1 conftest.err
3481  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482  test $ac_status = 0; }
3483done
3484
3485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486/* end confdefs.h.  */
3487
3488int
3489main ()
3490{
3491
3492  ;
3493  return 0;
3494}
3495_ACEOF
3496ac_clean_files_save=$ac_clean_files
3497ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3498# Try to create an executable without -o first, disregard a.out.
3499# It will help us diagnose broken compilers, and finding out an intuition
3500# of exeext.
3501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3502$as_echo_n "checking whether the C compiler works... " >&6; }
3503ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3504
3505# The possible output files:
3506ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3507
3508ac_rmfiles=
3509for ac_file in $ac_files
3510do
3511  case $ac_file in
3512    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3513    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3514  esac
3515done
3516rm -f $ac_rmfiles
3517
3518if { { ac_try="$ac_link_default"
3519case "(($ac_try" in
3520  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521  *) ac_try_echo=$ac_try;;
3522esac
3523eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524$as_echo "$ac_try_echo"; } >&5
3525  (eval "$ac_link_default") 2>&5
3526  ac_status=$?
3527  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528  test $ac_status = 0; }; then :
3529  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3530# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3531# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3532# so that the user can short-circuit this test for compilers unknown to
3533# Autoconf.
3534for ac_file in $ac_files ''
3535do
3536  test -f "$ac_file" || continue
3537  case $ac_file in
3538    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3539	;;
3540    [ab].out )
3541	# We found the default executable, but exeext='' is most
3542	# certainly right.
3543	break;;
3544    *.* )
3545	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3546	then :; else
3547	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3548	fi
3549	# We set ac_cv_exeext here because the later test for it is not
3550	# safe: cross compilers may not add the suffix if given an `-o'
3551	# argument, so we may need to know it at that point already.
3552	# Even if this section looks crufty: it has the advantage of
3553	# actually working.
3554	break;;
3555    * )
3556	break;;
3557  esac
3558done
3559test "$ac_cv_exeext" = no && ac_cv_exeext=
3560
3561else
3562  ac_file=''
3563fi
3564if test -z "$ac_file"; then :
3565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566$as_echo "no" >&6; }
3567$as_echo "$as_me: failed program was:" >&5
3568sed 's/^/| /' conftest.$ac_ext >&5
3569
3570{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3571$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572as_fn_error 77 "C compiler cannot create executables
3573See \`config.log' for more details" "$LINENO" 5; }
3574else
3575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3576$as_echo "yes" >&6; }
3577fi
3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3579$as_echo_n "checking for C compiler default output file name... " >&6; }
3580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3581$as_echo "$ac_file" >&6; }
3582ac_exeext=$ac_cv_exeext
3583
3584rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3585ac_clean_files=$ac_clean_files_save
3586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3587$as_echo_n "checking for suffix of executables... " >&6; }
3588if { { ac_try="$ac_link"
3589case "(($ac_try" in
3590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591  *) ac_try_echo=$ac_try;;
3592esac
3593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594$as_echo "$ac_try_echo"; } >&5
3595  (eval "$ac_link") 2>&5
3596  ac_status=$?
3597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598  test $ac_status = 0; }; then :
3599  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3600# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3601# work properly (i.e., refer to `conftest.exe'), while it won't with
3602# `rm'.
3603for ac_file in conftest.exe conftest conftest.*; do
3604  test -f "$ac_file" || continue
3605  case $ac_file in
3606    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3607    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3608	  break;;
3609    * ) break;;
3610  esac
3611done
3612else
3613  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3616See \`config.log' for more details" "$LINENO" 5; }
3617fi
3618rm -f conftest conftest$ac_cv_exeext
3619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3620$as_echo "$ac_cv_exeext" >&6; }
3621
3622rm -f conftest.$ac_ext
3623EXEEXT=$ac_cv_exeext
3624ac_exeext=$EXEEXT
3625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626/* end confdefs.h.  */
3627#include <stdio.h>
3628int
3629main ()
3630{
3631FILE *f = fopen ("conftest.out", "w");
3632 return ferror (f) || fclose (f) != 0;
3633
3634  ;
3635  return 0;
3636}
3637_ACEOF
3638ac_clean_files="$ac_clean_files conftest.out"
3639# Check that the compiler produces executables we can run.  If not, either
3640# the compiler is broken, or we cross compile.
3641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3642$as_echo_n "checking whether we are cross compiling... " >&6; }
3643if test "$cross_compiling" != yes; then
3644  { { ac_try="$ac_link"
3645case "(($ac_try" in
3646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647  *) ac_try_echo=$ac_try;;
3648esac
3649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3650$as_echo "$ac_try_echo"; } >&5
3651  (eval "$ac_link") 2>&5
3652  ac_status=$?
3653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3654  test $ac_status = 0; }
3655  if { ac_try='./conftest$ac_cv_exeext'
3656  { { case "(($ac_try" in
3657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658  *) ac_try_echo=$ac_try;;
3659esac
3660eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661$as_echo "$ac_try_echo"; } >&5
3662  (eval "$ac_try") 2>&5
3663  ac_status=$?
3664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665  test $ac_status = 0; }; }; then
3666    cross_compiling=no
3667  else
3668    if test "$cross_compiling" = maybe; then
3669	cross_compiling=yes
3670    else
3671	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3672$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3673as_fn_error $? "cannot run C compiled programs.
3674If you meant to cross compile, use \`--host'.
3675See \`config.log' for more details" "$LINENO" 5; }
3676    fi
3677  fi
3678fi
3679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3680$as_echo "$cross_compiling" >&6; }
3681
3682rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3683ac_clean_files=$ac_clean_files_save
3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3685$as_echo_n "checking for suffix of object files... " >&6; }
3686if ${ac_cv_objext+:} false; then :
3687  $as_echo_n "(cached) " >&6
3688else
3689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690/* end confdefs.h.  */
3691
3692int
3693main ()
3694{
3695
3696  ;
3697  return 0;
3698}
3699_ACEOF
3700rm -f conftest.o conftest.obj
3701if { { ac_try="$ac_compile"
3702case "(($ac_try" in
3703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704  *) ac_try_echo=$ac_try;;
3705esac
3706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3707$as_echo "$ac_try_echo"; } >&5
3708  (eval "$ac_compile") 2>&5
3709  ac_status=$?
3710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3711  test $ac_status = 0; }; then :
3712  for ac_file in conftest.o conftest.obj conftest.*; do
3713  test -f "$ac_file" || continue;
3714  case $ac_file in
3715    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3716    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3717       break;;
3718  esac
3719done
3720else
3721  $as_echo "$as_me: failed program was:" >&5
3722sed 's/^/| /' conftest.$ac_ext >&5
3723
3724{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726as_fn_error $? "cannot compute suffix of object files: cannot compile
3727See \`config.log' for more details" "$LINENO" 5; }
3728fi
3729rm -f conftest.$ac_cv_objext conftest.$ac_ext
3730fi
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3732$as_echo "$ac_cv_objext" >&6; }
3733OBJEXT=$ac_cv_objext
3734ac_objext=$OBJEXT
3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3736$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3737if ${ac_cv_c_compiler_gnu+:} false; then :
3738  $as_echo_n "(cached) " >&6
3739else
3740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741/* end confdefs.h.  */
3742
3743int
3744main ()
3745{
3746#ifndef __GNUC__
3747       choke me
3748#endif
3749
3750  ;
3751  return 0;
3752}
3753_ACEOF
3754if ac_fn_c_try_compile "$LINENO"; then :
3755  ac_compiler_gnu=yes
3756else
3757  ac_compiler_gnu=no
3758fi
3759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760ac_cv_c_compiler_gnu=$ac_compiler_gnu
3761
3762fi
3763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3764$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3765if test $ac_compiler_gnu = yes; then
3766  GCC=yes
3767else
3768  GCC=
3769fi
3770ac_test_CFLAGS=${CFLAGS+set}
3771ac_save_CFLAGS=$CFLAGS
3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3773$as_echo_n "checking whether $CC accepts -g... " >&6; }
3774if ${ac_cv_prog_cc_g+:} false; then :
3775  $as_echo_n "(cached) " >&6
3776else
3777  ac_save_c_werror_flag=$ac_c_werror_flag
3778   ac_c_werror_flag=yes
3779   ac_cv_prog_cc_g=no
3780   CFLAGS="-g"
3781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782/* end confdefs.h.  */
3783
3784int
3785main ()
3786{
3787
3788  ;
3789  return 0;
3790}
3791_ACEOF
3792if ac_fn_c_try_compile "$LINENO"; then :
3793  ac_cv_prog_cc_g=yes
3794else
3795  CFLAGS=""
3796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797/* end confdefs.h.  */
3798
3799int
3800main ()
3801{
3802
3803  ;
3804  return 0;
3805}
3806_ACEOF
3807if ac_fn_c_try_compile "$LINENO"; then :
3808
3809else
3810  ac_c_werror_flag=$ac_save_c_werror_flag
3811	 CFLAGS="-g"
3812	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813/* end confdefs.h.  */
3814
3815int
3816main ()
3817{
3818
3819  ;
3820  return 0;
3821}
3822_ACEOF
3823if ac_fn_c_try_compile "$LINENO"; then :
3824  ac_cv_prog_cc_g=yes
3825fi
3826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827fi
3828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829fi
3830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3831   ac_c_werror_flag=$ac_save_c_werror_flag
3832fi
3833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3834$as_echo "$ac_cv_prog_cc_g" >&6; }
3835if test "$ac_test_CFLAGS" = set; then
3836  CFLAGS=$ac_save_CFLAGS
3837elif test $ac_cv_prog_cc_g = yes; then
3838  if test "$GCC" = yes; then
3839    CFLAGS="-g -O2"
3840  else
3841    CFLAGS="-g"
3842  fi
3843else
3844  if test "$GCC" = yes; then
3845    CFLAGS="-O2"
3846  else
3847    CFLAGS=
3848  fi
3849fi
3850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3851$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3852if ${ac_cv_prog_cc_c89+:} false; then :
3853  $as_echo_n "(cached) " >&6
3854else
3855  ac_cv_prog_cc_c89=no
3856ac_save_CC=$CC
3857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858/* end confdefs.h.  */
3859#include <stdarg.h>
3860#include <stdio.h>
3861struct stat;
3862/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3863struct buf { int x; };
3864FILE * (*rcsopen) (struct buf *, struct stat *, int);
3865static char *e (p, i)
3866     char **p;
3867     int i;
3868{
3869  return p[i];
3870}
3871static char *f (char * (*g) (char **, int), char **p, ...)
3872{
3873  char *s;
3874  va_list v;
3875  va_start (v,p);
3876  s = g (p, va_arg (v,int));
3877  va_end (v);
3878  return s;
3879}
3880
3881/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3882   function prototypes and stuff, but not '\xHH' hex character constants.
3883   These don't provoke an error unfortunately, instead are silently treated
3884   as 'x'.  The following induces an error, until -std is added to get
3885   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3886   array size at least.  It's necessary to write '\x00'==0 to get something
3887   that's true only with -std.  */
3888int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3889
3890/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3891   inside strings and character constants.  */
3892#define FOO(x) 'x'
3893int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3894
3895int test (int i, double x);
3896struct s1 {int (*f) (int a);};
3897struct s2 {int (*f) (double a);};
3898int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3899int argc;
3900char **argv;
3901int
3902main ()
3903{
3904return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3905  ;
3906  return 0;
3907}
3908_ACEOF
3909for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3910	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3911do
3912  CC="$ac_save_CC $ac_arg"
3913  if ac_fn_c_try_compile "$LINENO"; then :
3914  ac_cv_prog_cc_c89=$ac_arg
3915fi
3916rm -f core conftest.err conftest.$ac_objext
3917  test "x$ac_cv_prog_cc_c89" != "xno" && break
3918done
3919rm -f conftest.$ac_ext
3920CC=$ac_save_CC
3921
3922fi
3923# AC_CACHE_VAL
3924case "x$ac_cv_prog_cc_c89" in
3925  x)
3926    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3927$as_echo "none needed" >&6; } ;;
3928  xno)
3929    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3930$as_echo "unsupported" >&6; } ;;
3931  *)
3932    CC="$CC $ac_cv_prog_cc_c89"
3933    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3934$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3935esac
3936if test "x$ac_cv_prog_cc_c89" != xno; then :
3937
3938fi
3939
3940ac_ext=c
3941ac_cpp='$CPP $CPPFLAGS'
3942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945
3946ac_ext=c
3947ac_cpp='$CPP $CPPFLAGS'
3948ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3952$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3953if ${am_cv_prog_cc_c_o+:} false; then :
3954  $as_echo_n "(cached) " >&6
3955else
3956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957/* end confdefs.h.  */
3958
3959int
3960main ()
3961{
3962
3963  ;
3964  return 0;
3965}
3966_ACEOF
3967  # Make sure it works both with $CC and with simple cc.
3968  # Following AC_PROG_CC_C_O, we do the test twice because some
3969  # compilers refuse to overwrite an existing .o file with -o,
3970  # though they will create one.
3971  am_cv_prog_cc_c_o=yes
3972  for am_i in 1 2; do
3973    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3974   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3975   ac_status=$?
3976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977   (exit $ac_status); } \
3978         && test -f conftest2.$ac_objext; then
3979      : OK
3980    else
3981      am_cv_prog_cc_c_o=no
3982      break
3983    fi
3984  done
3985  rm -f core conftest*
3986  unset am_i
3987fi
3988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3989$as_echo "$am_cv_prog_cc_c_o" >&6; }
3990if test "$am_cv_prog_cc_c_o" != yes; then
3991   # Losing compiler, so override with the script.
3992   # FIXME: It is wrong to rewrite CC.
3993   # But if we don't then we get into trouble of one sort or another.
3994   # A longer-term fix would be to have automake use am__CC in this case,
3995   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3996   CC="$am_aux_dir/compile $CC"
3997fi
3998ac_ext=c
3999ac_cpp='$CPP $CPPFLAGS'
4000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4002ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003
4004DEPDIR="${am__leading_dot}deps"
4005
4006ac_config_commands="$ac_config_commands depfiles"
4007
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4009$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4010cat > confinc.mk << 'END'
4011am__doit:
4012	@echo this is the am__doit target >confinc.out
4013.PHONY: am__doit
4014END
4015am__include="#"
4016am__quote=
4017# BSD make does it like this.
4018echo '.include "confinc.mk" # ignored' > confmf.BSD
4019# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4020echo 'include confinc.mk # ignored' > confmf.GNU
4021_am_result=no
4022for s in GNU BSD; do
4023  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4024   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4025   ac_status=$?
4026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027   (exit $ac_status); }
4028  case $?:`cat confinc.out 2>/dev/null` in #(
4029  '0:this is the am__doit target') :
4030    case $s in #(
4031  BSD) :
4032    am__include='.include' am__quote='"' ;; #(
4033  *) :
4034    am__include='include' am__quote='' ;;
4035esac ;; #(
4036  *) :
4037     ;;
4038esac
4039  if test "$am__include" != "#"; then
4040    _am_result="yes ($s style)"
4041    break
4042  fi
4043done
4044rm -f confinc.* confmf.*
4045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4046$as_echo "${_am_result}" >&6; }
4047
4048# Check whether --enable-dependency-tracking was given.
4049if test "${enable_dependency_tracking+set}" = set; then :
4050  enableval=$enable_dependency_tracking;
4051fi
4052
4053if test "x$enable_dependency_tracking" != xno; then
4054  am_depcomp="$ac_aux_dir/depcomp"
4055  AMDEPBACKSLASH='\'
4056  am__nodep='_no'
4057fi
4058 if test "x$enable_dependency_tracking" != xno; then
4059  AMDEP_TRUE=
4060  AMDEP_FALSE='#'
4061else
4062  AMDEP_TRUE='#'
4063  AMDEP_FALSE=
4064fi
4065
4066
4067
4068depcc="$CC"   am_compiler_list=
4069
4070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4071$as_echo_n "checking dependency style of $depcc... " >&6; }
4072if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4073  $as_echo_n "(cached) " >&6
4074else
4075  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4076  # We make a subdir and do the tests there.  Otherwise we can end up
4077  # making bogus files that we don't know about and never remove.  For
4078  # instance it was reported that on HP-UX the gcc test will end up
4079  # making a dummy file named 'D' -- because '-MD' means "put the output
4080  # in D".
4081  rm -rf conftest.dir
4082  mkdir conftest.dir
4083  # Copy depcomp to subdir because otherwise we won't find it if we're
4084  # using a relative directory.
4085  cp "$am_depcomp" conftest.dir
4086  cd conftest.dir
4087  # We will build objects and dependencies in a subdirectory because
4088  # it helps to detect inapplicable dependency modes.  For instance
4089  # both Tru64's cc and ICC support -MD to output dependencies as a
4090  # side effect of compilation, but ICC will put the dependencies in
4091  # the current directory while Tru64 will put them in the object
4092  # directory.
4093  mkdir sub
4094
4095  am_cv_CC_dependencies_compiler_type=none
4096  if test "$am_compiler_list" = ""; then
4097     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4098  fi
4099  am__universal=false
4100  case " $depcc " in #(
4101     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4102     esac
4103
4104  for depmode in $am_compiler_list; do
4105    # Setup a source with many dependencies, because some compilers
4106    # like to wrap large dependency lists on column 80 (with \), and
4107    # we should not choose a depcomp mode which is confused by this.
4108    #
4109    # We need to recreate these files for each test, as the compiler may
4110    # overwrite some of them when testing with obscure command lines.
4111    # This happens at least with the AIX C compiler.
4112    : > sub/conftest.c
4113    for i in 1 2 3 4 5 6; do
4114      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4115      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4116      # Solaris 10 /bin/sh.
4117      echo '/* dummy */' > sub/conftst$i.h
4118    done
4119    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4120
4121    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4122    # mode.  It turns out that the SunPro C++ compiler does not properly
4123    # handle '-M -o', and we need to detect this.  Also, some Intel
4124    # versions had trouble with output in subdirs.
4125    am__obj=sub/conftest.${OBJEXT-o}
4126    am__minus_obj="-o $am__obj"
4127    case $depmode in
4128    gcc)
4129      # This depmode causes a compiler race in universal mode.
4130      test "$am__universal" = false || continue
4131      ;;
4132    nosideeffect)
4133      # After this tag, mechanisms are not by side-effect, so they'll
4134      # only be used when explicitly requested.
4135      if test "x$enable_dependency_tracking" = xyes; then
4136	continue
4137      else
4138	break
4139      fi
4140      ;;
4141    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4142      # This compiler won't grok '-c -o', but also, the minuso test has
4143      # not run yet.  These depmodes are late enough in the game, and
4144      # so weak that their functioning should not be impacted.
4145      am__obj=conftest.${OBJEXT-o}
4146      am__minus_obj=
4147      ;;
4148    none) break ;;
4149    esac
4150    if depmode=$depmode \
4151       source=sub/conftest.c object=$am__obj \
4152       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4153       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4154         >/dev/null 2>conftest.err &&
4155       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4156       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4157       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4158       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4159      # icc doesn't choke on unknown options, it will just issue warnings
4160      # or remarks (even with -Werror).  So we grep stderr for any message
4161      # that says an option was ignored or not supported.
4162      # When given -MP, icc 7.0 and 7.1 complain thusly:
4163      #   icc: Command line warning: ignoring option '-M'; no argument required
4164      # The diagnosis changed in icc 8.0:
4165      #   icc: Command line remark: option '-MP' not supported
4166      if (grep 'ignoring option' conftest.err ||
4167          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4168        am_cv_CC_dependencies_compiler_type=$depmode
4169        break
4170      fi
4171    fi
4172  done
4173
4174  cd ..
4175  rm -rf conftest.dir
4176else
4177  am_cv_CC_dependencies_compiler_type=none
4178fi
4179
4180fi
4181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4182$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4183CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4184
4185 if
4186  test "x$enable_dependency_tracking" != xno \
4187  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4188  am__fastdepCC_TRUE=
4189  am__fastdepCC_FALSE='#'
4190else
4191  am__fastdepCC_TRUE='#'
4192  am__fastdepCC_FALSE=
4193fi
4194
4195
4196# Make sure we can run config.sub.
4197$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4198  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4199
4200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4201$as_echo_n "checking build system type... " >&6; }
4202if ${ac_cv_build+:} false; then :
4203  $as_echo_n "(cached) " >&6
4204else
4205  ac_build_alias=$build_alias
4206test "x$ac_build_alias" = x &&
4207  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4208test "x$ac_build_alias" = x &&
4209  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4210ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4211  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4212
4213fi
4214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4215$as_echo "$ac_cv_build" >&6; }
4216case $ac_cv_build in
4217*-*-*) ;;
4218*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4219esac
4220build=$ac_cv_build
4221ac_save_IFS=$IFS; IFS='-'
4222set x $ac_cv_build
4223shift
4224build_cpu=$1
4225build_vendor=$2
4226shift; shift
4227# Remember, the first character of IFS is used to create $*,
4228# except with old shells:
4229build_os=$*
4230IFS=$ac_save_IFS
4231case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4232
4233
4234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4235$as_echo_n "checking host system type... " >&6; }
4236if ${ac_cv_host+:} false; then :
4237  $as_echo_n "(cached) " >&6
4238else
4239  if test "x$host_alias" = x; then
4240  ac_cv_host=$ac_cv_build
4241else
4242  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4243    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4244fi
4245
4246fi
4247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4248$as_echo "$ac_cv_host" >&6; }
4249case $ac_cv_host in
4250*-*-*) ;;
4251*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4252esac
4253host=$ac_cv_host
4254ac_save_IFS=$IFS; IFS='-'
4255set x $ac_cv_host
4256shift
4257host_cpu=$1
4258host_vendor=$2
4259shift; shift
4260# Remember, the first character of IFS is used to create $*,
4261# except with old shells:
4262host_os=$*
4263IFS=$ac_save_IFS
4264case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4265
4266
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4268$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4269if ${ac_cv_path_SED+:} false; then :
4270  $as_echo_n "(cached) " >&6
4271else
4272            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4273     for ac_i in 1 2 3 4 5 6 7; do
4274       ac_script="$ac_script$as_nl$ac_script"
4275     done
4276     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4277     { ac_script=; unset ac_script;}
4278     if test -z "$SED"; then
4279  ac_path_SED_found=false
4280  # Loop through the user's path and test for each of PROGNAME-LIST
4281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282for as_dir in $PATH
4283do
4284  IFS=$as_save_IFS
4285  test -z "$as_dir" && as_dir=.
4286    for ac_prog in sed gsed; do
4287    for ac_exec_ext in '' $ac_executable_extensions; do
4288      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4289      as_fn_executable_p "$ac_path_SED" || continue
4290# Check for GNU ac_path_SED and select it if it is found.
4291  # Check for GNU $ac_path_SED
4292case `"$ac_path_SED" --version 2>&1` in
4293*GNU*)
4294  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4295*)
4296  ac_count=0
4297  $as_echo_n 0123456789 >"conftest.in"
4298  while :
4299  do
4300    cat "conftest.in" "conftest.in" >"conftest.tmp"
4301    mv "conftest.tmp" "conftest.in"
4302    cp "conftest.in" "conftest.nl"
4303    $as_echo '' >> "conftest.nl"
4304    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4305    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4306    as_fn_arith $ac_count + 1 && ac_count=$as_val
4307    if test $ac_count -gt ${ac_path_SED_max-0}; then
4308      # Best one so far, save it but keep looking for a better one
4309      ac_cv_path_SED="$ac_path_SED"
4310      ac_path_SED_max=$ac_count
4311    fi
4312    # 10*(2^10) chars as input seems more than enough
4313    test $ac_count -gt 10 && break
4314  done
4315  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316esac
4317
4318      $ac_path_SED_found && break 3
4319    done
4320  done
4321  done
4322IFS=$as_save_IFS
4323  if test -z "$ac_cv_path_SED"; then
4324    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4325  fi
4326else
4327  ac_cv_path_SED=$SED
4328fi
4329
4330fi
4331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4332$as_echo "$ac_cv_path_SED" >&6; }
4333 SED="$ac_cv_path_SED"
4334  rm -f conftest.sed
4335
4336test -z "$SED" && SED=sed
4337Xsed="$SED -e 1s/^X//"
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4350$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4351if ${ac_cv_path_GREP+:} false; then :
4352  $as_echo_n "(cached) " >&6
4353else
4354  if test -z "$GREP"; then
4355  ac_path_GREP_found=false
4356  # Loop through the user's path and test for each of PROGNAME-LIST
4357  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4359do
4360  IFS=$as_save_IFS
4361  test -z "$as_dir" && as_dir=.
4362    for ac_prog in grep ggrep; do
4363    for ac_exec_ext in '' $ac_executable_extensions; do
4364      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4365      as_fn_executable_p "$ac_path_GREP" || continue
4366# Check for GNU ac_path_GREP and select it if it is found.
4367  # Check for GNU $ac_path_GREP
4368case `"$ac_path_GREP" --version 2>&1` in
4369*GNU*)
4370  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4371*)
4372  ac_count=0
4373  $as_echo_n 0123456789 >"conftest.in"
4374  while :
4375  do
4376    cat "conftest.in" "conftest.in" >"conftest.tmp"
4377    mv "conftest.tmp" "conftest.in"
4378    cp "conftest.in" "conftest.nl"
4379    $as_echo 'GREP' >> "conftest.nl"
4380    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4381    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4382    as_fn_arith $ac_count + 1 && ac_count=$as_val
4383    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4384      # Best one so far, save it but keep looking for a better one
4385      ac_cv_path_GREP="$ac_path_GREP"
4386      ac_path_GREP_max=$ac_count
4387    fi
4388    # 10*(2^10) chars as input seems more than enough
4389    test $ac_count -gt 10 && break
4390  done
4391  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4392esac
4393
4394      $ac_path_GREP_found && break 3
4395    done
4396  done
4397  done
4398IFS=$as_save_IFS
4399  if test -z "$ac_cv_path_GREP"; then
4400    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4401  fi
4402else
4403  ac_cv_path_GREP=$GREP
4404fi
4405
4406fi
4407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4408$as_echo "$ac_cv_path_GREP" >&6; }
4409 GREP="$ac_cv_path_GREP"
4410
4411
4412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4413$as_echo_n "checking for egrep... " >&6; }
4414if ${ac_cv_path_EGREP+:} false; then :
4415  $as_echo_n "(cached) " >&6
4416else
4417  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4418   then ac_cv_path_EGREP="$GREP -E"
4419   else
4420     if test -z "$EGREP"; then
4421  ac_path_EGREP_found=false
4422  # Loop through the user's path and test for each of PROGNAME-LIST
4423  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4425do
4426  IFS=$as_save_IFS
4427  test -z "$as_dir" && as_dir=.
4428    for ac_prog in egrep; do
4429    for ac_exec_ext in '' $ac_executable_extensions; do
4430      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4431      as_fn_executable_p "$ac_path_EGREP" || continue
4432# Check for GNU ac_path_EGREP and select it if it is found.
4433  # Check for GNU $ac_path_EGREP
4434case `"$ac_path_EGREP" --version 2>&1` in
4435*GNU*)
4436  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4437*)
4438  ac_count=0
4439  $as_echo_n 0123456789 >"conftest.in"
4440  while :
4441  do
4442    cat "conftest.in" "conftest.in" >"conftest.tmp"
4443    mv "conftest.tmp" "conftest.in"
4444    cp "conftest.in" "conftest.nl"
4445    $as_echo 'EGREP' >> "conftest.nl"
4446    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4447    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4448    as_fn_arith $ac_count + 1 && ac_count=$as_val
4449    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4450      # Best one so far, save it but keep looking for a better one
4451      ac_cv_path_EGREP="$ac_path_EGREP"
4452      ac_path_EGREP_max=$ac_count
4453    fi
4454    # 10*(2^10) chars as input seems more than enough
4455    test $ac_count -gt 10 && break
4456  done
4457  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4458esac
4459
4460      $ac_path_EGREP_found && break 3
4461    done
4462  done
4463  done
4464IFS=$as_save_IFS
4465  if test -z "$ac_cv_path_EGREP"; then
4466    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4467  fi
4468else
4469  ac_cv_path_EGREP=$EGREP
4470fi
4471
4472   fi
4473fi
4474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4475$as_echo "$ac_cv_path_EGREP" >&6; }
4476 EGREP="$ac_cv_path_EGREP"
4477
4478
4479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4480$as_echo_n "checking for fgrep... " >&6; }
4481if ${ac_cv_path_FGREP+:} false; then :
4482  $as_echo_n "(cached) " >&6
4483else
4484  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4485   then ac_cv_path_FGREP="$GREP -F"
4486   else
4487     if test -z "$FGREP"; then
4488  ac_path_FGREP_found=false
4489  # Loop through the user's path and test for each of PROGNAME-LIST
4490  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4492do
4493  IFS=$as_save_IFS
4494  test -z "$as_dir" && as_dir=.
4495    for ac_prog in fgrep; do
4496    for ac_exec_ext in '' $ac_executable_extensions; do
4497      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4498      as_fn_executable_p "$ac_path_FGREP" || continue
4499# Check for GNU ac_path_FGREP and select it if it is found.
4500  # Check for GNU $ac_path_FGREP
4501case `"$ac_path_FGREP" --version 2>&1` in
4502*GNU*)
4503  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4504*)
4505  ac_count=0
4506  $as_echo_n 0123456789 >"conftest.in"
4507  while :
4508  do
4509    cat "conftest.in" "conftest.in" >"conftest.tmp"
4510    mv "conftest.tmp" "conftest.in"
4511    cp "conftest.in" "conftest.nl"
4512    $as_echo 'FGREP' >> "conftest.nl"
4513    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4514    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4515    as_fn_arith $ac_count + 1 && ac_count=$as_val
4516    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4517      # Best one so far, save it but keep looking for a better one
4518      ac_cv_path_FGREP="$ac_path_FGREP"
4519      ac_path_FGREP_max=$ac_count
4520    fi
4521    # 10*(2^10) chars as input seems more than enough
4522    test $ac_count -gt 10 && break
4523  done
4524  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4525esac
4526
4527      $ac_path_FGREP_found && break 3
4528    done
4529  done
4530  done
4531IFS=$as_save_IFS
4532  if test -z "$ac_cv_path_FGREP"; then
4533    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4534  fi
4535else
4536  ac_cv_path_FGREP=$FGREP
4537fi
4538
4539   fi
4540fi
4541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4542$as_echo "$ac_cv_path_FGREP" >&6; }
4543 FGREP="$ac_cv_path_FGREP"
4544
4545
4546test -z "$GREP" && GREP=grep
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4565ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4566ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4567
4568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4569$as_echo_n "checking how to print strings... " >&6; }
4570# Test print first, because it will be a builtin if present.
4571if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4572   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4573  ECHO='print -r --'
4574elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4575  ECHO='printf %s\n'
4576else
4577  # Use this function as a fallback that always works.
4578  func_fallback_echo ()
4579  {
4580    eval 'cat <<_LTECHO_EOF
4581$1
4582_LTECHO_EOF'
4583  }
4584  ECHO='func_fallback_echo'
4585fi
4586
4587# func_echo_all arg...
4588# Invoke $ECHO with all args, space-separated.
4589func_echo_all ()
4590{
4591    $ECHO ""
4592}
4593
4594case $ECHO in
4595  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4596$as_echo "printf" >&6; } ;;
4597  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4598$as_echo "print -r" >&6; } ;;
4599  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4600$as_echo "cat" >&6; } ;;
4601esac
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618# Check whether --with-gnu-ld was given.
4619if test "${with_gnu_ld+set}" = set; then :
4620  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4621else
4622  with_gnu_ld=no
4623fi
4624
4625ac_prog=ld
4626if test yes = "$GCC"; then
4627  # Check if gcc -print-prog-name=ld gives a path.
4628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4629$as_echo_n "checking for ld used by $CC... " >&6; }
4630  case $host in
4631  *-*-mingw*)
4632    # gcc leaves a trailing carriage return, which upsets mingw
4633    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4634  *)
4635    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4636  esac
4637  case $ac_prog in
4638    # Accept absolute paths.
4639    [\\/]* | ?:[\\/]*)
4640      re_direlt='/[^/][^/]*/\.\./'
4641      # Canonicalize the pathname of ld
4642      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4643      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4644	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4645      done
4646      test -z "$LD" && LD=$ac_prog
4647      ;;
4648  "")
4649    # If it fails, then pretend we aren't using GCC.
4650    ac_prog=ld
4651    ;;
4652  *)
4653    # If it is relative, then search for the first ld in PATH.
4654    with_gnu_ld=unknown
4655    ;;
4656  esac
4657elif test yes = "$with_gnu_ld"; then
4658  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4659$as_echo_n "checking for GNU ld... " >&6; }
4660else
4661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4662$as_echo_n "checking for non-GNU ld... " >&6; }
4663fi
4664if ${lt_cv_path_LD+:} false; then :
4665  $as_echo_n "(cached) " >&6
4666else
4667  if test -z "$LD"; then
4668  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4669  for ac_dir in $PATH; do
4670    IFS=$lt_save_ifs
4671    test -z "$ac_dir" && ac_dir=.
4672    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4673      lt_cv_path_LD=$ac_dir/$ac_prog
4674      # Check to see if the program is GNU ld.  I'd rather use --version,
4675      # but apparently some variants of GNU ld only accept -v.
4676      # Break only if it was the GNU/non-GNU ld that we prefer.
4677      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4678      *GNU* | *'with BFD'*)
4679	test no != "$with_gnu_ld" && break
4680	;;
4681      *)
4682	test yes != "$with_gnu_ld" && break
4683	;;
4684      esac
4685    fi
4686  done
4687  IFS=$lt_save_ifs
4688else
4689  lt_cv_path_LD=$LD # Let the user override the test with a path.
4690fi
4691fi
4692
4693LD=$lt_cv_path_LD
4694if test -n "$LD"; then
4695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4696$as_echo "$LD" >&6; }
4697else
4698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699$as_echo "no" >&6; }
4700fi
4701test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4703$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4704if ${lt_cv_prog_gnu_ld+:} false; then :
4705  $as_echo_n "(cached) " >&6
4706else
4707  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4708case `$LD -v 2>&1 </dev/null` in
4709*GNU* | *'with BFD'*)
4710  lt_cv_prog_gnu_ld=yes
4711  ;;
4712*)
4713  lt_cv_prog_gnu_ld=no
4714  ;;
4715esac
4716fi
4717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4718$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4719with_gnu_ld=$lt_cv_prog_gnu_ld
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4732$as_echo_n "checking whether NLS is requested... " >&6; }
4733    # Check whether --enable-nls was given.
4734if test "${enable_nls+set}" = set; then :
4735  enableval=$enable_nls; USE_NLS=$enableval
4736else
4737  USE_NLS=yes
4738fi
4739
4740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4741$as_echo "$USE_NLS" >&6; }
4742
4743
4744
4745
4746case "$am__api_version" in
4747    1.01234)
4748	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4749    ;;
4750    *)
4751    ;;
4752esac
4753
4754INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4755INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4756INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4757if test -n "0.35.0"; then
4758    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4759$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4760    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4761$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4762    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4763	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4764fi
4765
4766# Extract the first word of "intltool-update", so it can be a program name with args.
4767set dummy intltool-update; ac_word=$2
4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769$as_echo_n "checking for $ac_word... " >&6; }
4770if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4771  $as_echo_n "(cached) " >&6
4772else
4773  case $INTLTOOL_UPDATE in
4774  [\\/]* | ?:[\\/]*)
4775  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4776  ;;
4777  *)
4778  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH
4780do
4781  IFS=$as_save_IFS
4782  test -z "$as_dir" && as_dir=.
4783    for ac_exec_ext in '' $ac_executable_extensions; do
4784  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787    break 2
4788  fi
4789done
4790  done
4791IFS=$as_save_IFS
4792
4793  ;;
4794esac
4795fi
4796INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4797if test -n "$INTLTOOL_UPDATE"; then
4798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4799$as_echo "$INTLTOOL_UPDATE" >&6; }
4800else
4801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802$as_echo "no" >&6; }
4803fi
4804
4805
4806# Extract the first word of "intltool-merge", so it can be a program name with args.
4807set dummy intltool-merge; ac_word=$2
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809$as_echo_n "checking for $ac_word... " >&6; }
4810if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4811  $as_echo_n "(cached) " >&6
4812else
4813  case $INTLTOOL_MERGE in
4814  [\\/]* | ?:[\\/]*)
4815  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4816  ;;
4817  *)
4818  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819for as_dir in $PATH
4820do
4821  IFS=$as_save_IFS
4822  test -z "$as_dir" && as_dir=.
4823    for ac_exec_ext in '' $ac_executable_extensions; do
4824  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4826    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827    break 2
4828  fi
4829done
4830  done
4831IFS=$as_save_IFS
4832
4833  ;;
4834esac
4835fi
4836INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4837if test -n "$INTLTOOL_MERGE"; then
4838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4839$as_echo "$INTLTOOL_MERGE" >&6; }
4840else
4841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842$as_echo "no" >&6; }
4843fi
4844
4845
4846# Extract the first word of "intltool-extract", so it can be a program name with args.
4847set dummy intltool-extract; ac_word=$2
4848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849$as_echo_n "checking for $ac_word... " >&6; }
4850if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4851  $as_echo_n "(cached) " >&6
4852else
4853  case $INTLTOOL_EXTRACT in
4854  [\\/]* | ?:[\\/]*)
4855  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4856  ;;
4857  *)
4858  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859for as_dir in $PATH
4860do
4861  IFS=$as_save_IFS
4862  test -z "$as_dir" && as_dir=.
4863    for ac_exec_ext in '' $ac_executable_extensions; do
4864  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4866    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867    break 2
4868  fi
4869done
4870  done
4871IFS=$as_save_IFS
4872
4873  ;;
4874esac
4875fi
4876INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4877if test -n "$INTLTOOL_EXTRACT"; then
4878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4879$as_echo "$INTLTOOL_EXTRACT" >&6; }
4880else
4881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882$as_echo "no" >&6; }
4883fi
4884
4885
4886if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4887    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4888fi
4889
4890if test -z "$AM_DEFAULT_VERBOSITY"; then
4891  AM_DEFAULT_VERBOSITY=1
4892fi
4893
4894
4895INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4896INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4897INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4898
4899
4900
4901
4902INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4903intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4904intltool__v_merge_options_0='-q'
4905
4906
4907
4908
4909  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 $< $@'
4910INTLTOOL_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 $< $@'
4911     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 $< $@'
4912     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 $< $@'
4913      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 $< $@'
4914     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 $< $@'
4915   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 $< $@'
4916    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 $< $@'
4917INTLTOOL_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 $< $@'
4918       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 $< $@'
4919      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 $< $@'
4920if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4921      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 $< $@'
4922else
4923      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'
4924fi
4925      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 $< $@'
4926      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 $< $@'
4927    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 $< $@'
4928  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 $< $@'
4929    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 $< $@'
4930    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 $< $@'
4931   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 $< $@'
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029# Check the gettext tools to make sure they are GNU
5030# Extract the first word of "xgettext", so it can be a program name with args.
5031set dummy xgettext; ac_word=$2
5032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033$as_echo_n "checking for $ac_word... " >&6; }
5034if ${ac_cv_path_XGETTEXT+:} false; then :
5035  $as_echo_n "(cached) " >&6
5036else
5037  case $XGETTEXT in
5038  [\\/]* | ?:[\\/]*)
5039  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5040  ;;
5041  *)
5042  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043for as_dir in $PATH
5044do
5045  IFS=$as_save_IFS
5046  test -z "$as_dir" && as_dir=.
5047    for ac_exec_ext in '' $ac_executable_extensions; do
5048  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5050    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051    break 2
5052  fi
5053done
5054  done
5055IFS=$as_save_IFS
5056
5057  ;;
5058esac
5059fi
5060XGETTEXT=$ac_cv_path_XGETTEXT
5061if test -n "$XGETTEXT"; then
5062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5063$as_echo "$XGETTEXT" >&6; }
5064else
5065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066$as_echo "no" >&6; }
5067fi
5068
5069
5070# Extract the first word of "msgmerge", so it can be a program name with args.
5071set dummy msgmerge; ac_word=$2
5072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073$as_echo_n "checking for $ac_word... " >&6; }
5074if ${ac_cv_path_MSGMERGE+:} false; then :
5075  $as_echo_n "(cached) " >&6
5076else
5077  case $MSGMERGE in
5078  [\\/]* | ?:[\\/]*)
5079  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5080  ;;
5081  *)
5082  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083for as_dir in $PATH
5084do
5085  IFS=$as_save_IFS
5086  test -z "$as_dir" && as_dir=.
5087    for ac_exec_ext in '' $ac_executable_extensions; do
5088  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091    break 2
5092  fi
5093done
5094  done
5095IFS=$as_save_IFS
5096
5097  ;;
5098esac
5099fi
5100MSGMERGE=$ac_cv_path_MSGMERGE
5101if test -n "$MSGMERGE"; then
5102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5103$as_echo "$MSGMERGE" >&6; }
5104else
5105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106$as_echo "no" >&6; }
5107fi
5108
5109
5110# Extract the first word of "msgfmt", so it can be a program name with args.
5111set dummy msgfmt; ac_word=$2
5112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113$as_echo_n "checking for $ac_word... " >&6; }
5114if ${ac_cv_path_MSGFMT+:} false; then :
5115  $as_echo_n "(cached) " >&6
5116else
5117  case $MSGFMT in
5118  [\\/]* | ?:[\\/]*)
5119  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5120  ;;
5121  *)
5122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123for as_dir in $PATH
5124do
5125  IFS=$as_save_IFS
5126  test -z "$as_dir" && as_dir=.
5127    for ac_exec_ext in '' $ac_executable_extensions; do
5128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5129    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131    break 2
5132  fi
5133done
5134  done
5135IFS=$as_save_IFS
5136
5137  ;;
5138esac
5139fi
5140MSGFMT=$ac_cv_path_MSGFMT
5141if test -n "$MSGFMT"; then
5142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5143$as_echo "$MSGFMT" >&6; }
5144else
5145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146$as_echo "no" >&6; }
5147fi
5148
5149
5150# Extract the first word of "gmsgfmt", so it can be a program name with args.
5151set dummy gmsgfmt; ac_word=$2
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153$as_echo_n "checking for $ac_word... " >&6; }
5154if ${ac_cv_path_GMSGFMT+:} false; then :
5155  $as_echo_n "(cached) " >&6
5156else
5157  case $GMSGFMT in
5158  [\\/]* | ?:[\\/]*)
5159  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5160  ;;
5161  *)
5162  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163for as_dir in $PATH
5164do
5165  IFS=$as_save_IFS
5166  test -z "$as_dir" && as_dir=.
5167    for ac_exec_ext in '' $ac_executable_extensions; do
5168  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5170    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171    break 2
5172  fi
5173done
5174  done
5175IFS=$as_save_IFS
5176
5177  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5178  ;;
5179esac
5180fi
5181GMSGFMT=$ac_cv_path_GMSGFMT
5182if test -n "$GMSGFMT"; then
5183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5184$as_echo "$GMSGFMT" >&6; }
5185else
5186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187$as_echo "no" >&6; }
5188fi
5189
5190
5191if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5192    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5193fi
5194xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5195mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5196mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5197if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5198    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5199fi
5200
5201# Extract the first word of "perl", so it can be a program name with args.
5202set dummy perl; ac_word=$2
5203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204$as_echo_n "checking for $ac_word... " >&6; }
5205if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5206  $as_echo_n "(cached) " >&6
5207else
5208  case $INTLTOOL_PERL in
5209  [\\/]* | ?:[\\/]*)
5210  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5211  ;;
5212  *)
5213  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214for as_dir in $PATH
5215do
5216  IFS=$as_save_IFS
5217  test -z "$as_dir" && as_dir=.
5218    for ac_exec_ext in '' $ac_executable_extensions; do
5219  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222    break 2
5223  fi
5224done
5225  done
5226IFS=$as_save_IFS
5227
5228  ;;
5229esac
5230fi
5231INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5232if test -n "$INTLTOOL_PERL"; then
5233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5234$as_echo "$INTLTOOL_PERL" >&6; }
5235else
5236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237$as_echo "no" >&6; }
5238fi
5239
5240
5241if test -z "$INTLTOOL_PERL"; then
5242   as_fn_error $? "perl not found" "$LINENO" 5
5243fi
5244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5245$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5246$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5247if test $? -ne 0; then
5248   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5249else
5250   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5252$as_echo "$IT_PERL_VERSION" >&6; }
5253fi
5254if test "x" != "xno-xml"; then
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5256$as_echo_n "checking for XML::Parser... " >&6; }
5257   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5258       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5259$as_echo "ok" >&6; }
5260   else
5261       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5262   fi
5263fi
5264
5265# Substitute ALL_LINGUAS so we can use it in po/Makefile
5266
5267
5268
5269
5270
5271
5272case `pwd` in
5273  *\ * | *\	*)
5274    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5275$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5276esac
5277
5278
5279
5280macro_version='2.4.6'
5281macro_revision='2.4.6'
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295ltmain=$ac_aux_dir/ltmain.sh
5296
5297# Backslashify metacharacters that are still active within
5298# double-quoted strings.
5299sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5300
5301# Same as above, but do not quote variable references.
5302double_quote_subst='s/\(["`\\]\)/\\\1/g'
5303
5304# Sed substitution to delay expansion of an escaped shell variable in a
5305# double_quote_subst'ed string.
5306delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5307
5308# Sed substitution to delay expansion of an escaped single quote.
5309delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5310
5311# Sed substitution to avoid accidental globbing in evaled expressions
5312no_glob_subst='s/\*/\\\*/g'
5313
5314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5315$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5316if ${lt_cv_path_NM+:} false; then :
5317  $as_echo_n "(cached) " >&6
5318else
5319  if test -n "$NM"; then
5320  # Let the user override the test.
5321  lt_cv_path_NM=$NM
5322else
5323  lt_nm_to_check=${ac_tool_prefix}nm
5324  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5325    lt_nm_to_check="$lt_nm_to_check nm"
5326  fi
5327  for lt_tmp_nm in $lt_nm_to_check; do
5328    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5329    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5330      IFS=$lt_save_ifs
5331      test -z "$ac_dir" && ac_dir=.
5332      tmp_nm=$ac_dir/$lt_tmp_nm
5333      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5334	# Check to see if the nm accepts a BSD-compat flag.
5335	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5336	#   nm: unknown option "B" ignored
5337	# Tru64's nm complains that /dev/null is an invalid object file
5338	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5339	case $build_os in
5340	mingw*) lt_bad_file=conftest.nm/nofile ;;
5341	*) lt_bad_file=/dev/null ;;
5342	esac
5343	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5344	*$lt_bad_file* | *'Invalid file or object type'*)
5345	  lt_cv_path_NM="$tmp_nm -B"
5346	  break 2
5347	  ;;
5348	*)
5349	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5350	  */dev/null*)
5351	    lt_cv_path_NM="$tmp_nm -p"
5352	    break 2
5353	    ;;
5354	  *)
5355	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5356	    continue # so that we can try to find one that supports BSD flags
5357	    ;;
5358	  esac
5359	  ;;
5360	esac
5361      fi
5362    done
5363    IFS=$lt_save_ifs
5364  done
5365  : ${lt_cv_path_NM=no}
5366fi
5367fi
5368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5369$as_echo "$lt_cv_path_NM" >&6; }
5370if test no != "$lt_cv_path_NM"; then
5371  NM=$lt_cv_path_NM
5372else
5373  # Didn't find any BSD compatible name lister, look for dumpbin.
5374  if test -n "$DUMPBIN"; then :
5375    # Let the user override the test.
5376  else
5377    if test -n "$ac_tool_prefix"; then
5378  for ac_prog in dumpbin "link -dump"
5379  do
5380    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5381set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383$as_echo_n "checking for $ac_word... " >&6; }
5384if ${ac_cv_prog_DUMPBIN+:} false; then :
5385  $as_echo_n "(cached) " >&6
5386else
5387  if test -n "$DUMPBIN"; then
5388  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5389else
5390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391for as_dir in $PATH
5392do
5393  IFS=$as_save_IFS
5394  test -z "$as_dir" && as_dir=.
5395    for ac_exec_ext in '' $ac_executable_extensions; do
5396  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5397    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5398    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399    break 2
5400  fi
5401done
5402  done
5403IFS=$as_save_IFS
5404
5405fi
5406fi
5407DUMPBIN=$ac_cv_prog_DUMPBIN
5408if test -n "$DUMPBIN"; then
5409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5410$as_echo "$DUMPBIN" >&6; }
5411else
5412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413$as_echo "no" >&6; }
5414fi
5415
5416
5417    test -n "$DUMPBIN" && break
5418  done
5419fi
5420if test -z "$DUMPBIN"; then
5421  ac_ct_DUMPBIN=$DUMPBIN
5422  for ac_prog in dumpbin "link -dump"
5423do
5424  # Extract the first word of "$ac_prog", so it can be a program name with args.
5425set dummy $ac_prog; ac_word=$2
5426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427$as_echo_n "checking for $ac_word... " >&6; }
5428if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5429  $as_echo_n "(cached) " >&6
5430else
5431  if test -n "$ac_ct_DUMPBIN"; then
5432  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5433else
5434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435for as_dir in $PATH
5436do
5437  IFS=$as_save_IFS
5438  test -z "$as_dir" && as_dir=.
5439    for ac_exec_ext in '' $ac_executable_extensions; do
5440  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5442    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443    break 2
5444  fi
5445done
5446  done
5447IFS=$as_save_IFS
5448
5449fi
5450fi
5451ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5452if test -n "$ac_ct_DUMPBIN"; then
5453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5454$as_echo "$ac_ct_DUMPBIN" >&6; }
5455else
5456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457$as_echo "no" >&6; }
5458fi
5459
5460
5461  test -n "$ac_ct_DUMPBIN" && break
5462done
5463
5464  if test "x$ac_ct_DUMPBIN" = x; then
5465    DUMPBIN=":"
5466  else
5467    case $cross_compiling:$ac_tool_warned in
5468yes:)
5469{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5470$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5471ac_tool_warned=yes ;;
5472esac
5473    DUMPBIN=$ac_ct_DUMPBIN
5474  fi
5475fi
5476
5477    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5478    *COFF*)
5479      DUMPBIN="$DUMPBIN -symbols -headers"
5480      ;;
5481    *)
5482      DUMPBIN=:
5483      ;;
5484    esac
5485  fi
5486
5487  if test : != "$DUMPBIN"; then
5488    NM=$DUMPBIN
5489  fi
5490fi
5491test -z "$NM" && NM=nm
5492
5493
5494
5495
5496
5497
5498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5499$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5500if ${lt_cv_nm_interface+:} false; then :
5501  $as_echo_n "(cached) " >&6
5502else
5503  lt_cv_nm_interface="BSD nm"
5504  echo "int some_variable = 0;" > conftest.$ac_ext
5505  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5506  (eval "$ac_compile" 2>conftest.err)
5507  cat conftest.err >&5
5508  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5509  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5510  cat conftest.err >&5
5511  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5512  cat conftest.out >&5
5513  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5514    lt_cv_nm_interface="MS dumpbin"
5515  fi
5516  rm -f conftest*
5517fi
5518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5519$as_echo "$lt_cv_nm_interface" >&6; }
5520
5521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5522$as_echo_n "checking whether ln -s works... " >&6; }
5523LN_S=$as_ln_s
5524if test "$LN_S" = "ln -s"; then
5525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5526$as_echo "yes" >&6; }
5527else
5528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5529$as_echo "no, using $LN_S" >&6; }
5530fi
5531
5532# find the maximum length of command line arguments
5533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5534$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5535if ${lt_cv_sys_max_cmd_len+:} false; then :
5536  $as_echo_n "(cached) " >&6
5537else
5538    i=0
5539  teststring=ABCD
5540
5541  case $build_os in
5542  msdosdjgpp*)
5543    # On DJGPP, this test can blow up pretty badly due to problems in libc
5544    # (any single argument exceeding 2000 bytes causes a buffer overrun
5545    # during glob expansion).  Even if it were fixed, the result of this
5546    # check would be larger than it should be.
5547    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5548    ;;
5549
5550  gnu*)
5551    # Under GNU Hurd, this test is not required because there is
5552    # no limit to the length of command line arguments.
5553    # Libtool will interpret -1 as no limit whatsoever
5554    lt_cv_sys_max_cmd_len=-1;
5555    ;;
5556
5557  cygwin* | mingw* | cegcc*)
5558    # On Win9x/ME, this test blows up -- it succeeds, but takes
5559    # about 5 minutes as the teststring grows exponentially.
5560    # Worse, since 9x/ME are not pre-emptively multitasking,
5561    # you end up with a "frozen" computer, even though with patience
5562    # the test eventually succeeds (with a max line length of 256k).
5563    # Instead, let's just punt: use the minimum linelength reported by
5564    # all of the supported platforms: 8192 (on NT/2K/XP).
5565    lt_cv_sys_max_cmd_len=8192;
5566    ;;
5567
5568  mint*)
5569    # On MiNT this can take a long time and run out of memory.
5570    lt_cv_sys_max_cmd_len=8192;
5571    ;;
5572
5573  amigaos*)
5574    # On AmigaOS with pdksh, this test takes hours, literally.
5575    # So we just punt and use a minimum line length of 8192.
5576    lt_cv_sys_max_cmd_len=8192;
5577    ;;
5578
5579  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5580    # This has been around since 386BSD, at least.  Likely further.
5581    if test -x /sbin/sysctl; then
5582      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5583    elif test -x /usr/sbin/sysctl; then
5584      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5585    else
5586      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5587    fi
5588    # And add a safety zone
5589    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5590    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5591    ;;
5592
5593  interix*)
5594    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5595    lt_cv_sys_max_cmd_len=196608
5596    ;;
5597
5598  os2*)
5599    # The test takes a long time on OS/2.
5600    lt_cv_sys_max_cmd_len=8192
5601    ;;
5602
5603  osf*)
5604    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5605    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5606    # nice to cause kernel panics so lets avoid the loop below.
5607    # First set a reasonable default.
5608    lt_cv_sys_max_cmd_len=16384
5609    #
5610    if test -x /sbin/sysconfig; then
5611      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5612        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5613      esac
5614    fi
5615    ;;
5616  sco3.2v5*)
5617    lt_cv_sys_max_cmd_len=102400
5618    ;;
5619  sysv5* | sco5v6* | sysv4.2uw2*)
5620    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5621    if test -n "$kargmax"; then
5622      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5623    else
5624      lt_cv_sys_max_cmd_len=32768
5625    fi
5626    ;;
5627  *)
5628    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5629    if test -n "$lt_cv_sys_max_cmd_len" && \
5630       test undefined != "$lt_cv_sys_max_cmd_len"; then
5631      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5632      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5633    else
5634      # Make teststring a little bigger before we do anything with it.
5635      # a 1K string should be a reasonable start.
5636      for i in 1 2 3 4 5 6 7 8; do
5637        teststring=$teststring$teststring
5638      done
5639      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5640      # If test is not a shell built-in, we'll probably end up computing a
5641      # maximum length that is only half of the actual maximum length, but
5642      # we can't tell.
5643      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5644	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5645	      test 17 != "$i" # 1/2 MB should be enough
5646      do
5647        i=`expr $i + 1`
5648        teststring=$teststring$teststring
5649      done
5650      # Only check the string length outside the loop.
5651      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5652      teststring=
5653      # Add a significant safety factor because C++ compilers can tack on
5654      # massive amounts of additional arguments before passing them to the
5655      # linker.  It appears as though 1/2 is a usable value.
5656      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5657    fi
5658    ;;
5659  esac
5660
5661fi
5662
5663if test -n "$lt_cv_sys_max_cmd_len"; then
5664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5665$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5666else
5667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5668$as_echo "none" >&6; }
5669fi
5670max_cmd_len=$lt_cv_sys_max_cmd_len
5671
5672
5673
5674
5675
5676
5677: ${CP="cp -f"}
5678: ${MV="mv -f"}
5679: ${RM="rm -f"}
5680
5681if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5682  lt_unset=unset
5683else
5684  lt_unset=false
5685fi
5686
5687
5688
5689
5690
5691# test EBCDIC or ASCII
5692case `echo X|tr X '\101'` in
5693 A) # ASCII based system
5694    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5695  lt_SP2NL='tr \040 \012'
5696  lt_NL2SP='tr \015\012 \040\040'
5697  ;;
5698 *) # EBCDIC based system
5699  lt_SP2NL='tr \100 \n'
5700  lt_NL2SP='tr \r\n \100\100'
5701  ;;
5702esac
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5713$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5714if ${lt_cv_to_host_file_cmd+:} false; then :
5715  $as_echo_n "(cached) " >&6
5716else
5717  case $host in
5718  *-*-mingw* )
5719    case $build in
5720      *-*-mingw* ) # actually msys
5721        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5722        ;;
5723      *-*-cygwin* )
5724        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5725        ;;
5726      * ) # otherwise, assume *nix
5727        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5728        ;;
5729    esac
5730    ;;
5731  *-*-cygwin* )
5732    case $build in
5733      *-*-mingw* ) # actually msys
5734        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5735        ;;
5736      *-*-cygwin* )
5737        lt_cv_to_host_file_cmd=func_convert_file_noop
5738        ;;
5739      * ) # otherwise, assume *nix
5740        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5741        ;;
5742    esac
5743    ;;
5744  * ) # unhandled hosts (and "normal" native builds)
5745    lt_cv_to_host_file_cmd=func_convert_file_noop
5746    ;;
5747esac
5748
5749fi
5750
5751to_host_file_cmd=$lt_cv_to_host_file_cmd
5752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5753$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5754
5755
5756
5757
5758
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5760$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5761if ${lt_cv_to_tool_file_cmd+:} false; then :
5762  $as_echo_n "(cached) " >&6
5763else
5764  #assume ordinary cross tools, or native build.
5765lt_cv_to_tool_file_cmd=func_convert_file_noop
5766case $host in
5767  *-*-mingw* )
5768    case $build in
5769      *-*-mingw* ) # actually msys
5770        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5771        ;;
5772    esac
5773    ;;
5774esac
5775
5776fi
5777
5778to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5780$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5781
5782
5783
5784
5785
5786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5787$as_echo_n "checking for $LD option to reload object files... " >&6; }
5788if ${lt_cv_ld_reload_flag+:} false; then :
5789  $as_echo_n "(cached) " >&6
5790else
5791  lt_cv_ld_reload_flag='-r'
5792fi
5793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5794$as_echo "$lt_cv_ld_reload_flag" >&6; }
5795reload_flag=$lt_cv_ld_reload_flag
5796case $reload_flag in
5797"" | " "*) ;;
5798*) reload_flag=" $reload_flag" ;;
5799esac
5800reload_cmds='$LD$reload_flag -o $output$reload_objs'
5801case $host_os in
5802  cygwin* | mingw* | pw32* | cegcc*)
5803    if test yes != "$GCC"; then
5804      reload_cmds=false
5805    fi
5806    ;;
5807  darwin*)
5808    if test yes = "$GCC"; then
5809      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5810    else
5811      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5812    fi
5813    ;;
5814esac
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824if test -n "$ac_tool_prefix"; then
5825  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5826set dummy ${ac_tool_prefix}objdump; ac_word=$2
5827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828$as_echo_n "checking for $ac_word... " >&6; }
5829if ${ac_cv_prog_OBJDUMP+:} false; then :
5830  $as_echo_n "(cached) " >&6
5831else
5832  if test -n "$OBJDUMP"; then
5833  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5834else
5835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836for as_dir in $PATH
5837do
5838  IFS=$as_save_IFS
5839  test -z "$as_dir" && as_dir=.
5840    for ac_exec_ext in '' $ac_executable_extensions; do
5841  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844    break 2
5845  fi
5846done
5847  done
5848IFS=$as_save_IFS
5849
5850fi
5851fi
5852OBJDUMP=$ac_cv_prog_OBJDUMP
5853if test -n "$OBJDUMP"; then
5854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5855$as_echo "$OBJDUMP" >&6; }
5856else
5857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858$as_echo "no" >&6; }
5859fi
5860
5861
5862fi
5863if test -z "$ac_cv_prog_OBJDUMP"; then
5864  ac_ct_OBJDUMP=$OBJDUMP
5865  # Extract the first word of "objdump", so it can be a program name with args.
5866set dummy objdump; ac_word=$2
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868$as_echo_n "checking for $ac_word... " >&6; }
5869if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5870  $as_echo_n "(cached) " >&6
5871else
5872  if test -n "$ac_ct_OBJDUMP"; then
5873  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5874else
5875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876for as_dir in $PATH
5877do
5878  IFS=$as_save_IFS
5879  test -z "$as_dir" && as_dir=.
5880    for ac_exec_ext in '' $ac_executable_extensions; do
5881  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884    break 2
5885  fi
5886done
5887  done
5888IFS=$as_save_IFS
5889
5890fi
5891fi
5892ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5893if test -n "$ac_ct_OBJDUMP"; then
5894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5895$as_echo "$ac_ct_OBJDUMP" >&6; }
5896else
5897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898$as_echo "no" >&6; }
5899fi
5900
5901  if test "x$ac_ct_OBJDUMP" = x; then
5902    OBJDUMP="false"
5903  else
5904    case $cross_compiling:$ac_tool_warned in
5905yes:)
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5907$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5908ac_tool_warned=yes ;;
5909esac
5910    OBJDUMP=$ac_ct_OBJDUMP
5911  fi
5912else
5913  OBJDUMP="$ac_cv_prog_OBJDUMP"
5914fi
5915
5916test -z "$OBJDUMP" && OBJDUMP=objdump
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5927$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5928if ${lt_cv_deplibs_check_method+:} false; then :
5929  $as_echo_n "(cached) " >&6
5930else
5931  lt_cv_file_magic_cmd='$MAGIC_CMD'
5932lt_cv_file_magic_test_file=
5933lt_cv_deplibs_check_method='unknown'
5934# Need to set the preceding variable on all platforms that support
5935# interlibrary dependencies.
5936# 'none' -- dependencies not supported.
5937# 'unknown' -- same as none, but documents that we really don't know.
5938# 'pass_all' -- all dependencies passed with no checks.
5939# 'test_compile' -- check by making test program.
5940# 'file_magic [[regex]]' -- check by looking for files in library path
5941# that responds to the $file_magic_cmd with a given extended regex.
5942# If you have 'file' or equivalent on your system and you're not sure
5943# whether 'pass_all' will *always* work, you probably want this one.
5944
5945case $host_os in
5946aix[4-9]*)
5947  lt_cv_deplibs_check_method=pass_all
5948  ;;
5949
5950beos*)
5951  lt_cv_deplibs_check_method=pass_all
5952  ;;
5953
5954bsdi[45]*)
5955  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5956  lt_cv_file_magic_cmd='/usr/bin/file -L'
5957  lt_cv_file_magic_test_file=/shlib/libc.so
5958  ;;
5959
5960cygwin*)
5961  # func_win32_libid is a shell function defined in ltmain.sh
5962  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5963  lt_cv_file_magic_cmd='func_win32_libid'
5964  ;;
5965
5966mingw* | pw32*)
5967  # Base MSYS/MinGW do not provide the 'file' command needed by
5968  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5969  # unless we find 'file', for example because we are cross-compiling.
5970  if ( file / ) >/dev/null 2>&1; then
5971    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5972    lt_cv_file_magic_cmd='func_win32_libid'
5973  else
5974    # Keep this pattern in sync with the one in func_win32_libid.
5975    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5976    lt_cv_file_magic_cmd='$OBJDUMP -f'
5977  fi
5978  ;;
5979
5980cegcc*)
5981  # use the weaker test based on 'objdump'. See mingw*.
5982  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5983  lt_cv_file_magic_cmd='$OBJDUMP -f'
5984  ;;
5985
5986darwin* | rhapsody*)
5987  lt_cv_deplibs_check_method=pass_all
5988  ;;
5989
5990freebsd* | dragonfly*)
5991  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5992    case $host_cpu in
5993    i*86 )
5994      # Not sure whether the presence of OpenBSD here was a mistake.
5995      # Let's accept both of them until this is cleared up.
5996      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5997      lt_cv_file_magic_cmd=/usr/bin/file
5998      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5999      ;;
6000    esac
6001  else
6002    lt_cv_deplibs_check_method=pass_all
6003  fi
6004  ;;
6005
6006haiku*)
6007  lt_cv_deplibs_check_method=pass_all
6008  ;;
6009
6010hpux10.20* | hpux11*)
6011  lt_cv_file_magic_cmd=/usr/bin/file
6012  case $host_cpu in
6013  ia64*)
6014    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6015    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6016    ;;
6017  hppa*64*)
6018    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]'
6019    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6020    ;;
6021  *)
6022    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6023    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6024    ;;
6025  esac
6026  ;;
6027
6028interix[3-9]*)
6029  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6030  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6031  ;;
6032
6033irix5* | irix6* | nonstopux*)
6034  case $LD in
6035  *-32|*"-32 ") libmagic=32-bit;;
6036  *-n32|*"-n32 ") libmagic=N32;;
6037  *-64|*"-64 ") libmagic=64-bit;;
6038  *) libmagic=never-match;;
6039  esac
6040  lt_cv_deplibs_check_method=pass_all
6041  ;;
6042
6043# This must be glibc/ELF.
6044linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6045  lt_cv_deplibs_check_method=pass_all
6046  ;;
6047
6048netbsd* | netbsdelf*-gnu)
6049  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6050    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6051  else
6052    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6053  fi
6054  ;;
6055
6056newos6*)
6057  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6058  lt_cv_file_magic_cmd=/usr/bin/file
6059  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6060  ;;
6061
6062*nto* | *qnx*)
6063  lt_cv_deplibs_check_method=pass_all
6064  ;;
6065
6066openbsd* | bitrig*)
6067  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6068    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6069  else
6070    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6071  fi
6072  ;;
6073
6074osf3* | osf4* | osf5*)
6075  lt_cv_deplibs_check_method=pass_all
6076  ;;
6077
6078rdos*)
6079  lt_cv_deplibs_check_method=pass_all
6080  ;;
6081
6082solaris*)
6083  lt_cv_deplibs_check_method=pass_all
6084  ;;
6085
6086sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6087  lt_cv_deplibs_check_method=pass_all
6088  ;;
6089
6090sysv4 | sysv4.3*)
6091  case $host_vendor in
6092  motorola)
6093    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]'
6094    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6095    ;;
6096  ncr)
6097    lt_cv_deplibs_check_method=pass_all
6098    ;;
6099  sequent)
6100    lt_cv_file_magic_cmd='/bin/file'
6101    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6102    ;;
6103  sni)
6104    lt_cv_file_magic_cmd='/bin/file'
6105    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6106    lt_cv_file_magic_test_file=/lib/libc.so
6107    ;;
6108  siemens)
6109    lt_cv_deplibs_check_method=pass_all
6110    ;;
6111  pc)
6112    lt_cv_deplibs_check_method=pass_all
6113    ;;
6114  esac
6115  ;;
6116
6117tpf*)
6118  lt_cv_deplibs_check_method=pass_all
6119  ;;
6120os2*)
6121  lt_cv_deplibs_check_method=pass_all
6122  ;;
6123esac
6124
6125fi
6126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6127$as_echo "$lt_cv_deplibs_check_method" >&6; }
6128
6129file_magic_glob=
6130want_nocaseglob=no
6131if test "$build" = "$host"; then
6132  case $host_os in
6133  mingw* | pw32*)
6134    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6135      want_nocaseglob=yes
6136    else
6137      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6138    fi
6139    ;;
6140  esac
6141fi
6142
6143file_magic_cmd=$lt_cv_file_magic_cmd
6144deplibs_check_method=$lt_cv_deplibs_check_method
6145test -z "$deplibs_check_method" && deplibs_check_method=unknown
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168if test -n "$ac_tool_prefix"; then
6169  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6170set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172$as_echo_n "checking for $ac_word... " >&6; }
6173if ${ac_cv_prog_DLLTOOL+:} false; then :
6174  $as_echo_n "(cached) " >&6
6175else
6176  if test -n "$DLLTOOL"; then
6177  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6178else
6179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180for as_dir in $PATH
6181do
6182  IFS=$as_save_IFS
6183  test -z "$as_dir" && as_dir=.
6184    for ac_exec_ext in '' $ac_executable_extensions; do
6185  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6186    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188    break 2
6189  fi
6190done
6191  done
6192IFS=$as_save_IFS
6193
6194fi
6195fi
6196DLLTOOL=$ac_cv_prog_DLLTOOL
6197if test -n "$DLLTOOL"; then
6198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6199$as_echo "$DLLTOOL" >&6; }
6200else
6201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202$as_echo "no" >&6; }
6203fi
6204
6205
6206fi
6207if test -z "$ac_cv_prog_DLLTOOL"; then
6208  ac_ct_DLLTOOL=$DLLTOOL
6209  # Extract the first word of "dlltool", so it can be a program name with args.
6210set dummy dlltool; ac_word=$2
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212$as_echo_n "checking for $ac_word... " >&6; }
6213if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6214  $as_echo_n "(cached) " >&6
6215else
6216  if test -n "$ac_ct_DLLTOOL"; then
6217  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6218else
6219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220for as_dir in $PATH
6221do
6222  IFS=$as_save_IFS
6223  test -z "$as_dir" && as_dir=.
6224    for ac_exec_ext in '' $ac_executable_extensions; do
6225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6226    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228    break 2
6229  fi
6230done
6231  done
6232IFS=$as_save_IFS
6233
6234fi
6235fi
6236ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6237if test -n "$ac_ct_DLLTOOL"; then
6238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6239$as_echo "$ac_ct_DLLTOOL" >&6; }
6240else
6241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242$as_echo "no" >&6; }
6243fi
6244
6245  if test "x$ac_ct_DLLTOOL" = x; then
6246    DLLTOOL="false"
6247  else
6248    case $cross_compiling:$ac_tool_warned in
6249yes:)
6250{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252ac_tool_warned=yes ;;
6253esac
6254    DLLTOOL=$ac_ct_DLLTOOL
6255  fi
6256else
6257  DLLTOOL="$ac_cv_prog_DLLTOOL"
6258fi
6259
6260test -z "$DLLTOOL" && DLLTOOL=dlltool
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6272$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6273if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6274  $as_echo_n "(cached) " >&6
6275else
6276  lt_cv_sharedlib_from_linklib_cmd='unknown'
6277
6278case $host_os in
6279cygwin* | mingw* | pw32* | cegcc*)
6280  # two different shell functions defined in ltmain.sh;
6281  # decide which one to use based on capabilities of $DLLTOOL
6282  case `$DLLTOOL --help 2>&1` in
6283  *--identify-strict*)
6284    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6285    ;;
6286  *)
6287    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6288    ;;
6289  esac
6290  ;;
6291*)
6292  # fallback: assume linklib IS sharedlib
6293  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6294  ;;
6295esac
6296
6297fi
6298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6299$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6300sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6301test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6302
6303
6304
6305
6306
6307
6308
6309
6310if test -n "$ac_tool_prefix"; then
6311  for ac_prog in ar
6312  do
6313    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6314set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316$as_echo_n "checking for $ac_word... " >&6; }
6317if ${ac_cv_prog_AR+:} false; then :
6318  $as_echo_n "(cached) " >&6
6319else
6320  if test -n "$AR"; then
6321  ac_cv_prog_AR="$AR" # Let the user override the test.
6322else
6323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324for as_dir in $PATH
6325do
6326  IFS=$as_save_IFS
6327  test -z "$as_dir" && as_dir=.
6328    for ac_exec_ext in '' $ac_executable_extensions; do
6329  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6331    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332    break 2
6333  fi
6334done
6335  done
6336IFS=$as_save_IFS
6337
6338fi
6339fi
6340AR=$ac_cv_prog_AR
6341if test -n "$AR"; then
6342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6343$as_echo "$AR" >&6; }
6344else
6345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346$as_echo "no" >&6; }
6347fi
6348
6349
6350    test -n "$AR" && break
6351  done
6352fi
6353if test -z "$AR"; then
6354  ac_ct_AR=$AR
6355  for ac_prog in ar
6356do
6357  # Extract the first word of "$ac_prog", so it can be a program name with args.
6358set dummy $ac_prog; ac_word=$2
6359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360$as_echo_n "checking for $ac_word... " >&6; }
6361if ${ac_cv_prog_ac_ct_AR+:} false; then :
6362  $as_echo_n "(cached) " >&6
6363else
6364  if test -n "$ac_ct_AR"; then
6365  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6366else
6367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368for as_dir in $PATH
6369do
6370  IFS=$as_save_IFS
6371  test -z "$as_dir" && as_dir=.
6372    for ac_exec_ext in '' $ac_executable_extensions; do
6373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6374    ac_cv_prog_ac_ct_AR="$ac_prog"
6375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376    break 2
6377  fi
6378done
6379  done
6380IFS=$as_save_IFS
6381
6382fi
6383fi
6384ac_ct_AR=$ac_cv_prog_ac_ct_AR
6385if test -n "$ac_ct_AR"; then
6386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6387$as_echo "$ac_ct_AR" >&6; }
6388else
6389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390$as_echo "no" >&6; }
6391fi
6392
6393
6394  test -n "$ac_ct_AR" && break
6395done
6396
6397  if test "x$ac_ct_AR" = x; then
6398    AR="false"
6399  else
6400    case $cross_compiling:$ac_tool_warned in
6401yes:)
6402{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6403$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6404ac_tool_warned=yes ;;
6405esac
6406    AR=$ac_ct_AR
6407  fi
6408fi
6409
6410: ${AR=ar}
6411: ${AR_FLAGS=cr}
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6424$as_echo_n "checking for archiver @FILE support... " >&6; }
6425if ${lt_cv_ar_at_file+:} false; then :
6426  $as_echo_n "(cached) " >&6
6427else
6428  lt_cv_ar_at_file=no
6429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430/* end confdefs.h.  */
6431
6432int
6433main ()
6434{
6435
6436  ;
6437  return 0;
6438}
6439_ACEOF
6440if ac_fn_c_try_compile "$LINENO"; then :
6441  echo conftest.$ac_objext > conftest.lst
6442      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6443      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6444  (eval $lt_ar_try) 2>&5
6445  ac_status=$?
6446  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447  test $ac_status = 0; }
6448      if test 0 -eq "$ac_status"; then
6449	# Ensure the archiver fails upon bogus file names.
6450	rm -f conftest.$ac_objext libconftest.a
6451	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6452  (eval $lt_ar_try) 2>&5
6453  ac_status=$?
6454  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6455  test $ac_status = 0; }
6456	if test 0 -ne "$ac_status"; then
6457          lt_cv_ar_at_file=@
6458        fi
6459      fi
6460      rm -f conftest.* libconftest.a
6461
6462fi
6463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6464
6465fi
6466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6467$as_echo "$lt_cv_ar_at_file" >&6; }
6468
6469if test no = "$lt_cv_ar_at_file"; then
6470  archiver_list_spec=
6471else
6472  archiver_list_spec=$lt_cv_ar_at_file
6473fi
6474
6475
6476
6477
6478
6479
6480
6481if test -n "$ac_tool_prefix"; then
6482  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6483set dummy ${ac_tool_prefix}strip; ac_word=$2
6484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6485$as_echo_n "checking for $ac_word... " >&6; }
6486if ${ac_cv_prog_STRIP+:} false; then :
6487  $as_echo_n "(cached) " >&6
6488else
6489  if test -n "$STRIP"; then
6490  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6491else
6492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493for as_dir in $PATH
6494do
6495  IFS=$as_save_IFS
6496  test -z "$as_dir" && as_dir=.
6497    for ac_exec_ext in '' $ac_executable_extensions; do
6498  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6499    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6500    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6501    break 2
6502  fi
6503done
6504  done
6505IFS=$as_save_IFS
6506
6507fi
6508fi
6509STRIP=$ac_cv_prog_STRIP
6510if test -n "$STRIP"; then
6511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6512$as_echo "$STRIP" >&6; }
6513else
6514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515$as_echo "no" >&6; }
6516fi
6517
6518
6519fi
6520if test -z "$ac_cv_prog_STRIP"; then
6521  ac_ct_STRIP=$STRIP
6522  # Extract the first word of "strip", so it can be a program name with args.
6523set dummy strip; ac_word=$2
6524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525$as_echo_n "checking for $ac_word... " >&6; }
6526if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6527  $as_echo_n "(cached) " >&6
6528else
6529  if test -n "$ac_ct_STRIP"; then
6530  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6531else
6532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533for as_dir in $PATH
6534do
6535  IFS=$as_save_IFS
6536  test -z "$as_dir" && as_dir=.
6537    for ac_exec_ext in '' $ac_executable_extensions; do
6538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6539    ac_cv_prog_ac_ct_STRIP="strip"
6540    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541    break 2
6542  fi
6543done
6544  done
6545IFS=$as_save_IFS
6546
6547fi
6548fi
6549ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6550if test -n "$ac_ct_STRIP"; then
6551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6552$as_echo "$ac_ct_STRIP" >&6; }
6553else
6554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555$as_echo "no" >&6; }
6556fi
6557
6558  if test "x$ac_ct_STRIP" = x; then
6559    STRIP=":"
6560  else
6561    case $cross_compiling:$ac_tool_warned in
6562yes:)
6563{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6564$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6565ac_tool_warned=yes ;;
6566esac
6567    STRIP=$ac_ct_STRIP
6568  fi
6569else
6570  STRIP="$ac_cv_prog_STRIP"
6571fi
6572
6573test -z "$STRIP" && STRIP=:
6574
6575
6576
6577
6578
6579
6580if test -n "$ac_tool_prefix"; then
6581  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6582set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6584$as_echo_n "checking for $ac_word... " >&6; }
6585if ${ac_cv_prog_RANLIB+:} false; then :
6586  $as_echo_n "(cached) " >&6
6587else
6588  if test -n "$RANLIB"; then
6589  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6590else
6591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592for as_dir in $PATH
6593do
6594  IFS=$as_save_IFS
6595  test -z "$as_dir" && as_dir=.
6596    for ac_exec_ext in '' $ac_executable_extensions; do
6597  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6599    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600    break 2
6601  fi
6602done
6603  done
6604IFS=$as_save_IFS
6605
6606fi
6607fi
6608RANLIB=$ac_cv_prog_RANLIB
6609if test -n "$RANLIB"; then
6610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6611$as_echo "$RANLIB" >&6; }
6612else
6613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614$as_echo "no" >&6; }
6615fi
6616
6617
6618fi
6619if test -z "$ac_cv_prog_RANLIB"; then
6620  ac_ct_RANLIB=$RANLIB
6621  # Extract the first word of "ranlib", so it can be a program name with args.
6622set dummy ranlib; ac_word=$2
6623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624$as_echo_n "checking for $ac_word... " >&6; }
6625if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6626  $as_echo_n "(cached) " >&6
6627else
6628  if test -n "$ac_ct_RANLIB"; then
6629  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6630else
6631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632for as_dir in $PATH
6633do
6634  IFS=$as_save_IFS
6635  test -z "$as_dir" && as_dir=.
6636    for ac_exec_ext in '' $ac_executable_extensions; do
6637  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638    ac_cv_prog_ac_ct_RANLIB="ranlib"
6639    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640    break 2
6641  fi
6642done
6643  done
6644IFS=$as_save_IFS
6645
6646fi
6647fi
6648ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6649if test -n "$ac_ct_RANLIB"; then
6650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6651$as_echo "$ac_ct_RANLIB" >&6; }
6652else
6653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654$as_echo "no" >&6; }
6655fi
6656
6657  if test "x$ac_ct_RANLIB" = x; then
6658    RANLIB=":"
6659  else
6660    case $cross_compiling:$ac_tool_warned in
6661yes:)
6662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6664ac_tool_warned=yes ;;
6665esac
6666    RANLIB=$ac_ct_RANLIB
6667  fi
6668else
6669  RANLIB="$ac_cv_prog_RANLIB"
6670fi
6671
6672test -z "$RANLIB" && RANLIB=:
6673
6674
6675
6676
6677
6678
6679# Determine commands to create old-style static archives.
6680old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6681old_postinstall_cmds='chmod 644 $oldlib'
6682old_postuninstall_cmds=
6683
6684if test -n "$RANLIB"; then
6685  case $host_os in
6686  bitrig* | openbsd*)
6687    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6688    ;;
6689  *)
6690    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6691    ;;
6692  esac
6693  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6694fi
6695
6696case $host_os in
6697  darwin*)
6698    lock_old_archive_extraction=yes ;;
6699  *)
6700    lock_old_archive_extraction=no ;;
6701esac
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741# If no C compiler was specified, use CC.
6742LTCC=${LTCC-"$CC"}
6743
6744# If no C compiler flags were specified, use CFLAGS.
6745LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6746
6747# Allow CC to be a program name with arguments.
6748compiler=$CC
6749
6750
6751# Check for command to grab the raw symbol name followed by C symbol from nm.
6752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6753$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6754if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6755  $as_echo_n "(cached) " >&6
6756else
6757
6758# These are sane defaults that work on at least a few old systems.
6759# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6760
6761# Character class describing NM global symbol codes.
6762symcode='[BCDEGRST]'
6763
6764# Regexp to match symbols that can be accessed directly from C.
6765sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6766
6767# Define system-specific variables.
6768case $host_os in
6769aix*)
6770  symcode='[BCDT]'
6771  ;;
6772cygwin* | mingw* | pw32* | cegcc*)
6773  symcode='[ABCDGISTW]'
6774  ;;
6775hpux*)
6776  if test ia64 = "$host_cpu"; then
6777    symcode='[ABCDEGRST]'
6778  fi
6779  ;;
6780irix* | nonstopux*)
6781  symcode='[BCDEGRST]'
6782  ;;
6783osf*)
6784  symcode='[BCDEGQRST]'
6785  ;;
6786solaris*)
6787  symcode='[BDRT]'
6788  ;;
6789sco3.2v5*)
6790  symcode='[DT]'
6791  ;;
6792sysv4.2uw2*)
6793  symcode='[DT]'
6794  ;;
6795sysv5* | sco5v6* | unixware* | OpenUNIX*)
6796  symcode='[ABDT]'
6797  ;;
6798sysv4)
6799  symcode='[DFNSTU]'
6800  ;;
6801esac
6802
6803# If we're using GNU nm, then use its standard symbol codes.
6804case `$NM -V 2>&1` in
6805*GNU* | *'with BFD'*)
6806  symcode='[ABCDGIRSTW]' ;;
6807esac
6808
6809if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6810  # Gets list of data symbols to import.
6811  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6812  # Adjust the below global symbol transforms to fixup imported variables.
6813  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6814  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6815  lt_c_name_lib_hook="\
6816  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6817  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6818else
6819  # Disable hooks by default.
6820  lt_cv_sys_global_symbol_to_import=
6821  lt_cdecl_hook=
6822  lt_c_name_hook=
6823  lt_c_name_lib_hook=
6824fi
6825
6826# Transform an extracted symbol line into a proper C declaration.
6827# Some systems (esp. on ia64) link data and code symbols differently,
6828# so use this general approach.
6829lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6830$lt_cdecl_hook\
6831" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6832" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6833
6834# Transform an extracted symbol line into symbol name and symbol address
6835lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6836$lt_c_name_hook\
6837" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6838" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6839
6840# Transform an extracted symbol line into symbol name with lib prefix and
6841# symbol address.
6842lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6843$lt_c_name_lib_hook\
6844" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6845" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6846" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6847
6848# Handle CRLF in mingw tool chain
6849opt_cr=
6850case $build_os in
6851mingw*)
6852  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6853  ;;
6854esac
6855
6856# Try without a prefix underscore, then with it.
6857for ac_symprfx in "" "_"; do
6858
6859  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6860  symxfrm="\\1 $ac_symprfx\\2 \\2"
6861
6862  # Write the raw and C identifiers.
6863  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6864    # Fake it for dumpbin and say T for any non-static function,
6865    # D for any global variable and I for any imported variable.
6866    # Also find C++ and __fastcall symbols from MSVC++,
6867    # which start with @ or ?.
6868    lt_cv_sys_global_symbol_pipe="$AWK '"\
6869"     {last_section=section; section=\$ 3};"\
6870"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6871"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6873"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6874"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6875"     \$ 0!~/External *\|/{next};"\
6876"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6877"     {if(hide[section]) next};"\
6878"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6879"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6880"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6881"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6882"     ' prfx=^$ac_symprfx"
6883  else
6884    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6885  fi
6886  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6887
6888  # Check to see that the pipe works correctly.
6889  pipe_works=no
6890
6891  rm -f conftest*
6892  cat > conftest.$ac_ext <<_LT_EOF
6893#ifdef __cplusplus
6894extern "C" {
6895#endif
6896char nm_test_var;
6897void nm_test_func(void);
6898void nm_test_func(void){}
6899#ifdef __cplusplus
6900}
6901#endif
6902int main(){nm_test_var='a';nm_test_func();return(0);}
6903_LT_EOF
6904
6905  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6906  (eval $ac_compile) 2>&5
6907  ac_status=$?
6908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909  test $ac_status = 0; }; then
6910    # Now try to grab the symbols.
6911    nlist=conftest.nm
6912    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6913    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6914      # Try sorting and uniquifying the output.
6915      if sort "$nlist" | uniq > "$nlist"T; then
6916	mv -f "$nlist"T "$nlist"
6917      else
6918	rm -f "$nlist"T
6919      fi
6920
6921      # Make sure that we snagged all the symbols we need.
6922      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6923	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6924	  cat <<_LT_EOF > conftest.$ac_ext
6925/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6926#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6927/* DATA imports from DLLs on WIN32 can't be const, because runtime
6928   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6929# define LT_DLSYM_CONST
6930#elif defined __osf__
6931/* This system does not cope well with relocations in const data.  */
6932# define LT_DLSYM_CONST
6933#else
6934# define LT_DLSYM_CONST const
6935#endif
6936
6937#ifdef __cplusplus
6938extern "C" {
6939#endif
6940
6941_LT_EOF
6942	  # Now generate the symbol file.
6943	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6944
6945	  cat <<_LT_EOF >> conftest.$ac_ext
6946
6947/* The mapping between symbol names and symbols.  */
6948LT_DLSYM_CONST struct {
6949  const char *name;
6950  void       *address;
6951}
6952lt__PROGRAM__LTX_preloaded_symbols[] =
6953{
6954  { "@PROGRAM@", (void *) 0 },
6955_LT_EOF
6956	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6957	  cat <<\_LT_EOF >> conftest.$ac_ext
6958  {0, (void *) 0}
6959};
6960
6961/* This works around a problem in FreeBSD linker */
6962#ifdef FREEBSD_WORKAROUND
6963static const void *lt_preloaded_setup() {
6964  return lt__PROGRAM__LTX_preloaded_symbols;
6965}
6966#endif
6967
6968#ifdef __cplusplus
6969}
6970#endif
6971_LT_EOF
6972	  # Now try linking the two files.
6973	  mv conftest.$ac_objext conftstm.$ac_objext
6974	  lt_globsym_save_LIBS=$LIBS
6975	  lt_globsym_save_CFLAGS=$CFLAGS
6976	  LIBS=conftstm.$ac_objext
6977	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6978	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6979  (eval $ac_link) 2>&5
6980  ac_status=$?
6981  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6982  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6983	    pipe_works=yes
6984	  fi
6985	  LIBS=$lt_globsym_save_LIBS
6986	  CFLAGS=$lt_globsym_save_CFLAGS
6987	else
6988	  echo "cannot find nm_test_func in $nlist" >&5
6989	fi
6990      else
6991	echo "cannot find nm_test_var in $nlist" >&5
6992      fi
6993    else
6994      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6995    fi
6996  else
6997    echo "$progname: failed program was:" >&5
6998    cat conftest.$ac_ext >&5
6999  fi
7000  rm -rf conftest* conftst*
7001
7002  # Do not use the global_symbol_pipe unless it works.
7003  if test yes = "$pipe_works"; then
7004    break
7005  else
7006    lt_cv_sys_global_symbol_pipe=
7007  fi
7008done
7009
7010fi
7011
7012if test -z "$lt_cv_sys_global_symbol_pipe"; then
7013  lt_cv_sys_global_symbol_to_cdecl=
7014fi
7015if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7017$as_echo "failed" >&6; }
7018else
7019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7020$as_echo "ok" >&6; }
7021fi
7022
7023# Response file support.
7024if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7025  nm_file_list_spec='@'
7026elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7027  nm_file_list_spec='@'
7028fi
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7067$as_echo_n "checking for sysroot... " >&6; }
7068
7069# Check whether --with-sysroot was given.
7070if test "${with_sysroot+set}" = set; then :
7071  withval=$with_sysroot;
7072else
7073  with_sysroot=no
7074fi
7075
7076
7077lt_sysroot=
7078case $with_sysroot in #(
7079 yes)
7080   if test yes = "$GCC"; then
7081     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7082   fi
7083   ;; #(
7084 /*)
7085   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7086   ;; #(
7087 no|'')
7088   ;; #(
7089 *)
7090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7091$as_echo "$with_sysroot" >&6; }
7092   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7093   ;;
7094esac
7095
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7097$as_echo "${lt_sysroot:-no}" >&6; }
7098
7099
7100
7101
7102
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7104$as_echo_n "checking for a working dd... " >&6; }
7105if ${ac_cv_path_lt_DD+:} false; then :
7106  $as_echo_n "(cached) " >&6
7107else
7108  printf 0123456789abcdef0123456789abcdef >conftest.i
7109cat conftest.i conftest.i >conftest2.i
7110: ${lt_DD:=$DD}
7111if test -z "$lt_DD"; then
7112  ac_path_lt_DD_found=false
7113  # Loop through the user's path and test for each of PROGNAME-LIST
7114  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115for as_dir in $PATH
7116do
7117  IFS=$as_save_IFS
7118  test -z "$as_dir" && as_dir=.
7119    for ac_prog in dd; do
7120    for ac_exec_ext in '' $ac_executable_extensions; do
7121      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7122      as_fn_executable_p "$ac_path_lt_DD" || continue
7123if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7124  cmp -s conftest.i conftest.out \
7125  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7126fi
7127      $ac_path_lt_DD_found && break 3
7128    done
7129  done
7130  done
7131IFS=$as_save_IFS
7132  if test -z "$ac_cv_path_lt_DD"; then
7133    :
7134  fi
7135else
7136  ac_cv_path_lt_DD=$lt_DD
7137fi
7138
7139rm -f conftest.i conftest2.i conftest.out
7140fi
7141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7142$as_echo "$ac_cv_path_lt_DD" >&6; }
7143
7144
7145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7146$as_echo_n "checking how to truncate binary pipes... " >&6; }
7147if ${lt_cv_truncate_bin+:} false; then :
7148  $as_echo_n "(cached) " >&6
7149else
7150  printf 0123456789abcdef0123456789abcdef >conftest.i
7151cat conftest.i conftest.i >conftest2.i
7152lt_cv_truncate_bin=
7153if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7154  cmp -s conftest.i conftest.out \
7155  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7156fi
7157rm -f conftest.i conftest2.i conftest.out
7158test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7159fi
7160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7161$as_echo "$lt_cv_truncate_bin" >&6; }
7162
7163
7164
7165
7166
7167
7168
7169# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7170func_cc_basename ()
7171{
7172    for cc_temp in $*""; do
7173      case $cc_temp in
7174        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7175        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7176        \-*) ;;
7177        *) break;;
7178      esac
7179    done
7180    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7181}
7182
7183# Check whether --enable-libtool-lock was given.
7184if test "${enable_libtool_lock+set}" = set; then :
7185  enableval=$enable_libtool_lock;
7186fi
7187
7188test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7189
7190# Some flags need to be propagated to the compiler or linker for good
7191# libtool support.
7192case $host in
7193ia64-*-hpux*)
7194  # Find out what ABI is being produced by ac_compile, and set mode
7195  # options accordingly.
7196  echo 'int i;' > conftest.$ac_ext
7197  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198  (eval $ac_compile) 2>&5
7199  ac_status=$?
7200  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201  test $ac_status = 0; }; then
7202    case `/usr/bin/file conftest.$ac_objext` in
7203      *ELF-32*)
7204	HPUX_IA64_MODE=32
7205	;;
7206      *ELF-64*)
7207	HPUX_IA64_MODE=64
7208	;;
7209    esac
7210  fi
7211  rm -rf conftest*
7212  ;;
7213*-*-irix6*)
7214  # Find out what ABI is being produced by ac_compile, and set linker
7215  # options accordingly.
7216  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7217  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7218  (eval $ac_compile) 2>&5
7219  ac_status=$?
7220  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7221  test $ac_status = 0; }; then
7222    if test yes = "$lt_cv_prog_gnu_ld"; then
7223      case `/usr/bin/file conftest.$ac_objext` in
7224	*32-bit*)
7225	  LD="${LD-ld} -melf32bsmip"
7226	  ;;
7227	*N32*)
7228	  LD="${LD-ld} -melf32bmipn32"
7229	  ;;
7230	*64-bit*)
7231	  LD="${LD-ld} -melf64bmip"
7232	;;
7233      esac
7234    else
7235      case `/usr/bin/file conftest.$ac_objext` in
7236	*32-bit*)
7237	  LD="${LD-ld} -32"
7238	  ;;
7239	*N32*)
7240	  LD="${LD-ld} -n32"
7241	  ;;
7242	*64-bit*)
7243	  LD="${LD-ld} -64"
7244	  ;;
7245      esac
7246    fi
7247  fi
7248  rm -rf conftest*
7249  ;;
7250
7251mips64*-*linux*)
7252  # Find out what ABI is being produced by ac_compile, and set linker
7253  # options accordingly.
7254  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7255  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7256  (eval $ac_compile) 2>&5
7257  ac_status=$?
7258  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7259  test $ac_status = 0; }; then
7260    emul=elf
7261    case `/usr/bin/file conftest.$ac_objext` in
7262      *32-bit*)
7263	emul="${emul}32"
7264	;;
7265      *64-bit*)
7266	emul="${emul}64"
7267	;;
7268    esac
7269    case `/usr/bin/file conftest.$ac_objext` in
7270      *MSB*)
7271	emul="${emul}btsmip"
7272	;;
7273      *LSB*)
7274	emul="${emul}ltsmip"
7275	;;
7276    esac
7277    case `/usr/bin/file conftest.$ac_objext` in
7278      *N32*)
7279	emul="${emul}n32"
7280	;;
7281    esac
7282    LD="${LD-ld} -m $emul"
7283  fi
7284  rm -rf conftest*
7285  ;;
7286
7287x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7288s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7289  # Find out what ABI is being produced by ac_compile, and set linker
7290  # options accordingly.  Note that the listed cases only cover the
7291  # situations where additional linker options are needed (such as when
7292  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7293  # vice versa); the common cases where no linker options are needed do
7294  # not appear in the list.
7295  echo 'int i;' > conftest.$ac_ext
7296  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7297  (eval $ac_compile) 2>&5
7298  ac_status=$?
7299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7300  test $ac_status = 0; }; then
7301    case `/usr/bin/file conftest.o` in
7302      *32-bit*)
7303	case $host in
7304	  x86_64-*kfreebsd*-gnu)
7305	    LD="${LD-ld} -m elf_i386_fbsd"
7306	    ;;
7307	  x86_64-*linux*)
7308	    case `/usr/bin/file conftest.o` in
7309	      *x86-64*)
7310		LD="${LD-ld} -m elf32_x86_64"
7311		;;
7312	      *)
7313		LD="${LD-ld} -m elf_i386"
7314		;;
7315	    esac
7316	    ;;
7317	  powerpc64le-*linux*)
7318	    LD="${LD-ld} -m elf32lppclinux"
7319	    ;;
7320	  powerpc64-*linux*)
7321	    LD="${LD-ld} -m elf32ppclinux"
7322	    ;;
7323	  s390x-*linux*)
7324	    LD="${LD-ld} -m elf_s390"
7325	    ;;
7326	  sparc64-*linux*)
7327	    LD="${LD-ld} -m elf32_sparc"
7328	    ;;
7329	esac
7330	;;
7331      *64-bit*)
7332	case $host in
7333	  x86_64-*kfreebsd*-gnu)
7334	    LD="${LD-ld} -m elf_x86_64_fbsd"
7335	    ;;
7336	  x86_64-*linux*)
7337	    LD="${LD-ld} -m elf_x86_64"
7338	    ;;
7339	  powerpcle-*linux*)
7340	    LD="${LD-ld} -m elf64lppc"
7341	    ;;
7342	  powerpc-*linux*)
7343	    LD="${LD-ld} -m elf64ppc"
7344	    ;;
7345	  s390*-*linux*|s390*-*tpf*)
7346	    LD="${LD-ld} -m elf64_s390"
7347	    ;;
7348	  sparc*-*linux*)
7349	    LD="${LD-ld} -m elf64_sparc"
7350	    ;;
7351	esac
7352	;;
7353    esac
7354  fi
7355  rm -rf conftest*
7356  ;;
7357
7358*-*-sco3.2v5*)
7359  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7360  SAVE_CFLAGS=$CFLAGS
7361  CFLAGS="$CFLAGS -belf"
7362  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7363$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7364if ${lt_cv_cc_needs_belf+:} false; then :
7365  $as_echo_n "(cached) " >&6
7366else
7367  ac_ext=c
7368ac_cpp='$CPP $CPPFLAGS'
7369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371ac_compiler_gnu=$ac_cv_c_compiler_gnu
7372
7373     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374/* end confdefs.h.  */
7375
7376int
7377main ()
7378{
7379
7380  ;
7381  return 0;
7382}
7383_ACEOF
7384if ac_fn_c_try_link "$LINENO"; then :
7385  lt_cv_cc_needs_belf=yes
7386else
7387  lt_cv_cc_needs_belf=no
7388fi
7389rm -f core conftest.err conftest.$ac_objext \
7390    conftest$ac_exeext conftest.$ac_ext
7391     ac_ext=c
7392ac_cpp='$CPP $CPPFLAGS'
7393ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7394ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7395ac_compiler_gnu=$ac_cv_c_compiler_gnu
7396
7397fi
7398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7399$as_echo "$lt_cv_cc_needs_belf" >&6; }
7400  if test yes != "$lt_cv_cc_needs_belf"; then
7401    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7402    CFLAGS=$SAVE_CFLAGS
7403  fi
7404  ;;
7405*-*solaris*)
7406  # Find out what ABI is being produced by ac_compile, and set linker
7407  # options accordingly.
7408  echo 'int i;' > conftest.$ac_ext
7409  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7410  (eval $ac_compile) 2>&5
7411  ac_status=$?
7412  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7413  test $ac_status = 0; }; then
7414    case `/usr/bin/file conftest.o` in
7415    *64-bit*)
7416      case $lt_cv_prog_gnu_ld in
7417      yes*)
7418        case $host in
7419        i?86-*-solaris*|x86_64-*-solaris*)
7420          LD="${LD-ld} -m elf_x86_64"
7421          ;;
7422        sparc*-*-solaris*)
7423          LD="${LD-ld} -m elf64_sparc"
7424          ;;
7425        esac
7426        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7427        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7428          LD=${LD-ld}_sol2
7429        fi
7430        ;;
7431      *)
7432	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7433	  LD="${LD-ld} -64"
7434	fi
7435	;;
7436      esac
7437      ;;
7438    esac
7439  fi
7440  rm -rf conftest*
7441  ;;
7442esac
7443
7444need_locks=$enable_libtool_lock
7445
7446if test -n "$ac_tool_prefix"; then
7447  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7448set dummy ${ac_tool_prefix}mt; ac_word=$2
7449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450$as_echo_n "checking for $ac_word... " >&6; }
7451if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7452  $as_echo_n "(cached) " >&6
7453else
7454  if test -n "$MANIFEST_TOOL"; then
7455  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7456else
7457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458for as_dir in $PATH
7459do
7460  IFS=$as_save_IFS
7461  test -z "$as_dir" && as_dir=.
7462    for ac_exec_ext in '' $ac_executable_extensions; do
7463  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7464    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466    break 2
7467  fi
7468done
7469  done
7470IFS=$as_save_IFS
7471
7472fi
7473fi
7474MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7475if test -n "$MANIFEST_TOOL"; then
7476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7477$as_echo "$MANIFEST_TOOL" >&6; }
7478else
7479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480$as_echo "no" >&6; }
7481fi
7482
7483
7484fi
7485if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7486  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7487  # Extract the first word of "mt", so it can be a program name with args.
7488set dummy mt; ac_word=$2
7489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7490$as_echo_n "checking for $ac_word... " >&6; }
7491if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7492  $as_echo_n "(cached) " >&6
7493else
7494  if test -n "$ac_ct_MANIFEST_TOOL"; then
7495  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7496else
7497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498for as_dir in $PATH
7499do
7500  IFS=$as_save_IFS
7501  test -z "$as_dir" && as_dir=.
7502    for ac_exec_ext in '' $ac_executable_extensions; do
7503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506    break 2
7507  fi
7508done
7509  done
7510IFS=$as_save_IFS
7511
7512fi
7513fi
7514ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7515if test -n "$ac_ct_MANIFEST_TOOL"; then
7516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7517$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7518else
7519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520$as_echo "no" >&6; }
7521fi
7522
7523  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7524    MANIFEST_TOOL=":"
7525  else
7526    case $cross_compiling:$ac_tool_warned in
7527yes:)
7528{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7529$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7530ac_tool_warned=yes ;;
7531esac
7532    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7533  fi
7534else
7535  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7536fi
7537
7538test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7540$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7541if ${lt_cv_path_mainfest_tool+:} false; then :
7542  $as_echo_n "(cached) " >&6
7543else
7544  lt_cv_path_mainfest_tool=no
7545  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7546  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7547  cat conftest.err >&5
7548  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7549    lt_cv_path_mainfest_tool=yes
7550  fi
7551  rm -f conftest*
7552fi
7553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7554$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7555if test yes != "$lt_cv_path_mainfest_tool"; then
7556  MANIFEST_TOOL=:
7557fi
7558
7559
7560
7561
7562
7563
7564  case $host_os in
7565    rhapsody* | darwin*)
7566    if test -n "$ac_tool_prefix"; then
7567  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7568set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570$as_echo_n "checking for $ac_word... " >&6; }
7571if ${ac_cv_prog_DSYMUTIL+:} false; then :
7572  $as_echo_n "(cached) " >&6
7573else
7574  if test -n "$DSYMUTIL"; then
7575  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7576else
7577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578for as_dir in $PATH
7579do
7580  IFS=$as_save_IFS
7581  test -z "$as_dir" && as_dir=.
7582    for ac_exec_ext in '' $ac_executable_extensions; do
7583  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7584    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7585    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7586    break 2
7587  fi
7588done
7589  done
7590IFS=$as_save_IFS
7591
7592fi
7593fi
7594DSYMUTIL=$ac_cv_prog_DSYMUTIL
7595if test -n "$DSYMUTIL"; then
7596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7597$as_echo "$DSYMUTIL" >&6; }
7598else
7599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600$as_echo "no" >&6; }
7601fi
7602
7603
7604fi
7605if test -z "$ac_cv_prog_DSYMUTIL"; then
7606  ac_ct_DSYMUTIL=$DSYMUTIL
7607  # Extract the first word of "dsymutil", so it can be a program name with args.
7608set dummy dsymutil; ac_word=$2
7609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7610$as_echo_n "checking for $ac_word... " >&6; }
7611if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7612  $as_echo_n "(cached) " >&6
7613else
7614  if test -n "$ac_ct_DSYMUTIL"; then
7615  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7616else
7617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7618for as_dir in $PATH
7619do
7620  IFS=$as_save_IFS
7621  test -z "$as_dir" && as_dir=.
7622    for ac_exec_ext in '' $ac_executable_extensions; do
7623  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7624    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7626    break 2
7627  fi
7628done
7629  done
7630IFS=$as_save_IFS
7631
7632fi
7633fi
7634ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7635if test -n "$ac_ct_DSYMUTIL"; then
7636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7637$as_echo "$ac_ct_DSYMUTIL" >&6; }
7638else
7639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7640$as_echo "no" >&6; }
7641fi
7642
7643  if test "x$ac_ct_DSYMUTIL" = x; then
7644    DSYMUTIL=":"
7645  else
7646    case $cross_compiling:$ac_tool_warned in
7647yes:)
7648{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7649$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7650ac_tool_warned=yes ;;
7651esac
7652    DSYMUTIL=$ac_ct_DSYMUTIL
7653  fi
7654else
7655  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7656fi
7657
7658    if test -n "$ac_tool_prefix"; then
7659  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7660set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7662$as_echo_n "checking for $ac_word... " >&6; }
7663if ${ac_cv_prog_NMEDIT+:} false; then :
7664  $as_echo_n "(cached) " >&6
7665else
7666  if test -n "$NMEDIT"; then
7667  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7668else
7669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7670for as_dir in $PATH
7671do
7672  IFS=$as_save_IFS
7673  test -z "$as_dir" && as_dir=.
7674    for ac_exec_ext in '' $ac_executable_extensions; do
7675  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7676    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7678    break 2
7679  fi
7680done
7681  done
7682IFS=$as_save_IFS
7683
7684fi
7685fi
7686NMEDIT=$ac_cv_prog_NMEDIT
7687if test -n "$NMEDIT"; then
7688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7689$as_echo "$NMEDIT" >&6; }
7690else
7691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692$as_echo "no" >&6; }
7693fi
7694
7695
7696fi
7697if test -z "$ac_cv_prog_NMEDIT"; then
7698  ac_ct_NMEDIT=$NMEDIT
7699  # Extract the first word of "nmedit", so it can be a program name with args.
7700set dummy nmedit; ac_word=$2
7701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702$as_echo_n "checking for $ac_word... " >&6; }
7703if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7704  $as_echo_n "(cached) " >&6
7705else
7706  if test -n "$ac_ct_NMEDIT"; then
7707  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7708else
7709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710for as_dir in $PATH
7711do
7712  IFS=$as_save_IFS
7713  test -z "$as_dir" && as_dir=.
7714    for ac_exec_ext in '' $ac_executable_extensions; do
7715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7718    break 2
7719  fi
7720done
7721  done
7722IFS=$as_save_IFS
7723
7724fi
7725fi
7726ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7727if test -n "$ac_ct_NMEDIT"; then
7728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7729$as_echo "$ac_ct_NMEDIT" >&6; }
7730else
7731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732$as_echo "no" >&6; }
7733fi
7734
7735  if test "x$ac_ct_NMEDIT" = x; then
7736    NMEDIT=":"
7737  else
7738    case $cross_compiling:$ac_tool_warned in
7739yes:)
7740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7742ac_tool_warned=yes ;;
7743esac
7744    NMEDIT=$ac_ct_NMEDIT
7745  fi
7746else
7747  NMEDIT="$ac_cv_prog_NMEDIT"
7748fi
7749
7750    if test -n "$ac_tool_prefix"; then
7751  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7752set dummy ${ac_tool_prefix}lipo; ac_word=$2
7753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7754$as_echo_n "checking for $ac_word... " >&6; }
7755if ${ac_cv_prog_LIPO+:} false; then :
7756  $as_echo_n "(cached) " >&6
7757else
7758  if test -n "$LIPO"; then
7759  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7760else
7761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7762for as_dir in $PATH
7763do
7764  IFS=$as_save_IFS
7765  test -z "$as_dir" && as_dir=.
7766    for ac_exec_ext in '' $ac_executable_extensions; do
7767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7768    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7770    break 2
7771  fi
7772done
7773  done
7774IFS=$as_save_IFS
7775
7776fi
7777fi
7778LIPO=$ac_cv_prog_LIPO
7779if test -n "$LIPO"; then
7780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7781$as_echo "$LIPO" >&6; }
7782else
7783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784$as_echo "no" >&6; }
7785fi
7786
7787
7788fi
7789if test -z "$ac_cv_prog_LIPO"; then
7790  ac_ct_LIPO=$LIPO
7791  # Extract the first word of "lipo", so it can be a program name with args.
7792set dummy lipo; ac_word=$2
7793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7794$as_echo_n "checking for $ac_word... " >&6; }
7795if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7796  $as_echo_n "(cached) " >&6
7797else
7798  if test -n "$ac_ct_LIPO"; then
7799  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7800else
7801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802for as_dir in $PATH
7803do
7804  IFS=$as_save_IFS
7805  test -z "$as_dir" && as_dir=.
7806    for ac_exec_ext in '' $ac_executable_extensions; do
7807  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7808    ac_cv_prog_ac_ct_LIPO="lipo"
7809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7810    break 2
7811  fi
7812done
7813  done
7814IFS=$as_save_IFS
7815
7816fi
7817fi
7818ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7819if test -n "$ac_ct_LIPO"; then
7820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7821$as_echo "$ac_ct_LIPO" >&6; }
7822else
7823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824$as_echo "no" >&6; }
7825fi
7826
7827  if test "x$ac_ct_LIPO" = x; then
7828    LIPO=":"
7829  else
7830    case $cross_compiling:$ac_tool_warned in
7831yes:)
7832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7834ac_tool_warned=yes ;;
7835esac
7836    LIPO=$ac_ct_LIPO
7837  fi
7838else
7839  LIPO="$ac_cv_prog_LIPO"
7840fi
7841
7842    if test -n "$ac_tool_prefix"; then
7843  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7844set dummy ${ac_tool_prefix}otool; ac_word=$2
7845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846$as_echo_n "checking for $ac_word... " >&6; }
7847if ${ac_cv_prog_OTOOL+:} false; then :
7848  $as_echo_n "(cached) " >&6
7849else
7850  if test -n "$OTOOL"; then
7851  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7852else
7853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854for as_dir in $PATH
7855do
7856  IFS=$as_save_IFS
7857  test -z "$as_dir" && as_dir=.
7858    for ac_exec_ext in '' $ac_executable_extensions; do
7859  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7861    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862    break 2
7863  fi
7864done
7865  done
7866IFS=$as_save_IFS
7867
7868fi
7869fi
7870OTOOL=$ac_cv_prog_OTOOL
7871if test -n "$OTOOL"; then
7872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7873$as_echo "$OTOOL" >&6; }
7874else
7875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876$as_echo "no" >&6; }
7877fi
7878
7879
7880fi
7881if test -z "$ac_cv_prog_OTOOL"; then
7882  ac_ct_OTOOL=$OTOOL
7883  # Extract the first word of "otool", so it can be a program name with args.
7884set dummy otool; ac_word=$2
7885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886$as_echo_n "checking for $ac_word... " >&6; }
7887if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7888  $as_echo_n "(cached) " >&6
7889else
7890  if test -n "$ac_ct_OTOOL"; then
7891  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7892else
7893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894for as_dir in $PATH
7895do
7896  IFS=$as_save_IFS
7897  test -z "$as_dir" && as_dir=.
7898    for ac_exec_ext in '' $ac_executable_extensions; do
7899  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7900    ac_cv_prog_ac_ct_OTOOL="otool"
7901    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902    break 2
7903  fi
7904done
7905  done
7906IFS=$as_save_IFS
7907
7908fi
7909fi
7910ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7911if test -n "$ac_ct_OTOOL"; then
7912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7913$as_echo "$ac_ct_OTOOL" >&6; }
7914else
7915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916$as_echo "no" >&6; }
7917fi
7918
7919  if test "x$ac_ct_OTOOL" = x; then
7920    OTOOL=":"
7921  else
7922    case $cross_compiling:$ac_tool_warned in
7923yes:)
7924{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926ac_tool_warned=yes ;;
7927esac
7928    OTOOL=$ac_ct_OTOOL
7929  fi
7930else
7931  OTOOL="$ac_cv_prog_OTOOL"
7932fi
7933
7934    if test -n "$ac_tool_prefix"; then
7935  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7936set dummy ${ac_tool_prefix}otool64; ac_word=$2
7937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938$as_echo_n "checking for $ac_word... " >&6; }
7939if ${ac_cv_prog_OTOOL64+:} false; then :
7940  $as_echo_n "(cached) " >&6
7941else
7942  if test -n "$OTOOL64"; then
7943  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7944else
7945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946for as_dir in $PATH
7947do
7948  IFS=$as_save_IFS
7949  test -z "$as_dir" && as_dir=.
7950    for ac_exec_ext in '' $ac_executable_extensions; do
7951  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7953    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954    break 2
7955  fi
7956done
7957  done
7958IFS=$as_save_IFS
7959
7960fi
7961fi
7962OTOOL64=$ac_cv_prog_OTOOL64
7963if test -n "$OTOOL64"; then
7964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7965$as_echo "$OTOOL64" >&6; }
7966else
7967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968$as_echo "no" >&6; }
7969fi
7970
7971
7972fi
7973if test -z "$ac_cv_prog_OTOOL64"; then
7974  ac_ct_OTOOL64=$OTOOL64
7975  # Extract the first word of "otool64", so it can be a program name with args.
7976set dummy otool64; ac_word=$2
7977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978$as_echo_n "checking for $ac_word... " >&6; }
7979if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7980  $as_echo_n "(cached) " >&6
7981else
7982  if test -n "$ac_ct_OTOOL64"; then
7983  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7984else
7985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986for as_dir in $PATH
7987do
7988  IFS=$as_save_IFS
7989  test -z "$as_dir" && as_dir=.
7990    for ac_exec_ext in '' $ac_executable_extensions; do
7991  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992    ac_cv_prog_ac_ct_OTOOL64="otool64"
7993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994    break 2
7995  fi
7996done
7997  done
7998IFS=$as_save_IFS
7999
8000fi
8001fi
8002ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8003if test -n "$ac_ct_OTOOL64"; then
8004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8005$as_echo "$ac_ct_OTOOL64" >&6; }
8006else
8007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008$as_echo "no" >&6; }
8009fi
8010
8011  if test "x$ac_ct_OTOOL64" = x; then
8012    OTOOL64=":"
8013  else
8014    case $cross_compiling:$ac_tool_warned in
8015yes:)
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8017$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8018ac_tool_warned=yes ;;
8019esac
8020    OTOOL64=$ac_ct_OTOOL64
8021  fi
8022else
8023  OTOOL64="$ac_cv_prog_OTOOL64"
8024fi
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8053$as_echo_n "checking for -single_module linker flag... " >&6; }
8054if ${lt_cv_apple_cc_single_mod+:} false; then :
8055  $as_echo_n "(cached) " >&6
8056else
8057  lt_cv_apple_cc_single_mod=no
8058      if test -z "$LT_MULTI_MODULE"; then
8059	# By default we will add the -single_module flag. You can override
8060	# by either setting the environment variable LT_MULTI_MODULE
8061	# non-empty at configure time, or by adding -multi_module to the
8062	# link flags.
8063	rm -rf libconftest.dylib*
8064	echo "int foo(void){return 1;}" > conftest.c
8065	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8066-dynamiclib -Wl,-single_module conftest.c" >&5
8067	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8068	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8069        _lt_result=$?
8070	# If there is a non-empty error log, and "single_module"
8071	# appears in it, assume the flag caused a linker warning
8072        if test -s conftest.err && $GREP single_module conftest.err; then
8073	  cat conftest.err >&5
8074	# Otherwise, if the output was created with a 0 exit code from
8075	# the compiler, it worked.
8076	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8077	  lt_cv_apple_cc_single_mod=yes
8078	else
8079	  cat conftest.err >&5
8080	fi
8081	rm -rf libconftest.dylib*
8082	rm -f conftest.*
8083      fi
8084fi
8085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8086$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8087
8088    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8089$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8090if ${lt_cv_ld_exported_symbols_list+:} false; then :
8091  $as_echo_n "(cached) " >&6
8092else
8093  lt_cv_ld_exported_symbols_list=no
8094      save_LDFLAGS=$LDFLAGS
8095      echo "_main" > conftest.sym
8096      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8097      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8098/* end confdefs.h.  */
8099
8100int
8101main ()
8102{
8103
8104  ;
8105  return 0;
8106}
8107_ACEOF
8108if ac_fn_c_try_link "$LINENO"; then :
8109  lt_cv_ld_exported_symbols_list=yes
8110else
8111  lt_cv_ld_exported_symbols_list=no
8112fi
8113rm -f core conftest.err conftest.$ac_objext \
8114    conftest$ac_exeext conftest.$ac_ext
8115	LDFLAGS=$save_LDFLAGS
8116
8117fi
8118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8119$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8120
8121    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8122$as_echo_n "checking for -force_load linker flag... " >&6; }
8123if ${lt_cv_ld_force_load+:} false; then :
8124  $as_echo_n "(cached) " >&6
8125else
8126  lt_cv_ld_force_load=no
8127      cat > conftest.c << _LT_EOF
8128int forced_loaded() { return 2;}
8129_LT_EOF
8130      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8131      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8132      echo "$AR cr libconftest.a conftest.o" >&5
8133      $AR cr libconftest.a conftest.o 2>&5
8134      echo "$RANLIB libconftest.a" >&5
8135      $RANLIB libconftest.a 2>&5
8136      cat > conftest.c << _LT_EOF
8137int main() { return 0;}
8138_LT_EOF
8139      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8140      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8141      _lt_result=$?
8142      if test -s conftest.err && $GREP force_load conftest.err; then
8143	cat conftest.err >&5
8144      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8145	lt_cv_ld_force_load=yes
8146      else
8147	cat conftest.err >&5
8148      fi
8149        rm -f conftest.err libconftest.a conftest conftest.c
8150        rm -rf conftest.dSYM
8151
8152fi
8153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8154$as_echo "$lt_cv_ld_force_load" >&6; }
8155    case $host_os in
8156    rhapsody* | darwin1.[012])
8157      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8158    darwin1.*)
8159      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8160    darwin*) # darwin 5.x on
8161      # if running on 10.5 or later, the deployment target defaults
8162      # to the OS version, if on x86, and 10.4, the deployment
8163      # target defaults to 10.4. Don't you love it?
8164      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8165	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8166	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8167	10.[012][,.]*)
8168	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8169	10.*)
8170	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8171      esac
8172    ;;
8173  esac
8174    if test yes = "$lt_cv_apple_cc_single_mod"; then
8175      _lt_dar_single_mod='$single_module'
8176    fi
8177    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8178      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8179    else
8180      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8181    fi
8182    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8183      _lt_dsymutil='~$DSYMUTIL $lib || :'
8184    else
8185      _lt_dsymutil=
8186    fi
8187    ;;
8188  esac
8189
8190# func_munge_path_list VARIABLE PATH
8191# -----------------------------------
8192# VARIABLE is name of variable containing _space_ separated list of
8193# directories to be munged by the contents of PATH, which is string
8194# having a format:
8195# "DIR[:DIR]:"
8196#       string "DIR[ DIR]" will be prepended to VARIABLE
8197# ":DIR[:DIR]"
8198#       string "DIR[ DIR]" will be appended to VARIABLE
8199# "DIRP[:DIRP]::[DIRA:]DIRA"
8200#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8201#       "DIRA[ DIRA]" will be appended to VARIABLE
8202# "DIR[:DIR]"
8203#       VARIABLE will be replaced by "DIR[ DIR]"
8204func_munge_path_list ()
8205{
8206    case x$2 in
8207    x)
8208        ;;
8209    *:)
8210        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8211        ;;
8212    x:*)
8213        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8214        ;;
8215    *::*)
8216        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8217        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8218        ;;
8219    *)
8220        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8221        ;;
8222    esac
8223}
8224
8225ac_ext=c
8226ac_cpp='$CPP $CPPFLAGS'
8227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8229ac_compiler_gnu=$ac_cv_c_compiler_gnu
8230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8231$as_echo_n "checking how to run the C preprocessor... " >&6; }
8232# On Suns, sometimes $CPP names a directory.
8233if test -n "$CPP" && test -d "$CPP"; then
8234  CPP=
8235fi
8236if test -z "$CPP"; then
8237  if ${ac_cv_prog_CPP+:} false; then :
8238  $as_echo_n "(cached) " >&6
8239else
8240      # Double quotes because CPP needs to be expanded
8241    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8242    do
8243      ac_preproc_ok=false
8244for ac_c_preproc_warn_flag in '' yes
8245do
8246  # Use a header file that comes with gcc, so configuring glibc
8247  # with a fresh cross-compiler works.
8248  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8249  # <limits.h> exists even on freestanding compilers.
8250  # On the NeXT, cc -E runs the code through the compiler's parser,
8251  # not just through cpp. "Syntax error" is here to catch this case.
8252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253/* end confdefs.h.  */
8254#ifdef __STDC__
8255# include <limits.h>
8256#else
8257# include <assert.h>
8258#endif
8259		     Syntax error
8260_ACEOF
8261if ac_fn_c_try_cpp "$LINENO"; then :
8262
8263else
8264  # Broken: fails on valid input.
8265continue
8266fi
8267rm -f conftest.err conftest.i conftest.$ac_ext
8268
8269  # OK, works on sane cases.  Now check whether nonexistent headers
8270  # can be detected and how.
8271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272/* end confdefs.h.  */
8273#include <ac_nonexistent.h>
8274_ACEOF
8275if ac_fn_c_try_cpp "$LINENO"; then :
8276  # Broken: success on invalid input.
8277continue
8278else
8279  # Passes both tests.
8280ac_preproc_ok=:
8281break
8282fi
8283rm -f conftest.err conftest.i conftest.$ac_ext
8284
8285done
8286# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8287rm -f conftest.i conftest.err conftest.$ac_ext
8288if $ac_preproc_ok; then :
8289  break
8290fi
8291
8292    done
8293    ac_cv_prog_CPP=$CPP
8294
8295fi
8296  CPP=$ac_cv_prog_CPP
8297else
8298  ac_cv_prog_CPP=$CPP
8299fi
8300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8301$as_echo "$CPP" >&6; }
8302ac_preproc_ok=false
8303for ac_c_preproc_warn_flag in '' yes
8304do
8305  # Use a header file that comes with gcc, so configuring glibc
8306  # with a fresh cross-compiler works.
8307  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308  # <limits.h> exists even on freestanding compilers.
8309  # On the NeXT, cc -E runs the code through the compiler's parser,
8310  # not just through cpp. "Syntax error" is here to catch this case.
8311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312/* end confdefs.h.  */
8313#ifdef __STDC__
8314# include <limits.h>
8315#else
8316# include <assert.h>
8317#endif
8318		     Syntax error
8319_ACEOF
8320if ac_fn_c_try_cpp "$LINENO"; then :
8321
8322else
8323  # Broken: fails on valid input.
8324continue
8325fi
8326rm -f conftest.err conftest.i conftest.$ac_ext
8327
8328  # OK, works on sane cases.  Now check whether nonexistent headers
8329  # can be detected and how.
8330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331/* end confdefs.h.  */
8332#include <ac_nonexistent.h>
8333_ACEOF
8334if ac_fn_c_try_cpp "$LINENO"; then :
8335  # Broken: success on invalid input.
8336continue
8337else
8338  # Passes both tests.
8339ac_preproc_ok=:
8340break
8341fi
8342rm -f conftest.err conftest.i conftest.$ac_ext
8343
8344done
8345# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8346rm -f conftest.i conftest.err conftest.$ac_ext
8347if $ac_preproc_ok; then :
8348
8349else
8350  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8351$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8352as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8353See \`config.log' for more details" "$LINENO" 5; }
8354fi
8355
8356ac_ext=c
8357ac_cpp='$CPP $CPPFLAGS'
8358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8360ac_compiler_gnu=$ac_cv_c_compiler_gnu
8361
8362
8363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8364$as_echo_n "checking for ANSI C header files... " >&6; }
8365if ${ac_cv_header_stdc+:} false; then :
8366  $as_echo_n "(cached) " >&6
8367else
8368  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369/* end confdefs.h.  */
8370#include <stdlib.h>
8371#include <stdarg.h>
8372#include <string.h>
8373#include <float.h>
8374
8375int
8376main ()
8377{
8378
8379  ;
8380  return 0;
8381}
8382_ACEOF
8383if ac_fn_c_try_compile "$LINENO"; then :
8384  ac_cv_header_stdc=yes
8385else
8386  ac_cv_header_stdc=no
8387fi
8388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8389
8390if test $ac_cv_header_stdc = yes; then
8391  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8392  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393/* end confdefs.h.  */
8394#include <string.h>
8395
8396_ACEOF
8397if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8398  $EGREP "memchr" >/dev/null 2>&1; then :
8399
8400else
8401  ac_cv_header_stdc=no
8402fi
8403rm -f conftest*
8404
8405fi
8406
8407if test $ac_cv_header_stdc = yes; then
8408  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410/* end confdefs.h.  */
8411#include <stdlib.h>
8412
8413_ACEOF
8414if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8415  $EGREP "free" >/dev/null 2>&1; then :
8416
8417else
8418  ac_cv_header_stdc=no
8419fi
8420rm -f conftest*
8421
8422fi
8423
8424if test $ac_cv_header_stdc = yes; then
8425  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8426  if test "$cross_compiling" = yes; then :
8427  :
8428else
8429  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430/* end confdefs.h.  */
8431#include <ctype.h>
8432#include <stdlib.h>
8433#if ((' ' & 0x0FF) == 0x020)
8434# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8435# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8436#else
8437# define ISLOWER(c) \
8438		   (('a' <= (c) && (c) <= 'i') \
8439		     || ('j' <= (c) && (c) <= 'r') \
8440		     || ('s' <= (c) && (c) <= 'z'))
8441# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8442#endif
8443
8444#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8445int
8446main ()
8447{
8448  int i;
8449  for (i = 0; i < 256; i++)
8450    if (XOR (islower (i), ISLOWER (i))
8451	|| toupper (i) != TOUPPER (i))
8452      return 2;
8453  return 0;
8454}
8455_ACEOF
8456if ac_fn_c_try_run "$LINENO"; then :
8457
8458else
8459  ac_cv_header_stdc=no
8460fi
8461rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8462  conftest.$ac_objext conftest.beam conftest.$ac_ext
8463fi
8464
8465fi
8466fi
8467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8468$as_echo "$ac_cv_header_stdc" >&6; }
8469if test $ac_cv_header_stdc = yes; then
8470
8471$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8472
8473fi
8474
8475# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8476for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8477		  inttypes.h stdint.h unistd.h
8478do :
8479  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8480ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8481"
8482if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8483  cat >>confdefs.h <<_ACEOF
8484#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8485_ACEOF
8486
8487fi
8488
8489done
8490
8491
8492for ac_header in dlfcn.h
8493do :
8494  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8495"
8496if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8497  cat >>confdefs.h <<_ACEOF
8498#define HAVE_DLFCN_H 1
8499_ACEOF
8500
8501fi
8502
8503done
8504
8505
8506
8507
8508
8509# Set options
8510# Check whether --enable-static was given.
8511if test "${enable_static+set}" = set; then :
8512  enableval=$enable_static; p=${PACKAGE-default}
8513    case $enableval in
8514    yes) enable_static=yes ;;
8515    no) enable_static=no ;;
8516    *)
8517     enable_static=no
8518      # Look at the argument we got.  We use all the common list separators.
8519      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8520      for pkg in $enableval; do
8521	IFS=$lt_save_ifs
8522	if test "X$pkg" = "X$p"; then
8523	  enable_static=yes
8524	fi
8525      done
8526      IFS=$lt_save_ifs
8527      ;;
8528    esac
8529else
8530  enable_static=no
8531fi
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542        enable_dlopen=no
8543
8544
8545  enable_win32_dll=no
8546
8547
8548            # Check whether --enable-shared was given.
8549if test "${enable_shared+set}" = set; then :
8550  enableval=$enable_shared; p=${PACKAGE-default}
8551    case $enableval in
8552    yes) enable_shared=yes ;;
8553    no) enable_shared=no ;;
8554    *)
8555      enable_shared=no
8556      # Look at the argument we got.  We use all the common list separators.
8557      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8558      for pkg in $enableval; do
8559	IFS=$lt_save_ifs
8560	if test "X$pkg" = "X$p"; then
8561	  enable_shared=yes
8562	fi
8563      done
8564      IFS=$lt_save_ifs
8565      ;;
8566    esac
8567else
8568  enable_shared=yes
8569fi
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581# Check whether --with-pic was given.
8582if test "${with_pic+set}" = set; then :
8583  withval=$with_pic; lt_p=${PACKAGE-default}
8584    case $withval in
8585    yes|no) pic_mode=$withval ;;
8586    *)
8587      pic_mode=default
8588      # Look at the argument we got.  We use all the common list separators.
8589      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8590      for lt_pkg in $withval; do
8591	IFS=$lt_save_ifs
8592	if test "X$lt_pkg" = "X$lt_p"; then
8593	  pic_mode=yes
8594	fi
8595      done
8596      IFS=$lt_save_ifs
8597      ;;
8598    esac
8599else
8600  pic_mode=default
8601fi
8602
8603
8604
8605
8606
8607
8608
8609
8610  # Check whether --enable-fast-install was given.
8611if test "${enable_fast_install+set}" = set; then :
8612  enableval=$enable_fast_install; p=${PACKAGE-default}
8613    case $enableval in
8614    yes) enable_fast_install=yes ;;
8615    no) enable_fast_install=no ;;
8616    *)
8617      enable_fast_install=no
8618      # Look at the argument we got.  We use all the common list separators.
8619      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8620      for pkg in $enableval; do
8621	IFS=$lt_save_ifs
8622	if test "X$pkg" = "X$p"; then
8623	  enable_fast_install=yes
8624	fi
8625      done
8626      IFS=$lt_save_ifs
8627      ;;
8628    esac
8629else
8630  enable_fast_install=yes
8631fi
8632
8633
8634
8635
8636
8637
8638
8639
8640  shared_archive_member_spec=
8641case $host,$enable_shared in
8642power*-*-aix[5-9]*,yes)
8643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8644$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8645
8646# Check whether --with-aix-soname was given.
8647if test "${with_aix_soname+set}" = set; then :
8648  withval=$with_aix_soname; case $withval in
8649    aix|svr4|both)
8650      ;;
8651    *)
8652      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8653      ;;
8654    esac
8655    lt_cv_with_aix_soname=$with_aix_soname
8656else
8657  if ${lt_cv_with_aix_soname+:} false; then :
8658  $as_echo_n "(cached) " >&6
8659else
8660  lt_cv_with_aix_soname=aix
8661fi
8662
8663    with_aix_soname=$lt_cv_with_aix_soname
8664fi
8665
8666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8667$as_echo "$with_aix_soname" >&6; }
8668  if test aix != "$with_aix_soname"; then
8669    # For the AIX way of multilib, we name the shared archive member
8670    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8671    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8672    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8673    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8674    if test 64 = "${OBJECT_MODE-32}"; then
8675      shared_archive_member_spec=shr_64
8676    else
8677      shared_archive_member_spec=shr
8678    fi
8679  fi
8680  ;;
8681*)
8682  with_aix_soname=aix
8683  ;;
8684esac
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695# This can be used to rebuild libtool when needed
8696LIBTOOL_DEPS=$ltmain
8697
8698# Always use our own libtool.
8699LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730test -z "$LN_S" && LN_S="ln -s"
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745if test -n "${ZSH_VERSION+set}"; then
8746   setopt NO_GLOB_SUBST
8747fi
8748
8749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8750$as_echo_n "checking for objdir... " >&6; }
8751if ${lt_cv_objdir+:} false; then :
8752  $as_echo_n "(cached) " >&6
8753else
8754  rm -f .libs 2>/dev/null
8755mkdir .libs 2>/dev/null
8756if test -d .libs; then
8757  lt_cv_objdir=.libs
8758else
8759  # MS-DOS does not allow filenames that begin with a dot.
8760  lt_cv_objdir=_libs
8761fi
8762rmdir .libs 2>/dev/null
8763fi
8764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8765$as_echo "$lt_cv_objdir" >&6; }
8766objdir=$lt_cv_objdir
8767
8768
8769
8770
8771
8772cat >>confdefs.h <<_ACEOF
8773#define LT_OBJDIR "$lt_cv_objdir/"
8774_ACEOF
8775
8776
8777
8778
8779case $host_os in
8780aix3*)
8781  # AIX sometimes has problems with the GCC collect2 program.  For some
8782  # reason, if we set the COLLECT_NAMES environment variable, the problems
8783  # vanish in a puff of smoke.
8784  if test set != "${COLLECT_NAMES+set}"; then
8785    COLLECT_NAMES=
8786    export COLLECT_NAMES
8787  fi
8788  ;;
8789esac
8790
8791# Global variables:
8792ofile=libtool
8793can_build_shared=yes
8794
8795# All known linkers require a '.a' archive for static linking (except MSVC,
8796# which needs '.lib').
8797libext=a
8798
8799with_gnu_ld=$lt_cv_prog_gnu_ld
8800
8801old_CC=$CC
8802old_CFLAGS=$CFLAGS
8803
8804# Set sane defaults for various variables
8805test -z "$CC" && CC=cc
8806test -z "$LTCC" && LTCC=$CC
8807test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8808test -z "$LD" && LD=ld
8809test -z "$ac_objext" && ac_objext=o
8810
8811func_cc_basename $compiler
8812cc_basename=$func_cc_basename_result
8813
8814
8815# Only perform the check for file, if the check method requires it
8816test -z "$MAGIC_CMD" && MAGIC_CMD=file
8817case $deplibs_check_method in
8818file_magic*)
8819  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8820    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8821$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8822if ${lt_cv_path_MAGIC_CMD+:} false; then :
8823  $as_echo_n "(cached) " >&6
8824else
8825  case $MAGIC_CMD in
8826[\\/*] |  ?:[\\/]*)
8827  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8828  ;;
8829*)
8830  lt_save_MAGIC_CMD=$MAGIC_CMD
8831  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8832  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8833  for ac_dir in $ac_dummy; do
8834    IFS=$lt_save_ifs
8835    test -z "$ac_dir" && ac_dir=.
8836    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8837      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8838      if test -n "$file_magic_test_file"; then
8839	case $deplibs_check_method in
8840	"file_magic "*)
8841	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8842	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8843	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8844	    $EGREP "$file_magic_regex" > /dev/null; then
8845	    :
8846	  else
8847	    cat <<_LT_EOF 1>&2
8848
8849*** Warning: the command libtool uses to detect shared libraries,
8850*** $file_magic_cmd, produces output that libtool cannot recognize.
8851*** The result is that libtool may fail to recognize shared libraries
8852*** as such.  This will affect the creation of libtool libraries that
8853*** depend on shared libraries, but programs linked with such libtool
8854*** libraries will work regardless of this problem.  Nevertheless, you
8855*** may want to report the problem to your system manager and/or to
8856*** bug-libtool@gnu.org
8857
8858_LT_EOF
8859	  fi ;;
8860	esac
8861      fi
8862      break
8863    fi
8864  done
8865  IFS=$lt_save_ifs
8866  MAGIC_CMD=$lt_save_MAGIC_CMD
8867  ;;
8868esac
8869fi
8870
8871MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8872if test -n "$MAGIC_CMD"; then
8873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8874$as_echo "$MAGIC_CMD" >&6; }
8875else
8876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8877$as_echo "no" >&6; }
8878fi
8879
8880
8881
8882
8883
8884if test -z "$lt_cv_path_MAGIC_CMD"; then
8885  if test -n "$ac_tool_prefix"; then
8886    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8887$as_echo_n "checking for file... " >&6; }
8888if ${lt_cv_path_MAGIC_CMD+:} false; then :
8889  $as_echo_n "(cached) " >&6
8890else
8891  case $MAGIC_CMD in
8892[\\/*] |  ?:[\\/]*)
8893  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8894  ;;
8895*)
8896  lt_save_MAGIC_CMD=$MAGIC_CMD
8897  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8898  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8899  for ac_dir in $ac_dummy; do
8900    IFS=$lt_save_ifs
8901    test -z "$ac_dir" && ac_dir=.
8902    if test -f "$ac_dir/file"; then
8903      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8904      if test -n "$file_magic_test_file"; then
8905	case $deplibs_check_method in
8906	"file_magic "*)
8907	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8908	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8909	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8910	    $EGREP "$file_magic_regex" > /dev/null; then
8911	    :
8912	  else
8913	    cat <<_LT_EOF 1>&2
8914
8915*** Warning: the command libtool uses to detect shared libraries,
8916*** $file_magic_cmd, produces output that libtool cannot recognize.
8917*** The result is that libtool may fail to recognize shared libraries
8918*** as such.  This will affect the creation of libtool libraries that
8919*** depend on shared libraries, but programs linked with such libtool
8920*** libraries will work regardless of this problem.  Nevertheless, you
8921*** may want to report the problem to your system manager and/or to
8922*** bug-libtool@gnu.org
8923
8924_LT_EOF
8925	  fi ;;
8926	esac
8927      fi
8928      break
8929    fi
8930  done
8931  IFS=$lt_save_ifs
8932  MAGIC_CMD=$lt_save_MAGIC_CMD
8933  ;;
8934esac
8935fi
8936
8937MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8938if test -n "$MAGIC_CMD"; then
8939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8940$as_echo "$MAGIC_CMD" >&6; }
8941else
8942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943$as_echo "no" >&6; }
8944fi
8945
8946
8947  else
8948    MAGIC_CMD=:
8949  fi
8950fi
8951
8952  fi
8953  ;;
8954esac
8955
8956# Use C for the default configuration in the libtool script
8957
8958lt_save_CC=$CC
8959ac_ext=c
8960ac_cpp='$CPP $CPPFLAGS'
8961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8963ac_compiler_gnu=$ac_cv_c_compiler_gnu
8964
8965
8966# Source file extension for C test sources.
8967ac_ext=c
8968
8969# Object file extension for compiled C test sources.
8970objext=o
8971objext=$objext
8972
8973# Code to be used in simple compile tests
8974lt_simple_compile_test_code="int some_variable = 0;"
8975
8976# Code to be used in simple link tests
8977lt_simple_link_test_code='int main(){return(0);}'
8978
8979
8980
8981
8982
8983
8984
8985# If no C compiler was specified, use CC.
8986LTCC=${LTCC-"$CC"}
8987
8988# If no C compiler flags were specified, use CFLAGS.
8989LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8990
8991# Allow CC to be a program name with arguments.
8992compiler=$CC
8993
8994# Save the default compiler, since it gets overwritten when the other
8995# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8996compiler_DEFAULT=$CC
8997
8998# save warnings/boilerplate of simple test code
8999ac_outfile=conftest.$ac_objext
9000echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9001eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9002_lt_compiler_boilerplate=`cat conftest.err`
9003$RM conftest*
9004
9005ac_outfile=conftest.$ac_objext
9006echo "$lt_simple_link_test_code" >conftest.$ac_ext
9007eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9008_lt_linker_boilerplate=`cat conftest.err`
9009$RM -r conftest*
9010
9011
9012if test -n "$compiler"; then
9013
9014lt_prog_compiler_no_builtin_flag=
9015
9016if test yes = "$GCC"; then
9017  case $cc_basename in
9018  nvcc*)
9019    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9020  *)
9021    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9022  esac
9023
9024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9025$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9026if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9027  $as_echo_n "(cached) " >&6
9028else
9029  lt_cv_prog_compiler_rtti_exceptions=no
9030   ac_outfile=conftest.$ac_objext
9031   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9032   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9033   # Insert the option either (1) after the last *FLAGS variable, or
9034   # (2) before a word containing "conftest.", or (3) at the end.
9035   # Note that $ac_compile itself does not contain backslashes and begins
9036   # with a dollar sign (not a hyphen), so the echo should work correctly.
9037   # The option is referenced via a variable to avoid confusing sed.
9038   lt_compile=`echo "$ac_compile" | $SED \
9039   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9040   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9041   -e 's:$: $lt_compiler_flag:'`
9042   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9043   (eval "$lt_compile" 2>conftest.err)
9044   ac_status=$?
9045   cat conftest.err >&5
9046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047   if (exit $ac_status) && test -s "$ac_outfile"; then
9048     # The compiler can only warn and ignore the option if not recognized
9049     # So say no if there are warnings other than the usual output.
9050     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9051     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9052     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9053       lt_cv_prog_compiler_rtti_exceptions=yes
9054     fi
9055   fi
9056   $RM conftest*
9057
9058fi
9059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9060$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9061
9062if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9063    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9064else
9065    :
9066fi
9067
9068fi
9069
9070
9071
9072
9073
9074
9075  lt_prog_compiler_wl=
9076lt_prog_compiler_pic=
9077lt_prog_compiler_static=
9078
9079
9080  if test yes = "$GCC"; then
9081    lt_prog_compiler_wl='-Wl,'
9082    lt_prog_compiler_static='-static'
9083
9084    case $host_os in
9085      aix*)
9086      # All AIX code is PIC.
9087      if test ia64 = "$host_cpu"; then
9088	# AIX 5 now supports IA64 processor
9089	lt_prog_compiler_static='-Bstatic'
9090      fi
9091      lt_prog_compiler_pic='-fPIC'
9092      ;;
9093
9094    amigaos*)
9095      case $host_cpu in
9096      powerpc)
9097            # see comment about AmigaOS4 .so support
9098            lt_prog_compiler_pic='-fPIC'
9099        ;;
9100      m68k)
9101            # FIXME: we need at least 68020 code to build shared libraries, but
9102            # adding the '-m68020' flag to GCC prevents building anything better,
9103            # like '-m68040'.
9104            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9105        ;;
9106      esac
9107      ;;
9108
9109    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9110      # PIC is the default for these OSes.
9111      ;;
9112
9113    mingw* | cygwin* | pw32* | os2* | cegcc*)
9114      # This hack is so that the source file can tell whether it is being
9115      # built for inclusion in a dll (and should export symbols for example).
9116      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9117      # (--disable-auto-import) libraries
9118      lt_prog_compiler_pic='-DDLL_EXPORT'
9119      case $host_os in
9120      os2*)
9121	lt_prog_compiler_static='$wl-static'
9122	;;
9123      esac
9124      ;;
9125
9126    darwin* | rhapsody*)
9127      # PIC is the default on this platform
9128      # Common symbols not allowed in MH_DYLIB files
9129      lt_prog_compiler_pic='-fno-common'
9130      ;;
9131
9132    haiku*)
9133      # PIC is the default for Haiku.
9134      # The "-static" flag exists, but is broken.
9135      lt_prog_compiler_static=
9136      ;;
9137
9138    hpux*)
9139      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9140      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9141      # sets the default TLS model and affects inlining.
9142      case $host_cpu in
9143      hppa*64*)
9144	# +Z the default
9145	;;
9146      *)
9147	lt_prog_compiler_pic='-fPIC'
9148	;;
9149      esac
9150      ;;
9151
9152    interix[3-9]*)
9153      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9154      # Instead, we relocate shared libraries at runtime.
9155      ;;
9156
9157    msdosdjgpp*)
9158      # Just because we use GCC doesn't mean we suddenly get shared libraries
9159      # on systems that don't support them.
9160      lt_prog_compiler_can_build_shared=no
9161      enable_shared=no
9162      ;;
9163
9164    *nto* | *qnx*)
9165      # QNX uses GNU C++, but need to define -shared option too, otherwise
9166      # it will coredump.
9167      lt_prog_compiler_pic='-fPIC -shared'
9168      ;;
9169
9170    sysv4*MP*)
9171      if test -d /usr/nec; then
9172	lt_prog_compiler_pic=-Kconform_pic
9173      fi
9174      ;;
9175
9176    *)
9177      lt_prog_compiler_pic='-fPIC'
9178      ;;
9179    esac
9180
9181    case $cc_basename in
9182    nvcc*) # Cuda Compiler Driver 2.2
9183      lt_prog_compiler_wl='-Xlinker '
9184      if test -n "$lt_prog_compiler_pic"; then
9185        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9186      fi
9187      ;;
9188    esac
9189  else
9190    # PORTME Check for flag to pass linker flags through the system compiler.
9191    case $host_os in
9192    aix*)
9193      lt_prog_compiler_wl='-Wl,'
9194      if test ia64 = "$host_cpu"; then
9195	# AIX 5 now supports IA64 processor
9196	lt_prog_compiler_static='-Bstatic'
9197      else
9198	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9199      fi
9200      ;;
9201
9202    darwin* | rhapsody*)
9203      # PIC is the default on this platform
9204      # Common symbols not allowed in MH_DYLIB files
9205      lt_prog_compiler_pic='-fno-common'
9206      case $cc_basename in
9207      nagfor*)
9208        # NAG Fortran compiler
9209        lt_prog_compiler_wl='-Wl,-Wl,,'
9210        lt_prog_compiler_pic='-PIC'
9211        lt_prog_compiler_static='-Bstatic'
9212        ;;
9213      esac
9214      ;;
9215
9216    mingw* | cygwin* | pw32* | os2* | cegcc*)
9217      # This hack is so that the source file can tell whether it is being
9218      # built for inclusion in a dll (and should export symbols for example).
9219      lt_prog_compiler_pic='-DDLL_EXPORT'
9220      case $host_os in
9221      os2*)
9222	lt_prog_compiler_static='$wl-static'
9223	;;
9224      esac
9225      ;;
9226
9227    hpux9* | hpux10* | hpux11*)
9228      lt_prog_compiler_wl='-Wl,'
9229      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9230      # not for PA HP-UX.
9231      case $host_cpu in
9232      hppa*64*|ia64*)
9233	# +Z the default
9234	;;
9235      *)
9236	lt_prog_compiler_pic='+Z'
9237	;;
9238      esac
9239      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9240      lt_prog_compiler_static='$wl-a ${wl}archive'
9241      ;;
9242
9243    irix5* | irix6* | nonstopux*)
9244      lt_prog_compiler_wl='-Wl,'
9245      # PIC (with -KPIC) is the default.
9246      lt_prog_compiler_static='-non_shared'
9247      ;;
9248
9249    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9250      case $cc_basename in
9251      # old Intel for x86_64, which still supported -KPIC.
9252      ecc*)
9253	lt_prog_compiler_wl='-Wl,'
9254	lt_prog_compiler_pic='-KPIC'
9255	lt_prog_compiler_static='-static'
9256        ;;
9257      # flang / f18. f95 an alias for gfortran or flang on Debian
9258      flang* | f18* | f95*)
9259	lt_prog_compiler_wl='-Wl,'
9260	lt_prog_compiler_pic='-fPIC'
9261	lt_prog_compiler_static='-static'
9262        ;;
9263      # icc used to be incompatible with GCC.
9264      # ICC 10 doesn't accept -KPIC any more.
9265      icc* | ifort*)
9266	lt_prog_compiler_wl='-Wl,'
9267	lt_prog_compiler_pic='-fPIC'
9268	lt_prog_compiler_static='-static'
9269        ;;
9270      # Lahey Fortran 8.1.
9271      lf95*)
9272	lt_prog_compiler_wl='-Wl,'
9273	lt_prog_compiler_pic='--shared'
9274	lt_prog_compiler_static='--static'
9275	;;
9276      nagfor*)
9277	# NAG Fortran compiler
9278	lt_prog_compiler_wl='-Wl,-Wl,,'
9279	lt_prog_compiler_pic='-PIC'
9280	lt_prog_compiler_static='-Bstatic'
9281	;;
9282      tcc*)
9283	# Fabrice Bellard et al's Tiny C Compiler
9284	lt_prog_compiler_wl='-Wl,'
9285	lt_prog_compiler_pic='-fPIC'
9286	lt_prog_compiler_static='-static'
9287	;;
9288      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9289        # Portland Group compilers (*not* the Pentium gcc compiler,
9290	# which looks to be a dead project)
9291	lt_prog_compiler_wl='-Wl,'
9292	lt_prog_compiler_pic='-fpic'
9293	lt_prog_compiler_static='-Bstatic'
9294        ;;
9295      ccc*)
9296        lt_prog_compiler_wl='-Wl,'
9297        # All Alpha code is PIC.
9298        lt_prog_compiler_static='-non_shared'
9299        ;;
9300      xl* | bgxl* | bgf* | mpixl*)
9301	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9302	lt_prog_compiler_wl='-Wl,'
9303	lt_prog_compiler_pic='-qpic'
9304	lt_prog_compiler_static='-qstaticlink'
9305	;;
9306      *)
9307	case `$CC -V 2>&1 | sed 5q` in
9308	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9309	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9310	  lt_prog_compiler_pic='-KPIC'
9311	  lt_prog_compiler_static='-Bstatic'
9312	  lt_prog_compiler_wl=''
9313	  ;;
9314	*Sun\ F* | *Sun*Fortran*)
9315	  lt_prog_compiler_pic='-KPIC'
9316	  lt_prog_compiler_static='-Bstatic'
9317	  lt_prog_compiler_wl='-Qoption ld '
9318	  ;;
9319	*Sun\ C*)
9320	  # Sun C 5.9
9321	  lt_prog_compiler_pic='-KPIC'
9322	  lt_prog_compiler_static='-Bstatic'
9323	  lt_prog_compiler_wl='-Wl,'
9324	  ;;
9325        *Intel*\ [CF]*Compiler*)
9326	  lt_prog_compiler_wl='-Wl,'
9327	  lt_prog_compiler_pic='-fPIC'
9328	  lt_prog_compiler_static='-static'
9329	  ;;
9330	*Portland\ Group*)
9331	  lt_prog_compiler_wl='-Wl,'
9332	  lt_prog_compiler_pic='-fpic'
9333	  lt_prog_compiler_static='-Bstatic'
9334	  ;;
9335	esac
9336	;;
9337      esac
9338      ;;
9339
9340    newsos6)
9341      lt_prog_compiler_pic='-KPIC'
9342      lt_prog_compiler_static='-Bstatic'
9343      ;;
9344
9345    *nto* | *qnx*)
9346      # QNX uses GNU C++, but need to define -shared option too, otherwise
9347      # it will coredump.
9348      lt_prog_compiler_pic='-fPIC -shared'
9349      ;;
9350
9351    osf3* | osf4* | osf5*)
9352      lt_prog_compiler_wl='-Wl,'
9353      # All OSF/1 code is PIC.
9354      lt_prog_compiler_static='-non_shared'
9355      ;;
9356
9357    rdos*)
9358      lt_prog_compiler_static='-non_shared'
9359      ;;
9360
9361    solaris*)
9362      lt_prog_compiler_pic='-KPIC'
9363      lt_prog_compiler_static='-Bstatic'
9364      case $cc_basename in
9365      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9366	lt_prog_compiler_wl='-Qoption ld ';;
9367      *)
9368	lt_prog_compiler_wl='-Wl,';;
9369      esac
9370      ;;
9371
9372    sunos4*)
9373      lt_prog_compiler_wl='-Qoption ld '
9374      lt_prog_compiler_pic='-PIC'
9375      lt_prog_compiler_static='-Bstatic'
9376      ;;
9377
9378    sysv4 | sysv4.2uw2* | sysv4.3*)
9379      lt_prog_compiler_wl='-Wl,'
9380      lt_prog_compiler_pic='-KPIC'
9381      lt_prog_compiler_static='-Bstatic'
9382      ;;
9383
9384    sysv4*MP*)
9385      if test -d /usr/nec; then
9386	lt_prog_compiler_pic='-Kconform_pic'
9387	lt_prog_compiler_static='-Bstatic'
9388      fi
9389      ;;
9390
9391    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9392      lt_prog_compiler_wl='-Wl,'
9393      lt_prog_compiler_pic='-KPIC'
9394      lt_prog_compiler_static='-Bstatic'
9395      ;;
9396
9397    unicos*)
9398      lt_prog_compiler_wl='-Wl,'
9399      lt_prog_compiler_can_build_shared=no
9400      ;;
9401
9402    uts4*)
9403      lt_prog_compiler_pic='-pic'
9404      lt_prog_compiler_static='-Bstatic'
9405      ;;
9406
9407    *)
9408      lt_prog_compiler_can_build_shared=no
9409      ;;
9410    esac
9411  fi
9412
9413case $host_os in
9414  # For platforms that do not support PIC, -DPIC is meaningless:
9415  *djgpp*)
9416    lt_prog_compiler_pic=
9417    ;;
9418  *)
9419    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9420    ;;
9421esac
9422
9423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9424$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9425if ${lt_cv_prog_compiler_pic+:} false; then :
9426  $as_echo_n "(cached) " >&6
9427else
9428  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9429fi
9430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9431$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9432lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9433
9434#
9435# Check to make sure the PIC flag actually works.
9436#
9437if test -n "$lt_prog_compiler_pic"; then
9438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9439$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9440if ${lt_cv_prog_compiler_pic_works+:} false; then :
9441  $as_echo_n "(cached) " >&6
9442else
9443  lt_cv_prog_compiler_pic_works=no
9444   ac_outfile=conftest.$ac_objext
9445   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9446   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9447   # Insert the option either (1) after the last *FLAGS variable, or
9448   # (2) before a word containing "conftest.", or (3) at the end.
9449   # Note that $ac_compile itself does not contain backslashes and begins
9450   # with a dollar sign (not a hyphen), so the echo should work correctly.
9451   # The option is referenced via a variable to avoid confusing sed.
9452   lt_compile=`echo "$ac_compile" | $SED \
9453   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9454   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9455   -e 's:$: $lt_compiler_flag:'`
9456   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9457   (eval "$lt_compile" 2>conftest.err)
9458   ac_status=$?
9459   cat conftest.err >&5
9460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461   if (exit $ac_status) && test -s "$ac_outfile"; then
9462     # The compiler can only warn and ignore the option if not recognized
9463     # So say no if there are warnings other than the usual output.
9464     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9465     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9466     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9467       lt_cv_prog_compiler_pic_works=yes
9468     fi
9469   fi
9470   $RM conftest*
9471
9472fi
9473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9474$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9475
9476if test yes = "$lt_cv_prog_compiler_pic_works"; then
9477    case $lt_prog_compiler_pic in
9478     "" | " "*) ;;
9479     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9480     esac
9481else
9482    lt_prog_compiler_pic=
9483     lt_prog_compiler_can_build_shared=no
9484fi
9485
9486fi
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498#
9499# Check to make sure the static flag actually works.
9500#
9501wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9503$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9504if ${lt_cv_prog_compiler_static_works+:} false; then :
9505  $as_echo_n "(cached) " >&6
9506else
9507  lt_cv_prog_compiler_static_works=no
9508   save_LDFLAGS=$LDFLAGS
9509   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9510   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9511   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9512     # The linker can only warn and ignore the option if not recognized
9513     # So say no if there are warnings
9514     if test -s conftest.err; then
9515       # Append any errors to the config.log.
9516       cat conftest.err 1>&5
9517       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9518       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9519       if diff conftest.exp conftest.er2 >/dev/null; then
9520         lt_cv_prog_compiler_static_works=yes
9521       fi
9522     else
9523       lt_cv_prog_compiler_static_works=yes
9524     fi
9525   fi
9526   $RM -r conftest*
9527   LDFLAGS=$save_LDFLAGS
9528
9529fi
9530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9531$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9532
9533if test yes = "$lt_cv_prog_compiler_static_works"; then
9534    :
9535else
9536    lt_prog_compiler_static=
9537fi
9538
9539
9540
9541
9542
9543
9544
9545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9546$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9547if ${lt_cv_prog_compiler_c_o+:} false; then :
9548  $as_echo_n "(cached) " >&6
9549else
9550  lt_cv_prog_compiler_c_o=no
9551   $RM -r conftest 2>/dev/null
9552   mkdir conftest
9553   cd conftest
9554   mkdir out
9555   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9556
9557   lt_compiler_flag="-o out/conftest2.$ac_objext"
9558   # Insert the option either (1) after the last *FLAGS variable, or
9559   # (2) before a word containing "conftest.", or (3) at the end.
9560   # Note that $ac_compile itself does not contain backslashes and begins
9561   # with a dollar sign (not a hyphen), so the echo should work correctly.
9562   lt_compile=`echo "$ac_compile" | $SED \
9563   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9564   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9565   -e 's:$: $lt_compiler_flag:'`
9566   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9567   (eval "$lt_compile" 2>out/conftest.err)
9568   ac_status=$?
9569   cat out/conftest.err >&5
9570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9572   then
9573     # The compiler can only warn and ignore the option if not recognized
9574     # So say no if there are warnings
9575     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9576     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9577     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9578       lt_cv_prog_compiler_c_o=yes
9579     fi
9580   fi
9581   chmod u+w . 2>&5
9582   $RM conftest*
9583   # SGI C++ compiler will create directory out/ii_files/ for
9584   # template instantiation
9585   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9586   $RM out/* && rmdir out
9587   cd ..
9588   $RM -r conftest
9589   $RM conftest*
9590
9591fi
9592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9593$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9594
9595
9596
9597
9598
9599
9600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9601$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9602if ${lt_cv_prog_compiler_c_o+:} false; then :
9603  $as_echo_n "(cached) " >&6
9604else
9605  lt_cv_prog_compiler_c_o=no
9606   $RM -r conftest 2>/dev/null
9607   mkdir conftest
9608   cd conftest
9609   mkdir out
9610   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9611
9612   lt_compiler_flag="-o out/conftest2.$ac_objext"
9613   # Insert the option either (1) after the last *FLAGS variable, or
9614   # (2) before a word containing "conftest.", or (3) at the end.
9615   # Note that $ac_compile itself does not contain backslashes and begins
9616   # with a dollar sign (not a hyphen), so the echo should work correctly.
9617   lt_compile=`echo "$ac_compile" | $SED \
9618   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9619   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9620   -e 's:$: $lt_compiler_flag:'`
9621   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9622   (eval "$lt_compile" 2>out/conftest.err)
9623   ac_status=$?
9624   cat out/conftest.err >&5
9625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9627   then
9628     # The compiler can only warn and ignore the option if not recognized
9629     # So say no if there are warnings
9630     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9631     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9632     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9633       lt_cv_prog_compiler_c_o=yes
9634     fi
9635   fi
9636   chmod u+w . 2>&5
9637   $RM conftest*
9638   # SGI C++ compiler will create directory out/ii_files/ for
9639   # template instantiation
9640   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9641   $RM out/* && rmdir out
9642   cd ..
9643   $RM -r conftest
9644   $RM conftest*
9645
9646fi
9647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9648$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9649
9650
9651
9652
9653hard_links=nottested
9654if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9655  # do not overwrite the value of need_locks provided by the user
9656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9657$as_echo_n "checking if we can lock with hard links... " >&6; }
9658  hard_links=yes
9659  $RM conftest*
9660  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9661  touch conftest.a
9662  ln conftest.a conftest.b 2>&5 || hard_links=no
9663  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9665$as_echo "$hard_links" >&6; }
9666  if test no = "$hard_links"; then
9667    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9668$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9669    need_locks=warn
9670  fi
9671else
9672  need_locks=no
9673fi
9674
9675
9676
9677
9678
9679
9680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9681$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9682
9683  runpath_var=
9684  allow_undefined_flag=
9685  always_export_symbols=no
9686  archive_cmds=
9687  archive_expsym_cmds=
9688  compiler_needs_object=no
9689  enable_shared_with_static_runtimes=no
9690  export_dynamic_flag_spec=
9691  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9692  hardcode_automatic=no
9693  hardcode_direct=no
9694  hardcode_direct_absolute=no
9695  hardcode_libdir_flag_spec=
9696  hardcode_libdir_separator=
9697  hardcode_minus_L=no
9698  hardcode_shlibpath_var=unsupported
9699  inherit_rpath=no
9700  link_all_deplibs=unknown
9701  module_cmds=
9702  module_expsym_cmds=
9703  old_archive_from_new_cmds=
9704  old_archive_from_expsyms_cmds=
9705  thread_safe_flag_spec=
9706  whole_archive_flag_spec=
9707  # include_expsyms should be a list of space-separated symbols to be *always*
9708  # included in the symbol list
9709  include_expsyms=
9710  # exclude_expsyms can be an extended regexp of symbols to exclude
9711  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9712  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9713  # as well as any symbol that contains 'd'.
9714  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9715  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9716  # platforms (ab)use it in PIC code, but their linkers get confused if
9717  # the symbol is explicitly referenced.  Since portable code cannot
9718  # rely on this symbol name, it's probably fine to never include it in
9719  # preloaded symbol tables.
9720  # Exclude shared library initialization/finalization symbols.
9721  extract_expsyms_cmds=
9722
9723  case $host_os in
9724  cygwin* | mingw* | pw32* | cegcc*)
9725    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9726    # When not using gcc, we currently assume that we are using
9727    # Microsoft Visual C++.
9728    if test yes != "$GCC"; then
9729      with_gnu_ld=no
9730    fi
9731    ;;
9732  interix*)
9733    # we just hope/assume this is gcc and not c89 (= MSVC++)
9734    with_gnu_ld=yes
9735    ;;
9736  openbsd* | bitrig*)
9737    with_gnu_ld=no
9738    ;;
9739  linux* | k*bsd*-gnu | gnu*)
9740    link_all_deplibs=no
9741    ;;
9742  esac
9743
9744  ld_shlibs=yes
9745
9746  # On some targets, GNU ld is compatible enough with the native linker
9747  # that we're better off using the native interface for both.
9748  lt_use_gnu_ld_interface=no
9749  if test yes = "$with_gnu_ld"; then
9750    case $host_os in
9751      aix*)
9752	# The AIX port of GNU ld has always aspired to compatibility
9753	# with the native linker.  However, as the warning in the GNU ld
9754	# block says, versions before 2.19.5* couldn't really create working
9755	# shared libraries, regardless of the interface used.
9756	case `$LD -v 2>&1` in
9757	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9758	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9759	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9760	  *)
9761	    lt_use_gnu_ld_interface=yes
9762	    ;;
9763	esac
9764	;;
9765      *)
9766	lt_use_gnu_ld_interface=yes
9767	;;
9768    esac
9769  fi
9770
9771  if test yes = "$lt_use_gnu_ld_interface"; then
9772    # If archive_cmds runs LD, not CC, wlarc should be empty
9773    wlarc='$wl'
9774
9775    # Set some defaults for GNU ld with shared library support. These
9776    # are reset later if shared libraries are not supported. Putting them
9777    # here allows them to be overridden if necessary.
9778    runpath_var=LD_RUN_PATH
9779    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9780    export_dynamic_flag_spec='$wl--export-dynamic'
9781    # ancient GNU ld didn't support --whole-archive et. al.
9782    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9783      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9784    else
9785      whole_archive_flag_spec=
9786    fi
9787    supports_anon_versioning=no
9788    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9789      *GNU\ gold*) supports_anon_versioning=yes ;;
9790      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9791      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9792      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9793      *\ 2.11.*) ;; # other 2.11 versions
9794      *) supports_anon_versioning=yes ;;
9795    esac
9796
9797    # See if GNU ld supports shared libraries.
9798    case $host_os in
9799    aix[3-9]*)
9800      # On AIX/PPC, the GNU linker is very broken
9801      if test ia64 != "$host_cpu"; then
9802	ld_shlibs=no
9803	cat <<_LT_EOF 1>&2
9804
9805*** Warning: the GNU linker, at least up to release 2.19, is reported
9806*** to be unable to reliably create shared libraries on AIX.
9807*** Therefore, libtool is disabling shared libraries support.  If you
9808*** really care for shared libraries, you may want to install binutils
9809*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9810*** You will then need to restart the configuration process.
9811
9812_LT_EOF
9813      fi
9814      ;;
9815
9816    amigaos*)
9817      case $host_cpu in
9818      powerpc)
9819            # see comment about AmigaOS4 .so support
9820            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9821            archive_expsym_cmds=''
9822        ;;
9823      m68k)
9824            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)'
9825            hardcode_libdir_flag_spec='-L$libdir'
9826            hardcode_minus_L=yes
9827        ;;
9828      esac
9829      ;;
9830
9831    beos*)
9832      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9833	allow_undefined_flag=unsupported
9834	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9835	# support --undefined.  This deserves some investigation.  FIXME
9836	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9837      else
9838	ld_shlibs=no
9839      fi
9840      ;;
9841
9842    cygwin* | mingw* | pw32* | cegcc*)
9843      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9844      # as there is no search path for DLLs.
9845      hardcode_libdir_flag_spec='-L$libdir'
9846      export_dynamic_flag_spec='$wl--export-all-symbols'
9847      allow_undefined_flag=unsupported
9848      always_export_symbols=no
9849      enable_shared_with_static_runtimes=yes
9850      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'
9851      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9852
9853      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9854        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9855	# If the export-symbols file already is a .def file, use it as
9856	# is; otherwise, prepend EXPORTS...
9857	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9858          cp $export_symbols $output_objdir/$soname.def;
9859        else
9860          echo EXPORTS > $output_objdir/$soname.def;
9861          cat $export_symbols >> $output_objdir/$soname.def;
9862        fi~
9863        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9864      else
9865	ld_shlibs=no
9866      fi
9867      ;;
9868
9869    haiku*)
9870      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9871      link_all_deplibs=yes
9872      ;;
9873
9874    os2*)
9875      hardcode_libdir_flag_spec='-L$libdir'
9876      hardcode_minus_L=yes
9877      allow_undefined_flag=unsupported
9878      shrext_cmds=.dll
9879      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9880	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9881	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9882	$ECHO EXPORTS >> $output_objdir/$libname.def~
9883	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9884	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9885	emximp -o $lib $output_objdir/$libname.def'
9886      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9887	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9888	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9889	$ECHO EXPORTS >> $output_objdir/$libname.def~
9890	prefix_cmds="$SED"~
9891	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9892	  prefix_cmds="$prefix_cmds -e 1d";
9893	fi~
9894	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9895	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9896	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9897	emximp -o $lib $output_objdir/$libname.def'
9898      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9899      enable_shared_with_static_runtimes=yes
9900      ;;
9901
9902    interix[3-9]*)
9903      hardcode_direct=no
9904      hardcode_shlibpath_var=no
9905      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9906      export_dynamic_flag_spec='$wl-E'
9907      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9908      # Instead, shared libraries are loaded at an image base (0x10000000 by
9909      # default) and relocated if they conflict, which is a slow very memory
9910      # consuming and fragmenting process.  To avoid this, we pick a random,
9911      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9912      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9913      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9914      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'
9915      ;;
9916
9917    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9918      tmp_diet=no
9919      if test linux-dietlibc = "$host_os"; then
9920	case $cc_basename in
9921	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9922	esac
9923      fi
9924      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9925	 && test no = "$tmp_diet"
9926      then
9927	tmp_addflag=' $pic_flag'
9928	tmp_sharedflag='-shared'
9929	case $cc_basename,$host_cpu in
9930        pgcc*)				# Portland Group C compiler
9931	  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'
9932	  tmp_addflag=' $pic_flag'
9933	  ;;
9934	pgf77* | pgf90* | pgf95* | pgfortran*)
9935					# Portland Group f77 and f90 compilers
9936	  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'
9937	  tmp_addflag=' $pic_flag -Mnomain' ;;
9938	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9939	  tmp_addflag=' -i_dynamic' ;;
9940	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9941	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9942	ifc* | ifort*)			# Intel Fortran compiler
9943	  tmp_addflag=' -nofor_main' ;;
9944	lf95*)				# Lahey Fortran 8.1
9945	  whole_archive_flag_spec=
9946	  tmp_sharedflag='--shared' ;;
9947        nagfor*)                        # NAGFOR 5.3
9948          tmp_sharedflag='-Wl,-shared' ;;
9949	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9950	  tmp_sharedflag='-qmkshrobj'
9951	  tmp_addflag= ;;
9952	nvcc*)	# Cuda Compiler Driver 2.2
9953	  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'
9954	  compiler_needs_object=yes
9955	  ;;
9956	esac
9957	case `$CC -V 2>&1 | sed 5q` in
9958	*Sun\ C*)			# Sun C 5.9
9959	  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'
9960	  compiler_needs_object=yes
9961	  tmp_sharedflag='-G' ;;
9962	*Sun\ F*)			# Sun Fortran 8.3
9963	  tmp_sharedflag='-G' ;;
9964	esac
9965	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9966
9967        if test yes = "$supports_anon_versioning"; then
9968          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9969            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9970            echo "local: *; };" >> $output_objdir/$libname.ver~
9971            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9972        fi
9973
9974	case $cc_basename in
9975	tcc*)
9976	  export_dynamic_flag_spec='-rdynamic'
9977	  ;;
9978	xlf* | bgf* | bgxlf* | mpixlf*)
9979	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9980	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9981	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9982	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9983	  if test yes = "$supports_anon_versioning"; then
9984	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9985              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9986              echo "local: *; };" >> $output_objdir/$libname.ver~
9987              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9988	  fi
9989	  ;;
9990	esac
9991      else
9992        ld_shlibs=no
9993      fi
9994      ;;
9995
9996    netbsd* | netbsdelf*-gnu)
9997      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9998	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9999	wlarc=
10000      else
10001	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10002	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10003      fi
10004      ;;
10005
10006    solaris*)
10007      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10008	ld_shlibs=no
10009	cat <<_LT_EOF 1>&2
10010
10011*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10012*** create shared libraries on Solaris systems.  Therefore, libtool
10013*** is disabling shared libraries support.  We urge you to upgrade GNU
10014*** binutils to release 2.9.1 or newer.  Another option is to modify
10015*** your PATH or compiler configuration so that the native linker is
10016*** used, and then restart.
10017
10018_LT_EOF
10019      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10020	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10021	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10022      else
10023	ld_shlibs=no
10024      fi
10025      ;;
10026
10027    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10028      case `$LD -v 2>&1` in
10029        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10030	ld_shlibs=no
10031	cat <<_LT_EOF 1>&2
10032
10033*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10034*** reliably create shared libraries on SCO systems.  Therefore, libtool
10035*** is disabling shared libraries support.  We urge you to upgrade GNU
10036*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10037*** your PATH or compiler configuration so that the native linker is
10038*** used, and then restart.
10039
10040_LT_EOF
10041	;;
10042	*)
10043	  # For security reasons, it is highly recommended that you always
10044	  # use absolute paths for naming shared libraries, and exclude the
10045	  # DT_RUNPATH tag from executables and libraries.  But doing so
10046	  # requires that you compile everything twice, which is a pain.
10047	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10048	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10049	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10050	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10051	  else
10052	    ld_shlibs=no
10053	  fi
10054	;;
10055      esac
10056      ;;
10057
10058    sunos4*)
10059      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10060      wlarc=
10061      hardcode_direct=yes
10062      hardcode_shlibpath_var=no
10063      ;;
10064
10065    *)
10066      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10067	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10068	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10069      else
10070	ld_shlibs=no
10071      fi
10072      ;;
10073    esac
10074
10075    if test no = "$ld_shlibs"; then
10076      runpath_var=
10077      hardcode_libdir_flag_spec=
10078      export_dynamic_flag_spec=
10079      whole_archive_flag_spec=
10080    fi
10081  else
10082    # PORTME fill in a description of your system's linker (not GNU ld)
10083    case $host_os in
10084    aix3*)
10085      allow_undefined_flag=unsupported
10086      always_export_symbols=yes
10087      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'
10088      # Note: this linker hardcodes the directories in LIBPATH if there
10089      # are no directories specified by -L.
10090      hardcode_minus_L=yes
10091      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10092	# Neither direct hardcoding nor static linking is supported with a
10093	# broken collect2.
10094	hardcode_direct=unsupported
10095      fi
10096      ;;
10097
10098    aix[4-9]*)
10099      if test ia64 = "$host_cpu"; then
10100	# On IA64, the linker does run time linking by default, so we don't
10101	# have to do anything special.
10102	aix_use_runtimelinking=no
10103	exp_sym_flag='-Bexport'
10104	no_entry_flag=
10105      else
10106	# If we're using GNU nm, then we don't want the "-C" option.
10107	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10108	# Without the "-l" option, or with the "-B" option, AIX nm treats
10109	# weak defined symbols like other global defined symbols, whereas
10110	# GNU nm marks them as "W".
10111	# While the 'weak' keyword is ignored in the Export File, we need
10112	# it in the Import File for the 'aix-soname' feature, so we have
10113	# to replace the "-B" option with "-P" for AIX nm.
10114	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10115	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10116	else
10117	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10118	fi
10119	aix_use_runtimelinking=no
10120
10121	# Test if we are trying to use run time linking or normal
10122	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10123	# have runtime linking enabled, and use it for executables.
10124	# For shared libraries, we enable/disable runtime linking
10125	# depending on the kind of the shared library created -
10126	# when "with_aix_soname,aix_use_runtimelinking" is:
10127	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10128	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10129	#            lib.a           static archive
10130	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10131	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10132	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10133	#            lib.a(lib.so.V) shared, rtl:no
10134	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10135	#            lib.a           static archive
10136	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10137	  for ld_flag in $LDFLAGS; do
10138	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10139	    aix_use_runtimelinking=yes
10140	    break
10141	  fi
10142	  done
10143	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10144	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10145	    # so we don't have lib.a shared libs to link our executables.
10146	    # We have to force runtime linking in this case.
10147	    aix_use_runtimelinking=yes
10148	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10149	  fi
10150	  ;;
10151	esac
10152
10153	exp_sym_flag='-bexport'
10154	no_entry_flag='-bnoentry'
10155      fi
10156
10157      # When large executables or shared objects are built, AIX ld can
10158      # have problems creating the table of contents.  If linking a library
10159      # or program results in "error TOC overflow" add -mminimal-toc to
10160      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10161      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10162
10163      archive_cmds=''
10164      hardcode_direct=yes
10165      hardcode_direct_absolute=yes
10166      hardcode_libdir_separator=':'
10167      link_all_deplibs=yes
10168      file_list_spec='$wl-f,'
10169      case $with_aix_soname,$aix_use_runtimelinking in
10170      aix,*) ;; # traditional, no import file
10171      svr4,* | *,yes) # use import file
10172	# The Import File defines what to hardcode.
10173	hardcode_direct=no
10174	hardcode_direct_absolute=no
10175	;;
10176      esac
10177
10178      if test yes = "$GCC"; then
10179	case $host_os in aix4.[012]|aix4.[012].*)
10180	# We only want to do this on AIX 4.2 and lower, the check
10181	# below for broken collect2 doesn't work under 4.3+
10182	  collect2name=`$CC -print-prog-name=collect2`
10183	  if test -f "$collect2name" &&
10184	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10185	  then
10186	  # We have reworked collect2
10187	  :
10188	  else
10189	  # We have old collect2
10190	  hardcode_direct=unsupported
10191	  # It fails to find uninstalled libraries when the uninstalled
10192	  # path is not listed in the libpath.  Setting hardcode_minus_L
10193	  # to unsupported forces relinking
10194	  hardcode_minus_L=yes
10195	  hardcode_libdir_flag_spec='-L$libdir'
10196	  hardcode_libdir_separator=
10197	  fi
10198	  ;;
10199	esac
10200	shared_flag='-shared'
10201	if test yes = "$aix_use_runtimelinking"; then
10202	  shared_flag="$shared_flag "'$wl-G'
10203	fi
10204	# Need to ensure runtime linking is disabled for the traditional
10205	# shared library, or the linker may eventually find shared libraries
10206	# /with/ Import File - we do not want to mix them.
10207	shared_flag_aix='-shared'
10208	shared_flag_svr4='-shared $wl-G'
10209      else
10210	# not using gcc
10211	if test ia64 = "$host_cpu"; then
10212	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10213	# chokes on -Wl,-G. The following line is correct:
10214	  shared_flag='-G'
10215	else
10216	  if test yes = "$aix_use_runtimelinking"; then
10217	    shared_flag='$wl-G'
10218	  else
10219	    shared_flag='$wl-bM:SRE'
10220	  fi
10221	  shared_flag_aix='$wl-bM:SRE'
10222	  shared_flag_svr4='$wl-G'
10223	fi
10224      fi
10225
10226      export_dynamic_flag_spec='$wl-bexpall'
10227      # It seems that -bexpall does not export symbols beginning with
10228      # underscore (_), so it is better to generate a list of symbols to export.
10229      always_export_symbols=yes
10230      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10231	# Warning - without using the other runtime loading flags (-brtl),
10232	# -berok will link without error, but may produce a broken library.
10233	allow_undefined_flag='-berok'
10234        # Determine the default libpath from the value encoded in an
10235        # empty executable.
10236        if test set = "${lt_cv_aix_libpath+set}"; then
10237  aix_libpath=$lt_cv_aix_libpath
10238else
10239  if ${lt_cv_aix_libpath_+:} false; then :
10240  $as_echo_n "(cached) " >&6
10241else
10242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243/* end confdefs.h.  */
10244
10245int
10246main ()
10247{
10248
10249  ;
10250  return 0;
10251}
10252_ACEOF
10253if ac_fn_c_try_link "$LINENO"; then :
10254
10255  lt_aix_libpath_sed='
10256      /Import File Strings/,/^$/ {
10257	  /^0/ {
10258	      s/^0  *\([^ ]*\) *$/\1/
10259	      p
10260	  }
10261      }'
10262  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10263  # Check for a 64-bit object if we didn't find anything.
10264  if test -z "$lt_cv_aix_libpath_"; then
10265    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10266  fi
10267fi
10268rm -f core conftest.err conftest.$ac_objext \
10269    conftest$ac_exeext conftest.$ac_ext
10270  if test -z "$lt_cv_aix_libpath_"; then
10271    lt_cv_aix_libpath_=/usr/lib:/lib
10272  fi
10273
10274fi
10275
10276  aix_libpath=$lt_cv_aix_libpath_
10277fi
10278
10279        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10280        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10281      else
10282	if test ia64 = "$host_cpu"; then
10283	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10284	  allow_undefined_flag="-z nodefs"
10285	  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"
10286	else
10287	 # Determine the default libpath from the value encoded in an
10288	 # empty executable.
10289	 if test set = "${lt_cv_aix_libpath+set}"; then
10290  aix_libpath=$lt_cv_aix_libpath
10291else
10292  if ${lt_cv_aix_libpath_+:} false; then :
10293  $as_echo_n "(cached) " >&6
10294else
10295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296/* end confdefs.h.  */
10297
10298int
10299main ()
10300{
10301
10302  ;
10303  return 0;
10304}
10305_ACEOF
10306if ac_fn_c_try_link "$LINENO"; then :
10307
10308  lt_aix_libpath_sed='
10309      /Import File Strings/,/^$/ {
10310	  /^0/ {
10311	      s/^0  *\([^ ]*\) *$/\1/
10312	      p
10313	  }
10314      }'
10315  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10316  # Check for a 64-bit object if we didn't find anything.
10317  if test -z "$lt_cv_aix_libpath_"; then
10318    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10319  fi
10320fi
10321rm -f core conftest.err conftest.$ac_objext \
10322    conftest$ac_exeext conftest.$ac_ext
10323  if test -z "$lt_cv_aix_libpath_"; then
10324    lt_cv_aix_libpath_=/usr/lib:/lib
10325  fi
10326
10327fi
10328
10329  aix_libpath=$lt_cv_aix_libpath_
10330fi
10331
10332	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10333	  # Warning - without using the other run time loading flags,
10334	  # -berok will link without error, but may produce a broken library.
10335	  no_undefined_flag=' $wl-bernotok'
10336	  allow_undefined_flag=' $wl-berok'
10337	  if test yes = "$with_gnu_ld"; then
10338	    # We only use this code for GNU lds that support --whole-archive.
10339	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10340	  else
10341	    # Exported symbols can be pulled into shared objects from archives
10342	    whole_archive_flag_spec='$convenience'
10343	  fi
10344	  archive_cmds_need_lc=yes
10345	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10346	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10347	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10348	  if test svr4 != "$with_aix_soname"; then
10349	    # This is similar to how AIX traditionally builds its shared libraries.
10350	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10351	  fi
10352	  if test aix != "$with_aix_soname"; then
10353	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10354	  else
10355	    # used by -dlpreopen to get the symbols
10356	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10357	  fi
10358	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10359	fi
10360      fi
10361      ;;
10362
10363    amigaos*)
10364      case $host_cpu in
10365      powerpc)
10366            # see comment about AmigaOS4 .so support
10367            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10368            archive_expsym_cmds=''
10369        ;;
10370      m68k)
10371            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)'
10372            hardcode_libdir_flag_spec='-L$libdir'
10373            hardcode_minus_L=yes
10374        ;;
10375      esac
10376      ;;
10377
10378    bsdi[45]*)
10379      export_dynamic_flag_spec=-rdynamic
10380      ;;
10381
10382    cygwin* | mingw* | pw32* | cegcc*)
10383      # When not using gcc, we currently assume that we are using
10384      # Microsoft Visual C++.
10385      # hardcode_libdir_flag_spec is actually meaningless, as there is
10386      # no search path for DLLs.
10387      case $cc_basename in
10388      cl*)
10389	# Native MSVC
10390	hardcode_libdir_flag_spec=' '
10391	allow_undefined_flag=unsupported
10392	always_export_symbols=yes
10393	file_list_spec='@'
10394	# Tell ltmain to make .lib files, not .a files.
10395	libext=lib
10396	# Tell ltmain to make .dll files, not .so files.
10397	shrext_cmds=.dll
10398	# FIXME: Setting linknames here is a bad hack.
10399	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10400	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10401            cp "$export_symbols" "$output_objdir/$soname.def";
10402            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10403          else
10404            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10405          fi~
10406          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10407          linknames='
10408	# The linker will not automatically build a static lib if we build a DLL.
10409	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10410	enable_shared_with_static_runtimes=yes
10411	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10412	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10413	# Don't use ranlib
10414	old_postinstall_cmds='chmod 644 $oldlib'
10415	postlink_cmds='lt_outputfile="@OUTPUT@"~
10416          lt_tool_outputfile="@TOOL_OUTPUT@"~
10417          case $lt_outputfile in
10418            *.exe|*.EXE) ;;
10419            *)
10420              lt_outputfile=$lt_outputfile.exe
10421              lt_tool_outputfile=$lt_tool_outputfile.exe
10422              ;;
10423          esac~
10424          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10425            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10426            $RM "$lt_outputfile.manifest";
10427          fi'
10428	;;
10429      *)
10430	# Assume MSVC wrapper
10431	hardcode_libdir_flag_spec=' '
10432	allow_undefined_flag=unsupported
10433	# Tell ltmain to make .lib files, not .a files.
10434	libext=lib
10435	# Tell ltmain to make .dll files, not .so files.
10436	shrext_cmds=.dll
10437	# FIXME: Setting linknames here is a bad hack.
10438	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10439	# The linker will automatically build a .lib file if we build a DLL.
10440	old_archive_from_new_cmds='true'
10441	# FIXME: Should let the user specify the lib program.
10442	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10443	enable_shared_with_static_runtimes=yes
10444	;;
10445      esac
10446      ;;
10447
10448    darwin* | rhapsody*)
10449
10450
10451  archive_cmds_need_lc=no
10452  hardcode_direct=no
10453  hardcode_automatic=yes
10454  hardcode_shlibpath_var=unsupported
10455  if test yes = "$lt_cv_ld_force_load"; then
10456    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\"`'
10457
10458  else
10459    whole_archive_flag_spec=''
10460  fi
10461  link_all_deplibs=yes
10462  allow_undefined_flag=$_lt_dar_allow_undefined
10463  case $cc_basename in
10464     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10465     *) _lt_dar_can_shared=$GCC ;;
10466  esac
10467  if test yes = "$_lt_dar_can_shared"; then
10468    output_verbose_link_cmd=func_echo_all
10469    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10470    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10471    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"
10472    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"
10473
10474  else
10475  ld_shlibs=no
10476  fi
10477
10478      ;;
10479
10480    dgux*)
10481      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10482      hardcode_libdir_flag_spec='-L$libdir'
10483      hardcode_shlibpath_var=no
10484      ;;
10485
10486    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10487    # support.  Future versions do this automatically, but an explicit c++rt0.o
10488    # does not break anything, and helps significantly (at the cost of a little
10489    # extra space).
10490    freebsd2.2*)
10491      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10492      hardcode_libdir_flag_spec='-R$libdir'
10493      hardcode_direct=yes
10494      hardcode_shlibpath_var=no
10495      ;;
10496
10497    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10498    freebsd2.*)
10499      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10500      hardcode_direct=yes
10501      hardcode_minus_L=yes
10502      hardcode_shlibpath_var=no
10503      ;;
10504
10505    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10506    freebsd* | dragonfly*)
10507      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10508      hardcode_libdir_flag_spec='-R$libdir'
10509      hardcode_direct=yes
10510      hardcode_shlibpath_var=no
10511      ;;
10512
10513    hpux9*)
10514      if test yes = "$GCC"; then
10515	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10516      else
10517	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10518      fi
10519      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10520      hardcode_libdir_separator=:
10521      hardcode_direct=yes
10522
10523      # hardcode_minus_L: Not really in the search PATH,
10524      # but as the default location of the library.
10525      hardcode_minus_L=yes
10526      export_dynamic_flag_spec='$wl-E'
10527      ;;
10528
10529    hpux10*)
10530      if test yes,no = "$GCC,$with_gnu_ld"; then
10531	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10532      else
10533	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10534      fi
10535      if test no = "$with_gnu_ld"; then
10536	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10537	hardcode_libdir_separator=:
10538	hardcode_direct=yes
10539	hardcode_direct_absolute=yes
10540	export_dynamic_flag_spec='$wl-E'
10541	# hardcode_minus_L: Not really in the search PATH,
10542	# but as the default location of the library.
10543	hardcode_minus_L=yes
10544      fi
10545      ;;
10546
10547    hpux11*)
10548      if test yes,no = "$GCC,$with_gnu_ld"; then
10549	case $host_cpu in
10550	hppa*64*)
10551	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10552	  ;;
10553	ia64*)
10554	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10555	  ;;
10556	*)
10557	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10558	  ;;
10559	esac
10560      else
10561	case $host_cpu in
10562	hppa*64*)
10563	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10564	  ;;
10565	ia64*)
10566	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10567	  ;;
10568	*)
10569
10570	  # Older versions of the 11.00 compiler do not understand -b yet
10571	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10572	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10573$as_echo_n "checking if $CC understands -b... " >&6; }
10574if ${lt_cv_prog_compiler__b+:} false; then :
10575  $as_echo_n "(cached) " >&6
10576else
10577  lt_cv_prog_compiler__b=no
10578   save_LDFLAGS=$LDFLAGS
10579   LDFLAGS="$LDFLAGS -b"
10580   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10581   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10582     # The linker can only warn and ignore the option if not recognized
10583     # So say no if there are warnings
10584     if test -s conftest.err; then
10585       # Append any errors to the config.log.
10586       cat conftest.err 1>&5
10587       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10588       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10589       if diff conftest.exp conftest.er2 >/dev/null; then
10590         lt_cv_prog_compiler__b=yes
10591       fi
10592     else
10593       lt_cv_prog_compiler__b=yes
10594     fi
10595   fi
10596   $RM -r conftest*
10597   LDFLAGS=$save_LDFLAGS
10598
10599fi
10600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10601$as_echo "$lt_cv_prog_compiler__b" >&6; }
10602
10603if test yes = "$lt_cv_prog_compiler__b"; then
10604    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10605else
10606    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10607fi
10608
10609	  ;;
10610	esac
10611      fi
10612      if test no = "$with_gnu_ld"; then
10613	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10614	hardcode_libdir_separator=:
10615
10616	case $host_cpu in
10617	hppa*64*|ia64*)
10618	  hardcode_direct=no
10619	  hardcode_shlibpath_var=no
10620	  ;;
10621	*)
10622	  hardcode_direct=yes
10623	  hardcode_direct_absolute=yes
10624	  export_dynamic_flag_spec='$wl-E'
10625
10626	  # hardcode_minus_L: Not really in the search PATH,
10627	  # but as the default location of the library.
10628	  hardcode_minus_L=yes
10629	  ;;
10630	esac
10631      fi
10632      ;;
10633
10634    irix5* | irix6* | nonstopux*)
10635      if test yes = "$GCC"; then
10636	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'
10637	# Try to use the -exported_symbol ld option, if it does not
10638	# work, assume that -exports_file does not work either and
10639	# implicitly export all symbols.
10640	# This should be the same for all languages, so no per-tag cache variable.
10641	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10642$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10643if ${lt_cv_irix_exported_symbol+:} false; then :
10644  $as_echo_n "(cached) " >&6
10645else
10646  save_LDFLAGS=$LDFLAGS
10647	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10648	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649/* end confdefs.h.  */
10650int foo (void) { return 0; }
10651_ACEOF
10652if ac_fn_c_try_link "$LINENO"; then :
10653  lt_cv_irix_exported_symbol=yes
10654else
10655  lt_cv_irix_exported_symbol=no
10656fi
10657rm -f core conftest.err conftest.$ac_objext \
10658    conftest$ac_exeext conftest.$ac_ext
10659           LDFLAGS=$save_LDFLAGS
10660fi
10661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10662$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10663	if test yes = "$lt_cv_irix_exported_symbol"; then
10664          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'
10665	fi
10666	link_all_deplibs=no
10667      else
10668	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'
10669	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'
10670      fi
10671      archive_cmds_need_lc='no'
10672      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10673      hardcode_libdir_separator=:
10674      inherit_rpath=yes
10675      link_all_deplibs=yes
10676      ;;
10677
10678    linux*)
10679      case $cc_basename in
10680      tcc*)
10681	# Fabrice Bellard et al's Tiny C Compiler
10682	ld_shlibs=yes
10683	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10684	;;
10685      esac
10686      ;;
10687
10688    netbsd* | netbsdelf*-gnu)
10689      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10690	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10691      else
10692	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10693      fi
10694      hardcode_libdir_flag_spec='-R$libdir'
10695      hardcode_direct=yes
10696      hardcode_shlibpath_var=no
10697      ;;
10698
10699    newsos6)
10700      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10701      hardcode_direct=yes
10702      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10703      hardcode_libdir_separator=:
10704      hardcode_shlibpath_var=no
10705      ;;
10706
10707    *nto* | *qnx*)
10708      ;;
10709
10710    openbsd* | bitrig*)
10711      if test -f /usr/libexec/ld.so; then
10712	hardcode_direct=yes
10713	hardcode_shlibpath_var=no
10714	hardcode_direct_absolute=yes
10715	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10716	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10717	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10718	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10719	  export_dynamic_flag_spec='$wl-E'
10720	else
10721	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10722	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10723	fi
10724      else
10725	ld_shlibs=no
10726      fi
10727      ;;
10728
10729    os2*)
10730      hardcode_libdir_flag_spec='-L$libdir'
10731      hardcode_minus_L=yes
10732      allow_undefined_flag=unsupported
10733      shrext_cmds=.dll
10734      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10735	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10736	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10737	$ECHO EXPORTS >> $output_objdir/$libname.def~
10738	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10739	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10740	emximp -o $lib $output_objdir/$libname.def'
10741      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10742	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10743	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10744	$ECHO EXPORTS >> $output_objdir/$libname.def~
10745	prefix_cmds="$SED"~
10746	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10747	  prefix_cmds="$prefix_cmds -e 1d";
10748	fi~
10749	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10750	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10751	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10752	emximp -o $lib $output_objdir/$libname.def'
10753      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10754      enable_shared_with_static_runtimes=yes
10755      ;;
10756
10757    osf3*)
10758      if test yes = "$GCC"; then
10759	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10760	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'
10761      else
10762	allow_undefined_flag=' -expect_unresolved \*'
10763	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'
10764      fi
10765      archive_cmds_need_lc='no'
10766      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10767      hardcode_libdir_separator=:
10768      ;;
10769
10770    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10771      if test yes = "$GCC"; then
10772	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10773	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'
10774	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10775      else
10776	allow_undefined_flag=' -expect_unresolved \*'
10777	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'
10778	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~
10779          $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'
10780
10781	# Both c and cxx compiler support -rpath directly
10782	hardcode_libdir_flag_spec='-rpath $libdir'
10783      fi
10784      archive_cmds_need_lc='no'
10785      hardcode_libdir_separator=:
10786      ;;
10787
10788    solaris*)
10789      no_undefined_flag=' -z defs'
10790      if test yes = "$GCC"; then
10791	wlarc='$wl'
10792	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10793	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10794          $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'
10795      else
10796	case `$CC -V 2>&1` in
10797	*"Compilers 5.0"*)
10798	  wlarc=''
10799	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10800	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10801            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10802	  ;;
10803	*)
10804	  wlarc='$wl'
10805	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10806	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10807            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10808	  ;;
10809	esac
10810      fi
10811      hardcode_libdir_flag_spec='-R$libdir'
10812      hardcode_shlibpath_var=no
10813      case $host_os in
10814      solaris2.[0-5] | solaris2.[0-5].*) ;;
10815      *)
10816	# The compiler driver will combine and reorder linker options,
10817	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10818	# but is careful enough not to reorder.
10819	# Supported since Solaris 2.6 (maybe 2.5.1?)
10820	if test yes = "$GCC"; then
10821	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10822	else
10823	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10824	fi
10825	;;
10826      esac
10827      link_all_deplibs=yes
10828      ;;
10829
10830    sunos4*)
10831      if test sequent = "$host_vendor"; then
10832	# Use $CC to link under sequent, because it throws in some extra .o
10833	# files that make .init and .fini sections work.
10834	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10835      else
10836	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10837      fi
10838      hardcode_libdir_flag_spec='-L$libdir'
10839      hardcode_direct=yes
10840      hardcode_minus_L=yes
10841      hardcode_shlibpath_var=no
10842      ;;
10843
10844    sysv4)
10845      case $host_vendor in
10846	sni)
10847	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848	  hardcode_direct=yes # is this really true???
10849	;;
10850	siemens)
10851	  ## LD is ld it makes a PLAMLIB
10852	  ## CC just makes a GrossModule.
10853	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10854	  reload_cmds='$CC -r -o $output$reload_objs'
10855	  hardcode_direct=no
10856        ;;
10857	motorola)
10858	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10859	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10860	;;
10861      esac
10862      runpath_var='LD_RUN_PATH'
10863      hardcode_shlibpath_var=no
10864      ;;
10865
10866    sysv4.3*)
10867      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10868      hardcode_shlibpath_var=no
10869      export_dynamic_flag_spec='-Bexport'
10870      ;;
10871
10872    sysv4*MP*)
10873      if test -d /usr/nec; then
10874	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10875	hardcode_shlibpath_var=no
10876	runpath_var=LD_RUN_PATH
10877	hardcode_runpath_var=yes
10878	ld_shlibs=yes
10879      fi
10880      ;;
10881
10882    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10883      no_undefined_flag='$wl-z,text'
10884      archive_cmds_need_lc=no
10885      hardcode_shlibpath_var=no
10886      runpath_var='LD_RUN_PATH'
10887
10888      if test yes = "$GCC"; then
10889	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10890	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891      else
10892	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10893	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10894      fi
10895      ;;
10896
10897    sysv5* | sco3.2v5* | sco5v6*)
10898      # Note: We CANNOT use -z defs as we might desire, because we do not
10899      # link with -lc, and that would cause any symbols used from libc to
10900      # always be unresolved, which means just about no library would
10901      # ever link correctly.  If we're not using GNU ld we use -z text
10902      # though, which does catch some bad symbols but isn't as heavy-handed
10903      # as -z defs.
10904      no_undefined_flag='$wl-z,text'
10905      allow_undefined_flag='$wl-z,nodefs'
10906      archive_cmds_need_lc=no
10907      hardcode_shlibpath_var=no
10908      hardcode_libdir_flag_spec='$wl-R,$libdir'
10909      hardcode_libdir_separator=':'
10910      link_all_deplibs=yes
10911      export_dynamic_flag_spec='$wl-Bexport'
10912      runpath_var='LD_RUN_PATH'
10913
10914      if test yes = "$GCC"; then
10915	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10916	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10917      else
10918	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10919	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920      fi
10921      ;;
10922
10923    uts4*)
10924      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10925      hardcode_libdir_flag_spec='-L$libdir'
10926      hardcode_shlibpath_var=no
10927      ;;
10928
10929    *)
10930      ld_shlibs=no
10931      ;;
10932    esac
10933
10934    if test sni = "$host_vendor"; then
10935      case $host in
10936      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10937	export_dynamic_flag_spec='$wl-Blargedynsym'
10938	;;
10939      esac
10940    fi
10941  fi
10942
10943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10944$as_echo "$ld_shlibs" >&6; }
10945test no = "$ld_shlibs" && can_build_shared=no
10946
10947with_gnu_ld=$with_gnu_ld
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963#
10964# Do we need to explicitly link libc?
10965#
10966case "x$archive_cmds_need_lc" in
10967x|xyes)
10968  # Assume -lc should be added
10969  archive_cmds_need_lc=yes
10970
10971  if test yes,yes = "$GCC,$enable_shared"; then
10972    case $archive_cmds in
10973    *'~'*)
10974      # FIXME: we may have to deal with multi-command sequences.
10975      ;;
10976    '$CC '*)
10977      # Test whether the compiler implicitly links with -lc since on some
10978      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10979      # to ld, don't add -lc before -lgcc.
10980      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10981$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10982if ${lt_cv_archive_cmds_need_lc+:} false; then :
10983  $as_echo_n "(cached) " >&6
10984else
10985  $RM conftest*
10986	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10987
10988	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10989  (eval $ac_compile) 2>&5
10990  ac_status=$?
10991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10992  test $ac_status = 0; } 2>conftest.err; then
10993	  soname=conftest
10994	  lib=conftest
10995	  libobjs=conftest.$ac_objext
10996	  deplibs=
10997	  wl=$lt_prog_compiler_wl
10998	  pic_flag=$lt_prog_compiler_pic
10999	  compiler_flags=-v
11000	  linker_flags=-v
11001	  verstring=
11002	  output_objdir=.
11003	  libname=conftest
11004	  lt_save_allow_undefined_flag=$allow_undefined_flag
11005	  allow_undefined_flag=
11006	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11007  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11008  ac_status=$?
11009  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11010  test $ac_status = 0; }
11011	  then
11012	    lt_cv_archive_cmds_need_lc=no
11013	  else
11014	    lt_cv_archive_cmds_need_lc=yes
11015	  fi
11016	  allow_undefined_flag=$lt_save_allow_undefined_flag
11017	else
11018	  cat conftest.err 1>&5
11019	fi
11020	$RM conftest*
11021
11022fi
11023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11024$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11025      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11026      ;;
11027    esac
11028  fi
11029  ;;
11030esac
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11184$as_echo_n "checking dynamic linker characteristics... " >&6; }
11185
11186if test yes = "$GCC"; then
11187  case $host_os in
11188    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11189    *) lt_awk_arg='/^libraries:/' ;;
11190  esac
11191  case $host_os in
11192    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11193    *) lt_sed_strip_eq='s|=/|/|g' ;;
11194  esac
11195  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11196  case $lt_search_path_spec in
11197  *\;*)
11198    # if the path contains ";" then we assume it to be the separator
11199    # otherwise default to the standard path separator (i.e. ":") - it is
11200    # assumed that no part of a normal pathname contains ";" but that should
11201    # okay in the real world where ";" in dirpaths is itself problematic.
11202    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11203    ;;
11204  *)
11205    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11206    ;;
11207  esac
11208  # Ok, now we have the path, separated by spaces, we can step through it
11209  # and add multilib dir if necessary...
11210  lt_tmp_lt_search_path_spec=
11211  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11212  # ...but if some path component already ends with the multilib dir we assume
11213  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11214  case "$lt_multi_os_dir; $lt_search_path_spec " in
11215  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11216    lt_multi_os_dir=
11217    ;;
11218  esac
11219  for lt_sys_path in $lt_search_path_spec; do
11220    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11221      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11222    elif test -n "$lt_multi_os_dir"; then
11223      test -d "$lt_sys_path" && \
11224	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11225    fi
11226  done
11227  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11228BEGIN {RS = " "; FS = "/|\n";} {
11229  lt_foo = "";
11230  lt_count = 0;
11231  for (lt_i = NF; lt_i > 0; lt_i--) {
11232    if ($lt_i != "" && $lt_i != ".") {
11233      if ($lt_i == "..") {
11234        lt_count++;
11235      } else {
11236        if (lt_count == 0) {
11237          lt_foo = "/" $lt_i lt_foo;
11238        } else {
11239          lt_count--;
11240        }
11241      }
11242    }
11243  }
11244  if (lt_foo != "") { lt_freq[lt_foo]++; }
11245  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11246}'`
11247  # AWK program above erroneously prepends '/' to C:/dos/paths
11248  # for these hosts.
11249  case $host_os in
11250    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11251      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11252  esac
11253  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11254else
11255  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11256fi
11257library_names_spec=
11258libname_spec='lib$name'
11259soname_spec=
11260shrext_cmds=.so
11261postinstall_cmds=
11262postuninstall_cmds=
11263finish_cmds=
11264finish_eval=
11265shlibpath_var=
11266shlibpath_overrides_runpath=unknown
11267version_type=none
11268dynamic_linker="$host_os ld.so"
11269sys_lib_dlsearch_path_spec="/lib /usr/lib"
11270need_lib_prefix=unknown
11271hardcode_into_libs=no
11272
11273# when you set need_version to no, make sure it does not cause -set_version
11274# flags to be left without arguments
11275need_version=unknown
11276
11277
11278
11279case $host_os in
11280aix3*)
11281  version_type=linux # correct to gnu/linux during the next big refactor
11282  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11283  shlibpath_var=LIBPATH
11284
11285  # AIX 3 has no versioning support, so we append a major version to the name.
11286  soname_spec='$libname$release$shared_ext$major'
11287  ;;
11288
11289aix[4-9]*)
11290  version_type=linux # correct to gnu/linux during the next big refactor
11291  need_lib_prefix=no
11292  need_version=no
11293  hardcode_into_libs=yes
11294  if test ia64 = "$host_cpu"; then
11295    # AIX 5 supports IA64
11296    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11297    shlibpath_var=LD_LIBRARY_PATH
11298  else
11299    # With GCC up to 2.95.x, collect2 would create an import file
11300    # for dependence libraries.  The import file would start with
11301    # the line '#! .'.  This would cause the generated library to
11302    # depend on '.', always an invalid library.  This was fixed in
11303    # development snapshots of GCC prior to 3.0.
11304    case $host_os in
11305      aix4 | aix4.[01] | aix4.[01].*)
11306      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11307	   echo ' yes '
11308	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11309	:
11310      else
11311	can_build_shared=no
11312      fi
11313      ;;
11314    esac
11315    # Using Import Files as archive members, it is possible to support
11316    # filename-based versioning of shared library archives on AIX. While
11317    # this would work for both with and without runtime linking, it will
11318    # prevent static linking of such archives. So we do filename-based
11319    # shared library versioning with .so extension only, which is used
11320    # when both runtime linking and shared linking is enabled.
11321    # Unfortunately, runtime linking may impact performance, so we do
11322    # not want this to be the default eventually. Also, we use the
11323    # versioned .so libs for executables only if there is the -brtl
11324    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11325    # To allow for filename-based versioning support, we need to create
11326    # libNAME.so.V as an archive file, containing:
11327    # *) an Import File, referring to the versioned filename of the
11328    #    archive as well as the shared archive member, telling the
11329    #    bitwidth (32 or 64) of that shared object, and providing the
11330    #    list of exported symbols of that shared object, eventually
11331    #    decorated with the 'weak' keyword
11332    # *) the shared object with the F_LOADONLY flag set, to really avoid
11333    #    it being seen by the linker.
11334    # At run time we better use the real file rather than another symlink,
11335    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11336
11337    case $with_aix_soname,$aix_use_runtimelinking in
11338    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11339    # soname into executable. Probably we can add versioning support to
11340    # collect2, so additional links can be useful in future.
11341    aix,yes) # traditional libtool
11342      dynamic_linker='AIX unversionable lib.so'
11343      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11344      # instead of lib<name>.a to let people know that these are not
11345      # typical AIX shared libraries.
11346      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11347      ;;
11348    aix,no) # traditional AIX only
11349      dynamic_linker='AIX lib.a(lib.so.V)'
11350      # We preserve .a as extension for shared libraries through AIX4.2
11351      # and later when we are not doing run time linking.
11352      library_names_spec='$libname$release.a $libname.a'
11353      soname_spec='$libname$release$shared_ext$major'
11354      ;;
11355    svr4,*) # full svr4 only
11356      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11357      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11358      # We do not specify a path in Import Files, so LIBPATH fires.
11359      shlibpath_overrides_runpath=yes
11360      ;;
11361    *,yes) # both, prefer svr4
11362      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11363      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11364      # unpreferred sharedlib libNAME.a needs extra handling
11365      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11366      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11367      # We do not specify a path in Import Files, so LIBPATH fires.
11368      shlibpath_overrides_runpath=yes
11369      ;;
11370    *,no) # both, prefer aix
11371      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11372      library_names_spec='$libname$release.a $libname.a'
11373      soname_spec='$libname$release$shared_ext$major'
11374      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11375      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11376      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11377      ;;
11378    esac
11379    shlibpath_var=LIBPATH
11380  fi
11381  ;;
11382
11383amigaos*)
11384  case $host_cpu in
11385  powerpc)
11386    # Since July 2007 AmigaOS4 officially supports .so libraries.
11387    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11388    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11389    ;;
11390  m68k)
11391    library_names_spec='$libname.ixlibrary $libname.a'
11392    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11393    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11394    ;;
11395  esac
11396  ;;
11397
11398beos*)
11399  library_names_spec='$libname$shared_ext'
11400  dynamic_linker="$host_os ld.so"
11401  shlibpath_var=LIBRARY_PATH
11402  ;;
11403
11404bsdi[45]*)
11405  version_type=linux # correct to gnu/linux during the next big refactor
11406  need_version=no
11407  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11408  soname_spec='$libname$release$shared_ext$major'
11409  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11410  shlibpath_var=LD_LIBRARY_PATH
11411  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11412  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11413  # the default ld.so.conf also contains /usr/contrib/lib and
11414  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11415  # libtool to hard-code these into programs
11416  ;;
11417
11418cygwin* | mingw* | pw32* | cegcc*)
11419  version_type=windows
11420  shrext_cmds=.dll
11421  need_version=no
11422  need_lib_prefix=no
11423
11424  case $GCC,$cc_basename in
11425  yes,*)
11426    # gcc
11427    library_names_spec='$libname.dll.a'
11428    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11429    postinstall_cmds='base_file=`basename \$file`~
11430      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11431      dldir=$destdir/`dirname \$dlpath`~
11432      test -d \$dldir || mkdir -p \$dldir~
11433      $install_prog $dir/$dlname \$dldir/$dlname~
11434      chmod a+x \$dldir/$dlname~
11435      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11436        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11437      fi'
11438    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11439      dlpath=$dir/\$dldll~
11440       $RM \$dlpath'
11441    shlibpath_overrides_runpath=yes
11442
11443    case $host_os in
11444    cygwin*)
11445      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11446      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11447
11448      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11449      ;;
11450    mingw* | cegcc*)
11451      # MinGW DLLs use traditional 'lib' prefix
11452      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11453      ;;
11454    pw32*)
11455      # pw32 DLLs use 'pw' prefix rather than 'lib'
11456      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11457      ;;
11458    esac
11459    dynamic_linker='Win32 ld.exe'
11460    ;;
11461
11462  *,cl*)
11463    # Native MSVC
11464    libname_spec='$name'
11465    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11466    library_names_spec='$libname.dll.lib'
11467
11468    case $build_os in
11469    mingw*)
11470      sys_lib_search_path_spec=
11471      lt_save_ifs=$IFS
11472      IFS=';'
11473      for lt_path in $LIB
11474      do
11475        IFS=$lt_save_ifs
11476        # Let DOS variable expansion print the short 8.3 style file name.
11477        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11478        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11479      done
11480      IFS=$lt_save_ifs
11481      # Convert to MSYS style.
11482      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11483      ;;
11484    cygwin*)
11485      # Convert to unix form, then to dos form, then back to unix form
11486      # but this time dos style (no spaces!) so that the unix form looks
11487      # like /cygdrive/c/PROGRA~1:/cygdr...
11488      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11489      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11490      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11491      ;;
11492    *)
11493      sys_lib_search_path_spec=$LIB
11494      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11495        # It is most probably a Windows format PATH.
11496        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11497      else
11498        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11499      fi
11500      # FIXME: find the short name or the path components, as spaces are
11501      # common. (e.g. "Program Files" -> "PROGRA~1")
11502      ;;
11503    esac
11504
11505    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11506    postinstall_cmds='base_file=`basename \$file`~
11507      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11508      dldir=$destdir/`dirname \$dlpath`~
11509      test -d \$dldir || mkdir -p \$dldir~
11510      $install_prog $dir/$dlname \$dldir/$dlname'
11511    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11512      dlpath=$dir/\$dldll~
11513       $RM \$dlpath'
11514    shlibpath_overrides_runpath=yes
11515    dynamic_linker='Win32 link.exe'
11516    ;;
11517
11518  *)
11519    # Assume MSVC wrapper
11520    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11521    dynamic_linker='Win32 ld.exe'
11522    ;;
11523  esac
11524  # FIXME: first we should search . and the directory the executable is in
11525  shlibpath_var=PATH
11526  ;;
11527
11528darwin* | rhapsody*)
11529  dynamic_linker="$host_os dyld"
11530  version_type=darwin
11531  need_lib_prefix=no
11532  need_version=no
11533  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11534  soname_spec='$libname$release$major$shared_ext'
11535  shlibpath_overrides_runpath=yes
11536  shlibpath_var=DYLD_LIBRARY_PATH
11537  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11538
11539  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11540  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11541  ;;
11542
11543dgux*)
11544  version_type=linux # correct to gnu/linux during the next big refactor
11545  need_lib_prefix=no
11546  need_version=no
11547  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11548  soname_spec='$libname$release$shared_ext$major'
11549  shlibpath_var=LD_LIBRARY_PATH
11550  ;;
11551
11552freebsd* | dragonfly*)
11553  # DragonFly does not have aout.  When/if they implement a new
11554  # versioning mechanism, adjust this.
11555  if test -x /usr/bin/objformat; then
11556    objformat=`/usr/bin/objformat`
11557  else
11558    case $host_os in
11559    freebsd[23].*) objformat=aout ;;
11560    *) objformat=elf ;;
11561    esac
11562  fi
11563  version_type=freebsd-$objformat
11564  case $version_type in
11565    freebsd-elf*)
11566      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11567      soname_spec='$libname$release$shared_ext$major'
11568      need_version=no
11569      need_lib_prefix=no
11570      ;;
11571    freebsd-*)
11572      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11573      need_version=yes
11574      ;;
11575  esac
11576  shlibpath_var=LD_LIBRARY_PATH
11577  case $host_os in
11578  freebsd2.*)
11579    shlibpath_overrides_runpath=yes
11580    ;;
11581  freebsd3.[01]* | freebsdelf3.[01]*)
11582    shlibpath_overrides_runpath=yes
11583    hardcode_into_libs=yes
11584    ;;
11585  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11586  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11587    shlibpath_overrides_runpath=no
11588    hardcode_into_libs=yes
11589    ;;
11590  *) # from 4.6 on, and DragonFly
11591    shlibpath_overrides_runpath=yes
11592    hardcode_into_libs=yes
11593    ;;
11594  esac
11595  ;;
11596
11597haiku*)
11598  version_type=linux # correct to gnu/linux during the next big refactor
11599  need_lib_prefix=no
11600  need_version=no
11601  dynamic_linker="$host_os runtime_loader"
11602  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11603  soname_spec='$libname$release$shared_ext$major'
11604  shlibpath_var=LIBRARY_PATH
11605  shlibpath_overrides_runpath=no
11606  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11607  hardcode_into_libs=yes
11608  ;;
11609
11610hpux9* | hpux10* | hpux11*)
11611  # Give a soname corresponding to the major version so that dld.sl refuses to
11612  # link against other versions.
11613  version_type=sunos
11614  need_lib_prefix=no
11615  need_version=no
11616  case $host_cpu in
11617  ia64*)
11618    shrext_cmds='.so'
11619    hardcode_into_libs=yes
11620    dynamic_linker="$host_os dld.so"
11621    shlibpath_var=LD_LIBRARY_PATH
11622    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11623    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11624    soname_spec='$libname$release$shared_ext$major'
11625    if test 32 = "$HPUX_IA64_MODE"; then
11626      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11627      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11628    else
11629      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11630      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11631    fi
11632    ;;
11633  hppa*64*)
11634    shrext_cmds='.sl'
11635    hardcode_into_libs=yes
11636    dynamic_linker="$host_os dld.sl"
11637    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11638    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11639    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11640    soname_spec='$libname$release$shared_ext$major'
11641    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11642    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11643    ;;
11644  *)
11645    shrext_cmds='.sl'
11646    dynamic_linker="$host_os dld.sl"
11647    shlibpath_var=SHLIB_PATH
11648    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11649    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11650    soname_spec='$libname$release$shared_ext$major'
11651    ;;
11652  esac
11653  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11654  postinstall_cmds='chmod 555 $lib'
11655  # or fails outright, so override atomically:
11656  install_override_mode=555
11657  ;;
11658
11659interix[3-9]*)
11660  version_type=linux # correct to gnu/linux during the next big refactor
11661  need_lib_prefix=no
11662  need_version=no
11663  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11664  soname_spec='$libname$release$shared_ext$major'
11665  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11666  shlibpath_var=LD_LIBRARY_PATH
11667  shlibpath_overrides_runpath=no
11668  hardcode_into_libs=yes
11669  ;;
11670
11671irix5* | irix6* | nonstopux*)
11672  case $host_os in
11673    nonstopux*) version_type=nonstopux ;;
11674    *)
11675	if test yes = "$lt_cv_prog_gnu_ld"; then
11676		version_type=linux # correct to gnu/linux during the next big refactor
11677	else
11678		version_type=irix
11679	fi ;;
11680  esac
11681  need_lib_prefix=no
11682  need_version=no
11683  soname_spec='$libname$release$shared_ext$major'
11684  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11685  case $host_os in
11686  irix5* | nonstopux*)
11687    libsuff= shlibsuff=
11688    ;;
11689  *)
11690    case $LD in # libtool.m4 will add one of these switches to LD
11691    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11692      libsuff= shlibsuff= libmagic=32-bit;;
11693    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11694      libsuff=32 shlibsuff=N32 libmagic=N32;;
11695    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11696      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11697    *) libsuff= shlibsuff= libmagic=never-match;;
11698    esac
11699    ;;
11700  esac
11701  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11702  shlibpath_overrides_runpath=no
11703  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11704  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11705  hardcode_into_libs=yes
11706  ;;
11707
11708# No shared lib support for Linux oldld, aout, or coff.
11709linux*oldld* | linux*aout* | linux*coff*)
11710  dynamic_linker=no
11711  ;;
11712
11713linux*android*)
11714  version_type=none # Android doesn't support versioned libraries.
11715  need_lib_prefix=no
11716  need_version=no
11717  library_names_spec='$libname$release$shared_ext'
11718  soname_spec='$libname$release$shared_ext'
11719  finish_cmds=
11720  shlibpath_var=LD_LIBRARY_PATH
11721  shlibpath_overrides_runpath=yes
11722
11723  # This implies no fast_install, which is unacceptable.
11724  # Some rework will be needed to allow for fast_install
11725  # before this can be enabled.
11726  hardcode_into_libs=yes
11727
11728  dynamic_linker='Android linker'
11729  # Don't embed -rpath directories since the linker doesn't support them.
11730  hardcode_libdir_flag_spec='-L$libdir'
11731  ;;
11732
11733# This must be glibc/ELF.
11734linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11735  version_type=linux # correct to gnu/linux during the next big refactor
11736  need_lib_prefix=no
11737  need_version=no
11738  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11739  soname_spec='$libname$release$shared_ext$major'
11740  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11741  shlibpath_var=LD_LIBRARY_PATH
11742  shlibpath_overrides_runpath=no
11743
11744  # Some binutils ld are patched to set DT_RUNPATH
11745  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11746  $as_echo_n "(cached) " >&6
11747else
11748  lt_cv_shlibpath_overrides_runpath=no
11749    save_LDFLAGS=$LDFLAGS
11750    save_libdir=$libdir
11751    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11752	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11753    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754/* end confdefs.h.  */
11755
11756int
11757main ()
11758{
11759
11760  ;
11761  return 0;
11762}
11763_ACEOF
11764if ac_fn_c_try_link "$LINENO"; then :
11765  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11766  lt_cv_shlibpath_overrides_runpath=yes
11767fi
11768fi
11769rm -f core conftest.err conftest.$ac_objext \
11770    conftest$ac_exeext conftest.$ac_ext
11771    LDFLAGS=$save_LDFLAGS
11772    libdir=$save_libdir
11773
11774fi
11775
11776  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11777
11778  # This implies no fast_install, which is unacceptable.
11779  # Some rework will be needed to allow for fast_install
11780  # before this can be enabled.
11781  hardcode_into_libs=yes
11782
11783  # Ideally, we could use ldconfig to report *all* directores which are
11784  # searched for libraries, however this is still not possible.  Aside from not
11785  # being certain /sbin/ldconfig is available, command
11786  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11787  # even though it is searched at run-time.  Try to do the best guess by
11788  # appending ld.so.conf contents (and includes) to the search path.
11789  if test -f /etc/ld.so.conf; then
11790    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' ' '`
11791    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11792  fi
11793
11794  # We used to test for /lib/ld.so.1 and disable shared libraries on
11795  # powerpc, because MkLinux only supported shared libraries with the
11796  # GNU dynamic linker.  Since this was broken with cross compilers,
11797  # most powerpc-linux boxes support dynamic linking these days and
11798  # people can always --disable-shared, the test was removed, and we
11799  # assume the GNU/Linux dynamic linker is in use.
11800  dynamic_linker='GNU/Linux ld.so'
11801  ;;
11802
11803netbsdelf*-gnu)
11804  version_type=linux
11805  need_lib_prefix=no
11806  need_version=no
11807  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11808  soname_spec='${libname}${release}${shared_ext}$major'
11809  shlibpath_var=LD_LIBRARY_PATH
11810  shlibpath_overrides_runpath=no
11811  hardcode_into_libs=yes
11812  dynamic_linker='NetBSD ld.elf_so'
11813  ;;
11814
11815netbsd*)
11816  version_type=sunos
11817  need_lib_prefix=no
11818  need_version=no
11819  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11820    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11821    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11822    dynamic_linker='NetBSD (a.out) ld.so'
11823  else
11824    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11825    soname_spec='$libname$release$shared_ext$major'
11826    dynamic_linker='NetBSD ld.elf_so'
11827  fi
11828  shlibpath_var=LD_LIBRARY_PATH
11829  shlibpath_overrides_runpath=yes
11830  hardcode_into_libs=yes
11831  ;;
11832
11833newsos6)
11834  version_type=linux # correct to gnu/linux during the next big refactor
11835  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11836  shlibpath_var=LD_LIBRARY_PATH
11837  shlibpath_overrides_runpath=yes
11838  ;;
11839
11840*nto* | *qnx*)
11841  version_type=qnx
11842  need_lib_prefix=no
11843  need_version=no
11844  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11845  soname_spec='$libname$release$shared_ext$major'
11846  shlibpath_var=LD_LIBRARY_PATH
11847  shlibpath_overrides_runpath=no
11848  hardcode_into_libs=yes
11849  dynamic_linker='ldqnx.so'
11850  ;;
11851
11852openbsd* | bitrig*)
11853  version_type=sunos
11854  sys_lib_dlsearch_path_spec=/usr/lib
11855  need_lib_prefix=no
11856  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11857    need_version=no
11858  else
11859    need_version=yes
11860  fi
11861  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11862  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11863  shlibpath_var=LD_LIBRARY_PATH
11864  shlibpath_overrides_runpath=yes
11865  ;;
11866
11867os2*)
11868  libname_spec='$name'
11869  version_type=windows
11870  shrext_cmds=.dll
11871  need_version=no
11872  need_lib_prefix=no
11873  # OS/2 can only load a DLL with a base name of 8 characters or less.
11874  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11875    v=$($ECHO $release$versuffix | tr -d .-);
11876    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11877    $ECHO $n$v`$shared_ext'
11878  library_names_spec='${libname}_dll.$libext'
11879  dynamic_linker='OS/2 ld.exe'
11880  shlibpath_var=BEGINLIBPATH
11881  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11882  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11883  postinstall_cmds='base_file=`basename \$file`~
11884    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11885    dldir=$destdir/`dirname \$dlpath`~
11886    test -d \$dldir || mkdir -p \$dldir~
11887    $install_prog $dir/$dlname \$dldir/$dlname~
11888    chmod a+x \$dldir/$dlname~
11889    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11890      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11891    fi'
11892  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11893    dlpath=$dir/\$dldll~
11894    $RM \$dlpath'
11895  ;;
11896
11897osf3* | osf4* | osf5*)
11898  version_type=osf
11899  need_lib_prefix=no
11900  need_version=no
11901  soname_spec='$libname$release$shared_ext$major'
11902  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11903  shlibpath_var=LD_LIBRARY_PATH
11904  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11905  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11906  ;;
11907
11908rdos*)
11909  dynamic_linker=no
11910  ;;
11911
11912solaris*)
11913  version_type=linux # correct to gnu/linux during the next big refactor
11914  need_lib_prefix=no
11915  need_version=no
11916  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11917  soname_spec='$libname$release$shared_ext$major'
11918  shlibpath_var=LD_LIBRARY_PATH
11919  shlibpath_overrides_runpath=yes
11920  hardcode_into_libs=yes
11921  # ldd complains unless libraries are executable
11922  postinstall_cmds='chmod +x $lib'
11923  ;;
11924
11925sunos4*)
11926  version_type=sunos
11927  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11928  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11929  shlibpath_var=LD_LIBRARY_PATH
11930  shlibpath_overrides_runpath=yes
11931  if test yes = "$with_gnu_ld"; then
11932    need_lib_prefix=no
11933  fi
11934  need_version=yes
11935  ;;
11936
11937sysv4 | sysv4.3*)
11938  version_type=linux # correct to gnu/linux during the next big refactor
11939  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11940  soname_spec='$libname$release$shared_ext$major'
11941  shlibpath_var=LD_LIBRARY_PATH
11942  case $host_vendor in
11943    sni)
11944      shlibpath_overrides_runpath=no
11945      need_lib_prefix=no
11946      runpath_var=LD_RUN_PATH
11947      ;;
11948    siemens)
11949      need_lib_prefix=no
11950      ;;
11951    motorola)
11952      need_lib_prefix=no
11953      need_version=no
11954      shlibpath_overrides_runpath=no
11955      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11956      ;;
11957  esac
11958  ;;
11959
11960sysv4*MP*)
11961  if test -d /usr/nec; then
11962    version_type=linux # correct to gnu/linux during the next big refactor
11963    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11964    soname_spec='$libname$shared_ext.$major'
11965    shlibpath_var=LD_LIBRARY_PATH
11966  fi
11967  ;;
11968
11969sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11970  version_type=sco
11971  need_lib_prefix=no
11972  need_version=no
11973  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11974  soname_spec='$libname$release$shared_ext$major'
11975  shlibpath_var=LD_LIBRARY_PATH
11976  shlibpath_overrides_runpath=yes
11977  hardcode_into_libs=yes
11978  if test yes = "$with_gnu_ld"; then
11979    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11980  else
11981    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11982    case $host_os in
11983      sco3.2v5*)
11984        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11985	;;
11986    esac
11987  fi
11988  sys_lib_dlsearch_path_spec='/usr/lib'
11989  ;;
11990
11991tpf*)
11992  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11993  version_type=linux # correct to gnu/linux during the next big refactor
11994  need_lib_prefix=no
11995  need_version=no
11996  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11997  shlibpath_var=LD_LIBRARY_PATH
11998  shlibpath_overrides_runpath=no
11999  hardcode_into_libs=yes
12000  ;;
12001
12002uts4*)
12003  version_type=linux # correct to gnu/linux during the next big refactor
12004  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12005  soname_spec='$libname$release$shared_ext$major'
12006  shlibpath_var=LD_LIBRARY_PATH
12007  ;;
12008
12009*)
12010  dynamic_linker=no
12011  ;;
12012esac
12013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12014$as_echo "$dynamic_linker" >&6; }
12015test no = "$dynamic_linker" && can_build_shared=no
12016
12017variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12018if test yes = "$GCC"; then
12019  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12020fi
12021
12022if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12023  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12024fi
12025
12026if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12027  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12028fi
12029
12030# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12031configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12032
12033# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12034func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12035
12036# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12037configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12136$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12137hardcode_action=
12138if test -n "$hardcode_libdir_flag_spec" ||
12139   test -n "$runpath_var" ||
12140   test yes = "$hardcode_automatic"; then
12141
12142  # We can hardcode non-existent directories.
12143  if test no != "$hardcode_direct" &&
12144     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12145     # have to relink, otherwise we might link with an installed library
12146     # when we should be linking with a yet-to-be-installed one
12147     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12148     test no != "$hardcode_minus_L"; then
12149    # Linking always hardcodes the temporary library directory.
12150    hardcode_action=relink
12151  else
12152    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12153    hardcode_action=immediate
12154  fi
12155else
12156  # We cannot hardcode anything, or else we can only hardcode existing
12157  # directories.
12158  hardcode_action=unsupported
12159fi
12160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12161$as_echo "$hardcode_action" >&6; }
12162
12163if test relink = "$hardcode_action" ||
12164   test yes = "$inherit_rpath"; then
12165  # Fast installation is not supported
12166  enable_fast_install=no
12167elif test yes = "$shlibpath_overrides_runpath" ||
12168     test no = "$enable_shared"; then
12169  # Fast installation is not necessary
12170  enable_fast_install=needless
12171fi
12172
12173
12174
12175
12176
12177
12178  if test yes != "$enable_dlopen"; then
12179  enable_dlopen=unknown
12180  enable_dlopen_self=unknown
12181  enable_dlopen_self_static=unknown
12182else
12183  lt_cv_dlopen=no
12184  lt_cv_dlopen_libs=
12185
12186  case $host_os in
12187  beos*)
12188    lt_cv_dlopen=load_add_on
12189    lt_cv_dlopen_libs=
12190    lt_cv_dlopen_self=yes
12191    ;;
12192
12193  mingw* | pw32* | cegcc*)
12194    lt_cv_dlopen=LoadLibrary
12195    lt_cv_dlopen_libs=
12196    ;;
12197
12198  cygwin*)
12199    lt_cv_dlopen=dlopen
12200    lt_cv_dlopen_libs=
12201    ;;
12202
12203  darwin*)
12204    # if libdl is installed we need to link against it
12205    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12206$as_echo_n "checking for dlopen in -ldl... " >&6; }
12207if ${ac_cv_lib_dl_dlopen+:} false; then :
12208  $as_echo_n "(cached) " >&6
12209else
12210  ac_check_lib_save_LIBS=$LIBS
12211LIBS="-ldl  $LIBS"
12212cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213/* end confdefs.h.  */
12214
12215/* Override any GCC internal prototype to avoid an error.
12216   Use char because int might match the return type of a GCC
12217   builtin and then its argument prototype would still apply.  */
12218#ifdef __cplusplus
12219extern "C"
12220#endif
12221char dlopen ();
12222int
12223main ()
12224{
12225return dlopen ();
12226  ;
12227  return 0;
12228}
12229_ACEOF
12230if ac_fn_c_try_link "$LINENO"; then :
12231  ac_cv_lib_dl_dlopen=yes
12232else
12233  ac_cv_lib_dl_dlopen=no
12234fi
12235rm -f core conftest.err conftest.$ac_objext \
12236    conftest$ac_exeext conftest.$ac_ext
12237LIBS=$ac_check_lib_save_LIBS
12238fi
12239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12240$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12241if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12242  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12243else
12244
12245    lt_cv_dlopen=dyld
12246    lt_cv_dlopen_libs=
12247    lt_cv_dlopen_self=yes
12248
12249fi
12250
12251    ;;
12252
12253  tpf*)
12254    # Don't try to run any link tests for TPF.  We know it's impossible
12255    # because TPF is a cross-compiler, and we know how we open DSOs.
12256    lt_cv_dlopen=dlopen
12257    lt_cv_dlopen_libs=
12258    lt_cv_dlopen_self=no
12259    ;;
12260
12261  *)
12262    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12263if test "x$ac_cv_func_shl_load" = xyes; then :
12264  lt_cv_dlopen=shl_load
12265else
12266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12267$as_echo_n "checking for shl_load in -ldld... " >&6; }
12268if ${ac_cv_lib_dld_shl_load+:} false; then :
12269  $as_echo_n "(cached) " >&6
12270else
12271  ac_check_lib_save_LIBS=$LIBS
12272LIBS="-ldld  $LIBS"
12273cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274/* end confdefs.h.  */
12275
12276/* Override any GCC internal prototype to avoid an error.
12277   Use char because int might match the return type of a GCC
12278   builtin and then its argument prototype would still apply.  */
12279#ifdef __cplusplus
12280extern "C"
12281#endif
12282char shl_load ();
12283int
12284main ()
12285{
12286return shl_load ();
12287  ;
12288  return 0;
12289}
12290_ACEOF
12291if ac_fn_c_try_link "$LINENO"; then :
12292  ac_cv_lib_dld_shl_load=yes
12293else
12294  ac_cv_lib_dld_shl_load=no
12295fi
12296rm -f core conftest.err conftest.$ac_objext \
12297    conftest$ac_exeext conftest.$ac_ext
12298LIBS=$ac_check_lib_save_LIBS
12299fi
12300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12301$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12302if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12303  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12304else
12305  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12306if test "x$ac_cv_func_dlopen" = xyes; then :
12307  lt_cv_dlopen=dlopen
12308else
12309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12310$as_echo_n "checking for dlopen in -ldl... " >&6; }
12311if ${ac_cv_lib_dl_dlopen+:} false; then :
12312  $as_echo_n "(cached) " >&6
12313else
12314  ac_check_lib_save_LIBS=$LIBS
12315LIBS="-ldl  $LIBS"
12316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317/* end confdefs.h.  */
12318
12319/* Override any GCC internal prototype to avoid an error.
12320   Use char because int might match the return type of a GCC
12321   builtin and then its argument prototype would still apply.  */
12322#ifdef __cplusplus
12323extern "C"
12324#endif
12325char dlopen ();
12326int
12327main ()
12328{
12329return dlopen ();
12330  ;
12331  return 0;
12332}
12333_ACEOF
12334if ac_fn_c_try_link "$LINENO"; then :
12335  ac_cv_lib_dl_dlopen=yes
12336else
12337  ac_cv_lib_dl_dlopen=no
12338fi
12339rm -f core conftest.err conftest.$ac_objext \
12340    conftest$ac_exeext conftest.$ac_ext
12341LIBS=$ac_check_lib_save_LIBS
12342fi
12343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12344$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12345if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12346  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12347else
12348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12349$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12350if ${ac_cv_lib_svld_dlopen+:} false; then :
12351  $as_echo_n "(cached) " >&6
12352else
12353  ac_check_lib_save_LIBS=$LIBS
12354LIBS="-lsvld  $LIBS"
12355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12356/* end confdefs.h.  */
12357
12358/* Override any GCC internal prototype to avoid an error.
12359   Use char because int might match the return type of a GCC
12360   builtin and then its argument prototype would still apply.  */
12361#ifdef __cplusplus
12362extern "C"
12363#endif
12364char dlopen ();
12365int
12366main ()
12367{
12368return dlopen ();
12369  ;
12370  return 0;
12371}
12372_ACEOF
12373if ac_fn_c_try_link "$LINENO"; then :
12374  ac_cv_lib_svld_dlopen=yes
12375else
12376  ac_cv_lib_svld_dlopen=no
12377fi
12378rm -f core conftest.err conftest.$ac_objext \
12379    conftest$ac_exeext conftest.$ac_ext
12380LIBS=$ac_check_lib_save_LIBS
12381fi
12382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12383$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12384if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12385  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12386else
12387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12388$as_echo_n "checking for dld_link in -ldld... " >&6; }
12389if ${ac_cv_lib_dld_dld_link+:} false; then :
12390  $as_echo_n "(cached) " >&6
12391else
12392  ac_check_lib_save_LIBS=$LIBS
12393LIBS="-ldld  $LIBS"
12394cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395/* end confdefs.h.  */
12396
12397/* Override any GCC internal prototype to avoid an error.
12398   Use char because int might match the return type of a GCC
12399   builtin and then its argument prototype would still apply.  */
12400#ifdef __cplusplus
12401extern "C"
12402#endif
12403char dld_link ();
12404int
12405main ()
12406{
12407return dld_link ();
12408  ;
12409  return 0;
12410}
12411_ACEOF
12412if ac_fn_c_try_link "$LINENO"; then :
12413  ac_cv_lib_dld_dld_link=yes
12414else
12415  ac_cv_lib_dld_dld_link=no
12416fi
12417rm -f core conftest.err conftest.$ac_objext \
12418    conftest$ac_exeext conftest.$ac_ext
12419LIBS=$ac_check_lib_save_LIBS
12420fi
12421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12422$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12423if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12424  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12425fi
12426
12427
12428fi
12429
12430
12431fi
12432
12433
12434fi
12435
12436
12437fi
12438
12439
12440fi
12441
12442    ;;
12443  esac
12444
12445  if test no = "$lt_cv_dlopen"; then
12446    enable_dlopen=no
12447  else
12448    enable_dlopen=yes
12449  fi
12450
12451  case $lt_cv_dlopen in
12452  dlopen)
12453    save_CPPFLAGS=$CPPFLAGS
12454    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12455
12456    save_LDFLAGS=$LDFLAGS
12457    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12458
12459    save_LIBS=$LIBS
12460    LIBS="$lt_cv_dlopen_libs $LIBS"
12461
12462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12463$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12464if ${lt_cv_dlopen_self+:} false; then :
12465  $as_echo_n "(cached) " >&6
12466else
12467  	  if test yes = "$cross_compiling"; then :
12468  lt_cv_dlopen_self=cross
12469else
12470  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12471  lt_status=$lt_dlunknown
12472  cat > conftest.$ac_ext <<_LT_EOF
12473#line $LINENO "configure"
12474#include "confdefs.h"
12475
12476#if HAVE_DLFCN_H
12477#include <dlfcn.h>
12478#endif
12479
12480#include <stdio.h>
12481
12482#ifdef RTLD_GLOBAL
12483#  define LT_DLGLOBAL		RTLD_GLOBAL
12484#else
12485#  ifdef DL_GLOBAL
12486#    define LT_DLGLOBAL		DL_GLOBAL
12487#  else
12488#    define LT_DLGLOBAL		0
12489#  endif
12490#endif
12491
12492/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12493   find out it does not work in some platform. */
12494#ifndef LT_DLLAZY_OR_NOW
12495#  ifdef RTLD_LAZY
12496#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12497#  else
12498#    ifdef DL_LAZY
12499#      define LT_DLLAZY_OR_NOW		DL_LAZY
12500#    else
12501#      ifdef RTLD_NOW
12502#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12503#      else
12504#        ifdef DL_NOW
12505#          define LT_DLLAZY_OR_NOW	DL_NOW
12506#        else
12507#          define LT_DLLAZY_OR_NOW	0
12508#        endif
12509#      endif
12510#    endif
12511#  endif
12512#endif
12513
12514/* When -fvisibility=hidden is used, assume the code has been annotated
12515   correspondingly for the symbols needed.  */
12516#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12517int fnord () __attribute__((visibility("default")));
12518#endif
12519
12520int fnord () { return 42; }
12521int main ()
12522{
12523  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12524  int status = $lt_dlunknown;
12525
12526  if (self)
12527    {
12528      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12529      else
12530        {
12531	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12532          else puts (dlerror ());
12533	}
12534      /* dlclose (self); */
12535    }
12536  else
12537    puts (dlerror ());
12538
12539  return status;
12540}
12541_LT_EOF
12542  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12543  (eval $ac_link) 2>&5
12544  ac_status=$?
12545  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12547    (./conftest; exit; ) >&5 2>/dev/null
12548    lt_status=$?
12549    case x$lt_status in
12550      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12551      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12552      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12553    esac
12554  else :
12555    # compilation failed
12556    lt_cv_dlopen_self=no
12557  fi
12558fi
12559rm -fr conftest*
12560
12561
12562fi
12563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12564$as_echo "$lt_cv_dlopen_self" >&6; }
12565
12566    if test yes = "$lt_cv_dlopen_self"; then
12567      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12568      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12569$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12570if ${lt_cv_dlopen_self_static+:} false; then :
12571  $as_echo_n "(cached) " >&6
12572else
12573  	  if test yes = "$cross_compiling"; then :
12574  lt_cv_dlopen_self_static=cross
12575else
12576  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12577  lt_status=$lt_dlunknown
12578  cat > conftest.$ac_ext <<_LT_EOF
12579#line $LINENO "configure"
12580#include "confdefs.h"
12581
12582#if HAVE_DLFCN_H
12583#include <dlfcn.h>
12584#endif
12585
12586#include <stdio.h>
12587
12588#ifdef RTLD_GLOBAL
12589#  define LT_DLGLOBAL		RTLD_GLOBAL
12590#else
12591#  ifdef DL_GLOBAL
12592#    define LT_DLGLOBAL		DL_GLOBAL
12593#  else
12594#    define LT_DLGLOBAL		0
12595#  endif
12596#endif
12597
12598/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12599   find out it does not work in some platform. */
12600#ifndef LT_DLLAZY_OR_NOW
12601#  ifdef RTLD_LAZY
12602#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12603#  else
12604#    ifdef DL_LAZY
12605#      define LT_DLLAZY_OR_NOW		DL_LAZY
12606#    else
12607#      ifdef RTLD_NOW
12608#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12609#      else
12610#        ifdef DL_NOW
12611#          define LT_DLLAZY_OR_NOW	DL_NOW
12612#        else
12613#          define LT_DLLAZY_OR_NOW	0
12614#        endif
12615#      endif
12616#    endif
12617#  endif
12618#endif
12619
12620/* When -fvisibility=hidden is used, assume the code has been annotated
12621   correspondingly for the symbols needed.  */
12622#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12623int fnord () __attribute__((visibility("default")));
12624#endif
12625
12626int fnord () { return 42; }
12627int main ()
12628{
12629  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12630  int status = $lt_dlunknown;
12631
12632  if (self)
12633    {
12634      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12635      else
12636        {
12637	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12638          else puts (dlerror ());
12639	}
12640      /* dlclose (self); */
12641    }
12642  else
12643    puts (dlerror ());
12644
12645  return status;
12646}
12647_LT_EOF
12648  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12649  (eval $ac_link) 2>&5
12650  ac_status=$?
12651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12652  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12653    (./conftest; exit; ) >&5 2>/dev/null
12654    lt_status=$?
12655    case x$lt_status in
12656      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12657      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12658      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12659    esac
12660  else :
12661    # compilation failed
12662    lt_cv_dlopen_self_static=no
12663  fi
12664fi
12665rm -fr conftest*
12666
12667
12668fi
12669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12670$as_echo "$lt_cv_dlopen_self_static" >&6; }
12671    fi
12672
12673    CPPFLAGS=$save_CPPFLAGS
12674    LDFLAGS=$save_LDFLAGS
12675    LIBS=$save_LIBS
12676    ;;
12677  esac
12678
12679  case $lt_cv_dlopen_self in
12680  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12681  *) enable_dlopen_self=unknown ;;
12682  esac
12683
12684  case $lt_cv_dlopen_self_static in
12685  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12686  *) enable_dlopen_self_static=unknown ;;
12687  esac
12688fi
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706striplib=
12707old_striplib=
12708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12709$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12710if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12711  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12712  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12714$as_echo "yes" >&6; }
12715else
12716# FIXME - insert some real tests, host_os isn't really good enough
12717  case $host_os in
12718  darwin*)
12719    if test -n "$STRIP"; then
12720      striplib="$STRIP -x"
12721      old_striplib="$STRIP -S"
12722      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12723$as_echo "yes" >&6; }
12724    else
12725      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12726$as_echo "no" >&6; }
12727    fi
12728    ;;
12729  *)
12730    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731$as_echo "no" >&6; }
12732    ;;
12733  esac
12734fi
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747  # Report what library types will actually be built
12748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12749$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12751$as_echo "$can_build_shared" >&6; }
12752
12753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12754$as_echo_n "checking whether to build shared libraries... " >&6; }
12755  test no = "$can_build_shared" && enable_shared=no
12756
12757  # On AIX, shared libraries and static libraries use the same namespace, and
12758  # are all built from PIC.
12759  case $host_os in
12760  aix3*)
12761    test yes = "$enable_shared" && enable_static=no
12762    if test -n "$RANLIB"; then
12763      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12764      postinstall_cmds='$RANLIB $lib'
12765    fi
12766    ;;
12767
12768  aix[4-9]*)
12769    if test ia64 != "$host_cpu"; then
12770      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12771      yes,aix,yes) ;;			# shared object as lib.so file only
12772      yes,svr4,*) ;;			# shared object as lib.so archive member only
12773      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12774      esac
12775    fi
12776    ;;
12777  esac
12778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12779$as_echo "$enable_shared" >&6; }
12780
12781  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12782$as_echo_n "checking whether to build static libraries... " >&6; }
12783  # Make sure either enable_shared or enable_static is yes.
12784  test yes = "$enable_shared" || enable_static=yes
12785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12786$as_echo "$enable_static" >&6; }
12787
12788
12789
12790
12791fi
12792ac_ext=c
12793ac_cpp='$CPP $CPPFLAGS'
12794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12796ac_compiler_gnu=$ac_cv_c_compiler_gnu
12797
12798CC=$lt_save_CC
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814        ac_config_commands="$ac_config_commands libtool"
12815
12816
12817
12818
12819# Only expand once:
12820
12821
12822
12823
12824for ac_header in math.h stdarg.h stddef.h stdlib.h string.h sys/stat.h time.h
12825do :
12826  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12827ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12828if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12829  cat >>confdefs.h <<_ACEOF
12830#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12831_ACEOF
12832
12833fi
12834
12835done
12836
12837LIBM=
12838case $host in
12839*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
12840  # These system don't have libm, or don't need it
12841  ;;
12842*-ncr-sysv4.3*)
12843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12844$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12845if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
12846  $as_echo_n "(cached) " >&6
12847else
12848  ac_check_lib_save_LIBS=$LIBS
12849LIBS="-lmw  $LIBS"
12850cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851/* end confdefs.h.  */
12852
12853/* Override any GCC internal prototype to avoid an error.
12854   Use char because int might match the return type of a GCC
12855   builtin and then its argument prototype would still apply.  */
12856#ifdef __cplusplus
12857extern "C"
12858#endif
12859char _mwvalidcheckl ();
12860int
12861main ()
12862{
12863return _mwvalidcheckl ();
12864  ;
12865  return 0;
12866}
12867_ACEOF
12868if ac_fn_c_try_link "$LINENO"; then :
12869  ac_cv_lib_mw__mwvalidcheckl=yes
12870else
12871  ac_cv_lib_mw__mwvalidcheckl=no
12872fi
12873rm -f core conftest.err conftest.$ac_objext \
12874    conftest$ac_exeext conftest.$ac_ext
12875LIBS=$ac_check_lib_save_LIBS
12876fi
12877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12878$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12879if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
12880  LIBM=-lmw
12881fi
12882
12883  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12884$as_echo_n "checking for cos in -lm... " >&6; }
12885if ${ac_cv_lib_m_cos+:} false; then :
12886  $as_echo_n "(cached) " >&6
12887else
12888  ac_check_lib_save_LIBS=$LIBS
12889LIBS="-lm  $LIBS"
12890cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891/* end confdefs.h.  */
12892
12893/* Override any GCC internal prototype to avoid an error.
12894   Use char because int might match the return type of a GCC
12895   builtin and then its argument prototype would still apply.  */
12896#ifdef __cplusplus
12897extern "C"
12898#endif
12899char cos ();
12900int
12901main ()
12902{
12903return cos ();
12904  ;
12905  return 0;
12906}
12907_ACEOF
12908if ac_fn_c_try_link "$LINENO"; then :
12909  ac_cv_lib_m_cos=yes
12910else
12911  ac_cv_lib_m_cos=no
12912fi
12913rm -f core conftest.err conftest.$ac_objext \
12914    conftest$ac_exeext conftest.$ac_ext
12915LIBS=$ac_check_lib_save_LIBS
12916fi
12917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12918$as_echo "$ac_cv_lib_m_cos" >&6; }
12919if test "x$ac_cv_lib_m_cos" = xyes; then :
12920  LIBM="$LIBM -lm"
12921fi
12922
12923  ;;
12924*)
12925  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12926$as_echo_n "checking for cos in -lm... " >&6; }
12927if ${ac_cv_lib_m_cos+:} false; then :
12928  $as_echo_n "(cached) " >&6
12929else
12930  ac_check_lib_save_LIBS=$LIBS
12931LIBS="-lm  $LIBS"
12932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933/* end confdefs.h.  */
12934
12935/* Override any GCC internal prototype to avoid an error.
12936   Use char because int might match the return type of a GCC
12937   builtin and then its argument prototype would still apply.  */
12938#ifdef __cplusplus
12939extern "C"
12940#endif
12941char cos ();
12942int
12943main ()
12944{
12945return cos ();
12946  ;
12947  return 0;
12948}
12949_ACEOF
12950if ac_fn_c_try_link "$LINENO"; then :
12951  ac_cv_lib_m_cos=yes
12952else
12953  ac_cv_lib_m_cos=no
12954fi
12955rm -f core conftest.err conftest.$ac_objext \
12956    conftest$ac_exeext conftest.$ac_ext
12957LIBS=$ac_check_lib_save_LIBS
12958fi
12959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12960$as_echo "$ac_cv_lib_m_cos" >&6; }
12961if test "x$ac_cv_lib_m_cos" = xyes; then :
12962  LIBM=-lm
12963fi
12964
12965  ;;
12966esac
12967
12968
12969
12970
12971
12972    GETTEXT_PACKAGE=xfce4-weather-plugin
12973
12974cat >>confdefs.h <<_ACEOF
12975#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12976_ACEOF
12977
12978
12979
12980    ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu hye id is it ja ko lt lv ms nb nl nn oc pa pl pt pt_BR ru sk sl sq sr sv te th tr ug uk ur ur_PK zh_CN zh_TW"
12981
12982   for ac_header in locale.h
12983do :
12984  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12985if test "x$ac_cv_header_locale_h" = xyes; then :
12986  cat >>confdefs.h <<_ACEOF
12987#define HAVE_LOCALE_H 1
12988_ACEOF
12989
12990fi
12991
12992done
12993
12994    if test $ac_cv_header_locale_h = yes; then
12995    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12996$as_echo_n "checking for LC_MESSAGES... " >&6; }
12997if ${am_cv_val_LC_MESSAGES+:} false; then :
12998  $as_echo_n "(cached) " >&6
12999else
13000  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001/* end confdefs.h.  */
13002#include <locale.h>
13003int
13004main ()
13005{
13006return LC_MESSAGES
13007  ;
13008  return 0;
13009}
13010_ACEOF
13011if ac_fn_c_try_link "$LINENO"; then :
13012  am_cv_val_LC_MESSAGES=yes
13013else
13014  am_cv_val_LC_MESSAGES=no
13015fi
13016rm -f core conftest.err conftest.$ac_objext \
13017    conftest$ac_exeext conftest.$ac_ext
13018fi
13019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13020$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13021    if test $am_cv_val_LC_MESSAGES = yes; then
13022
13023$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13024
13025    fi
13026  fi
13027     USE_NLS=yes
13028
13029
13030    gt_cv_have_gettext=no
13031
13032    CATOBJEXT=NONE
13033    XGETTEXT=:
13034    INTLLIBS=
13035
13036
13037    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13038$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13039if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13040  $as_echo_n "(cached) " >&6
13041else
13042  gt_save_LIBS="$LIBS"
13043     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13044     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045/* end confdefs.h.  */
13046#include <CoreFoundation/CFPreferences.h>
13047int
13048main ()
13049{
13050CFPreferencesCopyAppValue(NULL, NULL)
13051  ;
13052  return 0;
13053}
13054_ACEOF
13055if ac_fn_c_try_link "$LINENO"; then :
13056  gt_cv_func_CFPreferencesCopyAppValue=yes
13057else
13058  gt_cv_func_CFPreferencesCopyAppValue=no
13059fi
13060rm -f core conftest.err conftest.$ac_objext \
13061    conftest$ac_exeext conftest.$ac_ext
13062     LIBS="$gt_save_LIBS"
13063fi
13064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13065$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13066  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13067
13068$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13069
13070  fi
13071    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13072$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13073if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13074  $as_echo_n "(cached) " >&6
13075else
13076  gt_save_LIBS="$LIBS"
13077     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13078     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079/* end confdefs.h.  */
13080#include <CoreFoundation/CFLocale.h>
13081int
13082main ()
13083{
13084CFLocaleCopyCurrent();
13085  ;
13086  return 0;
13087}
13088_ACEOF
13089if ac_fn_c_try_link "$LINENO"; then :
13090  gt_cv_func_CFLocaleCopyCurrent=yes
13091else
13092  gt_cv_func_CFLocaleCopyCurrent=no
13093fi
13094rm -f core conftest.err conftest.$ac_objext \
13095    conftest$ac_exeext conftest.$ac_ext
13096     LIBS="$gt_save_LIBS"
13097fi
13098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13099$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13100  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13101
13102$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13103
13104  fi
13105  INTL_MACOSX_LIBS=
13106  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13107    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13108  fi
13109
13110
13111
13112    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13113if test "x$ac_cv_header_libintl_h" = xyes; then :
13114  gt_cv_func_dgettext_libintl="no"
13115      libintl_extra_libs=""
13116
13117      #
13118      # First check in libc
13119      #
13120      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13121$as_echo_n "checking for ngettext in libc... " >&6; }
13122if ${gt_cv_func_ngettext_libc+:} false; then :
13123  $as_echo_n "(cached) " >&6
13124else
13125  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126/* end confdefs.h.  */
13127
13128#include <libintl.h>
13129
13130int
13131main ()
13132{
13133return !ngettext ("","", 1)
13134  ;
13135  return 0;
13136}
13137_ACEOF
13138if ac_fn_c_try_link "$LINENO"; then :
13139  gt_cv_func_ngettext_libc=yes
13140else
13141  gt_cv_func_ngettext_libc=no
13142fi
13143rm -f core conftest.err conftest.$ac_objext \
13144    conftest$ac_exeext conftest.$ac_ext
13145
13146fi
13147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13148$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13149
13150      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13151	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13152$as_echo_n "checking for dgettext in libc... " >&6; }
13153if ${gt_cv_func_dgettext_libc+:} false; then :
13154  $as_echo_n "(cached) " >&6
13155else
13156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157/* end confdefs.h.  */
13158
13159#include <libintl.h>
13160
13161int
13162main ()
13163{
13164return !dgettext ("","")
13165  ;
13166  return 0;
13167}
13168_ACEOF
13169if ac_fn_c_try_link "$LINENO"; then :
13170  gt_cv_func_dgettext_libc=yes
13171else
13172  gt_cv_func_dgettext_libc=no
13173fi
13174rm -f core conftest.err conftest.$ac_objext \
13175    conftest$ac_exeext conftest.$ac_ext
13176
13177fi
13178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13179$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13180      fi
13181
13182      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13183        for ac_func in bind_textdomain_codeset
13184do :
13185  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13186if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13187  cat >>confdefs.h <<_ACEOF
13188#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13189_ACEOF
13190
13191fi
13192done
13193
13194      fi
13195
13196      #
13197      # If we don't have everything we want, check in libintl
13198      #
13199      if test "$gt_cv_func_dgettext_libc" != "yes" \
13200	 || test "$gt_cv_func_ngettext_libc" != "yes" \
13201         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13202
13203        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13204$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13205if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13206  $as_echo_n "(cached) " >&6
13207else
13208  ac_check_lib_save_LIBS=$LIBS
13209LIBS="-lintl  $LIBS"
13210cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13211/* end confdefs.h.  */
13212
13213/* Override any GCC internal prototype to avoid an error.
13214   Use char because int might match the return type of a GCC
13215   builtin and then its argument prototype would still apply.  */
13216#ifdef __cplusplus
13217extern "C"
13218#endif
13219char bindtextdomain ();
13220int
13221main ()
13222{
13223return bindtextdomain ();
13224  ;
13225  return 0;
13226}
13227_ACEOF
13228if ac_fn_c_try_link "$LINENO"; then :
13229  ac_cv_lib_intl_bindtextdomain=yes
13230else
13231  ac_cv_lib_intl_bindtextdomain=no
13232fi
13233rm -f core conftest.err conftest.$ac_objext \
13234    conftest$ac_exeext conftest.$ac_ext
13235LIBS=$ac_check_lib_save_LIBS
13236fi
13237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13238$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13239if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13241$as_echo_n "checking for ngettext in -lintl... " >&6; }
13242if ${ac_cv_lib_intl_ngettext+:} false; then :
13243  $as_echo_n "(cached) " >&6
13244else
13245  ac_check_lib_save_LIBS=$LIBS
13246LIBS="-lintl  $LIBS"
13247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248/* end confdefs.h.  */
13249
13250/* Override any GCC internal prototype to avoid an error.
13251   Use char because int might match the return type of a GCC
13252   builtin and then its argument prototype would still apply.  */
13253#ifdef __cplusplus
13254extern "C"
13255#endif
13256char ngettext ();
13257int
13258main ()
13259{
13260return ngettext ();
13261  ;
13262  return 0;
13263}
13264_ACEOF
13265if ac_fn_c_try_link "$LINENO"; then :
13266  ac_cv_lib_intl_ngettext=yes
13267else
13268  ac_cv_lib_intl_ngettext=no
13269fi
13270rm -f core conftest.err conftest.$ac_objext \
13271    conftest$ac_exeext conftest.$ac_ext
13272LIBS=$ac_check_lib_save_LIBS
13273fi
13274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13275$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13276if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13278$as_echo_n "checking for dgettext in -lintl... " >&6; }
13279if ${ac_cv_lib_intl_dgettext+:} false; then :
13280  $as_echo_n "(cached) " >&6
13281else
13282  ac_check_lib_save_LIBS=$LIBS
13283LIBS="-lintl  $LIBS"
13284cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285/* end confdefs.h.  */
13286
13287/* Override any GCC internal prototype to avoid an error.
13288   Use char because int might match the return type of a GCC
13289   builtin and then its argument prototype would still apply.  */
13290#ifdef __cplusplus
13291extern "C"
13292#endif
13293char dgettext ();
13294int
13295main ()
13296{
13297return dgettext ();
13298  ;
13299  return 0;
13300}
13301_ACEOF
13302if ac_fn_c_try_link "$LINENO"; then :
13303  ac_cv_lib_intl_dgettext=yes
13304else
13305  ac_cv_lib_intl_dgettext=no
13306fi
13307rm -f core conftest.err conftest.$ac_objext \
13308    conftest$ac_exeext conftest.$ac_ext
13309LIBS=$ac_check_lib_save_LIBS
13310fi
13311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13312$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13313if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13314  gt_cv_func_dgettext_libintl=yes
13315fi
13316
13317fi
13318
13319fi
13320
13321
13322	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13323	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13324$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13325	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13326$as_echo "" >&6; }
13327  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13328$as_echo_n "checking for ngettext in -lintl... " >&6; }
13329if ${ac_cv_lib_intl_ngettext+:} false; then :
13330  $as_echo_n "(cached) " >&6
13331else
13332  ac_check_lib_save_LIBS=$LIBS
13333LIBS="-lintl -liconv $LIBS"
13334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335/* end confdefs.h.  */
13336
13337/* Override any GCC internal prototype to avoid an error.
13338   Use char because int might match the return type of a GCC
13339   builtin and then its argument prototype would still apply.  */
13340#ifdef __cplusplus
13341extern "C"
13342#endif
13343char ngettext ();
13344int
13345main ()
13346{
13347return ngettext ();
13348  ;
13349  return 0;
13350}
13351_ACEOF
13352if ac_fn_c_try_link "$LINENO"; then :
13353  ac_cv_lib_intl_ngettext=yes
13354else
13355  ac_cv_lib_intl_ngettext=no
13356fi
13357rm -f core conftest.err conftest.$ac_objext \
13358    conftest$ac_exeext conftest.$ac_ext
13359LIBS=$ac_check_lib_save_LIBS
13360fi
13361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13362$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13363if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13365$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13366if ${ac_cv_lib_intl_dcgettext+:} false; then :
13367  $as_echo_n "(cached) " >&6
13368else
13369  ac_check_lib_save_LIBS=$LIBS
13370LIBS="-lintl -liconv $LIBS"
13371cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372/* end confdefs.h.  */
13373
13374/* Override any GCC internal prototype to avoid an error.
13375   Use char because int might match the return type of a GCC
13376   builtin and then its argument prototype would still apply.  */
13377#ifdef __cplusplus
13378extern "C"
13379#endif
13380char dcgettext ();
13381int
13382main ()
13383{
13384return dcgettext ();
13385  ;
13386  return 0;
13387}
13388_ACEOF
13389if ac_fn_c_try_link "$LINENO"; then :
13390  ac_cv_lib_intl_dcgettext=yes
13391else
13392  ac_cv_lib_intl_dcgettext=no
13393fi
13394rm -f core conftest.err conftest.$ac_objext \
13395    conftest$ac_exeext conftest.$ac_ext
13396LIBS=$ac_check_lib_save_LIBS
13397fi
13398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13399$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13400if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13401  gt_cv_func_dgettext_libintl=yes
13402			libintl_extra_libs=-liconv
13403else
13404  :
13405fi
13406
13407else
13408  :
13409fi
13410
13411        fi
13412
13413        #
13414        # If we found libintl, then check in it for bind_textdomain_codeset();
13415        # we'll prefer libc if neither have bind_textdomain_codeset(),
13416        # and both have dgettext and ngettext
13417        #
13418        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13419          glib_save_LIBS="$LIBS"
13420          LIBS="$LIBS -lintl $libintl_extra_libs"
13421          unset ac_cv_func_bind_textdomain_codeset
13422          for ac_func in bind_textdomain_codeset
13423do :
13424  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13425if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13426  cat >>confdefs.h <<_ACEOF
13427#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13428_ACEOF
13429
13430fi
13431done
13432
13433          LIBS="$glib_save_LIBS"
13434
13435          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13436            gt_cv_func_dgettext_libc=no
13437          else
13438            if test "$gt_cv_func_dgettext_libc" = "yes" \
13439		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13440              gt_cv_func_dgettext_libintl=no
13441            fi
13442          fi
13443        fi
13444      fi
13445
13446      if test "$gt_cv_func_dgettext_libc" = "yes" \
13447	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13448        gt_cv_have_gettext=yes
13449      fi
13450
13451      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13452        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
13453      fi
13454
13455      if test "$gt_cv_have_gettext" = "yes"; then
13456
13457$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13458
13459	# Extract the first word of "msgfmt", so it can be a program name with args.
13460set dummy msgfmt; ac_word=$2
13461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13462$as_echo_n "checking for $ac_word... " >&6; }
13463if ${ac_cv_path_MSGFMT+:} false; then :
13464  $as_echo_n "(cached) " >&6
13465else
13466  case "$MSGFMT" in
13467  /*)
13468  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13469  ;;
13470  *)
13471  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13472  for ac_dir in $PATH; do
13473    test -z "$ac_dir" && ac_dir=.
13474    if test -f $ac_dir/$ac_word; then
13475      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13476	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13477	break
13478      fi
13479    fi
13480  done
13481  IFS="$ac_save_ifs"
13482  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13483  ;;
13484esac
13485fi
13486MSGFMT="$ac_cv_path_MSGFMT"
13487if test "$MSGFMT" != "no"; then
13488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13489$as_echo "$MSGFMT" >&6; }
13490else
13491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13492$as_echo "no" >&6; }
13493fi
13494	if test "$MSGFMT" != "no"; then
13495          glib_save_LIBS="$LIBS"
13496          LIBS="$LIBS $INTLLIBS"
13497	  for ac_func in dcgettext
13498do :
13499  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13500if test "x$ac_cv_func_dcgettext" = xyes; then :
13501  cat >>confdefs.h <<_ACEOF
13502#define HAVE_DCGETTEXT 1
13503_ACEOF
13504
13505fi
13506done
13507
13508	  MSGFMT_OPTS=
13509	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13510$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13511	  cat >conftest.foo <<_ACEOF
13512
13513msgid ""
13514msgstr ""
13515"Content-Type: text/plain; charset=UTF-8\n"
13516"Project-Id-Version: test 1.0\n"
13517"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13518"Last-Translator: test <foo@bar.xx>\n"
13519"Language-Team: C <LL@li.org>\n"
13520"MIME-Version: 1.0\n"
13521"Content-Transfer-Encoding: 8bit\n"
13522
13523_ACEOF
13524if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13525  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13526  ac_status=$?
13527  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13528  test $ac_status = 0; }; then
13529  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13530$as_echo "yes" >&6; }
13531else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13532$as_echo "no" >&6; }
13533echo "$as_me: failed input was:" >&5
13534sed 's/^/| /' conftest.foo >&5
13535fi
13536
13537	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13538set dummy gmsgfmt; 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; }
13541if ${ac_cv_path_GMSGFMT+:} false; then :
13542  $as_echo_n "(cached) " >&6
13543else
13544  case $GMSGFMT in
13545  [\\/]* | ?:[\\/]*)
13546  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13547  ;;
13548  *)
13549  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13550for as_dir in $PATH
13551do
13552  IFS=$as_save_IFS
13553  test -z "$as_dir" && as_dir=.
13554    for ac_exec_ext in '' $ac_executable_extensions; do
13555  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13556    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13557    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13558    break 2
13559  fi
13560done
13561  done
13562IFS=$as_save_IFS
13563
13564  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13565  ;;
13566esac
13567fi
13568GMSGFMT=$ac_cv_path_GMSGFMT
13569if test -n "$GMSGFMT"; then
13570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13571$as_echo "$GMSGFMT" >&6; }
13572else
13573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13574$as_echo "no" >&6; }
13575fi
13576
13577
13578	  # Extract the first word of "xgettext", so it can be a program name with args.
13579set dummy xgettext; ac_word=$2
13580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581$as_echo_n "checking for $ac_word... " >&6; }
13582if ${ac_cv_path_XGETTEXT+:} false; then :
13583  $as_echo_n "(cached) " >&6
13584else
13585  case "$XGETTEXT" in
13586  /*)
13587  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13588  ;;
13589  *)
13590  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13591  for ac_dir in $PATH; do
13592    test -z "$ac_dir" && ac_dir=.
13593    if test -f $ac_dir/$ac_word; then
13594      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13595	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13596	break
13597      fi
13598    fi
13599  done
13600  IFS="$ac_save_ifs"
13601  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13602  ;;
13603esac
13604fi
13605XGETTEXT="$ac_cv_path_XGETTEXT"
13606if test "$XGETTEXT" != ":"; then
13607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13608$as_echo "$XGETTEXT" >&6; }
13609else
13610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13611$as_echo "no" >&6; }
13612fi
13613
13614	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615/* end confdefs.h.  */
13616
13617int
13618main ()
13619{
13620extern int _nl_msg_cat_cntr;
13621			 return _nl_msg_cat_cntr
13622  ;
13623  return 0;
13624}
13625_ACEOF
13626if ac_fn_c_try_link "$LINENO"; then :
13627  CATOBJEXT=.gmo
13628             DATADIRNAME=share
13629else
13630  case $host in
13631	    *-*-solaris*)
13632	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13633if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13634  CATOBJEXT=.gmo
13635               DATADIRNAME=share
13636else
13637  CATOBJEXT=.mo
13638               DATADIRNAME=lib
13639fi
13640
13641	    ;;
13642	    *-*-openbsd*)
13643	    CATOBJEXT=.mo
13644            DATADIRNAME=share
13645	    ;;
13646	    *)
13647	    CATOBJEXT=.mo
13648            DATADIRNAME=lib
13649	    ;;
13650	    esac
13651fi
13652rm -f core conftest.err conftest.$ac_objext \
13653    conftest$ac_exeext conftest.$ac_ext
13654          LIBS="$glib_save_LIBS"
13655	  INSTOBJEXT=.mo
13656	else
13657	  gt_cv_have_gettext=no
13658	fi
13659      fi
13660
13661fi
13662
13663
13664
13665    if test "$gt_cv_have_gettext" = "yes" ; then
13666
13667$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13668
13669    fi
13670
13671        if test "$XGETTEXT" != ":"; then
13672                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13673        : ;
13674      else
13675        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13676$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13677        XGETTEXT=":"
13678      fi
13679    fi
13680
13681    # We need to process the po/ directory.
13682    POSUB=po
13683
13684    ac_config_commands="$ac_config_commands default-1"
13685
13686
13687                for lang in $ALL_LINGUAS; do
13688      GMOFILES="$GMOFILES $lang.gmo"
13689      POFILES="$POFILES $lang.po"
13690    done
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704   if test "$gt_cv_have_gettext" = "yes"; then
13705     if test "x$ALL_LINGUAS" = "x"; then
13706       LINGUAS=
13707     else
13708       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13709$as_echo_n "checking for catalogs to be installed... " >&6; }
13710       NEW_LINGUAS=
13711       for presentlang in $ALL_LINGUAS; do
13712         useit=no
13713         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13714           desiredlanguages="$LINGUAS"
13715         else
13716           desiredlanguages="$ALL_LINGUAS"
13717         fi
13718         for desiredlang in $desiredlanguages; do
13719 	   # Use the presentlang catalog if desiredlang is
13720           #   a. equal to presentlang, or
13721           #   b. a variant of presentlang (because in this case,
13722           #      presentlang can be used as a fallback for messages
13723           #      which are not translated in the desiredlang catalog).
13724           case "$desiredlang" in
13725             "$presentlang"*) useit=yes;;
13726           esac
13727         done
13728         if test $useit = yes; then
13729           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13730         fi
13731       done
13732       LINGUAS=$NEW_LINGUAS
13733       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13734$as_echo "$LINGUAS" >&6; }
13735     fi
13736
13737          if test -n "$LINGUAS"; then
13738       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13739     fi
13740   fi
13741
13742            MKINSTALLDIRS=
13743   if test -n "$ac_aux_dir"; then
13744     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13745   fi
13746   if test -z "$MKINSTALLDIRS"; then
13747     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13748   fi
13749
13750
13751         test -d po || mkdir po
13752   if test "x$srcdir" != "x."; then
13753     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13754       posrcprefix="$srcdir/"
13755     else
13756       posrcprefix="../$srcdir/"
13757     fi
13758   else
13759     posrcprefix="../"
13760   fi
13761   rm -f po/POTFILES
13762   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13763	< $srcdir/po/POTFILES.in > po/POTFILES
13764
13765
13766    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13767if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13768
13769fi
13770
13771
13772    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
13773$as_echo_n "checking for locales directory... " >&6; }
13774
13775# Check whether --with-locales-dir was given.
13776if test "${with_locales_dir+set}" = set; then :
13777  withval=$with_locales_dir; localedir=$withval
13778else
13779
13780    if test x"$CATOBJEXT" = x".mo"; then
13781      localedir=$libdir/locale
13782    else
13783      localedir=$datarootdir/locale
13784    fi
13785
13786fi
13787
13788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
13789$as_echo "$localedir" >&6; }
13790
13791
13792    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
13793$as_echo_n "checking for additional xgettext flags... " >&6; }
13794  if test x"$XGETTEXT_ARGS" = x""; then
13795    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
13796  else
13797    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
13798  fi
13799
13800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
13801$as_echo "$XGETTEXT_ARGS" >&6; }
13802
13803
13804
13805
13806  # minimum supported version of pkg-config
13807  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13818	if test -n "$ac_tool_prefix"; then
13819  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13820set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13822$as_echo_n "checking for $ac_word... " >&6; }
13823if ${ac_cv_path_PKG_CONFIG+:} false; then :
13824  $as_echo_n "(cached) " >&6
13825else
13826  case $PKG_CONFIG in
13827  [\\/]* | ?:[\\/]*)
13828  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13829  ;;
13830  *)
13831  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13832for as_dir in $PATH
13833do
13834  IFS=$as_save_IFS
13835  test -z "$as_dir" && as_dir=.
13836    for ac_exec_ext in '' $ac_executable_extensions; do
13837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13838    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13840    break 2
13841  fi
13842done
13843  done
13844IFS=$as_save_IFS
13845
13846  ;;
13847esac
13848fi
13849PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13850if test -n "$PKG_CONFIG"; then
13851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13852$as_echo "$PKG_CONFIG" >&6; }
13853else
13854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13855$as_echo "no" >&6; }
13856fi
13857
13858
13859fi
13860if test -z "$ac_cv_path_PKG_CONFIG"; then
13861  ac_pt_PKG_CONFIG=$PKG_CONFIG
13862  # Extract the first word of "pkg-config", so it can be a program name with args.
13863set dummy pkg-config; ac_word=$2
13864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13865$as_echo_n "checking for $ac_word... " >&6; }
13866if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13867  $as_echo_n "(cached) " >&6
13868else
13869  case $ac_pt_PKG_CONFIG in
13870  [\\/]* | ?:[\\/]*)
13871  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13872  ;;
13873  *)
13874  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13875for as_dir in $PATH
13876do
13877  IFS=$as_save_IFS
13878  test -z "$as_dir" && as_dir=.
13879    for ac_exec_ext in '' $ac_executable_extensions; do
13880  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13881    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13882    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13883    break 2
13884  fi
13885done
13886  done
13887IFS=$as_save_IFS
13888
13889  ;;
13890esac
13891fi
13892ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13893if test -n "$ac_pt_PKG_CONFIG"; then
13894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13895$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13896else
13897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13898$as_echo "no" >&6; }
13899fi
13900
13901  if test "x$ac_pt_PKG_CONFIG" = x; then
13902    PKG_CONFIG=""
13903  else
13904    case $cross_compiling:$ac_tool_warned in
13905yes:)
13906{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13907$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13908ac_tool_warned=yes ;;
13909esac
13910    PKG_CONFIG=$ac_pt_PKG_CONFIG
13911  fi
13912else
13913  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13914fi
13915
13916fi
13917if test -n "$PKG_CONFIG"; then
13918	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13919	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13920$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13921	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13922		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13923$as_echo "yes" >&6; }
13924	else
13925		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13926$as_echo "no" >&6; }
13927		PKG_CONFIG=""
13928	fi
13929fi
13930
13931      if test x"$PKG_CONFIG" = x""; then
13932        echo
13933        echo "*** Your version of pkg-config is too old. You need atleast"
13934        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13935        echo "*** from the freedesktop.org software repository at"
13936        echo "***"
13937        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
13938        echo "***"
13939        exit 1;
13940      fi
13941
13942
13943
13944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5
13945$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; }
13946  if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then
13947    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13949$as_echo "$GTK_VERSION" >&6; }
13950
13951    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13952$as_echo_n "checking GTK_CFLAGS... " >&6; }
13953    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13954    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13955$as_echo "$GTK_CFLAGS" >&6; }
13956
13957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13958$as_echo_n "checking GTK_LIBS... " >&6; }
13959    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13960    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13961$as_echo "$GTK_LIBS" >&6; }
13962
13963    GTK_REQUIRED_VERSION=3.22.0
13964
13965
13966
13967
13968
13969
13970
13971  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13972    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13974$as_echo "found, but $xdt_cv_version" >&6; }
13975
13976
13977      echo "*** The required package gtk+-3.0 was found on your system,"
13978      echo "*** but the installed version ($xdt_cv_version) is too old."
13979      echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust"
13980      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13981      echo "*** the new version of the package in a nonstandard prefix so"
13982      echo "*** pkg-config is able to find it."
13983      exit 1
13984
13985  else
13986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13987$as_echo "not found" >&6; }
13988
13989
13990      echo "*** The required package gtk+-3.0 was not found on your system."
13991      echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust"
13992      echo "*** the PKG_CONFIG_PATH environment variable if you"
13993      echo "*** installed the package in a nonstandard prefix so that"
13994      echo "*** pkg-config is able to find it."
13995      exit 1
13996
13997  fi
13998
13999
14000
14001  # minimum supported version of pkg-config
14002  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14013	if test -n "$ac_tool_prefix"; then
14014  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14015set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14017$as_echo_n "checking for $ac_word... " >&6; }
14018if ${ac_cv_path_PKG_CONFIG+:} false; then :
14019  $as_echo_n "(cached) " >&6
14020else
14021  case $PKG_CONFIG in
14022  [\\/]* | ?:[\\/]*)
14023  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14024  ;;
14025  *)
14026  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14027for as_dir in $PATH
14028do
14029  IFS=$as_save_IFS
14030  test -z "$as_dir" && as_dir=.
14031    for ac_exec_ext in '' $ac_executable_extensions; do
14032  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14033    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14035    break 2
14036  fi
14037done
14038  done
14039IFS=$as_save_IFS
14040
14041  ;;
14042esac
14043fi
14044PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14045if test -n "$PKG_CONFIG"; then
14046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14047$as_echo "$PKG_CONFIG" >&6; }
14048else
14049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14050$as_echo "no" >&6; }
14051fi
14052
14053
14054fi
14055if test -z "$ac_cv_path_PKG_CONFIG"; then
14056  ac_pt_PKG_CONFIG=$PKG_CONFIG
14057  # Extract the first word of "pkg-config", so it can be a program name with args.
14058set dummy pkg-config; ac_word=$2
14059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14060$as_echo_n "checking for $ac_word... " >&6; }
14061if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14062  $as_echo_n "(cached) " >&6
14063else
14064  case $ac_pt_PKG_CONFIG in
14065  [\\/]* | ?:[\\/]*)
14066  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14067  ;;
14068  *)
14069  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14070for as_dir in $PATH
14071do
14072  IFS=$as_save_IFS
14073  test -z "$as_dir" && as_dir=.
14074    for ac_exec_ext in '' $ac_executable_extensions; do
14075  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14076    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14077    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14078    break 2
14079  fi
14080done
14081  done
14082IFS=$as_save_IFS
14083
14084  ;;
14085esac
14086fi
14087ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14088if test -n "$ac_pt_PKG_CONFIG"; then
14089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14090$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14091else
14092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14093$as_echo "no" >&6; }
14094fi
14095
14096  if test "x$ac_pt_PKG_CONFIG" = x; then
14097    PKG_CONFIG=""
14098  else
14099    case $cross_compiling:$ac_tool_warned in
14100yes:)
14101{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14102$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14103ac_tool_warned=yes ;;
14104esac
14105    PKG_CONFIG=$ac_pt_PKG_CONFIG
14106  fi
14107else
14108  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14109fi
14110
14111fi
14112if test -n "$PKG_CONFIG"; then
14113	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14114	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14115$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14116	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14117		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14118$as_echo "yes" >&6; }
14119	else
14120		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14121$as_echo "no" >&6; }
14122		PKG_CONFIG=""
14123	fi
14124fi
14125
14126      if test x"$PKG_CONFIG" = x""; then
14127        echo
14128        echo "*** Your version of pkg-config is too old. You need atleast"
14129        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14130        echo "*** from the freedesktop.org software repository at"
14131        echo "***"
14132        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14133        echo "***"
14134        exit 1;
14135      fi
14136
14137
14138
14139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.50.0" >&5
14140$as_echo_n "checking for gthread-2.0 >= 2.50.0... " >&6; }
14141  if $PKG_CONFIG "--atleast-version=2.50.0" "gthread-2.0" >/dev/null 2>&1; then
14142    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
14143    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
14144$as_echo "$GTHREAD_VERSION" >&6; }
14145
14146    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
14147$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
14148    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
14149    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
14150$as_echo "$GTHREAD_CFLAGS" >&6; }
14151
14152    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
14153$as_echo_n "checking GTHREAD_LIBS... " >&6; }
14154    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
14155    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
14156$as_echo "$GTHREAD_LIBS" >&6; }
14157
14158    GTHREAD_REQUIRED_VERSION=2.50.0
14159
14160
14161
14162
14163
14164
14165
14166  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
14167    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
14168    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14169$as_echo "found, but $xdt_cv_version" >&6; }
14170
14171
14172      echo "*** The required package gthread-2.0 was found on your system,"
14173      echo "*** but the installed version ($xdt_cv_version) is too old."
14174      echo "*** Please upgrade gthread-2.0 to atleast version 2.50.0, or adjust"
14175      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14176      echo "*** the new version of the package in a nonstandard prefix so"
14177      echo "*** pkg-config is able to find it."
14178      exit 1
14179
14180  else
14181    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14182$as_echo "not found" >&6; }
14183
14184
14185      echo "*** The required package gthread-2.0 was not found on your system."
14186      echo "*** Please install gthread-2.0 (atleast version 2.50.0) or adjust"
14187      echo "*** the PKG_CONFIG_PATH environment variable if you"
14188      echo "*** installed the package in a nonstandard prefix so that"
14189      echo "*** pkg-config is able to find it."
14190      exit 1
14191
14192  fi
14193
14194
14195
14196  # minimum supported version of pkg-config
14197  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14208	if test -n "$ac_tool_prefix"; then
14209  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14210set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14212$as_echo_n "checking for $ac_word... " >&6; }
14213if ${ac_cv_path_PKG_CONFIG+:} false; then :
14214  $as_echo_n "(cached) " >&6
14215else
14216  case $PKG_CONFIG in
14217  [\\/]* | ?:[\\/]*)
14218  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14219  ;;
14220  *)
14221  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222for as_dir in $PATH
14223do
14224  IFS=$as_save_IFS
14225  test -z "$as_dir" && as_dir=.
14226    for ac_exec_ext in '' $ac_executable_extensions; do
14227  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14228    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14229    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14230    break 2
14231  fi
14232done
14233  done
14234IFS=$as_save_IFS
14235
14236  ;;
14237esac
14238fi
14239PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14240if test -n "$PKG_CONFIG"; then
14241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14242$as_echo "$PKG_CONFIG" >&6; }
14243else
14244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245$as_echo "no" >&6; }
14246fi
14247
14248
14249fi
14250if test -z "$ac_cv_path_PKG_CONFIG"; then
14251  ac_pt_PKG_CONFIG=$PKG_CONFIG
14252  # Extract the first word of "pkg-config", so it can be a program name with args.
14253set dummy pkg-config; ac_word=$2
14254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255$as_echo_n "checking for $ac_word... " >&6; }
14256if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14257  $as_echo_n "(cached) " >&6
14258else
14259  case $ac_pt_PKG_CONFIG in
14260  [\\/]* | ?:[\\/]*)
14261  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14262  ;;
14263  *)
14264  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14265for as_dir in $PATH
14266do
14267  IFS=$as_save_IFS
14268  test -z "$as_dir" && as_dir=.
14269    for ac_exec_ext in '' $ac_executable_extensions; do
14270  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14271    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14272    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14273    break 2
14274  fi
14275done
14276  done
14277IFS=$as_save_IFS
14278
14279  ;;
14280esac
14281fi
14282ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14283if test -n "$ac_pt_PKG_CONFIG"; then
14284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14285$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14286else
14287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14288$as_echo "no" >&6; }
14289fi
14290
14291  if test "x$ac_pt_PKG_CONFIG" = x; then
14292    PKG_CONFIG=""
14293  else
14294    case $cross_compiling:$ac_tool_warned in
14295yes:)
14296{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14297$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14298ac_tool_warned=yes ;;
14299esac
14300    PKG_CONFIG=$ac_pt_PKG_CONFIG
14301  fi
14302else
14303  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14304fi
14305
14306fi
14307if test -n "$PKG_CONFIG"; then
14308	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14309	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14310$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14311	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14312		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14313$as_echo "yes" >&6; }
14314	else
14315		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14316$as_echo "no" >&6; }
14317		PKG_CONFIG=""
14318	fi
14319fi
14320
14321      if test x"$PKG_CONFIG" = x""; then
14322        echo
14323        echo "*** Your version of pkg-config is too old. You need atleast"
14324        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14325        echo "*** from the freedesktop.org software repository at"
14326        echo "***"
14327        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14328        echo "***"
14329        exit 1;
14330      fi
14331
14332
14333
14334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.50.0" >&5
14335$as_echo_n "checking for glib-2.0 >= 2.50.0... " >&6; }
14336  if $PKG_CONFIG "--atleast-version=2.50.0" "glib-2.0" >/dev/null 2>&1; then
14337    GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
14338    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
14339$as_echo "$GLIB_VERSION" >&6; }
14340
14341    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
14342$as_echo_n "checking GLIB_CFLAGS... " >&6; }
14343    GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
14344    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
14345$as_echo "$GLIB_CFLAGS" >&6; }
14346
14347    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
14348$as_echo_n "checking GLIB_LIBS... " >&6; }
14349    GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
14350    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
14351$as_echo "$GLIB_LIBS" >&6; }
14352
14353    GLIB_REQUIRED_VERSION=2.50.0
14354
14355
14356
14357
14358
14359
14360
14361  elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
14362    xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
14363    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14364$as_echo "found, but $xdt_cv_version" >&6; }
14365
14366
14367      echo "*** The required package glib-2.0 was found on your system,"
14368      echo "*** but the installed version ($xdt_cv_version) is too old."
14369      echo "*** Please upgrade glib-2.0 to atleast version 2.50.0, or adjust"
14370      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14371      echo "*** the new version of the package in a nonstandard prefix so"
14372      echo "*** pkg-config is able to find it."
14373      exit 1
14374
14375  else
14376    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14377$as_echo "not found" >&6; }
14378
14379
14380      echo "*** The required package glib-2.0 was not found on your system."
14381      echo "*** Please install glib-2.0 (atleast version 2.50.0) or adjust"
14382      echo "*** the PKG_CONFIG_PATH environment variable if you"
14383      echo "*** installed the package in a nonstandard prefix so that"
14384      echo "*** pkg-config is able to find it."
14385      exit 1
14386
14387  fi
14388
14389
14390
14391  # minimum supported version of pkg-config
14392  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14403	if test -n "$ac_tool_prefix"; then
14404  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14405set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14407$as_echo_n "checking for $ac_word... " >&6; }
14408if ${ac_cv_path_PKG_CONFIG+:} false; then :
14409  $as_echo_n "(cached) " >&6
14410else
14411  case $PKG_CONFIG in
14412  [\\/]* | ?:[\\/]*)
14413  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14414  ;;
14415  *)
14416  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14417for as_dir in $PATH
14418do
14419  IFS=$as_save_IFS
14420  test -z "$as_dir" && as_dir=.
14421    for ac_exec_ext in '' $ac_executable_extensions; do
14422  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14423    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14424    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14425    break 2
14426  fi
14427done
14428  done
14429IFS=$as_save_IFS
14430
14431  ;;
14432esac
14433fi
14434PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14435if test -n "$PKG_CONFIG"; then
14436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14437$as_echo "$PKG_CONFIG" >&6; }
14438else
14439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440$as_echo "no" >&6; }
14441fi
14442
14443
14444fi
14445if test -z "$ac_cv_path_PKG_CONFIG"; then
14446  ac_pt_PKG_CONFIG=$PKG_CONFIG
14447  # Extract the first word of "pkg-config", so it can be a program name with args.
14448set dummy pkg-config; ac_word=$2
14449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14450$as_echo_n "checking for $ac_word... " >&6; }
14451if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14452  $as_echo_n "(cached) " >&6
14453else
14454  case $ac_pt_PKG_CONFIG in
14455  [\\/]* | ?:[\\/]*)
14456  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14457  ;;
14458  *)
14459  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14460for as_dir in $PATH
14461do
14462  IFS=$as_save_IFS
14463  test -z "$as_dir" && as_dir=.
14464    for ac_exec_ext in '' $ac_executable_extensions; do
14465  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14466    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14468    break 2
14469  fi
14470done
14471  done
14472IFS=$as_save_IFS
14473
14474  ;;
14475esac
14476fi
14477ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14478if test -n "$ac_pt_PKG_CONFIG"; then
14479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14480$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14481else
14482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14483$as_echo "no" >&6; }
14484fi
14485
14486  if test "x$ac_pt_PKG_CONFIG" = x; then
14487    PKG_CONFIG=""
14488  else
14489    case $cross_compiling:$ac_tool_warned in
14490yes:)
14491{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14492$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14493ac_tool_warned=yes ;;
14494esac
14495    PKG_CONFIG=$ac_pt_PKG_CONFIG
14496  fi
14497else
14498  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14499fi
14500
14501fi
14502if test -n "$PKG_CONFIG"; then
14503	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14504	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14505$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14506	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14507		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14508$as_echo "yes" >&6; }
14509	else
14510		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14511$as_echo "no" >&6; }
14512		PKG_CONFIG=""
14513	fi
14514fi
14515
14516      if test x"$PKG_CONFIG" = x""; then
14517        echo
14518        echo "*** Your version of pkg-config is too old. You need atleast"
14519        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14520        echo "*** from the freedesktop.org software repository at"
14521        echo "***"
14522        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14523        echo "***"
14524        exit 1;
14525      fi
14526
14527
14528
14529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.12.0" >&5
14530$as_echo_n "checking for libxfce4util-1.0 >= 4.12.0... " >&6; }
14531  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4util-1.0" >/dev/null 2>&1; then
14532    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
14533    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
14534$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
14535
14536    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
14537$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
14538    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
14539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
14540$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
14541
14542    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
14543$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
14544    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
14545    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
14546$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
14547
14548    LIBXFCE4UTIL_REQUIRED_VERSION=4.12.0
14549
14550
14551
14552
14553
14554
14555
14556  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
14557    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
14558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14559$as_echo "found, but $xdt_cv_version" >&6; }
14560
14561
14562      echo "*** The required package libxfce4util-1.0 was found on your system,"
14563      echo "*** but the installed version ($xdt_cv_version) is too old."
14564      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.12.0, or adjust"
14565      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14566      echo "*** the new version of the package in a nonstandard prefix so"
14567      echo "*** pkg-config is able to find it."
14568      exit 1
14569
14570  else
14571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14572$as_echo "not found" >&6; }
14573
14574
14575      echo "*** The required package libxfce4util-1.0 was not found on your system."
14576      echo "*** Please install libxfce4util-1.0 (atleast version 4.12.0) or adjust"
14577      echo "*** the PKG_CONFIG_PATH environment variable if you"
14578      echo "*** installed the package in a nonstandard prefix so that"
14579      echo "*** pkg-config is able to find it."
14580      exit 1
14581
14582  fi
14583
14584
14585
14586  # minimum supported version of pkg-config
14587  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14598	if test -n "$ac_tool_prefix"; then
14599  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14600set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14602$as_echo_n "checking for $ac_word... " >&6; }
14603if ${ac_cv_path_PKG_CONFIG+:} false; then :
14604  $as_echo_n "(cached) " >&6
14605else
14606  case $PKG_CONFIG in
14607  [\\/]* | ?:[\\/]*)
14608  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14609  ;;
14610  *)
14611  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14612for as_dir in $PATH
14613do
14614  IFS=$as_save_IFS
14615  test -z "$as_dir" && as_dir=.
14616    for ac_exec_ext in '' $ac_executable_extensions; do
14617  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14618    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14619    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14620    break 2
14621  fi
14622done
14623  done
14624IFS=$as_save_IFS
14625
14626  ;;
14627esac
14628fi
14629PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14630if test -n "$PKG_CONFIG"; then
14631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14632$as_echo "$PKG_CONFIG" >&6; }
14633else
14634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14635$as_echo "no" >&6; }
14636fi
14637
14638
14639fi
14640if test -z "$ac_cv_path_PKG_CONFIG"; then
14641  ac_pt_PKG_CONFIG=$PKG_CONFIG
14642  # Extract the first word of "pkg-config", so it can be a program name with args.
14643set dummy pkg-config; ac_word=$2
14644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14645$as_echo_n "checking for $ac_word... " >&6; }
14646if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14647  $as_echo_n "(cached) " >&6
14648else
14649  case $ac_pt_PKG_CONFIG in
14650  [\\/]* | ?:[\\/]*)
14651  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14652  ;;
14653  *)
14654  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14655for as_dir in $PATH
14656do
14657  IFS=$as_save_IFS
14658  test -z "$as_dir" && as_dir=.
14659    for ac_exec_ext in '' $ac_executable_extensions; do
14660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14661    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14663    break 2
14664  fi
14665done
14666  done
14667IFS=$as_save_IFS
14668
14669  ;;
14670esac
14671fi
14672ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14673if test -n "$ac_pt_PKG_CONFIG"; then
14674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14675$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14676else
14677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14678$as_echo "no" >&6; }
14679fi
14680
14681  if test "x$ac_pt_PKG_CONFIG" = x; then
14682    PKG_CONFIG=""
14683  else
14684    case $cross_compiling:$ac_tool_warned in
14685yes:)
14686{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14687$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14688ac_tool_warned=yes ;;
14689esac
14690    PKG_CONFIG=$ac_pt_PKG_CONFIG
14691  fi
14692else
14693  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14694fi
14695
14696fi
14697if test -n "$PKG_CONFIG"; then
14698	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14699	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14700$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14701	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14702		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14703$as_echo "yes" >&6; }
14704	else
14705		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706$as_echo "no" >&6; }
14707		PKG_CONFIG=""
14708	fi
14709fi
14710
14711      if test x"$PKG_CONFIG" = x""; then
14712        echo
14713        echo "*** Your version of pkg-config is too old. You need atleast"
14714        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14715        echo "*** from the freedesktop.org software repository at"
14716        echo "***"
14717        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14718        echo "***"
14719        exit 1;
14720      fi
14721
14722
14723
14724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5
14725$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; }
14726  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then
14727    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14728    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14729$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14730
14731    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14732$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14733    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14734    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14735$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14736
14737    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14738$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14739    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14740    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14741$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14742
14743    LIBXFCE4UI_REQUIRED_VERSION=4.12.0
14744
14745
14746
14747
14748
14749
14750
14751  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14752    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14754$as_echo "found, but $xdt_cv_version" >&6; }
14755
14756
14757      echo "*** The required package libxfce4ui-2 was found on your system,"
14758      echo "*** but the installed version ($xdt_cv_version) is too old."
14759      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust"
14760      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14761      echo "*** the new version of the package in a nonstandard prefix so"
14762      echo "*** pkg-config is able to find it."
14763      exit 1
14764
14765  else
14766    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14767$as_echo "not found" >&6; }
14768
14769
14770      echo "*** The required package libxfce4ui-2 was not found on your system."
14771      echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust"
14772      echo "*** the PKG_CONFIG_PATH environment variable if you"
14773      echo "*** installed the package in a nonstandard prefix so that"
14774      echo "*** pkg-config is able to find it."
14775      exit 1
14776
14777  fi
14778
14779
14780
14781  # minimum supported version of pkg-config
14782  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14793	if test -n "$ac_tool_prefix"; then
14794  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14795set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14797$as_echo_n "checking for $ac_word... " >&6; }
14798if ${ac_cv_path_PKG_CONFIG+:} false; then :
14799  $as_echo_n "(cached) " >&6
14800else
14801  case $PKG_CONFIG in
14802  [\\/]* | ?:[\\/]*)
14803  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14804  ;;
14805  *)
14806  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14807for as_dir in $PATH
14808do
14809  IFS=$as_save_IFS
14810  test -z "$as_dir" && as_dir=.
14811    for ac_exec_ext in '' $ac_executable_extensions; do
14812  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14813    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14814    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14815    break 2
14816  fi
14817done
14818  done
14819IFS=$as_save_IFS
14820
14821  ;;
14822esac
14823fi
14824PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14825if test -n "$PKG_CONFIG"; then
14826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14827$as_echo "$PKG_CONFIG" >&6; }
14828else
14829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14830$as_echo "no" >&6; }
14831fi
14832
14833
14834fi
14835if test -z "$ac_cv_path_PKG_CONFIG"; then
14836  ac_pt_PKG_CONFIG=$PKG_CONFIG
14837  # Extract the first word of "pkg-config", so it can be a program name with args.
14838set dummy pkg-config; ac_word=$2
14839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14840$as_echo_n "checking for $ac_word... " >&6; }
14841if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14842  $as_echo_n "(cached) " >&6
14843else
14844  case $ac_pt_PKG_CONFIG in
14845  [\\/]* | ?:[\\/]*)
14846  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14847  ;;
14848  *)
14849  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14850for as_dir in $PATH
14851do
14852  IFS=$as_save_IFS
14853  test -z "$as_dir" && as_dir=.
14854    for ac_exec_ext in '' $ac_executable_extensions; do
14855  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14856    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14857    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14858    break 2
14859  fi
14860done
14861  done
14862IFS=$as_save_IFS
14863
14864  ;;
14865esac
14866fi
14867ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14868if test -n "$ac_pt_PKG_CONFIG"; then
14869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14870$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14871else
14872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14873$as_echo "no" >&6; }
14874fi
14875
14876  if test "x$ac_pt_PKG_CONFIG" = x; then
14877    PKG_CONFIG=""
14878  else
14879    case $cross_compiling:$ac_tool_warned in
14880yes:)
14881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14883ac_tool_warned=yes ;;
14884esac
14885    PKG_CONFIG=$ac_pt_PKG_CONFIG
14886  fi
14887else
14888  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14889fi
14890
14891fi
14892if test -n "$PKG_CONFIG"; then
14893	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14894	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14895$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14896	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14897		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14898$as_echo "yes" >&6; }
14899	else
14900		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14901$as_echo "no" >&6; }
14902		PKG_CONFIG=""
14903	fi
14904fi
14905
14906      if test x"$PKG_CONFIG" = x""; then
14907        echo
14908        echo "*** Your version of pkg-config is too old. You need atleast"
14909        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14910        echo "*** from the freedesktop.org software repository at"
14911        echo "***"
14912        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14913        echo "***"
14914        exit 1;
14915      fi
14916
14917
14918
14919  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.12.0" >&5
14920$as_echo_n "checking for libxfce4panel-2.0 >= 4.12.0... " >&6; }
14921  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4panel-2.0" >/dev/null 2>&1; then
14922    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14923    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
14924$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
14925
14926    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
14927$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
14928    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"`
14929    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
14930$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
14931
14932    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
14933$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
14934    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"`
14935    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
14936$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
14937
14938    LIBXFCE4PANEL_REQUIRED_VERSION=4.12.0
14939
14940
14941
14942
14943
14944
14945
14946  elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
14947    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14949$as_echo "found, but $xdt_cv_version" >&6; }
14950
14951
14952      echo "*** The required package libxfce4panel-2.0 was found on your system,"
14953      echo "*** but the installed version ($xdt_cv_version) is too old."
14954      echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.12.0, or adjust"
14955      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14956      echo "*** the new version of the package in a nonstandard prefix so"
14957      echo "*** pkg-config is able to find it."
14958      exit 1
14959
14960  else
14961    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14962$as_echo "not found" >&6; }
14963
14964
14965      echo "*** The required package libxfce4panel-2.0 was not found on your system."
14966      echo "*** Please install libxfce4panel-2.0 (atleast version 4.12.0) or adjust"
14967      echo "*** the PKG_CONFIG_PATH environment variable if you"
14968      echo "*** installed the package in a nonstandard prefix so that"
14969      echo "*** pkg-config is able to find it."
14970      exit 1
14971
14972  fi
14973
14974
14975
14976  # minimum supported version of pkg-config
14977  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14988	if test -n "$ac_tool_prefix"; then
14989  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14990set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14992$as_echo_n "checking for $ac_word... " >&6; }
14993if ${ac_cv_path_PKG_CONFIG+:} false; then :
14994  $as_echo_n "(cached) " >&6
14995else
14996  case $PKG_CONFIG in
14997  [\\/]* | ?:[\\/]*)
14998  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14999  ;;
15000  *)
15001  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15002for as_dir in $PATH
15003do
15004  IFS=$as_save_IFS
15005  test -z "$as_dir" && as_dir=.
15006    for ac_exec_ext in '' $ac_executable_extensions; do
15007  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15008    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15010    break 2
15011  fi
15012done
15013  done
15014IFS=$as_save_IFS
15015
15016  ;;
15017esac
15018fi
15019PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15020if test -n "$PKG_CONFIG"; then
15021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15022$as_echo "$PKG_CONFIG" >&6; }
15023else
15024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15025$as_echo "no" >&6; }
15026fi
15027
15028
15029fi
15030if test -z "$ac_cv_path_PKG_CONFIG"; then
15031  ac_pt_PKG_CONFIG=$PKG_CONFIG
15032  # Extract the first word of "pkg-config", so it can be a program name with args.
15033set dummy pkg-config; ac_word=$2
15034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15035$as_echo_n "checking for $ac_word... " >&6; }
15036if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15037  $as_echo_n "(cached) " >&6
15038else
15039  case $ac_pt_PKG_CONFIG in
15040  [\\/]* | ?:[\\/]*)
15041  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15042  ;;
15043  *)
15044  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15045for as_dir in $PATH
15046do
15047  IFS=$as_save_IFS
15048  test -z "$as_dir" && as_dir=.
15049    for ac_exec_ext in '' $ac_executable_extensions; do
15050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15051    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15053    break 2
15054  fi
15055done
15056  done
15057IFS=$as_save_IFS
15058
15059  ;;
15060esac
15061fi
15062ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15063if test -n "$ac_pt_PKG_CONFIG"; then
15064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15065$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15066else
15067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15068$as_echo "no" >&6; }
15069fi
15070
15071  if test "x$ac_pt_PKG_CONFIG" = x; then
15072    PKG_CONFIG=""
15073  else
15074    case $cross_compiling:$ac_tool_warned in
15075yes:)
15076{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15077$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15078ac_tool_warned=yes ;;
15079esac
15080    PKG_CONFIG=$ac_pt_PKG_CONFIG
15081  fi
15082else
15083  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15084fi
15085
15086fi
15087if test -n "$PKG_CONFIG"; then
15088	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15089	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15090$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15091	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15092		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15093$as_echo "yes" >&6; }
15094	else
15095		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15096$as_echo "no" >&6; }
15097		PKG_CONFIG=""
15098	fi
15099fi
15100
15101      if test x"$PKG_CONFIG" = x""; then
15102        echo
15103        echo "*** Your version of pkg-config is too old. You need atleast"
15104        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15105        echo "*** from the freedesktop.org software repository at"
15106        echo "***"
15107        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15108        echo "***"
15109        exit 1;
15110      fi
15111
15112
15113
15114  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.12.0" >&5
15115$as_echo_n "checking for libxfconf-0 >= 4.12.0... " >&6; }
15116  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfconf-0" >/dev/null 2>&1; then
15117    XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"`
15118    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5
15119$as_echo "$XFCONF_VERSION" >&6; }
15120
15121    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5
15122$as_echo_n "checking XFCONF_CFLAGS... " >&6; }
15123    XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"`
15124    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5
15125$as_echo "$XFCONF_CFLAGS" >&6; }
15126
15127    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5
15128$as_echo_n "checking XFCONF_LIBS... " >&6; }
15129    XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"`
15130    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5
15131$as_echo "$XFCONF_LIBS" >&6; }
15132
15133    XFCONF_REQUIRED_VERSION=4.12.0
15134
15135
15136
15137
15138
15139
15140
15141  elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then
15142    xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"`
15143    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15144$as_echo "found, but $xdt_cv_version" >&6; }
15145
15146
15147      echo "*** The required package libxfconf-0 was found on your system,"
15148      echo "*** but the installed version ($xdt_cv_version) is too old."
15149      echo "*** Please upgrade libxfconf-0 to atleast version 4.12.0, or adjust"
15150      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15151      echo "*** the new version of the package in a nonstandard prefix so"
15152      echo "*** pkg-config is able to find it."
15153      exit 1
15154
15155  else
15156    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15157$as_echo "not found" >&6; }
15158
15159
15160      echo "*** The required package libxfconf-0 was not found on your system."
15161      echo "*** Please install libxfconf-0 (atleast version 4.12.0) or adjust"
15162      echo "*** the PKG_CONFIG_PATH environment variable if you"
15163      echo "*** installed the package in a nonstandard prefix so that"
15164      echo "*** pkg-config is able to find it."
15165      exit 1
15166
15167  fi
15168
15169
15170
15171  # minimum supported version of pkg-config
15172  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15183	if test -n "$ac_tool_prefix"; then
15184  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15185set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15187$as_echo_n "checking for $ac_word... " >&6; }
15188if ${ac_cv_path_PKG_CONFIG+:} false; then :
15189  $as_echo_n "(cached) " >&6
15190else
15191  case $PKG_CONFIG in
15192  [\\/]* | ?:[\\/]*)
15193  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15194  ;;
15195  *)
15196  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197for as_dir in $PATH
15198do
15199  IFS=$as_save_IFS
15200  test -z "$as_dir" && as_dir=.
15201    for ac_exec_ext in '' $ac_executable_extensions; do
15202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15203    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15205    break 2
15206  fi
15207done
15208  done
15209IFS=$as_save_IFS
15210
15211  ;;
15212esac
15213fi
15214PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15215if test -n "$PKG_CONFIG"; then
15216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15217$as_echo "$PKG_CONFIG" >&6; }
15218else
15219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15220$as_echo "no" >&6; }
15221fi
15222
15223
15224fi
15225if test -z "$ac_cv_path_PKG_CONFIG"; then
15226  ac_pt_PKG_CONFIG=$PKG_CONFIG
15227  # Extract the first word of "pkg-config", so it can be a program name with args.
15228set dummy pkg-config; ac_word=$2
15229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15230$as_echo_n "checking for $ac_word... " >&6; }
15231if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15232  $as_echo_n "(cached) " >&6
15233else
15234  case $ac_pt_PKG_CONFIG in
15235  [\\/]* | ?:[\\/]*)
15236  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15237  ;;
15238  *)
15239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15240for as_dir in $PATH
15241do
15242  IFS=$as_save_IFS
15243  test -z "$as_dir" && as_dir=.
15244    for ac_exec_ext in '' $ac_executable_extensions; do
15245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15246    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15248    break 2
15249  fi
15250done
15251  done
15252IFS=$as_save_IFS
15253
15254  ;;
15255esac
15256fi
15257ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15258if test -n "$ac_pt_PKG_CONFIG"; then
15259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15260$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15261else
15262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15263$as_echo "no" >&6; }
15264fi
15265
15266  if test "x$ac_pt_PKG_CONFIG" = x; then
15267    PKG_CONFIG=""
15268  else
15269    case $cross_compiling:$ac_tool_warned in
15270yes:)
15271{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15272$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15273ac_tool_warned=yes ;;
15274esac
15275    PKG_CONFIG=$ac_pt_PKG_CONFIG
15276  fi
15277else
15278  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15279fi
15280
15281fi
15282if test -n "$PKG_CONFIG"; then
15283	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15284	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15285$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15286	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15287		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15288$as_echo "yes" >&6; }
15289	else
15290		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15291$as_echo "no" >&6; }
15292		PKG_CONFIG=""
15293	fi
15294fi
15295
15296      if test x"$PKG_CONFIG" = x""; then
15297        echo
15298        echo "*** Your version of pkg-config is too old. You need atleast"
15299        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15300        echo "*** from the freedesktop.org software repository at"
15301        echo "***"
15302        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15303        echo "***"
15304        exit 1;
15305      fi
15306
15307
15308
15309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.4.0" >&5
15310$as_echo_n "checking for libxml-2.0 >= 2.4.0... " >&6; }
15311  if $PKG_CONFIG "--atleast-version=2.4.0" "libxml-2.0" >/dev/null 2>&1; then
15312    LIBXML_VERSION=`$PKG_CONFIG --modversion "libxml-2.0"`
15313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_VERSION" >&5
15314$as_echo "$LIBXML_VERSION" >&6; }
15315
15316    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_CFLAGS" >&5
15317$as_echo_n "checking LIBXML_CFLAGS... " >&6; }
15318    LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0"`
15319    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_CFLAGS" >&5
15320$as_echo "$LIBXML_CFLAGS" >&6; }
15321
15322    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_LIBS" >&5
15323$as_echo_n "checking LIBXML_LIBS... " >&6; }
15324    LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0"`
15325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_LIBS" >&5
15326$as_echo "$LIBXML_LIBS" >&6; }
15327
15328    LIBXML_REQUIRED_VERSION=2.4.0
15329
15330
15331
15332
15333
15334
15335
15336  elif $PKG_CONFIG --exists "libxml-2.0" >/dev/null 2>&1; then
15337    xdt_cv_version=`$PKG_CONFIG --modversion "libxml-2.0"`
15338    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15339$as_echo "found, but $xdt_cv_version" >&6; }
15340
15341
15342      echo "*** The required package libxml-2.0 was found on your system,"
15343      echo "*** but the installed version ($xdt_cv_version) is too old."
15344      echo "*** Please upgrade libxml-2.0 to atleast version 2.4.0, or adjust"
15345      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15346      echo "*** the new version of the package in a nonstandard prefix so"
15347      echo "*** pkg-config is able to find it."
15348      exit 1
15349
15350  else
15351    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15352$as_echo "not found" >&6; }
15353
15354
15355      echo "*** The required package libxml-2.0 was not found on your system."
15356      echo "*** Please install libxml-2.0 (atleast version 2.4.0) or adjust"
15357      echo "*** the PKG_CONFIG_PATH environment variable if you"
15358      echo "*** installed the package in a nonstandard prefix so that"
15359      echo "*** pkg-config is able to find it."
15360      exit 1
15361
15362  fi
15363
15364
15365
15366  # minimum supported version of pkg-config
15367  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15378	if test -n "$ac_tool_prefix"; then
15379  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15380set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15382$as_echo_n "checking for $ac_word... " >&6; }
15383if ${ac_cv_path_PKG_CONFIG+:} false; then :
15384  $as_echo_n "(cached) " >&6
15385else
15386  case $PKG_CONFIG in
15387  [\\/]* | ?:[\\/]*)
15388  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15389  ;;
15390  *)
15391  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15392for as_dir in $PATH
15393do
15394  IFS=$as_save_IFS
15395  test -z "$as_dir" && as_dir=.
15396    for ac_exec_ext in '' $ac_executable_extensions; do
15397  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15398    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15399    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15400    break 2
15401  fi
15402done
15403  done
15404IFS=$as_save_IFS
15405
15406  ;;
15407esac
15408fi
15409PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15410if test -n "$PKG_CONFIG"; then
15411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15412$as_echo "$PKG_CONFIG" >&6; }
15413else
15414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15415$as_echo "no" >&6; }
15416fi
15417
15418
15419fi
15420if test -z "$ac_cv_path_PKG_CONFIG"; then
15421  ac_pt_PKG_CONFIG=$PKG_CONFIG
15422  # Extract the first word of "pkg-config", so it can be a program name with args.
15423set dummy pkg-config; ac_word=$2
15424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15425$as_echo_n "checking for $ac_word... " >&6; }
15426if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15427  $as_echo_n "(cached) " >&6
15428else
15429  case $ac_pt_PKG_CONFIG in
15430  [\\/]* | ?:[\\/]*)
15431  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15432  ;;
15433  *)
15434  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15435for as_dir in $PATH
15436do
15437  IFS=$as_save_IFS
15438  test -z "$as_dir" && as_dir=.
15439    for ac_exec_ext in '' $ac_executable_extensions; do
15440  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15441    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15442    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15443    break 2
15444  fi
15445done
15446  done
15447IFS=$as_save_IFS
15448
15449  ;;
15450esac
15451fi
15452ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15453if test -n "$ac_pt_PKG_CONFIG"; then
15454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15455$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15456else
15457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15458$as_echo "no" >&6; }
15459fi
15460
15461  if test "x$ac_pt_PKG_CONFIG" = x; then
15462    PKG_CONFIG=""
15463  else
15464    case $cross_compiling:$ac_tool_warned in
15465yes:)
15466{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15467$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15468ac_tool_warned=yes ;;
15469esac
15470    PKG_CONFIG=$ac_pt_PKG_CONFIG
15471  fi
15472else
15473  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15474fi
15475
15476fi
15477if test -n "$PKG_CONFIG"; then
15478	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15479	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15480$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15481	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15482		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15483$as_echo "yes" >&6; }
15484	else
15485		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15486$as_echo "no" >&6; }
15487		PKG_CONFIG=""
15488	fi
15489fi
15490
15491      if test x"$PKG_CONFIG" = x""; then
15492        echo
15493        echo "*** Your version of pkg-config is too old. You need atleast"
15494        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15495        echo "*** from the freedesktop.org software repository at"
15496        echo "***"
15497        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15498        echo "***"
15499        exit 1;
15500      fi
15501
15502
15503
15504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsoup-2.4 >= 2.42.0" >&5
15505$as_echo_n "checking for libsoup-2.4 >= 2.42.0... " >&6; }
15506  if $PKG_CONFIG "--atleast-version=2.42.0" "libsoup-2.4" >/dev/null 2>&1; then
15507    SOUP_VERSION=`$PKG_CONFIG --modversion "libsoup-2.4"`
15508    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOUP_VERSION" >&5
15509$as_echo "$SOUP_VERSION" >&6; }
15510
15511    { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOUP_CFLAGS" >&5
15512$as_echo_n "checking SOUP_CFLAGS... " >&6; }
15513    SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4"`
15514    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOUP_CFLAGS" >&5
15515$as_echo "$SOUP_CFLAGS" >&6; }
15516
15517    { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOUP_LIBS" >&5
15518$as_echo_n "checking SOUP_LIBS... " >&6; }
15519    SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4"`
15520    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOUP_LIBS" >&5
15521$as_echo "$SOUP_LIBS" >&6; }
15522
15523    SOUP_REQUIRED_VERSION=2.42.0
15524
15525
15526
15527
15528
15529
15530
15531  elif $PKG_CONFIG --exists "libsoup-2.4" >/dev/null 2>&1; then
15532    xdt_cv_version=`$PKG_CONFIG --modversion "libsoup-2.4"`
15533    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15534$as_echo "found, but $xdt_cv_version" >&6; }
15535
15536
15537      echo "*** The required package libsoup-2.4 was found on your system,"
15538      echo "*** but the installed version ($xdt_cv_version) is too old."
15539      echo "*** Please upgrade libsoup-2.4 to atleast version 2.42.0, or adjust"
15540      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15541      echo "*** the new version of the package in a nonstandard prefix so"
15542      echo "*** pkg-config is able to find it."
15543      exit 1
15544
15545  else
15546    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15547$as_echo "not found" >&6; }
15548
15549
15550      echo "*** The required package libsoup-2.4 was not found on your system."
15551      echo "*** Please install libsoup-2.4 (atleast version 2.42.0) or adjust"
15552      echo "*** the PKG_CONFIG_PATH environment variable if you"
15553      echo "*** installed the package in a nonstandard prefix so that"
15554      echo "*** pkg-config is able to find it."
15555      exit 1
15556
15557  fi
15558
15559
15560
15561
15562  # Check whether --enable-upower was given.
15563if test "${enable_upower+set}" = set; then :
15564  enableval=$enable_upower; xdt_cv_UPOWER_GLIB_check=$enableval
15565else
15566  xdt_cv_UPOWER_GLIB_check=yes
15567fi
15568
15569
15570  if test x"$xdt_cv_UPOWER_GLIB_check" = x"yes"; then
15571    if $PKG_CONFIG --exists "upower-glib >= 0.9.0" >/dev/null 2>&1; then
15572
15573
15574  # minimum supported version of pkg-config
15575  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15586	if test -n "$ac_tool_prefix"; then
15587  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15588set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15590$as_echo_n "checking for $ac_word... " >&6; }
15591if ${ac_cv_path_PKG_CONFIG+:} false; then :
15592  $as_echo_n "(cached) " >&6
15593else
15594  case $PKG_CONFIG in
15595  [\\/]* | ?:[\\/]*)
15596  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15597  ;;
15598  *)
15599  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15600for as_dir in $PATH
15601do
15602  IFS=$as_save_IFS
15603  test -z "$as_dir" && as_dir=.
15604    for ac_exec_ext in '' $ac_executable_extensions; do
15605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15606    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15608    break 2
15609  fi
15610done
15611  done
15612IFS=$as_save_IFS
15613
15614  ;;
15615esac
15616fi
15617PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15618if test -n "$PKG_CONFIG"; then
15619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15620$as_echo "$PKG_CONFIG" >&6; }
15621else
15622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15623$as_echo "no" >&6; }
15624fi
15625
15626
15627fi
15628if test -z "$ac_cv_path_PKG_CONFIG"; then
15629  ac_pt_PKG_CONFIG=$PKG_CONFIG
15630  # Extract the first word of "pkg-config", so it can be a program name with args.
15631set dummy pkg-config; ac_word=$2
15632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15633$as_echo_n "checking for $ac_word... " >&6; }
15634if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15635  $as_echo_n "(cached) " >&6
15636else
15637  case $ac_pt_PKG_CONFIG in
15638  [\\/]* | ?:[\\/]*)
15639  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15640  ;;
15641  *)
15642  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15643for as_dir in $PATH
15644do
15645  IFS=$as_save_IFS
15646  test -z "$as_dir" && as_dir=.
15647    for ac_exec_ext in '' $ac_executable_extensions; do
15648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15649    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15651    break 2
15652  fi
15653done
15654  done
15655IFS=$as_save_IFS
15656
15657  ;;
15658esac
15659fi
15660ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15661if test -n "$ac_pt_PKG_CONFIG"; then
15662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15663$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15664else
15665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15666$as_echo "no" >&6; }
15667fi
15668
15669  if test "x$ac_pt_PKG_CONFIG" = x; then
15670    PKG_CONFIG=""
15671  else
15672    case $cross_compiling:$ac_tool_warned in
15673yes:)
15674{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15675$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15676ac_tool_warned=yes ;;
15677esac
15678    PKG_CONFIG=$ac_pt_PKG_CONFIG
15679  fi
15680else
15681  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15682fi
15683
15684fi
15685if test -n "$PKG_CONFIG"; then
15686	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15687	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15688$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15689	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15690		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15691$as_echo "yes" >&6; }
15692	else
15693		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15694$as_echo "no" >&6; }
15695		PKG_CONFIG=""
15696	fi
15697fi
15698
15699      if test x"$PKG_CONFIG" = x""; then
15700        echo
15701        echo "*** Your version of pkg-config is too old. You need atleast"
15702        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15703        echo "*** from the freedesktop.org software repository at"
15704        echo "***"
15705        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15706        echo "***"
15707        exit 1;
15708      fi
15709
15710
15711
15712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for upower-glib >= 0.9.0" >&5
15713$as_echo_n "checking for upower-glib >= 0.9.0... " >&6; }
15714  if $PKG_CONFIG "--atleast-version=0.9.0" "upower-glib" >/dev/null 2>&1; then
15715    UPOWER_GLIB_VERSION=`$PKG_CONFIG --modversion "upower-glib"`
15716    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPOWER_GLIB_VERSION" >&5
15717$as_echo "$UPOWER_GLIB_VERSION" >&6; }
15718
15719    { $as_echo "$as_me:${as_lineno-$LINENO}: checking UPOWER_GLIB_CFLAGS" >&5
15720$as_echo_n "checking UPOWER_GLIB_CFLAGS... " >&6; }
15721    UPOWER_GLIB_CFLAGS=`$PKG_CONFIG --cflags "upower-glib"`
15722    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPOWER_GLIB_CFLAGS" >&5
15723$as_echo "$UPOWER_GLIB_CFLAGS" >&6; }
15724
15725    { $as_echo "$as_me:${as_lineno-$LINENO}: checking UPOWER_GLIB_LIBS" >&5
15726$as_echo_n "checking UPOWER_GLIB_LIBS... " >&6; }
15727    UPOWER_GLIB_LIBS=`$PKG_CONFIG --libs "upower-glib"`
15728    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPOWER_GLIB_LIBS" >&5
15729$as_echo "$UPOWER_GLIB_LIBS" >&6; }
15730
15731    UPOWER_GLIB_REQUIRED_VERSION=0.9.0
15732
15733
15734
15735
15736
15737
15738
15739
15740$as_echo "#define HAVE_UPOWER_GLIB 1" >>confdefs.h
15741
15742        UPOWER_GLIB_FOUND="yes"
15743
15744  elif $PKG_CONFIG --exists "upower-glib" >/dev/null 2>&1; then
15745    xdt_cv_version=`$PKG_CONFIG --modversion "upower-glib"`
15746    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15747$as_echo "found, but $xdt_cv_version" >&6; }
15748
15749
15750      echo "*** The required package upower-glib was found on your system,"
15751      echo "*** but the installed version ($xdt_cv_version) is too old."
15752      echo "*** Please upgrade upower-glib to atleast version 0.9.0, or adjust"
15753      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15754      echo "*** the new version of the package in a nonstandard prefix so"
15755      echo "*** pkg-config is able to find it."
15756      exit 1
15757
15758  else
15759    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15760$as_echo "not found" >&6; }
15761
15762
15763      echo "*** The required package upower-glib was not found on your system."
15764      echo "*** Please install upower-glib (atleast version 0.9.0) or adjust"
15765      echo "*** the PKG_CONFIG_PATH environment variable if you"
15766      echo "*** installed the package in a nonstandard prefix so that"
15767      echo "*** pkg-config is able to find it."
15768      exit 1
15769
15770  fi
15771
15772    else
15773      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package upower-glib >= 0.9.0" >&5
15774$as_echo_n "checking for optional package upower-glib >= 0.9.0... " >&6; }
15775      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15776$as_echo "not found" >&6; }
15777    fi
15778  else
15779    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package upower-glib" >&5
15780$as_echo_n "checking for optional package upower-glib... " >&6; }
15781    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15782$as_echo "disabled" >&6; }
15783  fi
15784
15785   if test x"$UPOWER_GLIB_FOUND" = x"yes"; then
15786  HAVE_UPOWER_GLIB_TRUE=
15787  HAVE_UPOWER_GLIB_FALSE='#'
15788else
15789  HAVE_UPOWER_GLIB_TRUE='#'
15790  HAVE_UPOWER_GLIB_FALSE=
15791fi
15792
15793
15794
15795
15796
15797if test "x$GEONAMES_USERNAME" = x; then :
15798  GEONAMES_USERNAME="xfce4weatherplugin"
15799fi
15800
15801
15802
15803    # Check whether --enable-debug was given.
15804if test "${enable_debug+set}" = set; then :
15805  enableval=$enable_debug; enable_debug=$enableval
15806else
15807  enable_debug=minimum
15808fi
15809
15810
15811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
15812$as_echo_n "checking whether to build with debugging support... " >&6; }
15813  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
15814
15815$as_echo "#define DEBUG 1" >>confdefs.h
15816
15817
15818    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
15819                              -Wall -Wextra \
15820                              -Wno-missing-field-initializers \
15821                              -Wno-unused-parameter -Wold-style-definition \
15822                              -Wdeclaration-after-statement \
15823                              -Wmissing-declarations \
15824                              -Wmissing-noreturn -Wpointer-arith \
15825                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
15826                              -Winit-self -Wmissing-include-dirs -Wundef \
15827                              -Wnested-externs"
15828    CPPFLAGS="$CPPFLAGS"
15829
15830    if test x`uname` = x"Linux"; then
15831      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
15832    fi
15833
15834        if test x`uname` != x"OpenBSD"; then
15835      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
15836    fi
15837
15838    if test x"$enable_debug" = x"full"; then
15839
15840$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
15841
15842      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
15843      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
15844      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
15845$as_echo "full" >&6; }
15846    else
15847      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
15848      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15849$as_echo "yes" >&6; }
15850    fi
15851
15852
15853  for flag in $xdt_cv_additional_CFLAGS; do
15854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
15855$as_echo_n "checking if $CC supports $flag... " >&6; }
15856    saved_CFLAGS="$CFLAGS"
15857    CFLAGS="$CFLAGS $flag"
15858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15859/* end confdefs.h.  */
15860
15861_ACEOF
15862if ac_fn_c_try_compile "$LINENO"; then :
15863  flag_supported=yes
15864else
15865  flag_supported=no
15866fi
15867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15868    CFLAGS="$saved_CFLAGS"
15869    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
15870$as_echo "$flag_supported" >&6; }
15871
15872    if test "x$flag_supported" = "xyes"; then
15873      supported_CFLAGS="$supported_CFLAGS $flag"
15874    fi
15875  done
15876
15877
15878
15879                                                supported_CXXFLAGS="$supported_CFLAGS"
15880
15881
15882    CFLAGS="$CFLAGS $supported_CFLAGS"
15883    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
15884  else
15885    CPPFLAGS="$CPPFLAGS -DNDEBUG"
15886
15887    if test x"$enable_debug" = x"no"; then
15888      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
15889      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15890$as_echo "no" >&6; }
15891    else
15892      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
15893$as_echo "minimum" >&6; }
15894    fi
15895  fi
15896
15897
15898ac_config_files="$ac_config_files Makefile panel-plugin/Makefile po/Makefile.in icons/Makefile icons/liquid/Makefile icons/liquid/22/Makefile icons/liquid/48/Makefile icons/liquid/128/Makefile icons/liquid-dark/Makefile icons/liquid-dark/22/Makefile icons/liquid-dark/48/Makefile icons/liquid-dark/128/Makefile icons/simplistic/Makefile icons/simplistic/22/Makefile icons/simplistic/48/Makefile icons/simplistic/128/Makefile icons/48x48/Makefile"
15899
15900cat >confcache <<\_ACEOF
15901# This file is a shell script that caches the results of configure
15902# tests run on this system so they can be shared between configure
15903# scripts and configure runs, see configure's option --config-cache.
15904# It is not useful on other systems.  If it contains results you don't
15905# want to keep, you may remove or edit it.
15906#
15907# config.status only pays attention to the cache file if you give it
15908# the --recheck option to rerun configure.
15909#
15910# `ac_cv_env_foo' variables (set or unset) will be overridden when
15911# loading this file, other *unset* `ac_cv_foo' will be assigned the
15912# following values.
15913
15914_ACEOF
15915
15916# The following way of writing the cache mishandles newlines in values,
15917# but we know of no workaround that is simple, portable, and efficient.
15918# So, we kill variables containing newlines.
15919# Ultrix sh set writes to stderr and can't be redirected directly,
15920# and sets the high bit in the cache file unless we assign to the vars.
15921(
15922  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15923    eval ac_val=\$$ac_var
15924    case $ac_val in #(
15925    *${as_nl}*)
15926      case $ac_var in #(
15927      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15928$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15929      esac
15930      case $ac_var in #(
15931      _ | IFS | as_nl) ;; #(
15932      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15933      *) { eval $ac_var=; unset $ac_var;} ;;
15934      esac ;;
15935    esac
15936  done
15937
15938  (set) 2>&1 |
15939    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15940    *${as_nl}ac_space=\ *)
15941      # `set' does not quote correctly, so add quotes: double-quote
15942      # substitution turns \\\\ into \\, and sed turns \\ into \.
15943      sed -n \
15944	"s/'/'\\\\''/g;
15945	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15946      ;; #(
15947    *)
15948      # `set' quotes correctly as required by POSIX, so do not add quotes.
15949      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15950      ;;
15951    esac |
15952    sort
15953) |
15954  sed '
15955     /^ac_cv_env_/b end
15956     t clear
15957     :clear
15958     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15959     t end
15960     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15961     :end' >>confcache
15962if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15963  if test -w "$cache_file"; then
15964    if test "x$cache_file" != "x/dev/null"; then
15965      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15966$as_echo "$as_me: updating cache $cache_file" >&6;}
15967      if test ! -f "$cache_file" || test -h "$cache_file"; then
15968	cat confcache >"$cache_file"
15969      else
15970        case $cache_file in #(
15971        */* | ?:*)
15972	  mv -f confcache "$cache_file"$$ &&
15973	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15974        *)
15975	  mv -f confcache "$cache_file" ;;
15976	esac
15977      fi
15978    fi
15979  else
15980    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15981$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15982  fi
15983fi
15984rm -f confcache
15985
15986test "x$prefix" = xNONE && prefix=$ac_default_prefix
15987# Let make expand exec_prefix.
15988test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15989
15990DEFS=-DHAVE_CONFIG_H
15991
15992ac_libobjs=
15993ac_ltlibobjs=
15994U=
15995for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15996  # 1. Remove the extension, and $U if already installed.
15997  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15998  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15999  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16000  #    will be set to the directory where LIBOBJS objects are built.
16001  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16002  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16003done
16004LIBOBJS=$ac_libobjs
16005
16006LTLIBOBJS=$ac_ltlibobjs
16007
16008
16009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16010$as_echo_n "checking that generated files are newer than configure... " >&6; }
16011   if test -n "$am_sleep_pid"; then
16012     # Hide warnings about reused PIDs.
16013     wait $am_sleep_pid 2>/dev/null
16014   fi
16015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16016$as_echo "done" >&6; }
16017 if test -n "$EXEEXT"; then
16018  am__EXEEXT_TRUE=
16019  am__EXEEXT_FALSE='#'
16020else
16021  am__EXEEXT_TRUE='#'
16022  am__EXEEXT_FALSE=
16023fi
16024
16025if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16026  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16027Usually this means the macro was only invoked conditionally." "$LINENO" 5
16028fi
16029if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16030  as_fn_error $? "conditional \"AMDEP\" was never defined.
16031Usually this means the macro was only invoked conditionally." "$LINENO" 5
16032fi
16033if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16034  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16035Usually this means the macro was only invoked conditionally." "$LINENO" 5
16036fi
16037
16038  ac_config_commands="$ac_config_commands po/stamp-it"
16039
16040
16041if test -z "${HAVE_UPOWER_GLIB_TRUE}" && test -z "${HAVE_UPOWER_GLIB_FALSE}"; then
16042  as_fn_error $? "conditional \"HAVE_UPOWER_GLIB\" was never defined.
16043Usually this means the macro was only invoked conditionally." "$LINENO" 5
16044fi
16045
16046: "${CONFIG_STATUS=./config.status}"
16047ac_write_fail=0
16048ac_clean_files_save=$ac_clean_files
16049ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16050{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16051$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16052as_write_fail=0
16053cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16054#! $SHELL
16055# Generated by $as_me.
16056# Run this file to recreate the current configuration.
16057# Compiler output produced by configure, useful for debugging
16058# configure, is in config.log if it exists.
16059
16060debug=false
16061ac_cs_recheck=false
16062ac_cs_silent=false
16063
16064SHELL=\${CONFIG_SHELL-$SHELL}
16065export SHELL
16066_ASEOF
16067cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16068## -------------------- ##
16069## M4sh Initialization. ##
16070## -------------------- ##
16071
16072# Be more Bourne compatible
16073DUALCASE=1; export DUALCASE # for MKS sh
16074if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16075  emulate sh
16076  NULLCMD=:
16077  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16078  # is contrary to our usage.  Disable this feature.
16079  alias -g '${1+"$@"}'='"$@"'
16080  setopt NO_GLOB_SUBST
16081else
16082  case `(set -o) 2>/dev/null` in #(
16083  *posix*) :
16084    set -o posix ;; #(
16085  *) :
16086     ;;
16087esac
16088fi
16089
16090
16091as_nl='
16092'
16093export as_nl
16094# Printing a long string crashes Solaris 7 /usr/bin/printf.
16095as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16096as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16097as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16098# Prefer a ksh shell builtin over an external printf program on Solaris,
16099# but without wasting forks for bash or zsh.
16100if test -z "$BASH_VERSION$ZSH_VERSION" \
16101    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16102  as_echo='print -r --'
16103  as_echo_n='print -rn --'
16104elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16105  as_echo='printf %s\n'
16106  as_echo_n='printf %s'
16107else
16108  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16109    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16110    as_echo_n='/usr/ucb/echo -n'
16111  else
16112    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16113    as_echo_n_body='eval
16114      arg=$1;
16115      case $arg in #(
16116      *"$as_nl"*)
16117	expr "X$arg" : "X\\(.*\\)$as_nl";
16118	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16119      esac;
16120      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16121    '
16122    export as_echo_n_body
16123    as_echo_n='sh -c $as_echo_n_body as_echo'
16124  fi
16125  export as_echo_body
16126  as_echo='sh -c $as_echo_body as_echo'
16127fi
16128
16129# The user is always right.
16130if test "${PATH_SEPARATOR+set}" != set; then
16131  PATH_SEPARATOR=:
16132  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16133    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16134      PATH_SEPARATOR=';'
16135  }
16136fi
16137
16138
16139# IFS
16140# We need space, tab and new line, in precisely that order.  Quoting is
16141# there to prevent editors from complaining about space-tab.
16142# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16143# splitting by setting IFS to empty value.)
16144IFS=" ""	$as_nl"
16145
16146# Find who we are.  Look in the path if we contain no directory separator.
16147as_myself=
16148case $0 in #((
16149  *[\\/]* ) as_myself=$0 ;;
16150  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16151for as_dir in $PATH
16152do
16153  IFS=$as_save_IFS
16154  test -z "$as_dir" && as_dir=.
16155    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16156  done
16157IFS=$as_save_IFS
16158
16159     ;;
16160esac
16161# We did not find ourselves, most probably we were run as `sh COMMAND'
16162# in which case we are not to be found in the path.
16163if test "x$as_myself" = x; then
16164  as_myself=$0
16165fi
16166if test ! -f "$as_myself"; then
16167  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16168  exit 1
16169fi
16170
16171# Unset variables that we do not need and which cause bugs (e.g. in
16172# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16173# suppresses any "Segmentation fault" message there.  '((' could
16174# trigger a bug in pdksh 5.2.14.
16175for as_var in BASH_ENV ENV MAIL MAILPATH
16176do eval test x\${$as_var+set} = xset \
16177  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16178done
16179PS1='$ '
16180PS2='> '
16181PS4='+ '
16182
16183# NLS nuisances.
16184LC_ALL=C
16185export LC_ALL
16186LANGUAGE=C
16187export LANGUAGE
16188
16189# CDPATH.
16190(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16191
16192
16193# as_fn_error STATUS ERROR [LINENO LOG_FD]
16194# ----------------------------------------
16195# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16196# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16197# script with STATUS, using 1 if that was 0.
16198as_fn_error ()
16199{
16200  as_status=$1; test $as_status -eq 0 && as_status=1
16201  if test "$4"; then
16202    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16203    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16204  fi
16205  $as_echo "$as_me: error: $2" >&2
16206  as_fn_exit $as_status
16207} # as_fn_error
16208
16209
16210# as_fn_set_status STATUS
16211# -----------------------
16212# Set $? to STATUS, without forking.
16213as_fn_set_status ()
16214{
16215  return $1
16216} # as_fn_set_status
16217
16218# as_fn_exit STATUS
16219# -----------------
16220# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16221as_fn_exit ()
16222{
16223  set +e
16224  as_fn_set_status $1
16225  exit $1
16226} # as_fn_exit
16227
16228# as_fn_unset VAR
16229# ---------------
16230# Portably unset VAR.
16231as_fn_unset ()
16232{
16233  { eval $1=; unset $1;}
16234}
16235as_unset=as_fn_unset
16236# as_fn_append VAR VALUE
16237# ----------------------
16238# Append the text in VALUE to the end of the definition contained in VAR. Take
16239# advantage of any shell optimizations that allow amortized linear growth over
16240# repeated appends, instead of the typical quadratic growth present in naive
16241# implementations.
16242if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16243  eval 'as_fn_append ()
16244  {
16245    eval $1+=\$2
16246  }'
16247else
16248  as_fn_append ()
16249  {
16250    eval $1=\$$1\$2
16251  }
16252fi # as_fn_append
16253
16254# as_fn_arith ARG...
16255# ------------------
16256# Perform arithmetic evaluation on the ARGs, and store the result in the
16257# global $as_val. Take advantage of shells that can avoid forks. The arguments
16258# must be portable across $(()) and expr.
16259if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16260  eval 'as_fn_arith ()
16261  {
16262    as_val=$(( $* ))
16263  }'
16264else
16265  as_fn_arith ()
16266  {
16267    as_val=`expr "$@" || test $? -eq 1`
16268  }
16269fi # as_fn_arith
16270
16271
16272if expr a : '\(a\)' >/dev/null 2>&1 &&
16273   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16274  as_expr=expr
16275else
16276  as_expr=false
16277fi
16278
16279if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16280  as_basename=basename
16281else
16282  as_basename=false
16283fi
16284
16285if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16286  as_dirname=dirname
16287else
16288  as_dirname=false
16289fi
16290
16291as_me=`$as_basename -- "$0" ||
16292$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16293	 X"$0" : 'X\(//\)$' \| \
16294	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16295$as_echo X/"$0" |
16296    sed '/^.*\/\([^/][^/]*\)\/*$/{
16297	    s//\1/
16298	    q
16299	  }
16300	  /^X\/\(\/\/\)$/{
16301	    s//\1/
16302	    q
16303	  }
16304	  /^X\/\(\/\).*/{
16305	    s//\1/
16306	    q
16307	  }
16308	  s/.*/./; q'`
16309
16310# Avoid depending upon Character Ranges.
16311as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16312as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16313as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16314as_cr_digits='0123456789'
16315as_cr_alnum=$as_cr_Letters$as_cr_digits
16316
16317ECHO_C= ECHO_N= ECHO_T=
16318case `echo -n x` in #(((((
16319-n*)
16320  case `echo 'xy\c'` in
16321  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16322  xy)  ECHO_C='\c';;
16323  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16324       ECHO_T='	';;
16325  esac;;
16326*)
16327  ECHO_N='-n';;
16328esac
16329
16330rm -f conf$$ conf$$.exe conf$$.file
16331if test -d conf$$.dir; then
16332  rm -f conf$$.dir/conf$$.file
16333else
16334  rm -f conf$$.dir
16335  mkdir conf$$.dir 2>/dev/null
16336fi
16337if (echo >conf$$.file) 2>/dev/null; then
16338  if ln -s conf$$.file conf$$ 2>/dev/null; then
16339    as_ln_s='ln -s'
16340    # ... but there are two gotchas:
16341    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16342    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16343    # In both cases, we have to default to `cp -pR'.
16344    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16345      as_ln_s='cp -pR'
16346  elif ln conf$$.file conf$$ 2>/dev/null; then
16347    as_ln_s=ln
16348  else
16349    as_ln_s='cp -pR'
16350  fi
16351else
16352  as_ln_s='cp -pR'
16353fi
16354rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16355rmdir conf$$.dir 2>/dev/null
16356
16357
16358# as_fn_mkdir_p
16359# -------------
16360# Create "$as_dir" as a directory, including parents if necessary.
16361as_fn_mkdir_p ()
16362{
16363
16364  case $as_dir in #(
16365  -*) as_dir=./$as_dir;;
16366  esac
16367  test -d "$as_dir" || eval $as_mkdir_p || {
16368    as_dirs=
16369    while :; do
16370      case $as_dir in #(
16371      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16372      *) as_qdir=$as_dir;;
16373      esac
16374      as_dirs="'$as_qdir' $as_dirs"
16375      as_dir=`$as_dirname -- "$as_dir" ||
16376$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16377	 X"$as_dir" : 'X\(//\)[^/]' \| \
16378	 X"$as_dir" : 'X\(//\)$' \| \
16379	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16380$as_echo X"$as_dir" |
16381    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16382	    s//\1/
16383	    q
16384	  }
16385	  /^X\(\/\/\)[^/].*/{
16386	    s//\1/
16387	    q
16388	  }
16389	  /^X\(\/\/\)$/{
16390	    s//\1/
16391	    q
16392	  }
16393	  /^X\(\/\).*/{
16394	    s//\1/
16395	    q
16396	  }
16397	  s/.*/./; q'`
16398      test -d "$as_dir" && break
16399    done
16400    test -z "$as_dirs" || eval "mkdir $as_dirs"
16401  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16402
16403
16404} # as_fn_mkdir_p
16405if mkdir -p . 2>/dev/null; then
16406  as_mkdir_p='mkdir -p "$as_dir"'
16407else
16408  test -d ./-p && rmdir ./-p
16409  as_mkdir_p=false
16410fi
16411
16412
16413# as_fn_executable_p FILE
16414# -----------------------
16415# Test if FILE is an executable regular file.
16416as_fn_executable_p ()
16417{
16418  test -f "$1" && test -x "$1"
16419} # as_fn_executable_p
16420as_test_x='test -x'
16421as_executable_p=as_fn_executable_p
16422
16423# Sed expression to map a string onto a valid CPP name.
16424as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16425
16426# Sed expression to map a string onto a valid variable name.
16427as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16428
16429
16430exec 6>&1
16431## ----------------------------------- ##
16432## Main body of $CONFIG_STATUS script. ##
16433## ----------------------------------- ##
16434_ASEOF
16435test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16436
16437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16438# Save the log message, to keep $0 and so on meaningful, and to
16439# report actual input values of CONFIG_FILES etc. instead of their
16440# values after options handling.
16441ac_log="
16442This file was extended by xfce4-weather-plugin $as_me 0.11.0, which was
16443generated by GNU Autoconf 2.69.  Invocation command line was
16444
16445  CONFIG_FILES    = $CONFIG_FILES
16446  CONFIG_HEADERS  = $CONFIG_HEADERS
16447  CONFIG_LINKS    = $CONFIG_LINKS
16448  CONFIG_COMMANDS = $CONFIG_COMMANDS
16449  $ $0 $@
16450
16451on `(hostname || uname -n) 2>/dev/null | sed 1q`
16452"
16453
16454_ACEOF
16455
16456case $ac_config_files in *"
16457"*) set x $ac_config_files; shift; ac_config_files=$*;;
16458esac
16459
16460case $ac_config_headers in *"
16461"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16462esac
16463
16464
16465cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16466# Files that config.status was made for.
16467config_files="$ac_config_files"
16468config_headers="$ac_config_headers"
16469config_commands="$ac_config_commands"
16470
16471_ACEOF
16472
16473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16474ac_cs_usage="\
16475\`$as_me' instantiates files and other configuration actions
16476from templates according to the current configuration.  Unless the files
16477and actions are specified as TAGs, all are instantiated by default.
16478
16479Usage: $0 [OPTION]... [TAG]...
16480
16481  -h, --help       print this help, then exit
16482  -V, --version    print version number and configuration settings, then exit
16483      --config     print configuration, then exit
16484  -q, --quiet, --silent
16485                   do not print progress messages
16486  -d, --debug      don't remove temporary files
16487      --recheck    update $as_me by reconfiguring in the same conditions
16488      --file=FILE[:TEMPLATE]
16489                   instantiate the configuration file FILE
16490      --header=FILE[:TEMPLATE]
16491                   instantiate the configuration header FILE
16492
16493Configuration files:
16494$config_files
16495
16496Configuration headers:
16497$config_headers
16498
16499Configuration commands:
16500$config_commands
16501
16502Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin>."
16503
16504_ACEOF
16505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16506ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16507ac_cs_version="\\
16508xfce4-weather-plugin config.status 0.11.0
16509configured by $0, generated by GNU Autoconf 2.69,
16510  with options \\"\$ac_cs_config\\"
16511
16512Copyright (C) 2012 Free Software Foundation, Inc.
16513This config.status script is free software; the Free Software Foundation
16514gives unlimited permission to copy, distribute and modify it."
16515
16516ac_pwd='$ac_pwd'
16517srcdir='$srcdir'
16518INSTALL='$INSTALL'
16519MKDIR_P='$MKDIR_P'
16520AWK='$AWK'
16521test -n "\$AWK" || AWK=awk
16522_ACEOF
16523
16524cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16525# The default lists apply if the user does not specify any file.
16526ac_need_defaults=:
16527while test $# != 0
16528do
16529  case $1 in
16530  --*=?*)
16531    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16532    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16533    ac_shift=:
16534    ;;
16535  --*=)
16536    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16537    ac_optarg=
16538    ac_shift=:
16539    ;;
16540  *)
16541    ac_option=$1
16542    ac_optarg=$2
16543    ac_shift=shift
16544    ;;
16545  esac
16546
16547  case $ac_option in
16548  # Handling of the options.
16549  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16550    ac_cs_recheck=: ;;
16551  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16552    $as_echo "$ac_cs_version"; exit ;;
16553  --config | --confi | --conf | --con | --co | --c )
16554    $as_echo "$ac_cs_config"; exit ;;
16555  --debug | --debu | --deb | --de | --d | -d )
16556    debug=: ;;
16557  --file | --fil | --fi | --f )
16558    $ac_shift
16559    case $ac_optarg in
16560    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16561    '') as_fn_error $? "missing file argument" ;;
16562    esac
16563    as_fn_append CONFIG_FILES " '$ac_optarg'"
16564    ac_need_defaults=false;;
16565  --header | --heade | --head | --hea )
16566    $ac_shift
16567    case $ac_optarg in
16568    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16569    esac
16570    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16571    ac_need_defaults=false;;
16572  --he | --h)
16573    # Conflict between --help and --header
16574    as_fn_error $? "ambiguous option: \`$1'
16575Try \`$0 --help' for more information.";;
16576  --help | --hel | -h )
16577    $as_echo "$ac_cs_usage"; exit ;;
16578  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16579  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16580    ac_cs_silent=: ;;
16581
16582  # This is an error.
16583  -*) as_fn_error $? "unrecognized option: \`$1'
16584Try \`$0 --help' for more information." ;;
16585
16586  *) as_fn_append ac_config_targets " $1"
16587     ac_need_defaults=false ;;
16588
16589  esac
16590  shift
16591done
16592
16593ac_configure_extra_args=
16594
16595if $ac_cs_silent; then
16596  exec 6>/dev/null
16597  ac_configure_extra_args="$ac_configure_extra_args --silent"
16598fi
16599
16600_ACEOF
16601cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16602if \$ac_cs_recheck; then
16603  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16604  shift
16605  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16606  CONFIG_SHELL='$SHELL'
16607  export CONFIG_SHELL
16608  exec "\$@"
16609fi
16610
16611_ACEOF
16612cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16613exec 5>>config.log
16614{
16615  echo
16616  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16617## Running $as_me. ##
16618_ASBOX
16619  $as_echo "$ac_log"
16620} >&5
16621
16622_ACEOF
16623cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16624#
16625# INIT-COMMANDS
16626#
16627AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16628
16629
16630# The HP-UX ksh and POSIX shell print the target directory to stdout
16631# if CDPATH is set.
16632(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16633
16634sed_quote_subst='$sed_quote_subst'
16635double_quote_subst='$double_quote_subst'
16636delay_variable_subst='$delay_variable_subst'
16637SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16638Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16639GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16640EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16641FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16642SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16643ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16644LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16645macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16646macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16647enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16648enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16649pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16650enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16651shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16652PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16653host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16654host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16655host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16656build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16657build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16658build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16659NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16660LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16661max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16662ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16663exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16664lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16665lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16666lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16667lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16668lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16669reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16670reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16671OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16672deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16673file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16674file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16675want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16676DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16677sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16678AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16679AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16680archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16681STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16682RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16683old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16684old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16685old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16686lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16687CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16688CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16689compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16690GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16691lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16692lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16693lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16694lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16695lt_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"`'
16696lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16697nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16698lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16699lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16700objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16701MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16702lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16703lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16704lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16705lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16706lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16707need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16708MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16709DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16710NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16711LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16712OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16713OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16714libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16715shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16716extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16717archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16718enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16719export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16720whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16721compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16722old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16723old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16724archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16725archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16726module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16727module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16728with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16729allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16730no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16731hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16732hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16733hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16734hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16735hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16736hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16737hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16738inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16739link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16740always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16741export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16742exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16743include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16744prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16745postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16746file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16747variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16748need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16749need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16750version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16751runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16752shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16753shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16754libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16755library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16756soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16757install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16758postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16759postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16760finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16761finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16762hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16763sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16764configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16765configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16766hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16767enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16768enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16769enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16770old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16771striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16772
16773LTCC='$LTCC'
16774LTCFLAGS='$LTCFLAGS'
16775compiler='$compiler_DEFAULT'
16776
16777# A function that is used when there is no print builtin or printf.
16778func_fallback_echo ()
16779{
16780  eval 'cat <<_LTECHO_EOF
16781\$1
16782_LTECHO_EOF'
16783}
16784
16785# Quote evaled strings.
16786for var in SED \
16787GREP \
16788EGREP \
16789FGREP \
16790SHELL \
16791ECHO \
16792LD \
16793PATH_SEPARATOR \
16794NM \
16795LN_S \
16796lt_SP2NL \
16797lt_NL2SP \
16798reload_flag \
16799OBJDUMP \
16800deplibs_check_method \
16801file_magic_cmd \
16802file_magic_glob \
16803want_nocaseglob \
16804DLLTOOL \
16805sharedlib_from_linklib_cmd \
16806AR \
16807AR_FLAGS \
16808archiver_list_spec \
16809STRIP \
16810RANLIB \
16811CC \
16812CFLAGS \
16813compiler \
16814lt_cv_sys_global_symbol_pipe \
16815lt_cv_sys_global_symbol_to_cdecl \
16816lt_cv_sys_global_symbol_to_import \
16817lt_cv_sys_global_symbol_to_c_name_address \
16818lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16819lt_cv_nm_interface \
16820nm_file_list_spec \
16821lt_cv_truncate_bin \
16822lt_prog_compiler_no_builtin_flag \
16823lt_prog_compiler_pic \
16824lt_prog_compiler_wl \
16825lt_prog_compiler_static \
16826lt_cv_prog_compiler_c_o \
16827need_locks \
16828MANIFEST_TOOL \
16829DSYMUTIL \
16830NMEDIT \
16831LIPO \
16832OTOOL \
16833OTOOL64 \
16834shrext_cmds \
16835export_dynamic_flag_spec \
16836whole_archive_flag_spec \
16837compiler_needs_object \
16838with_gnu_ld \
16839allow_undefined_flag \
16840no_undefined_flag \
16841hardcode_libdir_flag_spec \
16842hardcode_libdir_separator \
16843exclude_expsyms \
16844include_expsyms \
16845file_list_spec \
16846variables_saved_for_relink \
16847libname_spec \
16848library_names_spec \
16849soname_spec \
16850install_override_mode \
16851finish_eval \
16852old_striplib \
16853striplib; do
16854    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16855    *[\\\\\\\`\\"\\\$]*)
16856      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16857      ;;
16858    *)
16859      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16860      ;;
16861    esac
16862done
16863
16864# Double-quote double-evaled strings.
16865for var in reload_cmds \
16866old_postinstall_cmds \
16867old_postuninstall_cmds \
16868old_archive_cmds \
16869extract_expsyms_cmds \
16870old_archive_from_new_cmds \
16871old_archive_from_expsyms_cmds \
16872archive_cmds \
16873archive_expsym_cmds \
16874module_cmds \
16875module_expsym_cmds \
16876export_symbols_cmds \
16877prelink_cmds \
16878postlink_cmds \
16879postinstall_cmds \
16880postuninstall_cmds \
16881finish_cmds \
16882sys_lib_search_path_spec \
16883configure_time_dlsearch_path \
16884configure_time_lt_sys_library_path; do
16885    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16886    *[\\\\\\\`\\"\\\$]*)
16887      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16888      ;;
16889    *)
16890      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16891      ;;
16892    esac
16893done
16894
16895ac_aux_dir='$ac_aux_dir'
16896
16897# See if we are running on zsh, and set the options that allow our
16898# commands through without removal of \ escapes INIT.
16899if test -n "\${ZSH_VERSION+set}"; then
16900   setopt NO_GLOB_SUBST
16901fi
16902
16903
16904    PACKAGE='$PACKAGE'
16905    VERSION='$VERSION'
16906    RM='$RM'
16907    ofile='$ofile'
16908
16909
16910
16911
16912
16913_ACEOF
16914
16915cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16916
16917# Handling of arguments.
16918for ac_config_target in $ac_config_targets
16919do
16920  case $ac_config_target in
16921    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16922    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16923    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16924    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16925    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16926    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
16927    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16928    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
16929    "icons/liquid/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid/Makefile" ;;
16930    "icons/liquid/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid/22/Makefile" ;;
16931    "icons/liquid/48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid/48/Makefile" ;;
16932    "icons/liquid/128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid/128/Makefile" ;;
16933    "icons/liquid-dark/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid-dark/Makefile" ;;
16934    "icons/liquid-dark/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid-dark/22/Makefile" ;;
16935    "icons/liquid-dark/48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid-dark/48/Makefile" ;;
16936    "icons/liquid-dark/128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/liquid-dark/128/Makefile" ;;
16937    "icons/simplistic/Makefile") CONFIG_FILES="$CONFIG_FILES icons/simplistic/Makefile" ;;
16938    "icons/simplistic/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/simplistic/22/Makefile" ;;
16939    "icons/simplistic/48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/simplistic/48/Makefile" ;;
16940    "icons/simplistic/128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/simplistic/128/Makefile" ;;
16941    "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
16942    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16943
16944  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16945  esac
16946done
16947
16948
16949# If the user did not use the arguments to specify the items to instantiate,
16950# then the envvar interface is used.  Set only those that are not.
16951# We use the long form for the default assignment because of an extremely
16952# bizarre bug on SunOS 4.1.3.
16953if $ac_need_defaults; then
16954  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16955  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16956  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16957fi
16958
16959# Have a temporary directory for convenience.  Make it in the build tree
16960# simply because there is no reason against having it here, and in addition,
16961# creating and moving files from /tmp can sometimes cause problems.
16962# Hook for its removal unless debugging.
16963# Note that there is a small window in which the directory will not be cleaned:
16964# after its creation but before its name has been assigned to `$tmp'.
16965$debug ||
16966{
16967  tmp= ac_tmp=
16968  trap 'exit_status=$?
16969  : "${ac_tmp:=$tmp}"
16970  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16971' 0
16972  trap 'as_fn_exit 1' 1 2 13 15
16973}
16974# Create a (secure) tmp directory for tmp files.
16975
16976{
16977  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16978  test -d "$tmp"
16979}  ||
16980{
16981  tmp=./conf$$-$RANDOM
16982  (umask 077 && mkdir "$tmp")
16983} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16984ac_tmp=$tmp
16985
16986# Set up the scripts for CONFIG_FILES section.
16987# No need to generate them if there are no CONFIG_FILES.
16988# This happens for instance with `./config.status config.h'.
16989if test -n "$CONFIG_FILES"; then
16990
16991
16992ac_cr=`echo X | tr X '\015'`
16993# On cygwin, bash can eat \r inside `` if the user requested igncr.
16994# But we know of no other shell where ac_cr would be empty at this
16995# point, so we can use a bashism as a fallback.
16996if test "x$ac_cr" = x; then
16997  eval ac_cr=\$\'\\r\'
16998fi
16999ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17000if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17001  ac_cs_awk_cr='\\r'
17002else
17003  ac_cs_awk_cr=$ac_cr
17004fi
17005
17006echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17007_ACEOF
17008
17009
17010{
17011  echo "cat >conf$$subs.awk <<_ACEOF" &&
17012  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17013  echo "_ACEOF"
17014} >conf$$subs.sh ||
17015  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17016ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17017ac_delim='%!_!# '
17018for ac_last_try in false false false false false :; do
17019  . ./conf$$subs.sh ||
17020    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17021
17022  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17023  if test $ac_delim_n = $ac_delim_num; then
17024    break
17025  elif $ac_last_try; then
17026    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17027  else
17028    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17029  fi
17030done
17031rm -f conf$$subs.sh
17032
17033cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17034cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17035_ACEOF
17036sed -n '
17037h
17038s/^/S["/; s/!.*/"]=/
17039p
17040g
17041s/^[^!]*!//
17042:repl
17043t repl
17044s/'"$ac_delim"'$//
17045t delim
17046:nl
17047h
17048s/\(.\{148\}\)..*/\1/
17049t more1
17050s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17051p
17052n
17053b repl
17054:more1
17055s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17056p
17057g
17058s/.\{148\}//
17059t nl
17060:delim
17061h
17062s/\(.\{148\}\)..*/\1/
17063t more2
17064s/["\\]/\\&/g; s/^/"/; s/$/"/
17065p
17066b
17067:more2
17068s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17069p
17070g
17071s/.\{148\}//
17072t delim
17073' <conf$$subs.awk | sed '
17074/^[^""]/{
17075  N
17076  s/\n//
17077}
17078' >>$CONFIG_STATUS || ac_write_fail=1
17079rm -f conf$$subs.awk
17080cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17081_ACAWK
17082cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17083  for (key in S) S_is_set[key] = 1
17084  FS = ""
17085
17086}
17087{
17088  line = $ 0
17089  nfields = split(line, field, "@")
17090  substed = 0
17091  len = length(field[1])
17092  for (i = 2; i < nfields; i++) {
17093    key = field[i]
17094    keylen = length(key)
17095    if (S_is_set[key]) {
17096      value = S[key]
17097      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17098      len += length(value) + length(field[++i])
17099      substed = 1
17100    } else
17101      len += 1 + keylen
17102  }
17103
17104  print line
17105}
17106
17107_ACAWK
17108_ACEOF
17109cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17110if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17111  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17112else
17113  cat
17114fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17115  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17116_ACEOF
17117
17118# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17119# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17120# trailing colons and then remove the whole line if VPATH becomes empty
17121# (actually we leave an empty line to preserve line numbers).
17122if test "x$srcdir" = x.; then
17123  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17124h
17125s///
17126s/^/:/
17127s/[	 ]*$/:/
17128s/:\$(srcdir):/:/g
17129s/:\${srcdir}:/:/g
17130s/:@srcdir@:/:/g
17131s/^:*//
17132s/:*$//
17133x
17134s/\(=[	 ]*\).*/\1/
17135G
17136s/\n//
17137s/^[^=]*=[	 ]*$//
17138}'
17139fi
17140
17141cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17142fi # test -n "$CONFIG_FILES"
17143
17144# Set up the scripts for CONFIG_HEADERS section.
17145# No need to generate them if there are no CONFIG_HEADERS.
17146# This happens for instance with `./config.status Makefile'.
17147if test -n "$CONFIG_HEADERS"; then
17148cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17149BEGIN {
17150_ACEOF
17151
17152# Transform confdefs.h into an awk script `defines.awk', embedded as
17153# here-document in config.status, that substitutes the proper values into
17154# config.h.in to produce config.h.
17155
17156# Create a delimiter string that does not exist in confdefs.h, to ease
17157# handling of long lines.
17158ac_delim='%!_!# '
17159for ac_last_try in false false :; do
17160  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17161  if test -z "$ac_tt"; then
17162    break
17163  elif $ac_last_try; then
17164    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17165  else
17166    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17167  fi
17168done
17169
17170# For the awk script, D is an array of macro values keyed by name,
17171# likewise P contains macro parameters if any.  Preserve backslash
17172# newline sequences.
17173
17174ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17175sed -n '
17176s/.\{148\}/&'"$ac_delim"'/g
17177t rset
17178:rset
17179s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17180t def
17181d
17182:def
17183s/\\$//
17184t bsnl
17185s/["\\]/\\&/g
17186s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17187D["\1"]=" \3"/p
17188s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17189d
17190:bsnl
17191s/["\\]/\\&/g
17192s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17193D["\1"]=" \3\\\\\\n"\\/p
17194t cont
17195s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17196t cont
17197d
17198:cont
17199n
17200s/.\{148\}/&'"$ac_delim"'/g
17201t clear
17202:clear
17203s/\\$//
17204t bsnlc
17205s/["\\]/\\&/g; s/^/"/; s/$/"/p
17206d
17207:bsnlc
17208s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17209b cont
17210' <confdefs.h | sed '
17211s/'"$ac_delim"'/"\\\
17212"/g' >>$CONFIG_STATUS || ac_write_fail=1
17213
17214cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17215  for (key in D) D_is_set[key] = 1
17216  FS = ""
17217}
17218/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17219  line = \$ 0
17220  split(line, arg, " ")
17221  if (arg[1] == "#") {
17222    defundef = arg[2]
17223    mac1 = arg[3]
17224  } else {
17225    defundef = substr(arg[1], 2)
17226    mac1 = arg[2]
17227  }
17228  split(mac1, mac2, "(") #)
17229  macro = mac2[1]
17230  prefix = substr(line, 1, index(line, defundef) - 1)
17231  if (D_is_set[macro]) {
17232    # Preserve the white space surrounding the "#".
17233    print prefix "define", macro P[macro] D[macro]
17234    next
17235  } else {
17236    # Replace #undef with comments.  This is necessary, for example,
17237    # in the case of _POSIX_SOURCE, which is predefined and required
17238    # on some systems where configure will not decide to define it.
17239    if (defundef == "undef") {
17240      print "/*", prefix defundef, macro, "*/"
17241      next
17242    }
17243  }
17244}
17245{ print }
17246_ACAWK
17247_ACEOF
17248cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17249  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17250fi # test -n "$CONFIG_HEADERS"
17251
17252
17253eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17254shift
17255for ac_tag
17256do
17257  case $ac_tag in
17258  :[FHLC]) ac_mode=$ac_tag; continue;;
17259  esac
17260  case $ac_mode$ac_tag in
17261  :[FHL]*:*);;
17262  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17263  :[FH]-) ac_tag=-:-;;
17264  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17265  esac
17266  ac_save_IFS=$IFS
17267  IFS=:
17268  set x $ac_tag
17269  IFS=$ac_save_IFS
17270  shift
17271  ac_file=$1
17272  shift
17273
17274  case $ac_mode in
17275  :L) ac_source=$1;;
17276  :[FH])
17277    ac_file_inputs=
17278    for ac_f
17279    do
17280      case $ac_f in
17281      -) ac_f="$ac_tmp/stdin";;
17282      *) # Look for the file first in the build tree, then in the source tree
17283	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17284	 # because $ac_f cannot contain `:'.
17285	 test -f "$ac_f" ||
17286	   case $ac_f in
17287	   [\\/$]*) false;;
17288	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17289	   esac ||
17290	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17291      esac
17292      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17293      as_fn_append ac_file_inputs " '$ac_f'"
17294    done
17295
17296    # Let's still pretend it is `configure' which instantiates (i.e., don't
17297    # use $as_me), people would be surprised to read:
17298    #    /* config.h.  Generated by config.status.  */
17299    configure_input='Generated from '`
17300	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17301	`' by configure.'
17302    if test x"$ac_file" != x-; then
17303      configure_input="$ac_file.  $configure_input"
17304      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17305$as_echo "$as_me: creating $ac_file" >&6;}
17306    fi
17307    # Neutralize special characters interpreted by sed in replacement strings.
17308    case $configure_input in #(
17309    *\&* | *\|* | *\\* )
17310       ac_sed_conf_input=`$as_echo "$configure_input" |
17311       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17312    *) ac_sed_conf_input=$configure_input;;
17313    esac
17314
17315    case $ac_tag in
17316    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17317      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17318    esac
17319    ;;
17320  esac
17321
17322  ac_dir=`$as_dirname -- "$ac_file" ||
17323$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17324	 X"$ac_file" : 'X\(//\)[^/]' \| \
17325	 X"$ac_file" : 'X\(//\)$' \| \
17326	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17327$as_echo X"$ac_file" |
17328    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17329	    s//\1/
17330	    q
17331	  }
17332	  /^X\(\/\/\)[^/].*/{
17333	    s//\1/
17334	    q
17335	  }
17336	  /^X\(\/\/\)$/{
17337	    s//\1/
17338	    q
17339	  }
17340	  /^X\(\/\).*/{
17341	    s//\1/
17342	    q
17343	  }
17344	  s/.*/./; q'`
17345  as_dir="$ac_dir"; as_fn_mkdir_p
17346  ac_builddir=.
17347
17348case "$ac_dir" in
17349.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17350*)
17351  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17352  # A ".." for each directory in $ac_dir_suffix.
17353  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17354  case $ac_top_builddir_sub in
17355  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17356  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17357  esac ;;
17358esac
17359ac_abs_top_builddir=$ac_pwd
17360ac_abs_builddir=$ac_pwd$ac_dir_suffix
17361# for backward compatibility:
17362ac_top_builddir=$ac_top_build_prefix
17363
17364case $srcdir in
17365  .)  # We are building in place.
17366    ac_srcdir=.
17367    ac_top_srcdir=$ac_top_builddir_sub
17368    ac_abs_top_srcdir=$ac_pwd ;;
17369  [\\/]* | ?:[\\/]* )  # Absolute name.
17370    ac_srcdir=$srcdir$ac_dir_suffix;
17371    ac_top_srcdir=$srcdir
17372    ac_abs_top_srcdir=$srcdir ;;
17373  *) # Relative name.
17374    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17375    ac_top_srcdir=$ac_top_build_prefix$srcdir
17376    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17377esac
17378ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17379
17380
17381  case $ac_mode in
17382  :F)
17383  #
17384  # CONFIG_FILE
17385  #
17386
17387  case $INSTALL in
17388  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17389  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17390  esac
17391  ac_MKDIR_P=$MKDIR_P
17392  case $MKDIR_P in
17393  [\\/$]* | ?:[\\/]* ) ;;
17394  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17395  esac
17396_ACEOF
17397
17398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17399# If the template does not know about datarootdir, expand it.
17400# FIXME: This hack should be removed a few years after 2.60.
17401ac_datarootdir_hack=; ac_datarootdir_seen=
17402ac_sed_dataroot='
17403/datarootdir/ {
17404  p
17405  q
17406}
17407/@datadir@/p
17408/@docdir@/p
17409/@infodir@/p
17410/@localedir@/p
17411/@mandir@/p'
17412case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17413*datarootdir*) ac_datarootdir_seen=yes;;
17414*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17415  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17416$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17417_ACEOF
17418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17419  ac_datarootdir_hack='
17420  s&@datadir@&$datadir&g
17421  s&@docdir@&$docdir&g
17422  s&@infodir@&$infodir&g
17423  s&@localedir@&$localedir&g
17424  s&@mandir@&$mandir&g
17425  s&\\\${datarootdir}&$datarootdir&g' ;;
17426esac
17427_ACEOF
17428
17429# Neutralize VPATH when `$srcdir' = `.'.
17430# Shell code in configure.ac might set extrasub.
17431# FIXME: do we really want to maintain this feature?
17432cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17433ac_sed_extra="$ac_vpsub
17434$extrasub
17435_ACEOF
17436cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17437:t
17438/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17439s|@configure_input@|$ac_sed_conf_input|;t t
17440s&@top_builddir@&$ac_top_builddir_sub&;t t
17441s&@top_build_prefix@&$ac_top_build_prefix&;t t
17442s&@srcdir@&$ac_srcdir&;t t
17443s&@abs_srcdir@&$ac_abs_srcdir&;t t
17444s&@top_srcdir@&$ac_top_srcdir&;t t
17445s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17446s&@builddir@&$ac_builddir&;t t
17447s&@abs_builddir@&$ac_abs_builddir&;t t
17448s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17449s&@INSTALL@&$ac_INSTALL&;t t
17450s&@MKDIR_P@&$ac_MKDIR_P&;t t
17451$ac_datarootdir_hack
17452"
17453eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17454  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17455
17456test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17457  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17458  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17459      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17460  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17461which seems to be undefined.  Please make sure it is defined" >&5
17462$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17463which seems to be undefined.  Please make sure it is defined" >&2;}
17464
17465  rm -f "$ac_tmp/stdin"
17466  case $ac_file in
17467  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17468  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17469  esac \
17470  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17471 ;;
17472  :H)
17473  #
17474  # CONFIG_HEADER
17475  #
17476  if test x"$ac_file" != x-; then
17477    {
17478      $as_echo "/* $configure_input  */" \
17479      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17480    } >"$ac_tmp/config.h" \
17481      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17482    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17483      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17484$as_echo "$as_me: $ac_file is unchanged" >&6;}
17485    else
17486      rm -f "$ac_file"
17487      mv "$ac_tmp/config.h" "$ac_file" \
17488	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17489    fi
17490  else
17491    $as_echo "/* $configure_input  */" \
17492      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17493      || as_fn_error $? "could not create -" "$LINENO" 5
17494  fi
17495# Compute "$ac_file"'s index in $config_headers.
17496_am_arg="$ac_file"
17497_am_stamp_count=1
17498for _am_header in $config_headers :; do
17499  case $_am_header in
17500    $_am_arg | $_am_arg:* )
17501      break ;;
17502    * )
17503      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17504  esac
17505done
17506echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17507$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17508	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17509	 X"$_am_arg" : 'X\(//\)$' \| \
17510	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17511$as_echo X"$_am_arg" |
17512    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17513	    s//\1/
17514	    q
17515	  }
17516	  /^X\(\/\/\)[^/].*/{
17517	    s//\1/
17518	    q
17519	  }
17520	  /^X\(\/\/\)$/{
17521	    s//\1/
17522	    q
17523	  }
17524	  /^X\(\/\).*/{
17525	    s//\1/
17526	    q
17527	  }
17528	  s/.*/./; q'`/stamp-h$_am_stamp_count
17529 ;;
17530
17531  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17532$as_echo "$as_me: executing $ac_file commands" >&6;}
17533 ;;
17534  esac
17535
17536
17537  case $ac_file$ac_mode in
17538    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17539  # Older Autoconf quotes --file arguments for eval, but not when files
17540  # are listed without --file.  Let's play safe and only enable the eval
17541  # if we detect the quoting.
17542  # TODO: see whether this extra hack can be removed once we start
17543  # requiring Autoconf 2.70 or later.
17544  case $CONFIG_FILES in #(
17545  *\'*) :
17546    eval set x "$CONFIG_FILES" ;; #(
17547  *) :
17548    set x $CONFIG_FILES ;; #(
17549  *) :
17550     ;;
17551esac
17552  shift
17553  # Used to flag and report bootstrapping failures.
17554  am_rc=0
17555  for am_mf
17556  do
17557    # Strip MF so we end up with the name of the file.
17558    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17559    # Check whether this is an Automake generated Makefile which includes
17560    # dependency-tracking related rules and includes.
17561    # Grep'ing the whole file directly is not great: AIX grep has a line
17562    # limit of 2048, but all sed's we know have understand at least 4000.
17563    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17564      || continue
17565    am_dirpart=`$as_dirname -- "$am_mf" ||
17566$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17567	 X"$am_mf" : 'X\(//\)[^/]' \| \
17568	 X"$am_mf" : 'X\(//\)$' \| \
17569	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17570$as_echo X"$am_mf" |
17571    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17572	    s//\1/
17573	    q
17574	  }
17575	  /^X\(\/\/\)[^/].*/{
17576	    s//\1/
17577	    q
17578	  }
17579	  /^X\(\/\/\)$/{
17580	    s//\1/
17581	    q
17582	  }
17583	  /^X\(\/\).*/{
17584	    s//\1/
17585	    q
17586	  }
17587	  s/.*/./; q'`
17588    am_filepart=`$as_basename -- "$am_mf" ||
17589$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17590	 X"$am_mf" : 'X\(//\)$' \| \
17591	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17592$as_echo X/"$am_mf" |
17593    sed '/^.*\/\([^/][^/]*\)\/*$/{
17594	    s//\1/
17595	    q
17596	  }
17597	  /^X\/\(\/\/\)$/{
17598	    s//\1/
17599	    q
17600	  }
17601	  /^X\/\(\/\).*/{
17602	    s//\1/
17603	    q
17604	  }
17605	  s/.*/./; q'`
17606    { echo "$as_me:$LINENO: cd "$am_dirpart" \
17607      && sed -e '/# am--include-marker/d' "$am_filepart" \
17608        | $MAKE -f - am--depfiles" >&5
17609   (cd "$am_dirpart" \
17610      && sed -e '/# am--include-marker/d' "$am_filepart" \
17611        | $MAKE -f - am--depfiles) >&5 2>&5
17612   ac_status=$?
17613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614   (exit $ac_status); } || am_rc=$?
17615  done
17616  if test $am_rc -ne 0; then
17617    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17618$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17619as_fn_error $? "Something went wrong bootstrapping makefile fragments
17620    for automatic dependency tracking.  Try re-running configure with the
17621    '--disable-dependency-tracking' option to at least be able to build
17622    the package (albeit without support for automatic dependency tracking).
17623See \`config.log' for more details" "$LINENO" 5; }
17624  fi
17625  { am_dirpart=; unset am_dirpart;}
17626  { am_filepart=; unset am_filepart;}
17627  { am_mf=; unset am_mf;}
17628  { am_rc=; unset am_rc;}
17629  rm -f conftest-deps.mk
17630}
17631 ;;
17632    "libtool":C)
17633
17634    # See if we are running on zsh, and set the options that allow our
17635    # commands through without removal of \ escapes.
17636    if test -n "${ZSH_VERSION+set}"; then
17637      setopt NO_GLOB_SUBST
17638    fi
17639
17640    cfgfile=${ofile}T
17641    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17642    $RM "$cfgfile"
17643
17644    cat <<_LT_EOF >> "$cfgfile"
17645#! $SHELL
17646# Generated automatically by $as_me ($PACKAGE) $VERSION
17647# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17648
17649# Provide generalized library-building support services.
17650# Written by Gordon Matzigkeit, 1996
17651
17652# Copyright (C) 2014 Free Software Foundation, Inc.
17653# This is free software; see the source for copying conditions.  There is NO
17654# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17655
17656# GNU Libtool is free software; you can redistribute it and/or modify
17657# it under the terms of the GNU General Public License as published by
17658# the Free Software Foundation; either version 2 of of the License, or
17659# (at your option) any later version.
17660#
17661# As a special exception to the GNU General Public License, if you
17662# distribute this file as part of a program or library that is built
17663# using GNU Libtool, you may include this file under the  same
17664# distribution terms that you use for the rest of that program.
17665#
17666# GNU Libtool is distributed in the hope that it will be useful, but
17667# WITHOUT ANY WARRANTY; without even the implied warranty of
17668# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17669# GNU General Public License for more details.
17670#
17671# You should have received a copy of the GNU General Public License
17672# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17673
17674
17675# The names of the tagged configurations supported by this script.
17676available_tags=''
17677
17678# Configured defaults for sys_lib_dlsearch_path munging.
17679: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17680
17681# ### BEGIN LIBTOOL CONFIG
17682
17683# A sed program that does not truncate output.
17684SED=$lt_SED
17685
17686# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17687Xsed="\$SED -e 1s/^X//"
17688
17689# A grep program that handles long lines.
17690GREP=$lt_GREP
17691
17692# An ERE matcher.
17693EGREP=$lt_EGREP
17694
17695# A literal string matcher.
17696FGREP=$lt_FGREP
17697
17698# Shell to use when invoking shell scripts.
17699SHELL=$lt_SHELL
17700
17701# An echo program that protects backslashes.
17702ECHO=$lt_ECHO
17703
17704# Which release of libtool.m4 was used?
17705macro_version=$macro_version
17706macro_revision=$macro_revision
17707
17708# Whether or not to build static libraries.
17709build_old_libs=$enable_static
17710
17711# Whether or not to build shared libraries.
17712build_libtool_libs=$enable_shared
17713
17714# What type of objects to build.
17715pic_mode=$pic_mode
17716
17717# Whether or not to optimize for fast installation.
17718fast_install=$enable_fast_install
17719
17720# Shared archive member basename,for filename based shared library versioning on AIX.
17721shared_archive_member_spec=$shared_archive_member_spec
17722
17723# The PATH separator for the build system.
17724PATH_SEPARATOR=$lt_PATH_SEPARATOR
17725
17726# The host system.
17727host_alias=$host_alias
17728host=$host
17729host_os=$host_os
17730
17731# The build system.
17732build_alias=$build_alias
17733build=$build
17734build_os=$build_os
17735
17736# A BSD- or MS-compatible name lister.
17737NM=$lt_NM
17738
17739# Whether we need soft or hard links.
17740LN_S=$lt_LN_S
17741
17742# What is the maximum length of a command?
17743max_cmd_len=$max_cmd_len
17744
17745# Object file suffix (normally "o").
17746objext=$ac_objext
17747
17748# Executable file suffix (normally "").
17749exeext=$exeext
17750
17751# whether the shell understands "unset".
17752lt_unset=$lt_unset
17753
17754# turn spaces into newlines.
17755SP2NL=$lt_lt_SP2NL
17756
17757# turn newlines into spaces.
17758NL2SP=$lt_lt_NL2SP
17759
17760# convert \$build file names to \$host format.
17761to_host_file_cmd=$lt_cv_to_host_file_cmd
17762
17763# convert \$build files to toolchain format.
17764to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17765
17766# An object symbol dumper.
17767OBJDUMP=$lt_OBJDUMP
17768
17769# Method to check whether dependent libraries are shared objects.
17770deplibs_check_method=$lt_deplibs_check_method
17771
17772# Command to use when deplibs_check_method = "file_magic".
17773file_magic_cmd=$lt_file_magic_cmd
17774
17775# How to find potential files when deplibs_check_method = "file_magic".
17776file_magic_glob=$lt_file_magic_glob
17777
17778# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17779want_nocaseglob=$lt_want_nocaseglob
17780
17781# DLL creation program.
17782DLLTOOL=$lt_DLLTOOL
17783
17784# Command to associate shared and link libraries.
17785sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17786
17787# The archiver.
17788AR=$lt_AR
17789
17790# Flags to create an archive.
17791AR_FLAGS=$lt_AR_FLAGS
17792
17793# How to feed a file listing to the archiver.
17794archiver_list_spec=$lt_archiver_list_spec
17795
17796# A symbol stripping program.
17797STRIP=$lt_STRIP
17798
17799# Commands used to install an old-style archive.
17800RANLIB=$lt_RANLIB
17801old_postinstall_cmds=$lt_old_postinstall_cmds
17802old_postuninstall_cmds=$lt_old_postuninstall_cmds
17803
17804# Whether to use a lock for old archive extraction.
17805lock_old_archive_extraction=$lock_old_archive_extraction
17806
17807# A C compiler.
17808LTCC=$lt_CC
17809
17810# LTCC compiler flags.
17811LTCFLAGS=$lt_CFLAGS
17812
17813# Take the output of nm and produce a listing of raw symbols and C names.
17814global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17815
17816# Transform the output of nm in a proper C declaration.
17817global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17818
17819# Transform the output of nm into a list of symbols to manually relocate.
17820global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17821
17822# Transform the output of nm in a C name address pair.
17823global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17824
17825# Transform the output of nm in a C name address pair when lib prefix is needed.
17826global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17827
17828# The name lister interface.
17829nm_interface=$lt_lt_cv_nm_interface
17830
17831# Specify filename containing input files for \$NM.
17832nm_file_list_spec=$lt_nm_file_list_spec
17833
17834# The root where to search for dependent libraries,and where our libraries should be installed.
17835lt_sysroot=$lt_sysroot
17836
17837# Command to truncate a binary pipe.
17838lt_truncate_bin=$lt_lt_cv_truncate_bin
17839
17840# The name of the directory that contains temporary libtool files.
17841objdir=$objdir
17842
17843# Used to examine libraries when file_magic_cmd begins with "file".
17844MAGIC_CMD=$MAGIC_CMD
17845
17846# Must we lock files when doing compilation?
17847need_locks=$lt_need_locks
17848
17849# Manifest tool.
17850MANIFEST_TOOL=$lt_MANIFEST_TOOL
17851
17852# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17853DSYMUTIL=$lt_DSYMUTIL
17854
17855# Tool to change global to local symbols on Mac OS X.
17856NMEDIT=$lt_NMEDIT
17857
17858# Tool to manipulate fat objects and archives on Mac OS X.
17859LIPO=$lt_LIPO
17860
17861# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17862OTOOL=$lt_OTOOL
17863
17864# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17865OTOOL64=$lt_OTOOL64
17866
17867# Old archive suffix (normally "a").
17868libext=$libext
17869
17870# Shared library suffix (normally ".so").
17871shrext_cmds=$lt_shrext_cmds
17872
17873# The commands to extract the exported symbol list from a shared archive.
17874extract_expsyms_cmds=$lt_extract_expsyms_cmds
17875
17876# Variables whose values should be saved in libtool wrapper scripts and
17877# restored at link time.
17878variables_saved_for_relink=$lt_variables_saved_for_relink
17879
17880# Do we need the "lib" prefix for modules?
17881need_lib_prefix=$need_lib_prefix
17882
17883# Do we need a version for libraries?
17884need_version=$need_version
17885
17886# Library versioning type.
17887version_type=$version_type
17888
17889# Shared library runtime path variable.
17890runpath_var=$runpath_var
17891
17892# Shared library path variable.
17893shlibpath_var=$shlibpath_var
17894
17895# Is shlibpath searched before the hard-coded library search path?
17896shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17897
17898# Format of library name prefix.
17899libname_spec=$lt_libname_spec
17900
17901# List of archive names.  First name is the real one, the rest are links.
17902# The last name is the one that the linker finds with -lNAME
17903library_names_spec=$lt_library_names_spec
17904
17905# The coded name of the library, if different from the real name.
17906soname_spec=$lt_soname_spec
17907
17908# Permission mode override for installation of shared libraries.
17909install_override_mode=$lt_install_override_mode
17910
17911# Command to use after installation of a shared archive.
17912postinstall_cmds=$lt_postinstall_cmds
17913
17914# Command to use after uninstallation of a shared archive.
17915postuninstall_cmds=$lt_postuninstall_cmds
17916
17917# Commands used to finish a libtool library installation in a directory.
17918finish_cmds=$lt_finish_cmds
17919
17920# As "finish_cmds", except a single script fragment to be evaled but
17921# not shown.
17922finish_eval=$lt_finish_eval
17923
17924# Whether we should hardcode library paths into libraries.
17925hardcode_into_libs=$hardcode_into_libs
17926
17927# Compile-time system search path for libraries.
17928sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17929
17930# Detected run-time system search path for libraries.
17931sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17932
17933# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17934configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17935
17936# Whether dlopen is supported.
17937dlopen_support=$enable_dlopen
17938
17939# Whether dlopen of programs is supported.
17940dlopen_self=$enable_dlopen_self
17941
17942# Whether dlopen of statically linked programs is supported.
17943dlopen_self_static=$enable_dlopen_self_static
17944
17945# Commands to strip libraries.
17946old_striplib=$lt_old_striplib
17947striplib=$lt_striplib
17948
17949
17950# The linker used to build libraries.
17951LD=$lt_LD
17952
17953# How to create reloadable object files.
17954reload_flag=$lt_reload_flag
17955reload_cmds=$lt_reload_cmds
17956
17957# Commands used to build an old-style archive.
17958old_archive_cmds=$lt_old_archive_cmds
17959
17960# A language specific compiler.
17961CC=$lt_compiler
17962
17963# Is the compiler the GNU compiler?
17964with_gcc=$GCC
17965
17966# Compiler flag to turn off builtin functions.
17967no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17968
17969# Additional compiler flags for building library objects.
17970pic_flag=$lt_lt_prog_compiler_pic
17971
17972# How to pass a linker flag through the compiler.
17973wl=$lt_lt_prog_compiler_wl
17974
17975# Compiler flag to prevent dynamic linking.
17976link_static_flag=$lt_lt_prog_compiler_static
17977
17978# Does compiler simultaneously support -c and -o options?
17979compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17980
17981# Whether or not to add -lc for building shared libraries.
17982build_libtool_need_lc=$archive_cmds_need_lc
17983
17984# Whether or not to disallow shared libs when runtime libs are static.
17985allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17986
17987# Compiler flag to allow reflexive dlopens.
17988export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17989
17990# Compiler flag to generate shared objects directly from archives.
17991whole_archive_flag_spec=$lt_whole_archive_flag_spec
17992
17993# Whether the compiler copes with passing no objects directly.
17994compiler_needs_object=$lt_compiler_needs_object
17995
17996# Create an old-style archive from a shared archive.
17997old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17998
17999# Create a temporary old-style archive to link instead of a shared archive.
18000old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18001
18002# Commands used to build a shared archive.
18003archive_cmds=$lt_archive_cmds
18004archive_expsym_cmds=$lt_archive_expsym_cmds
18005
18006# Commands used to build a loadable module if different from building
18007# a shared archive.
18008module_cmds=$lt_module_cmds
18009module_expsym_cmds=$lt_module_expsym_cmds
18010
18011# Whether we are building with GNU ld or not.
18012with_gnu_ld=$lt_with_gnu_ld
18013
18014# Flag that allows shared libraries with undefined symbols to be built.
18015allow_undefined_flag=$lt_allow_undefined_flag
18016
18017# Flag that enforces no undefined symbols.
18018no_undefined_flag=$lt_no_undefined_flag
18019
18020# Flag to hardcode \$libdir into a binary during linking.
18021# This must work even if \$libdir does not exist
18022hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18023
18024# Whether we need a single "-rpath" flag with a separated argument.
18025hardcode_libdir_separator=$lt_hardcode_libdir_separator
18026
18027# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18028# DIR into the resulting binary.
18029hardcode_direct=$hardcode_direct
18030
18031# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18032# DIR into the resulting binary and the resulting library dependency is
18033# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18034# library is relocated.
18035hardcode_direct_absolute=$hardcode_direct_absolute
18036
18037# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18038# into the resulting binary.
18039hardcode_minus_L=$hardcode_minus_L
18040
18041# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18042# into the resulting binary.
18043hardcode_shlibpath_var=$hardcode_shlibpath_var
18044
18045# Set to "yes" if building a shared library automatically hardcodes DIR
18046# into the library and all subsequent libraries and executables linked
18047# against it.
18048hardcode_automatic=$hardcode_automatic
18049
18050# Set to yes if linker adds runtime paths of dependent libraries
18051# to runtime path list.
18052inherit_rpath=$inherit_rpath
18053
18054# Whether libtool must link a program against all its dependency libraries.
18055link_all_deplibs=$link_all_deplibs
18056
18057# Set to "yes" if exported symbols are required.
18058always_export_symbols=$always_export_symbols
18059
18060# The commands to list exported symbols.
18061export_symbols_cmds=$lt_export_symbols_cmds
18062
18063# Symbols that should not be listed in the preloaded symbols.
18064exclude_expsyms=$lt_exclude_expsyms
18065
18066# Symbols that must always be exported.
18067include_expsyms=$lt_include_expsyms
18068
18069# Commands necessary for linking programs (against libraries) with templates.
18070prelink_cmds=$lt_prelink_cmds
18071
18072# Commands necessary for finishing linking programs.
18073postlink_cmds=$lt_postlink_cmds
18074
18075# Specify filename containing input files.
18076file_list_spec=$lt_file_list_spec
18077
18078# How to hardcode a shared library path into an executable.
18079hardcode_action=$hardcode_action
18080
18081# ### END LIBTOOL CONFIG
18082
18083_LT_EOF
18084
18085    cat <<'_LT_EOF' >> "$cfgfile"
18086
18087# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18088
18089# func_munge_path_list VARIABLE PATH
18090# -----------------------------------
18091# VARIABLE is name of variable containing _space_ separated list of
18092# directories to be munged by the contents of PATH, which is string
18093# having a format:
18094# "DIR[:DIR]:"
18095#       string "DIR[ DIR]" will be prepended to VARIABLE
18096# ":DIR[:DIR]"
18097#       string "DIR[ DIR]" will be appended to VARIABLE
18098# "DIRP[:DIRP]::[DIRA:]DIRA"
18099#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18100#       "DIRA[ DIRA]" will be appended to VARIABLE
18101# "DIR[:DIR]"
18102#       VARIABLE will be replaced by "DIR[ DIR]"
18103func_munge_path_list ()
18104{
18105    case x$2 in
18106    x)
18107        ;;
18108    *:)
18109        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18110        ;;
18111    x:*)
18112        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18113        ;;
18114    *::*)
18115        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18116        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18117        ;;
18118    *)
18119        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18120        ;;
18121    esac
18122}
18123
18124
18125# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18126func_cc_basename ()
18127{
18128    for cc_temp in $*""; do
18129      case $cc_temp in
18130        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18131        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18132        \-*) ;;
18133        *) break;;
18134      esac
18135    done
18136    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18137}
18138
18139
18140# ### END FUNCTIONS SHARED WITH CONFIGURE
18141
18142_LT_EOF
18143
18144  case $host_os in
18145  aix3*)
18146    cat <<\_LT_EOF >> "$cfgfile"
18147# AIX sometimes has problems with the GCC collect2 program.  For some
18148# reason, if we set the COLLECT_NAMES environment variable, the problems
18149# vanish in a puff of smoke.
18150if test set != "${COLLECT_NAMES+set}"; then
18151  COLLECT_NAMES=
18152  export COLLECT_NAMES
18153fi
18154_LT_EOF
18155    ;;
18156  esac
18157
18158
18159ltmain=$ac_aux_dir/ltmain.sh
18160
18161
18162  # We use sed instead of cat because bash on DJGPP gets confused if
18163  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18164  # text mode, it properly converts lines to CR/LF.  This bash problem
18165  # is reportedly fixed, but why not run on old versions too?
18166  sed '$q' "$ltmain" >> "$cfgfile" \
18167     || (rm -f "$cfgfile"; exit 1)
18168
18169   mv -f "$cfgfile" "$ofile" ||
18170    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18171  chmod +x "$ofile"
18172
18173 ;;
18174    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18175        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18176      esac ;;
18177    "po/stamp-it":C)
18178    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18179       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18180    fi
18181    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18182    >"po/stamp-it.tmp"
18183    sed '/^#/d
18184	 s/^[[].*] *//
18185	 /^[ 	]*$/d
18186	'"s|^|	$ac_top_srcdir/|" \
18187      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18188
18189    sed '/^POTFILES =/,/[^\\]$/ {
18190		/^POTFILES =/!d
18191		r po/POTFILES
18192	  }
18193	 ' "po/Makefile.in" >"po/Makefile"
18194    rm -f "po/Makefile.tmp"
18195    mv "po/stamp-it.tmp" "po/stamp-it"
18196   ;;
18197
18198  esac
18199done # for ac_tag
18200
18201
18202as_fn_exit 0
18203_ACEOF
18204ac_clean_files=$ac_clean_files_save
18205
18206test $ac_write_fail = 0 ||
18207  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18208
18209
18210# configure is writing to config.log, and then calls config.status.
18211# config.status does its own redirection, appending to config.log.
18212# Unfortunately, on DOS this fails, as config.log is still kept open
18213# by configure, so config.status won't be able to write to it; its
18214# output is simply discarded.  So we exec the FD to /dev/null,
18215# effectively closing config.log, so it can be properly (re)opened and
18216# appended to by config.status.  When coming back to configure, we
18217# need to make the FD available again.
18218if test "$no_create" != yes; then
18219  ac_cs_success=:
18220  ac_config_status_args=
18221  test "$silent" = yes &&
18222    ac_config_status_args="$ac_config_status_args --quiet"
18223  exec 5>/dev/null
18224  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18225  exec 5>>config.log
18226  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18227  # would make configure fail if this is the last instruction.
18228  $ac_cs_success || as_fn_exit 1
18229fi
18230if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18231  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18232$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18233fi
18234
18235
18236echo
18237echo "Build Configuration:"
18238echo
18239echo "* Debug Support:             $enable_debug"
18240