1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xfce4-verve-plugin 2.0.1.
4#
5# Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin>.
6#
7# Copyright (c) 2006-2008 Jannis Pohlmann <jannis@xfce.org>
8# Copyright (c) Florian Rivoal 2010 <frivoal@xfce.org>
9# Copyright (c) Isaac Schemm 2015 <isaacschemm@gmail.com>
10#
11#
12# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13#
14#
15# This configure script is free software; the Free Software Foundation
16# gives unlimited permission to copy, distribute and modify it.
17## -------------------- ##
18## M4sh Initialization. ##
19## -------------------- ##
20
21# Be more Bourne compatible
22DUALCASE=1; export DUALCASE # for MKS sh
23if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24  emulate sh
25  NULLCMD=:
26  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27  # is contrary to our usage.  Disable this feature.
28  alias -g '${1+"$@"}'='"$@"'
29  setopt NO_GLOB_SUBST
30else
31  case `(set -o) 2>/dev/null` in #(
32  *posix*) :
33    set -o posix ;; #(
34  *) :
35     ;;
36esac
37fi
38
39
40as_nl='
41'
42export as_nl
43# Printing a long string crashes Solaris 7 /usr/bin/printf.
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47# Prefer a ksh shell builtin over an external printf program on Solaris,
48# but without wasting forks for bash or zsh.
49if test -z "$BASH_VERSION$ZSH_VERSION" \
50    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51  as_echo='print -r --'
52  as_echo_n='print -rn --'
53elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54  as_echo='printf %s\n'
55  as_echo_n='printf %s'
56else
57  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59    as_echo_n='/usr/ucb/echo -n'
60  else
61    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62    as_echo_n_body='eval
63      arg=$1;
64      case $arg in #(
65      *"$as_nl"*)
66	expr "X$arg" : "X\\(.*\\)$as_nl";
67	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68      esac;
69      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70    '
71    export as_echo_n_body
72    as_echo_n='sh -c $as_echo_n_body as_echo'
73  fi
74  export as_echo_body
75  as_echo='sh -c $as_echo_body as_echo'
76fi
77
78# The user is always right.
79if test "${PATH_SEPARATOR+set}" != set; then
80  PATH_SEPARATOR=:
81  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83      PATH_SEPARATOR=';'
84  }
85fi
86
87
88# IFS
89# We need space, tab and new line, in precisely that order.  Quoting is
90# there to prevent editors from complaining about space-tab.
91# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92# splitting by setting IFS to empty value.)
93IFS=" ""	$as_nl"
94
95# Find who we are.  Look in the path if we contain no directory separator.
96as_myself=
97case $0 in #((
98  *[\\/]* ) as_myself=$0 ;;
99  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH
101do
102  IFS=$as_save_IFS
103  test -z "$as_dir" && as_dir=.
104    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105  done
106IFS=$as_save_IFS
107
108     ;;
109esac
110# We did not find ourselves, most probably we were run as `sh COMMAND'
111# in which case we are not to be found in the path.
112if test "x$as_myself" = x; then
113  as_myself=$0
114fi
115if test ! -f "$as_myself"; then
116  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117  exit 1
118fi
119
120# Unset variables that we do not need and which cause bugs (e.g. in
121# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
122# suppresses any "Segmentation fault" message there.  '((' could
123# trigger a bug in pdksh 5.2.14.
124for as_var in BASH_ENV ENV MAIL MAILPATH
125do eval test x\${$as_var+set} = xset \
126  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
127done
128PS1='$ '
129PS2='> '
130PS4='+ '
131
132# NLS nuisances.
133LC_ALL=C
134export LC_ALL
135LANGUAGE=C
136export LANGUAGE
137
138# CDPATH.
139(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140
141# Use a proper internal environment variable to ensure we don't fall
142  # into an infinite loop, continuously re-executing ourselves.
143  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
144    _as_can_reexec=no; export _as_can_reexec;
145    # We cannot yet assume a decent shell, so we have to provide a
146# neutralization value for shells without unset; and this also
147# works around shells that cannot unset nonexistent variables.
148# Preserve -v and -x to the replacement shell.
149BASH_ENV=/dev/null
150ENV=/dev/null
151(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
152case $- in # ((((
153  *v*x* | *x*v* ) as_opts=-vx ;;
154  *v* ) as_opts=-v ;;
155  *x* ) as_opts=-x ;;
156  * ) as_opts= ;;
157esac
158exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
159# Admittedly, this is quite paranoid, since all the known shells bail
160# out after a failed `exec'.
161$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162as_fn_exit 255
163  fi
164  # We don't want this to propagate to other subprocesses.
165          { _as_can_reexec=; unset _as_can_reexec;}
166if test "x$CONFIG_SHELL" = x; then
167  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168  emulate sh
169  NULLCMD=:
170  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
171  # is contrary to our usage.  Disable this feature.
172  alias -g '\${1+\"\$@\"}'='\"\$@\"'
173  setopt NO_GLOB_SUBST
174else
175  case \`(set -o) 2>/dev/null\` in #(
176  *posix*) :
177    set -o posix ;; #(
178  *) :
179     ;;
180esac
181fi
182"
183  as_required="as_fn_return () { (exit \$1); }
184as_fn_success () { as_fn_return 0; }
185as_fn_failure () { as_fn_return 1; }
186as_fn_ret_success () { return 0; }
187as_fn_ret_failure () { return 1; }
188
189exitcode=0
190as_fn_success || { exitcode=1; echo as_fn_success failed.; }
191as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
192as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
193as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
194if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195
196else
197  exitcode=1; echo positional parameters were not saved.
198fi
199test x\$exitcode = x0 || exit 1
200test -x / || exit 1"
201  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
202  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
203  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
204  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
205test \$(( 1 + 1 )) = 2 || exit 1
206
207  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
208    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
209    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
210    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
211    PATH=/empty FPATH=/empty; export PATH FPATH
212    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
213      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
214  if (eval "$as_required") 2>/dev/null; then :
215  as_have_required=yes
216else
217  as_have_required=no
218fi
219  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
220
221else
222  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223as_found=false
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  as_found=:
229  case $as_dir in #(
230	 /*)
231	   for as_base in sh bash ksh sh5; do
232	     # Try only shells that exist, to save several forks.
233	     as_shell=$as_dir/$as_base
234	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
236  CONFIG_SHELL=$as_shell as_have_required=yes
237		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
238  break 2
239fi
240fi
241	   done;;
242       esac
243  as_found=false
244done
245$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
246	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
247  CONFIG_SHELL=$SHELL as_have_required=yes
248fi; }
249IFS=$as_save_IFS
250
251
252      if test "x$CONFIG_SHELL" != x; then :
253  export CONFIG_SHELL
254             # We cannot yet assume a decent shell, so we have to provide a
255# neutralization value for shells without unset; and this also
256# works around shells that cannot unset nonexistent variables.
257# Preserve -v and -x to the replacement shell.
258BASH_ENV=/dev/null
259ENV=/dev/null
260(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
261case $- in # ((((
262  *v*x* | *x*v* ) as_opts=-vx ;;
263  *v* ) as_opts=-v ;;
264  *x* ) as_opts=-x ;;
265  * ) as_opts= ;;
266esac
267exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
268# Admittedly, this is quite paranoid, since all the known shells bail
269# out after a failed `exec'.
270$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271exit 255
272fi
273
274    if test x$as_have_required = xno; then :
275  $as_echo "$0: This script requires a shell more modern than all"
276  $as_echo "$0: the shells that I found on your system."
277  if test x${ZSH_VERSION+set} = xset ; then
278    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
279    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
280  else
281    $as_echo "$0: Please tell bug-autoconf@gnu.org and
282$0: https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin
283$0: about your system, including any error possibly output
284$0: before this message. Then install a modern shell, or
285$0: manually run the script under such a shell if you do
286$0: have one."
287  fi
288  exit 1
289fi
290fi
291fi
292SHELL=${CONFIG_SHELL-/bin/sh}
293export SHELL
294# Unset more variables known to interfere with behavior of common tools.
295CLICOLOR_FORCE= GREP_OPTIONS=
296unset CLICOLOR_FORCE GREP_OPTIONS
297
298## --------------------- ##
299## M4sh Shell Functions. ##
300## --------------------- ##
301# as_fn_unset VAR
302# ---------------
303# Portably unset VAR.
304as_fn_unset ()
305{
306  { eval $1=; unset $1;}
307}
308as_unset=as_fn_unset
309
310# as_fn_set_status STATUS
311# -----------------------
312# Set $? to STATUS, without forking.
313as_fn_set_status ()
314{
315  return $1
316} # as_fn_set_status
317
318# as_fn_exit STATUS
319# -----------------
320# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
321as_fn_exit ()
322{
323  set +e
324  as_fn_set_status $1
325  exit $1
326} # as_fn_exit
327
328# as_fn_mkdir_p
329# -------------
330# Create "$as_dir" as a directory, including parents if necessary.
331as_fn_mkdir_p ()
332{
333
334  case $as_dir in #(
335  -*) as_dir=./$as_dir;;
336  esac
337  test -d "$as_dir" || eval $as_mkdir_p || {
338    as_dirs=
339    while :; do
340      case $as_dir in #(
341      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
342      *) as_qdir=$as_dir;;
343      esac
344      as_dirs="'$as_qdir' $as_dirs"
345      as_dir=`$as_dirname -- "$as_dir" ||
346$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
347	 X"$as_dir" : 'X\(//\)[^/]' \| \
348	 X"$as_dir" : 'X\(//\)$' \| \
349	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
350$as_echo X"$as_dir" |
351    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\/\)[^/].*/{
356	    s//\1/
357	    q
358	  }
359	  /^X\(\/\/\)$/{
360	    s//\1/
361	    q
362	  }
363	  /^X\(\/\).*/{
364	    s//\1/
365	    q
366	  }
367	  s/.*/./; q'`
368      test -d "$as_dir" && break
369    done
370    test -z "$as_dirs" || eval "mkdir $as_dirs"
371  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372
373
374} # as_fn_mkdir_p
375
376# as_fn_executable_p FILE
377# -----------------------
378# Test if FILE is an executable regular file.
379as_fn_executable_p ()
380{
381  test -f "$1" && test -x "$1"
382} # as_fn_executable_p
383# as_fn_append VAR VALUE
384# ----------------------
385# Append the text in VALUE to the end of the definition contained in VAR. Take
386# advantage of any shell optimizations that allow amortized linear growth over
387# repeated appends, instead of the typical quadratic growth present in naive
388# implementations.
389if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
390  eval 'as_fn_append ()
391  {
392    eval $1+=\$2
393  }'
394else
395  as_fn_append ()
396  {
397    eval $1=\$$1\$2
398  }
399fi # as_fn_append
400
401# as_fn_arith ARG...
402# ------------------
403# Perform arithmetic evaluation on the ARGs, and store the result in the
404# global $as_val. Take advantage of shells that can avoid forks. The arguments
405# must be portable across $(()) and expr.
406if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
407  eval 'as_fn_arith ()
408  {
409    as_val=$(( $* ))
410  }'
411else
412  as_fn_arith ()
413  {
414    as_val=`expr "$@" || test $? -eq 1`
415  }
416fi # as_fn_arith
417
418
419# as_fn_error STATUS ERROR [LINENO LOG_FD]
420# ----------------------------------------
421# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
422# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
423# script with STATUS, using 1 if that was 0.
424as_fn_error ()
425{
426  as_status=$1; test $as_status -eq 0 && as_status=1
427  if test "$4"; then
428    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
429    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
430  fi
431  $as_echo "$as_me: error: $2" >&2
432  as_fn_exit $as_status
433} # as_fn_error
434
435if expr a : '\(a\)' >/dev/null 2>&1 &&
436   test "X`expr 00001 : '.*\(...\)'`" = X001; then
437  as_expr=expr
438else
439  as_expr=false
440fi
441
442if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443  as_basename=basename
444else
445  as_basename=false
446fi
447
448if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449  as_dirname=dirname
450else
451  as_dirname=false
452fi
453
454as_me=`$as_basename -- "$0" ||
455$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
456	 X"$0" : 'X\(//\)$' \| \
457	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
458$as_echo X/"$0" |
459    sed '/^.*\/\([^/][^/]*\)\/*$/{
460	    s//\1/
461	    q
462	  }
463	  /^X\/\(\/\/\)$/{
464	    s//\1/
465	    q
466	  }
467	  /^X\/\(\/\).*/{
468	    s//\1/
469	    q
470	  }
471	  s/.*/./; q'`
472
473# Avoid depending upon Character Ranges.
474as_cr_letters='abcdefghijklmnopqrstuvwxyz'
475as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
476as_cr_Letters=$as_cr_letters$as_cr_LETTERS
477as_cr_digits='0123456789'
478as_cr_alnum=$as_cr_Letters$as_cr_digits
479
480
481  as_lineno_1=$LINENO as_lineno_1a=$LINENO
482  as_lineno_2=$LINENO as_lineno_2a=$LINENO
483  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
484  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
485  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
486  sed -n '
487    p
488    /[$]LINENO/=
489  ' <$as_myself |
490    sed '
491      s/[$]LINENO.*/&-/
492      t lineno
493      b
494      :lineno
495      N
496      :loop
497      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498      t loop
499      s/-\n.*//
500    ' >$as_me.lineno &&
501  chmod +x "$as_me.lineno" ||
502    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
503
504  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
505  # already done that, so ensure we don't try to do so again and fall
506  # in an infinite loop.  This has already happened in practice.
507  _as_can_reexec=no; export _as_can_reexec
508  # Don't try to exec as it changes $[0], causing all sort of problems
509  # (the dirname of $[0] is not the place where we might find the
510  # original and so on.  Autoconf is especially sensitive to this).
511  . "./$as_me.lineno"
512  # Exit status is that of the last command.
513  exit
514}
515
516ECHO_C= ECHO_N= ECHO_T=
517case `echo -n x` in #(((((
518-n*)
519  case `echo 'xy\c'` in
520  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
521  xy)  ECHO_C='\c';;
522  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
523       ECHO_T='	';;
524  esac;;
525*)
526  ECHO_N='-n';;
527esac
528
529rm -f conf$$ conf$$.exe conf$$.file
530if test -d conf$$.dir; then
531  rm -f conf$$.dir/conf$$.file
532else
533  rm -f conf$$.dir
534  mkdir conf$$.dir 2>/dev/null
535fi
536if (echo >conf$$.file) 2>/dev/null; then
537  if ln -s conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s='ln -s'
539    # ... but there are two gotchas:
540    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
541    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
542    # In both cases, we have to default to `cp -pR'.
543    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544      as_ln_s='cp -pR'
545  elif ln conf$$.file conf$$ 2>/dev/null; then
546    as_ln_s=ln
547  else
548    as_ln_s='cp -pR'
549  fi
550else
551  as_ln_s='cp -pR'
552fi
553rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
554rmdir conf$$.dir 2>/dev/null
555
556if mkdir -p . 2>/dev/null; then
557  as_mkdir_p='mkdir -p "$as_dir"'
558else
559  test -d ./-p && rmdir ./-p
560  as_mkdir_p=false
561fi
562
563as_test_x='test -x'
564as_executable_p=as_fn_executable_p
565
566# Sed expression to map a string onto a valid CPP name.
567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569# Sed expression to map a string onto a valid variable name.
570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574
575test -n "$DJDIR" || exec 7<&0 </dev/null
576exec 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594
595# Identity of this package.
596PACKAGE_NAME='xfce4-verve-plugin'
597PACKAGE_TARNAME='xfce4-verve-plugin'
598PACKAGE_VERSION='2.0.1'
599PACKAGE_STRING='xfce4-verve-plugin 2.0.1'
600PACKAGE_BUGREPORT='https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin'
601PACKAGE_URL=''
602
603# Factoring default headers for most tests.
604ac_includes_default="\
605#include <stdio.h>
606#ifdef HAVE_SYS_TYPES_H
607# include <sys/types.h>
608#endif
609#ifdef HAVE_SYS_STAT_H
610# include <sys/stat.h>
611#endif
612#ifdef STDC_HEADERS
613# include <stdlib.h>
614# include <stddef.h>
615#else
616# ifdef HAVE_STDLIB_H
617#  include <stdlib.h>
618# endif
619#endif
620#ifdef HAVE_STRING_H
621# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622#  include <memory.h>
623# endif
624# include <string.h>
625#endif
626#ifdef HAVE_STRINGS_H
627# include <strings.h>
628#endif
629#ifdef HAVE_INTTYPES_H
630# include <inttypes.h>
631#endif
632#ifdef HAVE_STDINT_H
633# include <stdint.h>
634#endif
635#ifdef HAVE_UNISTD_H
636# include <unistd.h>
637#endif"
638
639ac_subst_vars='am__EXEEXT_FALSE
640am__EXEEXT_TRUE
641LTLIBOBJS
642LIBOBJS
643LIBPCRE_REQUIRED_VERSION
644LIBPCRE_LIBS
645LIBPCRE_CFLAGS
646LIBPCRE_VERSION
647GTHREAD_REQUIRED_VERSION
648GTHREAD_LIBS
649GTHREAD_CFLAGS
650GTHREAD_VERSION
651LIBXFCE4UI_REQUIRED_VERSION
652LIBXFCE4UI_LIBS
653LIBXFCE4UI_CFLAGS
654LIBXFCE4UI_VERSION
655LIBXFCE4PANEL_REQUIRED_VERSION
656LIBXFCE4PANEL_LIBS
657LIBXFCE4PANEL_CFLAGS
658LIBXFCE4PANEL_VERSION
659PKG_CONFIG_LIBDIR
660PKG_CONFIG_PATH
661PKG_CONFIG
662XGETTEXT_ARGS
663MKINSTALLDIRS
664POSUB
665POFILES
666PO_IN_DATADIR_FALSE
667PO_IN_DATADIR_TRUE
668INTLLIBS
669INSTOBJEXT
670GMOFILES
671DATADIRNAME
672CATOBJEXT
673CATALOGS
674MSGFMT_OPTS
675INTL_MACOSX_LIBS
676GETTEXT_PACKAGE
677LT_SYS_LIBRARY_PATH
678OTOOL64
679OTOOL
680LIPO
681NMEDIT
682DSYMUTIL
683MANIFEST_TOOL
684RANLIB
685ac_ct_AR
686AR
687DLLTOOL
688OBJDUMP
689LN_S
690NM
691ac_ct_DUMPBIN
692DUMPBIN
693LIBTOOL
694ALL_LINGUAS
695INTLTOOL_PERL
696GMSGFMT
697MSGFMT
698MSGMERGE
699XGETTEXT
700INTLTOOL_POLICY_RULE
701INTLTOOL_SERVICE_RULE
702INTLTOOL_THEME_RULE
703INTLTOOL_SCHEMAS_RULE
704INTLTOOL_CAVES_RULE
705INTLTOOL_XML_NOMERGE_RULE
706INTLTOOL_XML_RULE
707INTLTOOL_KBD_RULE
708INTLTOOL_XAM_RULE
709INTLTOOL_UI_RULE
710INTLTOOL_SOUNDLIST_RULE
711INTLTOOL_SHEET_RULE
712INTLTOOL_SERVER_RULE
713INTLTOOL_PONG_RULE
714INTLTOOL_OAF_RULE
715INTLTOOL_PROP_RULE
716INTLTOOL_KEYS_RULE
717INTLTOOL_DIRECTORY_RULE
718INTLTOOL_DESKTOP_RULE
719intltool__v_merge_options_0
720intltool__v_merge_options_
721INTLTOOL_V_MERGE_OPTIONS
722INTLTOOL__v_MERGE_0
723INTLTOOL__v_MERGE_
724INTLTOOL_V_MERGE
725INTLTOOL_EXTRACT
726INTLTOOL_MERGE
727INTLTOOL_UPDATE
728USE_NLS
729LD
730FGREP
731SED
732host_os
733host_vendor
734host_cpu
735host
736build_os
737build_vendor
738build_cpu
739build
740EGREP
741GREP
742CPP
743am__fastdepCC_FALSE
744am__fastdepCC_TRUE
745CCDEPMODE
746am__nodep
747AMDEPBACKSLASH
748AMDEP_FALSE
749AMDEP_TRUE
750am__include
751DEPDIR
752OBJEXT
753EXEEXT
754ac_ct_CC
755CPPFLAGS
756LDFLAGS
757CFLAGS
758CC
759MAINT
760MAINTAINER_MODE_FALSE
761MAINTAINER_MODE_TRUE
762AM_BACKSLASH
763AM_DEFAULT_VERBOSITY
764AM_DEFAULT_V
765AM_V
766am__untar
767am__tar
768AMTAR
769am__leading_dot
770SET_MAKE
771AWK
772mkdir_p
773MKDIR_P
774INSTALL_STRIP_PROGRAM
775STRIP
776install_sh
777MAKEINFO
778AUTOHEADER
779AUTOMAKE
780AUTOCONF
781ACLOCAL
782VERSION
783PACKAGE
784CYGPATH_W
785am__isrc
786INSTALL_DATA
787INSTALL_SCRIPT
788INSTALL_PROGRAM
789target_alias
790host_alias
791build_alias
792LIBS
793ECHO_T
794ECHO_N
795ECHO_C
796DEFS
797mandir
798localedir
799libdir
800psdir
801pdfdir
802dvidir
803htmldir
804infodir
805docdir
806oldincludedir
807includedir
808localstatedir
809sharedstatedir
810sysconfdir
811datadir
812datarootdir
813libexecdir
814sbindir
815bindir
816program_transform_name
817prefix
818exec_prefix
819PACKAGE_URL
820PACKAGE_BUGREPORT
821PACKAGE_STRING
822PACKAGE_VERSION
823PACKAGE_TARNAME
824PACKAGE_NAME
825PATH_SEPARATOR
826SHELL
827am__quote'
828ac_subst_files=''
829ac_user_opts='
830enable_option_checking
831enable_silent_rules
832enable_maintainer_mode
833enable_dependency_tracking
834with_gnu_ld
835enable_nls
836enable_static
837enable_shared
838with_pic
839enable_fast_install
840with_aix_soname
841with_sysroot
842enable_libtool_lock
843with_locales_dir
844enable_debug
845'
846      ac_precious_vars='build_alias
847host_alias
848target_alias
849CC
850CFLAGS
851LDFLAGS
852LIBS
853CPPFLAGS
854CPP
855LT_SYS_LIBRARY_PATH
856PKG_CONFIG
857PKG_CONFIG_PATH
858PKG_CONFIG_LIBDIR'
859
860
861# Initialize some variables set by options.
862ac_init_help=
863ac_init_version=false
864ac_unrecognized_opts=
865ac_unrecognized_sep=
866# The variables have the same names as the options, with
867# dashes changed to underlines.
868cache_file=/dev/null
869exec_prefix=NONE
870no_create=
871no_recursion=
872prefix=NONE
873program_prefix=NONE
874program_suffix=NONE
875program_transform_name=s,x,x,
876silent=
877site=
878srcdir=
879verbose=
880x_includes=NONE
881x_libraries=NONE
882
883# Installation directory options.
884# These are left unexpanded so users can "make install exec_prefix=/foo"
885# and all the variables that are supposed to be based on exec_prefix
886# by default will actually change.
887# Use braces instead of parens because sh, perl, etc. also accept them.
888# (The list follows the same order as the GNU Coding Standards.)
889bindir='${exec_prefix}/bin'
890sbindir='${exec_prefix}/sbin'
891libexecdir='${exec_prefix}/libexec'
892datarootdir='${prefix}/share'
893datadir='${datarootdir}'
894sysconfdir='${prefix}/etc'
895sharedstatedir='${prefix}/com'
896localstatedir='${prefix}/var'
897includedir='${prefix}/include'
898oldincludedir='/usr/include'
899docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
900infodir='${datarootdir}/info'
901htmldir='${docdir}'
902dvidir='${docdir}'
903pdfdir='${docdir}'
904psdir='${docdir}'
905libdir='${exec_prefix}/lib'
906localedir='${datarootdir}/locale'
907mandir='${datarootdir}/man'
908
909ac_prev=
910ac_dashdash=
911for ac_option
912do
913  # If the previous option needs an argument, assign it.
914  if test -n "$ac_prev"; then
915    eval $ac_prev=\$ac_option
916    ac_prev=
917    continue
918  fi
919
920  case $ac_option in
921  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922  *=)   ac_optarg= ;;
923  *)    ac_optarg=yes ;;
924  esac
925
926  # Accept the important Cygnus configure options, so we can diagnose typos.
927
928  case $ac_dashdash$ac_option in
929  --)
930    ac_dashdash=yes ;;
931
932  -bindir | --bindir | --bindi | --bind | --bin | --bi)
933    ac_prev=bindir ;;
934  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
935    bindir=$ac_optarg ;;
936
937  -build | --build | --buil | --bui | --bu)
938    ac_prev=build_alias ;;
939  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
940    build_alias=$ac_optarg ;;
941
942  -cache-file | --cache-file | --cache-fil | --cache-fi \
943  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
944    ac_prev=cache_file ;;
945  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
946  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
947    cache_file=$ac_optarg ;;
948
949  --config-cache | -C)
950    cache_file=config.cache ;;
951
952  -datadir | --datadir | --datadi | --datad)
953    ac_prev=datadir ;;
954  -datadir=* | --datadir=* | --datadi=* | --datad=*)
955    datadir=$ac_optarg ;;
956
957  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
958  | --dataroo | --dataro | --datar)
959    ac_prev=datarootdir ;;
960  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
961  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
962    datarootdir=$ac_optarg ;;
963
964  -disable-* | --disable-*)
965    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
966    # Reject names that are not valid shell variable names.
967    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968      as_fn_error $? "invalid feature name: $ac_useropt"
969    ac_useropt_orig=$ac_useropt
970    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971    case $ac_user_opts in
972      *"
973"enable_$ac_useropt"
974"*) ;;
975      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
976	 ac_unrecognized_sep=', ';;
977    esac
978    eval enable_$ac_useropt=no ;;
979
980  -docdir | --docdir | --docdi | --doc | --do)
981    ac_prev=docdir ;;
982  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
983    docdir=$ac_optarg ;;
984
985  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986    ac_prev=dvidir ;;
987  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
988    dvidir=$ac_optarg ;;
989
990  -enable-* | --enable-*)
991    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
992    # Reject names that are not valid shell variable names.
993    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994      as_fn_error $? "invalid feature name: $ac_useropt"
995    ac_useropt_orig=$ac_useropt
996    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997    case $ac_user_opts in
998      *"
999"enable_$ac_useropt"
1000"*) ;;
1001      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1002	 ac_unrecognized_sep=', ';;
1003    esac
1004    eval enable_$ac_useropt=\$ac_optarg ;;
1005
1006  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1007  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1008  | --exec | --exe | --ex)
1009    ac_prev=exec_prefix ;;
1010  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1011  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1012  | --exec=* | --exe=* | --ex=*)
1013    exec_prefix=$ac_optarg ;;
1014
1015  -gas | --gas | --ga | --g)
1016    # Obsolete; use --with-gas.
1017    with_gas=yes ;;
1018
1019  -help | --help | --hel | --he | -h)
1020    ac_init_help=long ;;
1021  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1022    ac_init_help=recursive ;;
1023  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1024    ac_init_help=short ;;
1025
1026  -host | --host | --hos | --ho)
1027    ac_prev=host_alias ;;
1028  -host=* | --host=* | --hos=* | --ho=*)
1029    host_alias=$ac_optarg ;;
1030
1031  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032    ac_prev=htmldir ;;
1033  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034  | --ht=*)
1035    htmldir=$ac_optarg ;;
1036
1037  -includedir | --includedir | --includedi | --included | --include \
1038  | --includ | --inclu | --incl | --inc)
1039    ac_prev=includedir ;;
1040  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1041  | --includ=* | --inclu=* | --incl=* | --inc=*)
1042    includedir=$ac_optarg ;;
1043
1044  -infodir | --infodir | --infodi | --infod | --info | --inf)
1045    ac_prev=infodir ;;
1046  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1047    infodir=$ac_optarg ;;
1048
1049  -libdir | --libdir | --libdi | --libd)
1050    ac_prev=libdir ;;
1051  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1052    libdir=$ac_optarg ;;
1053
1054  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1055  | --libexe | --libex | --libe)
1056    ac_prev=libexecdir ;;
1057  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1058  | --libexe=* | --libex=* | --libe=*)
1059    libexecdir=$ac_optarg ;;
1060
1061  -localedir | --localedir | --localedi | --localed | --locale)
1062    ac_prev=localedir ;;
1063  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1064    localedir=$ac_optarg ;;
1065
1066  -localstatedir | --localstatedir | --localstatedi | --localstated \
1067  | --localstate | --localstat | --localsta | --localst | --locals)
1068    ac_prev=localstatedir ;;
1069  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1070  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1071    localstatedir=$ac_optarg ;;
1072
1073  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074    ac_prev=mandir ;;
1075  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1076    mandir=$ac_optarg ;;
1077
1078  -nfp | --nfp | --nf)
1079    # Obsolete; use --without-fp.
1080    with_fp=no ;;
1081
1082  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1083  | --no-cr | --no-c | -n)
1084    no_create=yes ;;
1085
1086  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1087  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1088    no_recursion=yes ;;
1089
1090  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1091  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1092  | --oldin | --oldi | --old | --ol | --o)
1093    ac_prev=oldincludedir ;;
1094  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1095  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1096  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1097    oldincludedir=$ac_optarg ;;
1098
1099  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100    ac_prev=prefix ;;
1101  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1102    prefix=$ac_optarg ;;
1103
1104  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1105  | --program-pre | --program-pr | --program-p)
1106    ac_prev=program_prefix ;;
1107  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1108  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1109    program_prefix=$ac_optarg ;;
1110
1111  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1112  | --program-suf | --program-su | --program-s)
1113    ac_prev=program_suffix ;;
1114  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1115  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1116    program_suffix=$ac_optarg ;;
1117
1118  -program-transform-name | --program-transform-name \
1119  | --program-transform-nam | --program-transform-na \
1120  | --program-transform-n | --program-transform- \
1121  | --program-transform | --program-transfor \
1122  | --program-transfo | --program-transf \
1123  | --program-trans | --program-tran \
1124  | --progr-tra | --program-tr | --program-t)
1125    ac_prev=program_transform_name ;;
1126  -program-transform-name=* | --program-transform-name=* \
1127  | --program-transform-nam=* | --program-transform-na=* \
1128  | --program-transform-n=* | --program-transform-=* \
1129  | --program-transform=* | --program-transfor=* \
1130  | --program-transfo=* | --program-transf=* \
1131  | --program-trans=* | --program-tran=* \
1132  | --progr-tra=* | --program-tr=* | --program-t=*)
1133    program_transform_name=$ac_optarg ;;
1134
1135  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136    ac_prev=pdfdir ;;
1137  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1138    pdfdir=$ac_optarg ;;
1139
1140  -psdir | --psdir | --psdi | --psd | --ps)
1141    ac_prev=psdir ;;
1142  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1143    psdir=$ac_optarg ;;
1144
1145  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1146  | -silent | --silent | --silen | --sile | --sil)
1147    silent=yes ;;
1148
1149  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1150    ac_prev=sbindir ;;
1151  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1152  | --sbi=* | --sb=*)
1153    sbindir=$ac_optarg ;;
1154
1155  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1156  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1157  | --sharedst | --shareds | --shared | --share | --shar \
1158  | --sha | --sh)
1159    ac_prev=sharedstatedir ;;
1160  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1161  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1162  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1163  | --sha=* | --sh=*)
1164    sharedstatedir=$ac_optarg ;;
1165
1166  -site | --site | --sit)
1167    ac_prev=site ;;
1168  -site=* | --site=* | --sit=*)
1169    site=$ac_optarg ;;
1170
1171  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1172    ac_prev=srcdir ;;
1173  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1174    srcdir=$ac_optarg ;;
1175
1176  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1177  | --syscon | --sysco | --sysc | --sys | --sy)
1178    ac_prev=sysconfdir ;;
1179  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1180  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1181    sysconfdir=$ac_optarg ;;
1182
1183  -target | --target | --targe | --targ | --tar | --ta | --t)
1184    ac_prev=target_alias ;;
1185  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1186    target_alias=$ac_optarg ;;
1187
1188  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1189    verbose=yes ;;
1190
1191  -version | --version | --versio | --versi | --vers | -V)
1192    ac_init_version=: ;;
1193
1194  -with-* | --with-*)
1195    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1196    # Reject names that are not valid shell variable names.
1197    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198      as_fn_error $? "invalid package name: $ac_useropt"
1199    ac_useropt_orig=$ac_useropt
1200    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201    case $ac_user_opts in
1202      *"
1203"with_$ac_useropt"
1204"*) ;;
1205      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1206	 ac_unrecognized_sep=', ';;
1207    esac
1208    eval with_$ac_useropt=\$ac_optarg ;;
1209
1210  -without-* | --without-*)
1211    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1212    # Reject names that are not valid shell variable names.
1213    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1214      as_fn_error $? "invalid package name: $ac_useropt"
1215    ac_useropt_orig=$ac_useropt
1216    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1217    case $ac_user_opts in
1218      *"
1219"with_$ac_useropt"
1220"*) ;;
1221      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1222	 ac_unrecognized_sep=', ';;
1223    esac
1224    eval with_$ac_useropt=no ;;
1225
1226  --x)
1227    # Obsolete; use --with-x.
1228    with_x=yes ;;
1229
1230  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1231  | --x-incl | --x-inc | --x-in | --x-i)
1232    ac_prev=x_includes ;;
1233  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1234  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1235    x_includes=$ac_optarg ;;
1236
1237  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1238  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1239    ac_prev=x_libraries ;;
1240  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1241  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1242    x_libraries=$ac_optarg ;;
1243
1244  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1245Try \`$0 --help' for more information"
1246    ;;
1247
1248  *=*)
1249    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1250    # Reject names that are not valid shell variable names.
1251    case $ac_envvar in #(
1252      '' | [0-9]* | *[!_$as_cr_alnum]* )
1253      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1254    esac
1255    eval $ac_envvar=\$ac_optarg
1256    export $ac_envvar ;;
1257
1258  *)
1259    # FIXME: should be removed in autoconf 3.0.
1260    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1261    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1262      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1263    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1264    ;;
1265
1266  esac
1267done
1268
1269if test -n "$ac_prev"; then
1270  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1271  as_fn_error $? "missing argument to $ac_option"
1272fi
1273
1274if test -n "$ac_unrecognized_opts"; then
1275  case $enable_option_checking in
1276    no) ;;
1277    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1278    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279  esac
1280fi
1281
1282# Check all directory arguments for consistency.
1283for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1284		datadir sysconfdir sharedstatedir localstatedir includedir \
1285		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1286		libdir localedir mandir
1287do
1288  eval ac_val=\$$ac_var
1289  # Remove trailing slashes.
1290  case $ac_val in
1291    */ )
1292      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1293      eval $ac_var=\$ac_val;;
1294  esac
1295  # Be sure to have absolute directory names.
1296  case $ac_val in
1297    [\\/$]* | ?:[\\/]* )  continue;;
1298    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1299  esac
1300  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1301done
1302
1303# There might be people who depend on the old broken behavior: `$host'
1304# used to hold the argument of --host etc.
1305# FIXME: To remove some day.
1306build=$build_alias
1307host=$host_alias
1308target=$target_alias
1309
1310# FIXME: To remove some day.
1311if test "x$host_alias" != x; then
1312  if test "x$build_alias" = x; then
1313    cross_compiling=maybe
1314  elif test "x$build_alias" != "x$host_alias"; then
1315    cross_compiling=yes
1316  fi
1317fi
1318
1319ac_tool_prefix=
1320test -n "$host_alias" && ac_tool_prefix=$host_alias-
1321
1322test "$silent" = yes && exec 6>/dev/null
1323
1324
1325ac_pwd=`pwd` && test -n "$ac_pwd" &&
1326ac_ls_di=`ls -di .` &&
1327ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1328  as_fn_error $? "working directory cannot be determined"
1329test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330  as_fn_error $? "pwd does not report name of working directory"
1331
1332
1333# Find the source files, if location was not specified.
1334if test -z "$srcdir"; then
1335  ac_srcdir_defaulted=yes
1336  # Try the directory containing this script, then the parent directory.
1337  ac_confdir=`$as_dirname -- "$as_myself" ||
1338$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1339	 X"$as_myself" : 'X\(//\)[^/]' \| \
1340	 X"$as_myself" : 'X\(//\)$' \| \
1341	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1342$as_echo X"$as_myself" |
1343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344	    s//\1/
1345	    q
1346	  }
1347	  /^X\(\/\/\)[^/].*/{
1348	    s//\1/
1349	    q
1350	  }
1351	  /^X\(\/\/\)$/{
1352	    s//\1/
1353	    q
1354	  }
1355	  /^X\(\/\).*/{
1356	    s//\1/
1357	    q
1358	  }
1359	  s/.*/./; q'`
1360  srcdir=$ac_confdir
1361  if test ! -r "$srcdir/$ac_unique_file"; then
1362    srcdir=..
1363  fi
1364else
1365  ac_srcdir_defaulted=no
1366fi
1367if test ! -r "$srcdir/$ac_unique_file"; then
1368  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1369  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1370fi
1371ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1372ac_abs_confdir=`(
1373	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374	pwd)`
1375# When building in place, set srcdir=.
1376if test "$ac_abs_confdir" = "$ac_pwd"; then
1377  srcdir=.
1378fi
1379# Remove unnecessary trailing slashes from srcdir.
1380# Double slashes in file names in object file debugging info
1381# mess up M-x gdb in Emacs.
1382case $srcdir in
1383*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384esac
1385for ac_var in $ac_precious_vars; do
1386  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1387  eval ac_env_${ac_var}_value=\$${ac_var}
1388  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1389  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1390done
1391
1392#
1393# Report the --help message.
1394#
1395if test "$ac_init_help" = "long"; then
1396  # Omit some internal or obsolete options to make the list less imposing.
1397  # This message is too long to be a string in the A/UX 3.1 sh.
1398  cat <<_ACEOF
1399\`configure' configures xfce4-verve-plugin 2.0.1 to adapt to many kinds of systems.
1400
1401Usage: $0 [OPTION]... [VAR=VALUE]...
1402
1403To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404VAR=VALUE.  See below for descriptions of some of the useful variables.
1405
1406Defaults for the options are specified in brackets.
1407
1408Configuration:
1409  -h, --help              display this help and exit
1410      --help=short        display options specific to this package
1411      --help=recursive    display the short help of all the included packages
1412  -V, --version           display version information and exit
1413  -q, --quiet, --silent   do not print \`checking ...' messages
1414      --cache-file=FILE   cache test results in FILE [disabled]
1415  -C, --config-cache      alias for \`--cache-file=config.cache'
1416  -n, --no-create         do not create output files
1417      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1418
1419Installation directories:
1420  --prefix=PREFIX         install architecture-independent files in PREFIX
1421                          [$ac_default_prefix]
1422  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1423                          [PREFIX]
1424
1425By default, \`make install' will install all the files in
1426\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1427an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428for instance \`--prefix=\$HOME'.
1429
1430For better control, use the options below.
1431
1432Fine tuning of the installation directories:
1433  --bindir=DIR            user executables [EPREFIX/bin]
1434  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1435  --libexecdir=DIR        program executables [EPREFIX/libexec]
1436  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1437  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1438  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1439  --libdir=DIR            object code libraries [EPREFIX/lib]
1440  --includedir=DIR        C header files [PREFIX/include]
1441  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1442  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1443  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1444  --infodir=DIR           info documentation [DATAROOTDIR/info]
1445  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1446  --mandir=DIR            man documentation [DATAROOTDIR/man]
1447  --docdir=DIR            documentation root
1448                          [DATAROOTDIR/doc/xfce4-verve-plugin]
1449  --htmldir=DIR           html documentation [DOCDIR]
1450  --dvidir=DIR            dvi documentation [DOCDIR]
1451  --pdfdir=DIR            pdf documentation [DOCDIR]
1452  --psdir=DIR             ps documentation [DOCDIR]
1453_ACEOF
1454
1455  cat <<\_ACEOF
1456
1457Program names:
1458  --program-prefix=PREFIX            prepend PREFIX to installed program names
1459  --program-suffix=SUFFIX            append SUFFIX to installed program names
1460  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1461
1462System types:
1463  --build=BUILD     configure for building on BUILD [guessed]
1464  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1465_ACEOF
1466fi
1467
1468if test -n "$ac_init_help"; then
1469  case $ac_init_help in
1470     short | recursive ) echo "Configuration of xfce4-verve-plugin 2.0.1:";;
1471   esac
1472  cat <<\_ACEOF
1473
1474Optional Features:
1475  --disable-option-checking  ignore unrecognized --enable/--with options
1476  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1477  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1478  --enable-silent-rules   less verbose build output (undo: "make V=1")
1479  --disable-silent-rules  verbose build output (undo: "make V=0")
1480  --enable-maintainer-mode
1481                          enable make rules and dependencies not useful (and
1482                          sometimes confusing) to the casual installer
1483  --enable-dependency-tracking
1484                          do not reject slow dependency extractors
1485  --disable-dependency-tracking
1486                          speeds up one-time build
1487  --disable-nls           do not use Native Language Support
1488  --enable-static[=PKGS]  build static libraries [default=no]
1489  --enable-shared[=PKGS]  build shared libraries [default=yes]
1490  --enable-fast-install[=PKGS]
1491                          optimize for fast installation [default=yes]
1492  --disable-libtool-lock  avoid locking (might break parallel builds)
1493  --enable-debug[=no|minimum|yes|full]
1494                          Build with debugging support [default=[]]
1495  --disable-debug         Include no debugging support
1496
1497Optional Packages:
1498  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1499  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1500  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1501  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1502                          both]
1503  --with-aix-soname=aix|svr4|both
1504                          shared library versioning (aka "SONAME") variant to
1505                          provide on AIX, [default=aix].
1506  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1507                          compiler's sysroot if not specified).
1508
1509      --with-locales-dir=DIR  Install locales into DIR
1510
1511
1512Some influential environment variables:
1513  CC          C compiler command
1514  CFLAGS      C compiler flags
1515  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1516              nonstandard directory <lib dir>
1517  LIBS        libraries to pass to the linker, e.g. -l<library>
1518  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1519              you have headers in a nonstandard directory <include dir>
1520  CPP         C preprocessor
1521  LT_SYS_LIBRARY_PATH
1522              User-defined run-time library search path.
1523  PKG_CONFIG  path to pkg-config utility
1524  PKG_CONFIG_PATH
1525              directories to add to pkg-config's search path
1526  PKG_CONFIG_LIBDIR
1527              path overriding pkg-config's built-in search path
1528
1529Use these variables to override the choices made by `configure' or to help
1530it to find libraries and programs with nonstandard names/locations.
1531
1532Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin>.
1533_ACEOF
1534ac_status=$?
1535fi
1536
1537if test "$ac_init_help" = "recursive"; then
1538  # If there are subdirs, report their specific --help.
1539  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1540    test -d "$ac_dir" ||
1541      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1542      continue
1543    ac_builddir=.
1544
1545case "$ac_dir" in
1546.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547*)
1548  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1549  # A ".." for each directory in $ac_dir_suffix.
1550  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1551  case $ac_top_builddir_sub in
1552  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1554  esac ;;
1555esac
1556ac_abs_top_builddir=$ac_pwd
1557ac_abs_builddir=$ac_pwd$ac_dir_suffix
1558# for backward compatibility:
1559ac_top_builddir=$ac_top_build_prefix
1560
1561case $srcdir in
1562  .)  # We are building in place.
1563    ac_srcdir=.
1564    ac_top_srcdir=$ac_top_builddir_sub
1565    ac_abs_top_srcdir=$ac_pwd ;;
1566  [\\/]* | ?:[\\/]* )  # Absolute name.
1567    ac_srcdir=$srcdir$ac_dir_suffix;
1568    ac_top_srcdir=$srcdir
1569    ac_abs_top_srcdir=$srcdir ;;
1570  *) # Relative name.
1571    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1572    ac_top_srcdir=$ac_top_build_prefix$srcdir
1573    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1574esac
1575ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1576
1577    cd "$ac_dir" || { ac_status=$?; continue; }
1578    # Check for guested configure.
1579    if test -f "$ac_srcdir/configure.gnu"; then
1580      echo &&
1581      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1582    elif test -f "$ac_srcdir/configure"; then
1583      echo &&
1584      $SHELL "$ac_srcdir/configure" --help=recursive
1585    else
1586      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1587    fi || ac_status=$?
1588    cd "$ac_pwd" || { ac_status=$?; break; }
1589  done
1590fi
1591
1592test -n "$ac_init_help" && exit $ac_status
1593if $ac_init_version; then
1594  cat <<\_ACEOF
1595xfce4-verve-plugin configure 2.0.1
1596generated by GNU Autoconf 2.69
1597
1598Copyright (C) 2012 Free Software Foundation, Inc.
1599This configure script is free software; the Free Software Foundation
1600gives unlimited permission to copy, distribute and modify it.
1601
1602Copyright (c) 2006-2008 Jannis Pohlmann <jannis@xfce.org>
1603Copyright (c) Florian Rivoal 2010 <frivoal@xfce.org>
1604Copyright (c) Isaac Schemm 2015 <isaacschemm@gmail.com>
1605_ACEOF
1606  exit
1607fi
1608
1609## ------------------------ ##
1610## Autoconf initialization. ##
1611## ------------------------ ##
1612
1613# ac_fn_c_try_compile LINENO
1614# --------------------------
1615# Try to compile conftest.$ac_ext, and return whether this succeeded.
1616ac_fn_c_try_compile ()
1617{
1618  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619  rm -f conftest.$ac_objext
1620  if { { ac_try="$ac_compile"
1621case "(($ac_try" in
1622  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623  *) ac_try_echo=$ac_try;;
1624esac
1625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626$as_echo "$ac_try_echo"; } >&5
1627  (eval "$ac_compile") 2>conftest.err
1628  ac_status=$?
1629  if test -s conftest.err; then
1630    grep -v '^ *+' conftest.err >conftest.er1
1631    cat conftest.er1 >&5
1632    mv -f conftest.er1 conftest.err
1633  fi
1634  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635  test $ac_status = 0; } && {
1636	 test -z "$ac_c_werror_flag" ||
1637	 test ! -s conftest.err
1638       } && test -s conftest.$ac_objext; then :
1639  ac_retval=0
1640else
1641  $as_echo "$as_me: failed program was:" >&5
1642sed 's/^/| /' conftest.$ac_ext >&5
1643
1644	ac_retval=1
1645fi
1646  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647  as_fn_set_status $ac_retval
1648
1649} # ac_fn_c_try_compile
1650
1651# ac_fn_c_try_cpp LINENO
1652# ----------------------
1653# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1654ac_fn_c_try_cpp ()
1655{
1656  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657  if { { ac_try="$ac_cpp conftest.$ac_ext"
1658case "(($ac_try" in
1659  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660  *) ac_try_echo=$ac_try;;
1661esac
1662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663$as_echo "$ac_try_echo"; } >&5
1664  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1665  ac_status=$?
1666  if test -s conftest.err; then
1667    grep -v '^ *+' conftest.err >conftest.er1
1668    cat conftest.er1 >&5
1669    mv -f conftest.er1 conftest.err
1670  fi
1671  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672  test $ac_status = 0; } > conftest.i && {
1673	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674	 test ! -s conftest.err
1675       }; then :
1676  ac_retval=0
1677else
1678  $as_echo "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5
1680
1681    ac_retval=1
1682fi
1683  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684  as_fn_set_status $ac_retval
1685
1686} # ac_fn_c_try_cpp
1687
1688# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1689# -------------------------------------------------------
1690# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1691# the include files in INCLUDES and setting the cache variable VAR
1692# accordingly.
1693ac_fn_c_check_header_mongrel ()
1694{
1695  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696  if eval \${$3+:} false; then :
1697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698$as_echo_n "checking for $2... " >&6; }
1699if eval \${$3+:} false; then :
1700  $as_echo_n "(cached) " >&6
1701fi
1702eval ac_res=\$$3
1703	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704$as_echo "$ac_res" >&6; }
1705else
1706  # Is the header compilable?
1707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1708$as_echo_n "checking $2 usability... " >&6; }
1709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710/* end confdefs.h.  */
1711$4
1712#include <$2>
1713_ACEOF
1714if ac_fn_c_try_compile "$LINENO"; then :
1715  ac_header_compiler=yes
1716else
1717  ac_header_compiler=no
1718fi
1719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1721$as_echo "$ac_header_compiler" >&6; }
1722
1723# Is the header present?
1724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1725$as_echo_n "checking $2 presence... " >&6; }
1726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727/* end confdefs.h.  */
1728#include <$2>
1729_ACEOF
1730if ac_fn_c_try_cpp "$LINENO"; then :
1731  ac_header_preproc=yes
1732else
1733  ac_header_preproc=no
1734fi
1735rm -f conftest.err conftest.i conftest.$ac_ext
1736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1737$as_echo "$ac_header_preproc" >&6; }
1738
1739# So?  What about this header?
1740case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1741  yes:no: )
1742    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1743$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1744    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746    ;;
1747  no:yes:* )
1748    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1749$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1750    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1751$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1752    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1753$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1754    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1755$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1756    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1757$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1758( $as_echo "## ----------------------------------------------------------------------- ##
1759## Report this to https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin ##
1760## ----------------------------------------------------------------------- ##"
1761     ) | sed "s/^/$as_me: WARNING:     /" >&2
1762    ;;
1763esac
1764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765$as_echo_n "checking for $2... " >&6; }
1766if eval \${$3+:} false; then :
1767  $as_echo_n "(cached) " >&6
1768else
1769  eval "$3=\$ac_header_compiler"
1770fi
1771eval ac_res=\$$3
1772	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773$as_echo "$ac_res" >&6; }
1774fi
1775  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1777} # ac_fn_c_check_header_mongrel
1778
1779# ac_fn_c_try_run LINENO
1780# ----------------------
1781# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1782# that executables *can* be run.
1783ac_fn_c_try_run ()
1784{
1785  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786  if { { ac_try="$ac_link"
1787case "(($ac_try" in
1788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789  *) ac_try_echo=$ac_try;;
1790esac
1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792$as_echo "$ac_try_echo"; } >&5
1793  (eval "$ac_link") 2>&5
1794  ac_status=$?
1795  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1797  { { case "(($ac_try" in
1798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799  *) ac_try_echo=$ac_try;;
1800esac
1801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802$as_echo "$ac_try_echo"; } >&5
1803  (eval "$ac_try") 2>&5
1804  ac_status=$?
1805  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806  test $ac_status = 0; }; }; then :
1807  ac_retval=0
1808else
1809  $as_echo "$as_me: program exited with status $ac_status" >&5
1810       $as_echo "$as_me: failed program was:" >&5
1811sed 's/^/| /' conftest.$ac_ext >&5
1812
1813       ac_retval=$ac_status
1814fi
1815  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817  as_fn_set_status $ac_retval
1818
1819} # ac_fn_c_try_run
1820
1821# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1822# -------------------------------------------------------
1823# Tests whether HEADER exists and can be compiled using the include files in
1824# INCLUDES, setting the cache variable VAR accordingly.
1825ac_fn_c_check_header_compile ()
1826{
1827  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829$as_echo_n "checking for $2... " >&6; }
1830if eval \${$3+:} false; then :
1831  $as_echo_n "(cached) " >&6
1832else
1833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834/* end confdefs.h.  */
1835$4
1836#include <$2>
1837_ACEOF
1838if ac_fn_c_try_compile "$LINENO"; then :
1839  eval "$3=yes"
1840else
1841  eval "$3=no"
1842fi
1843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844fi
1845eval ac_res=\$$3
1846	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847$as_echo "$ac_res" >&6; }
1848  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849
1850} # ac_fn_c_check_header_compile
1851
1852# ac_fn_c_try_link LINENO
1853# -----------------------
1854# Try to link conftest.$ac_ext, and return whether this succeeded.
1855ac_fn_c_try_link ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  rm -f conftest.$ac_objext conftest$ac_exeext
1859  if { { ac_try="$ac_link"
1860case "(($ac_try" in
1861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862  *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866  (eval "$ac_link") 2>conftest.err
1867  ac_status=$?
1868  if test -s conftest.err; then
1869    grep -v '^ *+' conftest.err >conftest.er1
1870    cat conftest.er1 >&5
1871    mv -f conftest.er1 conftest.err
1872  fi
1873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874  test $ac_status = 0; } && {
1875	 test -z "$ac_c_werror_flag" ||
1876	 test ! -s conftest.err
1877       } && test -s conftest$ac_exeext && {
1878	 test "$cross_compiling" = yes ||
1879	 test -x conftest$ac_exeext
1880       }; then :
1881  ac_retval=0
1882else
1883  $as_echo "$as_me: failed program was:" >&5
1884sed 's/^/| /' conftest.$ac_ext >&5
1885
1886	ac_retval=1
1887fi
1888  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1889  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1890  # interfere with the next link command; also delete a directory that is
1891  # left behind by Apple's compiler.  We do this before executing the actions.
1892  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894  as_fn_set_status $ac_retval
1895
1896} # ac_fn_c_try_link
1897
1898# ac_fn_c_check_func LINENO FUNC VAR
1899# ----------------------------------
1900# Tests whether FUNC exists, setting the cache variable VAR accordingly
1901ac_fn_c_check_func ()
1902{
1903  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905$as_echo_n "checking for $2... " >&6; }
1906if eval \${$3+:} false; then :
1907  $as_echo_n "(cached) " >&6
1908else
1909  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910/* end confdefs.h.  */
1911/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1912   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1913#define $2 innocuous_$2
1914
1915/* System header to define __stub macros and hopefully few prototypes,
1916    which can conflict with char $2 (); below.
1917    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1918    <limits.h> exists even on freestanding compilers.  */
1919
1920#ifdef __STDC__
1921# include <limits.h>
1922#else
1923# include <assert.h>
1924#endif
1925
1926#undef $2
1927
1928/* Override any GCC internal prototype to avoid an error.
1929   Use char because int might match the return type of a GCC
1930   builtin and then its argument prototype would still apply.  */
1931#ifdef __cplusplus
1932extern "C"
1933#endif
1934char $2 ();
1935/* The GNU C library defines this for functions which it implements
1936    to always fail with ENOSYS.  Some functions are actually named
1937    something starting with __ and the normal name is an alias.  */
1938#if defined __stub_$2 || defined __stub___$2
1939choke me
1940#endif
1941
1942int
1943main ()
1944{
1945return $2 ();
1946  ;
1947  return 0;
1948}
1949_ACEOF
1950if ac_fn_c_try_link "$LINENO"; then :
1951  eval "$3=yes"
1952else
1953  eval "$3=no"
1954fi
1955rm -f core conftest.err conftest.$ac_objext \
1956    conftest$ac_exeext conftest.$ac_ext
1957fi
1958eval ac_res=\$$3
1959	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960$as_echo "$ac_res" >&6; }
1961  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1963} # ac_fn_c_check_func
1964cat >config.log <<_ACEOF
1965This file contains any messages produced by compilers while
1966running configure, to aid debugging if configure makes a mistake.
1967
1968It was created by xfce4-verve-plugin $as_me 2.0.1, which was
1969generated by GNU Autoconf 2.69.  Invocation command line was
1970
1971  $ $0 $@
1972
1973_ACEOF
1974exec 5>>config.log
1975{
1976cat <<_ASUNAME
1977## --------- ##
1978## Platform. ##
1979## --------- ##
1980
1981hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1982uname -m = `(uname -m) 2>/dev/null || echo unknown`
1983uname -r = `(uname -r) 2>/dev/null || echo unknown`
1984uname -s = `(uname -s) 2>/dev/null || echo unknown`
1985uname -v = `(uname -v) 2>/dev/null || echo unknown`
1986
1987/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1988/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1989
1990/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1991/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1992/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1993/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1994/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1995/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1996/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1997
1998_ASUNAME
1999
2000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001for as_dir in $PATH
2002do
2003  IFS=$as_save_IFS
2004  test -z "$as_dir" && as_dir=.
2005    $as_echo "PATH: $as_dir"
2006  done
2007IFS=$as_save_IFS
2008
2009} >&5
2010
2011cat >&5 <<_ACEOF
2012
2013
2014## ----------- ##
2015## Core tests. ##
2016## ----------- ##
2017
2018_ACEOF
2019
2020
2021# Keep a trace of the command line.
2022# Strip out --no-create and --no-recursion so they do not pile up.
2023# Strip out --silent because we don't want to record it for future runs.
2024# Also quote any args containing shell meta-characters.
2025# Make two passes to allow for proper duplicate-argument suppression.
2026ac_configure_args=
2027ac_configure_args0=
2028ac_configure_args1=
2029ac_must_keep_next=false
2030for ac_pass in 1 2
2031do
2032  for ac_arg
2033  do
2034    case $ac_arg in
2035    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2036    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2037    | -silent | --silent | --silen | --sile | --sil)
2038      continue ;;
2039    *\'*)
2040      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2041    esac
2042    case $ac_pass in
2043    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2044    2)
2045      as_fn_append ac_configure_args1 " '$ac_arg'"
2046      if test $ac_must_keep_next = true; then
2047	ac_must_keep_next=false # Got value, back to normal.
2048      else
2049	case $ac_arg in
2050	  *=* | --config-cache | -C | -disable-* | --disable-* \
2051	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2052	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2053	  | -with-* | --with-* | -without-* | --without-* | --x)
2054	    case "$ac_configure_args0 " in
2055	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056	    esac
2057	    ;;
2058	  -* ) ac_must_keep_next=true ;;
2059	esac
2060      fi
2061      as_fn_append ac_configure_args " '$ac_arg'"
2062      ;;
2063    esac
2064  done
2065done
2066{ ac_configure_args0=; unset ac_configure_args0;}
2067{ ac_configure_args1=; unset ac_configure_args1;}
2068
2069# When interrupted or exit'd, cleanup temporary files, and complete
2070# config.log.  We remove comments because anyway the quotes in there
2071# would cause problems or look ugly.
2072# WARNING: Use '\'' to represent an apostrophe within the trap.
2073# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2074trap 'exit_status=$?
2075  # Save into config.log some information that might help in debugging.
2076  {
2077    echo
2078
2079    $as_echo "## ---------------- ##
2080## Cache variables. ##
2081## ---------------- ##"
2082    echo
2083    # The following way of writing the cache mishandles newlines in values,
2084(
2085  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2086    eval ac_val=\$$ac_var
2087    case $ac_val in #(
2088    *${as_nl}*)
2089      case $ac_var in #(
2090      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2091$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2092      esac
2093      case $ac_var in #(
2094      _ | IFS | as_nl) ;; #(
2095      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2096      *) { eval $ac_var=; unset $ac_var;} ;;
2097      esac ;;
2098    esac
2099  done
2100  (set) 2>&1 |
2101    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2102    *${as_nl}ac_space=\ *)
2103      sed -n \
2104	"s/'\''/'\''\\\\'\'''\''/g;
2105	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2106      ;; #(
2107    *)
2108      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2109      ;;
2110    esac |
2111    sort
2112)
2113    echo
2114
2115    $as_echo "## ----------------- ##
2116## Output variables. ##
2117## ----------------- ##"
2118    echo
2119    for ac_var in $ac_subst_vars
2120    do
2121      eval ac_val=\$$ac_var
2122      case $ac_val in
2123      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124      esac
2125      $as_echo "$ac_var='\''$ac_val'\''"
2126    done | sort
2127    echo
2128
2129    if test -n "$ac_subst_files"; then
2130      $as_echo "## ------------------- ##
2131## File substitutions. ##
2132## ------------------- ##"
2133      echo
2134      for ac_var in $ac_subst_files
2135      do
2136	eval ac_val=\$$ac_var
2137	case $ac_val in
2138	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2139	esac
2140	$as_echo "$ac_var='\''$ac_val'\''"
2141      done | sort
2142      echo
2143    fi
2144
2145    if test -s confdefs.h; then
2146      $as_echo "## ----------- ##
2147## confdefs.h. ##
2148## ----------- ##"
2149      echo
2150      cat confdefs.h
2151      echo
2152    fi
2153    test "$ac_signal" != 0 &&
2154      $as_echo "$as_me: caught signal $ac_signal"
2155    $as_echo "$as_me: exit $exit_status"
2156  } >&5
2157  rm -f core *.core core.conftest.* &&
2158    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159    exit $exit_status
2160' 0
2161for ac_signal in 1 2 13 15; do
2162  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2163done
2164ac_signal=0
2165
2166# confdefs.h avoids OS command line length limits that DEFS can exceed.
2167rm -f -r conftest* confdefs.h
2168
2169$as_echo "/* confdefs.h */" > confdefs.h
2170
2171# Predefined preprocessor variables.
2172
2173cat >>confdefs.h <<_ACEOF
2174#define PACKAGE_NAME "$PACKAGE_NAME"
2175_ACEOF
2176
2177cat >>confdefs.h <<_ACEOF
2178#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179_ACEOF
2180
2181cat >>confdefs.h <<_ACEOF
2182#define PACKAGE_VERSION "$PACKAGE_VERSION"
2183_ACEOF
2184
2185cat >>confdefs.h <<_ACEOF
2186#define PACKAGE_STRING "$PACKAGE_STRING"
2187_ACEOF
2188
2189cat >>confdefs.h <<_ACEOF
2190#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191_ACEOF
2192
2193cat >>confdefs.h <<_ACEOF
2194#define PACKAGE_URL "$PACKAGE_URL"
2195_ACEOF
2196
2197
2198# Let the site file select an alternate cache file if it wants to.
2199# Prefer an explicitly selected file to automatically selected ones.
2200ac_site_file1=NONE
2201ac_site_file2=NONE
2202if test -n "$CONFIG_SITE"; then
2203  # We do not want a PATH search for config.site.
2204  case $CONFIG_SITE in #((
2205    -*)  ac_site_file1=./$CONFIG_SITE;;
2206    */*) ac_site_file1=$CONFIG_SITE;;
2207    *)   ac_site_file1=./$CONFIG_SITE;;
2208  esac
2209elif test "x$prefix" != xNONE; then
2210  ac_site_file1=$prefix/share/config.site
2211  ac_site_file2=$prefix/etc/config.site
2212else
2213  ac_site_file1=$ac_default_prefix/share/config.site
2214  ac_site_file2=$ac_default_prefix/etc/config.site
2215fi
2216for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2217do
2218  test "x$ac_site_file" = xNONE && continue
2219  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2220    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2221$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2222    sed 's/^/| /' "$ac_site_file" >&5
2223    . "$ac_site_file" \
2224      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226as_fn_error $? "failed to load site script $ac_site_file
2227See \`config.log' for more details" "$LINENO" 5; }
2228  fi
2229done
2230
2231if test -r "$cache_file"; then
2232  # Some versions of bash will fail to source /dev/null (special files
2233  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2234  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2235    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2236$as_echo "$as_me: loading cache $cache_file" >&6;}
2237    case $cache_file in
2238      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2239      *)                      . "./$cache_file";;
2240    esac
2241  fi
2242else
2243  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2244$as_echo "$as_me: creating cache $cache_file" >&6;}
2245  >$cache_file
2246fi
2247
2248# Check that the precious variables saved in the cache have kept the same
2249# value.
2250ac_cache_corrupted=false
2251for ac_var in $ac_precious_vars; do
2252  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2253  eval ac_new_set=\$ac_env_${ac_var}_set
2254  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2255  eval ac_new_val=\$ac_env_${ac_var}_value
2256  case $ac_old_set,$ac_new_set in
2257    set,)
2258      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2259$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2260      ac_cache_corrupted=: ;;
2261    ,set)
2262      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2263$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2264      ac_cache_corrupted=: ;;
2265    ,);;
2266    *)
2267      if test "x$ac_old_val" != "x$ac_new_val"; then
2268	# differences in whitespace do not lead to failure.
2269	ac_old_val_w=`echo x $ac_old_val`
2270	ac_new_val_w=`echo x $ac_new_val`
2271	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2272	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2273$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2274	  ac_cache_corrupted=:
2275	else
2276	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2277$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2278	  eval $ac_var=\$ac_old_val
2279	fi
2280	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2281$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2282	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2283$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2284      fi;;
2285  esac
2286  # Pass precious variables to config.status.
2287  if test "$ac_new_set" = set; then
2288    case $ac_new_val in
2289    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2290    *) ac_arg=$ac_var=$ac_new_val ;;
2291    esac
2292    case " $ac_configure_args " in
2293      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2294      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2295    esac
2296  fi
2297done
2298if $ac_cache_corrupted; then
2299  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2300$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2301  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2302$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2303  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2304fi
2305## -------------------- ##
2306## Main body of script. ##
2307## -------------------- ##
2308
2309ac_ext=c
2310ac_cpp='$CPP $CPPFLAGS'
2311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314
2315
2316
2317
2318am__api_version='1.16'
2319
2320ac_aux_dir=
2321for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2322  if test -f "$ac_dir/install-sh"; then
2323    ac_aux_dir=$ac_dir
2324    ac_install_sh="$ac_aux_dir/install-sh -c"
2325    break
2326  elif test -f "$ac_dir/install.sh"; then
2327    ac_aux_dir=$ac_dir
2328    ac_install_sh="$ac_aux_dir/install.sh -c"
2329    break
2330  elif test -f "$ac_dir/shtool"; then
2331    ac_aux_dir=$ac_dir
2332    ac_install_sh="$ac_aux_dir/shtool install -c"
2333    break
2334  fi
2335done
2336if test -z "$ac_aux_dir"; then
2337  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2338fi
2339
2340# These three variables are undocumented and unsupported,
2341# and are intended to be withdrawn in a future Autoconf release.
2342# They can cause serious problems if a builder's source tree is in a directory
2343# whose full name contains unusual characters.
2344ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2345ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2346ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2347
2348
2349# Find a good install program.  We prefer a C program (faster),
2350# so one script is as good as another.  But avoid the broken or
2351# incompatible versions:
2352# SysV /etc/install, /usr/sbin/install
2353# SunOS /usr/etc/install
2354# IRIX /sbin/install
2355# AIX /bin/install
2356# AmigaOS /C/install, which installs bootblocks on floppy discs
2357# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2358# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2359# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2360# OS/2's system install, which has a completely different semantic
2361# ./install, which can be erroneously created by make from ./install.sh.
2362# Reject install programs that cannot install multiple files.
2363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2364$as_echo_n "checking for a BSD-compatible install... " >&6; }
2365if test -z "$INSTALL"; then
2366if ${ac_cv_path_install+:} false; then :
2367  $as_echo_n "(cached) " >&6
2368else
2369  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370for as_dir in $PATH
2371do
2372  IFS=$as_save_IFS
2373  test -z "$as_dir" && as_dir=.
2374    # Account for people who put trailing slashes in PATH elements.
2375case $as_dir/ in #((
2376  ./ | .// | /[cC]/* | \
2377  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2378  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2379  /usr/ucb/* ) ;;
2380  *)
2381    # OSF1 and SCO ODT 3.0 have their own names for install.
2382    # Don't use installbsd from OSF since it installs stuff as root
2383    # by default.
2384    for ac_prog in ginstall scoinst install; do
2385      for ac_exec_ext in '' $ac_executable_extensions; do
2386	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2387	  if test $ac_prog = install &&
2388	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389	    # AIX install.  It has an incompatible calling convention.
2390	    :
2391	  elif test $ac_prog = install &&
2392	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2393	    # program-specific install script used by HP pwplus--don't use.
2394	    :
2395	  else
2396	    rm -rf conftest.one conftest.two conftest.dir
2397	    echo one > conftest.one
2398	    echo two > conftest.two
2399	    mkdir conftest.dir
2400	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2401	      test -s conftest.one && test -s conftest.two &&
2402	      test -s conftest.dir/conftest.one &&
2403	      test -s conftest.dir/conftest.two
2404	    then
2405	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2406	      break 3
2407	    fi
2408	  fi
2409	fi
2410      done
2411    done
2412    ;;
2413esac
2414
2415  done
2416IFS=$as_save_IFS
2417
2418rm -rf conftest.one conftest.two conftest.dir
2419
2420fi
2421  if test "${ac_cv_path_install+set}" = set; then
2422    INSTALL=$ac_cv_path_install
2423  else
2424    # As a last resort, use the slow shell script.  Don't cache a
2425    # value for INSTALL within a source directory, because that will
2426    # break other packages using the cache if that directory is
2427    # removed, or if the value is a relative name.
2428    INSTALL=$ac_install_sh
2429  fi
2430fi
2431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2432$as_echo "$INSTALL" >&6; }
2433
2434# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2435# It thinks the first close brace ends the variable substitution.
2436test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2437
2438test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2439
2440test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2441
2442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2443$as_echo_n "checking whether build environment is sane... " >&6; }
2444# Reject unsafe characters in $srcdir or the absolute working directory
2445# name.  Accept space and tab only in the latter.
2446am_lf='
2447'
2448case `pwd` in
2449  *[\\\"\#\$\&\'\`$am_lf]*)
2450    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2451esac
2452case $srcdir in
2453  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2454    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2455esac
2456
2457# Do 'set' in a subshell so we don't clobber the current shell's
2458# arguments.  Must try -L first in case configure is actually a
2459# symlink; some systems play weird games with the mod time of symlinks
2460# (eg FreeBSD returns the mod time of the symlink's containing
2461# directory).
2462if (
2463   am_has_slept=no
2464   for am_try in 1 2; do
2465     echo "timestamp, slept: $am_has_slept" > conftest.file
2466     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2467     if test "$*" = "X"; then
2468	# -L didn't work.
2469	set X `ls -t "$srcdir/configure" conftest.file`
2470     fi
2471     if test "$*" != "X $srcdir/configure conftest.file" \
2472	&& test "$*" != "X conftest.file $srcdir/configure"; then
2473
2474	# If neither matched, then we have a broken ls.  This can happen
2475	# if, for instance, CONFIG_SHELL is bash and it inherits a
2476	# broken ls alias from the environment.  This has actually
2477	# happened.  Such a system could not be considered "sane".
2478	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2479  alias in your environment" "$LINENO" 5
2480     fi
2481     if test "$2" = conftest.file || test $am_try -eq 2; then
2482       break
2483     fi
2484     # Just in case.
2485     sleep 1
2486     am_has_slept=yes
2487   done
2488   test "$2" = conftest.file
2489   )
2490then
2491   # Ok.
2492   :
2493else
2494   as_fn_error $? "newly created file is older than distributed files!
2495Check your system clock" "$LINENO" 5
2496fi
2497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2498$as_echo "yes" >&6; }
2499# If we didn't sleep, we still need to ensure time stamps of config.status and
2500# generated files are strictly newer.
2501am_sleep_pid=
2502if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2503  ( sleep 1 ) &
2504  am_sleep_pid=$!
2505fi
2506
2507rm -f conftest.file
2508
2509test "$program_prefix" != NONE &&
2510  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2511# Use a double $ so make ignores it.
2512test "$program_suffix" != NONE &&
2513  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2514# Double any \ or $.
2515# By default was `s,x,x', remove it if useless.
2516ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2517program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2518
2519# Expand $ac_aux_dir to an absolute path.
2520am_aux_dir=`cd "$ac_aux_dir" && pwd`
2521
2522if test x"${MISSING+set}" != xset; then
2523  case $am_aux_dir in
2524  *\ * | *\	*)
2525    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2526  *)
2527    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2528  esac
2529fi
2530# Use eval to expand $SHELL
2531if eval "$MISSING --is-lightweight"; then
2532  am_missing_run="$MISSING "
2533else
2534  am_missing_run=
2535  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2536$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2537fi
2538
2539if test x"${install_sh+set}" != xset; then
2540  case $am_aux_dir in
2541  *\ * | *\	*)
2542    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2543  *)
2544    install_sh="\${SHELL} $am_aux_dir/install-sh"
2545  esac
2546fi
2547
2548# Installed binaries are usually stripped using 'strip' when the user
2549# run "make install-strip".  However 'strip' might not be the right
2550# tool to use in cross-compilation environments, therefore Automake
2551# will honor the 'STRIP' environment variable to overrule this program.
2552if test "$cross_compiling" != no; then
2553  if test -n "$ac_tool_prefix"; then
2554  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2555set dummy ${ac_tool_prefix}strip; ac_word=$2
2556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557$as_echo_n "checking for $ac_word... " >&6; }
2558if ${ac_cv_prog_STRIP+:} false; then :
2559  $as_echo_n "(cached) " >&6
2560else
2561  if test -n "$STRIP"; then
2562  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2563else
2564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565for as_dir in $PATH
2566do
2567  IFS=$as_save_IFS
2568  test -z "$as_dir" && as_dir=.
2569    for ac_exec_ext in '' $ac_executable_extensions; do
2570  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573    break 2
2574  fi
2575done
2576  done
2577IFS=$as_save_IFS
2578
2579fi
2580fi
2581STRIP=$ac_cv_prog_STRIP
2582if test -n "$STRIP"; then
2583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2584$as_echo "$STRIP" >&6; }
2585else
2586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587$as_echo "no" >&6; }
2588fi
2589
2590
2591fi
2592if test -z "$ac_cv_prog_STRIP"; then
2593  ac_ct_STRIP=$STRIP
2594  # Extract the first word of "strip", so it can be a program name with args.
2595set dummy strip; ac_word=$2
2596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597$as_echo_n "checking for $ac_word... " >&6; }
2598if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2599  $as_echo_n "(cached) " >&6
2600else
2601  if test -n "$ac_ct_STRIP"; then
2602  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2603else
2604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605for as_dir in $PATH
2606do
2607  IFS=$as_save_IFS
2608  test -z "$as_dir" && as_dir=.
2609    for ac_exec_ext in '' $ac_executable_extensions; do
2610  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611    ac_cv_prog_ac_ct_STRIP="strip"
2612    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613    break 2
2614  fi
2615done
2616  done
2617IFS=$as_save_IFS
2618
2619fi
2620fi
2621ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2622if test -n "$ac_ct_STRIP"; then
2623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2624$as_echo "$ac_ct_STRIP" >&6; }
2625else
2626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627$as_echo "no" >&6; }
2628fi
2629
2630  if test "x$ac_ct_STRIP" = x; then
2631    STRIP=":"
2632  else
2633    case $cross_compiling:$ac_tool_warned in
2634yes:)
2635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2637ac_tool_warned=yes ;;
2638esac
2639    STRIP=$ac_ct_STRIP
2640  fi
2641else
2642  STRIP="$ac_cv_prog_STRIP"
2643fi
2644
2645fi
2646INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2647
2648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2649$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2650if test -z "$MKDIR_P"; then
2651  if ${ac_cv_path_mkdir+:} false; then :
2652  $as_echo_n "(cached) " >&6
2653else
2654  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2656do
2657  IFS=$as_save_IFS
2658  test -z "$as_dir" && as_dir=.
2659    for ac_prog in mkdir gmkdir; do
2660	 for ac_exec_ext in '' $ac_executable_extensions; do
2661	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2662	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2663	     'mkdir (GNU coreutils) '* | \
2664	     'mkdir (coreutils) '* | \
2665	     'mkdir (fileutils) '4.1*)
2666	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2667	       break 3;;
2668	   esac
2669	 done
2670       done
2671  done
2672IFS=$as_save_IFS
2673
2674fi
2675
2676  test -d ./--version && rmdir ./--version
2677  if test "${ac_cv_path_mkdir+set}" = set; then
2678    MKDIR_P="$ac_cv_path_mkdir -p"
2679  else
2680    # As a last resort, use the slow shell script.  Don't cache a
2681    # value for MKDIR_P within a source directory, because that will
2682    # break other packages using the cache if that directory is
2683    # removed, or if the value is a relative name.
2684    MKDIR_P="$ac_install_sh -d"
2685  fi
2686fi
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2688$as_echo "$MKDIR_P" >&6; }
2689
2690for ac_prog in gawk mawk nawk awk
2691do
2692  # Extract the first word of "$ac_prog", so it can be a program name with args.
2693set dummy $ac_prog; ac_word=$2
2694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695$as_echo_n "checking for $ac_word... " >&6; }
2696if ${ac_cv_prog_AWK+:} false; then :
2697  $as_echo_n "(cached) " >&6
2698else
2699  if test -n "$AWK"; then
2700  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2701else
2702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703for as_dir in $PATH
2704do
2705  IFS=$as_save_IFS
2706  test -z "$as_dir" && as_dir=.
2707    for ac_exec_ext in '' $ac_executable_extensions; do
2708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709    ac_cv_prog_AWK="$ac_prog"
2710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711    break 2
2712  fi
2713done
2714  done
2715IFS=$as_save_IFS
2716
2717fi
2718fi
2719AWK=$ac_cv_prog_AWK
2720if test -n "$AWK"; then
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2722$as_echo "$AWK" >&6; }
2723else
2724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725$as_echo "no" >&6; }
2726fi
2727
2728
2729  test -n "$AWK" && break
2730done
2731
2732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2733$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2734set x ${MAKE-make}
2735ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2736if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2737  $as_echo_n "(cached) " >&6
2738else
2739  cat >conftest.make <<\_ACEOF
2740SHELL = /bin/sh
2741all:
2742	@echo '@@@%%%=$(MAKE)=@@@%%%'
2743_ACEOF
2744# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2745case `${MAKE-make} -f conftest.make 2>/dev/null` in
2746  *@@@%%%=?*=@@@%%%*)
2747    eval ac_cv_prog_make_${ac_make}_set=yes;;
2748  *)
2749    eval ac_cv_prog_make_${ac_make}_set=no;;
2750esac
2751rm -f conftest.make
2752fi
2753if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755$as_echo "yes" >&6; }
2756  SET_MAKE=
2757else
2758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759$as_echo "no" >&6; }
2760  SET_MAKE="MAKE=${MAKE-make}"
2761fi
2762
2763rm -rf .tst 2>/dev/null
2764mkdir .tst 2>/dev/null
2765if test -d .tst; then
2766  am__leading_dot=.
2767else
2768  am__leading_dot=_
2769fi
2770rmdir .tst 2>/dev/null
2771
2772# Check whether --enable-silent-rules was given.
2773if test "${enable_silent_rules+set}" = set; then :
2774  enableval=$enable_silent_rules;
2775fi
2776
2777case $enable_silent_rules in # (((
2778  yes) AM_DEFAULT_VERBOSITY=0;;
2779   no) AM_DEFAULT_VERBOSITY=1;;
2780    *) AM_DEFAULT_VERBOSITY=1;;
2781esac
2782am_make=${MAKE-make}
2783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2784$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2785if ${am_cv_make_support_nested_variables+:} false; then :
2786  $as_echo_n "(cached) " >&6
2787else
2788  if $as_echo 'TRUE=$(BAR$(V))
2789BAR0=false
2790BAR1=true
2791V=1
2792am__doit:
2793	@$(TRUE)
2794.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2795  am_cv_make_support_nested_variables=yes
2796else
2797  am_cv_make_support_nested_variables=no
2798fi
2799fi
2800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2801$as_echo "$am_cv_make_support_nested_variables" >&6; }
2802if test $am_cv_make_support_nested_variables = yes; then
2803    AM_V='$(V)'
2804  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2805else
2806  AM_V=$AM_DEFAULT_VERBOSITY
2807  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2808fi
2809AM_BACKSLASH='\'
2810
2811if test "`cd $srcdir && pwd`" != "`pwd`"; then
2812  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2813  # is not polluted with repeated "-I."
2814  am__isrc=' -I$(srcdir)'
2815  # test to see if srcdir already configured
2816  if test -f $srcdir/config.status; then
2817    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2818  fi
2819fi
2820
2821# test whether we have cygpath
2822if test -z "$CYGPATH_W"; then
2823  if (cygpath --version) >/dev/null 2>/dev/null; then
2824    CYGPATH_W='cygpath -w'
2825  else
2826    CYGPATH_W=echo
2827  fi
2828fi
2829
2830
2831# Define the identity of the package.
2832 PACKAGE='xfce4-verve-plugin'
2833 VERSION='2.0.1'
2834
2835
2836cat >>confdefs.h <<_ACEOF
2837#define PACKAGE "$PACKAGE"
2838_ACEOF
2839
2840
2841cat >>confdefs.h <<_ACEOF
2842#define VERSION "$VERSION"
2843_ACEOF
2844
2845# Some tools Automake needs.
2846
2847ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2848
2849
2850AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2851
2852
2853AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2854
2855
2856AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2857
2858
2859MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2860
2861# For better backward compatibility.  To be removed once Automake 1.9.x
2862# dies out for good.  For more background, see:
2863# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2864# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2865mkdir_p='$(MKDIR_P)'
2866
2867# We need awk for the "check" target (and possibly the TAP driver).  The
2868# system "awk" is bad on some platforms.
2869# Always define AMTAR for backward compatibility.  Yes, it's still used
2870# in the wild :-(  We should find a proper way to deprecate it ...
2871AMTAR='$${TAR-tar}'
2872
2873
2874# We'll loop over all known methods to create a tar archive until one works.
2875_am_tools='gnutar plaintar pax cpio none'
2876
2877# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2878      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2879      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2880      # and bug#13588).
2881      am_max_uid=2097151 # 2^21 - 1
2882      am_max_gid=$am_max_uid
2883      # The $UID and $GID variables are not portable, so we need to resort
2884      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2885      # below are definitely unexpected, so allow the users to see them
2886      # (that is, avoid stderr redirection).
2887      am_uid=`id -u || echo unknown`
2888      am_gid=`id -g || echo unknown`
2889      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2890$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2891      if test $am_uid -le $am_max_uid; then
2892         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2893$as_echo "yes" >&6; }
2894      else
2895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896$as_echo "no" >&6; }
2897         _am_tools=none
2898      fi
2899      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2900$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2901      if test $am_gid -le $am_max_gid; then
2902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2903$as_echo "yes" >&6; }
2904      else
2905        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906$as_echo "no" >&6; }
2907        _am_tools=none
2908      fi
2909
2910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2911$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2912
2913  # Go ahead even if we have the value already cached.  We do so because we
2914  # need to set the values for the 'am__tar' and 'am__untar' variables.
2915  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2916
2917  for _am_tool in $_am_tools; do
2918    case $_am_tool in
2919    gnutar)
2920      for _am_tar in tar gnutar gtar; do
2921        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2922   ($_am_tar --version) >&5 2>&5
2923   ac_status=$?
2924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925   (exit $ac_status); } && break
2926      done
2927      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2928      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2929      am__untar="$_am_tar -xf -"
2930      ;;
2931    plaintar)
2932      # Must skip GNU tar: if it does not support --format= it doesn't create
2933      # ustar tarball either.
2934      (tar --version) >/dev/null 2>&1 && continue
2935      am__tar='tar chf - "$$tardir"'
2936      am__tar_='tar chf - "$tardir"'
2937      am__untar='tar xf -'
2938      ;;
2939    pax)
2940      am__tar='pax -L -x ustar -w "$$tardir"'
2941      am__tar_='pax -L -x ustar -w "$tardir"'
2942      am__untar='pax -r'
2943      ;;
2944    cpio)
2945      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2946      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2947      am__untar='cpio -i -H ustar -d'
2948      ;;
2949    none)
2950      am__tar=false
2951      am__tar_=false
2952      am__untar=false
2953      ;;
2954    esac
2955
2956    # If the value was cached, stop now.  We just wanted to have am__tar
2957    # and am__untar set.
2958    test -n "${am_cv_prog_tar_ustar}" && break
2959
2960    # tar/untar a dummy directory, and stop if the command works.
2961    rm -rf conftest.dir
2962    mkdir conftest.dir
2963    echo GrepMe > conftest.dir/file
2964    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2965   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2966   ac_status=$?
2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968   (exit $ac_status); }
2969    rm -rf conftest.dir
2970    if test -s conftest.tar; then
2971      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2972   ($am__untar <conftest.tar) >&5 2>&5
2973   ac_status=$?
2974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975   (exit $ac_status); }
2976      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2977   (cat conftest.dir/file) >&5 2>&5
2978   ac_status=$?
2979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980   (exit $ac_status); }
2981      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2982    fi
2983  done
2984  rm -rf conftest.dir
2985
2986  if ${am_cv_prog_tar_ustar+:} false; then :
2987  $as_echo_n "(cached) " >&6
2988else
2989  am_cv_prog_tar_ustar=$_am_tool
2990fi
2991
2992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2993$as_echo "$am_cv_prog_tar_ustar" >&6; }
2994
2995
2996
2997
2998
2999
3000# POSIX will say in a future version that running "rm -f" with no argument
3001# is OK; and we want to be able to make that assumption in our Makefile
3002# recipes.  So use an aggressive probe to check that the usage we want is
3003# actually supported "in the wild" to an acceptable degree.
3004# See automake bug#10828.
3005# To make any issue more visible, cause the running configure to be aborted
3006# by default if the 'rm' program in use doesn't match our expectations; the
3007# user can still override this though.
3008if rm -f && rm -fr && rm -rf; then : OK; else
3009  cat >&2 <<'END'
3010Oops!
3011
3012Your 'rm' program seems unable to run without file operands specified
3013on the command line, even when the '-f' option is present.  This is contrary
3014to the behaviour of most rm programs out there, and not conforming with
3015the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3016
3017Please tell bug-automake@gnu.org about your system, including the value
3018of your $PATH and any error possibly output before this message.  This
3019can help us improve future automake versions.
3020
3021END
3022  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3023    echo 'Configuration will proceed anyway, since you have set the' >&2
3024    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3025    echo >&2
3026  else
3027    cat >&2 <<'END'
3028Aborting the configuration process, to ensure you take notice of the issue.
3029
3030You can download and install GNU coreutils to get an 'rm' implementation
3031that behaves properly: <https://www.gnu.org/software/coreutils/>.
3032
3033If you want to complete the configuration process using your problematic
3034'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3035to "yes", and re-run configure.
3036
3037END
3038    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3039  fi
3040fi
3041
3042ac_config_headers="$ac_config_headers config.h"
3043
3044
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3046$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3047    # Check whether --enable-maintainer-mode was given.
3048if test "${enable_maintainer_mode+set}" = set; then :
3049  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3050else
3051  USE_MAINTAINER_MODE=no
3052fi
3053
3054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3055$as_echo "$USE_MAINTAINER_MODE" >&6; }
3056   if test $USE_MAINTAINER_MODE = yes; then
3057  MAINTAINER_MODE_TRUE=
3058  MAINTAINER_MODE_FALSE='#'
3059else
3060  MAINTAINER_MODE_TRUE='#'
3061  MAINTAINER_MODE_FALSE=
3062fi
3063
3064  MAINT=$MAINTAINER_MODE_TRUE
3065
3066
3067
3068DEPDIR="${am__leading_dot}deps"
3069
3070ac_config_commands="$ac_config_commands depfiles"
3071
3072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3073$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3074cat > confinc.mk << 'END'
3075am__doit:
3076	@echo this is the am__doit target >confinc.out
3077.PHONY: am__doit
3078END
3079am__include="#"
3080am__quote=
3081# BSD make does it like this.
3082echo '.include "confinc.mk" # ignored' > confmf.BSD
3083# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3084echo 'include confinc.mk # ignored' > confmf.GNU
3085_am_result=no
3086for s in GNU BSD; do
3087  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3088   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3089   ac_status=$?
3090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091   (exit $ac_status); }
3092  case $?:`cat confinc.out 2>/dev/null` in #(
3093  '0:this is the am__doit target') :
3094    case $s in #(
3095  BSD) :
3096    am__include='.include' am__quote='"' ;; #(
3097  *) :
3098    am__include='include' am__quote='' ;;
3099esac ;; #(
3100  *) :
3101     ;;
3102esac
3103  if test "$am__include" != "#"; then
3104    _am_result="yes ($s style)"
3105    break
3106  fi
3107done
3108rm -f confinc.* confmf.*
3109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3110$as_echo "${_am_result}" >&6; }
3111
3112# Check whether --enable-dependency-tracking was given.
3113if test "${enable_dependency_tracking+set}" = set; then :
3114  enableval=$enable_dependency_tracking;
3115fi
3116
3117if test "x$enable_dependency_tracking" != xno; then
3118  am_depcomp="$ac_aux_dir/depcomp"
3119  AMDEPBACKSLASH='\'
3120  am__nodep='_no'
3121fi
3122 if test "x$enable_dependency_tracking" != xno; then
3123  AMDEP_TRUE=
3124  AMDEP_FALSE='#'
3125else
3126  AMDEP_TRUE='#'
3127  AMDEP_FALSE=
3128fi
3129
3130
3131ac_ext=c
3132ac_cpp='$CPP $CPPFLAGS'
3133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135ac_compiler_gnu=$ac_cv_c_compiler_gnu
3136if test -n "$ac_tool_prefix"; then
3137  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3138set dummy ${ac_tool_prefix}gcc; ac_word=$2
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140$as_echo_n "checking for $ac_word... " >&6; }
3141if ${ac_cv_prog_CC+:} false; then :
3142  $as_echo_n "(cached) " >&6
3143else
3144  if test -n "$CC"; then
3145  ac_cv_prog_CC="$CC" # Let the user override the test.
3146else
3147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148for as_dir in $PATH
3149do
3150  IFS=$as_save_IFS
3151  test -z "$as_dir" && as_dir=.
3152    for ac_exec_ext in '' $ac_executable_extensions; do
3153  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3154    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3155    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156    break 2
3157  fi
3158done
3159  done
3160IFS=$as_save_IFS
3161
3162fi
3163fi
3164CC=$ac_cv_prog_CC
3165if test -n "$CC"; then
3166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167$as_echo "$CC" >&6; }
3168else
3169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170$as_echo "no" >&6; }
3171fi
3172
3173
3174fi
3175if test -z "$ac_cv_prog_CC"; then
3176  ac_ct_CC=$CC
3177  # Extract the first word of "gcc", so it can be a program name with args.
3178set dummy gcc; ac_word=$2
3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180$as_echo_n "checking for $ac_word... " >&6; }
3181if ${ac_cv_prog_ac_ct_CC+:} false; then :
3182  $as_echo_n "(cached) " >&6
3183else
3184  if test -n "$ac_ct_CC"; then
3185  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3186else
3187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188for as_dir in $PATH
3189do
3190  IFS=$as_save_IFS
3191  test -z "$as_dir" && as_dir=.
3192    for ac_exec_ext in '' $ac_executable_extensions; do
3193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3194    ac_cv_prog_ac_ct_CC="gcc"
3195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196    break 2
3197  fi
3198done
3199  done
3200IFS=$as_save_IFS
3201
3202fi
3203fi
3204ac_ct_CC=$ac_cv_prog_ac_ct_CC
3205if test -n "$ac_ct_CC"; then
3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3207$as_echo "$ac_ct_CC" >&6; }
3208else
3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210$as_echo "no" >&6; }
3211fi
3212
3213  if test "x$ac_ct_CC" = x; then
3214    CC=""
3215  else
3216    case $cross_compiling:$ac_tool_warned in
3217yes:)
3218{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220ac_tool_warned=yes ;;
3221esac
3222    CC=$ac_ct_CC
3223  fi
3224else
3225  CC="$ac_cv_prog_CC"
3226fi
3227
3228if test -z "$CC"; then
3229          if test -n "$ac_tool_prefix"; then
3230    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3231set dummy ${ac_tool_prefix}cc; ac_word=$2
3232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233$as_echo_n "checking for $ac_word... " >&6; }
3234if ${ac_cv_prog_CC+:} false; then :
3235  $as_echo_n "(cached) " >&6
3236else
3237  if test -n "$CC"; then
3238  ac_cv_prog_CC="$CC" # Let the user override the test.
3239else
3240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241for as_dir in $PATH
3242do
3243  IFS=$as_save_IFS
3244  test -z "$as_dir" && as_dir=.
3245    for ac_exec_ext in '' $ac_executable_extensions; do
3246  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247    ac_cv_prog_CC="${ac_tool_prefix}cc"
3248    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249    break 2
3250  fi
3251done
3252  done
3253IFS=$as_save_IFS
3254
3255fi
3256fi
3257CC=$ac_cv_prog_CC
3258if test -n "$CC"; then
3259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260$as_echo "$CC" >&6; }
3261else
3262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263$as_echo "no" >&6; }
3264fi
3265
3266
3267  fi
3268fi
3269if test -z "$CC"; then
3270  # Extract the first word of "cc", so it can be a program name with args.
3271set dummy cc; ac_word=$2
3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273$as_echo_n "checking for $ac_word... " >&6; }
3274if ${ac_cv_prog_CC+:} false; then :
3275  $as_echo_n "(cached) " >&6
3276else
3277  if test -n "$CC"; then
3278  ac_cv_prog_CC="$CC" # Let the user override the test.
3279else
3280  ac_prog_rejected=no
3281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282for as_dir in $PATH
3283do
3284  IFS=$as_save_IFS
3285  test -z "$as_dir" && as_dir=.
3286    for ac_exec_ext in '' $ac_executable_extensions; do
3287  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3289       ac_prog_rejected=yes
3290       continue
3291     fi
3292    ac_cv_prog_CC="cc"
3293    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294    break 2
3295  fi
3296done
3297  done
3298IFS=$as_save_IFS
3299
3300if test $ac_prog_rejected = yes; then
3301  # We found a bogon in the path, so make sure we never use it.
3302  set dummy $ac_cv_prog_CC
3303  shift
3304  if test $# != 0; then
3305    # We chose a different compiler from the bogus one.
3306    # However, it has the same basename, so the bogon will be chosen
3307    # first if we set CC to just the basename; use the full file name.
3308    shift
3309    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3310  fi
3311fi
3312fi
3313fi
3314CC=$ac_cv_prog_CC
3315if test -n "$CC"; then
3316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3317$as_echo "$CC" >&6; }
3318else
3319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320$as_echo "no" >&6; }
3321fi
3322
3323
3324fi
3325if test -z "$CC"; then
3326  if test -n "$ac_tool_prefix"; then
3327  for ac_prog in cl.exe
3328  do
3329    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3330set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332$as_echo_n "checking for $ac_word... " >&6; }
3333if ${ac_cv_prog_CC+:} false; then :
3334  $as_echo_n "(cached) " >&6
3335else
3336  if test -n "$CC"; then
3337  ac_cv_prog_CC="$CC" # Let the user override the test.
3338else
3339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340for as_dir in $PATH
3341do
3342  IFS=$as_save_IFS
3343  test -z "$as_dir" && as_dir=.
3344    for ac_exec_ext in '' $ac_executable_extensions; do
3345  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3347    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348    break 2
3349  fi
3350done
3351  done
3352IFS=$as_save_IFS
3353
3354fi
3355fi
3356CC=$ac_cv_prog_CC
3357if test -n "$CC"; then
3358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359$as_echo "$CC" >&6; }
3360else
3361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362$as_echo "no" >&6; }
3363fi
3364
3365
3366    test -n "$CC" && break
3367  done
3368fi
3369if test -z "$CC"; then
3370  ac_ct_CC=$CC
3371  for ac_prog in cl.exe
3372do
3373  # Extract the first word of "$ac_prog", so it can be a program name with args.
3374set dummy $ac_prog; ac_word=$2
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376$as_echo_n "checking for $ac_word... " >&6; }
3377if ${ac_cv_prog_ac_ct_CC+:} false; then :
3378  $as_echo_n "(cached) " >&6
3379else
3380  if test -n "$ac_ct_CC"; then
3381  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3382else
3383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384for as_dir in $PATH
3385do
3386  IFS=$as_save_IFS
3387  test -z "$as_dir" && as_dir=.
3388    for ac_exec_ext in '' $ac_executable_extensions; do
3389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390    ac_cv_prog_ac_ct_CC="$ac_prog"
3391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392    break 2
3393  fi
3394done
3395  done
3396IFS=$as_save_IFS
3397
3398fi
3399fi
3400ac_ct_CC=$ac_cv_prog_ac_ct_CC
3401if test -n "$ac_ct_CC"; then
3402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3403$as_echo "$ac_ct_CC" >&6; }
3404else
3405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406$as_echo "no" >&6; }
3407fi
3408
3409
3410  test -n "$ac_ct_CC" && break
3411done
3412
3413  if test "x$ac_ct_CC" = x; then
3414    CC=""
3415  else
3416    case $cross_compiling:$ac_tool_warned in
3417yes:)
3418{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3419$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3420ac_tool_warned=yes ;;
3421esac
3422    CC=$ac_ct_CC
3423  fi
3424fi
3425
3426fi
3427
3428
3429test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431as_fn_error $? "no acceptable C compiler found in \$PATH
3432See \`config.log' for more details" "$LINENO" 5; }
3433
3434# Provide some information about the compiler.
3435$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3436set X $ac_compile
3437ac_compiler=$2
3438for ac_option in --version -v -V -qversion; do
3439  { { ac_try="$ac_compiler $ac_option >&5"
3440case "(($ac_try" in
3441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442  *) ac_try_echo=$ac_try;;
3443esac
3444eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445$as_echo "$ac_try_echo"; } >&5
3446  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3447  ac_status=$?
3448  if test -s conftest.err; then
3449    sed '10a\
3450... rest of stderr output deleted ...
3451         10q' conftest.err >conftest.er1
3452    cat conftest.er1 >&5
3453  fi
3454  rm -f conftest.er1 conftest.err
3455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456  test $ac_status = 0; }
3457done
3458
3459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460/* end confdefs.h.  */
3461
3462int
3463main ()
3464{
3465
3466  ;
3467  return 0;
3468}
3469_ACEOF
3470ac_clean_files_save=$ac_clean_files
3471ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3472# Try to create an executable without -o first, disregard a.out.
3473# It will help us diagnose broken compilers, and finding out an intuition
3474# of exeext.
3475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3476$as_echo_n "checking whether the C compiler works... " >&6; }
3477ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3478
3479# The possible output files:
3480ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3481
3482ac_rmfiles=
3483for ac_file in $ac_files
3484do
3485  case $ac_file in
3486    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3487    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3488  esac
3489done
3490rm -f $ac_rmfiles
3491
3492if { { ac_try="$ac_link_default"
3493case "(($ac_try" in
3494  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495  *) ac_try_echo=$ac_try;;
3496esac
3497eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3498$as_echo "$ac_try_echo"; } >&5
3499  (eval "$ac_link_default") 2>&5
3500  ac_status=$?
3501  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3502  test $ac_status = 0; }; then :
3503  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3504# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3505# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3506# so that the user can short-circuit this test for compilers unknown to
3507# Autoconf.
3508for ac_file in $ac_files ''
3509do
3510  test -f "$ac_file" || continue
3511  case $ac_file in
3512    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3513	;;
3514    [ab].out )
3515	# We found the default executable, but exeext='' is most
3516	# certainly right.
3517	break;;
3518    *.* )
3519	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3520	then :; else
3521	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3522	fi
3523	# We set ac_cv_exeext here because the later test for it is not
3524	# safe: cross compilers may not add the suffix if given an `-o'
3525	# argument, so we may need to know it at that point already.
3526	# Even if this section looks crufty: it has the advantage of
3527	# actually working.
3528	break;;
3529    * )
3530	break;;
3531  esac
3532done
3533test "$ac_cv_exeext" = no && ac_cv_exeext=
3534
3535else
3536  ac_file=''
3537fi
3538if test -z "$ac_file"; then :
3539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540$as_echo "no" >&6; }
3541$as_echo "$as_me: failed program was:" >&5
3542sed 's/^/| /' conftest.$ac_ext >&5
3543
3544{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546as_fn_error 77 "C compiler cannot create executables
3547See \`config.log' for more details" "$LINENO" 5; }
3548else
3549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550$as_echo "yes" >&6; }
3551fi
3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3553$as_echo_n "checking for C compiler default output file name... " >&6; }
3554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3555$as_echo "$ac_file" >&6; }
3556ac_exeext=$ac_cv_exeext
3557
3558rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3559ac_clean_files=$ac_clean_files_save
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3561$as_echo_n "checking for suffix of executables... " >&6; }
3562if { { ac_try="$ac_link"
3563case "(($ac_try" in
3564  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565  *) ac_try_echo=$ac_try;;
3566esac
3567eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568$as_echo "$ac_try_echo"; } >&5
3569  (eval "$ac_link") 2>&5
3570  ac_status=$?
3571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572  test $ac_status = 0; }; then :
3573  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3574# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3575# work properly (i.e., refer to `conftest.exe'), while it won't with
3576# `rm'.
3577for ac_file in conftest.exe conftest conftest.*; do
3578  test -f "$ac_file" || continue
3579  case $ac_file in
3580    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3581    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3582	  break;;
3583    * ) break;;
3584  esac
3585done
3586else
3587  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3590See \`config.log' for more details" "$LINENO" 5; }
3591fi
3592rm -f conftest conftest$ac_cv_exeext
3593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3594$as_echo "$ac_cv_exeext" >&6; }
3595
3596rm -f conftest.$ac_ext
3597EXEEXT=$ac_cv_exeext
3598ac_exeext=$EXEEXT
3599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600/* end confdefs.h.  */
3601#include <stdio.h>
3602int
3603main ()
3604{
3605FILE *f = fopen ("conftest.out", "w");
3606 return ferror (f) || fclose (f) != 0;
3607
3608  ;
3609  return 0;
3610}
3611_ACEOF
3612ac_clean_files="$ac_clean_files conftest.out"
3613# Check that the compiler produces executables we can run.  If not, either
3614# the compiler is broken, or we cross compile.
3615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3616$as_echo_n "checking whether we are cross compiling... " >&6; }
3617if test "$cross_compiling" != yes; then
3618  { { ac_try="$ac_link"
3619case "(($ac_try" in
3620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621  *) ac_try_echo=$ac_try;;
3622esac
3623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3624$as_echo "$ac_try_echo"; } >&5
3625  (eval "$ac_link") 2>&5
3626  ac_status=$?
3627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3628  test $ac_status = 0; }
3629  if { ac_try='./conftest$ac_cv_exeext'
3630  { { case "(($ac_try" in
3631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632  *) ac_try_echo=$ac_try;;
3633esac
3634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635$as_echo "$ac_try_echo"; } >&5
3636  (eval "$ac_try") 2>&5
3637  ac_status=$?
3638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639  test $ac_status = 0; }; }; then
3640    cross_compiling=no
3641  else
3642    if test "$cross_compiling" = maybe; then
3643	cross_compiling=yes
3644    else
3645	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3647as_fn_error $? "cannot run C compiled programs.
3648If you meant to cross compile, use \`--host'.
3649See \`config.log' for more details" "$LINENO" 5; }
3650    fi
3651  fi
3652fi
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3654$as_echo "$cross_compiling" >&6; }
3655
3656rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3657ac_clean_files=$ac_clean_files_save
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3659$as_echo_n "checking for suffix of object files... " >&6; }
3660if ${ac_cv_objext+:} false; then :
3661  $as_echo_n "(cached) " >&6
3662else
3663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664/* end confdefs.h.  */
3665
3666int
3667main ()
3668{
3669
3670  ;
3671  return 0;
3672}
3673_ACEOF
3674rm -f conftest.o conftest.obj
3675if { { ac_try="$ac_compile"
3676case "(($ac_try" in
3677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678  *) ac_try_echo=$ac_try;;
3679esac
3680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681$as_echo "$ac_try_echo"; } >&5
3682  (eval "$ac_compile") 2>&5
3683  ac_status=$?
3684  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685  test $ac_status = 0; }; then :
3686  for ac_file in conftest.o conftest.obj conftest.*; do
3687  test -f "$ac_file" || continue;
3688  case $ac_file in
3689    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3690    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3691       break;;
3692  esac
3693done
3694else
3695  $as_echo "$as_me: failed program was:" >&5
3696sed 's/^/| /' conftest.$ac_ext >&5
3697
3698{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3699$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700as_fn_error $? "cannot compute suffix of object files: cannot compile
3701See \`config.log' for more details" "$LINENO" 5; }
3702fi
3703rm -f conftest.$ac_cv_objext conftest.$ac_ext
3704fi
3705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3706$as_echo "$ac_cv_objext" >&6; }
3707OBJEXT=$ac_cv_objext
3708ac_objext=$OBJEXT
3709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3710$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3711if ${ac_cv_c_compiler_gnu+:} false; then :
3712  $as_echo_n "(cached) " >&6
3713else
3714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715/* end confdefs.h.  */
3716
3717int
3718main ()
3719{
3720#ifndef __GNUC__
3721       choke me
3722#endif
3723
3724  ;
3725  return 0;
3726}
3727_ACEOF
3728if ac_fn_c_try_compile "$LINENO"; then :
3729  ac_compiler_gnu=yes
3730else
3731  ac_compiler_gnu=no
3732fi
3733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734ac_cv_c_compiler_gnu=$ac_compiler_gnu
3735
3736fi
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3738$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3739if test $ac_compiler_gnu = yes; then
3740  GCC=yes
3741else
3742  GCC=
3743fi
3744ac_test_CFLAGS=${CFLAGS+set}
3745ac_save_CFLAGS=$CFLAGS
3746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3747$as_echo_n "checking whether $CC accepts -g... " >&6; }
3748if ${ac_cv_prog_cc_g+:} false; then :
3749  $as_echo_n "(cached) " >&6
3750else
3751  ac_save_c_werror_flag=$ac_c_werror_flag
3752   ac_c_werror_flag=yes
3753   ac_cv_prog_cc_g=no
3754   CFLAGS="-g"
3755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756/* end confdefs.h.  */
3757
3758int
3759main ()
3760{
3761
3762  ;
3763  return 0;
3764}
3765_ACEOF
3766if ac_fn_c_try_compile "$LINENO"; then :
3767  ac_cv_prog_cc_g=yes
3768else
3769  CFLAGS=""
3770      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771/* end confdefs.h.  */
3772
3773int
3774main ()
3775{
3776
3777  ;
3778  return 0;
3779}
3780_ACEOF
3781if ac_fn_c_try_compile "$LINENO"; then :
3782
3783else
3784  ac_c_werror_flag=$ac_save_c_werror_flag
3785	 CFLAGS="-g"
3786	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787/* end confdefs.h.  */
3788
3789int
3790main ()
3791{
3792
3793  ;
3794  return 0;
3795}
3796_ACEOF
3797if ac_fn_c_try_compile "$LINENO"; then :
3798  ac_cv_prog_cc_g=yes
3799fi
3800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801fi
3802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3803fi
3804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805   ac_c_werror_flag=$ac_save_c_werror_flag
3806fi
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3808$as_echo "$ac_cv_prog_cc_g" >&6; }
3809if test "$ac_test_CFLAGS" = set; then
3810  CFLAGS=$ac_save_CFLAGS
3811elif test $ac_cv_prog_cc_g = yes; then
3812  if test "$GCC" = yes; then
3813    CFLAGS="-g -O2"
3814  else
3815    CFLAGS="-g"
3816  fi
3817else
3818  if test "$GCC" = yes; then
3819    CFLAGS="-O2"
3820  else
3821    CFLAGS=
3822  fi
3823fi
3824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3825$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3826if ${ac_cv_prog_cc_c89+:} false; then :
3827  $as_echo_n "(cached) " >&6
3828else
3829  ac_cv_prog_cc_c89=no
3830ac_save_CC=$CC
3831cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832/* end confdefs.h.  */
3833#include <stdarg.h>
3834#include <stdio.h>
3835struct stat;
3836/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3837struct buf { int x; };
3838FILE * (*rcsopen) (struct buf *, struct stat *, int);
3839static char *e (p, i)
3840     char **p;
3841     int i;
3842{
3843  return p[i];
3844}
3845static char *f (char * (*g) (char **, int), char **p, ...)
3846{
3847  char *s;
3848  va_list v;
3849  va_start (v,p);
3850  s = g (p, va_arg (v,int));
3851  va_end (v);
3852  return s;
3853}
3854
3855/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3856   function prototypes and stuff, but not '\xHH' hex character constants.
3857   These don't provoke an error unfortunately, instead are silently treated
3858   as 'x'.  The following induces an error, until -std is added to get
3859   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3860   array size at least.  It's necessary to write '\x00'==0 to get something
3861   that's true only with -std.  */
3862int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3863
3864/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3865   inside strings and character constants.  */
3866#define FOO(x) 'x'
3867int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3868
3869int test (int i, double x);
3870struct s1 {int (*f) (int a);};
3871struct s2 {int (*f) (double a);};
3872int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3873int argc;
3874char **argv;
3875int
3876main ()
3877{
3878return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3879  ;
3880  return 0;
3881}
3882_ACEOF
3883for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3884	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3885do
3886  CC="$ac_save_CC $ac_arg"
3887  if ac_fn_c_try_compile "$LINENO"; then :
3888  ac_cv_prog_cc_c89=$ac_arg
3889fi
3890rm -f core conftest.err conftest.$ac_objext
3891  test "x$ac_cv_prog_cc_c89" != "xno" && break
3892done
3893rm -f conftest.$ac_ext
3894CC=$ac_save_CC
3895
3896fi
3897# AC_CACHE_VAL
3898case "x$ac_cv_prog_cc_c89" in
3899  x)
3900    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3901$as_echo "none needed" >&6; } ;;
3902  xno)
3903    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3904$as_echo "unsupported" >&6; } ;;
3905  *)
3906    CC="$CC $ac_cv_prog_cc_c89"
3907    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3908$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3909esac
3910if test "x$ac_cv_prog_cc_c89" != xno; then :
3911
3912fi
3913
3914ac_ext=c
3915ac_cpp='$CPP $CPPFLAGS'
3916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918ac_compiler_gnu=$ac_cv_c_compiler_gnu
3919
3920ac_ext=c
3921ac_cpp='$CPP $CPPFLAGS'
3922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3926$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3927if ${am_cv_prog_cc_c_o+:} false; then :
3928  $as_echo_n "(cached) " >&6
3929else
3930  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931/* end confdefs.h.  */
3932
3933int
3934main ()
3935{
3936
3937  ;
3938  return 0;
3939}
3940_ACEOF
3941  # Make sure it works both with $CC and with simple cc.
3942  # Following AC_PROG_CC_C_O, we do the test twice because some
3943  # compilers refuse to overwrite an existing .o file with -o,
3944  # though they will create one.
3945  am_cv_prog_cc_c_o=yes
3946  for am_i in 1 2; do
3947    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3948   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3949   ac_status=$?
3950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951   (exit $ac_status); } \
3952         && test -f conftest2.$ac_objext; then
3953      : OK
3954    else
3955      am_cv_prog_cc_c_o=no
3956      break
3957    fi
3958  done
3959  rm -f core conftest*
3960  unset am_i
3961fi
3962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3963$as_echo "$am_cv_prog_cc_c_o" >&6; }
3964if test "$am_cv_prog_cc_c_o" != yes; then
3965   # Losing compiler, so override with the script.
3966   # FIXME: It is wrong to rewrite CC.
3967   # But if we don't then we get into trouble of one sort or another.
3968   # A longer-term fix would be to have automake use am__CC in this case,
3969   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3970   CC="$am_aux_dir/compile $CC"
3971fi
3972ac_ext=c
3973ac_cpp='$CPP $CPPFLAGS'
3974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3976ac_compiler_gnu=$ac_cv_c_compiler_gnu
3977
3978
3979depcc="$CC"   am_compiler_list=
3980
3981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3982$as_echo_n "checking dependency style of $depcc... " >&6; }
3983if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3984  $as_echo_n "(cached) " >&6
3985else
3986  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3987  # We make a subdir and do the tests there.  Otherwise we can end up
3988  # making bogus files that we don't know about and never remove.  For
3989  # instance it was reported that on HP-UX the gcc test will end up
3990  # making a dummy file named 'D' -- because '-MD' means "put the output
3991  # in D".
3992  rm -rf conftest.dir
3993  mkdir conftest.dir
3994  # Copy depcomp to subdir because otherwise we won't find it if we're
3995  # using a relative directory.
3996  cp "$am_depcomp" conftest.dir
3997  cd conftest.dir
3998  # We will build objects and dependencies in a subdirectory because
3999  # it helps to detect inapplicable dependency modes.  For instance
4000  # both Tru64's cc and ICC support -MD to output dependencies as a
4001  # side effect of compilation, but ICC will put the dependencies in
4002  # the current directory while Tru64 will put them in the object
4003  # directory.
4004  mkdir sub
4005
4006  am_cv_CC_dependencies_compiler_type=none
4007  if test "$am_compiler_list" = ""; then
4008     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4009  fi
4010  am__universal=false
4011  case " $depcc " in #(
4012     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4013     esac
4014
4015  for depmode in $am_compiler_list; do
4016    # Setup a source with many dependencies, because some compilers
4017    # like to wrap large dependency lists on column 80 (with \), and
4018    # we should not choose a depcomp mode which is confused by this.
4019    #
4020    # We need to recreate these files for each test, as the compiler may
4021    # overwrite some of them when testing with obscure command lines.
4022    # This happens at least with the AIX C compiler.
4023    : > sub/conftest.c
4024    for i in 1 2 3 4 5 6; do
4025      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4026      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4027      # Solaris 10 /bin/sh.
4028      echo '/* dummy */' > sub/conftst$i.h
4029    done
4030    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4031
4032    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4033    # mode.  It turns out that the SunPro C++ compiler does not properly
4034    # handle '-M -o', and we need to detect this.  Also, some Intel
4035    # versions had trouble with output in subdirs.
4036    am__obj=sub/conftest.${OBJEXT-o}
4037    am__minus_obj="-o $am__obj"
4038    case $depmode in
4039    gcc)
4040      # This depmode causes a compiler race in universal mode.
4041      test "$am__universal" = false || continue
4042      ;;
4043    nosideeffect)
4044      # After this tag, mechanisms are not by side-effect, so they'll
4045      # only be used when explicitly requested.
4046      if test "x$enable_dependency_tracking" = xyes; then
4047	continue
4048      else
4049	break
4050      fi
4051      ;;
4052    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4053      # This compiler won't grok '-c -o', but also, the minuso test has
4054      # not run yet.  These depmodes are late enough in the game, and
4055      # so weak that their functioning should not be impacted.
4056      am__obj=conftest.${OBJEXT-o}
4057      am__minus_obj=
4058      ;;
4059    none) break ;;
4060    esac
4061    if depmode=$depmode \
4062       source=sub/conftest.c object=$am__obj \
4063       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4064       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4065         >/dev/null 2>conftest.err &&
4066       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4067       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4068       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4069       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4070      # icc doesn't choke on unknown options, it will just issue warnings
4071      # or remarks (even with -Werror).  So we grep stderr for any message
4072      # that says an option was ignored or not supported.
4073      # When given -MP, icc 7.0 and 7.1 complain thusly:
4074      #   icc: Command line warning: ignoring option '-M'; no argument required
4075      # The diagnosis changed in icc 8.0:
4076      #   icc: Command line remark: option '-MP' not supported
4077      if (grep 'ignoring option' conftest.err ||
4078          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4079        am_cv_CC_dependencies_compiler_type=$depmode
4080        break
4081      fi
4082    fi
4083  done
4084
4085  cd ..
4086  rm -rf conftest.dir
4087else
4088  am_cv_CC_dependencies_compiler_type=none
4089fi
4090
4091fi
4092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4093$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4094CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4095
4096 if
4097  test "x$enable_dependency_tracking" != xno \
4098  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4099  am__fastdepCC_TRUE=
4100  am__fastdepCC_FALSE='#'
4101else
4102  am__fastdepCC_TRUE='#'
4103  am__fastdepCC_FALSE=
4104fi
4105
4106
4107
4108ac_ext=c
4109ac_cpp='$CPP $CPPFLAGS'
4110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112ac_compiler_gnu=$ac_cv_c_compiler_gnu
4113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4114$as_echo_n "checking how to run the C preprocessor... " >&6; }
4115# On Suns, sometimes $CPP names a directory.
4116if test -n "$CPP" && test -d "$CPP"; then
4117  CPP=
4118fi
4119if test -z "$CPP"; then
4120  if ${ac_cv_prog_CPP+:} false; then :
4121  $as_echo_n "(cached) " >&6
4122else
4123      # Double quotes because CPP needs to be expanded
4124    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4125    do
4126      ac_preproc_ok=false
4127for ac_c_preproc_warn_flag in '' yes
4128do
4129  # Use a header file that comes with gcc, so configuring glibc
4130  # with a fresh cross-compiler works.
4131  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4132  # <limits.h> exists even on freestanding compilers.
4133  # On the NeXT, cc -E runs the code through the compiler's parser,
4134  # not just through cpp. "Syntax error" is here to catch this case.
4135  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136/* end confdefs.h.  */
4137#ifdef __STDC__
4138# include <limits.h>
4139#else
4140# include <assert.h>
4141#endif
4142		     Syntax error
4143_ACEOF
4144if ac_fn_c_try_cpp "$LINENO"; then :
4145
4146else
4147  # Broken: fails on valid input.
4148continue
4149fi
4150rm -f conftest.err conftest.i conftest.$ac_ext
4151
4152  # OK, works on sane cases.  Now check whether nonexistent headers
4153  # can be detected and how.
4154  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155/* end confdefs.h.  */
4156#include <ac_nonexistent.h>
4157_ACEOF
4158if ac_fn_c_try_cpp "$LINENO"; then :
4159  # Broken: success on invalid input.
4160continue
4161else
4162  # Passes both tests.
4163ac_preproc_ok=:
4164break
4165fi
4166rm -f conftest.err conftest.i conftest.$ac_ext
4167
4168done
4169# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4170rm -f conftest.i conftest.err conftest.$ac_ext
4171if $ac_preproc_ok; then :
4172  break
4173fi
4174
4175    done
4176    ac_cv_prog_CPP=$CPP
4177
4178fi
4179  CPP=$ac_cv_prog_CPP
4180else
4181  ac_cv_prog_CPP=$CPP
4182fi
4183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4184$as_echo "$CPP" >&6; }
4185ac_preproc_ok=false
4186for ac_c_preproc_warn_flag in '' yes
4187do
4188  # Use a header file that comes with gcc, so configuring glibc
4189  # with a fresh cross-compiler works.
4190  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4191  # <limits.h> exists even on freestanding compilers.
4192  # On the NeXT, cc -E runs the code through the compiler's parser,
4193  # not just through cpp. "Syntax error" is here to catch this case.
4194  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195/* end confdefs.h.  */
4196#ifdef __STDC__
4197# include <limits.h>
4198#else
4199# include <assert.h>
4200#endif
4201		     Syntax error
4202_ACEOF
4203if ac_fn_c_try_cpp "$LINENO"; then :
4204
4205else
4206  # Broken: fails on valid input.
4207continue
4208fi
4209rm -f conftest.err conftest.i conftest.$ac_ext
4210
4211  # OK, works on sane cases.  Now check whether nonexistent headers
4212  # can be detected and how.
4213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214/* end confdefs.h.  */
4215#include <ac_nonexistent.h>
4216_ACEOF
4217if ac_fn_c_try_cpp "$LINENO"; then :
4218  # Broken: success on invalid input.
4219continue
4220else
4221  # Passes both tests.
4222ac_preproc_ok=:
4223break
4224fi
4225rm -f conftest.err conftest.i conftest.$ac_ext
4226
4227done
4228# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4229rm -f conftest.i conftest.err conftest.$ac_ext
4230if $ac_preproc_ok; then :
4231
4232else
4233  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4235as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4236See \`config.log' for more details" "$LINENO" 5; }
4237fi
4238
4239ac_ext=c
4240ac_cpp='$CPP $CPPFLAGS'
4241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4243ac_compiler_gnu=$ac_cv_c_compiler_gnu
4244
4245
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4247$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4248if ${ac_cv_path_GREP+:} false; then :
4249  $as_echo_n "(cached) " >&6
4250else
4251  if test -z "$GREP"; then
4252  ac_path_GREP_found=false
4253  # Loop through the user's path and test for each of PROGNAME-LIST
4254  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4256do
4257  IFS=$as_save_IFS
4258  test -z "$as_dir" && as_dir=.
4259    for ac_prog in grep ggrep; do
4260    for ac_exec_ext in '' $ac_executable_extensions; do
4261      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4262      as_fn_executable_p "$ac_path_GREP" || continue
4263# Check for GNU ac_path_GREP and select it if it is found.
4264  # Check for GNU $ac_path_GREP
4265case `"$ac_path_GREP" --version 2>&1` in
4266*GNU*)
4267  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4268*)
4269  ac_count=0
4270  $as_echo_n 0123456789 >"conftest.in"
4271  while :
4272  do
4273    cat "conftest.in" "conftest.in" >"conftest.tmp"
4274    mv "conftest.tmp" "conftest.in"
4275    cp "conftest.in" "conftest.nl"
4276    $as_echo 'GREP' >> "conftest.nl"
4277    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4278    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4279    as_fn_arith $ac_count + 1 && ac_count=$as_val
4280    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4281      # Best one so far, save it but keep looking for a better one
4282      ac_cv_path_GREP="$ac_path_GREP"
4283      ac_path_GREP_max=$ac_count
4284    fi
4285    # 10*(2^10) chars as input seems more than enough
4286    test $ac_count -gt 10 && break
4287  done
4288  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4289esac
4290
4291      $ac_path_GREP_found && break 3
4292    done
4293  done
4294  done
4295IFS=$as_save_IFS
4296  if test -z "$ac_cv_path_GREP"; then
4297    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4298  fi
4299else
4300  ac_cv_path_GREP=$GREP
4301fi
4302
4303fi
4304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4305$as_echo "$ac_cv_path_GREP" >&6; }
4306 GREP="$ac_cv_path_GREP"
4307
4308
4309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4310$as_echo_n "checking for egrep... " >&6; }
4311if ${ac_cv_path_EGREP+:} false; then :
4312  $as_echo_n "(cached) " >&6
4313else
4314  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4315   then ac_cv_path_EGREP="$GREP -E"
4316   else
4317     if test -z "$EGREP"; then
4318  ac_path_EGREP_found=false
4319  # Loop through the user's path and test for each of PROGNAME-LIST
4320  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4322do
4323  IFS=$as_save_IFS
4324  test -z "$as_dir" && as_dir=.
4325    for ac_prog in egrep; do
4326    for ac_exec_ext in '' $ac_executable_extensions; do
4327      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4328      as_fn_executable_p "$ac_path_EGREP" || continue
4329# Check for GNU ac_path_EGREP and select it if it is found.
4330  # Check for GNU $ac_path_EGREP
4331case `"$ac_path_EGREP" --version 2>&1` in
4332*GNU*)
4333  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4334*)
4335  ac_count=0
4336  $as_echo_n 0123456789 >"conftest.in"
4337  while :
4338  do
4339    cat "conftest.in" "conftest.in" >"conftest.tmp"
4340    mv "conftest.tmp" "conftest.in"
4341    cp "conftest.in" "conftest.nl"
4342    $as_echo 'EGREP' >> "conftest.nl"
4343    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4344    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4345    as_fn_arith $ac_count + 1 && ac_count=$as_val
4346    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4347      # Best one so far, save it but keep looking for a better one
4348      ac_cv_path_EGREP="$ac_path_EGREP"
4349      ac_path_EGREP_max=$ac_count
4350    fi
4351    # 10*(2^10) chars as input seems more than enough
4352    test $ac_count -gt 10 && break
4353  done
4354  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4355esac
4356
4357      $ac_path_EGREP_found && break 3
4358    done
4359  done
4360  done
4361IFS=$as_save_IFS
4362  if test -z "$ac_cv_path_EGREP"; then
4363    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4364  fi
4365else
4366  ac_cv_path_EGREP=$EGREP
4367fi
4368
4369   fi
4370fi
4371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4372$as_echo "$ac_cv_path_EGREP" >&6; }
4373 EGREP="$ac_cv_path_EGREP"
4374
4375
4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4377$as_echo_n "checking for ANSI C header files... " >&6; }
4378if ${ac_cv_header_stdc+:} false; then :
4379  $as_echo_n "(cached) " >&6
4380else
4381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382/* end confdefs.h.  */
4383#include <stdlib.h>
4384#include <stdarg.h>
4385#include <string.h>
4386#include <float.h>
4387
4388int
4389main ()
4390{
4391
4392  ;
4393  return 0;
4394}
4395_ACEOF
4396if ac_fn_c_try_compile "$LINENO"; then :
4397  ac_cv_header_stdc=yes
4398else
4399  ac_cv_header_stdc=no
4400fi
4401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402
4403if test $ac_cv_header_stdc = yes; then
4404  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406/* end confdefs.h.  */
4407#include <string.h>
4408
4409_ACEOF
4410if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4411  $EGREP "memchr" >/dev/null 2>&1; then :
4412
4413else
4414  ac_cv_header_stdc=no
4415fi
4416rm -f conftest*
4417
4418fi
4419
4420if test $ac_cv_header_stdc = yes; then
4421  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4422  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423/* end confdefs.h.  */
4424#include <stdlib.h>
4425
4426_ACEOF
4427if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4428  $EGREP "free" >/dev/null 2>&1; then :
4429
4430else
4431  ac_cv_header_stdc=no
4432fi
4433rm -f conftest*
4434
4435fi
4436
4437if test $ac_cv_header_stdc = yes; then
4438  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4439  if test "$cross_compiling" = yes; then :
4440  :
4441else
4442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443/* end confdefs.h.  */
4444#include <ctype.h>
4445#include <stdlib.h>
4446#if ((' ' & 0x0FF) == 0x020)
4447# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4448# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4449#else
4450# define ISLOWER(c) \
4451		   (('a' <= (c) && (c) <= 'i') \
4452		     || ('j' <= (c) && (c) <= 'r') \
4453		     || ('s' <= (c) && (c) <= 'z'))
4454# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4455#endif
4456
4457#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4458int
4459main ()
4460{
4461  int i;
4462  for (i = 0; i < 256; i++)
4463    if (XOR (islower (i), ISLOWER (i))
4464	|| toupper (i) != TOUPPER (i))
4465      return 2;
4466  return 0;
4467}
4468_ACEOF
4469if ac_fn_c_try_run "$LINENO"; then :
4470
4471else
4472  ac_cv_header_stdc=no
4473fi
4474rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4475  conftest.$ac_objext conftest.beam conftest.$ac_ext
4476fi
4477
4478fi
4479fi
4480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4481$as_echo "$ac_cv_header_stdc" >&6; }
4482if test $ac_cv_header_stdc = yes; then
4483
4484$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4485
4486fi
4487
4488# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4489for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4490		  inttypes.h stdint.h unistd.h
4491do :
4492  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4493ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4494"
4495if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4496  cat >>confdefs.h <<_ACEOF
4497#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4498_ACEOF
4499
4500fi
4501
4502done
4503
4504
4505
4506  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4507if test "x$ac_cv_header_minix_config_h" = xyes; then :
4508  MINIX=yes
4509else
4510  MINIX=
4511fi
4512
4513
4514  if test "$MINIX" = yes; then
4515
4516$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4517
4518
4519$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4520
4521
4522$as_echo "#define _MINIX 1" >>confdefs.h
4523
4524  fi
4525
4526
4527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4528$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4529if ${ac_cv_safe_to_define___extensions__+:} false; then :
4530  $as_echo_n "(cached) " >&6
4531else
4532  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533/* end confdefs.h.  */
4534
4535#         define __EXTENSIONS__ 1
4536          $ac_includes_default
4537int
4538main ()
4539{
4540
4541  ;
4542  return 0;
4543}
4544_ACEOF
4545if ac_fn_c_try_compile "$LINENO"; then :
4546  ac_cv_safe_to_define___extensions__=yes
4547else
4548  ac_cv_safe_to_define___extensions__=no
4549fi
4550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551fi
4552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4553$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4554  test $ac_cv_safe_to_define___extensions__ = yes &&
4555    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4556
4557  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4558
4559  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4560
4561  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4562
4563  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4564
4565
4566
4567ac_ext=c
4568ac_cpp='$CPP $CPPFLAGS'
4569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571ac_compiler_gnu=$ac_cv_c_compiler_gnu
4572if test -n "$ac_tool_prefix"; then
4573  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4574set dummy ${ac_tool_prefix}gcc; ac_word=$2
4575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576$as_echo_n "checking for $ac_word... " >&6; }
4577if ${ac_cv_prog_CC+:} false; then :
4578  $as_echo_n "(cached) " >&6
4579else
4580  if test -n "$CC"; then
4581  ac_cv_prog_CC="$CC" # Let the user override the test.
4582else
4583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584for as_dir in $PATH
4585do
4586  IFS=$as_save_IFS
4587  test -z "$as_dir" && as_dir=.
4588    for ac_exec_ext in '' $ac_executable_extensions; do
4589  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4591    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592    break 2
4593  fi
4594done
4595  done
4596IFS=$as_save_IFS
4597
4598fi
4599fi
4600CC=$ac_cv_prog_CC
4601if test -n "$CC"; then
4602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603$as_echo "$CC" >&6; }
4604else
4605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606$as_echo "no" >&6; }
4607fi
4608
4609
4610fi
4611if test -z "$ac_cv_prog_CC"; then
4612  ac_ct_CC=$CC
4613  # Extract the first word of "gcc", so it can be a program name with args.
4614set dummy gcc; ac_word=$2
4615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616$as_echo_n "checking for $ac_word... " >&6; }
4617if ${ac_cv_prog_ac_ct_CC+:} false; then :
4618  $as_echo_n "(cached) " >&6
4619else
4620  if test -n "$ac_ct_CC"; then
4621  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4622else
4623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624for as_dir in $PATH
4625do
4626  IFS=$as_save_IFS
4627  test -z "$as_dir" && as_dir=.
4628    for ac_exec_ext in '' $ac_executable_extensions; do
4629  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4630    ac_cv_prog_ac_ct_CC="gcc"
4631    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632    break 2
4633  fi
4634done
4635  done
4636IFS=$as_save_IFS
4637
4638fi
4639fi
4640ac_ct_CC=$ac_cv_prog_ac_ct_CC
4641if test -n "$ac_ct_CC"; then
4642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4643$as_echo "$ac_ct_CC" >&6; }
4644else
4645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646$as_echo "no" >&6; }
4647fi
4648
4649  if test "x$ac_ct_CC" = x; then
4650    CC=""
4651  else
4652    case $cross_compiling:$ac_tool_warned in
4653yes:)
4654{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4655$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4656ac_tool_warned=yes ;;
4657esac
4658    CC=$ac_ct_CC
4659  fi
4660else
4661  CC="$ac_cv_prog_CC"
4662fi
4663
4664if test -z "$CC"; then
4665          if test -n "$ac_tool_prefix"; then
4666    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4667set dummy ${ac_tool_prefix}cc; ac_word=$2
4668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669$as_echo_n "checking for $ac_word... " >&6; }
4670if ${ac_cv_prog_CC+:} false; then :
4671  $as_echo_n "(cached) " >&6
4672else
4673  if test -n "$CC"; then
4674  ac_cv_prog_CC="$CC" # Let the user override the test.
4675else
4676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677for as_dir in $PATH
4678do
4679  IFS=$as_save_IFS
4680  test -z "$as_dir" && as_dir=.
4681    for ac_exec_ext in '' $ac_executable_extensions; do
4682  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4683    ac_cv_prog_CC="${ac_tool_prefix}cc"
4684    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685    break 2
4686  fi
4687done
4688  done
4689IFS=$as_save_IFS
4690
4691fi
4692fi
4693CC=$ac_cv_prog_CC
4694if test -n "$CC"; then
4695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4696$as_echo "$CC" >&6; }
4697else
4698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699$as_echo "no" >&6; }
4700fi
4701
4702
4703  fi
4704fi
4705if test -z "$CC"; then
4706  # Extract the first word of "cc", so it can be a program name with args.
4707set dummy cc; ac_word=$2
4708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709$as_echo_n "checking for $ac_word... " >&6; }
4710if ${ac_cv_prog_CC+:} false; then :
4711  $as_echo_n "(cached) " >&6
4712else
4713  if test -n "$CC"; then
4714  ac_cv_prog_CC="$CC" # Let the user override the test.
4715else
4716  ac_prog_rejected=no
4717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718for as_dir in $PATH
4719do
4720  IFS=$as_save_IFS
4721  test -z "$as_dir" && as_dir=.
4722    for ac_exec_ext in '' $ac_executable_extensions; do
4723  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4724    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4725       ac_prog_rejected=yes
4726       continue
4727     fi
4728    ac_cv_prog_CC="cc"
4729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730    break 2
4731  fi
4732done
4733  done
4734IFS=$as_save_IFS
4735
4736if test $ac_prog_rejected = yes; then
4737  # We found a bogon in the path, so make sure we never use it.
4738  set dummy $ac_cv_prog_CC
4739  shift
4740  if test $# != 0; then
4741    # We chose a different compiler from the bogus one.
4742    # However, it has the same basename, so the bogon will be chosen
4743    # first if we set CC to just the basename; use the full file name.
4744    shift
4745    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4746  fi
4747fi
4748fi
4749fi
4750CC=$ac_cv_prog_CC
4751if test -n "$CC"; then
4752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4753$as_echo "$CC" >&6; }
4754else
4755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756$as_echo "no" >&6; }
4757fi
4758
4759
4760fi
4761if test -z "$CC"; then
4762  if test -n "$ac_tool_prefix"; then
4763  for ac_prog in cl.exe
4764  do
4765    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4766set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768$as_echo_n "checking for $ac_word... " >&6; }
4769if ${ac_cv_prog_CC+:} false; then :
4770  $as_echo_n "(cached) " >&6
4771else
4772  if test -n "$CC"; then
4773  ac_cv_prog_CC="$CC" # Let the user override the test.
4774else
4775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776for as_dir in $PATH
4777do
4778  IFS=$as_save_IFS
4779  test -z "$as_dir" && as_dir=.
4780    for ac_exec_ext in '' $ac_executable_extensions; do
4781  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4782    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784    break 2
4785  fi
4786done
4787  done
4788IFS=$as_save_IFS
4789
4790fi
4791fi
4792CC=$ac_cv_prog_CC
4793if test -n "$CC"; then
4794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4795$as_echo "$CC" >&6; }
4796else
4797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798$as_echo "no" >&6; }
4799fi
4800
4801
4802    test -n "$CC" && break
4803  done
4804fi
4805if test -z "$CC"; then
4806  ac_ct_CC=$CC
4807  for ac_prog in cl.exe
4808do
4809  # Extract the first word of "$ac_prog", so it can be a program name with args.
4810set dummy $ac_prog; ac_word=$2
4811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812$as_echo_n "checking for $ac_word... " >&6; }
4813if ${ac_cv_prog_ac_ct_CC+:} false; then :
4814  $as_echo_n "(cached) " >&6
4815else
4816  if test -n "$ac_ct_CC"; then
4817  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4818else
4819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820for as_dir in $PATH
4821do
4822  IFS=$as_save_IFS
4823  test -z "$as_dir" && as_dir=.
4824    for ac_exec_ext in '' $ac_executable_extensions; do
4825  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4826    ac_cv_prog_ac_ct_CC="$ac_prog"
4827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828    break 2
4829  fi
4830done
4831  done
4832IFS=$as_save_IFS
4833
4834fi
4835fi
4836ac_ct_CC=$ac_cv_prog_ac_ct_CC
4837if test -n "$ac_ct_CC"; then
4838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4839$as_echo "$ac_ct_CC" >&6; }
4840else
4841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842$as_echo "no" >&6; }
4843fi
4844
4845
4846  test -n "$ac_ct_CC" && break
4847done
4848
4849  if test "x$ac_ct_CC" = x; then
4850    CC=""
4851  else
4852    case $cross_compiling:$ac_tool_warned in
4853yes:)
4854{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4855$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4856ac_tool_warned=yes ;;
4857esac
4858    CC=$ac_ct_CC
4859  fi
4860fi
4861
4862fi
4863
4864
4865test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4866$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4867as_fn_error $? "no acceptable C compiler found in \$PATH
4868See \`config.log' for more details" "$LINENO" 5; }
4869
4870# Provide some information about the compiler.
4871$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4872set X $ac_compile
4873ac_compiler=$2
4874for ac_option in --version -v -V -qversion; do
4875  { { ac_try="$ac_compiler $ac_option >&5"
4876case "(($ac_try" in
4877  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878  *) ac_try_echo=$ac_try;;
4879esac
4880eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881$as_echo "$ac_try_echo"; } >&5
4882  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4883  ac_status=$?
4884  if test -s conftest.err; then
4885    sed '10a\
4886... rest of stderr output deleted ...
4887         10q' conftest.err >conftest.er1
4888    cat conftest.er1 >&5
4889  fi
4890  rm -f conftest.er1 conftest.err
4891  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892  test $ac_status = 0; }
4893done
4894
4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4896$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4897if ${ac_cv_c_compiler_gnu+:} false; then :
4898  $as_echo_n "(cached) " >&6
4899else
4900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901/* end confdefs.h.  */
4902
4903int
4904main ()
4905{
4906#ifndef __GNUC__
4907       choke me
4908#endif
4909
4910  ;
4911  return 0;
4912}
4913_ACEOF
4914if ac_fn_c_try_compile "$LINENO"; then :
4915  ac_compiler_gnu=yes
4916else
4917  ac_compiler_gnu=no
4918fi
4919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920ac_cv_c_compiler_gnu=$ac_compiler_gnu
4921
4922fi
4923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4924$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4925if test $ac_compiler_gnu = yes; then
4926  GCC=yes
4927else
4928  GCC=
4929fi
4930ac_test_CFLAGS=${CFLAGS+set}
4931ac_save_CFLAGS=$CFLAGS
4932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4933$as_echo_n "checking whether $CC accepts -g... " >&6; }
4934if ${ac_cv_prog_cc_g+:} false; then :
4935  $as_echo_n "(cached) " >&6
4936else
4937  ac_save_c_werror_flag=$ac_c_werror_flag
4938   ac_c_werror_flag=yes
4939   ac_cv_prog_cc_g=no
4940   CFLAGS="-g"
4941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942/* end confdefs.h.  */
4943
4944int
4945main ()
4946{
4947
4948  ;
4949  return 0;
4950}
4951_ACEOF
4952if ac_fn_c_try_compile "$LINENO"; then :
4953  ac_cv_prog_cc_g=yes
4954else
4955  CFLAGS=""
4956      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957/* end confdefs.h.  */
4958
4959int
4960main ()
4961{
4962
4963  ;
4964  return 0;
4965}
4966_ACEOF
4967if ac_fn_c_try_compile "$LINENO"; then :
4968
4969else
4970  ac_c_werror_flag=$ac_save_c_werror_flag
4971	 CFLAGS="-g"
4972	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973/* end confdefs.h.  */
4974
4975int
4976main ()
4977{
4978
4979  ;
4980  return 0;
4981}
4982_ACEOF
4983if ac_fn_c_try_compile "$LINENO"; then :
4984  ac_cv_prog_cc_g=yes
4985fi
4986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987fi
4988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989fi
4990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991   ac_c_werror_flag=$ac_save_c_werror_flag
4992fi
4993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4994$as_echo "$ac_cv_prog_cc_g" >&6; }
4995if test "$ac_test_CFLAGS" = set; then
4996  CFLAGS=$ac_save_CFLAGS
4997elif test $ac_cv_prog_cc_g = yes; then
4998  if test "$GCC" = yes; then
4999    CFLAGS="-g -O2"
5000  else
5001    CFLAGS="-g"
5002  fi
5003else
5004  if test "$GCC" = yes; then
5005    CFLAGS="-O2"
5006  else
5007    CFLAGS=
5008  fi
5009fi
5010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5011$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5012if ${ac_cv_prog_cc_c89+:} false; then :
5013  $as_echo_n "(cached) " >&6
5014else
5015  ac_cv_prog_cc_c89=no
5016ac_save_CC=$CC
5017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018/* end confdefs.h.  */
5019#include <stdarg.h>
5020#include <stdio.h>
5021struct stat;
5022/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5023struct buf { int x; };
5024FILE * (*rcsopen) (struct buf *, struct stat *, int);
5025static char *e (p, i)
5026     char **p;
5027     int i;
5028{
5029  return p[i];
5030}
5031static char *f (char * (*g) (char **, int), char **p, ...)
5032{
5033  char *s;
5034  va_list v;
5035  va_start (v,p);
5036  s = g (p, va_arg (v,int));
5037  va_end (v);
5038  return s;
5039}
5040
5041/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5042   function prototypes and stuff, but not '\xHH' hex character constants.
5043   These don't provoke an error unfortunately, instead are silently treated
5044   as 'x'.  The following induces an error, until -std is added to get
5045   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5046   array size at least.  It's necessary to write '\x00'==0 to get something
5047   that's true only with -std.  */
5048int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5049
5050/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5051   inside strings and character constants.  */
5052#define FOO(x) 'x'
5053int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5054
5055int test (int i, double x);
5056struct s1 {int (*f) (int a);};
5057struct s2 {int (*f) (double a);};
5058int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5059int argc;
5060char **argv;
5061int
5062main ()
5063{
5064return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5065  ;
5066  return 0;
5067}
5068_ACEOF
5069for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5070	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5071do
5072  CC="$ac_save_CC $ac_arg"
5073  if ac_fn_c_try_compile "$LINENO"; then :
5074  ac_cv_prog_cc_c89=$ac_arg
5075fi
5076rm -f core conftest.err conftest.$ac_objext
5077  test "x$ac_cv_prog_cc_c89" != "xno" && break
5078done
5079rm -f conftest.$ac_ext
5080CC=$ac_save_CC
5081
5082fi
5083# AC_CACHE_VAL
5084case "x$ac_cv_prog_cc_c89" in
5085  x)
5086    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5087$as_echo "none needed" >&6; } ;;
5088  xno)
5089    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5090$as_echo "unsupported" >&6; } ;;
5091  *)
5092    CC="$CC $ac_cv_prog_cc_c89"
5093    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5094$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5095esac
5096if test "x$ac_cv_prog_cc_c89" != xno; then :
5097
5098fi
5099
5100ac_ext=c
5101ac_cpp='$CPP $CPPFLAGS'
5102ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5103ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5104ac_compiler_gnu=$ac_cv_c_compiler_gnu
5105
5106ac_ext=c
5107ac_cpp='$CPP $CPPFLAGS'
5108ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110ac_compiler_gnu=$ac_cv_c_compiler_gnu
5111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5112$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5113if ${am_cv_prog_cc_c_o+:} false; then :
5114  $as_echo_n "(cached) " >&6
5115else
5116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117/* end confdefs.h.  */
5118
5119int
5120main ()
5121{
5122
5123  ;
5124  return 0;
5125}
5126_ACEOF
5127  # Make sure it works both with $CC and with simple cc.
5128  # Following AC_PROG_CC_C_O, we do the test twice because some
5129  # compilers refuse to overwrite an existing .o file with -o,
5130  # though they will create one.
5131  am_cv_prog_cc_c_o=yes
5132  for am_i in 1 2; do
5133    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5134   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5135   ac_status=$?
5136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137   (exit $ac_status); } \
5138         && test -f conftest2.$ac_objext; then
5139      : OK
5140    else
5141      am_cv_prog_cc_c_o=no
5142      break
5143    fi
5144  done
5145  rm -f core conftest*
5146  unset am_i
5147fi
5148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5149$as_echo "$am_cv_prog_cc_c_o" >&6; }
5150if test "$am_cv_prog_cc_c_o" != yes; then
5151   # Losing compiler, so override with the script.
5152   # FIXME: It is wrong to rewrite CC.
5153   # But if we don't then we get into trouble of one sort or another.
5154   # A longer-term fix would be to have automake use am__CC in this case,
5155   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5156   CC="$am_aux_dir/compile $CC"
5157fi
5158ac_ext=c
5159ac_cpp='$CPP $CPPFLAGS'
5160ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162ac_compiler_gnu=$ac_cv_c_compiler_gnu
5163
5164
5165depcc="$CC"   am_compiler_list=
5166
5167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5168$as_echo_n "checking dependency style of $depcc... " >&6; }
5169if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5170  $as_echo_n "(cached) " >&6
5171else
5172  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5173  # We make a subdir and do the tests there.  Otherwise we can end up
5174  # making bogus files that we don't know about and never remove.  For
5175  # instance it was reported that on HP-UX the gcc test will end up
5176  # making a dummy file named 'D' -- because '-MD' means "put the output
5177  # in D".
5178  rm -rf conftest.dir
5179  mkdir conftest.dir
5180  # Copy depcomp to subdir because otherwise we won't find it if we're
5181  # using a relative directory.
5182  cp "$am_depcomp" conftest.dir
5183  cd conftest.dir
5184  # We will build objects and dependencies in a subdirectory because
5185  # it helps to detect inapplicable dependency modes.  For instance
5186  # both Tru64's cc and ICC support -MD to output dependencies as a
5187  # side effect of compilation, but ICC will put the dependencies in
5188  # the current directory while Tru64 will put them in the object
5189  # directory.
5190  mkdir sub
5191
5192  am_cv_CC_dependencies_compiler_type=none
5193  if test "$am_compiler_list" = ""; then
5194     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5195  fi
5196  am__universal=false
5197  case " $depcc " in #(
5198     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5199     esac
5200
5201  for depmode in $am_compiler_list; do
5202    # Setup a source with many dependencies, because some compilers
5203    # like to wrap large dependency lists on column 80 (with \), and
5204    # we should not choose a depcomp mode which is confused by this.
5205    #
5206    # We need to recreate these files for each test, as the compiler may
5207    # overwrite some of them when testing with obscure command lines.
5208    # This happens at least with the AIX C compiler.
5209    : > sub/conftest.c
5210    for i in 1 2 3 4 5 6; do
5211      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5212      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5213      # Solaris 10 /bin/sh.
5214      echo '/* dummy */' > sub/conftst$i.h
5215    done
5216    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5217
5218    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5219    # mode.  It turns out that the SunPro C++ compiler does not properly
5220    # handle '-M -o', and we need to detect this.  Also, some Intel
5221    # versions had trouble with output in subdirs.
5222    am__obj=sub/conftest.${OBJEXT-o}
5223    am__minus_obj="-o $am__obj"
5224    case $depmode in
5225    gcc)
5226      # This depmode causes a compiler race in universal mode.
5227      test "$am__universal" = false || continue
5228      ;;
5229    nosideeffect)
5230      # After this tag, mechanisms are not by side-effect, so they'll
5231      # only be used when explicitly requested.
5232      if test "x$enable_dependency_tracking" = xyes; then
5233	continue
5234      else
5235	break
5236      fi
5237      ;;
5238    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5239      # This compiler won't grok '-c -o', but also, the minuso test has
5240      # not run yet.  These depmodes are late enough in the game, and
5241      # so weak that their functioning should not be impacted.
5242      am__obj=conftest.${OBJEXT-o}
5243      am__minus_obj=
5244      ;;
5245    none) break ;;
5246    esac
5247    if depmode=$depmode \
5248       source=sub/conftest.c object=$am__obj \
5249       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5250       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5251         >/dev/null 2>conftest.err &&
5252       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5253       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5254       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5255       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5256      # icc doesn't choke on unknown options, it will just issue warnings
5257      # or remarks (even with -Werror).  So we grep stderr for any message
5258      # that says an option was ignored or not supported.
5259      # When given -MP, icc 7.0 and 7.1 complain thusly:
5260      #   icc: Command line warning: ignoring option '-M'; no argument required
5261      # The diagnosis changed in icc 8.0:
5262      #   icc: Command line remark: option '-MP' not supported
5263      if (grep 'ignoring option' conftest.err ||
5264          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5265        am_cv_CC_dependencies_compiler_type=$depmode
5266        break
5267      fi
5268    fi
5269  done
5270
5271  cd ..
5272  rm -rf conftest.dir
5273else
5274  am_cv_CC_dependencies_compiler_type=none
5275fi
5276
5277fi
5278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5279$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5280CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5281
5282 if
5283  test "x$enable_dependency_tracking" != xno \
5284  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5285  am__fastdepCC_TRUE=
5286  am__fastdepCC_FALSE='#'
5287else
5288  am__fastdepCC_TRUE='#'
5289  am__fastdepCC_FALSE=
5290fi
5291
5292
5293# Make sure we can run config.sub.
5294$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5295  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5296
5297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5298$as_echo_n "checking build system type... " >&6; }
5299if ${ac_cv_build+:} false; then :
5300  $as_echo_n "(cached) " >&6
5301else
5302  ac_build_alias=$build_alias
5303test "x$ac_build_alias" = x &&
5304  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5305test "x$ac_build_alias" = x &&
5306  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5307ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5308  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5309
5310fi
5311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5312$as_echo "$ac_cv_build" >&6; }
5313case $ac_cv_build in
5314*-*-*) ;;
5315*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5316esac
5317build=$ac_cv_build
5318ac_save_IFS=$IFS; IFS='-'
5319set x $ac_cv_build
5320shift
5321build_cpu=$1
5322build_vendor=$2
5323shift; shift
5324# Remember, the first character of IFS is used to create $*,
5325# except with old shells:
5326build_os=$*
5327IFS=$ac_save_IFS
5328case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5329
5330
5331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5332$as_echo_n "checking host system type... " >&6; }
5333if ${ac_cv_host+:} false; then :
5334  $as_echo_n "(cached) " >&6
5335else
5336  if test "x$host_alias" = x; then
5337  ac_cv_host=$ac_cv_build
5338else
5339  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5340    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5341fi
5342
5343fi
5344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5345$as_echo "$ac_cv_host" >&6; }
5346case $ac_cv_host in
5347*-*-*) ;;
5348*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5349esac
5350host=$ac_cv_host
5351ac_save_IFS=$IFS; IFS='-'
5352set x $ac_cv_host
5353shift
5354host_cpu=$1
5355host_vendor=$2
5356shift; shift
5357# Remember, the first character of IFS is used to create $*,
5358# except with old shells:
5359host_os=$*
5360IFS=$ac_save_IFS
5361case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5362
5363
5364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5365$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5366if ${ac_cv_path_SED+:} false; then :
5367  $as_echo_n "(cached) " >&6
5368else
5369            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5370     for ac_i in 1 2 3 4 5 6 7; do
5371       ac_script="$ac_script$as_nl$ac_script"
5372     done
5373     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5374     { ac_script=; unset ac_script;}
5375     if test -z "$SED"; then
5376  ac_path_SED_found=false
5377  # Loop through the user's path and test for each of PROGNAME-LIST
5378  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379for as_dir in $PATH
5380do
5381  IFS=$as_save_IFS
5382  test -z "$as_dir" && as_dir=.
5383    for ac_prog in sed gsed; do
5384    for ac_exec_ext in '' $ac_executable_extensions; do
5385      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5386      as_fn_executable_p "$ac_path_SED" || continue
5387# Check for GNU ac_path_SED and select it if it is found.
5388  # Check for GNU $ac_path_SED
5389case `"$ac_path_SED" --version 2>&1` in
5390*GNU*)
5391  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5392*)
5393  ac_count=0
5394  $as_echo_n 0123456789 >"conftest.in"
5395  while :
5396  do
5397    cat "conftest.in" "conftest.in" >"conftest.tmp"
5398    mv "conftest.tmp" "conftest.in"
5399    cp "conftest.in" "conftest.nl"
5400    $as_echo '' >> "conftest.nl"
5401    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5402    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5403    as_fn_arith $ac_count + 1 && ac_count=$as_val
5404    if test $ac_count -gt ${ac_path_SED_max-0}; then
5405      # Best one so far, save it but keep looking for a better one
5406      ac_cv_path_SED="$ac_path_SED"
5407      ac_path_SED_max=$ac_count
5408    fi
5409    # 10*(2^10) chars as input seems more than enough
5410    test $ac_count -gt 10 && break
5411  done
5412  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5413esac
5414
5415      $ac_path_SED_found && break 3
5416    done
5417  done
5418  done
5419IFS=$as_save_IFS
5420  if test -z "$ac_cv_path_SED"; then
5421    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5422  fi
5423else
5424  ac_cv_path_SED=$SED
5425fi
5426
5427fi
5428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5429$as_echo "$ac_cv_path_SED" >&6; }
5430 SED="$ac_cv_path_SED"
5431  rm -f conftest.sed
5432
5433test -z "$SED" && SED=sed
5434Xsed="$SED -e 1s/^X//"
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5447$as_echo_n "checking for fgrep... " >&6; }
5448if ${ac_cv_path_FGREP+:} false; then :
5449  $as_echo_n "(cached) " >&6
5450else
5451  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5452   then ac_cv_path_FGREP="$GREP -F"
5453   else
5454     if test -z "$FGREP"; then
5455  ac_path_FGREP_found=false
5456  # Loop through the user's path and test for each of PROGNAME-LIST
5457  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5459do
5460  IFS=$as_save_IFS
5461  test -z "$as_dir" && as_dir=.
5462    for ac_prog in fgrep; do
5463    for ac_exec_ext in '' $ac_executable_extensions; do
5464      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5465      as_fn_executable_p "$ac_path_FGREP" || continue
5466# Check for GNU ac_path_FGREP and select it if it is found.
5467  # Check for GNU $ac_path_FGREP
5468case `"$ac_path_FGREP" --version 2>&1` in
5469*GNU*)
5470  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5471*)
5472  ac_count=0
5473  $as_echo_n 0123456789 >"conftest.in"
5474  while :
5475  do
5476    cat "conftest.in" "conftest.in" >"conftest.tmp"
5477    mv "conftest.tmp" "conftest.in"
5478    cp "conftest.in" "conftest.nl"
5479    $as_echo 'FGREP' >> "conftest.nl"
5480    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5481    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5482    as_fn_arith $ac_count + 1 && ac_count=$as_val
5483    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5484      # Best one so far, save it but keep looking for a better one
5485      ac_cv_path_FGREP="$ac_path_FGREP"
5486      ac_path_FGREP_max=$ac_count
5487    fi
5488    # 10*(2^10) chars as input seems more than enough
5489    test $ac_count -gt 10 && break
5490  done
5491  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5492esac
5493
5494      $ac_path_FGREP_found && break 3
5495    done
5496  done
5497  done
5498IFS=$as_save_IFS
5499  if test -z "$ac_cv_path_FGREP"; then
5500    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5501  fi
5502else
5503  ac_cv_path_FGREP=$FGREP
5504fi
5505
5506   fi
5507fi
5508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5509$as_echo "$ac_cv_path_FGREP" >&6; }
5510 FGREP="$ac_cv_path_FGREP"
5511
5512
5513test -z "$GREP" && GREP=grep
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5532ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5533ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5534
5535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5536$as_echo_n "checking how to print strings... " >&6; }
5537# Test print first, because it will be a builtin if present.
5538if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5539   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5540  ECHO='print -r --'
5541elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5542  ECHO='printf %s\n'
5543else
5544  # Use this function as a fallback that always works.
5545  func_fallback_echo ()
5546  {
5547    eval 'cat <<_LTECHO_EOF
5548$1
5549_LTECHO_EOF'
5550  }
5551  ECHO='func_fallback_echo'
5552fi
5553
5554# func_echo_all arg...
5555# Invoke $ECHO with all args, space-separated.
5556func_echo_all ()
5557{
5558    $ECHO ""
5559}
5560
5561case $ECHO in
5562  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5563$as_echo "printf" >&6; } ;;
5564  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5565$as_echo "print -r" >&6; } ;;
5566  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5567$as_echo "cat" >&6; } ;;
5568esac
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585# Check whether --with-gnu-ld was given.
5586if test "${with_gnu_ld+set}" = set; then :
5587  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5588else
5589  with_gnu_ld=no
5590fi
5591
5592ac_prog=ld
5593if test yes = "$GCC"; then
5594  # Check if gcc -print-prog-name=ld gives a path.
5595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5596$as_echo_n "checking for ld used by $CC... " >&6; }
5597  case $host in
5598  *-*-mingw*)
5599    # gcc leaves a trailing carriage return, which upsets mingw
5600    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5601  *)
5602    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5603  esac
5604  case $ac_prog in
5605    # Accept absolute paths.
5606    [\\/]* | ?:[\\/]*)
5607      re_direlt='/[^/][^/]*/\.\./'
5608      # Canonicalize the pathname of ld
5609      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5610      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5611	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5612      done
5613      test -z "$LD" && LD=$ac_prog
5614      ;;
5615  "")
5616    # If it fails, then pretend we aren't using GCC.
5617    ac_prog=ld
5618    ;;
5619  *)
5620    # If it is relative, then search for the first ld in PATH.
5621    with_gnu_ld=unknown
5622    ;;
5623  esac
5624elif test yes = "$with_gnu_ld"; then
5625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5626$as_echo_n "checking for GNU ld... " >&6; }
5627else
5628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5629$as_echo_n "checking for non-GNU ld... " >&6; }
5630fi
5631if ${lt_cv_path_LD+:} false; then :
5632  $as_echo_n "(cached) " >&6
5633else
5634  if test -z "$LD"; then
5635  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5636  for ac_dir in $PATH; do
5637    IFS=$lt_save_ifs
5638    test -z "$ac_dir" && ac_dir=.
5639    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5640      lt_cv_path_LD=$ac_dir/$ac_prog
5641      # Check to see if the program is GNU ld.  I'd rather use --version,
5642      # but apparently some variants of GNU ld only accept -v.
5643      # Break only if it was the GNU/non-GNU ld that we prefer.
5644      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5645      *GNU* | *'with BFD'*)
5646	test no != "$with_gnu_ld" && break
5647	;;
5648      *)
5649	test yes != "$with_gnu_ld" && break
5650	;;
5651      esac
5652    fi
5653  done
5654  IFS=$lt_save_ifs
5655else
5656  lt_cv_path_LD=$LD # Let the user override the test with a path.
5657fi
5658fi
5659
5660LD=$lt_cv_path_LD
5661if test -n "$LD"; then
5662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5663$as_echo "$LD" >&6; }
5664else
5665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666$as_echo "no" >&6; }
5667fi
5668test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5670$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5671if ${lt_cv_prog_gnu_ld+:} false; then :
5672  $as_echo_n "(cached) " >&6
5673else
5674  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5675case `$LD -v 2>&1 </dev/null` in
5676*GNU* | *'with BFD'*)
5677  lt_cv_prog_gnu_ld=yes
5678  ;;
5679*)
5680  lt_cv_prog_gnu_ld=no
5681  ;;
5682esac
5683fi
5684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5685$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5686with_gnu_ld=$lt_cv_prog_gnu_ld
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5700$as_echo_n "checking whether NLS is requested... " >&6; }
5701    # Check whether --enable-nls was given.
5702if test "${enable_nls+set}" = set; then :
5703  enableval=$enable_nls; USE_NLS=$enableval
5704else
5705  USE_NLS=yes
5706fi
5707
5708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5709$as_echo "$USE_NLS" >&6; }
5710
5711
5712
5713
5714case "$am__api_version" in
5715    1.01234)
5716	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5717    ;;
5718    *)
5719    ;;
5720esac
5721
5722INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5723INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5724INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5725if test -n "0.35.0"; then
5726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
5727$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
5728    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5729$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5730    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5731	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
5732fi
5733
5734# Extract the first word of "intltool-update", so it can be a program name with args.
5735set dummy intltool-update; ac_word=$2
5736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737$as_echo_n "checking for $ac_word... " >&6; }
5738if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
5739  $as_echo_n "(cached) " >&6
5740else
5741  case $INTLTOOL_UPDATE in
5742  [\\/]* | ?:[\\/]*)
5743  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5744  ;;
5745  *)
5746  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747for as_dir in $PATH
5748do
5749  IFS=$as_save_IFS
5750  test -z "$as_dir" && as_dir=.
5751    for ac_exec_ext in '' $ac_executable_extensions; do
5752  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755    break 2
5756  fi
5757done
5758  done
5759IFS=$as_save_IFS
5760
5761  ;;
5762esac
5763fi
5764INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5765if test -n "$INTLTOOL_UPDATE"; then
5766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5767$as_echo "$INTLTOOL_UPDATE" >&6; }
5768else
5769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770$as_echo "no" >&6; }
5771fi
5772
5773
5774# Extract the first word of "intltool-merge", so it can be a program name with args.
5775set dummy intltool-merge; ac_word=$2
5776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777$as_echo_n "checking for $ac_word... " >&6; }
5778if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
5779  $as_echo_n "(cached) " >&6
5780else
5781  case $INTLTOOL_MERGE in
5782  [\\/]* | ?:[\\/]*)
5783  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5784  ;;
5785  *)
5786  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787for as_dir in $PATH
5788do
5789  IFS=$as_save_IFS
5790  test -z "$as_dir" && as_dir=.
5791    for ac_exec_ext in '' $ac_executable_extensions; do
5792  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5794    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795    break 2
5796  fi
5797done
5798  done
5799IFS=$as_save_IFS
5800
5801  ;;
5802esac
5803fi
5804INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5805if test -n "$INTLTOOL_MERGE"; then
5806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5807$as_echo "$INTLTOOL_MERGE" >&6; }
5808else
5809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810$as_echo "no" >&6; }
5811fi
5812
5813
5814# Extract the first word of "intltool-extract", so it can be a program name with args.
5815set dummy intltool-extract; ac_word=$2
5816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817$as_echo_n "checking for $ac_word... " >&6; }
5818if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5819  $as_echo_n "(cached) " >&6
5820else
5821  case $INTLTOOL_EXTRACT in
5822  [\\/]* | ?:[\\/]*)
5823  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5824  ;;
5825  *)
5826  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827for as_dir in $PATH
5828do
5829  IFS=$as_save_IFS
5830  test -z "$as_dir" && as_dir=.
5831    for ac_exec_ext in '' $ac_executable_extensions; do
5832  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5834    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835    break 2
5836  fi
5837done
5838  done
5839IFS=$as_save_IFS
5840
5841  ;;
5842esac
5843fi
5844INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5845if test -n "$INTLTOOL_EXTRACT"; then
5846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5847$as_echo "$INTLTOOL_EXTRACT" >&6; }
5848else
5849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850$as_echo "no" >&6; }
5851fi
5852
5853
5854if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5855    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5856fi
5857
5858if test -z "$AM_DEFAULT_VERBOSITY"; then
5859  AM_DEFAULT_VERBOSITY=1
5860fi
5861
5862
5863INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
5864INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
5865INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
5866
5867
5868
5869
5870INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
5871intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
5872intltool__v_merge_options_0='-q'
5873
5874
5875
5876
5877  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 $< $@'
5878INTLTOOL_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 $< $@'
5879     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 $< $@'
5880     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 $< $@'
5881      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 $< $@'
5882     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 $< $@'
5883   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 $< $@'
5884    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 $< $@'
5885INTLTOOL_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 $< $@'
5886       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 $< $@'
5887      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 $< $@'
5888if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5889      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 $< $@'
5890else
5891      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'
5892fi
5893      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 $< $@'
5894      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 $< $@'
5895    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 $< $@'
5896  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 $< $@'
5897    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 $< $@'
5898    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 $< $@'
5899   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 $< $@'
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997# Check the gettext tools to make sure they are GNU
5998# Extract the first word of "xgettext", so it can be a program name with args.
5999set dummy xgettext; ac_word=$2
6000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001$as_echo_n "checking for $ac_word... " >&6; }
6002if ${ac_cv_path_XGETTEXT+:} false; then :
6003  $as_echo_n "(cached) " >&6
6004else
6005  case $XGETTEXT in
6006  [\\/]* | ?:[\\/]*)
6007  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6008  ;;
6009  *)
6010  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011for as_dir in $PATH
6012do
6013  IFS=$as_save_IFS
6014  test -z "$as_dir" && as_dir=.
6015    for ac_exec_ext in '' $ac_executable_extensions; do
6016  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019    break 2
6020  fi
6021done
6022  done
6023IFS=$as_save_IFS
6024
6025  ;;
6026esac
6027fi
6028XGETTEXT=$ac_cv_path_XGETTEXT
6029if test -n "$XGETTEXT"; then
6030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6031$as_echo "$XGETTEXT" >&6; }
6032else
6033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034$as_echo "no" >&6; }
6035fi
6036
6037
6038# Extract the first word of "msgmerge", so it can be a program name with args.
6039set dummy msgmerge; ac_word=$2
6040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041$as_echo_n "checking for $ac_word... " >&6; }
6042if ${ac_cv_path_MSGMERGE+:} false; then :
6043  $as_echo_n "(cached) " >&6
6044else
6045  case $MSGMERGE in
6046  [\\/]* | ?:[\\/]*)
6047  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6048  ;;
6049  *)
6050  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051for as_dir in $PATH
6052do
6053  IFS=$as_save_IFS
6054  test -z "$as_dir" && as_dir=.
6055    for ac_exec_ext in '' $ac_executable_extensions; do
6056  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6057    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6058    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6059    break 2
6060  fi
6061done
6062  done
6063IFS=$as_save_IFS
6064
6065  ;;
6066esac
6067fi
6068MSGMERGE=$ac_cv_path_MSGMERGE
6069if test -n "$MSGMERGE"; then
6070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6071$as_echo "$MSGMERGE" >&6; }
6072else
6073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074$as_echo "no" >&6; }
6075fi
6076
6077
6078# Extract the first word of "msgfmt", so it can be a program name with args.
6079set dummy msgfmt; ac_word=$2
6080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081$as_echo_n "checking for $ac_word... " >&6; }
6082if ${ac_cv_path_MSGFMT+:} false; then :
6083  $as_echo_n "(cached) " >&6
6084else
6085  case $MSGFMT in
6086  [\\/]* | ?:[\\/]*)
6087  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6088  ;;
6089  *)
6090  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091for as_dir in $PATH
6092do
6093  IFS=$as_save_IFS
6094  test -z "$as_dir" && as_dir=.
6095    for ac_exec_ext in '' $ac_executable_extensions; do
6096  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6098    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099    break 2
6100  fi
6101done
6102  done
6103IFS=$as_save_IFS
6104
6105  ;;
6106esac
6107fi
6108MSGFMT=$ac_cv_path_MSGFMT
6109if test -n "$MSGFMT"; then
6110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6111$as_echo "$MSGFMT" >&6; }
6112else
6113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114$as_echo "no" >&6; }
6115fi
6116
6117
6118# Extract the first word of "gmsgfmt", so it can be a program name with args.
6119set dummy gmsgfmt; ac_word=$2
6120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121$as_echo_n "checking for $ac_word... " >&6; }
6122if ${ac_cv_path_GMSGFMT+:} false; then :
6123  $as_echo_n "(cached) " >&6
6124else
6125  case $GMSGFMT in
6126  [\\/]* | ?:[\\/]*)
6127  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6128  ;;
6129  *)
6130  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131for as_dir in $PATH
6132do
6133  IFS=$as_save_IFS
6134  test -z "$as_dir" && as_dir=.
6135    for ac_exec_ext in '' $ac_executable_extensions; do
6136  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6137    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139    break 2
6140  fi
6141done
6142  done
6143IFS=$as_save_IFS
6144
6145  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6146  ;;
6147esac
6148fi
6149GMSGFMT=$ac_cv_path_GMSGFMT
6150if test -n "$GMSGFMT"; then
6151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6152$as_echo "$GMSGFMT" >&6; }
6153else
6154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155$as_echo "no" >&6; }
6156fi
6157
6158
6159if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6160    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6161fi
6162xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6163mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6164mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6165if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6166    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6167fi
6168
6169# Extract the first word of "perl", so it can be a program name with args.
6170set dummy perl; 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_path_INTLTOOL_PERL+:} false; then :
6174  $as_echo_n "(cached) " >&6
6175else
6176  case $INTLTOOL_PERL in
6177  [\\/]* | ?:[\\/]*)
6178  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6179  ;;
6180  *)
6181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182for as_dir in $PATH
6183do
6184  IFS=$as_save_IFS
6185  test -z "$as_dir" && as_dir=.
6186    for ac_exec_ext in '' $ac_executable_extensions; do
6187  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6189    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190    break 2
6191  fi
6192done
6193  done
6194IFS=$as_save_IFS
6195
6196  ;;
6197esac
6198fi
6199INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6200if test -n "$INTLTOOL_PERL"; then
6201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6202$as_echo "$INTLTOOL_PERL" >&6; }
6203else
6204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205$as_echo "no" >&6; }
6206fi
6207
6208
6209if test -z "$INTLTOOL_PERL"; then
6210   as_fn_error $? "perl not found" "$LINENO" 5
6211fi
6212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6213$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6214$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6215if test $? -ne 0; then
6216   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
6217else
6218   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
6219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6220$as_echo "$IT_PERL_VERSION" >&6; }
6221fi
6222if test "x" != "xno-xml"; then
6223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6224$as_echo_n "checking for XML::Parser... " >&6; }
6225   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6226       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6227$as_echo "ok" >&6; }
6228   else
6229       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
6230   fi
6231fi
6232
6233# Substitute ALL_LINGUAS so we can use it in po/Makefile
6234
6235
6236
6237
6238
6239
6240
6241case `pwd` in
6242  *\ * | *\	*)
6243    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6244$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6245esac
6246
6247
6248
6249macro_version='2.4.6.42-b88ce-dirty'
6250macro_revision='2.4.6.42'
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264ltmain=$ac_aux_dir/ltmain.sh
6265
6266# Backslashify metacharacters that are still active within
6267# double-quoted strings.
6268sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6269
6270# Same as above, but do not quote variable references.
6271double_quote_subst='s/\(["`\\]\)/\\\1/g'
6272
6273# Sed substitution to delay expansion of an escaped shell variable in a
6274# double_quote_subst'ed string.
6275delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6276
6277# Sed substitution to delay expansion of an escaped single quote.
6278delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6279
6280# Sed substitution to avoid accidental globbing in evaled expressions
6281no_glob_subst='s/\*/\\\*/g'
6282
6283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6284$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6285if ${lt_cv_path_NM+:} false; then :
6286  $as_echo_n "(cached) " >&6
6287else
6288  if test -n "$NM"; then
6289  # Let the user override the test.
6290  lt_cv_path_NM=$NM
6291else
6292  lt_nm_to_check=${ac_tool_prefix}nm
6293  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6294    lt_nm_to_check="$lt_nm_to_check nm"
6295  fi
6296  for lt_tmp_nm in $lt_nm_to_check; do
6297    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6298    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6299      IFS=$lt_save_ifs
6300      test -z "$ac_dir" && ac_dir=.
6301      tmp_nm=$ac_dir/$lt_tmp_nm
6302      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6303	# Check to see if the nm accepts a BSD-compat flag.
6304	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6305	#   nm: unknown option "B" ignored
6306	# Tru64's nm complains that /dev/null is an invalid object file
6307	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6308	case $build_os in
6309	mingw*) lt_bad_file=conftest.nm/nofile ;;
6310	*) lt_bad_file=/dev/null ;;
6311	esac
6312	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6313	*$lt_bad_file* | *'Invalid file or object type'*)
6314	  lt_cv_path_NM="$tmp_nm -B"
6315	  break 2
6316	  ;;
6317	*)
6318	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6319	  */dev/null*)
6320	    lt_cv_path_NM="$tmp_nm -p"
6321	    break 2
6322	    ;;
6323	  *)
6324	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6325	    continue # so that we can try to find one that supports BSD flags
6326	    ;;
6327	  esac
6328	  ;;
6329	esac
6330      fi
6331    done
6332    IFS=$lt_save_ifs
6333  done
6334  : ${lt_cv_path_NM=no}
6335fi
6336fi
6337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6338$as_echo "$lt_cv_path_NM" >&6; }
6339if test no != "$lt_cv_path_NM"; then
6340  NM=$lt_cv_path_NM
6341else
6342  # Didn't find any BSD compatible name lister, look for dumpbin.
6343  if test -n "$DUMPBIN"; then :
6344    # Let the user override the test.
6345  else
6346    if test -n "$ac_tool_prefix"; then
6347  for ac_prog in dumpbin "link -dump"
6348  do
6349    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6350set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352$as_echo_n "checking for $ac_word... " >&6; }
6353if ${ac_cv_prog_DUMPBIN+:} false; then :
6354  $as_echo_n "(cached) " >&6
6355else
6356  if test -n "$DUMPBIN"; then
6357  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6358else
6359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360for as_dir in $PATH
6361do
6362  IFS=$as_save_IFS
6363  test -z "$as_dir" && as_dir=.
6364    for ac_exec_ext in '' $ac_executable_extensions; do
6365  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6366    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6367    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368    break 2
6369  fi
6370done
6371  done
6372IFS=$as_save_IFS
6373
6374fi
6375fi
6376DUMPBIN=$ac_cv_prog_DUMPBIN
6377if test -n "$DUMPBIN"; then
6378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6379$as_echo "$DUMPBIN" >&6; }
6380else
6381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382$as_echo "no" >&6; }
6383fi
6384
6385
6386    test -n "$DUMPBIN" && break
6387  done
6388fi
6389if test -z "$DUMPBIN"; then
6390  ac_ct_DUMPBIN=$DUMPBIN
6391  for ac_prog in dumpbin "link -dump"
6392do
6393  # Extract the first word of "$ac_prog", so it can be a program name with args.
6394set dummy $ac_prog; ac_word=$2
6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396$as_echo_n "checking for $ac_word... " >&6; }
6397if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6398  $as_echo_n "(cached) " >&6
6399else
6400  if test -n "$ac_ct_DUMPBIN"; then
6401  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6402else
6403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404for as_dir in $PATH
6405do
6406  IFS=$as_save_IFS
6407  test -z "$as_dir" && as_dir=.
6408    for ac_exec_ext in '' $ac_executable_extensions; do
6409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412    break 2
6413  fi
6414done
6415  done
6416IFS=$as_save_IFS
6417
6418fi
6419fi
6420ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6421if test -n "$ac_ct_DUMPBIN"; then
6422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6423$as_echo "$ac_ct_DUMPBIN" >&6; }
6424else
6425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426$as_echo "no" >&6; }
6427fi
6428
6429
6430  test -n "$ac_ct_DUMPBIN" && break
6431done
6432
6433  if test "x$ac_ct_DUMPBIN" = x; then
6434    DUMPBIN=":"
6435  else
6436    case $cross_compiling:$ac_tool_warned in
6437yes:)
6438{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6440ac_tool_warned=yes ;;
6441esac
6442    DUMPBIN=$ac_ct_DUMPBIN
6443  fi
6444fi
6445
6446    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6447    *COFF*)
6448      DUMPBIN="$DUMPBIN -symbols -headers"
6449      ;;
6450    *)
6451      DUMPBIN=:
6452      ;;
6453    esac
6454  fi
6455
6456  if test : != "$DUMPBIN"; then
6457    NM=$DUMPBIN
6458  fi
6459fi
6460test -z "$NM" && NM=nm
6461
6462
6463
6464
6465
6466
6467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6468$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6469if ${lt_cv_nm_interface+:} false; then :
6470  $as_echo_n "(cached) " >&6
6471else
6472  lt_cv_nm_interface="BSD nm"
6473  echo "int some_variable = 0;" > conftest.$ac_ext
6474  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6475  (eval "$ac_compile" 2>conftest.err)
6476  cat conftest.err >&5
6477  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6478  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6479  cat conftest.err >&5
6480  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6481  cat conftest.out >&5
6482  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6483    lt_cv_nm_interface="MS dumpbin"
6484  fi
6485  rm -f conftest*
6486fi
6487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6488$as_echo "$lt_cv_nm_interface" >&6; }
6489
6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6491$as_echo_n "checking whether ln -s works... " >&6; }
6492LN_S=$as_ln_s
6493if test "$LN_S" = "ln -s"; then
6494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6495$as_echo "yes" >&6; }
6496else
6497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6498$as_echo "no, using $LN_S" >&6; }
6499fi
6500
6501# find the maximum length of command line arguments
6502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6503$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6504if ${lt_cv_sys_max_cmd_len+:} false; then :
6505  $as_echo_n "(cached) " >&6
6506else
6507    i=0
6508  teststring=ABCD
6509
6510  case $build_os in
6511  msdosdjgpp*)
6512    # On DJGPP, this test can blow up pretty badly due to problems in libc
6513    # (any single argument exceeding 2000 bytes causes a buffer overrun
6514    # during glob expansion).  Even if it were fixed, the result of this
6515    # check would be larger than it should be.
6516    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6517    ;;
6518
6519  gnu*)
6520    # Under GNU Hurd, this test is not required because there is
6521    # no limit to the length of command line arguments.
6522    # Libtool will interpret -1 as no limit whatsoever
6523    lt_cv_sys_max_cmd_len=-1;
6524    ;;
6525
6526  cygwin* | mingw* | cegcc*)
6527    # On Win9x/ME, this test blows up -- it succeeds, but takes
6528    # about 5 minutes as the teststring grows exponentially.
6529    # Worse, since 9x/ME are not pre-emptively multitasking,
6530    # you end up with a "frozen" computer, even though with patience
6531    # the test eventually succeeds (with a max line length of 256k).
6532    # Instead, let's just punt: use the minimum linelength reported by
6533    # all of the supported platforms: 8192 (on NT/2K/XP).
6534    lt_cv_sys_max_cmd_len=8192;
6535    ;;
6536
6537  mint*)
6538    # On MiNT this can take a long time and run out of memory.
6539    lt_cv_sys_max_cmd_len=8192;
6540    ;;
6541
6542  amigaos*)
6543    # On AmigaOS with pdksh, this test takes hours, literally.
6544    # So we just punt and use a minimum line length of 8192.
6545    lt_cv_sys_max_cmd_len=8192;
6546    ;;
6547
6548  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6549    # This has been around since 386BSD, at least.  Likely further.
6550    if test -x /sbin/sysctl; then
6551      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6552    elif test -x /usr/sbin/sysctl; then
6553      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6554    else
6555      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6556    fi
6557    # And add a safety zone
6558    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6559    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6560    ;;
6561
6562  interix*)
6563    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6564    lt_cv_sys_max_cmd_len=196608
6565    ;;
6566
6567  os2*)
6568    # The test takes a long time on OS/2.
6569    lt_cv_sys_max_cmd_len=8192
6570    ;;
6571
6572  osf*)
6573    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6574    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6575    # nice to cause kernel panics so lets avoid the loop below.
6576    # First set a reasonable default.
6577    lt_cv_sys_max_cmd_len=16384
6578    #
6579    if test -x /sbin/sysconfig; then
6580      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6581        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6582      esac
6583    fi
6584    ;;
6585  sco3.2v5*)
6586    lt_cv_sys_max_cmd_len=102400
6587    ;;
6588  sysv5* | sco5v6* | sysv4.2uw2*)
6589    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6590    if test -n "$kargmax"; then
6591      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6592    else
6593      lt_cv_sys_max_cmd_len=32768
6594    fi
6595    ;;
6596  *)
6597    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6598    if test -n "$lt_cv_sys_max_cmd_len" && \
6599       test undefined != "$lt_cv_sys_max_cmd_len"; then
6600      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6601      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6602    else
6603      # Make teststring a little bigger before we do anything with it.
6604      # a 1K string should be a reasonable start.
6605      for i in 1 2 3 4 5 6 7 8; do
6606        teststring=$teststring$teststring
6607      done
6608      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6609      # If test is not a shell built-in, we'll probably end up computing a
6610      # maximum length that is only half of the actual maximum length, but
6611      # we can't tell.
6612      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6613	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6614	      test 17 != "$i" # 1/2 MB should be enough
6615      do
6616        i=`expr $i + 1`
6617        teststring=$teststring$teststring
6618      done
6619      # Only check the string length outside the loop.
6620      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6621      teststring=
6622      # Add a significant safety factor because C++ compilers can tack on
6623      # massive amounts of additional arguments before passing them to the
6624      # linker.  It appears as though 1/2 is a usable value.
6625      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6626    fi
6627    ;;
6628  esac
6629
6630fi
6631
6632if test -n "$lt_cv_sys_max_cmd_len"; then
6633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6634$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6635else
6636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6637$as_echo "none" >&6; }
6638fi
6639max_cmd_len=$lt_cv_sys_max_cmd_len
6640
6641
6642
6643
6644
6645
6646: ${CP="cp -f"}
6647: ${MV="mv -f"}
6648: ${RM="rm -f"}
6649
6650if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6651  lt_unset=unset
6652else
6653  lt_unset=false
6654fi
6655
6656
6657
6658
6659
6660# test EBCDIC or ASCII
6661case `echo X|tr X '\101'` in
6662 A) # ASCII based system
6663    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6664  lt_SP2NL='tr \040 \012'
6665  lt_NL2SP='tr \015\012 \040\040'
6666  ;;
6667 *) # EBCDIC based system
6668  lt_SP2NL='tr \100 \n'
6669  lt_NL2SP='tr \r\n \100\100'
6670  ;;
6671esac
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6682$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6683if ${lt_cv_to_host_file_cmd+:} false; then :
6684  $as_echo_n "(cached) " >&6
6685else
6686  case $host in
6687  *-*-mingw* )
6688    case $build in
6689      *-*-mingw* ) # actually msys
6690        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6691        ;;
6692      *-*-cygwin* )
6693        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6694        ;;
6695      * ) # otherwise, assume *nix
6696        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6697        ;;
6698    esac
6699    ;;
6700  *-*-cygwin* )
6701    case $build in
6702      *-*-mingw* ) # actually msys
6703        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6704        ;;
6705      *-*-cygwin* )
6706        lt_cv_to_host_file_cmd=func_convert_file_noop
6707        ;;
6708      * ) # otherwise, assume *nix
6709        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6710        ;;
6711    esac
6712    ;;
6713  * ) # unhandled hosts (and "normal" native builds)
6714    lt_cv_to_host_file_cmd=func_convert_file_noop
6715    ;;
6716esac
6717
6718fi
6719
6720to_host_file_cmd=$lt_cv_to_host_file_cmd
6721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6722$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6723
6724
6725
6726
6727
6728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6729$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6730if ${lt_cv_to_tool_file_cmd+:} false; then :
6731  $as_echo_n "(cached) " >&6
6732else
6733  #assume ordinary cross tools, or native build.
6734lt_cv_to_tool_file_cmd=func_convert_file_noop
6735case $host in
6736  *-*-mingw* )
6737    case $build in
6738      *-*-mingw* ) # actually msys
6739        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6740        ;;
6741    esac
6742    ;;
6743esac
6744
6745fi
6746
6747to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6749$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6750
6751
6752
6753
6754
6755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6756$as_echo_n "checking for $LD option to reload object files... " >&6; }
6757if ${lt_cv_ld_reload_flag+:} false; then :
6758  $as_echo_n "(cached) " >&6
6759else
6760  lt_cv_ld_reload_flag='-r'
6761fi
6762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6763$as_echo "$lt_cv_ld_reload_flag" >&6; }
6764reload_flag=$lt_cv_ld_reload_flag
6765case $reload_flag in
6766"" | " "*) ;;
6767*) reload_flag=" $reload_flag" ;;
6768esac
6769reload_cmds='$LD$reload_flag -o $output$reload_objs'
6770case $host_os in
6771  cygwin* | mingw* | pw32* | cegcc*)
6772    if test yes != "$GCC"; then
6773      reload_cmds=false
6774    fi
6775    ;;
6776  darwin*)
6777    if test yes = "$GCC"; then
6778      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6779    else
6780      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6781    fi
6782    ;;
6783esac
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793if test -n "$ac_tool_prefix"; then
6794  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6795set dummy ${ac_tool_prefix}objdump; ac_word=$2
6796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797$as_echo_n "checking for $ac_word... " >&6; }
6798if ${ac_cv_prog_OBJDUMP+:} false; then :
6799  $as_echo_n "(cached) " >&6
6800else
6801  if test -n "$OBJDUMP"; then
6802  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6803else
6804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805for as_dir in $PATH
6806do
6807  IFS=$as_save_IFS
6808  test -z "$as_dir" && as_dir=.
6809    for ac_exec_ext in '' $ac_executable_extensions; do
6810  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6812    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813    break 2
6814  fi
6815done
6816  done
6817IFS=$as_save_IFS
6818
6819fi
6820fi
6821OBJDUMP=$ac_cv_prog_OBJDUMP
6822if test -n "$OBJDUMP"; then
6823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6824$as_echo "$OBJDUMP" >&6; }
6825else
6826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827$as_echo "no" >&6; }
6828fi
6829
6830
6831fi
6832if test -z "$ac_cv_prog_OBJDUMP"; then
6833  ac_ct_OBJDUMP=$OBJDUMP
6834  # Extract the first word of "objdump", so it can be a program name with args.
6835set dummy objdump; ac_word=$2
6836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837$as_echo_n "checking for $ac_word... " >&6; }
6838if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6839  $as_echo_n "(cached) " >&6
6840else
6841  if test -n "$ac_ct_OBJDUMP"; then
6842  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6843else
6844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845for as_dir in $PATH
6846do
6847  IFS=$as_save_IFS
6848  test -z "$as_dir" && as_dir=.
6849    for ac_exec_ext in '' $ac_executable_extensions; do
6850  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6851    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6852    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853    break 2
6854  fi
6855done
6856  done
6857IFS=$as_save_IFS
6858
6859fi
6860fi
6861ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6862if test -n "$ac_ct_OBJDUMP"; then
6863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6864$as_echo "$ac_ct_OBJDUMP" >&6; }
6865else
6866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867$as_echo "no" >&6; }
6868fi
6869
6870  if test "x$ac_ct_OBJDUMP" = x; then
6871    OBJDUMP="false"
6872  else
6873    case $cross_compiling:$ac_tool_warned in
6874yes:)
6875{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877ac_tool_warned=yes ;;
6878esac
6879    OBJDUMP=$ac_ct_OBJDUMP
6880  fi
6881else
6882  OBJDUMP="$ac_cv_prog_OBJDUMP"
6883fi
6884
6885test -z "$OBJDUMP" && OBJDUMP=objdump
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6896$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6897if ${lt_cv_deplibs_check_method+:} false; then :
6898  $as_echo_n "(cached) " >&6
6899else
6900  lt_cv_file_magic_cmd='$MAGIC_CMD'
6901lt_cv_file_magic_test_file=
6902lt_cv_deplibs_check_method='unknown'
6903# Need to set the preceding variable on all platforms that support
6904# interlibrary dependencies.
6905# 'none' -- dependencies not supported.
6906# 'unknown' -- same as none, but documents that we really don't know.
6907# 'pass_all' -- all dependencies passed with no checks.
6908# 'test_compile' -- check by making test program.
6909# 'file_magic [[regex]]' -- check by looking for files in library path
6910# that responds to the $file_magic_cmd with a given extended regex.
6911# If you have 'file' or equivalent on your system and you're not sure
6912# whether 'pass_all' will *always* work, you probably want this one.
6913
6914case $host_os in
6915aix[4-9]*)
6916  lt_cv_deplibs_check_method=pass_all
6917  ;;
6918
6919beos*)
6920  lt_cv_deplibs_check_method=pass_all
6921  ;;
6922
6923bsdi[45]*)
6924  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6925  lt_cv_file_magic_cmd='/usr/bin/file -L'
6926  lt_cv_file_magic_test_file=/shlib/libc.so
6927  ;;
6928
6929cygwin*)
6930  # func_win32_libid is a shell function defined in ltmain.sh
6931  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6932  lt_cv_file_magic_cmd='func_win32_libid'
6933  ;;
6934
6935mingw* | pw32*)
6936  # Base MSYS/MinGW do not provide the 'file' command needed by
6937  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6938  # unless we find 'file', for example because we are cross-compiling.
6939  if ( file / ) >/dev/null 2>&1; then
6940    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6941    lt_cv_file_magic_cmd='func_win32_libid'
6942  else
6943    # Keep this pattern in sync with the one in func_win32_libid.
6944    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6945    lt_cv_file_magic_cmd='$OBJDUMP -f'
6946  fi
6947  ;;
6948
6949cegcc*)
6950  # use the weaker test based on 'objdump'. See mingw*.
6951  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6952  lt_cv_file_magic_cmd='$OBJDUMP -f'
6953  ;;
6954
6955darwin* | rhapsody*)
6956  lt_cv_deplibs_check_method=pass_all
6957  ;;
6958
6959freebsd* | dragonfly*)
6960  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6961    case $host_cpu in
6962    i*86 )
6963      # Not sure whether the presence of OpenBSD here was a mistake.
6964      # Let's accept both of them until this is cleared up.
6965      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6966      lt_cv_file_magic_cmd=/usr/bin/file
6967      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6968      ;;
6969    esac
6970  else
6971    lt_cv_deplibs_check_method=pass_all
6972  fi
6973  ;;
6974
6975haiku*)
6976  lt_cv_deplibs_check_method=pass_all
6977  ;;
6978
6979hpux10.20* | hpux11*)
6980  lt_cv_file_magic_cmd=/usr/bin/file
6981  case $host_cpu in
6982  ia64*)
6983    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6984    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6985    ;;
6986  hppa*64*)
6987    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]'
6988    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6989    ;;
6990  *)
6991    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6992    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6993    ;;
6994  esac
6995  ;;
6996
6997interix[3-9]*)
6998  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6999  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7000  ;;
7001
7002irix5* | irix6* | nonstopux*)
7003  case $LD in
7004  *-32|*"-32 ") libmagic=32-bit;;
7005  *-n32|*"-n32 ") libmagic=N32;;
7006  *-64|*"-64 ") libmagic=64-bit;;
7007  *) libmagic=never-match;;
7008  esac
7009  lt_cv_deplibs_check_method=pass_all
7010  ;;
7011
7012# This must be glibc/ELF.
7013linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7014  lt_cv_deplibs_check_method=pass_all
7015  ;;
7016
7017netbsd*)
7018  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7019    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7020  else
7021    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7022  fi
7023  ;;
7024
7025newos6*)
7026  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7027  lt_cv_file_magic_cmd=/usr/bin/file
7028  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7029  ;;
7030
7031*nto* | *qnx*)
7032  lt_cv_deplibs_check_method=pass_all
7033  ;;
7034
7035openbsd* | bitrig*)
7036  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7037    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7038  else
7039    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7040  fi
7041  ;;
7042
7043osf3* | osf4* | osf5*)
7044  lt_cv_deplibs_check_method=pass_all
7045  ;;
7046
7047rdos*)
7048  lt_cv_deplibs_check_method=pass_all
7049  ;;
7050
7051solaris*)
7052  lt_cv_deplibs_check_method=pass_all
7053  ;;
7054
7055sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7056  lt_cv_deplibs_check_method=pass_all
7057  ;;
7058
7059sysv4 | sysv4.3*)
7060  case $host_vendor in
7061  motorola)
7062    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]'
7063    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7064    ;;
7065  ncr)
7066    lt_cv_deplibs_check_method=pass_all
7067    ;;
7068  sequent)
7069    lt_cv_file_magic_cmd='/bin/file'
7070    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7071    ;;
7072  sni)
7073    lt_cv_file_magic_cmd='/bin/file'
7074    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7075    lt_cv_file_magic_test_file=/lib/libc.so
7076    ;;
7077  siemens)
7078    lt_cv_deplibs_check_method=pass_all
7079    ;;
7080  pc)
7081    lt_cv_deplibs_check_method=pass_all
7082    ;;
7083  esac
7084  ;;
7085
7086tpf*)
7087  lt_cv_deplibs_check_method=pass_all
7088  ;;
7089os2*)
7090  lt_cv_deplibs_check_method=pass_all
7091  ;;
7092esac
7093
7094fi
7095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7096$as_echo "$lt_cv_deplibs_check_method" >&6; }
7097
7098file_magic_glob=
7099want_nocaseglob=no
7100if test "$build" = "$host"; then
7101  case $host_os in
7102  mingw* | pw32*)
7103    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7104      want_nocaseglob=yes
7105    else
7106      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7107    fi
7108    ;;
7109  esac
7110fi
7111
7112file_magic_cmd=$lt_cv_file_magic_cmd
7113deplibs_check_method=$lt_cv_deplibs_check_method
7114test -z "$deplibs_check_method" && deplibs_check_method=unknown
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137if test -n "$ac_tool_prefix"; then
7138  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7139set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141$as_echo_n "checking for $ac_word... " >&6; }
7142if ${ac_cv_prog_DLLTOOL+:} false; then :
7143  $as_echo_n "(cached) " >&6
7144else
7145  if test -n "$DLLTOOL"; then
7146  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7147else
7148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149for as_dir in $PATH
7150do
7151  IFS=$as_save_IFS
7152  test -z "$as_dir" && as_dir=.
7153    for ac_exec_ext in '' $ac_executable_extensions; do
7154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7155    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157    break 2
7158  fi
7159done
7160  done
7161IFS=$as_save_IFS
7162
7163fi
7164fi
7165DLLTOOL=$ac_cv_prog_DLLTOOL
7166if test -n "$DLLTOOL"; then
7167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7168$as_echo "$DLLTOOL" >&6; }
7169else
7170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171$as_echo "no" >&6; }
7172fi
7173
7174
7175fi
7176if test -z "$ac_cv_prog_DLLTOOL"; then
7177  ac_ct_DLLTOOL=$DLLTOOL
7178  # Extract the first word of "dlltool", so it can be a program name with args.
7179set dummy dlltool; ac_word=$2
7180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181$as_echo_n "checking for $ac_word... " >&6; }
7182if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7183  $as_echo_n "(cached) " >&6
7184else
7185  if test -n "$ac_ct_DLLTOOL"; then
7186  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7187else
7188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7189for as_dir in $PATH
7190do
7191  IFS=$as_save_IFS
7192  test -z "$as_dir" && as_dir=.
7193    for ac_exec_ext in '' $ac_executable_extensions; do
7194  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7195    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7196    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197    break 2
7198  fi
7199done
7200  done
7201IFS=$as_save_IFS
7202
7203fi
7204fi
7205ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7206if test -n "$ac_ct_DLLTOOL"; then
7207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7208$as_echo "$ac_ct_DLLTOOL" >&6; }
7209else
7210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211$as_echo "no" >&6; }
7212fi
7213
7214  if test "x$ac_ct_DLLTOOL" = x; then
7215    DLLTOOL="false"
7216  else
7217    case $cross_compiling:$ac_tool_warned in
7218yes:)
7219{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221ac_tool_warned=yes ;;
7222esac
7223    DLLTOOL=$ac_ct_DLLTOOL
7224  fi
7225else
7226  DLLTOOL="$ac_cv_prog_DLLTOOL"
7227fi
7228
7229test -z "$DLLTOOL" && DLLTOOL=dlltool
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7241$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7242if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7243  $as_echo_n "(cached) " >&6
7244else
7245  lt_cv_sharedlib_from_linklib_cmd='unknown'
7246
7247case $host_os in
7248cygwin* | mingw* | pw32* | cegcc*)
7249  # two different shell functions defined in ltmain.sh;
7250  # decide which one to use based on capabilities of $DLLTOOL
7251  case `$DLLTOOL --help 2>&1` in
7252  *--identify-strict*)
7253    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7254    ;;
7255  *)
7256    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7257    ;;
7258  esac
7259  ;;
7260*)
7261  # fallback: assume linklib IS sharedlib
7262  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7263  ;;
7264esac
7265
7266fi
7267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7268$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7269sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7270test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7271
7272
7273
7274
7275
7276
7277
7278if test -n "$ac_tool_prefix"; then
7279  for ac_prog in ar
7280  do
7281    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7282set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284$as_echo_n "checking for $ac_word... " >&6; }
7285if ${ac_cv_prog_AR+:} false; then :
7286  $as_echo_n "(cached) " >&6
7287else
7288  if test -n "$AR"; then
7289  ac_cv_prog_AR="$AR" # Let the user override the test.
7290else
7291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292for as_dir in $PATH
7293do
7294  IFS=$as_save_IFS
7295  test -z "$as_dir" && as_dir=.
7296    for ac_exec_ext in '' $ac_executable_extensions; do
7297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7298    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300    break 2
7301  fi
7302done
7303  done
7304IFS=$as_save_IFS
7305
7306fi
7307fi
7308AR=$ac_cv_prog_AR
7309if test -n "$AR"; then
7310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7311$as_echo "$AR" >&6; }
7312else
7313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314$as_echo "no" >&6; }
7315fi
7316
7317
7318    test -n "$AR" && break
7319  done
7320fi
7321if test -z "$AR"; then
7322  ac_ct_AR=$AR
7323  for ac_prog in ar
7324do
7325  # Extract the first word of "$ac_prog", so it can be a program name with args.
7326set dummy $ac_prog; ac_word=$2
7327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328$as_echo_n "checking for $ac_word... " >&6; }
7329if ${ac_cv_prog_ac_ct_AR+:} false; then :
7330  $as_echo_n "(cached) " >&6
7331else
7332  if test -n "$ac_ct_AR"; then
7333  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7334else
7335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336for as_dir in $PATH
7337do
7338  IFS=$as_save_IFS
7339  test -z "$as_dir" && as_dir=.
7340    for ac_exec_ext in '' $ac_executable_extensions; do
7341  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342    ac_cv_prog_ac_ct_AR="$ac_prog"
7343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344    break 2
7345  fi
7346done
7347  done
7348IFS=$as_save_IFS
7349
7350fi
7351fi
7352ac_ct_AR=$ac_cv_prog_ac_ct_AR
7353if test -n "$ac_ct_AR"; then
7354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7355$as_echo "$ac_ct_AR" >&6; }
7356else
7357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358$as_echo "no" >&6; }
7359fi
7360
7361
7362  test -n "$ac_ct_AR" && break
7363done
7364
7365  if test "x$ac_ct_AR" = x; then
7366    AR="false"
7367  else
7368    case $cross_compiling:$ac_tool_warned in
7369yes:)
7370{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7371$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7372ac_tool_warned=yes ;;
7373esac
7374    AR=$ac_ct_AR
7375  fi
7376fi
7377
7378: ${AR=ar}
7379
7380
7381
7382
7383
7384
7385# Use ARFLAGS variable as AR's operation code to sync the variable naming with
7386# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7387# higher priority because thats what people were doing historically (setting
7388# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
7389# variable obsoleted/removed.
7390
7391test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7392lt_ar_flags=$AR_FLAGS
7393
7394
7395
7396
7397
7398
7399# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
7400# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7401
7402
7403
7404
7405
7406
7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7408$as_echo_n "checking for archiver @FILE support... " >&6; }
7409if ${lt_cv_ar_at_file+:} false; then :
7410  $as_echo_n "(cached) " >&6
7411else
7412  lt_cv_ar_at_file=no
7413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414/* end confdefs.h.  */
7415
7416int
7417main ()
7418{
7419
7420  ;
7421  return 0;
7422}
7423_ACEOF
7424if ac_fn_c_try_compile "$LINENO"; then :
7425  echo conftest.$ac_objext > conftest.lst
7426      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7427      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7428  (eval $lt_ar_try) 2>&5
7429  ac_status=$?
7430  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7431  test $ac_status = 0; }
7432      if test 0 -eq "$ac_status"; then
7433	# Ensure the archiver fails upon bogus file names.
7434	rm -f conftest.$ac_objext libconftest.a
7435	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7436  (eval $lt_ar_try) 2>&5
7437  ac_status=$?
7438  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7439  test $ac_status = 0; }
7440	if test 0 -ne "$ac_status"; then
7441          lt_cv_ar_at_file=@
7442        fi
7443      fi
7444      rm -f conftest.* libconftest.a
7445
7446fi
7447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7448
7449fi
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7451$as_echo "$lt_cv_ar_at_file" >&6; }
7452
7453if test no = "$lt_cv_ar_at_file"; then
7454  archiver_list_spec=
7455else
7456  archiver_list_spec=$lt_cv_ar_at_file
7457fi
7458
7459
7460
7461
7462
7463
7464
7465if test -n "$ac_tool_prefix"; then
7466  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7467set dummy ${ac_tool_prefix}strip; ac_word=$2
7468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469$as_echo_n "checking for $ac_word... " >&6; }
7470if ${ac_cv_prog_STRIP+:} false; then :
7471  $as_echo_n "(cached) " >&6
7472else
7473  if test -n "$STRIP"; then
7474  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7475else
7476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477for as_dir in $PATH
7478do
7479  IFS=$as_save_IFS
7480  test -z "$as_dir" && as_dir=.
7481    for ac_exec_ext in '' $ac_executable_extensions; do
7482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485    break 2
7486  fi
7487done
7488  done
7489IFS=$as_save_IFS
7490
7491fi
7492fi
7493STRIP=$ac_cv_prog_STRIP
7494if test -n "$STRIP"; then
7495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7496$as_echo "$STRIP" >&6; }
7497else
7498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499$as_echo "no" >&6; }
7500fi
7501
7502
7503fi
7504if test -z "$ac_cv_prog_STRIP"; then
7505  ac_ct_STRIP=$STRIP
7506  # Extract the first word of "strip", so it can be a program name with args.
7507set dummy strip; ac_word=$2
7508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509$as_echo_n "checking for $ac_word... " >&6; }
7510if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7511  $as_echo_n "(cached) " >&6
7512else
7513  if test -n "$ac_ct_STRIP"; then
7514  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7515else
7516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7517for as_dir in $PATH
7518do
7519  IFS=$as_save_IFS
7520  test -z "$as_dir" && as_dir=.
7521    for ac_exec_ext in '' $ac_executable_extensions; do
7522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523    ac_cv_prog_ac_ct_STRIP="strip"
7524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525    break 2
7526  fi
7527done
7528  done
7529IFS=$as_save_IFS
7530
7531fi
7532fi
7533ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7534if test -n "$ac_ct_STRIP"; then
7535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7536$as_echo "$ac_ct_STRIP" >&6; }
7537else
7538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539$as_echo "no" >&6; }
7540fi
7541
7542  if test "x$ac_ct_STRIP" = x; then
7543    STRIP=":"
7544  else
7545    case $cross_compiling:$ac_tool_warned in
7546yes:)
7547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7549ac_tool_warned=yes ;;
7550esac
7551    STRIP=$ac_ct_STRIP
7552  fi
7553else
7554  STRIP="$ac_cv_prog_STRIP"
7555fi
7556
7557test -z "$STRIP" && STRIP=:
7558
7559
7560
7561
7562
7563
7564if test -n "$ac_tool_prefix"; then
7565  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7566set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568$as_echo_n "checking for $ac_word... " >&6; }
7569if ${ac_cv_prog_RANLIB+:} false; then :
7570  $as_echo_n "(cached) " >&6
7571else
7572  if test -n "$RANLIB"; then
7573  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7574else
7575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576for as_dir in $PATH
7577do
7578  IFS=$as_save_IFS
7579  test -z "$as_dir" && as_dir=.
7580    for ac_exec_ext in '' $ac_executable_extensions; do
7581  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7583    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584    break 2
7585  fi
7586done
7587  done
7588IFS=$as_save_IFS
7589
7590fi
7591fi
7592RANLIB=$ac_cv_prog_RANLIB
7593if test -n "$RANLIB"; then
7594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7595$as_echo "$RANLIB" >&6; }
7596else
7597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598$as_echo "no" >&6; }
7599fi
7600
7601
7602fi
7603if test -z "$ac_cv_prog_RANLIB"; then
7604  ac_ct_RANLIB=$RANLIB
7605  # Extract the first word of "ranlib", so it can be a program name with args.
7606set dummy ranlib; ac_word=$2
7607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608$as_echo_n "checking for $ac_word... " >&6; }
7609if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7610  $as_echo_n "(cached) " >&6
7611else
7612  if test -n "$ac_ct_RANLIB"; then
7613  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7614else
7615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616for as_dir in $PATH
7617do
7618  IFS=$as_save_IFS
7619  test -z "$as_dir" && as_dir=.
7620    for ac_exec_ext in '' $ac_executable_extensions; do
7621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622    ac_cv_prog_ac_ct_RANLIB="ranlib"
7623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624    break 2
7625  fi
7626done
7627  done
7628IFS=$as_save_IFS
7629
7630fi
7631fi
7632ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7633if test -n "$ac_ct_RANLIB"; then
7634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7635$as_echo "$ac_ct_RANLIB" >&6; }
7636else
7637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638$as_echo "no" >&6; }
7639fi
7640
7641  if test "x$ac_ct_RANLIB" = x; then
7642    RANLIB=":"
7643  else
7644    case $cross_compiling:$ac_tool_warned in
7645yes:)
7646{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648ac_tool_warned=yes ;;
7649esac
7650    RANLIB=$ac_ct_RANLIB
7651  fi
7652else
7653  RANLIB="$ac_cv_prog_RANLIB"
7654fi
7655
7656test -z "$RANLIB" && RANLIB=:
7657
7658
7659
7660
7661
7662
7663# Determine commands to create old-style static archives.
7664old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7665old_postinstall_cmds='chmod 644 $oldlib'
7666old_postuninstall_cmds=
7667
7668if test -n "$RANLIB"; then
7669  case $host_os in
7670  bitrig* | openbsd*)
7671    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7672    ;;
7673  *)
7674    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7675    ;;
7676  esac
7677  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7678fi
7679
7680case $host_os in
7681  darwin*)
7682    lock_old_archive_extraction=yes ;;
7683  *)
7684    lock_old_archive_extraction=no ;;
7685esac
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725# If no C compiler was specified, use CC.
7726LTCC=${LTCC-"$CC"}
7727
7728# If no C compiler flags were specified, use CFLAGS.
7729LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7730
7731# Allow CC to be a program name with arguments.
7732compiler=$CC
7733
7734
7735# Check for command to grab the raw symbol name followed by C symbol from nm.
7736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7737$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7738if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7739  $as_echo_n "(cached) " >&6
7740else
7741
7742# These are sane defaults that work on at least a few old systems.
7743# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7744
7745# Character class describing NM global symbol codes.
7746symcode='[BCDEGRST]'
7747
7748# Regexp to match symbols that can be accessed directly from C.
7749sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7750
7751# Define system-specific variables.
7752case $host_os in
7753aix*)
7754  symcode='[BCDT]'
7755  ;;
7756cygwin* | mingw* | pw32* | cegcc*)
7757  symcode='[ABCDGISTW]'
7758  ;;
7759hpux*)
7760  if test ia64 = "$host_cpu"; then
7761    symcode='[ABCDEGRST]'
7762  fi
7763  ;;
7764irix* | nonstopux*)
7765  symcode='[BCDEGRST]'
7766  ;;
7767osf*)
7768  symcode='[BCDEGQRST]'
7769  ;;
7770solaris*)
7771  symcode='[BDRT]'
7772  ;;
7773sco3.2v5*)
7774  symcode='[DT]'
7775  ;;
7776sysv4.2uw2*)
7777  symcode='[DT]'
7778  ;;
7779sysv5* | sco5v6* | unixware* | OpenUNIX*)
7780  symcode='[ABDT]'
7781  ;;
7782sysv4)
7783  symcode='[DFNSTU]'
7784  ;;
7785esac
7786
7787# If we're using GNU nm, then use its standard symbol codes.
7788case `$NM -V 2>&1` in
7789*GNU* | *'with BFD'*)
7790  symcode='[ABCDGIRSTW]' ;;
7791esac
7792
7793if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7794  # Gets list of data symbols to import.
7795  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7796  # Adjust the below global symbol transforms to fixup imported variables.
7797  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7798  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7799  lt_c_name_lib_hook="\
7800  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7801  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7802else
7803  # Disable hooks by default.
7804  lt_cv_sys_global_symbol_to_import=
7805  lt_cdecl_hook=
7806  lt_c_name_hook=
7807  lt_c_name_lib_hook=
7808fi
7809
7810# Transform an extracted symbol line into a proper C declaration.
7811# Some systems (esp. on ia64) link data and code symbols differently,
7812# so use this general approach.
7813lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7814$lt_cdecl_hook\
7815" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7816" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7817
7818# Transform an extracted symbol line into symbol name and symbol address
7819lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7820$lt_c_name_hook\
7821" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7822" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7823
7824# Transform an extracted symbol line into symbol name with lib prefix and
7825# symbol address.
7826lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7827$lt_c_name_lib_hook\
7828" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7829" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7830" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7831
7832# Handle CRLF in mingw tool chain
7833opt_cr=
7834case $build_os in
7835mingw*)
7836  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7837  ;;
7838esac
7839
7840# Try without a prefix underscore, then with it.
7841for ac_symprfx in "" "_"; do
7842
7843  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7844  symxfrm="\\1 $ac_symprfx\\2 \\2"
7845
7846  # Write the raw and C identifiers.
7847  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7848    # Fake it for dumpbin and say T for any non-static function,
7849    # D for any global variable and I for any imported variable.
7850    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
7851    # which start with @ or ?.
7852    lt_cv_sys_global_symbol_pipe="$AWK '"\
7853"     {last_section=section; section=\$ 3};"\
7854"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7855"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7856"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7857"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7858"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7859"     \$ 0!~/External *\|/{next};"\
7860"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7861"     {if(hide[section]) next};"\
7862"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7863"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7864"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7865"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7866"     ' prfx=^$ac_symprfx"
7867  else
7868    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7869  fi
7870  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7871
7872  # Check to see that the pipe works correctly.
7873  pipe_works=no
7874
7875  rm -f conftest*
7876  cat > conftest.$ac_ext <<_LT_EOF
7877#ifdef __cplusplus
7878extern "C" {
7879#endif
7880char nm_test_var;
7881void nm_test_func(void);
7882void nm_test_func(void){}
7883#ifdef __cplusplus
7884}
7885#endif
7886int main(){nm_test_var='a';nm_test_func();return(0);}
7887_LT_EOF
7888
7889  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7890  (eval $ac_compile) 2>&5
7891  ac_status=$?
7892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7893  test $ac_status = 0; }; then
7894    # Now try to grab the symbols.
7895    nlist=conftest.nm
7896    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7897  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7898  ac_status=$?
7899  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7900  test $ac_status = 0; } && test -s "$nlist"; then
7901      # Try sorting and uniquifying the output.
7902      if sort "$nlist" | uniq > "$nlist"T; then
7903	mv -f "$nlist"T "$nlist"
7904      else
7905	rm -f "$nlist"T
7906      fi
7907
7908      # Make sure that we snagged all the symbols we need.
7909      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7910	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7911	  cat <<_LT_EOF > conftest.$ac_ext
7912/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7913#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7914/* DATA imports from DLLs on WIN32 can't be const, because runtime
7915   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7916# define LT_DLSYM_CONST
7917#elif defined __osf__
7918/* This system does not cope well with relocations in const data.  */
7919# define LT_DLSYM_CONST
7920#else
7921# define LT_DLSYM_CONST const
7922#endif
7923
7924#ifdef __cplusplus
7925extern "C" {
7926#endif
7927
7928_LT_EOF
7929	  # Now generate the symbol file.
7930	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7931
7932	  cat <<_LT_EOF >> conftest.$ac_ext
7933
7934/* The mapping between symbol names and symbols.  */
7935LT_DLSYM_CONST struct {
7936  const char *name;
7937  void       *address;
7938}
7939lt__PROGRAM__LTX_preloaded_symbols[] =
7940{
7941  { "@PROGRAM@", (void *) 0 },
7942_LT_EOF
7943	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7944	  cat <<\_LT_EOF >> conftest.$ac_ext
7945  {0, (void *) 0}
7946};
7947
7948/* This works around a problem in FreeBSD linker */
7949#ifdef FREEBSD_WORKAROUND
7950static const void *lt_preloaded_setup() {
7951  return lt__PROGRAM__LTX_preloaded_symbols;
7952}
7953#endif
7954
7955#ifdef __cplusplus
7956}
7957#endif
7958_LT_EOF
7959	  # Now try linking the two files.
7960	  mv conftest.$ac_objext conftstm.$ac_objext
7961	  lt_globsym_save_LIBS=$LIBS
7962	  lt_globsym_save_CFLAGS=$CFLAGS
7963	  LIBS=conftstm.$ac_objext
7964	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7965	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7966  (eval $ac_link) 2>&5
7967  ac_status=$?
7968  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7969  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7970	    pipe_works=yes
7971	  fi
7972	  LIBS=$lt_globsym_save_LIBS
7973	  CFLAGS=$lt_globsym_save_CFLAGS
7974	else
7975	  echo "cannot find nm_test_func in $nlist" >&5
7976	fi
7977      else
7978	echo "cannot find nm_test_var in $nlist" >&5
7979      fi
7980    else
7981      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7982    fi
7983  else
7984    echo "$progname: failed program was:" >&5
7985    cat conftest.$ac_ext >&5
7986  fi
7987  rm -rf conftest* conftst*
7988
7989  # Do not use the global_symbol_pipe unless it works.
7990  if test yes = "$pipe_works"; then
7991    break
7992  else
7993    lt_cv_sys_global_symbol_pipe=
7994  fi
7995done
7996
7997fi
7998
7999if test -z "$lt_cv_sys_global_symbol_pipe"; then
8000  lt_cv_sys_global_symbol_to_cdecl=
8001fi
8002if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8004$as_echo "failed" >&6; }
8005else
8006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8007$as_echo "ok" >&6; }
8008fi
8009
8010# Response file support.
8011if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8012  nm_file_list_spec='@'
8013elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8014  nm_file_list_spec='@'
8015fi
8016
8017
8018
8019
8020
8021
8022
8023
8024
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
8053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8054$as_echo_n "checking for sysroot... " >&6; }
8055
8056# Check whether --with-sysroot was given.
8057if test "${with_sysroot+set}" = set; then :
8058  withval=$with_sysroot;
8059else
8060  with_sysroot=no
8061fi
8062
8063
8064lt_sysroot=
8065case $with_sysroot in #(
8066 yes)
8067   if test yes = "$GCC"; then
8068     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8069   fi
8070   ;; #(
8071 /*)
8072   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8073   ;; #(
8074 no|'')
8075   ;; #(
8076 *)
8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8078$as_echo "$with_sysroot" >&6; }
8079   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8080   ;;
8081esac
8082
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8084$as_echo "${lt_sysroot:-no}" >&6; }
8085
8086
8087
8088
8089
8090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8091$as_echo_n "checking for a working dd... " >&6; }
8092if ${ac_cv_path_lt_DD+:} false; then :
8093  $as_echo_n "(cached) " >&6
8094else
8095  printf 0123456789abcdef0123456789abcdef >conftest.i
8096cat conftest.i conftest.i >conftest2.i
8097: ${lt_DD:=$DD}
8098if test -z "$lt_DD"; then
8099  ac_path_lt_DD_found=false
8100  # Loop through the user's path and test for each of PROGNAME-LIST
8101  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102for as_dir in $PATH
8103do
8104  IFS=$as_save_IFS
8105  test -z "$as_dir" && as_dir=.
8106    for ac_prog in dd; do
8107    for ac_exec_ext in '' $ac_executable_extensions; do
8108      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8109      as_fn_executable_p "$ac_path_lt_DD" || continue
8110if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8111  cmp -s conftest.i conftest.out \
8112  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8113fi
8114      $ac_path_lt_DD_found && break 3
8115    done
8116  done
8117  done
8118IFS=$as_save_IFS
8119  if test -z "$ac_cv_path_lt_DD"; then
8120    :
8121  fi
8122else
8123  ac_cv_path_lt_DD=$lt_DD
8124fi
8125
8126rm -f conftest.i conftest2.i conftest.out
8127fi
8128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8129$as_echo "$ac_cv_path_lt_DD" >&6; }
8130
8131
8132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8133$as_echo_n "checking how to truncate binary pipes... " >&6; }
8134if ${lt_cv_truncate_bin+:} false; then :
8135  $as_echo_n "(cached) " >&6
8136else
8137  printf 0123456789abcdef0123456789abcdef >conftest.i
8138cat conftest.i conftest.i >conftest2.i
8139lt_cv_truncate_bin=
8140if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8141  cmp -s conftest.i conftest.out \
8142  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8143fi
8144rm -f conftest.i conftest2.i conftest.out
8145test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8146fi
8147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8148$as_echo "$lt_cv_truncate_bin" >&6; }
8149
8150
8151
8152
8153
8154
8155
8156# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8157func_cc_basename ()
8158{
8159    for cc_temp in $*""; do
8160      case $cc_temp in
8161        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8162        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8163        \-*) ;;
8164        *) break;;
8165      esac
8166    done
8167    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8168}
8169
8170# Check whether --enable-libtool-lock was given.
8171if test "${enable_libtool_lock+set}" = set; then :
8172  enableval=$enable_libtool_lock;
8173fi
8174
8175test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8176
8177# Some flags need to be propagated to the compiler or linker for good
8178# libtool support.
8179case $host in
8180ia64-*-hpux*)
8181  # Find out what ABI is being produced by ac_compile, and set mode
8182  # options accordingly.
8183  echo 'int i;' > conftest.$ac_ext
8184  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8185  (eval $ac_compile) 2>&5
8186  ac_status=$?
8187  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8188  test $ac_status = 0; }; then
8189    case `/usr/bin/file conftest.$ac_objext` in
8190      *ELF-32*)
8191	HPUX_IA64_MODE=32
8192	;;
8193      *ELF-64*)
8194	HPUX_IA64_MODE=64
8195	;;
8196    esac
8197  fi
8198  rm -rf conftest*
8199  ;;
8200*-*-irix6*)
8201  # Find out what ABI is being produced by ac_compile, and set linker
8202  # options accordingly.
8203  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8204  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8205  (eval $ac_compile) 2>&5
8206  ac_status=$?
8207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8208  test $ac_status = 0; }; then
8209    if test yes = "$lt_cv_prog_gnu_ld"; then
8210      case `/usr/bin/file conftest.$ac_objext` in
8211	*32-bit*)
8212	  LD="${LD-ld} -melf32bsmip"
8213	  ;;
8214	*N32*)
8215	  LD="${LD-ld} -melf32bmipn32"
8216	  ;;
8217	*64-bit*)
8218	  LD="${LD-ld} -melf64bmip"
8219	;;
8220      esac
8221    else
8222      case `/usr/bin/file conftest.$ac_objext` in
8223	*32-bit*)
8224	  LD="${LD-ld} -32"
8225	  ;;
8226	*N32*)
8227	  LD="${LD-ld} -n32"
8228	  ;;
8229	*64-bit*)
8230	  LD="${LD-ld} -64"
8231	  ;;
8232      esac
8233    fi
8234  fi
8235  rm -rf conftest*
8236  ;;
8237
8238mips64*-*linux*)
8239  # Find out what ABI is being produced by ac_compile, and set linker
8240  # options accordingly.
8241  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8242  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8243  (eval $ac_compile) 2>&5
8244  ac_status=$?
8245  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8246  test $ac_status = 0; }; then
8247    emul=elf
8248    case `/usr/bin/file conftest.$ac_objext` in
8249      *32-bit*)
8250	emul="${emul}32"
8251	;;
8252      *64-bit*)
8253	emul="${emul}64"
8254	;;
8255    esac
8256    case `/usr/bin/file conftest.$ac_objext` in
8257      *MSB*)
8258	emul="${emul}btsmip"
8259	;;
8260      *LSB*)
8261	emul="${emul}ltsmip"
8262	;;
8263    esac
8264    case `/usr/bin/file conftest.$ac_objext` in
8265      *N32*)
8266	emul="${emul}n32"
8267	;;
8268    esac
8269    LD="${LD-ld} -m $emul"
8270  fi
8271  rm -rf conftest*
8272  ;;
8273
8274x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8275s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8276  # Find out what ABI is being produced by ac_compile, and set linker
8277  # options accordingly.  Note that the listed cases only cover the
8278  # situations where additional linker options are needed (such as when
8279  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8280  # vice versa); the common cases where no linker options are needed do
8281  # not appear in the list.
8282  echo 'int i;' > conftest.$ac_ext
8283  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8284  (eval $ac_compile) 2>&5
8285  ac_status=$?
8286  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8287  test $ac_status = 0; }; then
8288    case `/usr/bin/file conftest.o` in
8289      *32-bit*)
8290	case $host in
8291	  x86_64-*kfreebsd*-gnu)
8292	    LD="${LD-ld} -m elf_i386_fbsd"
8293	    ;;
8294	  x86_64-*linux*)
8295	    case `/usr/bin/file conftest.o` in
8296	      *x86-64*)
8297		LD="${LD-ld} -m elf32_x86_64"
8298		;;
8299	      *)
8300		LD="${LD-ld} -m elf_i386"
8301		;;
8302	    esac
8303	    ;;
8304	  powerpc64le-*linux*)
8305	    LD="${LD-ld} -m elf32lppclinux"
8306	    ;;
8307	  powerpc64-*linux*)
8308	    LD="${LD-ld} -m elf32ppclinux"
8309	    ;;
8310	  s390x-*linux*)
8311	    LD="${LD-ld} -m elf_s390"
8312	    ;;
8313	  sparc64-*linux*)
8314	    LD="${LD-ld} -m elf32_sparc"
8315	    ;;
8316	esac
8317	;;
8318      *64-bit*)
8319	case $host in
8320	  x86_64-*kfreebsd*-gnu)
8321	    LD="${LD-ld} -m elf_x86_64_fbsd"
8322	    ;;
8323	  x86_64-*linux*)
8324	    LD="${LD-ld} -m elf_x86_64"
8325	    ;;
8326	  powerpcle-*linux*)
8327	    LD="${LD-ld} -m elf64lppc"
8328	    ;;
8329	  powerpc-*linux*)
8330	    LD="${LD-ld} -m elf64ppc"
8331	    ;;
8332	  s390*-*linux*|s390*-*tpf*)
8333	    LD="${LD-ld} -m elf64_s390"
8334	    ;;
8335	  sparc*-*linux*)
8336	    LD="${LD-ld} -m elf64_sparc"
8337	    ;;
8338	esac
8339	;;
8340    esac
8341  fi
8342  rm -rf conftest*
8343  ;;
8344
8345*-*-sco3.2v5*)
8346  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8347  SAVE_CFLAGS=$CFLAGS
8348  CFLAGS="$CFLAGS -belf"
8349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8350$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8351if ${lt_cv_cc_needs_belf+:} false; then :
8352  $as_echo_n "(cached) " >&6
8353else
8354  ac_ext=c
8355ac_cpp='$CPP $CPPFLAGS'
8356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8358ac_compiler_gnu=$ac_cv_c_compiler_gnu
8359
8360     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361/* end confdefs.h.  */
8362
8363int
8364main ()
8365{
8366
8367  ;
8368  return 0;
8369}
8370_ACEOF
8371if ac_fn_c_try_link "$LINENO"; then :
8372  lt_cv_cc_needs_belf=yes
8373else
8374  lt_cv_cc_needs_belf=no
8375fi
8376rm -f core conftest.err conftest.$ac_objext \
8377    conftest$ac_exeext conftest.$ac_ext
8378     ac_ext=c
8379ac_cpp='$CPP $CPPFLAGS'
8380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8382ac_compiler_gnu=$ac_cv_c_compiler_gnu
8383
8384fi
8385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8386$as_echo "$lt_cv_cc_needs_belf" >&6; }
8387  if test yes != "$lt_cv_cc_needs_belf"; then
8388    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8389    CFLAGS=$SAVE_CFLAGS
8390  fi
8391  ;;
8392*-*solaris*)
8393  # Find out what ABI is being produced by ac_compile, and set linker
8394  # options accordingly.
8395  echo 'int i;' > conftest.$ac_ext
8396  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8397  (eval $ac_compile) 2>&5
8398  ac_status=$?
8399  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8400  test $ac_status = 0; }; then
8401    case `/usr/bin/file conftest.o` in
8402    *64-bit*)
8403      case $lt_cv_prog_gnu_ld in
8404      yes*)
8405        case $host in
8406        i?86-*-solaris*|x86_64-*-solaris*)
8407          LD="${LD-ld} -m elf_x86_64"
8408          ;;
8409        sparc*-*-solaris*)
8410          LD="${LD-ld} -m elf64_sparc"
8411          ;;
8412        esac
8413        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8414        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8415          LD=${LD-ld}_sol2
8416        fi
8417        ;;
8418      *)
8419	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8420	  LD="${LD-ld} -64"
8421	fi
8422	;;
8423      esac
8424      ;;
8425    esac
8426  fi
8427  rm -rf conftest*
8428  ;;
8429esac
8430
8431need_locks=$enable_libtool_lock
8432
8433if test -n "$ac_tool_prefix"; then
8434  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8435set dummy ${ac_tool_prefix}mt; ac_word=$2
8436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8437$as_echo_n "checking for $ac_word... " >&6; }
8438if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8439  $as_echo_n "(cached) " >&6
8440else
8441  if test -n "$MANIFEST_TOOL"; then
8442  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8443else
8444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445for as_dir in $PATH
8446do
8447  IFS=$as_save_IFS
8448  test -z "$as_dir" && as_dir=.
8449    for ac_exec_ext in '' $ac_executable_extensions; do
8450  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8451    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8452    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453    break 2
8454  fi
8455done
8456  done
8457IFS=$as_save_IFS
8458
8459fi
8460fi
8461MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8462if test -n "$MANIFEST_TOOL"; then
8463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8464$as_echo "$MANIFEST_TOOL" >&6; }
8465else
8466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8467$as_echo "no" >&6; }
8468fi
8469
8470
8471fi
8472if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8473  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8474  # Extract the first word of "mt", so it can be a program name with args.
8475set dummy mt; ac_word=$2
8476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8477$as_echo_n "checking for $ac_word... " >&6; }
8478if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8479  $as_echo_n "(cached) " >&6
8480else
8481  if test -n "$ac_ct_MANIFEST_TOOL"; then
8482  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8483else
8484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8485for as_dir in $PATH
8486do
8487  IFS=$as_save_IFS
8488  test -z "$as_dir" && as_dir=.
8489    for ac_exec_ext in '' $ac_executable_extensions; do
8490  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8491    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493    break 2
8494  fi
8495done
8496  done
8497IFS=$as_save_IFS
8498
8499fi
8500fi
8501ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8502if test -n "$ac_ct_MANIFEST_TOOL"; then
8503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8504$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8505else
8506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507$as_echo "no" >&6; }
8508fi
8509
8510  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8511    MANIFEST_TOOL=":"
8512  else
8513    case $cross_compiling:$ac_tool_warned in
8514yes:)
8515{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8516$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8517ac_tool_warned=yes ;;
8518esac
8519    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8520  fi
8521else
8522  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8523fi
8524
8525test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8527$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8528if ${lt_cv_path_mainfest_tool+:} false; then :
8529  $as_echo_n "(cached) " >&6
8530else
8531  lt_cv_path_mainfest_tool=no
8532  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8533  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8534  cat conftest.err >&5
8535  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8536    lt_cv_path_mainfest_tool=yes
8537  fi
8538  rm -f conftest*
8539fi
8540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8541$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8542if test yes != "$lt_cv_path_mainfest_tool"; then
8543  MANIFEST_TOOL=:
8544fi
8545
8546
8547
8548
8549
8550
8551  case $host_os in
8552    rhapsody* | darwin*)
8553    if test -n "$ac_tool_prefix"; then
8554  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8555set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8557$as_echo_n "checking for $ac_word... " >&6; }
8558if ${ac_cv_prog_DSYMUTIL+:} false; then :
8559  $as_echo_n "(cached) " >&6
8560else
8561  if test -n "$DSYMUTIL"; then
8562  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8563else
8564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8565for as_dir in $PATH
8566do
8567  IFS=$as_save_IFS
8568  test -z "$as_dir" && as_dir=.
8569    for ac_exec_ext in '' $ac_executable_extensions; do
8570  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8571    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8573    break 2
8574  fi
8575done
8576  done
8577IFS=$as_save_IFS
8578
8579fi
8580fi
8581DSYMUTIL=$ac_cv_prog_DSYMUTIL
8582if test -n "$DSYMUTIL"; then
8583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8584$as_echo "$DSYMUTIL" >&6; }
8585else
8586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8587$as_echo "no" >&6; }
8588fi
8589
8590
8591fi
8592if test -z "$ac_cv_prog_DSYMUTIL"; then
8593  ac_ct_DSYMUTIL=$DSYMUTIL
8594  # Extract the first word of "dsymutil", so it can be a program name with args.
8595set dummy dsymutil; ac_word=$2
8596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8597$as_echo_n "checking for $ac_word... " >&6; }
8598if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8599  $as_echo_n "(cached) " >&6
8600else
8601  if test -n "$ac_ct_DSYMUTIL"; then
8602  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8603else
8604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8605for as_dir in $PATH
8606do
8607  IFS=$as_save_IFS
8608  test -z "$as_dir" && as_dir=.
8609    for ac_exec_ext in '' $ac_executable_extensions; do
8610  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8611    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8612    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8613    break 2
8614  fi
8615done
8616  done
8617IFS=$as_save_IFS
8618
8619fi
8620fi
8621ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8622if test -n "$ac_ct_DSYMUTIL"; then
8623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8624$as_echo "$ac_ct_DSYMUTIL" >&6; }
8625else
8626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8627$as_echo "no" >&6; }
8628fi
8629
8630  if test "x$ac_ct_DSYMUTIL" = x; then
8631    DSYMUTIL=":"
8632  else
8633    case $cross_compiling:$ac_tool_warned in
8634yes:)
8635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8637ac_tool_warned=yes ;;
8638esac
8639    DSYMUTIL=$ac_ct_DSYMUTIL
8640  fi
8641else
8642  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8643fi
8644
8645    if test -n "$ac_tool_prefix"; then
8646  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8647set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8649$as_echo_n "checking for $ac_word... " >&6; }
8650if ${ac_cv_prog_NMEDIT+:} false; then :
8651  $as_echo_n "(cached) " >&6
8652else
8653  if test -n "$NMEDIT"; then
8654  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8655else
8656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8657for as_dir in $PATH
8658do
8659  IFS=$as_save_IFS
8660  test -z "$as_dir" && as_dir=.
8661    for ac_exec_ext in '' $ac_executable_extensions; do
8662  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8663    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8665    break 2
8666  fi
8667done
8668  done
8669IFS=$as_save_IFS
8670
8671fi
8672fi
8673NMEDIT=$ac_cv_prog_NMEDIT
8674if test -n "$NMEDIT"; then
8675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8676$as_echo "$NMEDIT" >&6; }
8677else
8678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8679$as_echo "no" >&6; }
8680fi
8681
8682
8683fi
8684if test -z "$ac_cv_prog_NMEDIT"; then
8685  ac_ct_NMEDIT=$NMEDIT
8686  # Extract the first word of "nmedit", so it can be a program name with args.
8687set dummy nmedit; ac_word=$2
8688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8689$as_echo_n "checking for $ac_word... " >&6; }
8690if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8691  $as_echo_n "(cached) " >&6
8692else
8693  if test -n "$ac_ct_NMEDIT"; then
8694  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8695else
8696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697for as_dir in $PATH
8698do
8699  IFS=$as_save_IFS
8700  test -z "$as_dir" && as_dir=.
8701    for ac_exec_ext in '' $ac_executable_extensions; do
8702  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8703    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8705    break 2
8706  fi
8707done
8708  done
8709IFS=$as_save_IFS
8710
8711fi
8712fi
8713ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8714if test -n "$ac_ct_NMEDIT"; then
8715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8716$as_echo "$ac_ct_NMEDIT" >&6; }
8717else
8718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719$as_echo "no" >&6; }
8720fi
8721
8722  if test "x$ac_ct_NMEDIT" = x; then
8723    NMEDIT=":"
8724  else
8725    case $cross_compiling:$ac_tool_warned in
8726yes:)
8727{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8728$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8729ac_tool_warned=yes ;;
8730esac
8731    NMEDIT=$ac_ct_NMEDIT
8732  fi
8733else
8734  NMEDIT="$ac_cv_prog_NMEDIT"
8735fi
8736
8737    if test -n "$ac_tool_prefix"; then
8738  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8739set dummy ${ac_tool_prefix}lipo; ac_word=$2
8740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8741$as_echo_n "checking for $ac_word... " >&6; }
8742if ${ac_cv_prog_LIPO+:} false; then :
8743  $as_echo_n "(cached) " >&6
8744else
8745  if test -n "$LIPO"; then
8746  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8747else
8748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749for as_dir in $PATH
8750do
8751  IFS=$as_save_IFS
8752  test -z "$as_dir" && as_dir=.
8753    for ac_exec_ext in '' $ac_executable_extensions; do
8754  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8755    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8757    break 2
8758  fi
8759done
8760  done
8761IFS=$as_save_IFS
8762
8763fi
8764fi
8765LIPO=$ac_cv_prog_LIPO
8766if test -n "$LIPO"; then
8767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8768$as_echo "$LIPO" >&6; }
8769else
8770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8771$as_echo "no" >&6; }
8772fi
8773
8774
8775fi
8776if test -z "$ac_cv_prog_LIPO"; then
8777  ac_ct_LIPO=$LIPO
8778  # Extract the first word of "lipo", so it can be a program name with args.
8779set dummy lipo; ac_word=$2
8780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8781$as_echo_n "checking for $ac_word... " >&6; }
8782if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8783  $as_echo_n "(cached) " >&6
8784else
8785  if test -n "$ac_ct_LIPO"; then
8786  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8787else
8788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8789for as_dir in $PATH
8790do
8791  IFS=$as_save_IFS
8792  test -z "$as_dir" && as_dir=.
8793    for ac_exec_ext in '' $ac_executable_extensions; do
8794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8795    ac_cv_prog_ac_ct_LIPO="lipo"
8796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8797    break 2
8798  fi
8799done
8800  done
8801IFS=$as_save_IFS
8802
8803fi
8804fi
8805ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8806if test -n "$ac_ct_LIPO"; then
8807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8808$as_echo "$ac_ct_LIPO" >&6; }
8809else
8810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811$as_echo "no" >&6; }
8812fi
8813
8814  if test "x$ac_ct_LIPO" = x; then
8815    LIPO=":"
8816  else
8817    case $cross_compiling:$ac_tool_warned in
8818yes:)
8819{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8820$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8821ac_tool_warned=yes ;;
8822esac
8823    LIPO=$ac_ct_LIPO
8824  fi
8825else
8826  LIPO="$ac_cv_prog_LIPO"
8827fi
8828
8829    if test -n "$ac_tool_prefix"; then
8830  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8831set dummy ${ac_tool_prefix}otool; ac_word=$2
8832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8833$as_echo_n "checking for $ac_word... " >&6; }
8834if ${ac_cv_prog_OTOOL+:} false; then :
8835  $as_echo_n "(cached) " >&6
8836else
8837  if test -n "$OTOOL"; then
8838  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8839else
8840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8841for as_dir in $PATH
8842do
8843  IFS=$as_save_IFS
8844  test -z "$as_dir" && as_dir=.
8845    for ac_exec_ext in '' $ac_executable_extensions; do
8846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8847    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8849    break 2
8850  fi
8851done
8852  done
8853IFS=$as_save_IFS
8854
8855fi
8856fi
8857OTOOL=$ac_cv_prog_OTOOL
8858if test -n "$OTOOL"; then
8859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8860$as_echo "$OTOOL" >&6; }
8861else
8862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8863$as_echo "no" >&6; }
8864fi
8865
8866
8867fi
8868if test -z "$ac_cv_prog_OTOOL"; then
8869  ac_ct_OTOOL=$OTOOL
8870  # Extract the first word of "otool", so it can be a program name with args.
8871set dummy otool; ac_word=$2
8872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8873$as_echo_n "checking for $ac_word... " >&6; }
8874if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8875  $as_echo_n "(cached) " >&6
8876else
8877  if test -n "$ac_ct_OTOOL"; then
8878  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8879else
8880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881for as_dir in $PATH
8882do
8883  IFS=$as_save_IFS
8884  test -z "$as_dir" && as_dir=.
8885    for ac_exec_ext in '' $ac_executable_extensions; do
8886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8887    ac_cv_prog_ac_ct_OTOOL="otool"
8888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8889    break 2
8890  fi
8891done
8892  done
8893IFS=$as_save_IFS
8894
8895fi
8896fi
8897ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8898if test -n "$ac_ct_OTOOL"; then
8899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8900$as_echo "$ac_ct_OTOOL" >&6; }
8901else
8902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8903$as_echo "no" >&6; }
8904fi
8905
8906  if test "x$ac_ct_OTOOL" = x; then
8907    OTOOL=":"
8908  else
8909    case $cross_compiling:$ac_tool_warned in
8910yes:)
8911{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8912$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8913ac_tool_warned=yes ;;
8914esac
8915    OTOOL=$ac_ct_OTOOL
8916  fi
8917else
8918  OTOOL="$ac_cv_prog_OTOOL"
8919fi
8920
8921    if test -n "$ac_tool_prefix"; then
8922  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8923set dummy ${ac_tool_prefix}otool64; ac_word=$2
8924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8925$as_echo_n "checking for $ac_word... " >&6; }
8926if ${ac_cv_prog_OTOOL64+:} false; then :
8927  $as_echo_n "(cached) " >&6
8928else
8929  if test -n "$OTOOL64"; then
8930  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8931else
8932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933for as_dir in $PATH
8934do
8935  IFS=$as_save_IFS
8936  test -z "$as_dir" && as_dir=.
8937    for ac_exec_ext in '' $ac_executable_extensions; do
8938  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8939    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8941    break 2
8942  fi
8943done
8944  done
8945IFS=$as_save_IFS
8946
8947fi
8948fi
8949OTOOL64=$ac_cv_prog_OTOOL64
8950if test -n "$OTOOL64"; then
8951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8952$as_echo "$OTOOL64" >&6; }
8953else
8954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955$as_echo "no" >&6; }
8956fi
8957
8958
8959fi
8960if test -z "$ac_cv_prog_OTOOL64"; then
8961  ac_ct_OTOOL64=$OTOOL64
8962  # Extract the first word of "otool64", so it can be a program name with args.
8963set dummy otool64; ac_word=$2
8964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8965$as_echo_n "checking for $ac_word... " >&6; }
8966if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8967  $as_echo_n "(cached) " >&6
8968else
8969  if test -n "$ac_ct_OTOOL64"; then
8970  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8971else
8972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8973for as_dir in $PATH
8974do
8975  IFS=$as_save_IFS
8976  test -z "$as_dir" && as_dir=.
8977    for ac_exec_ext in '' $ac_executable_extensions; do
8978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8979    ac_cv_prog_ac_ct_OTOOL64="otool64"
8980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8981    break 2
8982  fi
8983done
8984  done
8985IFS=$as_save_IFS
8986
8987fi
8988fi
8989ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8990if test -n "$ac_ct_OTOOL64"; then
8991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8992$as_echo "$ac_ct_OTOOL64" >&6; }
8993else
8994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8995$as_echo "no" >&6; }
8996fi
8997
8998  if test "x$ac_ct_OTOOL64" = x; then
8999    OTOOL64=":"
9000  else
9001    case $cross_compiling:$ac_tool_warned in
9002yes:)
9003{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9004$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9005ac_tool_warned=yes ;;
9006esac
9007    OTOOL64=$ac_ct_OTOOL64
9008  fi
9009else
9010  OTOOL64="$ac_cv_prog_OTOOL64"
9011fi
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9040$as_echo_n "checking for -single_module linker flag... " >&6; }
9041if ${lt_cv_apple_cc_single_mod+:} false; then :
9042  $as_echo_n "(cached) " >&6
9043else
9044  lt_cv_apple_cc_single_mod=no
9045      if test -z "$LT_MULTI_MODULE"; then
9046	# By default we will add the -single_module flag. You can override
9047	# by either setting the environment variable LT_MULTI_MODULE
9048	# non-empty at configure time, or by adding -multi_module to the
9049	# link flags.
9050	rm -rf libconftest.dylib*
9051	echo "int foo(void){return 1;}" > conftest.c
9052	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9053-dynamiclib -Wl,-single_module conftest.c" >&5
9054	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9055	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9056        _lt_result=$?
9057	# If there is a non-empty error log, and "single_module"
9058	# appears in it, assume the flag caused a linker warning
9059        if test -s conftest.err && $GREP single_module conftest.err; then
9060	  cat conftest.err >&5
9061	# Otherwise, if the output was created with a 0 exit code from
9062	# the compiler, it worked.
9063	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9064	  lt_cv_apple_cc_single_mod=yes
9065	else
9066	  cat conftest.err >&5
9067	fi
9068	rm -rf libconftest.dylib*
9069	rm -f conftest.*
9070      fi
9071fi
9072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9073$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9074
9075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9076$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9077if ${lt_cv_ld_exported_symbols_list+:} false; then :
9078  $as_echo_n "(cached) " >&6
9079else
9080  lt_cv_ld_exported_symbols_list=no
9081      save_LDFLAGS=$LDFLAGS
9082      echo "_main" > conftest.sym
9083      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9084      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085/* end confdefs.h.  */
9086
9087int
9088main ()
9089{
9090
9091  ;
9092  return 0;
9093}
9094_ACEOF
9095if ac_fn_c_try_link "$LINENO"; then :
9096  lt_cv_ld_exported_symbols_list=yes
9097else
9098  lt_cv_ld_exported_symbols_list=no
9099fi
9100rm -f core conftest.err conftest.$ac_objext \
9101    conftest$ac_exeext conftest.$ac_ext
9102	LDFLAGS=$save_LDFLAGS
9103
9104fi
9105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9106$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9107
9108    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9109$as_echo_n "checking for -force_load linker flag... " >&6; }
9110if ${lt_cv_ld_force_load+:} false; then :
9111  $as_echo_n "(cached) " >&6
9112else
9113  lt_cv_ld_force_load=no
9114      cat > conftest.c << _LT_EOF
9115int forced_loaded() { return 2;}
9116_LT_EOF
9117      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9118      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9119      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9120      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
9121      echo "$RANLIB libconftest.a" >&5
9122      $RANLIB libconftest.a 2>&5
9123      cat > conftest.c << _LT_EOF
9124int main() { return 0;}
9125_LT_EOF
9126      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9127      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9128      _lt_result=$?
9129      if test -s conftest.err && $GREP force_load conftest.err; then
9130	cat conftest.err >&5
9131      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9132	lt_cv_ld_force_load=yes
9133      else
9134	cat conftest.err >&5
9135      fi
9136        rm -f conftest.err libconftest.a conftest conftest.c
9137        rm -rf conftest.dSYM
9138
9139fi
9140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9141$as_echo "$lt_cv_ld_force_load" >&6; }
9142    case $host_os in
9143    rhapsody* | darwin1.[012])
9144      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9145    darwin1.*)
9146      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9147    darwin*) # darwin 5.x on
9148      # if running on 10.5 or later, the deployment target defaults
9149      # to the OS version, if on x86, and 10.4, the deployment
9150      # target defaults to 10.4. Don't you love it?
9151      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9152	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9153	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9154	10.[012][,.]*)
9155	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9156	10.*)
9157	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9158      esac
9159    ;;
9160  esac
9161    if test yes = "$lt_cv_apple_cc_single_mod"; then
9162      _lt_dar_single_mod='$single_module'
9163    fi
9164    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9165      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9166    else
9167      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9168    fi
9169    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9170      _lt_dsymutil='~$DSYMUTIL $lib || :'
9171    else
9172      _lt_dsymutil=
9173    fi
9174    ;;
9175  esac
9176
9177# func_munge_path_list VARIABLE PATH
9178# -----------------------------------
9179# VARIABLE is name of variable containing _space_ separated list of
9180# directories to be munged by the contents of PATH, which is string
9181# having a format:
9182# "DIR[:DIR]:"
9183#       string "DIR[ DIR]" will be prepended to VARIABLE
9184# ":DIR[:DIR]"
9185#       string "DIR[ DIR]" will be appended to VARIABLE
9186# "DIRP[:DIRP]::[DIRA:]DIRA"
9187#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9188#       "DIRA[ DIRA]" will be appended to VARIABLE
9189# "DIR[:DIR]"
9190#       VARIABLE will be replaced by "DIR[ DIR]"
9191func_munge_path_list ()
9192{
9193    case x$2 in
9194    x)
9195        ;;
9196    *:)
9197        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9198        ;;
9199    x:*)
9200        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9201        ;;
9202    *::*)
9203        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9204        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9205        ;;
9206    *)
9207        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9208        ;;
9209    esac
9210}
9211
9212for ac_header in dlfcn.h
9213do :
9214  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9215"
9216if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9217  cat >>confdefs.h <<_ACEOF
9218#define HAVE_DLFCN_H 1
9219_ACEOF
9220
9221fi
9222
9223done
9224
9225
9226
9227
9228
9229# Set options
9230# Check whether --enable-static was given.
9231if test "${enable_static+set}" = set; then :
9232  enableval=$enable_static; p=${PACKAGE-default}
9233    case $enableval in
9234    yes) enable_static=yes ;;
9235    no) enable_static=no ;;
9236    *)
9237     enable_static=no
9238      # Look at the argument we got.  We use all the common list separators.
9239      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9240      for pkg in $enableval; do
9241	IFS=$lt_save_ifs
9242	if test "X$pkg" = "X$p"; then
9243	  enable_static=yes
9244	fi
9245      done
9246      IFS=$lt_save_ifs
9247      ;;
9248    esac
9249else
9250  enable_static=no
9251fi
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262        enable_dlopen=no
9263
9264
9265  enable_win32_dll=no
9266
9267
9268            # Check whether --enable-shared was given.
9269if test "${enable_shared+set}" = set; then :
9270  enableval=$enable_shared; p=${PACKAGE-default}
9271    case $enableval in
9272    yes) enable_shared=yes ;;
9273    no) enable_shared=no ;;
9274    *)
9275      enable_shared=no
9276      # Look at the argument we got.  We use all the common list separators.
9277      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9278      for pkg in $enableval; do
9279	IFS=$lt_save_ifs
9280	if test "X$pkg" = "X$p"; then
9281	  enable_shared=yes
9282	fi
9283      done
9284      IFS=$lt_save_ifs
9285      ;;
9286    esac
9287else
9288  enable_shared=yes
9289fi
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301# Check whether --with-pic was given.
9302if test "${with_pic+set}" = set; then :
9303  withval=$with_pic; lt_p=${PACKAGE-default}
9304    case $withval in
9305    yes|no) pic_mode=$withval ;;
9306    *)
9307      pic_mode=default
9308      # Look at the argument we got.  We use all the common list separators.
9309      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9310      for lt_pkg in $withval; do
9311	IFS=$lt_save_ifs
9312	if test "X$lt_pkg" = "X$lt_p"; then
9313	  pic_mode=yes
9314	fi
9315      done
9316      IFS=$lt_save_ifs
9317      ;;
9318    esac
9319else
9320  pic_mode=default
9321fi
9322
9323
9324
9325
9326
9327
9328
9329
9330  # Check whether --enable-fast-install was given.
9331if test "${enable_fast_install+set}" = set; then :
9332  enableval=$enable_fast_install; p=${PACKAGE-default}
9333    case $enableval in
9334    yes) enable_fast_install=yes ;;
9335    no) enable_fast_install=no ;;
9336    *)
9337      enable_fast_install=no
9338      # Look at the argument we got.  We use all the common list separators.
9339      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9340      for pkg in $enableval; do
9341	IFS=$lt_save_ifs
9342	if test "X$pkg" = "X$p"; then
9343	  enable_fast_install=yes
9344	fi
9345      done
9346      IFS=$lt_save_ifs
9347      ;;
9348    esac
9349else
9350  enable_fast_install=yes
9351fi
9352
9353
9354
9355
9356
9357
9358
9359
9360  shared_archive_member_spec=
9361case $host,$enable_shared in
9362power*-*-aix[5-9]*,yes)
9363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9364$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9365
9366# Check whether --with-aix-soname was given.
9367if test "${with_aix_soname+set}" = set; then :
9368  withval=$with_aix_soname; case $withval in
9369    aix|svr4|both)
9370      ;;
9371    *)
9372      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9373      ;;
9374    esac
9375    lt_cv_with_aix_soname=$with_aix_soname
9376else
9377  if ${lt_cv_with_aix_soname+:} false; then :
9378  $as_echo_n "(cached) " >&6
9379else
9380  lt_cv_with_aix_soname=aix
9381fi
9382
9383    with_aix_soname=$lt_cv_with_aix_soname
9384fi
9385
9386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9387$as_echo "$with_aix_soname" >&6; }
9388  if test aix != "$with_aix_soname"; then
9389    # For the AIX way of multilib, we name the shared archive member
9390    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9391    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9392    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9393    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9394    if test 64 = "${OBJECT_MODE-32}"; then
9395      shared_archive_member_spec=shr_64
9396    else
9397      shared_archive_member_spec=shr
9398    fi
9399  fi
9400  ;;
9401*)
9402  with_aix_soname=aix
9403  ;;
9404esac
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415# This can be used to rebuild libtool when needed
9416LIBTOOL_DEPS=$ltmain
9417
9418# Always use our own libtool.
9419LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450test -z "$LN_S" && LN_S="ln -s"
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465if test -n "${ZSH_VERSION+set}"; then
9466   setopt NO_GLOB_SUBST
9467fi
9468
9469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9470$as_echo_n "checking for objdir... " >&6; }
9471if ${lt_cv_objdir+:} false; then :
9472  $as_echo_n "(cached) " >&6
9473else
9474  rm -f .libs 2>/dev/null
9475mkdir .libs 2>/dev/null
9476if test -d .libs; then
9477  lt_cv_objdir=.libs
9478else
9479  # MS-DOS does not allow filenames that begin with a dot.
9480  lt_cv_objdir=_libs
9481fi
9482rmdir .libs 2>/dev/null
9483fi
9484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9485$as_echo "$lt_cv_objdir" >&6; }
9486objdir=$lt_cv_objdir
9487
9488
9489
9490
9491
9492cat >>confdefs.h <<_ACEOF
9493#define LT_OBJDIR "$lt_cv_objdir/"
9494_ACEOF
9495
9496
9497
9498
9499case $host_os in
9500aix3*)
9501  # AIX sometimes has problems with the GCC collect2 program.  For some
9502  # reason, if we set the COLLECT_NAMES environment variable, the problems
9503  # vanish in a puff of smoke.
9504  if test set != "${COLLECT_NAMES+set}"; then
9505    COLLECT_NAMES=
9506    export COLLECT_NAMES
9507  fi
9508  ;;
9509esac
9510
9511# Global variables:
9512ofile=libtool
9513can_build_shared=yes
9514
9515# All known linkers require a '.a' archive for static linking (except MSVC and
9516# ICC, which need '.lib').
9517libext=a
9518
9519with_gnu_ld=$lt_cv_prog_gnu_ld
9520
9521old_CC=$CC
9522old_CFLAGS=$CFLAGS
9523
9524# Set sane defaults for various variables
9525test -z "$CC" && CC=cc
9526test -z "$LTCC" && LTCC=$CC
9527test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9528test -z "$LD" && LD=ld
9529test -z "$ac_objext" && ac_objext=o
9530
9531func_cc_basename $compiler
9532cc_basename=$func_cc_basename_result
9533
9534
9535# Only perform the check for file, if the check method requires it
9536test -z "$MAGIC_CMD" && MAGIC_CMD=file
9537case $deplibs_check_method in
9538file_magic*)
9539  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9540    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9541$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9542if ${lt_cv_path_MAGIC_CMD+:} false; then :
9543  $as_echo_n "(cached) " >&6
9544else
9545  case $MAGIC_CMD in
9546[\\/*] |  ?:[\\/]*)
9547  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9548  ;;
9549*)
9550  lt_save_MAGIC_CMD=$MAGIC_CMD
9551  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9552  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9553  for ac_dir in $ac_dummy; do
9554    IFS=$lt_save_ifs
9555    test -z "$ac_dir" && ac_dir=.
9556    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9557      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9558      if test -n "$file_magic_test_file"; then
9559	case $deplibs_check_method in
9560	"file_magic "*)
9561	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9562	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9563	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9564	    $EGREP "$file_magic_regex" > /dev/null; then
9565	    :
9566	  else
9567	    cat <<_LT_EOF 1>&2
9568
9569*** Warning: the command libtool uses to detect shared libraries,
9570*** $file_magic_cmd, produces output that libtool cannot recognize.
9571*** The result is that libtool may fail to recognize shared libraries
9572*** as such.  This will affect the creation of libtool libraries that
9573*** depend on shared libraries, but programs linked with such libtool
9574*** libraries will work regardless of this problem.  Nevertheless, you
9575*** may want to report the problem to your system manager and/or to
9576*** bug-libtool@gnu.org
9577
9578_LT_EOF
9579	  fi ;;
9580	esac
9581      fi
9582      break
9583    fi
9584  done
9585  IFS=$lt_save_ifs
9586  MAGIC_CMD=$lt_save_MAGIC_CMD
9587  ;;
9588esac
9589fi
9590
9591MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9592if test -n "$MAGIC_CMD"; then
9593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9594$as_echo "$MAGIC_CMD" >&6; }
9595else
9596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9597$as_echo "no" >&6; }
9598fi
9599
9600
9601
9602
9603
9604if test -z "$lt_cv_path_MAGIC_CMD"; then
9605  if test -n "$ac_tool_prefix"; then
9606    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9607$as_echo_n "checking for file... " >&6; }
9608if ${lt_cv_path_MAGIC_CMD+:} false; then :
9609  $as_echo_n "(cached) " >&6
9610else
9611  case $MAGIC_CMD in
9612[\\/*] |  ?:[\\/]*)
9613  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9614  ;;
9615*)
9616  lt_save_MAGIC_CMD=$MAGIC_CMD
9617  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9618  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9619  for ac_dir in $ac_dummy; do
9620    IFS=$lt_save_ifs
9621    test -z "$ac_dir" && ac_dir=.
9622    if test -f "$ac_dir/file"; then
9623      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9624      if test -n "$file_magic_test_file"; then
9625	case $deplibs_check_method in
9626	"file_magic "*)
9627	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9628	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9629	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9630	    $EGREP "$file_magic_regex" > /dev/null; then
9631	    :
9632	  else
9633	    cat <<_LT_EOF 1>&2
9634
9635*** Warning: the command libtool uses to detect shared libraries,
9636*** $file_magic_cmd, produces output that libtool cannot recognize.
9637*** The result is that libtool may fail to recognize shared libraries
9638*** as such.  This will affect the creation of libtool libraries that
9639*** depend on shared libraries, but programs linked with such libtool
9640*** libraries will work regardless of this problem.  Nevertheless, you
9641*** may want to report the problem to your system manager and/or to
9642*** bug-libtool@gnu.org
9643
9644_LT_EOF
9645	  fi ;;
9646	esac
9647      fi
9648      break
9649    fi
9650  done
9651  IFS=$lt_save_ifs
9652  MAGIC_CMD=$lt_save_MAGIC_CMD
9653  ;;
9654esac
9655fi
9656
9657MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9658if test -n "$MAGIC_CMD"; then
9659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9660$as_echo "$MAGIC_CMD" >&6; }
9661else
9662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663$as_echo "no" >&6; }
9664fi
9665
9666
9667  else
9668    MAGIC_CMD=:
9669  fi
9670fi
9671
9672  fi
9673  ;;
9674esac
9675
9676# Use C for the default configuration in the libtool script
9677
9678lt_save_CC=$CC
9679ac_ext=c
9680ac_cpp='$CPP $CPPFLAGS'
9681ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9682ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9683ac_compiler_gnu=$ac_cv_c_compiler_gnu
9684
9685
9686# Source file extension for C test sources.
9687ac_ext=c
9688
9689# Object file extension for compiled C test sources.
9690objext=o
9691objext=$objext
9692
9693# Code to be used in simple compile tests
9694lt_simple_compile_test_code="int some_variable = 0;"
9695
9696# Code to be used in simple link tests
9697lt_simple_link_test_code='int main(){return(0);}'
9698
9699
9700
9701
9702
9703
9704
9705# If no C compiler was specified, use CC.
9706LTCC=${LTCC-"$CC"}
9707
9708# If no C compiler flags were specified, use CFLAGS.
9709LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9710
9711# Allow CC to be a program name with arguments.
9712compiler=$CC
9713
9714# Save the default compiler, since it gets overwritten when the other
9715# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9716compiler_DEFAULT=$CC
9717
9718# save warnings/boilerplate of simple test code
9719ac_outfile=conftest.$ac_objext
9720echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9721eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9722_lt_compiler_boilerplate=`cat conftest.err`
9723$RM conftest*
9724
9725ac_outfile=conftest.$ac_objext
9726echo "$lt_simple_link_test_code" >conftest.$ac_ext
9727eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9728_lt_linker_boilerplate=`cat conftest.err`
9729$RM -r conftest*
9730
9731
9732if test -n "$compiler"; then
9733
9734lt_prog_compiler_no_builtin_flag=
9735
9736if test yes = "$GCC"; then
9737  case $cc_basename in
9738  nvcc*)
9739    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9740  *)
9741    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9742  esac
9743
9744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9745$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9746if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9747  $as_echo_n "(cached) " >&6
9748else
9749  lt_cv_prog_compiler_rtti_exceptions=no
9750   ac_outfile=conftest.$ac_objext
9751   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9752   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9753   # Insert the option either (1) after the last *FLAGS variable, or
9754   # (2) before a word containing "conftest.", or (3) at the end.
9755   # Note that $ac_compile itself does not contain backslashes and begins
9756   # with a dollar sign (not a hyphen), so the echo should work correctly.
9757   # The option is referenced via a variable to avoid confusing sed.
9758   lt_compile=`echo "$ac_compile" | $SED \
9759   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9760   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9761   -e 's:$: $lt_compiler_flag:'`
9762   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9763   (eval "$lt_compile" 2>conftest.err)
9764   ac_status=$?
9765   cat conftest.err >&5
9766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767   if (exit $ac_status) && test -s "$ac_outfile"; then
9768     # The compiler can only warn and ignore the option if not recognized
9769     # So say no if there are warnings other than the usual output.
9770     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9771     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9772     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9773       lt_cv_prog_compiler_rtti_exceptions=yes
9774     fi
9775   fi
9776   $RM conftest*
9777
9778fi
9779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9780$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9781
9782if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9783    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9784else
9785    :
9786fi
9787
9788fi
9789
9790
9791
9792
9793
9794
9795  lt_prog_compiler_wl=
9796lt_prog_compiler_pic=
9797lt_prog_compiler_static=
9798
9799
9800  if test yes = "$GCC"; then
9801    lt_prog_compiler_wl='-Wl,'
9802    lt_prog_compiler_static='-static'
9803
9804    case $host_os in
9805      aix*)
9806      # All AIX code is PIC.
9807      if test ia64 = "$host_cpu"; then
9808	# AIX 5 now supports IA64 processor
9809	lt_prog_compiler_static='-Bstatic'
9810      fi
9811      lt_prog_compiler_pic='-fPIC'
9812      ;;
9813
9814    amigaos*)
9815      case $host_cpu in
9816      powerpc)
9817            # see comment about AmigaOS4 .so support
9818            lt_prog_compiler_pic='-fPIC'
9819        ;;
9820      m68k)
9821            # FIXME: we need at least 68020 code to build shared libraries, but
9822            # adding the '-m68020' flag to GCC prevents building anything better,
9823            # like '-m68040'.
9824            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9825        ;;
9826      esac
9827      ;;
9828
9829    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9830      # PIC is the default for these OSes.
9831      ;;
9832
9833    mingw* | cygwin* | pw32* | os2* | cegcc*)
9834      # This hack is so that the source file can tell whether it is being
9835      # built for inclusion in a dll (and should export symbols for example).
9836      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9837      # (--disable-auto-import) libraries
9838      lt_prog_compiler_pic='-DDLL_EXPORT'
9839      case $host_os in
9840      os2*)
9841	lt_prog_compiler_static='$wl-static'
9842	;;
9843      esac
9844      ;;
9845
9846    darwin* | rhapsody*)
9847      # PIC is the default on this platform
9848      # Common symbols not allowed in MH_DYLIB files
9849      lt_prog_compiler_pic='-fno-common'
9850      ;;
9851
9852    haiku*)
9853      # PIC is the default for Haiku.
9854      # The "-static" flag exists, but is broken.
9855      lt_prog_compiler_static=
9856      ;;
9857
9858    hpux*)
9859      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9860      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9861      # sets the default TLS model and affects inlining.
9862      case $host_cpu in
9863      hppa*64*)
9864	# +Z the default
9865	;;
9866      *)
9867	lt_prog_compiler_pic='-fPIC'
9868	;;
9869      esac
9870      ;;
9871
9872    interix[3-9]*)
9873      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9874      # Instead, we relocate shared libraries at runtime.
9875      ;;
9876
9877    msdosdjgpp*)
9878      # Just because we use GCC doesn't mean we suddenly get shared libraries
9879      # on systems that don't support them.
9880      lt_prog_compiler_can_build_shared=no
9881      enable_shared=no
9882      ;;
9883
9884    *nto* | *qnx*)
9885      # QNX uses GNU C++, but need to define -shared option too, otherwise
9886      # it will coredump.
9887      lt_prog_compiler_pic='-fPIC -shared'
9888      ;;
9889
9890    sysv4*MP*)
9891      if test -d /usr/nec; then
9892	lt_prog_compiler_pic=-Kconform_pic
9893      fi
9894      ;;
9895
9896    *)
9897      lt_prog_compiler_pic='-fPIC'
9898      ;;
9899    esac
9900
9901    case $cc_basename in
9902    nvcc*) # Cuda Compiler Driver 2.2
9903      lt_prog_compiler_wl='-Xlinker '
9904      if test -n "$lt_prog_compiler_pic"; then
9905        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9906      fi
9907      ;;
9908    esac
9909  else
9910    # PORTME Check for flag to pass linker flags through the system compiler.
9911    case $host_os in
9912    aix*)
9913      lt_prog_compiler_wl='-Wl,'
9914      if test ia64 = "$host_cpu"; then
9915	# AIX 5 now supports IA64 processor
9916	lt_prog_compiler_static='-Bstatic'
9917      else
9918	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9919      fi
9920      ;;
9921
9922    darwin* | rhapsody*)
9923      # PIC is the default on this platform
9924      # Common symbols not allowed in MH_DYLIB files
9925      lt_prog_compiler_pic='-fno-common'
9926      case $cc_basename in
9927      nagfor*)
9928        # NAG Fortran compiler
9929        lt_prog_compiler_wl='-Wl,-Wl,,'
9930        lt_prog_compiler_pic='-PIC'
9931        lt_prog_compiler_static='-Bstatic'
9932        ;;
9933      esac
9934      ;;
9935
9936    mingw* | cygwin* | pw32* | os2* | cegcc*)
9937      # This hack is so that the source file can tell whether it is being
9938      # built for inclusion in a dll (and should export symbols for example).
9939      lt_prog_compiler_pic='-DDLL_EXPORT'
9940      case $host_os in
9941      os2*)
9942	lt_prog_compiler_static='$wl-static'
9943	;;
9944      esac
9945      ;;
9946
9947    hpux9* | hpux10* | hpux11*)
9948      lt_prog_compiler_wl='-Wl,'
9949      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9950      # not for PA HP-UX.
9951      case $host_cpu in
9952      hppa*64*|ia64*)
9953	# +Z the default
9954	;;
9955      *)
9956	lt_prog_compiler_pic='+Z'
9957	;;
9958      esac
9959      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9960      lt_prog_compiler_static='$wl-a ${wl}archive'
9961      ;;
9962
9963    irix5* | irix6* | nonstopux*)
9964      lt_prog_compiler_wl='-Wl,'
9965      # PIC (with -KPIC) is the default.
9966      lt_prog_compiler_static='-non_shared'
9967      ;;
9968
9969    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9970      case $cc_basename in
9971      # old Intel for x86_64, which still supported -KPIC.
9972      ecc*)
9973	lt_prog_compiler_wl='-Wl,'
9974	lt_prog_compiler_pic='-KPIC'
9975	lt_prog_compiler_static='-static'
9976        ;;
9977      # icc used to be incompatible with GCC.
9978      # ICC 10 doesn't accept -KPIC any more.
9979      icc* | ifort*)
9980	lt_prog_compiler_wl='-Wl,'
9981	lt_prog_compiler_pic='-fPIC'
9982	lt_prog_compiler_static='-static'
9983        ;;
9984      # Lahey Fortran 8.1.
9985      lf95*)
9986	lt_prog_compiler_wl='-Wl,'
9987	lt_prog_compiler_pic='--shared'
9988	lt_prog_compiler_static='--static'
9989	;;
9990      nagfor*)
9991	# NAG Fortran compiler
9992	lt_prog_compiler_wl='-Wl,-Wl,,'
9993	lt_prog_compiler_pic='-PIC'
9994	lt_prog_compiler_static='-Bstatic'
9995	;;
9996      tcc*)
9997	# Fabrice Bellard et al's Tiny C Compiler
9998	lt_prog_compiler_wl='-Wl,'
9999	lt_prog_compiler_pic='-fPIC'
10000	lt_prog_compiler_static='-static'
10001	;;
10002      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10003        # Portland Group compilers (*not* the Pentium gcc compiler,
10004	# which looks to be a dead project)
10005	lt_prog_compiler_wl='-Wl,'
10006	lt_prog_compiler_pic='-fpic'
10007	lt_prog_compiler_static='-Bstatic'
10008        ;;
10009      ccc*)
10010        lt_prog_compiler_wl='-Wl,'
10011        # All Alpha code is PIC.
10012        lt_prog_compiler_static='-non_shared'
10013        ;;
10014      xl* | bgxl* | bgf* | mpixl*)
10015	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10016	lt_prog_compiler_wl='-Wl,'
10017	lt_prog_compiler_pic='-qpic'
10018	lt_prog_compiler_static='-qstaticlink'
10019	;;
10020      *)
10021	case `$CC -V 2>&1 | sed 5q` in
10022	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10023	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10024	  lt_prog_compiler_pic='-KPIC'
10025	  lt_prog_compiler_static='-Bstatic'
10026	  lt_prog_compiler_wl=''
10027	  ;;
10028	*Sun\ F* | *Sun*Fortran*)
10029	  lt_prog_compiler_pic='-KPIC'
10030	  lt_prog_compiler_static='-Bstatic'
10031	  lt_prog_compiler_wl='-Qoption ld '
10032	  ;;
10033	*Sun\ C*)
10034	  # Sun C 5.9
10035	  lt_prog_compiler_pic='-KPIC'
10036	  lt_prog_compiler_static='-Bstatic'
10037	  lt_prog_compiler_wl='-Wl,'
10038	  ;;
10039        *Intel*\ [CF]*Compiler*)
10040	  lt_prog_compiler_wl='-Wl,'
10041	  lt_prog_compiler_pic='-fPIC'
10042	  lt_prog_compiler_static='-static'
10043	  ;;
10044	*Portland\ Group*)
10045	  lt_prog_compiler_wl='-Wl,'
10046	  lt_prog_compiler_pic='-fpic'
10047	  lt_prog_compiler_static='-Bstatic'
10048	  ;;
10049	esac
10050	;;
10051      esac
10052      ;;
10053
10054    newsos6)
10055      lt_prog_compiler_pic='-KPIC'
10056      lt_prog_compiler_static='-Bstatic'
10057      ;;
10058
10059    *nto* | *qnx*)
10060      # QNX uses GNU C++, but need to define -shared option too, otherwise
10061      # it will coredump.
10062      lt_prog_compiler_pic='-fPIC -shared'
10063      ;;
10064
10065    osf3* | osf4* | osf5*)
10066      lt_prog_compiler_wl='-Wl,'
10067      # All OSF/1 code is PIC.
10068      lt_prog_compiler_static='-non_shared'
10069      ;;
10070
10071    rdos*)
10072      lt_prog_compiler_static='-non_shared'
10073      ;;
10074
10075    solaris*)
10076      lt_prog_compiler_pic='-KPIC'
10077      lt_prog_compiler_static='-Bstatic'
10078      case $cc_basename in
10079      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10080	lt_prog_compiler_wl='-Qoption ld ';;
10081      *)
10082	lt_prog_compiler_wl='-Wl,';;
10083      esac
10084      ;;
10085
10086    sunos4*)
10087      lt_prog_compiler_wl='-Qoption ld '
10088      lt_prog_compiler_pic='-PIC'
10089      lt_prog_compiler_static='-Bstatic'
10090      ;;
10091
10092    sysv4 | sysv4.2uw2* | sysv4.3*)
10093      lt_prog_compiler_wl='-Wl,'
10094      lt_prog_compiler_pic='-KPIC'
10095      lt_prog_compiler_static='-Bstatic'
10096      ;;
10097
10098    sysv4*MP*)
10099      if test -d /usr/nec; then
10100	lt_prog_compiler_pic='-Kconform_pic'
10101	lt_prog_compiler_static='-Bstatic'
10102      fi
10103      ;;
10104
10105    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10106      lt_prog_compiler_wl='-Wl,'
10107      lt_prog_compiler_pic='-KPIC'
10108      lt_prog_compiler_static='-Bstatic'
10109      ;;
10110
10111    unicos*)
10112      lt_prog_compiler_wl='-Wl,'
10113      lt_prog_compiler_can_build_shared=no
10114      ;;
10115
10116    uts4*)
10117      lt_prog_compiler_pic='-pic'
10118      lt_prog_compiler_static='-Bstatic'
10119      ;;
10120
10121    *)
10122      lt_prog_compiler_can_build_shared=no
10123      ;;
10124    esac
10125  fi
10126
10127case $host_os in
10128  # For platforms that do not support PIC, -DPIC is meaningless:
10129  *djgpp*)
10130    lt_prog_compiler_pic=
10131    ;;
10132  *)
10133    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10134    ;;
10135esac
10136
10137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10138$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10139if ${lt_cv_prog_compiler_pic+:} false; then :
10140  $as_echo_n "(cached) " >&6
10141else
10142  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10143fi
10144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10145$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10146lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10147
10148#
10149# Check to make sure the PIC flag actually works.
10150#
10151if test -n "$lt_prog_compiler_pic"; then
10152  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10153$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10154if ${lt_cv_prog_compiler_pic_works+:} false; then :
10155  $as_echo_n "(cached) " >&6
10156else
10157  lt_cv_prog_compiler_pic_works=no
10158   ac_outfile=conftest.$ac_objext
10159   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10161   # Insert the option either (1) after the last *FLAGS variable, or
10162   # (2) before a word containing "conftest.", or (3) at the end.
10163   # Note that $ac_compile itself does not contain backslashes and begins
10164   # with a dollar sign (not a hyphen), so the echo should work correctly.
10165   # The option is referenced via a variable to avoid confusing sed.
10166   lt_compile=`echo "$ac_compile" | $SED \
10167   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10168   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10169   -e 's:$: $lt_compiler_flag:'`
10170   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10171   (eval "$lt_compile" 2>conftest.err)
10172   ac_status=$?
10173   cat conftest.err >&5
10174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175   if (exit $ac_status) && test -s "$ac_outfile"; then
10176     # The compiler can only warn and ignore the option if not recognized
10177     # So say no if there are warnings other than the usual output.
10178     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10179     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10180     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10181       lt_cv_prog_compiler_pic_works=yes
10182     fi
10183   fi
10184   $RM conftest*
10185
10186fi
10187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10188$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10189
10190if test yes = "$lt_cv_prog_compiler_pic_works"; then
10191    case $lt_prog_compiler_pic in
10192     "" | " "*) ;;
10193     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10194     esac
10195else
10196    lt_prog_compiler_pic=
10197     lt_prog_compiler_can_build_shared=no
10198fi
10199
10200fi
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212#
10213# Check to make sure the static flag actually works.
10214#
10215wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10217$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10218if ${lt_cv_prog_compiler_static_works+:} false; then :
10219  $as_echo_n "(cached) " >&6
10220else
10221  lt_cv_prog_compiler_static_works=no
10222   save_LDFLAGS=$LDFLAGS
10223   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10224   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10225   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10226     # The linker can only warn and ignore the option if not recognized
10227     # So say no if there are warnings
10228     if test -s conftest.err; then
10229       # Append any errors to the config.log.
10230       cat conftest.err 1>&5
10231       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10232       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10233       if diff conftest.exp conftest.er2 >/dev/null; then
10234         lt_cv_prog_compiler_static_works=yes
10235       fi
10236     else
10237       lt_cv_prog_compiler_static_works=yes
10238     fi
10239   fi
10240   $RM -r conftest*
10241   LDFLAGS=$save_LDFLAGS
10242
10243fi
10244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10245$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10246
10247if test yes = "$lt_cv_prog_compiler_static_works"; then
10248    :
10249else
10250    lt_prog_compiler_static=
10251fi
10252
10253
10254
10255
10256
10257
10258
10259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10260$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10261if ${lt_cv_prog_compiler_c_o+:} false; then :
10262  $as_echo_n "(cached) " >&6
10263else
10264  lt_cv_prog_compiler_c_o=no
10265   $RM -r conftest 2>/dev/null
10266   mkdir conftest
10267   cd conftest
10268   mkdir out
10269   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10270
10271   lt_compiler_flag="-o out/conftest2.$ac_objext"
10272   # Insert the option either (1) after the last *FLAGS variable, or
10273   # (2) before a word containing "conftest.", or (3) at the end.
10274   # Note that $ac_compile itself does not contain backslashes and begins
10275   # with a dollar sign (not a hyphen), so the echo should work correctly.
10276   lt_compile=`echo "$ac_compile" | $SED \
10277   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10278   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10279   -e 's:$: $lt_compiler_flag:'`
10280   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10281   (eval "$lt_compile" 2>out/conftest.err)
10282   ac_status=$?
10283   cat out/conftest.err >&5
10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10286   then
10287     # The compiler can only warn and ignore the option if not recognized
10288     # So say no if there are warnings
10289     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10290     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10291     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10292       lt_cv_prog_compiler_c_o=yes
10293     fi
10294   fi
10295   chmod u+w . 2>&5
10296   $RM conftest*
10297   # SGI C++ compiler will create directory out/ii_files/ for
10298   # template instantiation
10299   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10300   $RM out/* && rmdir out
10301   cd ..
10302   $RM -r conftest
10303   $RM conftest*
10304
10305fi
10306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10307$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10308
10309
10310
10311
10312
10313
10314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10315$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10316if ${lt_cv_prog_compiler_c_o+:} false; then :
10317  $as_echo_n "(cached) " >&6
10318else
10319  lt_cv_prog_compiler_c_o=no
10320   $RM -r conftest 2>/dev/null
10321   mkdir conftest
10322   cd conftest
10323   mkdir out
10324   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10325
10326   lt_compiler_flag="-o out/conftest2.$ac_objext"
10327   # Insert the option either (1) after the last *FLAGS variable, or
10328   # (2) before a word containing "conftest.", or (3) at the end.
10329   # Note that $ac_compile itself does not contain backslashes and begins
10330   # with a dollar sign (not a hyphen), so the echo should work correctly.
10331   lt_compile=`echo "$ac_compile" | $SED \
10332   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10333   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10334   -e 's:$: $lt_compiler_flag:'`
10335   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10336   (eval "$lt_compile" 2>out/conftest.err)
10337   ac_status=$?
10338   cat out/conftest.err >&5
10339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10341   then
10342     # The compiler can only warn and ignore the option if not recognized
10343     # So say no if there are warnings
10344     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10345     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10346     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10347       lt_cv_prog_compiler_c_o=yes
10348     fi
10349   fi
10350   chmod u+w . 2>&5
10351   $RM conftest*
10352   # SGI C++ compiler will create directory out/ii_files/ for
10353   # template instantiation
10354   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10355   $RM out/* && rmdir out
10356   cd ..
10357   $RM -r conftest
10358   $RM conftest*
10359
10360fi
10361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10362$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10363
10364
10365
10366
10367hard_links=nottested
10368if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10369  # do not overwrite the value of need_locks provided by the user
10370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10371$as_echo_n "checking if we can lock with hard links... " >&6; }
10372  hard_links=yes
10373  $RM conftest*
10374  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10375  touch conftest.a
10376  ln conftest.a conftest.b 2>&5 || hard_links=no
10377  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10379$as_echo "$hard_links" >&6; }
10380  if test no = "$hard_links"; then
10381    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10382$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10383    need_locks=warn
10384  fi
10385else
10386  need_locks=no
10387fi
10388
10389
10390
10391
10392
10393
10394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10395$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10396
10397  runpath_var=
10398  allow_undefined_flag=
10399  always_export_symbols=no
10400  archive_cmds=
10401  archive_expsym_cmds=
10402  compiler_needs_object=no
10403  enable_shared_with_static_runtimes=no
10404  export_dynamic_flag_spec=
10405  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10406  hardcode_automatic=no
10407  hardcode_direct=no
10408  hardcode_direct_absolute=no
10409  hardcode_libdir_flag_spec=
10410  hardcode_libdir_separator=
10411  hardcode_minus_L=no
10412  hardcode_shlibpath_var=unsupported
10413  inherit_rpath=no
10414  link_all_deplibs=unknown
10415  module_cmds=
10416  module_expsym_cmds=
10417  old_archive_from_new_cmds=
10418  old_archive_from_expsyms_cmds=
10419  thread_safe_flag_spec=
10420  whole_archive_flag_spec=
10421  # include_expsyms should be a list of space-separated symbols to be *always*
10422  # included in the symbol list
10423  include_expsyms=
10424  # exclude_expsyms can be an extended regexp of symbols to exclude
10425  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10426  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10427  # as well as any symbol that contains 'd'.
10428  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10429  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10430  # platforms (ab)use it in PIC code, but their linkers get confused if
10431  # the symbol is explicitly referenced.  Since portable code cannot
10432  # rely on this symbol name, it's probably fine to never include it in
10433  # preloaded symbol tables.
10434  # Exclude shared library initialization/finalization symbols.
10435  extract_expsyms_cmds=
10436
10437  case $host_os in
10438  cygwin* | mingw* | pw32* | cegcc*)
10439    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
10440    # When not using gcc, we currently assume that we are using
10441    # Microsoft Visual C++ or Intel C++ Compiler.
10442    if test yes != "$GCC"; then
10443      with_gnu_ld=no
10444    fi
10445    ;;
10446  interix*)
10447    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
10448    with_gnu_ld=yes
10449    ;;
10450  openbsd* | bitrig*)
10451    with_gnu_ld=no
10452    ;;
10453  esac
10454
10455  ld_shlibs=yes
10456
10457  # On some targets, GNU ld is compatible enough with the native linker
10458  # that we're better off using the native interface for both.
10459  lt_use_gnu_ld_interface=no
10460  if test yes = "$with_gnu_ld"; then
10461    case $host_os in
10462      aix*)
10463	# The AIX port of GNU ld has always aspired to compatibility
10464	# with the native linker.  However, as the warning in the GNU ld
10465	# block says, versions before 2.19.5* couldn't really create working
10466	# shared libraries, regardless of the interface used.
10467	case `$LD -v 2>&1` in
10468	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10469	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10470	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10471	  *)
10472	    lt_use_gnu_ld_interface=yes
10473	    ;;
10474	esac
10475	;;
10476      *)
10477	lt_use_gnu_ld_interface=yes
10478	;;
10479    esac
10480  fi
10481
10482  if test yes = "$lt_use_gnu_ld_interface"; then
10483    # If archive_cmds runs LD, not CC, wlarc should be empty
10484    wlarc='$wl'
10485
10486    # Set some defaults for GNU ld with shared library support. These
10487    # are reset later if shared libraries are not supported. Putting them
10488    # here allows them to be overridden if necessary.
10489    runpath_var=LD_RUN_PATH
10490    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10491    export_dynamic_flag_spec='$wl--export-dynamic'
10492    # ancient GNU ld didn't support --whole-archive et. al.
10493    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10494      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10495    else
10496      whole_archive_flag_spec=
10497    fi
10498    supports_anon_versioning=no
10499    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10500      *GNU\ gold*) supports_anon_versioning=yes ;;
10501      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10502      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10503      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10504      *\ 2.11.*) ;; # other 2.11 versions
10505      *) supports_anon_versioning=yes ;;
10506    esac
10507
10508    # See if GNU ld supports shared libraries.
10509    case $host_os in
10510    aix[3-9]*)
10511      # On AIX/PPC, the GNU linker is very broken
10512      if test ia64 != "$host_cpu"; then
10513	ld_shlibs=no
10514	cat <<_LT_EOF 1>&2
10515
10516*** Warning: the GNU linker, at least up to release 2.19, is reported
10517*** to be unable to reliably create shared libraries on AIX.
10518*** Therefore, libtool is disabling shared libraries support.  If you
10519*** really care for shared libraries, you may want to install binutils
10520*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10521*** You will then need to restart the configuration process.
10522
10523_LT_EOF
10524      fi
10525      ;;
10526
10527    amigaos*)
10528      case $host_cpu in
10529      powerpc)
10530            # see comment about AmigaOS4 .so support
10531            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10532            archive_expsym_cmds=''
10533        ;;
10534      m68k)
10535            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)'
10536            hardcode_libdir_flag_spec='-L$libdir'
10537            hardcode_minus_L=yes
10538        ;;
10539      esac
10540      ;;
10541
10542    beos*)
10543      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10544	allow_undefined_flag=unsupported
10545	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10546	# support --undefined.  This deserves some investigation.  FIXME
10547	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10548      else
10549	ld_shlibs=no
10550      fi
10551      ;;
10552
10553    cygwin* | mingw* | pw32* | cegcc*)
10554      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10555      # as there is no search path for DLLs.
10556      hardcode_libdir_flag_spec='-L$libdir'
10557      export_dynamic_flag_spec='$wl--export-all-symbols'
10558      allow_undefined_flag=unsupported
10559      always_export_symbols=no
10560      enable_shared_with_static_runtimes=yes
10561      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'
10562      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10563
10564      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10565        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10566	# If the export-symbols file already is a .def file, use it as
10567	# is; otherwise, prepend EXPORTS...
10568	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10569          cp $export_symbols $output_objdir/$soname.def;
10570        else
10571          echo EXPORTS > $output_objdir/$soname.def;
10572          cat $export_symbols >> $output_objdir/$soname.def;
10573        fi~
10574        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10575      else
10576	ld_shlibs=no
10577      fi
10578      ;;
10579
10580    haiku*)
10581      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10582      link_all_deplibs=yes
10583      ;;
10584
10585    os2*)
10586      hardcode_libdir_flag_spec='-L$libdir'
10587      hardcode_minus_L=yes
10588      allow_undefined_flag=unsupported
10589      shrext_cmds=.dll
10590      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10591	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10592	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10593	$ECHO EXPORTS >> $output_objdir/$libname.def~
10594	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10595	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10596	emximp -o $lib $output_objdir/$libname.def'
10597      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10598	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10599	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10600	$ECHO EXPORTS >> $output_objdir/$libname.def~
10601	prefix_cmds="$SED"~
10602	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10603	  prefix_cmds="$prefix_cmds -e 1d";
10604	fi~
10605	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10606	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10607	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10608	emximp -o $lib $output_objdir/$libname.def'
10609      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10610      enable_shared_with_static_runtimes=yes
10611      file_list_spec='@'
10612      ;;
10613
10614    interix[3-9]*)
10615      hardcode_direct=no
10616      hardcode_shlibpath_var=no
10617      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10618      export_dynamic_flag_spec='$wl-E'
10619      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10620      # Instead, shared libraries are loaded at an image base (0x10000000 by
10621      # default) and relocated if they conflict, which is a slow very memory
10622      # consuming and fragmenting process.  To avoid this, we pick a random,
10623      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10624      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10625      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10626      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'
10627      ;;
10628
10629    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10630      tmp_diet=no
10631      if test linux-dietlibc = "$host_os"; then
10632	case $cc_basename in
10633	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10634	esac
10635      fi
10636      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10637	 && test no = "$tmp_diet"
10638      then
10639	tmp_addflag=' $pic_flag'
10640	tmp_sharedflag='-shared'
10641	case $cc_basename,$host_cpu in
10642        pgcc*)				# Portland Group C compiler
10643	  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'
10644	  tmp_addflag=' $pic_flag'
10645	  ;;
10646	pgf77* | pgf90* | pgf95* | pgfortran*)
10647					# Portland Group f77 and f90 compilers
10648	  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'
10649	  tmp_addflag=' $pic_flag -Mnomain' ;;
10650	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10651	  tmp_addflag=' -i_dynamic' ;;
10652	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10653	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10654	ifc* | ifort*)			# Intel Fortran compiler
10655	  tmp_addflag=' -nofor_main' ;;
10656	lf95*)				# Lahey Fortran 8.1
10657	  whole_archive_flag_spec=
10658	  tmp_sharedflag='--shared' ;;
10659        nagfor*)                        # NAGFOR 5.3
10660          tmp_sharedflag='-Wl,-shared' ;;
10661	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10662	  tmp_sharedflag='-qmkshrobj'
10663	  tmp_addflag= ;;
10664	nvcc*)	# Cuda Compiler Driver 2.2
10665	  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'
10666	  compiler_needs_object=yes
10667	  ;;
10668	esac
10669	case `$CC -V 2>&1 | sed 5q` in
10670	*Sun\ C*)			# Sun C 5.9
10671	  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'
10672	  compiler_needs_object=yes
10673	  tmp_sharedflag='-G' ;;
10674	*Sun\ F*)			# Sun Fortran 8.3
10675	  tmp_sharedflag='-G' ;;
10676	esac
10677	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10678
10679        if test yes = "$supports_anon_versioning"; then
10680          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10681            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10682            echo "local: *; };" >> $output_objdir/$libname.ver~
10683            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10684        fi
10685
10686	case $cc_basename in
10687	tcc*)
10688	  export_dynamic_flag_spec='-rdynamic'
10689	  ;;
10690	xlf* | bgf* | bgxlf* | mpixlf*)
10691	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10692	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10693	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10694	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10695	  if test yes = "$supports_anon_versioning"; then
10696	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10697              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10698              echo "local: *; };" >> $output_objdir/$libname.ver~
10699              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10700	  fi
10701	  ;;
10702	esac
10703      else
10704        ld_shlibs=no
10705      fi
10706      ;;
10707
10708    netbsd*)
10709      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10710	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10711	wlarc=
10712      else
10713	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10714	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10715      fi
10716      ;;
10717
10718    solaris*)
10719      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10720	ld_shlibs=no
10721	cat <<_LT_EOF 1>&2
10722
10723*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10724*** create shared libraries on Solaris systems.  Therefore, libtool
10725*** is disabling shared libraries support.  We urge you to upgrade GNU
10726*** binutils to release 2.9.1 or newer.  Another option is to modify
10727*** your PATH or compiler configuration so that the native linker is
10728*** used, and then restart.
10729
10730_LT_EOF
10731      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10732	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10733	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10734      else
10735	ld_shlibs=no
10736      fi
10737      ;;
10738
10739    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10740      case `$LD -v 2>&1` in
10741        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10742	ld_shlibs=no
10743	cat <<_LT_EOF 1>&2
10744
10745*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10746*** reliably create shared libraries on SCO systems.  Therefore, libtool
10747*** is disabling shared libraries support.  We urge you to upgrade GNU
10748*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10749*** your PATH or compiler configuration so that the native linker is
10750*** used, and then restart.
10751
10752_LT_EOF
10753	;;
10754	*)
10755	  # For security reasons, it is highly recommended that you always
10756	  # use absolute paths for naming shared libraries, and exclude the
10757	  # DT_RUNPATH tag from executables and libraries.  But doing so
10758	  # requires that you compile everything twice, which is a pain.
10759	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10760	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10761	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10762	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10763	  else
10764	    ld_shlibs=no
10765	  fi
10766	;;
10767      esac
10768      ;;
10769
10770    sunos4*)
10771      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10772      wlarc=
10773      hardcode_direct=yes
10774      hardcode_shlibpath_var=no
10775      ;;
10776
10777    *)
10778      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10779	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10780	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10781      else
10782	ld_shlibs=no
10783      fi
10784      ;;
10785    esac
10786
10787    if test no = "$ld_shlibs"; then
10788      runpath_var=
10789      hardcode_libdir_flag_spec=
10790      export_dynamic_flag_spec=
10791      whole_archive_flag_spec=
10792    fi
10793  else
10794    # PORTME fill in a description of your system's linker (not GNU ld)
10795    case $host_os in
10796    aix3*)
10797      allow_undefined_flag=unsupported
10798      always_export_symbols=yes
10799      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'
10800      # Note: this linker hardcodes the directories in LIBPATH if there
10801      # are no directories specified by -L.
10802      hardcode_minus_L=yes
10803      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10804	# Neither direct hardcoding nor static linking is supported with a
10805	# broken collect2.
10806	hardcode_direct=unsupported
10807      fi
10808      ;;
10809
10810    aix[4-9]*)
10811      if test ia64 = "$host_cpu"; then
10812	# On IA64, the linker does run time linking by default, so we don't
10813	# have to do anything special.
10814	aix_use_runtimelinking=no
10815	exp_sym_flag='-Bexport'
10816	no_entry_flag=
10817      else
10818	# If we're using GNU nm, then we don't want the "-C" option.
10819	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10820	# Without the "-l" option, or with the "-B" option, AIX nm treats
10821	# weak defined symbols like other global defined symbols, whereas
10822	# GNU nm marks them as "W".
10823	# While the 'weak' keyword is ignored in the Export File, we need
10824	# it in the Import File for the 'aix-soname' feature, so we have
10825	# to replace the "-B" option with "-P" for AIX nm.
10826	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10827	  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'
10828	else
10829	  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 == "L") || (\$ 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'
10830	fi
10831	aix_use_runtimelinking=no
10832
10833	# Test if we are trying to use run time linking or normal
10834	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10835	# have runtime linking enabled, and use it for executables.
10836	# For shared libraries, we enable/disable runtime linking
10837	# depending on the kind of the shared library created -
10838	# when "with_aix_soname,aix_use_runtimelinking" is:
10839	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10840	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10841	#            lib.a           static archive
10842	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10843	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10844	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10845	#            lib.a(lib.so.V) shared, rtl:no
10846	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10847	#            lib.a           static archive
10848	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10849	  for ld_flag in $LDFLAGS; do
10850	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10851	    aix_use_runtimelinking=yes
10852	    break
10853	  fi
10854	  done
10855	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10856	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10857	    # so we don't have lib.a shared libs to link our executables.
10858	    # We have to force runtime linking in this case.
10859	    aix_use_runtimelinking=yes
10860	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10861	  fi
10862	  ;;
10863	esac
10864
10865	exp_sym_flag='-bexport'
10866	no_entry_flag='-bnoentry'
10867      fi
10868
10869      # When large executables or shared objects are built, AIX ld can
10870      # have problems creating the table of contents.  If linking a library
10871      # or program results in "error TOC overflow" add -mminimal-toc to
10872      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10873      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10874
10875      archive_cmds=''
10876      hardcode_direct=yes
10877      hardcode_direct_absolute=yes
10878      hardcode_libdir_separator=':'
10879      link_all_deplibs=yes
10880      file_list_spec='$wl-f,'
10881      case $with_aix_soname,$aix_use_runtimelinking in
10882      aix,*) ;; # traditional, no import file
10883      svr4,* | *,yes) # use import file
10884	# The Import File defines what to hardcode.
10885	hardcode_direct=no
10886	hardcode_direct_absolute=no
10887	;;
10888      esac
10889
10890      if test yes = "$GCC"; then
10891	case $host_os in aix4.[012]|aix4.[012].*)
10892	# We only want to do this on AIX 4.2 and lower, the check
10893	# below for broken collect2 doesn't work under 4.3+
10894	  collect2name=`$CC -print-prog-name=collect2`
10895	  if test -f "$collect2name" &&
10896	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10897	  then
10898	  # We have reworked collect2
10899	  :
10900	  else
10901	  # We have old collect2
10902	  hardcode_direct=unsupported
10903	  # It fails to find uninstalled libraries when the uninstalled
10904	  # path is not listed in the libpath.  Setting hardcode_minus_L
10905	  # to unsupported forces relinking
10906	  hardcode_minus_L=yes
10907	  hardcode_libdir_flag_spec='-L$libdir'
10908	  hardcode_libdir_separator=
10909	  fi
10910	  ;;
10911	esac
10912	shared_flag='-shared'
10913	if test yes = "$aix_use_runtimelinking"; then
10914	  shared_flag="$shared_flag "'$wl-G'
10915	fi
10916	# Need to ensure runtime linking is disabled for the traditional
10917	# shared library, or the linker may eventually find shared libraries
10918	# /with/ Import File - we do not want to mix them.
10919	shared_flag_aix='-shared'
10920	shared_flag_svr4='-shared $wl-G'
10921      else
10922	# not using gcc
10923	if test ia64 = "$host_cpu"; then
10924	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10925	# chokes on -Wl,-G. The following line is correct:
10926	  shared_flag='-G'
10927	else
10928	  if test yes = "$aix_use_runtimelinking"; then
10929	    shared_flag='$wl-G'
10930	  else
10931	    shared_flag='$wl-bM:SRE'
10932	  fi
10933	  shared_flag_aix='$wl-bM:SRE'
10934	  shared_flag_svr4='$wl-G'
10935	fi
10936      fi
10937
10938      export_dynamic_flag_spec='$wl-bexpall'
10939      # It seems that -bexpall does not export symbols beginning with
10940      # underscore (_), so it is better to generate a list of symbols to export.
10941      always_export_symbols=yes
10942      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10943	# Warning - without using the other runtime loading flags (-brtl),
10944	# -berok will link without error, but may produce a broken library.
10945	allow_undefined_flag='-berok'
10946        # Determine the default libpath from the value encoded in an
10947        # empty executable.
10948        if test set = "${lt_cv_aix_libpath+set}"; then
10949  aix_libpath=$lt_cv_aix_libpath
10950else
10951  if ${lt_cv_aix_libpath_+:} false; then :
10952  $as_echo_n "(cached) " >&6
10953else
10954  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955/* end confdefs.h.  */
10956
10957int
10958main ()
10959{
10960
10961  ;
10962  return 0;
10963}
10964_ACEOF
10965if ac_fn_c_try_link "$LINENO"; then :
10966
10967  lt_aix_libpath_sed='
10968      /Import File Strings/,/^$/ {
10969	  /^0/ {
10970	      s/^0  *\([^ ]*\) *$/\1/
10971	      p
10972	  }
10973      }'
10974  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10975  # Check for a 64-bit object if we didn't find anything.
10976  if test -z "$lt_cv_aix_libpath_"; then
10977    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10978  fi
10979fi
10980rm -f core conftest.err conftest.$ac_objext \
10981    conftest$ac_exeext conftest.$ac_ext
10982  if test -z "$lt_cv_aix_libpath_"; then
10983    lt_cv_aix_libpath_=/usr/lib:/lib
10984  fi
10985
10986fi
10987
10988  aix_libpath=$lt_cv_aix_libpath_
10989fi
10990
10991        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10992        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
10993      else
10994	if test ia64 = "$host_cpu"; then
10995	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10996	  allow_undefined_flag="-z nodefs"
10997	  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"
10998	else
10999	 # Determine the default libpath from the value encoded in an
11000	 # empty executable.
11001	 if test set = "${lt_cv_aix_libpath+set}"; then
11002  aix_libpath=$lt_cv_aix_libpath
11003else
11004  if ${lt_cv_aix_libpath_+:} false; then :
11005  $as_echo_n "(cached) " >&6
11006else
11007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008/* end confdefs.h.  */
11009
11010int
11011main ()
11012{
11013
11014  ;
11015  return 0;
11016}
11017_ACEOF
11018if ac_fn_c_try_link "$LINENO"; then :
11019
11020  lt_aix_libpath_sed='
11021      /Import File Strings/,/^$/ {
11022	  /^0/ {
11023	      s/^0  *\([^ ]*\) *$/\1/
11024	      p
11025	  }
11026      }'
11027  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11028  # Check for a 64-bit object if we didn't find anything.
11029  if test -z "$lt_cv_aix_libpath_"; then
11030    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11031  fi
11032fi
11033rm -f core conftest.err conftest.$ac_objext \
11034    conftest$ac_exeext conftest.$ac_ext
11035  if test -z "$lt_cv_aix_libpath_"; then
11036    lt_cv_aix_libpath_=/usr/lib:/lib
11037  fi
11038
11039fi
11040
11041  aix_libpath=$lt_cv_aix_libpath_
11042fi
11043
11044	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11045	  # Warning - without using the other run time loading flags,
11046	  # -berok will link without error, but may produce a broken library.
11047	  no_undefined_flag=' $wl-bernotok'
11048	  allow_undefined_flag=' $wl-berok'
11049	  if test yes = "$with_gnu_ld"; then
11050	    # We only use this code for GNU lds that support --whole-archive.
11051	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11052	  else
11053	    # Exported symbols can be pulled into shared objects from archives
11054	    whole_archive_flag_spec='$convenience'
11055	  fi
11056	  archive_cmds_need_lc=yes
11057	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11058	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11059	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11060	  if test svr4 != "$with_aix_soname"; then
11061	    # This is similar to how AIX traditionally builds its shared libraries.
11062	    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'
11063	  fi
11064	  if test aix != "$with_aix_soname"; then
11065	    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'
11066	  else
11067	    # used by -dlpreopen to get the symbols
11068	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11069	  fi
11070	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11071	fi
11072      fi
11073      ;;
11074
11075    amigaos*)
11076      case $host_cpu in
11077      powerpc)
11078            # see comment about AmigaOS4 .so support
11079            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11080            archive_expsym_cmds=''
11081        ;;
11082      m68k)
11083            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)'
11084            hardcode_libdir_flag_spec='-L$libdir'
11085            hardcode_minus_L=yes
11086        ;;
11087      esac
11088      ;;
11089
11090    bsdi[45]*)
11091      export_dynamic_flag_spec=-rdynamic
11092      ;;
11093
11094    cygwin* | mingw* | pw32* | cegcc*)
11095      # When not using gcc, we currently assume that we are using
11096      # Microsoft Visual C++ or Intel C++ Compiler.
11097      # hardcode_libdir_flag_spec is actually meaningless, as there is
11098      # no search path for DLLs.
11099      case $cc_basename in
11100      cl* | icl*)
11101	# Native MSVC or ICC
11102	hardcode_libdir_flag_spec=' '
11103	allow_undefined_flag=unsupported
11104	always_export_symbols=yes
11105	file_list_spec='@'
11106	# Tell ltmain to make .lib files, not .a files.
11107	libext=lib
11108	# Tell ltmain to make .dll files, not .so files.
11109	shrext_cmds=.dll
11110	# FIXME: Setting linknames here is a bad hack.
11111	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11112	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11113            cp "$export_symbols" "$output_objdir/$soname.def";
11114            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11115          else
11116            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11117          fi~
11118          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11119          linknames='
11120	# The linker will not automatically build a static lib if we build a DLL.
11121	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11122	enable_shared_with_static_runtimes=yes
11123	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11124	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11125	# Don't use ranlib
11126	old_postinstall_cmds='chmod 644 $oldlib'
11127	postlink_cmds='lt_outputfile="@OUTPUT@"~
11128          lt_tool_outputfile="@TOOL_OUTPUT@"~
11129          case $lt_outputfile in
11130            *.exe|*.EXE) ;;
11131            *)
11132              lt_outputfile=$lt_outputfile.exe
11133              lt_tool_outputfile=$lt_tool_outputfile.exe
11134              ;;
11135          esac~
11136          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11137            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11138            $RM "$lt_outputfile.manifest";
11139          fi'
11140	;;
11141      *)
11142	# Assume MSVC and ICC wrapper
11143	hardcode_libdir_flag_spec=' '
11144	allow_undefined_flag=unsupported
11145	# Tell ltmain to make .lib files, not .a files.
11146	libext=lib
11147	# Tell ltmain to make .dll files, not .so files.
11148	shrext_cmds=.dll
11149	# FIXME: Setting linknames here is a bad hack.
11150	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11151	# The linker will automatically build a .lib file if we build a DLL.
11152	old_archive_from_new_cmds='true'
11153	# FIXME: Should let the user specify the lib program.
11154	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11155	enable_shared_with_static_runtimes=yes
11156	;;
11157      esac
11158      ;;
11159
11160    darwin* | rhapsody*)
11161
11162
11163  archive_cmds_need_lc=no
11164  hardcode_direct=no
11165  hardcode_automatic=yes
11166  hardcode_shlibpath_var=unsupported
11167  if test yes = "$lt_cv_ld_force_load"; then
11168    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\"`'
11169
11170  else
11171    whole_archive_flag_spec=''
11172  fi
11173  link_all_deplibs=yes
11174  allow_undefined_flag=$_lt_dar_allow_undefined
11175  case $cc_basename in
11176     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11177     *) _lt_dar_can_shared=$GCC ;;
11178  esac
11179  if test yes = "$_lt_dar_can_shared"; then
11180    output_verbose_link_cmd=func_echo_all
11181    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11182    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11183    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"
11184    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"
11185
11186  else
11187  ld_shlibs=no
11188  fi
11189
11190      ;;
11191
11192    dgux*)
11193      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11194      hardcode_libdir_flag_spec='-L$libdir'
11195      hardcode_shlibpath_var=no
11196      ;;
11197
11198    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11199    # support.  Future versions do this automatically, but an explicit c++rt0.o
11200    # does not break anything, and helps significantly (at the cost of a little
11201    # extra space).
11202    freebsd2.2*)
11203      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11204      hardcode_libdir_flag_spec='-R$libdir'
11205      hardcode_direct=yes
11206      hardcode_shlibpath_var=no
11207      ;;
11208
11209    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11210    freebsd2.*)
11211      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11212      hardcode_direct=yes
11213      hardcode_minus_L=yes
11214      hardcode_shlibpath_var=no
11215      ;;
11216
11217    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11218    freebsd* | dragonfly*)
11219      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11220      hardcode_libdir_flag_spec='-R$libdir'
11221      hardcode_direct=yes
11222      hardcode_shlibpath_var=no
11223      ;;
11224
11225    hpux9*)
11226      if test yes = "$GCC"; then
11227	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'
11228      else
11229	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'
11230      fi
11231      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11232      hardcode_libdir_separator=:
11233      hardcode_direct=yes
11234
11235      # hardcode_minus_L: Not really in the search PATH,
11236      # but as the default location of the library.
11237      hardcode_minus_L=yes
11238      export_dynamic_flag_spec='$wl-E'
11239      ;;
11240
11241    hpux10*)
11242      if test yes,no = "$GCC,$with_gnu_ld"; then
11243	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11244      else
11245	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11246      fi
11247      if test no = "$with_gnu_ld"; then
11248	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11249	hardcode_libdir_separator=:
11250	hardcode_direct=yes
11251	hardcode_direct_absolute=yes
11252	export_dynamic_flag_spec='$wl-E'
11253	# hardcode_minus_L: Not really in the search PATH,
11254	# but as the default location of the library.
11255	hardcode_minus_L=yes
11256      fi
11257      ;;
11258
11259    hpux11*)
11260      if test yes,no = "$GCC,$with_gnu_ld"; then
11261	case $host_cpu in
11262	hppa*64*)
11263	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11264	  ;;
11265	ia64*)
11266	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11267	  ;;
11268	*)
11269	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11270	  ;;
11271	esac
11272      else
11273	case $host_cpu in
11274	hppa*64*)
11275	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11276	  ;;
11277	ia64*)
11278	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11279	  ;;
11280	*)
11281
11282	  # Older versions of the 11.00 compiler do not understand -b yet
11283	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11284	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11285$as_echo_n "checking if $CC understands -b... " >&6; }
11286if ${lt_cv_prog_compiler__b+:} false; then :
11287  $as_echo_n "(cached) " >&6
11288else
11289  lt_cv_prog_compiler__b=no
11290   save_LDFLAGS=$LDFLAGS
11291   LDFLAGS="$LDFLAGS -b"
11292   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11293   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11294     # The linker can only warn and ignore the option if not recognized
11295     # So say no if there are warnings
11296     if test -s conftest.err; then
11297       # Append any errors to the config.log.
11298       cat conftest.err 1>&5
11299       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11300       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11301       if diff conftest.exp conftest.er2 >/dev/null; then
11302         lt_cv_prog_compiler__b=yes
11303       fi
11304     else
11305       lt_cv_prog_compiler__b=yes
11306     fi
11307   fi
11308   $RM -r conftest*
11309   LDFLAGS=$save_LDFLAGS
11310
11311fi
11312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11313$as_echo "$lt_cv_prog_compiler__b" >&6; }
11314
11315if test yes = "$lt_cv_prog_compiler__b"; then
11316    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11317else
11318    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11319fi
11320
11321	  ;;
11322	esac
11323      fi
11324      if test no = "$with_gnu_ld"; then
11325	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11326	hardcode_libdir_separator=:
11327
11328	case $host_cpu in
11329	hppa*64*|ia64*)
11330	  hardcode_direct=no
11331	  hardcode_shlibpath_var=no
11332	  ;;
11333	*)
11334	  hardcode_direct=yes
11335	  hardcode_direct_absolute=yes
11336	  export_dynamic_flag_spec='$wl-E'
11337
11338	  # hardcode_minus_L: Not really in the search PATH,
11339	  # but as the default location of the library.
11340	  hardcode_minus_L=yes
11341	  ;;
11342	esac
11343      fi
11344      ;;
11345
11346    irix5* | irix6* | nonstopux*)
11347      if test yes = "$GCC"; then
11348	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'
11349	# Try to use the -exported_symbol ld option, if it does not
11350	# work, assume that -exports_file does not work either and
11351	# implicitly export all symbols.
11352	# This should be the same for all languages, so no per-tag cache variable.
11353	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11354$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11355if ${lt_cv_irix_exported_symbol+:} false; then :
11356  $as_echo_n "(cached) " >&6
11357else
11358  save_LDFLAGS=$LDFLAGS
11359	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11360	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361/* end confdefs.h.  */
11362int foo (void) { return 0; }
11363_ACEOF
11364if ac_fn_c_try_link "$LINENO"; then :
11365  lt_cv_irix_exported_symbol=yes
11366else
11367  lt_cv_irix_exported_symbol=no
11368fi
11369rm -f core conftest.err conftest.$ac_objext \
11370    conftest$ac_exeext conftest.$ac_ext
11371           LDFLAGS=$save_LDFLAGS
11372fi
11373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11374$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11375	if test yes = "$lt_cv_irix_exported_symbol"; then
11376          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'
11377	fi
11378      else
11379	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'
11380	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'
11381      fi
11382      archive_cmds_need_lc='no'
11383      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11384      hardcode_libdir_separator=:
11385      inherit_rpath=yes
11386      link_all_deplibs=yes
11387      ;;
11388
11389    linux*)
11390      case $cc_basename in
11391      tcc*)
11392	# Fabrice Bellard et al's Tiny C Compiler
11393	ld_shlibs=yes
11394	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11395	;;
11396      esac
11397      ;;
11398
11399    netbsd*)
11400      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11401	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11402      else
11403	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11404      fi
11405      hardcode_libdir_flag_spec='-R$libdir'
11406      hardcode_direct=yes
11407      hardcode_shlibpath_var=no
11408      ;;
11409
11410    newsos6)
11411      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11412      hardcode_direct=yes
11413      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11414      hardcode_libdir_separator=:
11415      hardcode_shlibpath_var=no
11416      ;;
11417
11418    *nto* | *qnx*)
11419      ;;
11420
11421    openbsd* | bitrig*)
11422      if test -f /usr/libexec/ld.so; then
11423	hardcode_direct=yes
11424	hardcode_shlibpath_var=no
11425	hardcode_direct_absolute=yes
11426	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11427	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11428	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11429	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11430	  export_dynamic_flag_spec='$wl-E'
11431	else
11432	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11433	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11434	fi
11435      else
11436	ld_shlibs=no
11437      fi
11438      ;;
11439
11440    os2*)
11441      hardcode_libdir_flag_spec='-L$libdir'
11442      hardcode_minus_L=yes
11443      allow_undefined_flag=unsupported
11444      shrext_cmds=.dll
11445      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11446	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11447	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11448	$ECHO EXPORTS >> $output_objdir/$libname.def~
11449	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11450	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11451	emximp -o $lib $output_objdir/$libname.def'
11452      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11453	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11454	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11455	$ECHO EXPORTS >> $output_objdir/$libname.def~
11456	prefix_cmds="$SED"~
11457	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11458	  prefix_cmds="$prefix_cmds -e 1d";
11459	fi~
11460	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11461	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11462	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11463	emximp -o $lib $output_objdir/$libname.def'
11464      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11465      enable_shared_with_static_runtimes=yes
11466      file_list_spec='@'
11467      ;;
11468
11469    osf3*)
11470      if test yes = "$GCC"; then
11471	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11472	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'
11473      else
11474	allow_undefined_flag=' -expect_unresolved \*'
11475	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'
11476      fi
11477      archive_cmds_need_lc='no'
11478      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11479      hardcode_libdir_separator=:
11480      ;;
11481
11482    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11483      if test yes = "$GCC"; then
11484	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11485	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'
11486	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11487      else
11488	allow_undefined_flag=' -expect_unresolved \*'
11489	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'
11490	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~
11491          $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'
11492
11493	# Both c and cxx compiler support -rpath directly
11494	hardcode_libdir_flag_spec='-rpath $libdir'
11495      fi
11496      archive_cmds_need_lc='no'
11497      hardcode_libdir_separator=:
11498      ;;
11499
11500    solaris*)
11501      no_undefined_flag=' -z defs'
11502      if test yes = "$GCC"; then
11503	wlarc='$wl'
11504	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11505	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11506          $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'
11507      else
11508	case `$CC -V 2>&1` in
11509	*"Compilers 5.0"*)
11510	  wlarc=''
11511	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11512	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11513            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11514	  ;;
11515	*)
11516	  wlarc='$wl'
11517	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11518	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11519            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11520	  ;;
11521	esac
11522      fi
11523      hardcode_libdir_flag_spec='-R$libdir'
11524      hardcode_shlibpath_var=no
11525      case $host_os in
11526      solaris2.[0-5] | solaris2.[0-5].*) ;;
11527      *)
11528	# The compiler driver will combine and reorder linker options,
11529	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11530	# but is careful enough not to reorder.
11531	# Supported since Solaris 2.6 (maybe 2.5.1?)
11532	if test yes = "$GCC"; then
11533	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11534	else
11535	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11536	fi
11537	;;
11538      esac
11539      link_all_deplibs=yes
11540      ;;
11541
11542    sunos4*)
11543      if test sequent = "$host_vendor"; then
11544	# Use $CC to link under sequent, because it throws in some extra .o
11545	# files that make .init and .fini sections work.
11546	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11547      else
11548	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11549      fi
11550      hardcode_libdir_flag_spec='-L$libdir'
11551      hardcode_direct=yes
11552      hardcode_minus_L=yes
11553      hardcode_shlibpath_var=no
11554      ;;
11555
11556    sysv4)
11557      case $host_vendor in
11558	sni)
11559	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11560	  hardcode_direct=yes # is this really true???
11561	;;
11562	siemens)
11563	  ## LD is ld it makes a PLAMLIB
11564	  ## CC just makes a GrossModule.
11565	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11566	  reload_cmds='$CC -r -o $output$reload_objs'
11567	  hardcode_direct=no
11568        ;;
11569	motorola)
11570	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11571	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11572	;;
11573      esac
11574      runpath_var='LD_RUN_PATH'
11575      hardcode_shlibpath_var=no
11576      ;;
11577
11578    sysv4.3*)
11579      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11580      hardcode_shlibpath_var=no
11581      export_dynamic_flag_spec='-Bexport'
11582      ;;
11583
11584    sysv4*MP*)
11585      if test -d /usr/nec; then
11586	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11587	hardcode_shlibpath_var=no
11588	runpath_var=LD_RUN_PATH
11589	hardcode_runpath_var=yes
11590	ld_shlibs=yes
11591      fi
11592      ;;
11593
11594    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11595      no_undefined_flag='$wl-z,text'
11596      archive_cmds_need_lc=no
11597      hardcode_shlibpath_var=no
11598      runpath_var='LD_RUN_PATH'
11599
11600      if test yes = "$GCC"; then
11601	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11602	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11603      else
11604	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11605	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11606      fi
11607      ;;
11608
11609    sysv5* | sco3.2v5* | sco5v6*)
11610      # Note: We CANNOT use -z defs as we might desire, because we do not
11611      # link with -lc, and that would cause any symbols used from libc to
11612      # always be unresolved, which means just about no library would
11613      # ever link correctly.  If we're not using GNU ld we use -z text
11614      # though, which does catch some bad symbols but isn't as heavy-handed
11615      # as -z defs.
11616      no_undefined_flag='$wl-z,text'
11617      allow_undefined_flag='$wl-z,nodefs'
11618      archive_cmds_need_lc=no
11619      hardcode_shlibpath_var=no
11620      hardcode_libdir_flag_spec='$wl-R,$libdir'
11621      hardcode_libdir_separator=':'
11622      link_all_deplibs=yes
11623      export_dynamic_flag_spec='$wl-Bexport'
11624      runpath_var='LD_RUN_PATH'
11625
11626      if test yes = "$GCC"; then
11627	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11628	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11629      else
11630	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11631	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11632      fi
11633      ;;
11634
11635    uts4*)
11636      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11637      hardcode_libdir_flag_spec='-L$libdir'
11638      hardcode_shlibpath_var=no
11639      ;;
11640
11641    *)
11642      ld_shlibs=no
11643      ;;
11644    esac
11645
11646    if test sni = "$host_vendor"; then
11647      case $host in
11648      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11649	export_dynamic_flag_spec='$wl-Blargedynsym'
11650	;;
11651      esac
11652    fi
11653  fi
11654
11655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11656$as_echo "$ld_shlibs" >&6; }
11657test no = "$ld_shlibs" && can_build_shared=no
11658
11659with_gnu_ld=$with_gnu_ld
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675#
11676# Do we need to explicitly link libc?
11677#
11678case "x$archive_cmds_need_lc" in
11679x|xyes)
11680  # Assume -lc should be added
11681  archive_cmds_need_lc=yes
11682
11683  if test yes,yes = "$GCC,$enable_shared"; then
11684    case $archive_cmds in
11685    *'~'*)
11686      # FIXME: we may have to deal with multi-command sequences.
11687      ;;
11688    '$CC '*)
11689      # Test whether the compiler implicitly links with -lc since on some
11690      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11691      # to ld, don't add -lc before -lgcc.
11692      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11693$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11694if ${lt_cv_archive_cmds_need_lc+:} false; then :
11695  $as_echo_n "(cached) " >&6
11696else
11697  $RM conftest*
11698	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11699
11700	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11701  (eval $ac_compile) 2>&5
11702  ac_status=$?
11703  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11704  test $ac_status = 0; } 2>conftest.err; then
11705	  soname=conftest
11706	  lib=conftest
11707	  libobjs=conftest.$ac_objext
11708	  deplibs=
11709	  wl=$lt_prog_compiler_wl
11710	  pic_flag=$lt_prog_compiler_pic
11711	  compiler_flags=-v
11712	  linker_flags=-v
11713	  verstring=
11714	  output_objdir=.
11715	  libname=conftest
11716	  lt_save_allow_undefined_flag=$allow_undefined_flag
11717	  allow_undefined_flag=
11718	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11719  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11720  ac_status=$?
11721  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11722  test $ac_status = 0; }
11723	  then
11724	    lt_cv_archive_cmds_need_lc=no
11725	  else
11726	    lt_cv_archive_cmds_need_lc=yes
11727	  fi
11728	  allow_undefined_flag=$lt_save_allow_undefined_flag
11729	else
11730	  cat conftest.err 1>&5
11731	fi
11732	$RM conftest*
11733
11734fi
11735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11736$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11737      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11738      ;;
11739    esac
11740  fi
11741  ;;
11742esac
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11896$as_echo_n "checking dynamic linker characteristics... " >&6; }
11897
11898if test yes = "$GCC"; then
11899  case $host_os in
11900    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11901    *) lt_awk_arg='/^libraries:/' ;;
11902  esac
11903  case $host_os in
11904    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11905    *) lt_sed_strip_eq='s|=/|/|g' ;;
11906  esac
11907  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11908  case $lt_search_path_spec in
11909  *\;*)
11910    # if the path contains ";" then we assume it to be the separator
11911    # otherwise default to the standard path separator (i.e. ":") - it is
11912    # assumed that no part of a normal pathname contains ";" but that should
11913    # okay in the real world where ";" in dirpaths is itself problematic.
11914    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11915    ;;
11916  *)
11917    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11918    ;;
11919  esac
11920  # Ok, now we have the path, separated by spaces, we can step through it
11921  # and add multilib dir if necessary...
11922  lt_tmp_lt_search_path_spec=
11923  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11924  # ...but if some path component already ends with the multilib dir we assume
11925  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11926  case "$lt_multi_os_dir; $lt_search_path_spec " in
11927  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11928    lt_multi_os_dir=
11929    ;;
11930  esac
11931  for lt_sys_path in $lt_search_path_spec; do
11932    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11933      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11934    elif test -n "$lt_multi_os_dir"; then
11935      test -d "$lt_sys_path" && \
11936	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11937    fi
11938  done
11939  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11940BEGIN {RS = " "; FS = "/|\n";} {
11941  lt_foo = "";
11942  lt_count = 0;
11943  for (lt_i = NF; lt_i > 0; lt_i--) {
11944    if ($lt_i != "" && $lt_i != ".") {
11945      if ($lt_i == "..") {
11946        lt_count++;
11947      } else {
11948        if (lt_count == 0) {
11949          lt_foo = "/" $lt_i lt_foo;
11950        } else {
11951          lt_count--;
11952        }
11953      }
11954    }
11955  }
11956  if (lt_foo != "") { lt_freq[lt_foo]++; }
11957  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11958}'`
11959  # AWK program above erroneously prepends '/' to C:/dos/paths
11960  # for these hosts.
11961  case $host_os in
11962    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11963      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11964  esac
11965  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11966else
11967  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11968fi
11969library_names_spec=
11970libname_spec='lib$name'
11971soname_spec=
11972shrext_cmds=.so
11973postinstall_cmds=
11974postuninstall_cmds=
11975finish_cmds=
11976finish_eval=
11977shlibpath_var=
11978shlibpath_overrides_runpath=unknown
11979version_type=none
11980dynamic_linker="$host_os ld.so"
11981sys_lib_dlsearch_path_spec="/lib /usr/lib"
11982need_lib_prefix=unknown
11983hardcode_into_libs=no
11984
11985# when you set need_version to no, make sure it does not cause -set_version
11986# flags to be left without arguments
11987need_version=unknown
11988
11989
11990
11991case $host_os in
11992aix3*)
11993  version_type=linux # correct to gnu/linux during the next big refactor
11994  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11995  shlibpath_var=LIBPATH
11996
11997  # AIX 3 has no versioning support, so we append a major version to the name.
11998  soname_spec='$libname$release$shared_ext$major'
11999  ;;
12000
12001aix[4-9]*)
12002  version_type=linux # correct to gnu/linux during the next big refactor
12003  need_lib_prefix=no
12004  need_version=no
12005  hardcode_into_libs=yes
12006  if test ia64 = "$host_cpu"; then
12007    # AIX 5 supports IA64
12008    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12009    shlibpath_var=LD_LIBRARY_PATH
12010  else
12011    # With GCC up to 2.95.x, collect2 would create an import file
12012    # for dependence libraries.  The import file would start with
12013    # the line '#! .'.  This would cause the generated library to
12014    # depend on '.', always an invalid library.  This was fixed in
12015    # development snapshots of GCC prior to 3.0.
12016    case $host_os in
12017      aix4 | aix4.[01] | aix4.[01].*)
12018      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12019	   echo ' yes '
12020	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12021	:
12022      else
12023	can_build_shared=no
12024      fi
12025      ;;
12026    esac
12027    # Using Import Files as archive members, it is possible to support
12028    # filename-based versioning of shared library archives on AIX. While
12029    # this would work for both with and without runtime linking, it will
12030    # prevent static linking of such archives. So we do filename-based
12031    # shared library versioning with .so extension only, which is used
12032    # when both runtime linking and shared linking is enabled.
12033    # Unfortunately, runtime linking may impact performance, so we do
12034    # not want this to be the default eventually. Also, we use the
12035    # versioned .so libs for executables only if there is the -brtl
12036    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12037    # To allow for filename-based versioning support, we need to create
12038    # libNAME.so.V as an archive file, containing:
12039    # *) an Import File, referring to the versioned filename of the
12040    #    archive as well as the shared archive member, telling the
12041    #    bitwidth (32 or 64) of that shared object, and providing the
12042    #    list of exported symbols of that shared object, eventually
12043    #    decorated with the 'weak' keyword
12044    # *) the shared object with the F_LOADONLY flag set, to really avoid
12045    #    it being seen by the linker.
12046    # At run time we better use the real file rather than another symlink,
12047    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12048
12049    case $with_aix_soname,$aix_use_runtimelinking in
12050    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12051    # soname into executable. Probably we can add versioning support to
12052    # collect2, so additional links can be useful in future.
12053    aix,yes) # traditional libtool
12054      dynamic_linker='AIX unversionable lib.so'
12055      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12056      # instead of lib<name>.a to let people know that these are not
12057      # typical AIX shared libraries.
12058      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12059      ;;
12060    aix,no) # traditional AIX only
12061      dynamic_linker='AIX lib.a(lib.so.V)'
12062      # We preserve .a as extension for shared libraries through AIX4.2
12063      # and later when we are not doing run time linking.
12064      library_names_spec='$libname$release.a $libname.a'
12065      soname_spec='$libname$release$shared_ext$major'
12066      ;;
12067    svr4,*) # full svr4 only
12068      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12069      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12070      # We do not specify a path in Import Files, so LIBPATH fires.
12071      shlibpath_overrides_runpath=yes
12072      ;;
12073    *,yes) # both, prefer svr4
12074      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12075      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12076      # unpreferred sharedlib libNAME.a needs extra handling
12077      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"'
12078      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"'
12079      # We do not specify a path in Import Files, so LIBPATH fires.
12080      shlibpath_overrides_runpath=yes
12081      ;;
12082    *,no) # both, prefer aix
12083      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12084      library_names_spec='$libname$release.a $libname.a'
12085      soname_spec='$libname$release$shared_ext$major'
12086      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12087      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)'
12088      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"'
12089      ;;
12090    esac
12091    shlibpath_var=LIBPATH
12092  fi
12093  ;;
12094
12095amigaos*)
12096  case $host_cpu in
12097  powerpc)
12098    # Since July 2007 AmigaOS4 officially supports .so libraries.
12099    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12100    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12101    ;;
12102  m68k)
12103    library_names_spec='$libname.ixlibrary $libname.a'
12104    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12105    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'
12106    ;;
12107  esac
12108  ;;
12109
12110beos*)
12111  library_names_spec='$libname$shared_ext'
12112  dynamic_linker="$host_os ld.so"
12113  shlibpath_var=LIBRARY_PATH
12114  ;;
12115
12116bsdi[45]*)
12117  version_type=linux # correct to gnu/linux during the next big refactor
12118  need_version=no
12119  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12120  soname_spec='$libname$release$shared_ext$major'
12121  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12122  shlibpath_var=LD_LIBRARY_PATH
12123  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12124  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12125  # the default ld.so.conf also contains /usr/contrib/lib and
12126  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12127  # libtool to hard-code these into programs
12128  ;;
12129
12130cygwin* | mingw* | pw32* | cegcc*)
12131  version_type=windows
12132  shrext_cmds=.dll
12133  need_version=no
12134  need_lib_prefix=no
12135
12136  case $GCC,$cc_basename in
12137  yes,*)
12138    # gcc
12139    library_names_spec='$libname.dll.a'
12140    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12141    postinstall_cmds='base_file=`basename \$file`~
12142      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12143      dldir=$destdir/`dirname \$dlpath`~
12144      test -d \$dldir || mkdir -p \$dldir~
12145      $install_prog $dir/$dlname \$dldir/$dlname~
12146      chmod a+x \$dldir/$dlname~
12147      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12148        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12149      fi'
12150    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12151      dlpath=$dir/\$dldll~
12152       $RM \$dlpath'
12153    shlibpath_overrides_runpath=yes
12154
12155    case $host_os in
12156    cygwin*)
12157      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12158      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12159
12160      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12161      ;;
12162    mingw* | cegcc*)
12163      # MinGW DLLs use traditional 'lib' prefix
12164      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12165      ;;
12166    pw32*)
12167      # pw32 DLLs use 'pw' prefix rather than 'lib'
12168      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12169      ;;
12170    esac
12171    dynamic_linker='Win32 ld.exe'
12172    ;;
12173
12174  *,cl* | *,icl*)
12175    # Native MSVC or ICC
12176    libname_spec='$name'
12177    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12178    library_names_spec='$libname.dll.lib'
12179
12180    case $build_os in
12181    mingw*)
12182      sys_lib_search_path_spec=
12183      lt_save_ifs=$IFS
12184      IFS=';'
12185      for lt_path in $LIB
12186      do
12187        IFS=$lt_save_ifs
12188        # Let DOS variable expansion print the short 8.3 style file name.
12189        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12190        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12191      done
12192      IFS=$lt_save_ifs
12193      # Convert to MSYS style.
12194      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12195      ;;
12196    cygwin*)
12197      # Convert to unix form, then to dos form, then back to unix form
12198      # but this time dos style (no spaces!) so that the unix form looks
12199      # like /cygdrive/c/PROGRA~1:/cygdr...
12200      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12201      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12202      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12203      ;;
12204    *)
12205      sys_lib_search_path_spec=$LIB
12206      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12207        # It is most probably a Windows format PATH.
12208        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12209      else
12210        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12211      fi
12212      # FIXME: find the short name or the path components, as spaces are
12213      # common. (e.g. "Program Files" -> "PROGRA~1")
12214      ;;
12215    esac
12216
12217    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12218    postinstall_cmds='base_file=`basename \$file`~
12219      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12220      dldir=$destdir/`dirname \$dlpath`~
12221      test -d \$dldir || mkdir -p \$dldir~
12222      $install_prog $dir/$dlname \$dldir/$dlname'
12223    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12224      dlpath=$dir/\$dldll~
12225       $RM \$dlpath'
12226    shlibpath_overrides_runpath=yes
12227    dynamic_linker='Win32 link.exe'
12228    ;;
12229
12230  *)
12231    # Assume MSVC and ICC wrapper
12232    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12233    dynamic_linker='Win32 ld.exe'
12234    ;;
12235  esac
12236  # FIXME: first we should search . and the directory the executable is in
12237  shlibpath_var=PATH
12238  ;;
12239
12240darwin* | rhapsody*)
12241  dynamic_linker="$host_os dyld"
12242  version_type=darwin
12243  need_lib_prefix=no
12244  need_version=no
12245  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12246  soname_spec='$libname$release$major$shared_ext'
12247  shlibpath_overrides_runpath=yes
12248  shlibpath_var=DYLD_LIBRARY_PATH
12249  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12250
12251  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12252  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12253  ;;
12254
12255dgux*)
12256  version_type=linux # correct to gnu/linux during the next big refactor
12257  need_lib_prefix=no
12258  need_version=no
12259  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12260  soname_spec='$libname$release$shared_ext$major'
12261  shlibpath_var=LD_LIBRARY_PATH
12262  ;;
12263
12264freebsd* | dragonfly*)
12265  # DragonFly does not have aout.  When/if they implement a new
12266  # versioning mechanism, adjust this.
12267  if test -x /usr/bin/objformat; then
12268    objformat=`/usr/bin/objformat`
12269  else
12270    case $host_os in
12271    freebsd[23].*) objformat=aout ;;
12272    *) objformat=elf ;;
12273    esac
12274  fi
12275  version_type=freebsd-$objformat
12276  case $version_type in
12277    freebsd-elf*)
12278      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12279      soname_spec='$libname$release$shared_ext$major'
12280      need_version=no
12281      need_lib_prefix=no
12282      ;;
12283    freebsd-*)
12284      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12285      need_version=yes
12286      ;;
12287  esac
12288  shlibpath_var=LD_LIBRARY_PATH
12289  case $host_os in
12290  freebsd2.*)
12291    shlibpath_overrides_runpath=yes
12292    ;;
12293  freebsd3.[01]* | freebsdelf3.[01]*)
12294    shlibpath_overrides_runpath=yes
12295    hardcode_into_libs=yes
12296    ;;
12297  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12298  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12299    shlibpath_overrides_runpath=no
12300    hardcode_into_libs=yes
12301    ;;
12302  *) # from 4.6 on, and DragonFly
12303    shlibpath_overrides_runpath=yes
12304    hardcode_into_libs=yes
12305    ;;
12306  esac
12307  ;;
12308
12309haiku*)
12310  version_type=linux # correct to gnu/linux during the next big refactor
12311  need_lib_prefix=no
12312  need_version=no
12313  dynamic_linker="$host_os runtime_loader"
12314  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12315  soname_spec='$libname$release$shared_ext$major'
12316  shlibpath_var=LIBRARY_PATH
12317  shlibpath_overrides_runpath=no
12318  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12319  hardcode_into_libs=yes
12320  ;;
12321
12322hpux9* | hpux10* | hpux11*)
12323  # Give a soname corresponding to the major version so that dld.sl refuses to
12324  # link against other versions.
12325  version_type=sunos
12326  need_lib_prefix=no
12327  need_version=no
12328  case $host_cpu in
12329  ia64*)
12330    shrext_cmds='.so'
12331    hardcode_into_libs=yes
12332    dynamic_linker="$host_os dld.so"
12333    shlibpath_var=LD_LIBRARY_PATH
12334    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12335    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12336    soname_spec='$libname$release$shared_ext$major'
12337    if test 32 = "$HPUX_IA64_MODE"; then
12338      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12339      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12340    else
12341      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12342      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12343    fi
12344    ;;
12345  hppa*64*)
12346    shrext_cmds='.sl'
12347    hardcode_into_libs=yes
12348    dynamic_linker="$host_os dld.sl"
12349    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12350    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12351    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12352    soname_spec='$libname$release$shared_ext$major'
12353    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12354    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12355    ;;
12356  *)
12357    shrext_cmds='.sl'
12358    dynamic_linker="$host_os dld.sl"
12359    shlibpath_var=SHLIB_PATH
12360    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12361    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12362    soname_spec='$libname$release$shared_ext$major'
12363    ;;
12364  esac
12365  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12366  postinstall_cmds='chmod 555 $lib'
12367  # or fails outright, so override atomically:
12368  install_override_mode=555
12369  ;;
12370
12371interix[3-9]*)
12372  version_type=linux # correct to gnu/linux during the next big refactor
12373  need_lib_prefix=no
12374  need_version=no
12375  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12376  soname_spec='$libname$release$shared_ext$major'
12377  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12378  shlibpath_var=LD_LIBRARY_PATH
12379  shlibpath_overrides_runpath=no
12380  hardcode_into_libs=yes
12381  ;;
12382
12383irix5* | irix6* | nonstopux*)
12384  case $host_os in
12385    nonstopux*) version_type=nonstopux ;;
12386    *)
12387	if test yes = "$lt_cv_prog_gnu_ld"; then
12388		version_type=linux # correct to gnu/linux during the next big refactor
12389	else
12390		version_type=irix
12391	fi ;;
12392  esac
12393  need_lib_prefix=no
12394  need_version=no
12395  soname_spec='$libname$release$shared_ext$major'
12396  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12397  case $host_os in
12398  irix5* | nonstopux*)
12399    libsuff= shlibsuff=
12400    ;;
12401  *)
12402    case $LD in # libtool.m4 will add one of these switches to LD
12403    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12404      libsuff= shlibsuff= libmagic=32-bit;;
12405    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12406      libsuff=32 shlibsuff=N32 libmagic=N32;;
12407    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12408      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12409    *) libsuff= shlibsuff= libmagic=never-match;;
12410    esac
12411    ;;
12412  esac
12413  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12414  shlibpath_overrides_runpath=no
12415  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12416  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12417  hardcode_into_libs=yes
12418  ;;
12419
12420# No shared lib support for Linux oldld, aout, or coff.
12421linux*oldld* | linux*aout* | linux*coff*)
12422  dynamic_linker=no
12423  ;;
12424
12425linux*android*)
12426  version_type=none # Android doesn't support versioned libraries.
12427  need_lib_prefix=no
12428  need_version=no
12429  library_names_spec='$libname$release$shared_ext'
12430  soname_spec='$libname$release$shared_ext'
12431  finish_cmds=
12432  shlibpath_var=LD_LIBRARY_PATH
12433  shlibpath_overrides_runpath=yes
12434
12435  # This implies no fast_install, which is unacceptable.
12436  # Some rework will be needed to allow for fast_install
12437  # before this can be enabled.
12438  hardcode_into_libs=yes
12439
12440  dynamic_linker='Android linker'
12441  # Don't embed -rpath directories since the linker doesn't support them.
12442  hardcode_libdir_flag_spec='-L$libdir'
12443  ;;
12444
12445# This must be glibc/ELF.
12446linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12447  version_type=linux # correct to gnu/linux during the next big refactor
12448  need_lib_prefix=no
12449  need_version=no
12450  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12451  soname_spec='$libname$release$shared_ext$major'
12452  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12453  shlibpath_var=LD_LIBRARY_PATH
12454  shlibpath_overrides_runpath=no
12455
12456  # Some binutils ld are patched to set DT_RUNPATH
12457  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12458  $as_echo_n "(cached) " >&6
12459else
12460  lt_cv_shlibpath_overrides_runpath=no
12461    save_LDFLAGS=$LDFLAGS
12462    save_libdir=$libdir
12463    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12464	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12465    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466/* end confdefs.h.  */
12467
12468int
12469main ()
12470{
12471
12472  ;
12473  return 0;
12474}
12475_ACEOF
12476if ac_fn_c_try_link "$LINENO"; then :
12477  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12478  lt_cv_shlibpath_overrides_runpath=yes
12479fi
12480fi
12481rm -f core conftest.err conftest.$ac_objext \
12482    conftest$ac_exeext conftest.$ac_ext
12483    LDFLAGS=$save_LDFLAGS
12484    libdir=$save_libdir
12485
12486fi
12487
12488  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12489
12490  # This implies no fast_install, which is unacceptable.
12491  # Some rework will be needed to allow for fast_install
12492  # before this can be enabled.
12493  hardcode_into_libs=yes
12494
12495  # Ideally, we could use ldconfig to report *all* directores which are
12496  # searched for libraries, however this is still not possible.  Aside from not
12497  # being certain /sbin/ldconfig is available, command
12498  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12499  # even though it is searched at run-time.  Try to do the best guess by
12500  # appending ld.so.conf contents (and includes) to the search path.
12501  if test -f /etc/ld.so.conf; then
12502    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' ' '`
12503    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12504  fi
12505
12506  # We used to test for /lib/ld.so.1 and disable shared libraries on
12507  # powerpc, because MkLinux only supported shared libraries with the
12508  # GNU dynamic linker.  Since this was broken with cross compilers,
12509  # most powerpc-linux boxes support dynamic linking these days and
12510  # people can always --disable-shared, the test was removed, and we
12511  # assume the GNU/Linux dynamic linker is in use.
12512  dynamic_linker='GNU/Linux ld.so'
12513  ;;
12514
12515netbsd*)
12516  version_type=sunos
12517  need_lib_prefix=no
12518  need_version=no
12519  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12520    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12521    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12522    dynamic_linker='NetBSD (a.out) ld.so'
12523  else
12524    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12525    soname_spec='$libname$release$shared_ext$major'
12526    dynamic_linker='NetBSD ld.elf_so'
12527  fi
12528  shlibpath_var=LD_LIBRARY_PATH
12529  shlibpath_overrides_runpath=yes
12530  hardcode_into_libs=yes
12531  ;;
12532
12533newsos6)
12534  version_type=linux # correct to gnu/linux during the next big refactor
12535  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12536  shlibpath_var=LD_LIBRARY_PATH
12537  shlibpath_overrides_runpath=yes
12538  ;;
12539
12540*nto* | *qnx*)
12541  version_type=qnx
12542  need_lib_prefix=no
12543  need_version=no
12544  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12545  soname_spec='$libname$release$shared_ext$major'
12546  shlibpath_var=LD_LIBRARY_PATH
12547  shlibpath_overrides_runpath=no
12548  hardcode_into_libs=yes
12549  dynamic_linker='ldqnx.so'
12550  ;;
12551
12552openbsd* | bitrig*)
12553  version_type=sunos
12554  sys_lib_dlsearch_path_spec=/usr/lib
12555  need_lib_prefix=no
12556  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12557    need_version=no
12558  else
12559    need_version=yes
12560  fi
12561  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12562  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12563  shlibpath_var=LD_LIBRARY_PATH
12564  shlibpath_overrides_runpath=yes
12565  ;;
12566
12567os2*)
12568  libname_spec='$name'
12569  version_type=windows
12570  shrext_cmds=.dll
12571  need_version=no
12572  need_lib_prefix=no
12573  # OS/2 can only load a DLL with a base name of 8 characters or less.
12574  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12575    v=$($ECHO $release$versuffix | tr -d .-);
12576    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12577    $ECHO $n$v`$shared_ext'
12578  library_names_spec='${libname}_dll.$libext'
12579  dynamic_linker='OS/2 ld.exe'
12580  shlibpath_var=BEGINLIBPATH
12581  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12582  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12583  postinstall_cmds='base_file=`basename \$file`~
12584    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12585    dldir=$destdir/`dirname \$dlpath`~
12586    test -d \$dldir || mkdir -p \$dldir~
12587    $install_prog $dir/$dlname \$dldir/$dlname~
12588    chmod a+x \$dldir/$dlname~
12589    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12590      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12591    fi'
12592  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12593    dlpath=$dir/\$dldll~
12594    $RM \$dlpath'
12595  ;;
12596
12597osf3* | osf4* | osf5*)
12598  version_type=osf
12599  need_lib_prefix=no
12600  need_version=no
12601  soname_spec='$libname$release$shared_ext$major'
12602  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12603  shlibpath_var=LD_LIBRARY_PATH
12604  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12605  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12606  ;;
12607
12608rdos*)
12609  dynamic_linker=no
12610  ;;
12611
12612solaris*)
12613  version_type=linux # correct to gnu/linux during the next big refactor
12614  need_lib_prefix=no
12615  need_version=no
12616  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12617  soname_spec='$libname$release$shared_ext$major'
12618  shlibpath_var=LD_LIBRARY_PATH
12619  shlibpath_overrides_runpath=yes
12620  hardcode_into_libs=yes
12621  # ldd complains unless libraries are executable
12622  postinstall_cmds='chmod +x $lib'
12623  ;;
12624
12625sunos4*)
12626  version_type=sunos
12627  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12628  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12629  shlibpath_var=LD_LIBRARY_PATH
12630  shlibpath_overrides_runpath=yes
12631  if test yes = "$with_gnu_ld"; then
12632    need_lib_prefix=no
12633  fi
12634  need_version=yes
12635  ;;
12636
12637sysv4 | sysv4.3*)
12638  version_type=linux # correct to gnu/linux during the next big refactor
12639  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12640  soname_spec='$libname$release$shared_ext$major'
12641  shlibpath_var=LD_LIBRARY_PATH
12642  case $host_vendor in
12643    sni)
12644      shlibpath_overrides_runpath=no
12645      need_lib_prefix=no
12646      runpath_var=LD_RUN_PATH
12647      ;;
12648    siemens)
12649      need_lib_prefix=no
12650      ;;
12651    motorola)
12652      need_lib_prefix=no
12653      need_version=no
12654      shlibpath_overrides_runpath=no
12655      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12656      ;;
12657  esac
12658  ;;
12659
12660sysv4*MP*)
12661  if test -d /usr/nec; then
12662    version_type=linux # correct to gnu/linux during the next big refactor
12663    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12664    soname_spec='$libname$shared_ext.$major'
12665    shlibpath_var=LD_LIBRARY_PATH
12666  fi
12667  ;;
12668
12669sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12670  version_type=sco
12671  need_lib_prefix=no
12672  need_version=no
12673  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12674  soname_spec='$libname$release$shared_ext$major'
12675  shlibpath_var=LD_LIBRARY_PATH
12676  shlibpath_overrides_runpath=yes
12677  hardcode_into_libs=yes
12678  if test yes = "$with_gnu_ld"; then
12679    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12680  else
12681    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12682    case $host_os in
12683      sco3.2v5*)
12684        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12685	;;
12686    esac
12687  fi
12688  sys_lib_dlsearch_path_spec='/usr/lib'
12689  ;;
12690
12691tpf*)
12692  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12693  version_type=linux # correct to gnu/linux during the next big refactor
12694  need_lib_prefix=no
12695  need_version=no
12696  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12697  shlibpath_var=LD_LIBRARY_PATH
12698  shlibpath_overrides_runpath=no
12699  hardcode_into_libs=yes
12700  ;;
12701
12702uts4*)
12703  version_type=linux # correct to gnu/linux during the next big refactor
12704  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12705  soname_spec='$libname$release$shared_ext$major'
12706  shlibpath_var=LD_LIBRARY_PATH
12707  ;;
12708
12709*)
12710  dynamic_linker=no
12711  ;;
12712esac
12713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12714$as_echo "$dynamic_linker" >&6; }
12715test no = "$dynamic_linker" && can_build_shared=no
12716
12717variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12718if test yes = "$GCC"; then
12719  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12720fi
12721
12722if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12723  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12724fi
12725
12726if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12727  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12728fi
12729
12730# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12731configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12732
12733# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12734func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12735
12736# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12737configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12836$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12837hardcode_action=
12838if test -n "$hardcode_libdir_flag_spec" ||
12839   test -n "$runpath_var" ||
12840   test yes = "$hardcode_automatic"; then
12841
12842  # We can hardcode non-existent directories.
12843  if test no != "$hardcode_direct" &&
12844     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12845     # have to relink, otherwise we might link with an installed library
12846     # when we should be linking with a yet-to-be-installed one
12847     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12848     test no != "$hardcode_minus_L"; then
12849    # Linking always hardcodes the temporary library directory.
12850    hardcode_action=relink
12851  else
12852    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12853    hardcode_action=immediate
12854  fi
12855else
12856  # We cannot hardcode anything, or else we can only hardcode existing
12857  # directories.
12858  hardcode_action=unsupported
12859fi
12860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12861$as_echo "$hardcode_action" >&6; }
12862
12863if test relink = "$hardcode_action" ||
12864   test yes = "$inherit_rpath"; then
12865  # Fast installation is not supported
12866  enable_fast_install=no
12867elif test yes = "$shlibpath_overrides_runpath" ||
12868     test no = "$enable_shared"; then
12869  # Fast installation is not necessary
12870  enable_fast_install=needless
12871fi
12872
12873
12874
12875
12876
12877
12878  if test yes != "$enable_dlopen"; then
12879  enable_dlopen=unknown
12880  enable_dlopen_self=unknown
12881  enable_dlopen_self_static=unknown
12882else
12883  lt_cv_dlopen=no
12884  lt_cv_dlopen_libs=
12885
12886  case $host_os in
12887  beos*)
12888    lt_cv_dlopen=load_add_on
12889    lt_cv_dlopen_libs=
12890    lt_cv_dlopen_self=yes
12891    ;;
12892
12893  mingw* | pw32* | cegcc*)
12894    lt_cv_dlopen=LoadLibrary
12895    lt_cv_dlopen_libs=
12896    ;;
12897
12898  cygwin*)
12899    lt_cv_dlopen=dlopen
12900    lt_cv_dlopen_libs=
12901    ;;
12902
12903  darwin*)
12904    # if libdl is installed we need to link against it
12905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12906$as_echo_n "checking for dlopen in -ldl... " >&6; }
12907if ${ac_cv_lib_dl_dlopen+:} false; then :
12908  $as_echo_n "(cached) " >&6
12909else
12910  ac_check_lib_save_LIBS=$LIBS
12911LIBS="-ldl  $LIBS"
12912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913/* end confdefs.h.  */
12914
12915/* Override any GCC internal prototype to avoid an error.
12916   Use char because int might match the return type of a GCC
12917   builtin and then its argument prototype would still apply.  */
12918#ifdef __cplusplus
12919extern "C"
12920#endif
12921char dlopen ();
12922int
12923main ()
12924{
12925return dlopen ();
12926  ;
12927  return 0;
12928}
12929_ACEOF
12930if ac_fn_c_try_link "$LINENO"; then :
12931  ac_cv_lib_dl_dlopen=yes
12932else
12933  ac_cv_lib_dl_dlopen=no
12934fi
12935rm -f core conftest.err conftest.$ac_objext \
12936    conftest$ac_exeext conftest.$ac_ext
12937LIBS=$ac_check_lib_save_LIBS
12938fi
12939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12940$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12941if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12942  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12943else
12944
12945    lt_cv_dlopen=dyld
12946    lt_cv_dlopen_libs=
12947    lt_cv_dlopen_self=yes
12948
12949fi
12950
12951    ;;
12952
12953  tpf*)
12954    # Don't try to run any link tests for TPF.  We know it's impossible
12955    # because TPF is a cross-compiler, and we know how we open DSOs.
12956    lt_cv_dlopen=dlopen
12957    lt_cv_dlopen_libs=
12958    lt_cv_dlopen_self=no
12959    ;;
12960
12961  *)
12962    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12963if test "x$ac_cv_func_shl_load" = xyes; then :
12964  lt_cv_dlopen=shl_load
12965else
12966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12967$as_echo_n "checking for shl_load in -ldld... " >&6; }
12968if ${ac_cv_lib_dld_shl_load+:} false; then :
12969  $as_echo_n "(cached) " >&6
12970else
12971  ac_check_lib_save_LIBS=$LIBS
12972LIBS="-ldld  $LIBS"
12973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974/* end confdefs.h.  */
12975
12976/* Override any GCC internal prototype to avoid an error.
12977   Use char because int might match the return type of a GCC
12978   builtin and then its argument prototype would still apply.  */
12979#ifdef __cplusplus
12980extern "C"
12981#endif
12982char shl_load ();
12983int
12984main ()
12985{
12986return shl_load ();
12987  ;
12988  return 0;
12989}
12990_ACEOF
12991if ac_fn_c_try_link "$LINENO"; then :
12992  ac_cv_lib_dld_shl_load=yes
12993else
12994  ac_cv_lib_dld_shl_load=no
12995fi
12996rm -f core conftest.err conftest.$ac_objext \
12997    conftest$ac_exeext conftest.$ac_ext
12998LIBS=$ac_check_lib_save_LIBS
12999fi
13000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13001$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13002if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13003  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13004else
13005  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13006if test "x$ac_cv_func_dlopen" = xyes; then :
13007  lt_cv_dlopen=dlopen
13008else
13009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13010$as_echo_n "checking for dlopen in -ldl... " >&6; }
13011if ${ac_cv_lib_dl_dlopen+:} false; then :
13012  $as_echo_n "(cached) " >&6
13013else
13014  ac_check_lib_save_LIBS=$LIBS
13015LIBS="-ldl  $LIBS"
13016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017/* end confdefs.h.  */
13018
13019/* Override any GCC internal prototype to avoid an error.
13020   Use char because int might match the return type of a GCC
13021   builtin and then its argument prototype would still apply.  */
13022#ifdef __cplusplus
13023extern "C"
13024#endif
13025char dlopen ();
13026int
13027main ()
13028{
13029return dlopen ();
13030  ;
13031  return 0;
13032}
13033_ACEOF
13034if ac_fn_c_try_link "$LINENO"; then :
13035  ac_cv_lib_dl_dlopen=yes
13036else
13037  ac_cv_lib_dl_dlopen=no
13038fi
13039rm -f core conftest.err conftest.$ac_objext \
13040    conftest$ac_exeext conftest.$ac_ext
13041LIBS=$ac_check_lib_save_LIBS
13042fi
13043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13044$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13045if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13046  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13047else
13048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13049$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13050if ${ac_cv_lib_svld_dlopen+:} false; then :
13051  $as_echo_n "(cached) " >&6
13052else
13053  ac_check_lib_save_LIBS=$LIBS
13054LIBS="-lsvld  $LIBS"
13055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056/* end confdefs.h.  */
13057
13058/* Override any GCC internal prototype to avoid an error.
13059   Use char because int might match the return type of a GCC
13060   builtin and then its argument prototype would still apply.  */
13061#ifdef __cplusplus
13062extern "C"
13063#endif
13064char dlopen ();
13065int
13066main ()
13067{
13068return dlopen ();
13069  ;
13070  return 0;
13071}
13072_ACEOF
13073if ac_fn_c_try_link "$LINENO"; then :
13074  ac_cv_lib_svld_dlopen=yes
13075else
13076  ac_cv_lib_svld_dlopen=no
13077fi
13078rm -f core conftest.err conftest.$ac_objext \
13079    conftest$ac_exeext conftest.$ac_ext
13080LIBS=$ac_check_lib_save_LIBS
13081fi
13082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13083$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13084if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13085  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13086else
13087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13088$as_echo_n "checking for dld_link in -ldld... " >&6; }
13089if ${ac_cv_lib_dld_dld_link+:} false; then :
13090  $as_echo_n "(cached) " >&6
13091else
13092  ac_check_lib_save_LIBS=$LIBS
13093LIBS="-ldld  $LIBS"
13094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095/* end confdefs.h.  */
13096
13097/* Override any GCC internal prototype to avoid an error.
13098   Use char because int might match the return type of a GCC
13099   builtin and then its argument prototype would still apply.  */
13100#ifdef __cplusplus
13101extern "C"
13102#endif
13103char dld_link ();
13104int
13105main ()
13106{
13107return dld_link ();
13108  ;
13109  return 0;
13110}
13111_ACEOF
13112if ac_fn_c_try_link "$LINENO"; then :
13113  ac_cv_lib_dld_dld_link=yes
13114else
13115  ac_cv_lib_dld_dld_link=no
13116fi
13117rm -f core conftest.err conftest.$ac_objext \
13118    conftest$ac_exeext conftest.$ac_ext
13119LIBS=$ac_check_lib_save_LIBS
13120fi
13121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13122$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13123if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13124  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13125fi
13126
13127
13128fi
13129
13130
13131fi
13132
13133
13134fi
13135
13136
13137fi
13138
13139
13140fi
13141
13142    ;;
13143  esac
13144
13145  if test no = "$lt_cv_dlopen"; then
13146    enable_dlopen=no
13147  else
13148    enable_dlopen=yes
13149  fi
13150
13151  case $lt_cv_dlopen in
13152  dlopen)
13153    save_CPPFLAGS=$CPPFLAGS
13154    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13155
13156    save_LDFLAGS=$LDFLAGS
13157    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13158
13159    save_LIBS=$LIBS
13160    LIBS="$lt_cv_dlopen_libs $LIBS"
13161
13162    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13163$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13164if ${lt_cv_dlopen_self+:} false; then :
13165  $as_echo_n "(cached) " >&6
13166else
13167  	  if test yes = "$cross_compiling"; then :
13168  lt_cv_dlopen_self=cross
13169else
13170  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13171  lt_status=$lt_dlunknown
13172  cat > conftest.$ac_ext <<_LT_EOF
13173#line $LINENO "configure"
13174#include "confdefs.h"
13175
13176#if HAVE_DLFCN_H
13177#include <dlfcn.h>
13178#endif
13179
13180#include <stdio.h>
13181
13182#ifdef RTLD_GLOBAL
13183#  define LT_DLGLOBAL		RTLD_GLOBAL
13184#else
13185#  ifdef DL_GLOBAL
13186#    define LT_DLGLOBAL		DL_GLOBAL
13187#  else
13188#    define LT_DLGLOBAL		0
13189#  endif
13190#endif
13191
13192/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13193   find out it does not work in some platform. */
13194#ifndef LT_DLLAZY_OR_NOW
13195#  ifdef RTLD_LAZY
13196#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13197#  else
13198#    ifdef DL_LAZY
13199#      define LT_DLLAZY_OR_NOW		DL_LAZY
13200#    else
13201#      ifdef RTLD_NOW
13202#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13203#      else
13204#        ifdef DL_NOW
13205#          define LT_DLLAZY_OR_NOW	DL_NOW
13206#        else
13207#          define LT_DLLAZY_OR_NOW	0
13208#        endif
13209#      endif
13210#    endif
13211#  endif
13212#endif
13213
13214/* When -fvisibility=hidden is used, assume the code has been annotated
13215   correspondingly for the symbols needed.  */
13216#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13217int fnord () __attribute__((visibility("default")));
13218#endif
13219
13220int fnord () { return 42; }
13221int main ()
13222{
13223  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13224  int status = $lt_dlunknown;
13225
13226  if (self)
13227    {
13228      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13229      else
13230        {
13231	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13232          else puts (dlerror ());
13233	}
13234      /* dlclose (self); */
13235    }
13236  else
13237    puts (dlerror ());
13238
13239  return status;
13240}
13241_LT_EOF
13242  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13243  (eval $ac_link) 2>&5
13244  ac_status=$?
13245  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13246  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13247    (./conftest; exit; ) >&5 2>/dev/null
13248    lt_status=$?
13249    case x$lt_status in
13250      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13251      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13252      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13253    esac
13254  else :
13255    # compilation failed
13256    lt_cv_dlopen_self=no
13257  fi
13258fi
13259rm -fr conftest*
13260
13261
13262fi
13263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13264$as_echo "$lt_cv_dlopen_self" >&6; }
13265
13266    if test yes = "$lt_cv_dlopen_self"; then
13267      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13268      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13269$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13270if ${lt_cv_dlopen_self_static+:} false; then :
13271  $as_echo_n "(cached) " >&6
13272else
13273  	  if test yes = "$cross_compiling"; then :
13274  lt_cv_dlopen_self_static=cross
13275else
13276  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13277  lt_status=$lt_dlunknown
13278  cat > conftest.$ac_ext <<_LT_EOF
13279#line $LINENO "configure"
13280#include "confdefs.h"
13281
13282#if HAVE_DLFCN_H
13283#include <dlfcn.h>
13284#endif
13285
13286#include <stdio.h>
13287
13288#ifdef RTLD_GLOBAL
13289#  define LT_DLGLOBAL		RTLD_GLOBAL
13290#else
13291#  ifdef DL_GLOBAL
13292#    define LT_DLGLOBAL		DL_GLOBAL
13293#  else
13294#    define LT_DLGLOBAL		0
13295#  endif
13296#endif
13297
13298/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13299   find out it does not work in some platform. */
13300#ifndef LT_DLLAZY_OR_NOW
13301#  ifdef RTLD_LAZY
13302#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13303#  else
13304#    ifdef DL_LAZY
13305#      define LT_DLLAZY_OR_NOW		DL_LAZY
13306#    else
13307#      ifdef RTLD_NOW
13308#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13309#      else
13310#        ifdef DL_NOW
13311#          define LT_DLLAZY_OR_NOW	DL_NOW
13312#        else
13313#          define LT_DLLAZY_OR_NOW	0
13314#        endif
13315#      endif
13316#    endif
13317#  endif
13318#endif
13319
13320/* When -fvisibility=hidden is used, assume the code has been annotated
13321   correspondingly for the symbols needed.  */
13322#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13323int fnord () __attribute__((visibility("default")));
13324#endif
13325
13326int fnord () { return 42; }
13327int main ()
13328{
13329  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13330  int status = $lt_dlunknown;
13331
13332  if (self)
13333    {
13334      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13335      else
13336        {
13337	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13338          else puts (dlerror ());
13339	}
13340      /* dlclose (self); */
13341    }
13342  else
13343    puts (dlerror ());
13344
13345  return status;
13346}
13347_LT_EOF
13348  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13349  (eval $ac_link) 2>&5
13350  ac_status=$?
13351  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13352  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13353    (./conftest; exit; ) >&5 2>/dev/null
13354    lt_status=$?
13355    case x$lt_status in
13356      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13357      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13358      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13359    esac
13360  else :
13361    # compilation failed
13362    lt_cv_dlopen_self_static=no
13363  fi
13364fi
13365rm -fr conftest*
13366
13367
13368fi
13369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13370$as_echo "$lt_cv_dlopen_self_static" >&6; }
13371    fi
13372
13373    CPPFLAGS=$save_CPPFLAGS
13374    LDFLAGS=$save_LDFLAGS
13375    LIBS=$save_LIBS
13376    ;;
13377  esac
13378
13379  case $lt_cv_dlopen_self in
13380  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13381  *) enable_dlopen_self=unknown ;;
13382  esac
13383
13384  case $lt_cv_dlopen_self_static in
13385  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13386  *) enable_dlopen_self_static=unknown ;;
13387  esac
13388fi
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406striplib=
13407old_striplib=
13408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13409$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13410if test -z "$STRIP"; then
13411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13412$as_echo "no" >&6; }
13413else
13414  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13415    old_striplib="$STRIP --strip-debug"
13416    striplib="$STRIP --strip-unneeded"
13417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13418$as_echo "yes" >&6; }
13419  else
13420    case $host_os in
13421    darwin*)
13422      # FIXME - insert some real tests, host_os isn't really good enough
13423      striplib="$STRIP -x"
13424      old_striplib="$STRIP -S"
13425      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13426$as_echo "yes" >&6; }
13427      ;;
13428    freebsd*)
13429      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
13430        old_striplib="$STRIP --strip-debug"
13431        striplib="$STRIP --strip-unneeded"
13432        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13433$as_echo "yes" >&6; }
13434      else
13435        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13436$as_echo "no" >&6; }
13437      fi
13438      ;;
13439    *)
13440      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13441$as_echo "no" >&6; }
13442      ;;
13443    esac
13444  fi
13445fi
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458  # Report what library types will actually be built
13459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13460$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13462$as_echo "$can_build_shared" >&6; }
13463
13464  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13465$as_echo_n "checking whether to build shared libraries... " >&6; }
13466  test no = "$can_build_shared" && enable_shared=no
13467
13468  # On AIX, shared libraries and static libraries use the same namespace, and
13469  # are all built from PIC.
13470  case $host_os in
13471  aix3*)
13472    test yes = "$enable_shared" && enable_static=no
13473    if test -n "$RANLIB"; then
13474      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13475      postinstall_cmds='$RANLIB $lib'
13476    fi
13477    ;;
13478
13479  aix[4-9]*)
13480    if test ia64 != "$host_cpu"; then
13481      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13482      yes,aix,yes) ;;			# shared object as lib.so file only
13483      yes,svr4,*) ;;			# shared object as lib.so archive member only
13484      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13485      esac
13486    fi
13487    ;;
13488  esac
13489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13490$as_echo "$enable_shared" >&6; }
13491
13492  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13493$as_echo_n "checking whether to build static libraries... " >&6; }
13494  # Make sure either enable_shared or enable_static is yes.
13495  test yes = "$enable_shared" || enable_static=yes
13496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13497$as_echo "$enable_static" >&6; }
13498
13499
13500
13501
13502fi
13503ac_ext=c
13504ac_cpp='$CPP $CPPFLAGS'
13505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507ac_compiler_gnu=$ac_cv_c_compiler_gnu
13508
13509CC=$lt_save_CC
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525        ac_config_commands="$ac_config_commands libtool"
13526
13527
13528
13529
13530# Only expand once:
13531
13532
13533
13534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13535$as_echo_n "checking for ANSI C header files... " >&6; }
13536if ${ac_cv_header_stdc+:} false; then :
13537  $as_echo_n "(cached) " >&6
13538else
13539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540/* end confdefs.h.  */
13541#include <stdlib.h>
13542#include <stdarg.h>
13543#include <string.h>
13544#include <float.h>
13545
13546int
13547main ()
13548{
13549
13550  ;
13551  return 0;
13552}
13553_ACEOF
13554if ac_fn_c_try_compile "$LINENO"; then :
13555  ac_cv_header_stdc=yes
13556else
13557  ac_cv_header_stdc=no
13558fi
13559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13560
13561if test $ac_cv_header_stdc = yes; then
13562  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13563  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564/* end confdefs.h.  */
13565#include <string.h>
13566
13567_ACEOF
13568if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13569  $EGREP "memchr" >/dev/null 2>&1; then :
13570
13571else
13572  ac_cv_header_stdc=no
13573fi
13574rm -f conftest*
13575
13576fi
13577
13578if test $ac_cv_header_stdc = yes; then
13579  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13580  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581/* end confdefs.h.  */
13582#include <stdlib.h>
13583
13584_ACEOF
13585if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13586  $EGREP "free" >/dev/null 2>&1; then :
13587
13588else
13589  ac_cv_header_stdc=no
13590fi
13591rm -f conftest*
13592
13593fi
13594
13595if test $ac_cv_header_stdc = yes; then
13596  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13597  if test "$cross_compiling" = yes; then :
13598  :
13599else
13600  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601/* end confdefs.h.  */
13602#include <ctype.h>
13603#include <stdlib.h>
13604#if ((' ' & 0x0FF) == 0x020)
13605# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13606# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13607#else
13608# define ISLOWER(c) \
13609		   (('a' <= (c) && (c) <= 'i') \
13610		     || ('j' <= (c) && (c) <= 'r') \
13611		     || ('s' <= (c) && (c) <= 'z'))
13612# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13613#endif
13614
13615#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13616int
13617main ()
13618{
13619  int i;
13620  for (i = 0; i < 256; i++)
13621    if (XOR (islower (i), ISLOWER (i))
13622	|| toupper (i) != TOUPPER (i))
13623      return 2;
13624  return 0;
13625}
13626_ACEOF
13627if ac_fn_c_try_run "$LINENO"; then :
13628
13629else
13630  ac_cv_header_stdc=no
13631fi
13632rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13633  conftest.$ac_objext conftest.beam conftest.$ac_ext
13634fi
13635
13636fi
13637fi
13638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13639$as_echo "$ac_cv_header_stdc" >&6; }
13640if test $ac_cv_header_stdc = yes; then
13641
13642$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13643
13644fi
13645
13646
13647
13648    GETTEXT_PACKAGE=xfce4-verve-plugin
13649
13650cat >>confdefs.h <<_ACEOF
13651#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13652_ACEOF
13653
13654
13655
13656    ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_CA en_GB eo es eu fi fr gl he hr hu hy_AM hye id ie is it ja ko lt lv ms nb nl oc pa pl pt_BR pt ro ru sk sl sq sr sv th tr ug uk ur_PK ur vi zh_CN zh_TW"
13657
13658   for ac_header in locale.h
13659do :
13660  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13661if test "x$ac_cv_header_locale_h" = xyes; then :
13662  cat >>confdefs.h <<_ACEOF
13663#define HAVE_LOCALE_H 1
13664_ACEOF
13665
13666fi
13667
13668done
13669
13670    if test $ac_cv_header_locale_h = yes; then
13671    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13672$as_echo_n "checking for LC_MESSAGES... " >&6; }
13673if ${am_cv_val_LC_MESSAGES+:} false; then :
13674  $as_echo_n "(cached) " >&6
13675else
13676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677/* end confdefs.h.  */
13678#include <locale.h>
13679int
13680main ()
13681{
13682return LC_MESSAGES
13683  ;
13684  return 0;
13685}
13686_ACEOF
13687if ac_fn_c_try_link "$LINENO"; then :
13688  am_cv_val_LC_MESSAGES=yes
13689else
13690  am_cv_val_LC_MESSAGES=no
13691fi
13692rm -f core conftest.err conftest.$ac_objext \
13693    conftest$ac_exeext conftest.$ac_ext
13694fi
13695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13696$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13697    if test $am_cv_val_LC_MESSAGES = yes; then
13698
13699$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13700
13701    fi
13702  fi
13703     USE_NLS=yes
13704
13705
13706    gt_cv_have_gettext=no
13707
13708    CATOBJEXT=NONE
13709    XGETTEXT=:
13710    INTLLIBS=
13711
13712
13713    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13714$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13715if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13716  $as_echo_n "(cached) " >&6
13717else
13718  gt_save_LIBS="$LIBS"
13719     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13720     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721/* end confdefs.h.  */
13722#include <CoreFoundation/CFPreferences.h>
13723int
13724main ()
13725{
13726CFPreferencesCopyAppValue(NULL, NULL)
13727  ;
13728  return 0;
13729}
13730_ACEOF
13731if ac_fn_c_try_link "$LINENO"; then :
13732  gt_cv_func_CFPreferencesCopyAppValue=yes
13733else
13734  gt_cv_func_CFPreferencesCopyAppValue=no
13735fi
13736rm -f core conftest.err conftest.$ac_objext \
13737    conftest$ac_exeext conftest.$ac_ext
13738     LIBS="$gt_save_LIBS"
13739fi
13740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13741$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13742  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13743
13744$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13745
13746  fi
13747    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13748$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13749if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13750  $as_echo_n "(cached) " >&6
13751else
13752  gt_save_LIBS="$LIBS"
13753     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13754     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755/* end confdefs.h.  */
13756#include <CoreFoundation/CFLocale.h>
13757int
13758main ()
13759{
13760CFLocaleCopyCurrent();
13761  ;
13762  return 0;
13763}
13764_ACEOF
13765if ac_fn_c_try_link "$LINENO"; then :
13766  gt_cv_func_CFLocaleCopyCurrent=yes
13767else
13768  gt_cv_func_CFLocaleCopyCurrent=no
13769fi
13770rm -f core conftest.err conftest.$ac_objext \
13771    conftest$ac_exeext conftest.$ac_ext
13772     LIBS="$gt_save_LIBS"
13773fi
13774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13775$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13776  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13777
13778$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13779
13780  fi
13781  INTL_MACOSX_LIBS=
13782  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13783    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13784  fi
13785
13786
13787
13788    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13789if test "x$ac_cv_header_libintl_h" = xyes; then :
13790  gt_cv_func_dgettext_libintl="no"
13791      libintl_extra_libs=""
13792
13793      #
13794      # First check in libc
13795      #
13796      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13797$as_echo_n "checking for ngettext in libc... " >&6; }
13798if ${gt_cv_func_ngettext_libc+:} false; then :
13799  $as_echo_n "(cached) " >&6
13800else
13801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802/* end confdefs.h.  */
13803
13804#include <libintl.h>
13805
13806int
13807main ()
13808{
13809return !ngettext ("","", 1)
13810  ;
13811  return 0;
13812}
13813_ACEOF
13814if ac_fn_c_try_link "$LINENO"; then :
13815  gt_cv_func_ngettext_libc=yes
13816else
13817  gt_cv_func_ngettext_libc=no
13818fi
13819rm -f core conftest.err conftest.$ac_objext \
13820    conftest$ac_exeext conftest.$ac_ext
13821
13822fi
13823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13824$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13825
13826      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13827	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13828$as_echo_n "checking for dgettext in libc... " >&6; }
13829if ${gt_cv_func_dgettext_libc+:} false; then :
13830  $as_echo_n "(cached) " >&6
13831else
13832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833/* end confdefs.h.  */
13834
13835#include <libintl.h>
13836
13837int
13838main ()
13839{
13840return !dgettext ("","")
13841  ;
13842  return 0;
13843}
13844_ACEOF
13845if ac_fn_c_try_link "$LINENO"; then :
13846  gt_cv_func_dgettext_libc=yes
13847else
13848  gt_cv_func_dgettext_libc=no
13849fi
13850rm -f core conftest.err conftest.$ac_objext \
13851    conftest$ac_exeext conftest.$ac_ext
13852
13853fi
13854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13855$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13856      fi
13857
13858      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13859        for ac_func in bind_textdomain_codeset
13860do :
13861  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13862if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13863  cat >>confdefs.h <<_ACEOF
13864#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13865_ACEOF
13866
13867fi
13868done
13869
13870      fi
13871
13872      #
13873      # If we don't have everything we want, check in libintl
13874      #
13875      if test "$gt_cv_func_dgettext_libc" != "yes" \
13876	 || test "$gt_cv_func_ngettext_libc" != "yes" \
13877         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13878
13879        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13880$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13881if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13882  $as_echo_n "(cached) " >&6
13883else
13884  ac_check_lib_save_LIBS=$LIBS
13885LIBS="-lintl  $LIBS"
13886cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887/* end confdefs.h.  */
13888
13889/* Override any GCC internal prototype to avoid an error.
13890   Use char because int might match the return type of a GCC
13891   builtin and then its argument prototype would still apply.  */
13892#ifdef __cplusplus
13893extern "C"
13894#endif
13895char bindtextdomain ();
13896int
13897main ()
13898{
13899return bindtextdomain ();
13900  ;
13901  return 0;
13902}
13903_ACEOF
13904if ac_fn_c_try_link "$LINENO"; then :
13905  ac_cv_lib_intl_bindtextdomain=yes
13906else
13907  ac_cv_lib_intl_bindtextdomain=no
13908fi
13909rm -f core conftest.err conftest.$ac_objext \
13910    conftest$ac_exeext conftest.$ac_ext
13911LIBS=$ac_check_lib_save_LIBS
13912fi
13913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13914$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13915if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13917$as_echo_n "checking for ngettext in -lintl... " >&6; }
13918if ${ac_cv_lib_intl_ngettext+:} false; then :
13919  $as_echo_n "(cached) " >&6
13920else
13921  ac_check_lib_save_LIBS=$LIBS
13922LIBS="-lintl  $LIBS"
13923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924/* end confdefs.h.  */
13925
13926/* Override any GCC internal prototype to avoid an error.
13927   Use char because int might match the return type of a GCC
13928   builtin and then its argument prototype would still apply.  */
13929#ifdef __cplusplus
13930extern "C"
13931#endif
13932char ngettext ();
13933int
13934main ()
13935{
13936return ngettext ();
13937  ;
13938  return 0;
13939}
13940_ACEOF
13941if ac_fn_c_try_link "$LINENO"; then :
13942  ac_cv_lib_intl_ngettext=yes
13943else
13944  ac_cv_lib_intl_ngettext=no
13945fi
13946rm -f core conftest.err conftest.$ac_objext \
13947    conftest$ac_exeext conftest.$ac_ext
13948LIBS=$ac_check_lib_save_LIBS
13949fi
13950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13951$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13952if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13954$as_echo_n "checking for dgettext in -lintl... " >&6; }
13955if ${ac_cv_lib_intl_dgettext+:} false; then :
13956  $as_echo_n "(cached) " >&6
13957else
13958  ac_check_lib_save_LIBS=$LIBS
13959LIBS="-lintl  $LIBS"
13960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961/* end confdefs.h.  */
13962
13963/* Override any GCC internal prototype to avoid an error.
13964   Use char because int might match the return type of a GCC
13965   builtin and then its argument prototype would still apply.  */
13966#ifdef __cplusplus
13967extern "C"
13968#endif
13969char dgettext ();
13970int
13971main ()
13972{
13973return dgettext ();
13974  ;
13975  return 0;
13976}
13977_ACEOF
13978if ac_fn_c_try_link "$LINENO"; then :
13979  ac_cv_lib_intl_dgettext=yes
13980else
13981  ac_cv_lib_intl_dgettext=no
13982fi
13983rm -f core conftest.err conftest.$ac_objext \
13984    conftest$ac_exeext conftest.$ac_ext
13985LIBS=$ac_check_lib_save_LIBS
13986fi
13987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13988$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13989if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13990  gt_cv_func_dgettext_libintl=yes
13991fi
13992
13993fi
13994
13995fi
13996
13997
13998	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13999	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14000$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14001	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14002$as_echo "" >&6; }
14003  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14004$as_echo_n "checking for ngettext in -lintl... " >&6; }
14005if ${ac_cv_lib_intl_ngettext+:} false; then :
14006  $as_echo_n "(cached) " >&6
14007else
14008  ac_check_lib_save_LIBS=$LIBS
14009LIBS="-lintl -liconv $LIBS"
14010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011/* end confdefs.h.  */
14012
14013/* Override any GCC internal prototype to avoid an error.
14014   Use char because int might match the return type of a GCC
14015   builtin and then its argument prototype would still apply.  */
14016#ifdef __cplusplus
14017extern "C"
14018#endif
14019char ngettext ();
14020int
14021main ()
14022{
14023return ngettext ();
14024  ;
14025  return 0;
14026}
14027_ACEOF
14028if ac_fn_c_try_link "$LINENO"; then :
14029  ac_cv_lib_intl_ngettext=yes
14030else
14031  ac_cv_lib_intl_ngettext=no
14032fi
14033rm -f core conftest.err conftest.$ac_objext \
14034    conftest$ac_exeext conftest.$ac_ext
14035LIBS=$ac_check_lib_save_LIBS
14036fi
14037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14038$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14039if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14041$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14042if ${ac_cv_lib_intl_dcgettext+:} false; then :
14043  $as_echo_n "(cached) " >&6
14044else
14045  ac_check_lib_save_LIBS=$LIBS
14046LIBS="-lintl -liconv $LIBS"
14047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048/* end confdefs.h.  */
14049
14050/* Override any GCC internal prototype to avoid an error.
14051   Use char because int might match the return type of a GCC
14052   builtin and then its argument prototype would still apply.  */
14053#ifdef __cplusplus
14054extern "C"
14055#endif
14056char dcgettext ();
14057int
14058main ()
14059{
14060return dcgettext ();
14061  ;
14062  return 0;
14063}
14064_ACEOF
14065if ac_fn_c_try_link "$LINENO"; then :
14066  ac_cv_lib_intl_dcgettext=yes
14067else
14068  ac_cv_lib_intl_dcgettext=no
14069fi
14070rm -f core conftest.err conftest.$ac_objext \
14071    conftest$ac_exeext conftest.$ac_ext
14072LIBS=$ac_check_lib_save_LIBS
14073fi
14074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14075$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14076if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14077  gt_cv_func_dgettext_libintl=yes
14078			libintl_extra_libs=-liconv
14079else
14080  :
14081fi
14082
14083else
14084  :
14085fi
14086
14087        fi
14088
14089        #
14090        # If we found libintl, then check in it for bind_textdomain_codeset();
14091        # we'll prefer libc if neither have bind_textdomain_codeset(),
14092        # and both have dgettext and ngettext
14093        #
14094        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14095          glib_save_LIBS="$LIBS"
14096          LIBS="$LIBS -lintl $libintl_extra_libs"
14097          unset ac_cv_func_bind_textdomain_codeset
14098          for ac_func in bind_textdomain_codeset
14099do :
14100  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14101if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14102  cat >>confdefs.h <<_ACEOF
14103#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14104_ACEOF
14105
14106fi
14107done
14108
14109          LIBS="$glib_save_LIBS"
14110
14111          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14112            gt_cv_func_dgettext_libc=no
14113          else
14114            if test "$gt_cv_func_dgettext_libc" = "yes" \
14115		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14116              gt_cv_func_dgettext_libintl=no
14117            fi
14118          fi
14119        fi
14120      fi
14121
14122      if test "$gt_cv_func_dgettext_libc" = "yes" \
14123	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14124        gt_cv_have_gettext=yes
14125      fi
14126
14127      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14128        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
14129      fi
14130
14131      if test "$gt_cv_have_gettext" = "yes"; then
14132
14133$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14134
14135	# Extract the first word of "msgfmt", so it can be a program name with args.
14136set dummy msgfmt; ac_word=$2
14137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14138$as_echo_n "checking for $ac_word... " >&6; }
14139if ${ac_cv_path_MSGFMT+:} false; then :
14140  $as_echo_n "(cached) " >&6
14141else
14142  case "$MSGFMT" in
14143  /*)
14144  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14145  ;;
14146  *)
14147  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14148  for ac_dir in $PATH; do
14149    test -z "$ac_dir" && ac_dir=.
14150    if test -f $ac_dir/$ac_word; then
14151      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14152	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14153	break
14154      fi
14155    fi
14156  done
14157  IFS="$ac_save_ifs"
14158  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14159  ;;
14160esac
14161fi
14162MSGFMT="$ac_cv_path_MSGFMT"
14163if test "$MSGFMT" != "no"; then
14164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14165$as_echo "$MSGFMT" >&6; }
14166else
14167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14168$as_echo "no" >&6; }
14169fi
14170	if test "$MSGFMT" != "no"; then
14171          glib_save_LIBS="$LIBS"
14172          LIBS="$LIBS $INTLLIBS"
14173	  for ac_func in dcgettext
14174do :
14175  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14176if test "x$ac_cv_func_dcgettext" = xyes; then :
14177  cat >>confdefs.h <<_ACEOF
14178#define HAVE_DCGETTEXT 1
14179_ACEOF
14180
14181fi
14182done
14183
14184	  MSGFMT_OPTS=
14185	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14186$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14187	  cat >conftest.foo <<_ACEOF
14188
14189msgid ""
14190msgstr ""
14191"Content-Type: text/plain; charset=UTF-8\n"
14192"Project-Id-Version: test 1.0\n"
14193"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14194"Last-Translator: test <foo@bar.xx>\n"
14195"Language-Team: C <LL@li.org>\n"
14196"MIME-Version: 1.0\n"
14197"Content-Transfer-Encoding: 8bit\n"
14198
14199_ACEOF
14200if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14201  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14202  ac_status=$?
14203  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14204  test $ac_status = 0; }; then
14205  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14206$as_echo "yes" >&6; }
14207else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14208$as_echo "no" >&6; }
14209echo "$as_me: failed input was:" >&5
14210sed 's/^/| /' conftest.foo >&5
14211fi
14212
14213	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14214set dummy gmsgfmt; ac_word=$2
14215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14216$as_echo_n "checking for $ac_word... " >&6; }
14217if ${ac_cv_path_GMSGFMT+:} false; then :
14218  $as_echo_n "(cached) " >&6
14219else
14220  case $GMSGFMT in
14221  [\\/]* | ?:[\\/]*)
14222  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14223  ;;
14224  *)
14225  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226for as_dir in $PATH
14227do
14228  IFS=$as_save_IFS
14229  test -z "$as_dir" && as_dir=.
14230    for ac_exec_ext in '' $ac_executable_extensions; do
14231  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14232    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14233    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14234    break 2
14235  fi
14236done
14237  done
14238IFS=$as_save_IFS
14239
14240  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14241  ;;
14242esac
14243fi
14244GMSGFMT=$ac_cv_path_GMSGFMT
14245if test -n "$GMSGFMT"; then
14246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14247$as_echo "$GMSGFMT" >&6; }
14248else
14249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14250$as_echo "no" >&6; }
14251fi
14252
14253
14254	  # Extract the first word of "xgettext", so it can be a program name with args.
14255set dummy xgettext; ac_word=$2
14256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14257$as_echo_n "checking for $ac_word... " >&6; }
14258if ${ac_cv_path_XGETTEXT+:} false; then :
14259  $as_echo_n "(cached) " >&6
14260else
14261  case "$XGETTEXT" in
14262  /*)
14263  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14264  ;;
14265  *)
14266  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14267  for ac_dir in $PATH; do
14268    test -z "$ac_dir" && ac_dir=.
14269    if test -f $ac_dir/$ac_word; then
14270      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14271	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14272	break
14273      fi
14274    fi
14275  done
14276  IFS="$ac_save_ifs"
14277  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14278  ;;
14279esac
14280fi
14281XGETTEXT="$ac_cv_path_XGETTEXT"
14282if test "$XGETTEXT" != ":"; then
14283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14284$as_echo "$XGETTEXT" >&6; }
14285else
14286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14287$as_echo "no" >&6; }
14288fi
14289
14290	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291/* end confdefs.h.  */
14292
14293int
14294main ()
14295{
14296extern int _nl_msg_cat_cntr;
14297			 return _nl_msg_cat_cntr
14298  ;
14299  return 0;
14300}
14301_ACEOF
14302if ac_fn_c_try_link "$LINENO"; then :
14303  CATOBJEXT=.gmo
14304             DATADIRNAME=share
14305else
14306  case $host in
14307	    *-*-solaris*)
14308	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14309if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14310  CATOBJEXT=.gmo
14311               DATADIRNAME=share
14312else
14313  CATOBJEXT=.mo
14314               DATADIRNAME=lib
14315fi
14316
14317	    ;;
14318	    *-*-openbsd*)
14319	    CATOBJEXT=.mo
14320            DATADIRNAME=share
14321	    ;;
14322	    *)
14323	    CATOBJEXT=.mo
14324            DATADIRNAME=lib
14325	    ;;
14326	    esac
14327fi
14328rm -f core conftest.err conftest.$ac_objext \
14329    conftest$ac_exeext conftest.$ac_ext
14330          LIBS="$glib_save_LIBS"
14331	  INSTOBJEXT=.mo
14332	else
14333	  gt_cv_have_gettext=no
14334	fi
14335      fi
14336
14337fi
14338
14339
14340
14341    if test "$gt_cv_have_gettext" = "yes" ; then
14342
14343$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14344
14345    fi
14346
14347        if test "$XGETTEXT" != ":"; then
14348                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14349        : ;
14350      else
14351        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14352$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14353        XGETTEXT=":"
14354      fi
14355    fi
14356
14357    # We need to process the po/ directory.
14358    POSUB=po
14359
14360    ac_config_commands="$ac_config_commands default-1"
14361
14362
14363                for lang in $ALL_LINGUAS; do
14364      GMOFILES="$GMOFILES $lang.gmo"
14365      POFILES="$POFILES $lang.po"
14366    done
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380   if test "$gt_cv_have_gettext" = "yes"; then
14381     if test "x$ALL_LINGUAS" = "x"; then
14382       LINGUAS=
14383     else
14384       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14385$as_echo_n "checking for catalogs to be installed... " >&6; }
14386       NEW_LINGUAS=
14387       for presentlang in $ALL_LINGUAS; do
14388         useit=no
14389         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14390           desiredlanguages="$LINGUAS"
14391         else
14392           desiredlanguages="$ALL_LINGUAS"
14393         fi
14394         for desiredlang in $desiredlanguages; do
14395 	   # Use the presentlang catalog if desiredlang is
14396           #   a. equal to presentlang, or
14397           #   b. a variant of presentlang (because in this case,
14398           #      presentlang can be used as a fallback for messages
14399           #      which are not translated in the desiredlang catalog).
14400           case "$desiredlang" in
14401             "$presentlang"*) useit=yes;;
14402           esac
14403         done
14404         if test $useit = yes; then
14405           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14406         fi
14407       done
14408       LINGUAS=$NEW_LINGUAS
14409       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14410$as_echo "$LINGUAS" >&6; }
14411     fi
14412
14413          if test -n "$LINGUAS"; then
14414       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14415     fi
14416   fi
14417
14418            MKINSTALLDIRS=
14419   if test -n "$ac_aux_dir"; then
14420     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14421   fi
14422   if test -z "$MKINSTALLDIRS"; then
14423     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14424   fi
14425
14426
14427         test -d po || mkdir po
14428   if test "x$srcdir" != "x."; then
14429     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14430       posrcprefix="$srcdir/"
14431     else
14432       posrcprefix="../$srcdir/"
14433     fi
14434   else
14435     posrcprefix="../"
14436   fi
14437   rm -f po/POTFILES
14438   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14439	< $srcdir/po/POTFILES.in > po/POTFILES
14440
14441
14442    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14443if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14444
14445fi
14446
14447
14448    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
14449$as_echo_n "checking for locales directory... " >&6; }
14450
14451# Check whether --with-locales-dir was given.
14452if test "${with_locales_dir+set}" = set; then :
14453  withval=$with_locales_dir; localedir=$withval
14454else
14455
14456    if test x"$CATOBJEXT" = x".mo"; then
14457      localedir=$libdir/locale
14458    else
14459      localedir=$datarootdir/locale
14460    fi
14461
14462fi
14463
14464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
14465$as_echo "$localedir" >&6; }
14466
14467
14468    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
14469$as_echo_n "checking for additional xgettext flags... " >&6; }
14470  if test x"$XGETTEXT_ARGS" = x""; then
14471    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
14472  else
14473    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
14474  fi
14475
14476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
14477$as_echo "$XGETTEXT_ARGS" >&6; }
14478
14479
14480
14481
14482  # minimum supported version of pkg-config
14483  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14494	if test -n "$ac_tool_prefix"; then
14495  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14496set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14498$as_echo_n "checking for $ac_word... " >&6; }
14499if ${ac_cv_path_PKG_CONFIG+:} false; then :
14500  $as_echo_n "(cached) " >&6
14501else
14502  case $PKG_CONFIG in
14503  [\\/]* | ?:[\\/]*)
14504  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14505  ;;
14506  *)
14507  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14508for as_dir in $PATH
14509do
14510  IFS=$as_save_IFS
14511  test -z "$as_dir" && as_dir=.
14512    for ac_exec_ext in '' $ac_executable_extensions; do
14513  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14514    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14515    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14516    break 2
14517  fi
14518done
14519  done
14520IFS=$as_save_IFS
14521
14522  ;;
14523esac
14524fi
14525PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14526if test -n "$PKG_CONFIG"; then
14527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14528$as_echo "$PKG_CONFIG" >&6; }
14529else
14530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14531$as_echo "no" >&6; }
14532fi
14533
14534
14535fi
14536if test -z "$ac_cv_path_PKG_CONFIG"; then
14537  ac_pt_PKG_CONFIG=$PKG_CONFIG
14538  # Extract the first word of "pkg-config", so it can be a program name with args.
14539set dummy pkg-config; ac_word=$2
14540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14541$as_echo_n "checking for $ac_word... " >&6; }
14542if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14543  $as_echo_n "(cached) " >&6
14544else
14545  case $ac_pt_PKG_CONFIG in
14546  [\\/]* | ?:[\\/]*)
14547  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14548  ;;
14549  *)
14550  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14551for as_dir in $PATH
14552do
14553  IFS=$as_save_IFS
14554  test -z "$as_dir" && as_dir=.
14555    for ac_exec_ext in '' $ac_executable_extensions; do
14556  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14557    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14558    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14559    break 2
14560  fi
14561done
14562  done
14563IFS=$as_save_IFS
14564
14565  ;;
14566esac
14567fi
14568ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14569if test -n "$ac_pt_PKG_CONFIG"; then
14570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14571$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14572else
14573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14574$as_echo "no" >&6; }
14575fi
14576
14577  if test "x$ac_pt_PKG_CONFIG" = x; then
14578    PKG_CONFIG=""
14579  else
14580    case $cross_compiling:$ac_tool_warned in
14581yes:)
14582{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14583$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14584ac_tool_warned=yes ;;
14585esac
14586    PKG_CONFIG=$ac_pt_PKG_CONFIG
14587  fi
14588else
14589  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14590fi
14591
14592fi
14593if test -n "$PKG_CONFIG"; then
14594	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14595	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14596$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14597	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14598		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14599$as_echo "yes" >&6; }
14600	else
14601		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14602$as_echo "no" >&6; }
14603		PKG_CONFIG=""
14604	fi
14605fi
14606
14607      if test x"$PKG_CONFIG" = x""; then
14608        echo
14609        echo "*** Your version of pkg-config is too old. You need atleast"
14610        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14611        echo "*** from the freedesktop.org software repository at"
14612        echo "***"
14613        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14614        echo "***"
14615        exit 1;
14616      fi
14617
14618
14619
14620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.12.0" >&5
14621$as_echo_n "checking for libxfce4panel-2.0 >= 4.12.0... " >&6; }
14622  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4panel-2.0" >/dev/null 2>&1; then
14623    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14624    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
14625$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
14626
14627    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
14628$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
14629    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"`
14630    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
14631$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
14632
14633    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
14634$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
14635    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"`
14636    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
14637$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
14638
14639    LIBXFCE4PANEL_REQUIRED_VERSION=4.12.0
14640
14641
14642
14643
14644
14645
14646
14647  elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
14648    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14649    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14650$as_echo "found, but $xdt_cv_version" >&6; }
14651
14652
14653      echo "*** The required package libxfce4panel-2.0 was found on your system,"
14654      echo "*** but the installed version ($xdt_cv_version) is too old."
14655      echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.12.0, or adjust"
14656      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14657      echo "*** the new version of the package in a nonstandard prefix so"
14658      echo "*** pkg-config is able to find it."
14659      exit 1
14660
14661  else
14662    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14663$as_echo "not found" >&6; }
14664
14665
14666      echo "*** The required package libxfce4panel-2.0 was not found on your system."
14667      echo "*** Please install libxfce4panel-2.0 (atleast version 4.12.0) or adjust"
14668      echo "*** the PKG_CONFIG_PATH environment variable if you"
14669      echo "*** installed the package in a nonstandard prefix so that"
14670      echo "*** pkg-config is able to find it."
14671      exit 1
14672
14673  fi
14674
14675
14676
14677  # minimum supported version of pkg-config
14678  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14689	if test -n "$ac_tool_prefix"; then
14690  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14691set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14693$as_echo_n "checking for $ac_word... " >&6; }
14694if ${ac_cv_path_PKG_CONFIG+:} false; then :
14695  $as_echo_n "(cached) " >&6
14696else
14697  case $PKG_CONFIG in
14698  [\\/]* | ?:[\\/]*)
14699  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14700  ;;
14701  *)
14702  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14703for as_dir in $PATH
14704do
14705  IFS=$as_save_IFS
14706  test -z "$as_dir" && as_dir=.
14707    for ac_exec_ext in '' $ac_executable_extensions; do
14708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14709    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14711    break 2
14712  fi
14713done
14714  done
14715IFS=$as_save_IFS
14716
14717  ;;
14718esac
14719fi
14720PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14721if test -n "$PKG_CONFIG"; then
14722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14723$as_echo "$PKG_CONFIG" >&6; }
14724else
14725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14726$as_echo "no" >&6; }
14727fi
14728
14729
14730fi
14731if test -z "$ac_cv_path_PKG_CONFIG"; then
14732  ac_pt_PKG_CONFIG=$PKG_CONFIG
14733  # Extract the first word of "pkg-config", so it can be a program name with args.
14734set dummy pkg-config; ac_word=$2
14735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14736$as_echo_n "checking for $ac_word... " >&6; }
14737if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14738  $as_echo_n "(cached) " >&6
14739else
14740  case $ac_pt_PKG_CONFIG in
14741  [\\/]* | ?:[\\/]*)
14742  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14743  ;;
14744  *)
14745  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14746for as_dir in $PATH
14747do
14748  IFS=$as_save_IFS
14749  test -z "$as_dir" && as_dir=.
14750    for ac_exec_ext in '' $ac_executable_extensions; do
14751  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14752    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14753    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14754    break 2
14755  fi
14756done
14757  done
14758IFS=$as_save_IFS
14759
14760  ;;
14761esac
14762fi
14763ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14764if test -n "$ac_pt_PKG_CONFIG"; then
14765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14766$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14767else
14768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14769$as_echo "no" >&6; }
14770fi
14771
14772  if test "x$ac_pt_PKG_CONFIG" = x; then
14773    PKG_CONFIG=""
14774  else
14775    case $cross_compiling:$ac_tool_warned in
14776yes:)
14777{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14778$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14779ac_tool_warned=yes ;;
14780esac
14781    PKG_CONFIG=$ac_pt_PKG_CONFIG
14782  fi
14783else
14784  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14785fi
14786
14787fi
14788if test -n "$PKG_CONFIG"; then
14789	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14790	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14791$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14792	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14793		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14794$as_echo "yes" >&6; }
14795	else
14796		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14797$as_echo "no" >&6; }
14798		PKG_CONFIG=""
14799	fi
14800fi
14801
14802      if test x"$PKG_CONFIG" = x""; then
14803        echo
14804        echo "*** Your version of pkg-config is too old. You need atleast"
14805        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14806        echo "*** from the freedesktop.org software repository at"
14807        echo "***"
14808        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14809        echo "***"
14810        exit 1;
14811      fi
14812
14813
14814
14815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5
14816$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; }
14817  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then
14818    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14819    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14820$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14821
14822    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14823$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14824    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14825    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14826$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14827
14828    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14829$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14830    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14832$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14833
14834    LIBXFCE4UI_REQUIRED_VERSION=4.12.0
14835
14836
14837
14838
14839
14840
14841
14842  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14843    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14844    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14845$as_echo "found, but $xdt_cv_version" >&6; }
14846
14847
14848      echo "*** The required package libxfce4ui-2 was found on your system,"
14849      echo "*** but the installed version ($xdt_cv_version) is too old."
14850      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust"
14851      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14852      echo "*** the new version of the package in a nonstandard prefix so"
14853      echo "*** pkg-config is able to find it."
14854      exit 1
14855
14856  else
14857    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14858$as_echo "not found" >&6; }
14859
14860
14861      echo "*** The required package libxfce4ui-2 was not found on your system."
14862      echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust"
14863      echo "*** the PKG_CONFIG_PATH environment variable if you"
14864      echo "*** installed the package in a nonstandard prefix so that"
14865      echo "*** pkg-config is able to find it."
14866      exit 1
14867
14868  fi
14869
14870
14871
14872  # minimum supported version of pkg-config
14873  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14884	if test -n "$ac_tool_prefix"; then
14885  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14886set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14888$as_echo_n "checking for $ac_word... " >&6; }
14889if ${ac_cv_path_PKG_CONFIG+:} false; then :
14890  $as_echo_n "(cached) " >&6
14891else
14892  case $PKG_CONFIG in
14893  [\\/]* | ?:[\\/]*)
14894  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14895  ;;
14896  *)
14897  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14898for as_dir in $PATH
14899do
14900  IFS=$as_save_IFS
14901  test -z "$as_dir" && as_dir=.
14902    for ac_exec_ext in '' $ac_executable_extensions; do
14903  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14904    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14905    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14906    break 2
14907  fi
14908done
14909  done
14910IFS=$as_save_IFS
14911
14912  ;;
14913esac
14914fi
14915PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14916if test -n "$PKG_CONFIG"; then
14917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14918$as_echo "$PKG_CONFIG" >&6; }
14919else
14920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14921$as_echo "no" >&6; }
14922fi
14923
14924
14925fi
14926if test -z "$ac_cv_path_PKG_CONFIG"; then
14927  ac_pt_PKG_CONFIG=$PKG_CONFIG
14928  # Extract the first word of "pkg-config", so it can be a program name with args.
14929set dummy pkg-config; ac_word=$2
14930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14931$as_echo_n "checking for $ac_word... " >&6; }
14932if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14933  $as_echo_n "(cached) " >&6
14934else
14935  case $ac_pt_PKG_CONFIG in
14936  [\\/]* | ?:[\\/]*)
14937  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14938  ;;
14939  *)
14940  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14941for as_dir in $PATH
14942do
14943  IFS=$as_save_IFS
14944  test -z "$as_dir" && as_dir=.
14945    for ac_exec_ext in '' $ac_executable_extensions; do
14946  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14947    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14948    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14949    break 2
14950  fi
14951done
14952  done
14953IFS=$as_save_IFS
14954
14955  ;;
14956esac
14957fi
14958ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14959if test -n "$ac_pt_PKG_CONFIG"; then
14960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14961$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14962else
14963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14964$as_echo "no" >&6; }
14965fi
14966
14967  if test "x$ac_pt_PKG_CONFIG" = x; then
14968    PKG_CONFIG=""
14969  else
14970    case $cross_compiling:$ac_tool_warned in
14971yes:)
14972{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14973$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14974ac_tool_warned=yes ;;
14975esac
14976    PKG_CONFIG=$ac_pt_PKG_CONFIG
14977  fi
14978else
14979  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14980fi
14981
14982fi
14983if test -n "$PKG_CONFIG"; then
14984	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14985	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14986$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14987	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14988		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14989$as_echo "yes" >&6; }
14990	else
14991		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14992$as_echo "no" >&6; }
14993		PKG_CONFIG=""
14994	fi
14995fi
14996
14997      if test x"$PKG_CONFIG" = x""; then
14998        echo
14999        echo "*** Your version of pkg-config is too old. You need atleast"
15000        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15001        echo "*** from the freedesktop.org software repository at"
15002        echo "***"
15003        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15004        echo "***"
15005        exit 1;
15006      fi
15007
15008
15009
15010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.6.4" >&5
15011$as_echo_n "checking for gthread-2.0 >= 2.6.4... " >&6; }
15012  if $PKG_CONFIG "--atleast-version=2.6.4" "gthread-2.0" >/dev/null 2>&1; then
15013    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
15014    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
15015$as_echo "$GTHREAD_VERSION" >&6; }
15016
15017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
15018$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
15019    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
15020    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
15021$as_echo "$GTHREAD_CFLAGS" >&6; }
15022
15023    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
15024$as_echo_n "checking GTHREAD_LIBS... " >&6; }
15025    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
15026    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
15027$as_echo "$GTHREAD_LIBS" >&6; }
15028
15029    GTHREAD_REQUIRED_VERSION=2.6.4
15030
15031
15032
15033
15034
15035
15036
15037  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
15038    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
15039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15040$as_echo "found, but $xdt_cv_version" >&6; }
15041
15042
15043      echo "*** The required package gthread-2.0 was found on your system,"
15044      echo "*** but the installed version ($xdt_cv_version) is too old."
15045      echo "*** Please upgrade gthread-2.0 to atleast version 2.6.4, or adjust"
15046      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15047      echo "*** the new version of the package in a nonstandard prefix so"
15048      echo "*** pkg-config is able to find it."
15049      exit 1
15050
15051  else
15052    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15053$as_echo "not found" >&6; }
15054
15055
15056      echo "*** The required package gthread-2.0 was not found on your system."
15057      echo "*** Please install gthread-2.0 (atleast version 2.6.4) or adjust"
15058      echo "*** the PKG_CONFIG_PATH environment variable if you"
15059      echo "*** installed the package in a nonstandard prefix so that"
15060      echo "*** pkg-config is able to find it."
15061      exit 1
15062
15063  fi
15064
15065
15066
15067  # minimum supported version of pkg-config
15068  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15079	if test -n "$ac_tool_prefix"; then
15080  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15081set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15083$as_echo_n "checking for $ac_word... " >&6; }
15084if ${ac_cv_path_PKG_CONFIG+:} false; then :
15085  $as_echo_n "(cached) " >&6
15086else
15087  case $PKG_CONFIG in
15088  [\\/]* | ?:[\\/]*)
15089  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15090  ;;
15091  *)
15092  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15093for as_dir in $PATH
15094do
15095  IFS=$as_save_IFS
15096  test -z "$as_dir" && as_dir=.
15097    for ac_exec_ext in '' $ac_executable_extensions; do
15098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15099    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15101    break 2
15102  fi
15103done
15104  done
15105IFS=$as_save_IFS
15106
15107  ;;
15108esac
15109fi
15110PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15111if test -n "$PKG_CONFIG"; then
15112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15113$as_echo "$PKG_CONFIG" >&6; }
15114else
15115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15116$as_echo "no" >&6; }
15117fi
15118
15119
15120fi
15121if test -z "$ac_cv_path_PKG_CONFIG"; then
15122  ac_pt_PKG_CONFIG=$PKG_CONFIG
15123  # Extract the first word of "pkg-config", so it can be a program name with args.
15124set dummy pkg-config; ac_word=$2
15125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15126$as_echo_n "checking for $ac_word... " >&6; }
15127if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15128  $as_echo_n "(cached) " >&6
15129else
15130  case $ac_pt_PKG_CONFIG in
15131  [\\/]* | ?:[\\/]*)
15132  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15133  ;;
15134  *)
15135  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15136for as_dir in $PATH
15137do
15138  IFS=$as_save_IFS
15139  test -z "$as_dir" && as_dir=.
15140    for ac_exec_ext in '' $ac_executable_extensions; do
15141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15142    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15144    break 2
15145  fi
15146done
15147  done
15148IFS=$as_save_IFS
15149
15150  ;;
15151esac
15152fi
15153ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15154if test -n "$ac_pt_PKG_CONFIG"; then
15155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15156$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15157else
15158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15159$as_echo "no" >&6; }
15160fi
15161
15162  if test "x$ac_pt_PKG_CONFIG" = x; then
15163    PKG_CONFIG=""
15164  else
15165    case $cross_compiling:$ac_tool_warned in
15166yes:)
15167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15169ac_tool_warned=yes ;;
15170esac
15171    PKG_CONFIG=$ac_pt_PKG_CONFIG
15172  fi
15173else
15174  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15175fi
15176
15177fi
15178if test -n "$PKG_CONFIG"; then
15179	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15180	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15181$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15182	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15183		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15184$as_echo "yes" >&6; }
15185	else
15186		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15187$as_echo "no" >&6; }
15188		PKG_CONFIG=""
15189	fi
15190fi
15191
15192      if test x"$PKG_CONFIG" = x""; then
15193        echo
15194        echo "*** Your version of pkg-config is too old. You need atleast"
15195        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15196        echo "*** from the freedesktop.org software repository at"
15197        echo "***"
15198        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15199        echo "***"
15200        exit 1;
15201      fi
15202
15203
15204
15205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre >= 5.0" >&5
15206$as_echo_n "checking for libpcre >= 5.0... " >&6; }
15207  if $PKG_CONFIG "--atleast-version=5.0" "libpcre" >/dev/null 2>&1; then
15208    LIBPCRE_VERSION=`$PKG_CONFIG --modversion "libpcre"`
15209    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPCRE_VERSION" >&5
15210$as_echo "$LIBPCRE_VERSION" >&6; }
15211
15212    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBPCRE_CFLAGS" >&5
15213$as_echo_n "checking LIBPCRE_CFLAGS... " >&6; }
15214    LIBPCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre"`
15215    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPCRE_CFLAGS" >&5
15216$as_echo "$LIBPCRE_CFLAGS" >&6; }
15217
15218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBPCRE_LIBS" >&5
15219$as_echo_n "checking LIBPCRE_LIBS... " >&6; }
15220    LIBPCRE_LIBS=`$PKG_CONFIG --libs "libpcre"`
15221    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPCRE_LIBS" >&5
15222$as_echo "$LIBPCRE_LIBS" >&6; }
15223
15224    LIBPCRE_REQUIRED_VERSION=5.0
15225
15226
15227
15228
15229
15230
15231
15232  elif $PKG_CONFIG --exists "libpcre" >/dev/null 2>&1; then
15233    xdt_cv_version=`$PKG_CONFIG --modversion "libpcre"`
15234    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15235$as_echo "found, but $xdt_cv_version" >&6; }
15236
15237
15238      echo "*** The required package libpcre was found on your system,"
15239      echo "*** but the installed version ($xdt_cv_version) is too old."
15240      echo "*** Please upgrade libpcre to atleast version 5.0, or adjust"
15241      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15242      echo "*** the new version of the package in a nonstandard prefix so"
15243      echo "*** pkg-config is able to find it."
15244      exit 1
15245
15246  else
15247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15248$as_echo "not found" >&6; }
15249
15250
15251      echo "*** The required package libpcre was not found on your system."
15252      echo "*** Please install libpcre (atleast version 5.0) or adjust"
15253      echo "*** the PKG_CONFIG_PATH environment variable if you"
15254      echo "*** installed the package in a nonstandard prefix so that"
15255      echo "*** pkg-config is able to find it."
15256      exit 1
15257
15258  fi
15259
15260
15261for ac_func in wordexp
15262do :
15263  ac_fn_c_check_func "$LINENO" "wordexp" "ac_cv_func_wordexp"
15264if test "x$ac_cv_func_wordexp" = xyes; then :
15265  cat >>confdefs.h <<_ACEOF
15266#define HAVE_WORDEXP 1
15267_ACEOF
15268
15269fi
15270done
15271
15272
15273
15274    # Check whether --enable-debug was given.
15275if test "${enable_debug+set}" = set; then :
15276  enableval=$enable_debug; enable_debug=$enableval
15277else
15278  enable_debug=minimum
15279fi
15280
15281
15282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
15283$as_echo_n "checking whether to build with debugging support... " >&6; }
15284  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
15285
15286$as_echo "#define DEBUG 1" >>confdefs.h
15287
15288
15289    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
15290                              -Wall -Wextra \
15291                              -Wno-missing-field-initializers \
15292                              -Wno-unused-parameter -Wold-style-definition \
15293                              -Wdeclaration-after-statement \
15294                              -Wmissing-declarations \
15295                              -Wmissing-noreturn -Wpointer-arith \
15296                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
15297                              -Winit-self -Wmissing-include-dirs -Wundef \
15298                              -Wnested-externs"
15299    CPPFLAGS="$CPPFLAGS"
15300
15301    if test x`uname` = x"Linux"; then
15302      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
15303    fi
15304
15305        if test x`uname` != x"OpenBSD"; then
15306      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
15307    fi
15308
15309    if test x"$enable_debug" = x"full"; then
15310
15311$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
15312
15313      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
15314      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
15315      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
15316$as_echo "full" >&6; }
15317    else
15318      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
15319      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15320$as_echo "yes" >&6; }
15321    fi
15322
15323
15324  for flag in $xdt_cv_additional_CFLAGS; do
15325    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
15326$as_echo_n "checking if $CC supports $flag... " >&6; }
15327    saved_CFLAGS="$CFLAGS"
15328    CFLAGS="$CFLAGS $flag"
15329    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330/* end confdefs.h.  */
15331
15332_ACEOF
15333if ac_fn_c_try_compile "$LINENO"; then :
15334  flag_supported=yes
15335else
15336  flag_supported=no
15337fi
15338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15339    CFLAGS="$saved_CFLAGS"
15340    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
15341$as_echo "$flag_supported" >&6; }
15342
15343    if test "x$flag_supported" = "xyes"; then
15344      supported_CFLAGS="$supported_CFLAGS $flag"
15345    fi
15346  done
15347
15348
15349
15350                                                supported_CXXFLAGS="$supported_CFLAGS"
15351
15352
15353    CFLAGS="$CFLAGS $supported_CFLAGS"
15354    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
15355  else
15356    CPPFLAGS="$CPPFLAGS -DNDEBUG"
15357
15358    if test x"$enable_debug" = x"no"; then
15359      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
15360      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361$as_echo "no" >&6; }
15362    else
15363      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
15364$as_echo "minimum" >&6; }
15365    fi
15366  fi
15367
15368
15369ac_config_files="$ac_config_files Makefile panel-plugin/Makefile po/Makefile.in"
15370
15371cat >confcache <<\_ACEOF
15372# This file is a shell script that caches the results of configure
15373# tests run on this system so they can be shared between configure
15374# scripts and configure runs, see configure's option --config-cache.
15375# It is not useful on other systems.  If it contains results you don't
15376# want to keep, you may remove or edit it.
15377#
15378# config.status only pays attention to the cache file if you give it
15379# the --recheck option to rerun configure.
15380#
15381# `ac_cv_env_foo' variables (set or unset) will be overridden when
15382# loading this file, other *unset* `ac_cv_foo' will be assigned the
15383# following values.
15384
15385_ACEOF
15386
15387# The following way of writing the cache mishandles newlines in values,
15388# but we know of no workaround that is simple, portable, and efficient.
15389# So, we kill variables containing newlines.
15390# Ultrix sh set writes to stderr and can't be redirected directly,
15391# and sets the high bit in the cache file unless we assign to the vars.
15392(
15393  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15394    eval ac_val=\$$ac_var
15395    case $ac_val in #(
15396    *${as_nl}*)
15397      case $ac_var in #(
15398      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15399$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15400      esac
15401      case $ac_var in #(
15402      _ | IFS | as_nl) ;; #(
15403      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15404      *) { eval $ac_var=; unset $ac_var;} ;;
15405      esac ;;
15406    esac
15407  done
15408
15409  (set) 2>&1 |
15410    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15411    *${as_nl}ac_space=\ *)
15412      # `set' does not quote correctly, so add quotes: double-quote
15413      # substitution turns \\\\ into \\, and sed turns \\ into \.
15414      sed -n \
15415	"s/'/'\\\\''/g;
15416	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15417      ;; #(
15418    *)
15419      # `set' quotes correctly as required by POSIX, so do not add quotes.
15420      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15421      ;;
15422    esac |
15423    sort
15424) |
15425  sed '
15426     /^ac_cv_env_/b end
15427     t clear
15428     :clear
15429     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15430     t end
15431     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15432     :end' >>confcache
15433if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15434  if test -w "$cache_file"; then
15435    if test "x$cache_file" != "x/dev/null"; then
15436      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15437$as_echo "$as_me: updating cache $cache_file" >&6;}
15438      if test ! -f "$cache_file" || test -h "$cache_file"; then
15439	cat confcache >"$cache_file"
15440      else
15441        case $cache_file in #(
15442        */* | ?:*)
15443	  mv -f confcache "$cache_file"$$ &&
15444	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15445        *)
15446	  mv -f confcache "$cache_file" ;;
15447	esac
15448      fi
15449    fi
15450  else
15451    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15452$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15453  fi
15454fi
15455rm -f confcache
15456
15457test "x$prefix" = xNONE && prefix=$ac_default_prefix
15458# Let make expand exec_prefix.
15459test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15460
15461DEFS=-DHAVE_CONFIG_H
15462
15463ac_libobjs=
15464ac_ltlibobjs=
15465for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15466  # 1. Remove the extension, and $U if already installed.
15467  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15468  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15469  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15470  #    will be set to the directory where LIBOBJS objects are built.
15471  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15472  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15473done
15474LIBOBJS=$ac_libobjs
15475
15476LTLIBOBJS=$ac_ltlibobjs
15477
15478
15479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15480$as_echo_n "checking that generated files are newer than configure... " >&6; }
15481   if test -n "$am_sleep_pid"; then
15482     # Hide warnings about reused PIDs.
15483     wait $am_sleep_pid 2>/dev/null
15484   fi
15485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15486$as_echo "done" >&6; }
15487 if test -n "$EXEEXT"; then
15488  am__EXEEXT_TRUE=
15489  am__EXEEXT_FALSE='#'
15490else
15491  am__EXEEXT_TRUE='#'
15492  am__EXEEXT_FALSE=
15493fi
15494
15495if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15496  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15497Usually this means the macro was only invoked conditionally." "$LINENO" 5
15498fi
15499if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15500  as_fn_error $? "conditional \"AMDEP\" was never defined.
15501Usually this means the macro was only invoked conditionally." "$LINENO" 5
15502fi
15503if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15504  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15505Usually this means the macro was only invoked conditionally." "$LINENO" 5
15506fi
15507if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15508  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15509Usually this means the macro was only invoked conditionally." "$LINENO" 5
15510fi
15511
15512  ac_config_commands="$ac_config_commands po/stamp-it"
15513
15514
15515
15516: "${CONFIG_STATUS=./config.status}"
15517ac_write_fail=0
15518ac_clean_files_save=$ac_clean_files
15519ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15520{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15521$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15522as_write_fail=0
15523cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15524#! $SHELL
15525# Generated by $as_me.
15526# Run this file to recreate the current configuration.
15527# Compiler output produced by configure, useful for debugging
15528# configure, is in config.log if it exists.
15529
15530debug=false
15531ac_cs_recheck=false
15532ac_cs_silent=false
15533
15534SHELL=\${CONFIG_SHELL-$SHELL}
15535export SHELL
15536_ASEOF
15537cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15538## -------------------- ##
15539## M4sh Initialization. ##
15540## -------------------- ##
15541
15542# Be more Bourne compatible
15543DUALCASE=1; export DUALCASE # for MKS sh
15544if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15545  emulate sh
15546  NULLCMD=:
15547  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15548  # is contrary to our usage.  Disable this feature.
15549  alias -g '${1+"$@"}'='"$@"'
15550  setopt NO_GLOB_SUBST
15551else
15552  case `(set -o) 2>/dev/null` in #(
15553  *posix*) :
15554    set -o posix ;; #(
15555  *) :
15556     ;;
15557esac
15558fi
15559
15560
15561as_nl='
15562'
15563export as_nl
15564# Printing a long string crashes Solaris 7 /usr/bin/printf.
15565as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15566as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15567as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15568# Prefer a ksh shell builtin over an external printf program on Solaris,
15569# but without wasting forks for bash or zsh.
15570if test -z "$BASH_VERSION$ZSH_VERSION" \
15571    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15572  as_echo='print -r --'
15573  as_echo_n='print -rn --'
15574elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15575  as_echo='printf %s\n'
15576  as_echo_n='printf %s'
15577else
15578  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15579    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15580    as_echo_n='/usr/ucb/echo -n'
15581  else
15582    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15583    as_echo_n_body='eval
15584      arg=$1;
15585      case $arg in #(
15586      *"$as_nl"*)
15587	expr "X$arg" : "X\\(.*\\)$as_nl";
15588	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15589      esac;
15590      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15591    '
15592    export as_echo_n_body
15593    as_echo_n='sh -c $as_echo_n_body as_echo'
15594  fi
15595  export as_echo_body
15596  as_echo='sh -c $as_echo_body as_echo'
15597fi
15598
15599# The user is always right.
15600if test "${PATH_SEPARATOR+set}" != set; then
15601  PATH_SEPARATOR=:
15602  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15603    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15604      PATH_SEPARATOR=';'
15605  }
15606fi
15607
15608
15609# IFS
15610# We need space, tab and new line, in precisely that order.  Quoting is
15611# there to prevent editors from complaining about space-tab.
15612# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15613# splitting by setting IFS to empty value.)
15614IFS=" ""	$as_nl"
15615
15616# Find who we are.  Look in the path if we contain no directory separator.
15617as_myself=
15618case $0 in #((
15619  *[\\/]* ) as_myself=$0 ;;
15620  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15621for as_dir in $PATH
15622do
15623  IFS=$as_save_IFS
15624  test -z "$as_dir" && as_dir=.
15625    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15626  done
15627IFS=$as_save_IFS
15628
15629     ;;
15630esac
15631# We did not find ourselves, most probably we were run as `sh COMMAND'
15632# in which case we are not to be found in the path.
15633if test "x$as_myself" = x; then
15634  as_myself=$0
15635fi
15636if test ! -f "$as_myself"; then
15637  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15638  exit 1
15639fi
15640
15641# Unset variables that we do not need and which cause bugs (e.g. in
15642# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15643# suppresses any "Segmentation fault" message there.  '((' could
15644# trigger a bug in pdksh 5.2.14.
15645for as_var in BASH_ENV ENV MAIL MAILPATH
15646do eval test x\${$as_var+set} = xset \
15647  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15648done
15649PS1='$ '
15650PS2='> '
15651PS4='+ '
15652
15653# NLS nuisances.
15654LC_ALL=C
15655export LC_ALL
15656LANGUAGE=C
15657export LANGUAGE
15658
15659# CDPATH.
15660(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15661
15662
15663# as_fn_error STATUS ERROR [LINENO LOG_FD]
15664# ----------------------------------------
15665# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15666# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15667# script with STATUS, using 1 if that was 0.
15668as_fn_error ()
15669{
15670  as_status=$1; test $as_status -eq 0 && as_status=1
15671  if test "$4"; then
15672    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15673    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15674  fi
15675  $as_echo "$as_me: error: $2" >&2
15676  as_fn_exit $as_status
15677} # as_fn_error
15678
15679
15680# as_fn_set_status STATUS
15681# -----------------------
15682# Set $? to STATUS, without forking.
15683as_fn_set_status ()
15684{
15685  return $1
15686} # as_fn_set_status
15687
15688# as_fn_exit STATUS
15689# -----------------
15690# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15691as_fn_exit ()
15692{
15693  set +e
15694  as_fn_set_status $1
15695  exit $1
15696} # as_fn_exit
15697
15698# as_fn_unset VAR
15699# ---------------
15700# Portably unset VAR.
15701as_fn_unset ()
15702{
15703  { eval $1=; unset $1;}
15704}
15705as_unset=as_fn_unset
15706# as_fn_append VAR VALUE
15707# ----------------------
15708# Append the text in VALUE to the end of the definition contained in VAR. Take
15709# advantage of any shell optimizations that allow amortized linear growth over
15710# repeated appends, instead of the typical quadratic growth present in naive
15711# implementations.
15712if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15713  eval 'as_fn_append ()
15714  {
15715    eval $1+=\$2
15716  }'
15717else
15718  as_fn_append ()
15719  {
15720    eval $1=\$$1\$2
15721  }
15722fi # as_fn_append
15723
15724# as_fn_arith ARG...
15725# ------------------
15726# Perform arithmetic evaluation on the ARGs, and store the result in the
15727# global $as_val. Take advantage of shells that can avoid forks. The arguments
15728# must be portable across $(()) and expr.
15729if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15730  eval 'as_fn_arith ()
15731  {
15732    as_val=$(( $* ))
15733  }'
15734else
15735  as_fn_arith ()
15736  {
15737    as_val=`expr "$@" || test $? -eq 1`
15738  }
15739fi # as_fn_arith
15740
15741
15742if expr a : '\(a\)' >/dev/null 2>&1 &&
15743   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15744  as_expr=expr
15745else
15746  as_expr=false
15747fi
15748
15749if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15750  as_basename=basename
15751else
15752  as_basename=false
15753fi
15754
15755if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15756  as_dirname=dirname
15757else
15758  as_dirname=false
15759fi
15760
15761as_me=`$as_basename -- "$0" ||
15762$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15763	 X"$0" : 'X\(//\)$' \| \
15764	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15765$as_echo X/"$0" |
15766    sed '/^.*\/\([^/][^/]*\)\/*$/{
15767	    s//\1/
15768	    q
15769	  }
15770	  /^X\/\(\/\/\)$/{
15771	    s//\1/
15772	    q
15773	  }
15774	  /^X\/\(\/\).*/{
15775	    s//\1/
15776	    q
15777	  }
15778	  s/.*/./; q'`
15779
15780# Avoid depending upon Character Ranges.
15781as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15782as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15783as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15784as_cr_digits='0123456789'
15785as_cr_alnum=$as_cr_Letters$as_cr_digits
15786
15787ECHO_C= ECHO_N= ECHO_T=
15788case `echo -n x` in #(((((
15789-n*)
15790  case `echo 'xy\c'` in
15791  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15792  xy)  ECHO_C='\c';;
15793  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15794       ECHO_T='	';;
15795  esac;;
15796*)
15797  ECHO_N='-n';;
15798esac
15799
15800rm -f conf$$ conf$$.exe conf$$.file
15801if test -d conf$$.dir; then
15802  rm -f conf$$.dir/conf$$.file
15803else
15804  rm -f conf$$.dir
15805  mkdir conf$$.dir 2>/dev/null
15806fi
15807if (echo >conf$$.file) 2>/dev/null; then
15808  if ln -s conf$$.file conf$$ 2>/dev/null; then
15809    as_ln_s='ln -s'
15810    # ... but there are two gotchas:
15811    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15812    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15813    # In both cases, we have to default to `cp -pR'.
15814    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15815      as_ln_s='cp -pR'
15816  elif ln conf$$.file conf$$ 2>/dev/null; then
15817    as_ln_s=ln
15818  else
15819    as_ln_s='cp -pR'
15820  fi
15821else
15822  as_ln_s='cp -pR'
15823fi
15824rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15825rmdir conf$$.dir 2>/dev/null
15826
15827
15828# as_fn_mkdir_p
15829# -------------
15830# Create "$as_dir" as a directory, including parents if necessary.
15831as_fn_mkdir_p ()
15832{
15833
15834  case $as_dir in #(
15835  -*) as_dir=./$as_dir;;
15836  esac
15837  test -d "$as_dir" || eval $as_mkdir_p || {
15838    as_dirs=
15839    while :; do
15840      case $as_dir in #(
15841      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15842      *) as_qdir=$as_dir;;
15843      esac
15844      as_dirs="'$as_qdir' $as_dirs"
15845      as_dir=`$as_dirname -- "$as_dir" ||
15846$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15847	 X"$as_dir" : 'X\(//\)[^/]' \| \
15848	 X"$as_dir" : 'X\(//\)$' \| \
15849	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15850$as_echo X"$as_dir" |
15851    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15852	    s//\1/
15853	    q
15854	  }
15855	  /^X\(\/\/\)[^/].*/{
15856	    s//\1/
15857	    q
15858	  }
15859	  /^X\(\/\/\)$/{
15860	    s//\1/
15861	    q
15862	  }
15863	  /^X\(\/\).*/{
15864	    s//\1/
15865	    q
15866	  }
15867	  s/.*/./; q'`
15868      test -d "$as_dir" && break
15869    done
15870    test -z "$as_dirs" || eval "mkdir $as_dirs"
15871  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15872
15873
15874} # as_fn_mkdir_p
15875if mkdir -p . 2>/dev/null; then
15876  as_mkdir_p='mkdir -p "$as_dir"'
15877else
15878  test -d ./-p && rmdir ./-p
15879  as_mkdir_p=false
15880fi
15881
15882
15883# as_fn_executable_p FILE
15884# -----------------------
15885# Test if FILE is an executable regular file.
15886as_fn_executable_p ()
15887{
15888  test -f "$1" && test -x "$1"
15889} # as_fn_executable_p
15890as_test_x='test -x'
15891as_executable_p=as_fn_executable_p
15892
15893# Sed expression to map a string onto a valid CPP name.
15894as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15895
15896# Sed expression to map a string onto a valid variable name.
15897as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15898
15899
15900exec 6>&1
15901## ----------------------------------- ##
15902## Main body of $CONFIG_STATUS script. ##
15903## ----------------------------------- ##
15904_ASEOF
15905test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15906
15907cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15908# Save the log message, to keep $0 and so on meaningful, and to
15909# report actual input values of CONFIG_FILES etc. instead of their
15910# values after options handling.
15911ac_log="
15912This file was extended by xfce4-verve-plugin $as_me 2.0.1, which was
15913generated by GNU Autoconf 2.69.  Invocation command line was
15914
15915  CONFIG_FILES    = $CONFIG_FILES
15916  CONFIG_HEADERS  = $CONFIG_HEADERS
15917  CONFIG_LINKS    = $CONFIG_LINKS
15918  CONFIG_COMMANDS = $CONFIG_COMMANDS
15919  $ $0 $@
15920
15921on `(hostname || uname -n) 2>/dev/null | sed 1q`
15922"
15923
15924_ACEOF
15925
15926case $ac_config_files in *"
15927"*) set x $ac_config_files; shift; ac_config_files=$*;;
15928esac
15929
15930case $ac_config_headers in *"
15931"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15932esac
15933
15934
15935cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15936# Files that config.status was made for.
15937config_files="$ac_config_files"
15938config_headers="$ac_config_headers"
15939config_commands="$ac_config_commands"
15940
15941_ACEOF
15942
15943cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15944ac_cs_usage="\
15945\`$as_me' instantiates files and other configuration actions
15946from templates according to the current configuration.  Unless the files
15947and actions are specified as TAGs, all are instantiated by default.
15948
15949Usage: $0 [OPTION]... [TAG]...
15950
15951  -h, --help       print this help, then exit
15952  -V, --version    print version number and configuration settings, then exit
15953      --config     print configuration, then exit
15954  -q, --quiet, --silent
15955                   do not print progress messages
15956  -d, --debug      don't remove temporary files
15957      --recheck    update $as_me by reconfiguring in the same conditions
15958      --file=FILE[:TEMPLATE]
15959                   instantiate the configuration file FILE
15960      --header=FILE[:TEMPLATE]
15961                   instantiate the configuration header FILE
15962
15963Configuration files:
15964$config_files
15965
15966Configuration headers:
15967$config_headers
15968
15969Configuration commands:
15970$config_commands
15971
15972Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin>."
15973
15974_ACEOF
15975cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15976ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15977ac_cs_version="\\
15978xfce4-verve-plugin config.status 2.0.1
15979configured by $0, generated by GNU Autoconf 2.69,
15980  with options \\"\$ac_cs_config\\"
15981
15982Copyright (C) 2012 Free Software Foundation, Inc.
15983This config.status script is free software; the Free Software Foundation
15984gives unlimited permission to copy, distribute and modify it."
15985
15986ac_pwd='$ac_pwd'
15987srcdir='$srcdir'
15988INSTALL='$INSTALL'
15989MKDIR_P='$MKDIR_P'
15990AWK='$AWK'
15991test -n "\$AWK" || AWK=awk
15992_ACEOF
15993
15994cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15995# The default lists apply if the user does not specify any file.
15996ac_need_defaults=:
15997while test $# != 0
15998do
15999  case $1 in
16000  --*=?*)
16001    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16002    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16003    ac_shift=:
16004    ;;
16005  --*=)
16006    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16007    ac_optarg=
16008    ac_shift=:
16009    ;;
16010  *)
16011    ac_option=$1
16012    ac_optarg=$2
16013    ac_shift=shift
16014    ;;
16015  esac
16016
16017  case $ac_option in
16018  # Handling of the options.
16019  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16020    ac_cs_recheck=: ;;
16021  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16022    $as_echo "$ac_cs_version"; exit ;;
16023  --config | --confi | --conf | --con | --co | --c )
16024    $as_echo "$ac_cs_config"; exit ;;
16025  --debug | --debu | --deb | --de | --d | -d )
16026    debug=: ;;
16027  --file | --fil | --fi | --f )
16028    $ac_shift
16029    case $ac_optarg in
16030    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16031    '') as_fn_error $? "missing file argument" ;;
16032    esac
16033    as_fn_append CONFIG_FILES " '$ac_optarg'"
16034    ac_need_defaults=false;;
16035  --header | --heade | --head | --hea )
16036    $ac_shift
16037    case $ac_optarg in
16038    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16039    esac
16040    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16041    ac_need_defaults=false;;
16042  --he | --h)
16043    # Conflict between --help and --header
16044    as_fn_error $? "ambiguous option: \`$1'
16045Try \`$0 --help' for more information.";;
16046  --help | --hel | -h )
16047    $as_echo "$ac_cs_usage"; exit ;;
16048  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16049  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16050    ac_cs_silent=: ;;
16051
16052  # This is an error.
16053  -*) as_fn_error $? "unrecognized option: \`$1'
16054Try \`$0 --help' for more information." ;;
16055
16056  *) as_fn_append ac_config_targets " $1"
16057     ac_need_defaults=false ;;
16058
16059  esac
16060  shift
16061done
16062
16063ac_configure_extra_args=
16064
16065if $ac_cs_silent; then
16066  exec 6>/dev/null
16067  ac_configure_extra_args="$ac_configure_extra_args --silent"
16068fi
16069
16070_ACEOF
16071cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072if \$ac_cs_recheck; then
16073  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16074  shift
16075  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16076  CONFIG_SHELL='$SHELL'
16077  export CONFIG_SHELL
16078  exec "\$@"
16079fi
16080
16081_ACEOF
16082cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16083exec 5>>config.log
16084{
16085  echo
16086  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16087## Running $as_me. ##
16088_ASBOX
16089  $as_echo "$ac_log"
16090} >&5
16091
16092_ACEOF
16093cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16094#
16095# INIT-COMMANDS
16096#
16097AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16098
16099
16100# The HP-UX ksh and POSIX shell print the target directory to stdout
16101# if CDPATH is set.
16102(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16103
16104sed_quote_subst='$sed_quote_subst'
16105double_quote_subst='$double_quote_subst'
16106delay_variable_subst='$delay_variable_subst'
16107SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16108Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16109GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16110EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16111FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16112SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16113ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16114LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16115macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16116macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16117enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16118enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16119pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16120enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16121shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16122PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16123host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16124host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16125host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16126build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16127build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16128build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16129NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16130LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16131max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16132ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16133exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16134lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16135lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16136lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16137lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16138lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16139reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16140reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16141OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16142deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16143file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16144file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16145want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16146DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16147sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16148AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16149lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16150AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16151archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16152STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16153RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16154old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16155old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16156old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16157lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16158CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16159CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16160compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16161GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16162lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16163lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16164lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16165lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16166lt_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"`'
16167lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16168nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16169lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16170lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16171objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16172MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16173lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16174lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16175lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16176lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16177lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16178need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16179MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16180DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16181NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16182LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16183OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16184OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16185libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16186shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16187extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16188archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16189enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16190export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16191whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16192compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16193old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16194old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16195archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16196archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16197module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16198module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16199with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16200allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16201no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16202hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16203hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16204hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16205hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16206hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16207hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16208hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16209inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16210link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16211always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16212export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16213exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16214include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16215prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16216postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16217file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16218variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16219need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16220need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16221version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16222runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16223shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16224shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16225libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16226library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16227soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16228install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16229postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16230postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16231finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16232finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16233hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16234sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16235configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16236configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16237hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16238enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16239enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16240enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16241old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16242striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16243
16244LTCC='$LTCC'
16245LTCFLAGS='$LTCFLAGS'
16246compiler='$compiler_DEFAULT'
16247
16248# A function that is used when there is no print builtin or printf.
16249func_fallback_echo ()
16250{
16251  eval 'cat <<_LTECHO_EOF
16252\$1
16253_LTECHO_EOF'
16254}
16255
16256# Quote evaled strings.
16257for var in SED \
16258GREP \
16259EGREP \
16260FGREP \
16261SHELL \
16262ECHO \
16263LD \
16264PATH_SEPARATOR \
16265NM \
16266LN_S \
16267lt_SP2NL \
16268lt_NL2SP \
16269reload_flag \
16270OBJDUMP \
16271deplibs_check_method \
16272file_magic_cmd \
16273file_magic_glob \
16274want_nocaseglob \
16275DLLTOOL \
16276sharedlib_from_linklib_cmd \
16277AR \
16278archiver_list_spec \
16279STRIP \
16280RANLIB \
16281CC \
16282CFLAGS \
16283compiler \
16284lt_cv_sys_global_symbol_pipe \
16285lt_cv_sys_global_symbol_to_cdecl \
16286lt_cv_sys_global_symbol_to_import \
16287lt_cv_sys_global_symbol_to_c_name_address \
16288lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16289lt_cv_nm_interface \
16290nm_file_list_spec \
16291lt_cv_truncate_bin \
16292lt_prog_compiler_no_builtin_flag \
16293lt_prog_compiler_pic \
16294lt_prog_compiler_wl \
16295lt_prog_compiler_static \
16296lt_cv_prog_compiler_c_o \
16297need_locks \
16298MANIFEST_TOOL \
16299DSYMUTIL \
16300NMEDIT \
16301LIPO \
16302OTOOL \
16303OTOOL64 \
16304shrext_cmds \
16305export_dynamic_flag_spec \
16306whole_archive_flag_spec \
16307compiler_needs_object \
16308with_gnu_ld \
16309allow_undefined_flag \
16310no_undefined_flag \
16311hardcode_libdir_flag_spec \
16312hardcode_libdir_separator \
16313exclude_expsyms \
16314include_expsyms \
16315file_list_spec \
16316variables_saved_for_relink \
16317libname_spec \
16318library_names_spec \
16319soname_spec \
16320install_override_mode \
16321finish_eval \
16322old_striplib \
16323striplib; do
16324    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16325    *[\\\\\\\`\\"\\\$]*)
16326      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16327      ;;
16328    *)
16329      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16330      ;;
16331    esac
16332done
16333
16334# Double-quote double-evaled strings.
16335for var in reload_cmds \
16336old_postinstall_cmds \
16337old_postuninstall_cmds \
16338old_archive_cmds \
16339extract_expsyms_cmds \
16340old_archive_from_new_cmds \
16341old_archive_from_expsyms_cmds \
16342archive_cmds \
16343archive_expsym_cmds \
16344module_cmds \
16345module_expsym_cmds \
16346export_symbols_cmds \
16347prelink_cmds \
16348postlink_cmds \
16349postinstall_cmds \
16350postuninstall_cmds \
16351finish_cmds \
16352sys_lib_search_path_spec \
16353configure_time_dlsearch_path \
16354configure_time_lt_sys_library_path; do
16355    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16356    *[\\\\\\\`\\"\\\$]*)
16357      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16358      ;;
16359    *)
16360      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16361      ;;
16362    esac
16363done
16364
16365ac_aux_dir='$ac_aux_dir'
16366
16367# See if we are running on zsh, and set the options that allow our
16368# commands through without removal of \ escapes INIT.
16369if test -n "\${ZSH_VERSION+set}"; then
16370   setopt NO_GLOB_SUBST
16371fi
16372
16373
16374    PACKAGE='$PACKAGE'
16375    VERSION='$VERSION'
16376    RM='$RM'
16377    ofile='$ofile'
16378
16379
16380
16381
16382
16383_ACEOF
16384
16385cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16386
16387# Handling of arguments.
16388for ac_config_target in $ac_config_targets
16389do
16390  case $ac_config_target in
16391    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16392    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16393    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16394    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16395    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16396    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
16397    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16398    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16399
16400  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16401  esac
16402done
16403
16404
16405# If the user did not use the arguments to specify the items to instantiate,
16406# then the envvar interface is used.  Set only those that are not.
16407# We use the long form for the default assignment because of an extremely
16408# bizarre bug on SunOS 4.1.3.
16409if $ac_need_defaults; then
16410  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16411  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16412  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16413fi
16414
16415# Have a temporary directory for convenience.  Make it in the build tree
16416# simply because there is no reason against having it here, and in addition,
16417# creating and moving files from /tmp can sometimes cause problems.
16418# Hook for its removal unless debugging.
16419# Note that there is a small window in which the directory will not be cleaned:
16420# after its creation but before its name has been assigned to `$tmp'.
16421$debug ||
16422{
16423  tmp= ac_tmp=
16424  trap 'exit_status=$?
16425  : "${ac_tmp:=$tmp}"
16426  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16427' 0
16428  trap 'as_fn_exit 1' 1 2 13 15
16429}
16430# Create a (secure) tmp directory for tmp files.
16431
16432{
16433  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16434  test -d "$tmp"
16435}  ||
16436{
16437  tmp=./conf$$-$RANDOM
16438  (umask 077 && mkdir "$tmp")
16439} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16440ac_tmp=$tmp
16441
16442# Set up the scripts for CONFIG_FILES section.
16443# No need to generate them if there are no CONFIG_FILES.
16444# This happens for instance with `./config.status config.h'.
16445if test -n "$CONFIG_FILES"; then
16446
16447
16448ac_cr=`echo X | tr X '\015'`
16449# On cygwin, bash can eat \r inside `` if the user requested igncr.
16450# But we know of no other shell where ac_cr would be empty at this
16451# point, so we can use a bashism as a fallback.
16452if test "x$ac_cr" = x; then
16453  eval ac_cr=\$\'\\r\'
16454fi
16455ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16456if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16457  ac_cs_awk_cr='\\r'
16458else
16459  ac_cs_awk_cr=$ac_cr
16460fi
16461
16462echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16463_ACEOF
16464
16465
16466{
16467  echo "cat >conf$$subs.awk <<_ACEOF" &&
16468  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16469  echo "_ACEOF"
16470} >conf$$subs.sh ||
16471  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16472ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16473ac_delim='%!_!# '
16474for ac_last_try in false false false false false :; do
16475  . ./conf$$subs.sh ||
16476    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16477
16478  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16479  if test $ac_delim_n = $ac_delim_num; then
16480    break
16481  elif $ac_last_try; then
16482    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16483  else
16484    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16485  fi
16486done
16487rm -f conf$$subs.sh
16488
16489cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16490cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16491_ACEOF
16492sed -n '
16493h
16494s/^/S["/; s/!.*/"]=/
16495p
16496g
16497s/^[^!]*!//
16498:repl
16499t repl
16500s/'"$ac_delim"'$//
16501t delim
16502:nl
16503h
16504s/\(.\{148\}\)..*/\1/
16505t more1
16506s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16507p
16508n
16509b repl
16510:more1
16511s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16512p
16513g
16514s/.\{148\}//
16515t nl
16516:delim
16517h
16518s/\(.\{148\}\)..*/\1/
16519t more2
16520s/["\\]/\\&/g; s/^/"/; s/$/"/
16521p
16522b
16523:more2
16524s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16525p
16526g
16527s/.\{148\}//
16528t delim
16529' <conf$$subs.awk | sed '
16530/^[^""]/{
16531  N
16532  s/\n//
16533}
16534' >>$CONFIG_STATUS || ac_write_fail=1
16535rm -f conf$$subs.awk
16536cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16537_ACAWK
16538cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16539  for (key in S) S_is_set[key] = 1
16540  FS = ""
16541
16542}
16543{
16544  line = $ 0
16545  nfields = split(line, field, "@")
16546  substed = 0
16547  len = length(field[1])
16548  for (i = 2; i < nfields; i++) {
16549    key = field[i]
16550    keylen = length(key)
16551    if (S_is_set[key]) {
16552      value = S[key]
16553      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16554      len += length(value) + length(field[++i])
16555      substed = 1
16556    } else
16557      len += 1 + keylen
16558  }
16559
16560  print line
16561}
16562
16563_ACAWK
16564_ACEOF
16565cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16566if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16567  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16568else
16569  cat
16570fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16571  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16572_ACEOF
16573
16574# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16575# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16576# trailing colons and then remove the whole line if VPATH becomes empty
16577# (actually we leave an empty line to preserve line numbers).
16578if test "x$srcdir" = x.; then
16579  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16580h
16581s///
16582s/^/:/
16583s/[	 ]*$/:/
16584s/:\$(srcdir):/:/g
16585s/:\${srcdir}:/:/g
16586s/:@srcdir@:/:/g
16587s/^:*//
16588s/:*$//
16589x
16590s/\(=[	 ]*\).*/\1/
16591G
16592s/\n//
16593s/^[^=]*=[	 ]*$//
16594}'
16595fi
16596
16597cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16598fi # test -n "$CONFIG_FILES"
16599
16600# Set up the scripts for CONFIG_HEADERS section.
16601# No need to generate them if there are no CONFIG_HEADERS.
16602# This happens for instance with `./config.status Makefile'.
16603if test -n "$CONFIG_HEADERS"; then
16604cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16605BEGIN {
16606_ACEOF
16607
16608# Transform confdefs.h into an awk script `defines.awk', embedded as
16609# here-document in config.status, that substitutes the proper values into
16610# config.h.in to produce config.h.
16611
16612# Create a delimiter string that does not exist in confdefs.h, to ease
16613# handling of long lines.
16614ac_delim='%!_!# '
16615for ac_last_try in false false :; do
16616  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16617  if test -z "$ac_tt"; then
16618    break
16619  elif $ac_last_try; then
16620    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16621  else
16622    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16623  fi
16624done
16625
16626# For the awk script, D is an array of macro values keyed by name,
16627# likewise P contains macro parameters if any.  Preserve backslash
16628# newline sequences.
16629
16630ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16631sed -n '
16632s/.\{148\}/&'"$ac_delim"'/g
16633t rset
16634:rset
16635s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16636t def
16637d
16638:def
16639s/\\$//
16640t bsnl
16641s/["\\]/\\&/g
16642s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16643D["\1"]=" \3"/p
16644s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16645d
16646:bsnl
16647s/["\\]/\\&/g
16648s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16649D["\1"]=" \3\\\\\\n"\\/p
16650t cont
16651s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16652t cont
16653d
16654:cont
16655n
16656s/.\{148\}/&'"$ac_delim"'/g
16657t clear
16658:clear
16659s/\\$//
16660t bsnlc
16661s/["\\]/\\&/g; s/^/"/; s/$/"/p
16662d
16663:bsnlc
16664s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16665b cont
16666' <confdefs.h | sed '
16667s/'"$ac_delim"'/"\\\
16668"/g' >>$CONFIG_STATUS || ac_write_fail=1
16669
16670cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16671  for (key in D) D_is_set[key] = 1
16672  FS = ""
16673}
16674/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16675  line = \$ 0
16676  split(line, arg, " ")
16677  if (arg[1] == "#") {
16678    defundef = arg[2]
16679    mac1 = arg[3]
16680  } else {
16681    defundef = substr(arg[1], 2)
16682    mac1 = arg[2]
16683  }
16684  split(mac1, mac2, "(") #)
16685  macro = mac2[1]
16686  prefix = substr(line, 1, index(line, defundef) - 1)
16687  if (D_is_set[macro]) {
16688    # Preserve the white space surrounding the "#".
16689    print prefix "define", macro P[macro] D[macro]
16690    next
16691  } else {
16692    # Replace #undef with comments.  This is necessary, for example,
16693    # in the case of _POSIX_SOURCE, which is predefined and required
16694    # on some systems where configure will not decide to define it.
16695    if (defundef == "undef") {
16696      print "/*", prefix defundef, macro, "*/"
16697      next
16698    }
16699  }
16700}
16701{ print }
16702_ACAWK
16703_ACEOF
16704cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16705  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16706fi # test -n "$CONFIG_HEADERS"
16707
16708
16709eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16710shift
16711for ac_tag
16712do
16713  case $ac_tag in
16714  :[FHLC]) ac_mode=$ac_tag; continue;;
16715  esac
16716  case $ac_mode$ac_tag in
16717  :[FHL]*:*);;
16718  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16719  :[FH]-) ac_tag=-:-;;
16720  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16721  esac
16722  ac_save_IFS=$IFS
16723  IFS=:
16724  set x $ac_tag
16725  IFS=$ac_save_IFS
16726  shift
16727  ac_file=$1
16728  shift
16729
16730  case $ac_mode in
16731  :L) ac_source=$1;;
16732  :[FH])
16733    ac_file_inputs=
16734    for ac_f
16735    do
16736      case $ac_f in
16737      -) ac_f="$ac_tmp/stdin";;
16738      *) # Look for the file first in the build tree, then in the source tree
16739	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16740	 # because $ac_f cannot contain `:'.
16741	 test -f "$ac_f" ||
16742	   case $ac_f in
16743	   [\\/$]*) false;;
16744	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16745	   esac ||
16746	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16747      esac
16748      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16749      as_fn_append ac_file_inputs " '$ac_f'"
16750    done
16751
16752    # Let's still pretend it is `configure' which instantiates (i.e., don't
16753    # use $as_me), people would be surprised to read:
16754    #    /* config.h.  Generated by config.status.  */
16755    configure_input='Generated from '`
16756	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16757	`' by configure.'
16758    if test x"$ac_file" != x-; then
16759      configure_input="$ac_file.  $configure_input"
16760      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16761$as_echo "$as_me: creating $ac_file" >&6;}
16762    fi
16763    # Neutralize special characters interpreted by sed in replacement strings.
16764    case $configure_input in #(
16765    *\&* | *\|* | *\\* )
16766       ac_sed_conf_input=`$as_echo "$configure_input" |
16767       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16768    *) ac_sed_conf_input=$configure_input;;
16769    esac
16770
16771    case $ac_tag in
16772    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16773      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16774    esac
16775    ;;
16776  esac
16777
16778  ac_dir=`$as_dirname -- "$ac_file" ||
16779$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16780	 X"$ac_file" : 'X\(//\)[^/]' \| \
16781	 X"$ac_file" : 'X\(//\)$' \| \
16782	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16783$as_echo X"$ac_file" |
16784    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16785	    s//\1/
16786	    q
16787	  }
16788	  /^X\(\/\/\)[^/].*/{
16789	    s//\1/
16790	    q
16791	  }
16792	  /^X\(\/\/\)$/{
16793	    s//\1/
16794	    q
16795	  }
16796	  /^X\(\/\).*/{
16797	    s//\1/
16798	    q
16799	  }
16800	  s/.*/./; q'`
16801  as_dir="$ac_dir"; as_fn_mkdir_p
16802  ac_builddir=.
16803
16804case "$ac_dir" in
16805.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16806*)
16807  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16808  # A ".." for each directory in $ac_dir_suffix.
16809  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16810  case $ac_top_builddir_sub in
16811  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16812  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16813  esac ;;
16814esac
16815ac_abs_top_builddir=$ac_pwd
16816ac_abs_builddir=$ac_pwd$ac_dir_suffix
16817# for backward compatibility:
16818ac_top_builddir=$ac_top_build_prefix
16819
16820case $srcdir in
16821  .)  # We are building in place.
16822    ac_srcdir=.
16823    ac_top_srcdir=$ac_top_builddir_sub
16824    ac_abs_top_srcdir=$ac_pwd ;;
16825  [\\/]* | ?:[\\/]* )  # Absolute name.
16826    ac_srcdir=$srcdir$ac_dir_suffix;
16827    ac_top_srcdir=$srcdir
16828    ac_abs_top_srcdir=$srcdir ;;
16829  *) # Relative name.
16830    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16831    ac_top_srcdir=$ac_top_build_prefix$srcdir
16832    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16833esac
16834ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16835
16836
16837  case $ac_mode in
16838  :F)
16839  #
16840  # CONFIG_FILE
16841  #
16842
16843  case $INSTALL in
16844  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16845  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16846  esac
16847  ac_MKDIR_P=$MKDIR_P
16848  case $MKDIR_P in
16849  [\\/$]* | ?:[\\/]* ) ;;
16850  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16851  esac
16852_ACEOF
16853
16854cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16855# If the template does not know about datarootdir, expand it.
16856# FIXME: This hack should be removed a few years after 2.60.
16857ac_datarootdir_hack=; ac_datarootdir_seen=
16858ac_sed_dataroot='
16859/datarootdir/ {
16860  p
16861  q
16862}
16863/@datadir@/p
16864/@docdir@/p
16865/@infodir@/p
16866/@localedir@/p
16867/@mandir@/p'
16868case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16869*datarootdir*) ac_datarootdir_seen=yes;;
16870*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16871  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16872$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16873_ACEOF
16874cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16875  ac_datarootdir_hack='
16876  s&@datadir@&$datadir&g
16877  s&@docdir@&$docdir&g
16878  s&@infodir@&$infodir&g
16879  s&@localedir@&$localedir&g
16880  s&@mandir@&$mandir&g
16881  s&\\\${datarootdir}&$datarootdir&g' ;;
16882esac
16883_ACEOF
16884
16885# Neutralize VPATH when `$srcdir' = `.'.
16886# Shell code in configure.ac might set extrasub.
16887# FIXME: do we really want to maintain this feature?
16888cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16889ac_sed_extra="$ac_vpsub
16890$extrasub
16891_ACEOF
16892cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16893:t
16894/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16895s|@configure_input@|$ac_sed_conf_input|;t t
16896s&@top_builddir@&$ac_top_builddir_sub&;t t
16897s&@top_build_prefix@&$ac_top_build_prefix&;t t
16898s&@srcdir@&$ac_srcdir&;t t
16899s&@abs_srcdir@&$ac_abs_srcdir&;t t
16900s&@top_srcdir@&$ac_top_srcdir&;t t
16901s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16902s&@builddir@&$ac_builddir&;t t
16903s&@abs_builddir@&$ac_abs_builddir&;t t
16904s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16905s&@INSTALL@&$ac_INSTALL&;t t
16906s&@MKDIR_P@&$ac_MKDIR_P&;t t
16907$ac_datarootdir_hack
16908"
16909eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16910  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16911
16912test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16913  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16914  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16915      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16916  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16917which seems to be undefined.  Please make sure it is defined" >&5
16918$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16919which seems to be undefined.  Please make sure it is defined" >&2;}
16920
16921  rm -f "$ac_tmp/stdin"
16922  case $ac_file in
16923  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16924  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16925  esac \
16926  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16927 ;;
16928  :H)
16929  #
16930  # CONFIG_HEADER
16931  #
16932  if test x"$ac_file" != x-; then
16933    {
16934      $as_echo "/* $configure_input  */" \
16935      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16936    } >"$ac_tmp/config.h" \
16937      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16938    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16939      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16940$as_echo "$as_me: $ac_file is unchanged" >&6;}
16941    else
16942      rm -f "$ac_file"
16943      mv "$ac_tmp/config.h" "$ac_file" \
16944	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16945    fi
16946  else
16947    $as_echo "/* $configure_input  */" \
16948      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16949      || as_fn_error $? "could not create -" "$LINENO" 5
16950  fi
16951# Compute "$ac_file"'s index in $config_headers.
16952_am_arg="$ac_file"
16953_am_stamp_count=1
16954for _am_header in $config_headers :; do
16955  case $_am_header in
16956    $_am_arg | $_am_arg:* )
16957      break ;;
16958    * )
16959      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16960  esac
16961done
16962echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16963$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16964	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16965	 X"$_am_arg" : 'X\(//\)$' \| \
16966	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16967$as_echo X"$_am_arg" |
16968    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16969	    s//\1/
16970	    q
16971	  }
16972	  /^X\(\/\/\)[^/].*/{
16973	    s//\1/
16974	    q
16975	  }
16976	  /^X\(\/\/\)$/{
16977	    s//\1/
16978	    q
16979	  }
16980	  /^X\(\/\).*/{
16981	    s//\1/
16982	    q
16983	  }
16984	  s/.*/./; q'`/stamp-h$_am_stamp_count
16985 ;;
16986
16987  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16988$as_echo "$as_me: executing $ac_file commands" >&6;}
16989 ;;
16990  esac
16991
16992
16993  case $ac_file$ac_mode in
16994    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16995  # Older Autoconf quotes --file arguments for eval, but not when files
16996  # are listed without --file.  Let's play safe and only enable the eval
16997  # if we detect the quoting.
16998  # TODO: see whether this extra hack can be removed once we start
16999  # requiring Autoconf 2.70 or later.
17000  case $CONFIG_FILES in #(
17001  *\'*) :
17002    eval set x "$CONFIG_FILES" ;; #(
17003  *) :
17004    set x $CONFIG_FILES ;; #(
17005  *) :
17006     ;;
17007esac
17008  shift
17009  # Used to flag and report bootstrapping failures.
17010  am_rc=0
17011  for am_mf
17012  do
17013    # Strip MF so we end up with the name of the file.
17014    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17015    # Check whether this is an Automake generated Makefile which includes
17016    # dependency-tracking related rules and includes.
17017    # Grep'ing the whole file directly is not great: AIX grep has a line
17018    # limit of 2048, but all sed's we know have understand at least 4000.
17019    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17020      || continue
17021    am_dirpart=`$as_dirname -- "$am_mf" ||
17022$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17023	 X"$am_mf" : 'X\(//\)[^/]' \| \
17024	 X"$am_mf" : 'X\(//\)$' \| \
17025	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17026$as_echo X"$am_mf" |
17027    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17028	    s//\1/
17029	    q
17030	  }
17031	  /^X\(\/\/\)[^/].*/{
17032	    s//\1/
17033	    q
17034	  }
17035	  /^X\(\/\/\)$/{
17036	    s//\1/
17037	    q
17038	  }
17039	  /^X\(\/\).*/{
17040	    s//\1/
17041	    q
17042	  }
17043	  s/.*/./; q'`
17044    am_filepart=`$as_basename -- "$am_mf" ||
17045$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17046	 X"$am_mf" : 'X\(//\)$' \| \
17047	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17048$as_echo X/"$am_mf" |
17049    sed '/^.*\/\([^/][^/]*\)\/*$/{
17050	    s//\1/
17051	    q
17052	  }
17053	  /^X\/\(\/\/\)$/{
17054	    s//\1/
17055	    q
17056	  }
17057	  /^X\/\(\/\).*/{
17058	    s//\1/
17059	    q
17060	  }
17061	  s/.*/./; q'`
17062    { echo "$as_me:$LINENO: cd "$am_dirpart" \
17063      && sed -e '/# am--include-marker/d' "$am_filepart" \
17064        | $MAKE -f - am--depfiles" >&5
17065   (cd "$am_dirpart" \
17066      && sed -e '/# am--include-marker/d' "$am_filepart" \
17067        | $MAKE -f - am--depfiles) >&5 2>&5
17068   ac_status=$?
17069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070   (exit $ac_status); } || am_rc=$?
17071  done
17072  if test $am_rc -ne 0; then
17073    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17074$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17075as_fn_error $? "Something went wrong bootstrapping makefile fragments
17076    for automatic dependency tracking.  If GNU make was not used, consider
17077    re-running the configure script with MAKE=\"gmake\" (or whatever is
17078    necessary).  You can also try re-running configure with the
17079    '--disable-dependency-tracking' option to at least be able to build
17080    the package (albeit without support for automatic dependency tracking).
17081See \`config.log' for more details" "$LINENO" 5; }
17082  fi
17083  { am_dirpart=; unset am_dirpart;}
17084  { am_filepart=; unset am_filepart;}
17085  { am_mf=; unset am_mf;}
17086  { am_rc=; unset am_rc;}
17087  rm -f conftest-deps.mk
17088}
17089 ;;
17090    "libtool":C)
17091
17092    # See if we are running on zsh, and set the options that allow our
17093    # commands through without removal of \ escapes.
17094    if test -n "${ZSH_VERSION+set}"; then
17095      setopt NO_GLOB_SUBST
17096    fi
17097
17098    cfgfile=${ofile}T
17099    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17100    $RM "$cfgfile"
17101
17102    cat <<_LT_EOF >> "$cfgfile"
17103#! $SHELL
17104# Generated automatically by $as_me ($PACKAGE) $VERSION
17105# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17106
17107# Provide generalized library-building support services.
17108# Written by Gordon Matzigkeit, 1996
17109
17110# Copyright (C) 2014 Free Software Foundation, Inc.
17111# This is free software; see the source for copying conditions.  There is NO
17112# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17113
17114# GNU Libtool is free software; you can redistribute it and/or modify
17115# it under the terms of the GNU General Public License as published by
17116# the Free Software Foundation; either version 2 of of the License, or
17117# (at your option) any later version.
17118#
17119# As a special exception to the GNU General Public License, if you
17120# distribute this file as part of a program or library that is built
17121# using GNU Libtool, you may include this file under the  same
17122# distribution terms that you use for the rest of that program.
17123#
17124# GNU Libtool is distributed in the hope that it will be useful, but
17125# WITHOUT ANY WARRANTY; without even the implied warranty of
17126# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17127# GNU General Public License for more details.
17128#
17129# You should have received a copy of the GNU General Public License
17130# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17131
17132
17133# The names of the tagged configurations supported by this script.
17134available_tags=''
17135
17136# Configured defaults for sys_lib_dlsearch_path munging.
17137: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17138
17139# ### BEGIN LIBTOOL CONFIG
17140
17141# A sed program that does not truncate output.
17142SED=$lt_SED
17143
17144# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17145Xsed="\$SED -e 1s/^X//"
17146
17147# A grep program that handles long lines.
17148GREP=$lt_GREP
17149
17150# An ERE matcher.
17151EGREP=$lt_EGREP
17152
17153# A literal string matcher.
17154FGREP=$lt_FGREP
17155
17156# Shell to use when invoking shell scripts.
17157SHELL=$lt_SHELL
17158
17159# An echo program that protects backslashes.
17160ECHO=$lt_ECHO
17161
17162# Which release of libtool.m4 was used?
17163macro_version=$macro_version
17164macro_revision=$macro_revision
17165
17166# Whether or not to build static libraries.
17167build_old_libs=$enable_static
17168
17169# Whether or not to build shared libraries.
17170build_libtool_libs=$enable_shared
17171
17172# What type of objects to build.
17173pic_mode=$pic_mode
17174
17175# Whether or not to optimize for fast installation.
17176fast_install=$enable_fast_install
17177
17178# Shared archive member basename,for filename based shared library versioning on AIX.
17179shared_archive_member_spec=$shared_archive_member_spec
17180
17181# The PATH separator for the build system.
17182PATH_SEPARATOR=$lt_PATH_SEPARATOR
17183
17184# The host system.
17185host_alias=$host_alias
17186host=$host
17187host_os=$host_os
17188
17189# The build system.
17190build_alias=$build_alias
17191build=$build
17192build_os=$build_os
17193
17194# A BSD- or MS-compatible name lister.
17195NM=$lt_NM
17196
17197# Whether we need soft or hard links.
17198LN_S=$lt_LN_S
17199
17200# What is the maximum length of a command?
17201max_cmd_len=$max_cmd_len
17202
17203# Object file suffix (normally "o").
17204objext=$ac_objext
17205
17206# Executable file suffix (normally "").
17207exeext=$exeext
17208
17209# whether the shell understands "unset".
17210lt_unset=$lt_unset
17211
17212# turn spaces into newlines.
17213SP2NL=$lt_lt_SP2NL
17214
17215# turn newlines into spaces.
17216NL2SP=$lt_lt_NL2SP
17217
17218# convert \$build file names to \$host format.
17219to_host_file_cmd=$lt_cv_to_host_file_cmd
17220
17221# convert \$build files to toolchain format.
17222to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17223
17224# An object symbol dumper.
17225OBJDUMP=$lt_OBJDUMP
17226
17227# Method to check whether dependent libraries are shared objects.
17228deplibs_check_method=$lt_deplibs_check_method
17229
17230# Command to use when deplibs_check_method = "file_magic".
17231file_magic_cmd=$lt_file_magic_cmd
17232
17233# How to find potential files when deplibs_check_method = "file_magic".
17234file_magic_glob=$lt_file_magic_glob
17235
17236# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17237want_nocaseglob=$lt_want_nocaseglob
17238
17239# DLL creation program.
17240DLLTOOL=$lt_DLLTOOL
17241
17242# Command to associate shared and link libraries.
17243sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17244
17245# The archiver.
17246AR=$lt_AR
17247
17248# Flags to create an archive (by configure).
17249lt_ar_flags=$lt_ar_flags
17250
17251# Flags to create an archive.
17252AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
17253
17254# How to feed a file listing to the archiver.
17255archiver_list_spec=$lt_archiver_list_spec
17256
17257# A symbol stripping program.
17258STRIP=$lt_STRIP
17259
17260# Commands used to install an old-style archive.
17261RANLIB=$lt_RANLIB
17262old_postinstall_cmds=$lt_old_postinstall_cmds
17263old_postuninstall_cmds=$lt_old_postuninstall_cmds
17264
17265# Whether to use a lock for old archive extraction.
17266lock_old_archive_extraction=$lock_old_archive_extraction
17267
17268# A C compiler.
17269LTCC=$lt_CC
17270
17271# LTCC compiler flags.
17272LTCFLAGS=$lt_CFLAGS
17273
17274# Take the output of nm and produce a listing of raw symbols and C names.
17275global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17276
17277# Transform the output of nm in a proper C declaration.
17278global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17279
17280# Transform the output of nm into a list of symbols to manually relocate.
17281global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17282
17283# Transform the output of nm in a C name address pair.
17284global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17285
17286# Transform the output of nm in a C name address pair when lib prefix is needed.
17287global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17288
17289# The name lister interface.
17290nm_interface=$lt_lt_cv_nm_interface
17291
17292# Specify filename containing input files for \$NM.
17293nm_file_list_spec=$lt_nm_file_list_spec
17294
17295# The root where to search for dependent libraries,and where our libraries should be installed.
17296lt_sysroot=$lt_sysroot
17297
17298# Command to truncate a binary pipe.
17299lt_truncate_bin=$lt_lt_cv_truncate_bin
17300
17301# The name of the directory that contains temporary libtool files.
17302objdir=$objdir
17303
17304# Used to examine libraries when file_magic_cmd begins with "file".
17305MAGIC_CMD=$MAGIC_CMD
17306
17307# Must we lock files when doing compilation?
17308need_locks=$lt_need_locks
17309
17310# Manifest tool.
17311MANIFEST_TOOL=$lt_MANIFEST_TOOL
17312
17313# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17314DSYMUTIL=$lt_DSYMUTIL
17315
17316# Tool to change global to local symbols on Mac OS X.
17317NMEDIT=$lt_NMEDIT
17318
17319# Tool to manipulate fat objects and archives on Mac OS X.
17320LIPO=$lt_LIPO
17321
17322# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17323OTOOL=$lt_OTOOL
17324
17325# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17326OTOOL64=$lt_OTOOL64
17327
17328# Old archive suffix (normally "a").
17329libext=$libext
17330
17331# Shared library suffix (normally ".so").
17332shrext_cmds=$lt_shrext_cmds
17333
17334# The commands to extract the exported symbol list from a shared archive.
17335extract_expsyms_cmds=$lt_extract_expsyms_cmds
17336
17337# Variables whose values should be saved in libtool wrapper scripts and
17338# restored at link time.
17339variables_saved_for_relink=$lt_variables_saved_for_relink
17340
17341# Do we need the "lib" prefix for modules?
17342need_lib_prefix=$need_lib_prefix
17343
17344# Do we need a version for libraries?
17345need_version=$need_version
17346
17347# Library versioning type.
17348version_type=$version_type
17349
17350# Shared library runtime path variable.
17351runpath_var=$runpath_var
17352
17353# Shared library path variable.
17354shlibpath_var=$shlibpath_var
17355
17356# Is shlibpath searched before the hard-coded library search path?
17357shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17358
17359# Format of library name prefix.
17360libname_spec=$lt_libname_spec
17361
17362# List of archive names.  First name is the real one, the rest are links.
17363# The last name is the one that the linker finds with -lNAME
17364library_names_spec=$lt_library_names_spec
17365
17366# The coded name of the library, if different from the real name.
17367soname_spec=$lt_soname_spec
17368
17369# Permission mode override for installation of shared libraries.
17370install_override_mode=$lt_install_override_mode
17371
17372# Command to use after installation of a shared archive.
17373postinstall_cmds=$lt_postinstall_cmds
17374
17375# Command to use after uninstallation of a shared archive.
17376postuninstall_cmds=$lt_postuninstall_cmds
17377
17378# Commands used to finish a libtool library installation in a directory.
17379finish_cmds=$lt_finish_cmds
17380
17381# As "finish_cmds", except a single script fragment to be evaled but
17382# not shown.
17383finish_eval=$lt_finish_eval
17384
17385# Whether we should hardcode library paths into libraries.
17386hardcode_into_libs=$hardcode_into_libs
17387
17388# Compile-time system search path for libraries.
17389sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17390
17391# Detected run-time system search path for libraries.
17392sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17393
17394# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17395configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17396
17397# Whether dlopen is supported.
17398dlopen_support=$enable_dlopen
17399
17400# Whether dlopen of programs is supported.
17401dlopen_self=$enable_dlopen_self
17402
17403# Whether dlopen of statically linked programs is supported.
17404dlopen_self_static=$enable_dlopen_self_static
17405
17406# Commands to strip libraries.
17407old_striplib=$lt_old_striplib
17408striplib=$lt_striplib
17409
17410
17411# The linker used to build libraries.
17412LD=$lt_LD
17413
17414# How to create reloadable object files.
17415reload_flag=$lt_reload_flag
17416reload_cmds=$lt_reload_cmds
17417
17418# Commands used to build an old-style archive.
17419old_archive_cmds=$lt_old_archive_cmds
17420
17421# A language specific compiler.
17422CC=$lt_compiler
17423
17424# Is the compiler the GNU compiler?
17425with_gcc=$GCC
17426
17427# Compiler flag to turn off builtin functions.
17428no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17429
17430# Additional compiler flags for building library objects.
17431pic_flag=$lt_lt_prog_compiler_pic
17432
17433# How to pass a linker flag through the compiler.
17434wl=$lt_lt_prog_compiler_wl
17435
17436# Compiler flag to prevent dynamic linking.
17437link_static_flag=$lt_lt_prog_compiler_static
17438
17439# Does compiler simultaneously support -c and -o options?
17440compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17441
17442# Whether or not to add -lc for building shared libraries.
17443build_libtool_need_lc=$archive_cmds_need_lc
17444
17445# Whether or not to disallow shared libs when runtime libs are static.
17446allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17447
17448# Compiler flag to allow reflexive dlopens.
17449export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17450
17451# Compiler flag to generate shared objects directly from archives.
17452whole_archive_flag_spec=$lt_whole_archive_flag_spec
17453
17454# Whether the compiler copes with passing no objects directly.
17455compiler_needs_object=$lt_compiler_needs_object
17456
17457# Create an old-style archive from a shared archive.
17458old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17459
17460# Create a temporary old-style archive to link instead of a shared archive.
17461old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17462
17463# Commands used to build a shared archive.
17464archive_cmds=$lt_archive_cmds
17465archive_expsym_cmds=$lt_archive_expsym_cmds
17466
17467# Commands used to build a loadable module if different from building
17468# a shared archive.
17469module_cmds=$lt_module_cmds
17470module_expsym_cmds=$lt_module_expsym_cmds
17471
17472# Whether we are building with GNU ld or not.
17473with_gnu_ld=$lt_with_gnu_ld
17474
17475# Flag that allows shared libraries with undefined symbols to be built.
17476allow_undefined_flag=$lt_allow_undefined_flag
17477
17478# Flag that enforces no undefined symbols.
17479no_undefined_flag=$lt_no_undefined_flag
17480
17481# Flag to hardcode \$libdir into a binary during linking.
17482# This must work even if \$libdir does not exist
17483hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17484
17485# Whether we need a single "-rpath" flag with a separated argument.
17486hardcode_libdir_separator=$lt_hardcode_libdir_separator
17487
17488# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17489# DIR into the resulting binary.
17490hardcode_direct=$hardcode_direct
17491
17492# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17493# DIR into the resulting binary and the resulting library dependency is
17494# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17495# library is relocated.
17496hardcode_direct_absolute=$hardcode_direct_absolute
17497
17498# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17499# into the resulting binary.
17500hardcode_minus_L=$hardcode_minus_L
17501
17502# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17503# into the resulting binary.
17504hardcode_shlibpath_var=$hardcode_shlibpath_var
17505
17506# Set to "yes" if building a shared library automatically hardcodes DIR
17507# into the library and all subsequent libraries and executables linked
17508# against it.
17509hardcode_automatic=$hardcode_automatic
17510
17511# Set to yes if linker adds runtime paths of dependent libraries
17512# to runtime path list.
17513inherit_rpath=$inherit_rpath
17514
17515# Whether libtool must link a program against all its dependency libraries.
17516link_all_deplibs=$link_all_deplibs
17517
17518# Set to "yes" if exported symbols are required.
17519always_export_symbols=$always_export_symbols
17520
17521# The commands to list exported symbols.
17522export_symbols_cmds=$lt_export_symbols_cmds
17523
17524# Symbols that should not be listed in the preloaded symbols.
17525exclude_expsyms=$lt_exclude_expsyms
17526
17527# Symbols that must always be exported.
17528include_expsyms=$lt_include_expsyms
17529
17530# Commands necessary for linking programs (against libraries) with templates.
17531prelink_cmds=$lt_prelink_cmds
17532
17533# Commands necessary for finishing linking programs.
17534postlink_cmds=$lt_postlink_cmds
17535
17536# Specify filename containing input files.
17537file_list_spec=$lt_file_list_spec
17538
17539# How to hardcode a shared library path into an executable.
17540hardcode_action=$hardcode_action
17541
17542# ### END LIBTOOL CONFIG
17543
17544_LT_EOF
17545
17546    cat <<'_LT_EOF' >> "$cfgfile"
17547
17548# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17549
17550# func_munge_path_list VARIABLE PATH
17551# -----------------------------------
17552# VARIABLE is name of variable containing _space_ separated list of
17553# directories to be munged by the contents of PATH, which is string
17554# having a format:
17555# "DIR[:DIR]:"
17556#       string "DIR[ DIR]" will be prepended to VARIABLE
17557# ":DIR[:DIR]"
17558#       string "DIR[ DIR]" will be appended to VARIABLE
17559# "DIRP[:DIRP]::[DIRA:]DIRA"
17560#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17561#       "DIRA[ DIRA]" will be appended to VARIABLE
17562# "DIR[:DIR]"
17563#       VARIABLE will be replaced by "DIR[ DIR]"
17564func_munge_path_list ()
17565{
17566    case x$2 in
17567    x)
17568        ;;
17569    *:)
17570        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17571        ;;
17572    x:*)
17573        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17574        ;;
17575    *::*)
17576        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17577        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17578        ;;
17579    *)
17580        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17581        ;;
17582    esac
17583}
17584
17585
17586# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17587func_cc_basename ()
17588{
17589    for cc_temp in $*""; do
17590      case $cc_temp in
17591        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17592        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17593        \-*) ;;
17594        *) break;;
17595      esac
17596    done
17597    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17598}
17599
17600
17601# ### END FUNCTIONS SHARED WITH CONFIGURE
17602
17603_LT_EOF
17604
17605  case $host_os in
17606  aix3*)
17607    cat <<\_LT_EOF >> "$cfgfile"
17608# AIX sometimes has problems with the GCC collect2 program.  For some
17609# reason, if we set the COLLECT_NAMES environment variable, the problems
17610# vanish in a puff of smoke.
17611if test set != "${COLLECT_NAMES+set}"; then
17612  COLLECT_NAMES=
17613  export COLLECT_NAMES
17614fi
17615_LT_EOF
17616    ;;
17617  esac
17618
17619
17620ltmain=$ac_aux_dir/ltmain.sh
17621
17622
17623  # We use sed instead of cat because bash on DJGPP gets confused if
17624  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17625  # text mode, it properly converts lines to CR/LF.  This bash problem
17626  # is reportedly fixed, but why not run on old versions too?
17627  sed '$q' "$ltmain" >> "$cfgfile" \
17628     || (rm -f "$cfgfile"; exit 1)
17629
17630   mv -f "$cfgfile" "$ofile" ||
17631    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17632  chmod +x "$ofile"
17633
17634 ;;
17635    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17636        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17637      esac ;;
17638    "po/stamp-it":C)
17639    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17640       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17641    fi
17642    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17643    >"po/stamp-it.tmp"
17644    sed '/^#/d
17645	 s/^[[].*] *//
17646	 /^[ 	]*$/d
17647	'"s|^|	$ac_top_srcdir/|" \
17648      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17649
17650    sed '/^POTFILES =/,/[^\\]$/ {
17651		/^POTFILES =/!d
17652		r po/POTFILES
17653	  }
17654	 ' "po/Makefile.in" >"po/Makefile"
17655    rm -f "po/Makefile.tmp"
17656    mv "po/stamp-it.tmp" "po/stamp-it"
17657   ;;
17658
17659  esac
17660done # for ac_tag
17661
17662
17663as_fn_exit 0
17664_ACEOF
17665ac_clean_files=$ac_clean_files_save
17666
17667test $ac_write_fail = 0 ||
17668  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17669
17670
17671# configure is writing to config.log, and then calls config.status.
17672# config.status does its own redirection, appending to config.log.
17673# Unfortunately, on DOS this fails, as config.log is still kept open
17674# by configure, so config.status won't be able to write to it; its
17675# output is simply discarded.  So we exec the FD to /dev/null,
17676# effectively closing config.log, so it can be properly (re)opened and
17677# appended to by config.status.  When coming back to configure, we
17678# need to make the FD available again.
17679if test "$no_create" != yes; then
17680  ac_cs_success=:
17681  ac_config_status_args=
17682  test "$silent" = yes &&
17683    ac_config_status_args="$ac_config_status_args --quiet"
17684  exec 5>/dev/null
17685  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17686  exec 5>>config.log
17687  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17688  # would make configure fail if this is the last instruction.
17689  $ac_cs_success || as_fn_exit 1
17690fi
17691if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17692  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17693$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17694fi
17695
17696