1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xfce4-wavelan-plugin 0.6.2.
4#
5# Report bugs to <xfce-dev@xfce.org>.
6#
7# Copyright (c) 2003-2006 Benedikt Meurer <benny@xfce.org>
8# Copyright (c) 2010 Florian Rivoal <frivoal@xfce.org>
9# 2010-2020 The Xfce development team. All rights reserved.
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
205
206  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
207    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
208    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
209    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
210    PATH=/empty FPATH=/empty; export PATH FPATH
211    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
212      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
213test \$(( 1 + 1 )) = 2 || 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 xfce-dev@xfce.org
282$0: about your system, including any error possibly output
283$0: before this message. Then install a modern shell, or
284$0: manually run the script under such a shell if you do
285$0: have one."
286  fi
287  exit 1
288fi
289fi
290fi
291SHELL=${CONFIG_SHELL-/bin/sh}
292export SHELL
293# Unset more variables known to interfere with behavior of common tools.
294CLICOLOR_FORCE= GREP_OPTIONS=
295unset CLICOLOR_FORCE GREP_OPTIONS
296
297## --------------------- ##
298## M4sh Shell Functions. ##
299## --------------------- ##
300# as_fn_unset VAR
301# ---------------
302# Portably unset VAR.
303as_fn_unset ()
304{
305  { eval $1=; unset $1;}
306}
307as_unset=as_fn_unset
308
309# as_fn_set_status STATUS
310# -----------------------
311# Set $? to STATUS, without forking.
312as_fn_set_status ()
313{
314  return $1
315} # as_fn_set_status
316
317# as_fn_exit STATUS
318# -----------------
319# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
320as_fn_exit ()
321{
322  set +e
323  as_fn_set_status $1
324  exit $1
325} # as_fn_exit
326
327# as_fn_mkdir_p
328# -------------
329# Create "$as_dir" as a directory, including parents if necessary.
330as_fn_mkdir_p ()
331{
332
333  case $as_dir in #(
334  -*) as_dir=./$as_dir;;
335  esac
336  test -d "$as_dir" || eval $as_mkdir_p || {
337    as_dirs=
338    while :; do
339      case $as_dir in #(
340      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341      *) as_qdir=$as_dir;;
342      esac
343      as_dirs="'$as_qdir' $as_dirs"
344      as_dir=`$as_dirname -- "$as_dir" ||
345$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
346	 X"$as_dir" : 'X\(//\)[^/]' \| \
347	 X"$as_dir" : 'X\(//\)$' \| \
348	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
349$as_echo X"$as_dir" |
350    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)[^/].*/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\/\)$/{
359	    s//\1/
360	    q
361	  }
362	  /^X\(\/\).*/{
363	    s//\1/
364	    q
365	  }
366	  s/.*/./; q'`
367      test -d "$as_dir" && break
368    done
369    test -z "$as_dirs" || eval "mkdir $as_dirs"
370  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
372
373} # as_fn_mkdir_p
374
375# as_fn_executable_p FILE
376# -----------------------
377# Test if FILE is an executable regular file.
378as_fn_executable_p ()
379{
380  test -f "$1" && test -x "$1"
381} # as_fn_executable_p
382# as_fn_append VAR VALUE
383# ----------------------
384# Append the text in VALUE to the end of the definition contained in VAR. Take
385# advantage of any shell optimizations that allow amortized linear growth over
386# repeated appends, instead of the typical quadratic growth present in naive
387# implementations.
388if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
389  eval 'as_fn_append ()
390  {
391    eval $1+=\$2
392  }'
393else
394  as_fn_append ()
395  {
396    eval $1=\$$1\$2
397  }
398fi # as_fn_append
399
400# as_fn_arith ARG...
401# ------------------
402# Perform arithmetic evaluation on the ARGs, and store the result in the
403# global $as_val. Take advantage of shells that can avoid forks. The arguments
404# must be portable across $(()) and expr.
405if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406  eval 'as_fn_arith ()
407  {
408    as_val=$(( $* ))
409  }'
410else
411  as_fn_arith ()
412  {
413    as_val=`expr "$@" || test $? -eq 1`
414  }
415fi # as_fn_arith
416
417
418# as_fn_error STATUS ERROR [LINENO LOG_FD]
419# ----------------------------------------
420# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
421# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
422# script with STATUS, using 1 if that was 0.
423as_fn_error ()
424{
425  as_status=$1; test $as_status -eq 0 && as_status=1
426  if test "$4"; then
427    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
428    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
429  fi
430  $as_echo "$as_me: error: $2" >&2
431  as_fn_exit $as_status
432} # as_fn_error
433
434if expr a : '\(a\)' >/dev/null 2>&1 &&
435   test "X`expr 00001 : '.*\(...\)'`" = X001; then
436  as_expr=expr
437else
438  as_expr=false
439fi
440
441if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
442  as_basename=basename
443else
444  as_basename=false
445fi
446
447if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
448  as_dirname=dirname
449else
450  as_dirname=false
451fi
452
453as_me=`$as_basename -- "$0" ||
454$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
455	 X"$0" : 'X\(//\)$' \| \
456	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
457$as_echo X/"$0" |
458    sed '/^.*\/\([^/][^/]*\)\/*$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\/\)$/{
463	    s//\1/
464	    q
465	  }
466	  /^X\/\(\/\).*/{
467	    s//\1/
468	    q
469	  }
470	  s/.*/./; q'`
471
472# Avoid depending upon Character Ranges.
473as_cr_letters='abcdefghijklmnopqrstuvwxyz'
474as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
475as_cr_Letters=$as_cr_letters$as_cr_LETTERS
476as_cr_digits='0123456789'
477as_cr_alnum=$as_cr_Letters$as_cr_digits
478
479
480  as_lineno_1=$LINENO as_lineno_1a=$LINENO
481  as_lineno_2=$LINENO as_lineno_2a=$LINENO
482  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
483  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
484  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
485  sed -n '
486    p
487    /[$]LINENO/=
488  ' <$as_myself |
489    sed '
490      s/[$]LINENO.*/&-/
491      t lineno
492      b
493      :lineno
494      N
495      :loop
496      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497      t loop
498      s/-\n.*//
499    ' >$as_me.lineno &&
500  chmod +x "$as_me.lineno" ||
501    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
502
503  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504  # already done that, so ensure we don't try to do so again and fall
505  # in an infinite loop.  This has already happened in practice.
506  _as_can_reexec=no; export _as_can_reexec
507  # Don't try to exec as it changes $[0], causing all sort of problems
508  # (the dirname of $[0] is not the place where we might find the
509  # original and so on.  Autoconf is especially sensitive to this).
510  . "./$as_me.lineno"
511  # Exit status is that of the last command.
512  exit
513}
514
515ECHO_C= ECHO_N= ECHO_T=
516case `echo -n x` in #(((((
517-n*)
518  case `echo 'xy\c'` in
519  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
520  xy)  ECHO_C='\c';;
521  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
522       ECHO_T='	';;
523  esac;;
524*)
525  ECHO_N='-n';;
526esac
527
528rm -f conf$$ conf$$.exe conf$$.file
529if test -d conf$$.dir; then
530  rm -f conf$$.dir/conf$$.file
531else
532  rm -f conf$$.dir
533  mkdir conf$$.dir 2>/dev/null
534fi
535if (echo >conf$$.file) 2>/dev/null; then
536  if ln -s conf$$.file conf$$ 2>/dev/null; then
537    as_ln_s='ln -s'
538    # ... but there are two gotchas:
539    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
540    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
541    # In both cases, we have to default to `cp -pR'.
542    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
543      as_ln_s='cp -pR'
544  elif ln conf$$.file conf$$ 2>/dev/null; then
545    as_ln_s=ln
546  else
547    as_ln_s='cp -pR'
548  fi
549else
550  as_ln_s='cp -pR'
551fi
552rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
553rmdir conf$$.dir 2>/dev/null
554
555if mkdir -p . 2>/dev/null; then
556  as_mkdir_p='mkdir -p "$as_dir"'
557else
558  test -d ./-p && rmdir ./-p
559  as_mkdir_p=false
560fi
561
562as_test_x='test -x'
563as_executable_p=as_fn_executable_p
564
565# Sed expression to map a string onto a valid CPP name.
566as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
567
568# Sed expression to map a string onto a valid variable name.
569as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570
571SHELL=${CONFIG_SHELL-/bin/sh}
572
573
574test -n "$DJDIR" || exec 7<&0 </dev/null
575exec 6>&1
576
577# Name of the host.
578# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579# so uname gets run too.
580ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
582#
583# Initializations.
584#
585ac_default_prefix=/usr/local
586ac_clean_files=
587ac_config_libobj_dir=.
588LIBOBJS=
589cross_compiling=no
590subdirs=
591MFLAGS=
592MAKEFLAGS=
593
594# Identity of this package.
595PACKAGE_NAME='xfce4-wavelan-plugin'
596PACKAGE_TARNAME='xfce4-wavelan-plugin'
597PACKAGE_VERSION='0.6.2'
598PACKAGE_STRING='xfce4-wavelan-plugin 0.6.2'
599PACKAGE_BUGREPORT='xfce-dev@xfce.org'
600PACKAGE_URL=''
601
602# Factoring default headers for most tests.
603ac_includes_default="\
604#include <stdio.h>
605#ifdef HAVE_SYS_TYPES_H
606# include <sys/types.h>
607#endif
608#ifdef HAVE_SYS_STAT_H
609# include <sys/stat.h>
610#endif
611#ifdef STDC_HEADERS
612# include <stdlib.h>
613# include <stddef.h>
614#else
615# ifdef HAVE_STDLIB_H
616#  include <stdlib.h>
617# endif
618#endif
619#ifdef HAVE_STRING_H
620# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621#  include <memory.h>
622# endif
623# include <string.h>
624#endif
625#ifdef HAVE_STRINGS_H
626# include <strings.h>
627#endif
628#ifdef HAVE_INTTYPES_H
629# include <inttypes.h>
630#endif
631#ifdef HAVE_STDINT_H
632# include <stdint.h>
633#endif
634#ifdef HAVE_UNISTD_H
635# include <unistd.h>
636#endif"
637
638ac_subst_vars='am__EXEEXT_FALSE
639am__EXEEXT_TRUE
640LTLIBOBJS
641LIBOBJS
642LIBXFCE4UI_REQUIRED_VERSION
643LIBXFCE4UI_LIBS
644LIBXFCE4UI_CFLAGS
645LIBXFCE4UI_VERSION
646LIBXFCE4PANEL_REQUIRED_VERSION
647LIBXFCE4PANEL_LIBS
648LIBXFCE4PANEL_CFLAGS
649LIBXFCE4PANEL_VERSION
650PKG_CONFIG_LIBDIR
651PKG_CONFIG_PATH
652PKG_CONFIG
653XGETTEXT_ARGS
654MKINSTALLDIRS
655POSUB
656POFILES
657PO_IN_DATADIR_FALSE
658PO_IN_DATADIR_TRUE
659INTLLIBS
660INSTOBJEXT
661GMOFILES
662DATADIRNAME
663CATOBJEXT
664CATALOGS
665MSGFMT_OPTS
666INTL_MACOSX_LIBS
667GETTEXT_PACKAGE
668LIBM
669CPP
670LT_SYS_LIBRARY_PATH
671OTOOL64
672OTOOL
673LIPO
674NMEDIT
675DSYMUTIL
676MANIFEST_TOOL
677RANLIB
678ac_ct_AR
679AR
680DLLTOOL
681OBJDUMP
682LN_S
683NM
684ac_ct_DUMPBIN
685DUMPBIN
686LD
687FGREP
688EGREP
689GREP
690SED
691host_os
692host_vendor
693host_cpu
694host
695build_os
696build_vendor
697build_cpu
698build
699LIBTOOL
700ALL_LINGUAS
701INTLTOOL_PERL
702GMSGFMT
703MSGFMT
704MSGMERGE
705XGETTEXT
706INTLTOOL_POLICY_RULE
707INTLTOOL_SERVICE_RULE
708INTLTOOL_THEME_RULE
709INTLTOOL_SCHEMAS_RULE
710INTLTOOL_CAVES_RULE
711INTLTOOL_XML_NOMERGE_RULE
712INTLTOOL_XML_RULE
713INTLTOOL_KBD_RULE
714INTLTOOL_XAM_RULE
715INTLTOOL_UI_RULE
716INTLTOOL_SOUNDLIST_RULE
717INTLTOOL_SHEET_RULE
718INTLTOOL_SERVER_RULE
719INTLTOOL_PONG_RULE
720INTLTOOL_OAF_RULE
721INTLTOOL_PROP_RULE
722INTLTOOL_KEYS_RULE
723INTLTOOL_DIRECTORY_RULE
724INTLTOOL_DESKTOP_RULE
725intltool__v_merge_options_0
726intltool__v_merge_options_
727INTLTOOL_V_MERGE_OPTIONS
728INTLTOOL__v_MERGE_0
729INTLTOOL__v_MERGE_
730INTLTOOL_V_MERGE
731INTLTOOL_EXTRACT
732INTLTOOL_MERGE
733INTLTOOL_UPDATE
734USE_NLS
735am__fastdepCC_FALSE
736am__fastdepCC_TRUE
737CCDEPMODE
738am__nodep
739AMDEPBACKSLASH
740AMDEP_FALSE
741AMDEP_TRUE
742am__include
743DEPDIR
744OBJEXT
745EXEEXT
746ac_ct_CC
747CPPFLAGS
748LDFLAGS
749CFLAGS
750CC
751MAINT
752MAINTAINER_MODE_FALSE
753MAINTAINER_MODE_TRUE
754AM_BACKSLASH
755AM_DEFAULT_VERBOSITY
756AM_DEFAULT_V
757AM_V
758am__untar
759am__tar
760AMTAR
761am__leading_dot
762SET_MAKE
763AWK
764mkdir_p
765MKDIR_P
766INSTALL_STRIP_PROGRAM
767STRIP
768install_sh
769MAKEINFO
770AUTOHEADER
771AUTOMAKE
772AUTOCONF
773ACLOCAL
774VERSION
775PACKAGE
776CYGPATH_W
777am__isrc
778INSTALL_DATA
779INSTALL_SCRIPT
780INSTALL_PROGRAM
781target_alias
782host_alias
783build_alias
784LIBS
785ECHO_T
786ECHO_N
787ECHO_C
788DEFS
789mandir
790localedir
791libdir
792psdir
793pdfdir
794dvidir
795htmldir
796infodir
797docdir
798oldincludedir
799includedir
800runstatedir
801localstatedir
802sharedstatedir
803sysconfdir
804datadir
805datarootdir
806libexecdir
807sbindir
808bindir
809program_transform_name
810prefix
811exec_prefix
812PACKAGE_URL
813PACKAGE_BUGREPORT
814PACKAGE_STRING
815PACKAGE_VERSION
816PACKAGE_TARNAME
817PACKAGE_NAME
818PATH_SEPARATOR
819SHELL
820am__quote'
821ac_subst_files=''
822ac_user_opts='
823enable_option_checking
824enable_silent_rules
825enable_maintainer_mode
826enable_dependency_tracking
827enable_nls
828enable_static
829enable_shared
830with_pic
831enable_fast_install
832with_aix_soname
833with_gnu_ld
834with_sysroot
835enable_libtool_lock
836with_locales_dir
837enable_debug
838'
839      ac_precious_vars='build_alias
840host_alias
841target_alias
842CC
843CFLAGS
844LDFLAGS
845LIBS
846CPPFLAGS
847LT_SYS_LIBRARY_PATH
848CPP
849PKG_CONFIG
850PKG_CONFIG_PATH
851PKG_CONFIG_LIBDIR'
852
853
854# Initialize some variables set by options.
855ac_init_help=
856ac_init_version=false
857ac_unrecognized_opts=
858ac_unrecognized_sep=
859# The variables have the same names as the options, with
860# dashes changed to underlines.
861cache_file=/dev/null
862exec_prefix=NONE
863no_create=
864no_recursion=
865prefix=NONE
866program_prefix=NONE
867program_suffix=NONE
868program_transform_name=s,x,x,
869silent=
870site=
871srcdir=
872verbose=
873x_includes=NONE
874x_libraries=NONE
875
876# Installation directory options.
877# These are left unexpanded so users can "make install exec_prefix=/foo"
878# and all the variables that are supposed to be based on exec_prefix
879# by default will actually change.
880# Use braces instead of parens because sh, perl, etc. also accept them.
881# (The list follows the same order as the GNU Coding Standards.)
882bindir='${exec_prefix}/bin'
883sbindir='${exec_prefix}/sbin'
884libexecdir='${exec_prefix}/libexec'
885datarootdir='${prefix}/share'
886datadir='${datarootdir}'
887sysconfdir='${prefix}/etc'
888sharedstatedir='${prefix}/com'
889localstatedir='${prefix}/var'
890runstatedir='${localstatedir}/run'
891includedir='${prefix}/include'
892oldincludedir='/usr/include'
893docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
894infodir='${datarootdir}/info'
895htmldir='${docdir}'
896dvidir='${docdir}'
897pdfdir='${docdir}'
898psdir='${docdir}'
899libdir='${exec_prefix}/lib'
900localedir='${datarootdir}/locale'
901mandir='${datarootdir}/man'
902
903ac_prev=
904ac_dashdash=
905for ac_option
906do
907  # If the previous option needs an argument, assign it.
908  if test -n "$ac_prev"; then
909    eval $ac_prev=\$ac_option
910    ac_prev=
911    continue
912  fi
913
914  case $ac_option in
915  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916  *=)   ac_optarg= ;;
917  *)    ac_optarg=yes ;;
918  esac
919
920  # Accept the important Cygnus configure options, so we can diagnose typos.
921
922  case $ac_dashdash$ac_option in
923  --)
924    ac_dashdash=yes ;;
925
926  -bindir | --bindir | --bindi | --bind | --bin | --bi)
927    ac_prev=bindir ;;
928  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929    bindir=$ac_optarg ;;
930
931  -build | --build | --buil | --bui | --bu)
932    ac_prev=build_alias ;;
933  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
934    build_alias=$ac_optarg ;;
935
936  -cache-file | --cache-file | --cache-fil | --cache-fi \
937  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
938    ac_prev=cache_file ;;
939  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
940  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
941    cache_file=$ac_optarg ;;
942
943  --config-cache | -C)
944    cache_file=config.cache ;;
945
946  -datadir | --datadir | --datadi | --datad)
947    ac_prev=datadir ;;
948  -datadir=* | --datadir=* | --datadi=* | --datad=*)
949    datadir=$ac_optarg ;;
950
951  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
952  | --dataroo | --dataro | --datar)
953    ac_prev=datarootdir ;;
954  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
955  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
956    datarootdir=$ac_optarg ;;
957
958  -disable-* | --disable-*)
959    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
960    # Reject names that are not valid shell variable names.
961    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962      as_fn_error $? "invalid feature name: $ac_useropt"
963    ac_useropt_orig=$ac_useropt
964    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965    case $ac_user_opts in
966      *"
967"enable_$ac_useropt"
968"*) ;;
969      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970	 ac_unrecognized_sep=', ';;
971    esac
972    eval enable_$ac_useropt=no ;;
973
974  -docdir | --docdir | --docdi | --doc | --do)
975    ac_prev=docdir ;;
976  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977    docdir=$ac_optarg ;;
978
979  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
980    ac_prev=dvidir ;;
981  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982    dvidir=$ac_optarg ;;
983
984  -enable-* | --enable-*)
985    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986    # Reject names that are not valid shell variable names.
987    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988      as_fn_error $? "invalid feature name: $ac_useropt"
989    ac_useropt_orig=$ac_useropt
990    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991    case $ac_user_opts in
992      *"
993"enable_$ac_useropt"
994"*) ;;
995      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
996	 ac_unrecognized_sep=', ';;
997    esac
998    eval enable_$ac_useropt=\$ac_optarg ;;
999
1000  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1001  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1002  | --exec | --exe | --ex)
1003    ac_prev=exec_prefix ;;
1004  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1005  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1006  | --exec=* | --exe=* | --ex=*)
1007    exec_prefix=$ac_optarg ;;
1008
1009  -gas | --gas | --ga | --g)
1010    # Obsolete; use --with-gas.
1011    with_gas=yes ;;
1012
1013  -help | --help | --hel | --he | -h)
1014    ac_init_help=long ;;
1015  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1016    ac_init_help=recursive ;;
1017  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1018    ac_init_help=short ;;
1019
1020  -host | --host | --hos | --ho)
1021    ac_prev=host_alias ;;
1022  -host=* | --host=* | --hos=* | --ho=*)
1023    host_alias=$ac_optarg ;;
1024
1025  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1026    ac_prev=htmldir ;;
1027  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1028  | --ht=*)
1029    htmldir=$ac_optarg ;;
1030
1031  -includedir | --includedir | --includedi | --included | --include \
1032  | --includ | --inclu | --incl | --inc)
1033    ac_prev=includedir ;;
1034  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1035  | --includ=* | --inclu=* | --incl=* | --inc=*)
1036    includedir=$ac_optarg ;;
1037
1038  -infodir | --infodir | --infodi | --infod | --info | --inf)
1039    ac_prev=infodir ;;
1040  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1041    infodir=$ac_optarg ;;
1042
1043  -libdir | --libdir | --libdi | --libd)
1044    ac_prev=libdir ;;
1045  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1046    libdir=$ac_optarg ;;
1047
1048  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1049  | --libexe | --libex | --libe)
1050    ac_prev=libexecdir ;;
1051  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1052  | --libexe=* | --libex=* | --libe=*)
1053    libexecdir=$ac_optarg ;;
1054
1055  -localedir | --localedir | --localedi | --localed | --locale)
1056    ac_prev=localedir ;;
1057  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1058    localedir=$ac_optarg ;;
1059
1060  -localstatedir | --localstatedir | --localstatedi | --localstated \
1061  | --localstate | --localstat | --localsta | --localst | --locals)
1062    ac_prev=localstatedir ;;
1063  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1064  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1065    localstatedir=$ac_optarg ;;
1066
1067  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1068    ac_prev=mandir ;;
1069  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1070    mandir=$ac_optarg ;;
1071
1072  -nfp | --nfp | --nf)
1073    # Obsolete; use --without-fp.
1074    with_fp=no ;;
1075
1076  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1077  | --no-cr | --no-c | -n)
1078    no_create=yes ;;
1079
1080  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1081  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082    no_recursion=yes ;;
1083
1084  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1085  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1086  | --oldin | --oldi | --old | --ol | --o)
1087    ac_prev=oldincludedir ;;
1088  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1089  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1090  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1091    oldincludedir=$ac_optarg ;;
1092
1093  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1094    ac_prev=prefix ;;
1095  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1096    prefix=$ac_optarg ;;
1097
1098  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1099  | --program-pre | --program-pr | --program-p)
1100    ac_prev=program_prefix ;;
1101  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1102  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1103    program_prefix=$ac_optarg ;;
1104
1105  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1106  | --program-suf | --program-su | --program-s)
1107    ac_prev=program_suffix ;;
1108  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1109  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1110    program_suffix=$ac_optarg ;;
1111
1112  -program-transform-name | --program-transform-name \
1113  | --program-transform-nam | --program-transform-na \
1114  | --program-transform-n | --program-transform- \
1115  | --program-transform | --program-transfor \
1116  | --program-transfo | --program-transf \
1117  | --program-trans | --program-tran \
1118  | --progr-tra | --program-tr | --program-t)
1119    ac_prev=program_transform_name ;;
1120  -program-transform-name=* | --program-transform-name=* \
1121  | --program-transform-nam=* | --program-transform-na=* \
1122  | --program-transform-n=* | --program-transform-=* \
1123  | --program-transform=* | --program-transfor=* \
1124  | --program-transfo=* | --program-transf=* \
1125  | --program-trans=* | --program-tran=* \
1126  | --progr-tra=* | --program-tr=* | --program-t=*)
1127    program_transform_name=$ac_optarg ;;
1128
1129  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1130    ac_prev=pdfdir ;;
1131  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1132    pdfdir=$ac_optarg ;;
1133
1134  -psdir | --psdir | --psdi | --psd | --ps)
1135    ac_prev=psdir ;;
1136  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137    psdir=$ac_optarg ;;
1138
1139  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1140  | -silent | --silent | --silen | --sile | --sil)
1141    silent=yes ;;
1142
1143  -runstatedir | --runstatedir | --runstatedi | --runstated \
1144  | --runstate | --runstat | --runsta | --runst | --runs \
1145  | --run | --ru | --r)
1146    ac_prev=runstatedir ;;
1147  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1148  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1149  | --run=* | --ru=* | --r=*)
1150    runstatedir=$ac_optarg ;;
1151
1152  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153    ac_prev=sbindir ;;
1154  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155  | --sbi=* | --sb=*)
1156    sbindir=$ac_optarg ;;
1157
1158  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1159  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1160  | --sharedst | --shareds | --shared | --share | --shar \
1161  | --sha | --sh)
1162    ac_prev=sharedstatedir ;;
1163  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1164  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1165  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166  | --sha=* | --sh=*)
1167    sharedstatedir=$ac_optarg ;;
1168
1169  -site | --site | --sit)
1170    ac_prev=site ;;
1171  -site=* | --site=* | --sit=*)
1172    site=$ac_optarg ;;
1173
1174  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175    ac_prev=srcdir ;;
1176  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1177    srcdir=$ac_optarg ;;
1178
1179  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1180  | --syscon | --sysco | --sysc | --sys | --sy)
1181    ac_prev=sysconfdir ;;
1182  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1183  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1184    sysconfdir=$ac_optarg ;;
1185
1186  -target | --target | --targe | --targ | --tar | --ta | --t)
1187    ac_prev=target_alias ;;
1188  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1189    target_alias=$ac_optarg ;;
1190
1191  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1192    verbose=yes ;;
1193
1194  -version | --version | --versio | --versi | --vers | -V)
1195    ac_init_version=: ;;
1196
1197  -with-* | --with-*)
1198    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199    # Reject names that are not valid shell variable names.
1200    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201      as_fn_error $? "invalid package name: $ac_useropt"
1202    ac_useropt_orig=$ac_useropt
1203    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204    case $ac_user_opts in
1205      *"
1206"with_$ac_useropt"
1207"*) ;;
1208      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209	 ac_unrecognized_sep=', ';;
1210    esac
1211    eval with_$ac_useropt=\$ac_optarg ;;
1212
1213  -without-* | --without-*)
1214    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215    # Reject names that are not valid shell variable names.
1216    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1217      as_fn_error $? "invalid package name: $ac_useropt"
1218    ac_useropt_orig=$ac_useropt
1219    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220    case $ac_user_opts in
1221      *"
1222"with_$ac_useropt"
1223"*) ;;
1224      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225	 ac_unrecognized_sep=', ';;
1226    esac
1227    eval with_$ac_useropt=no ;;
1228
1229  --x)
1230    # Obsolete; use --with-x.
1231    with_x=yes ;;
1232
1233  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1234  | --x-incl | --x-inc | --x-in | --x-i)
1235    ac_prev=x_includes ;;
1236  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1237  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1238    x_includes=$ac_optarg ;;
1239
1240  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1241  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1242    ac_prev=x_libraries ;;
1243  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1244  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1245    x_libraries=$ac_optarg ;;
1246
1247  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1248Try \`$0 --help' for more information"
1249    ;;
1250
1251  *=*)
1252    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1253    # Reject names that are not valid shell variable names.
1254    case $ac_envvar in #(
1255      '' | [0-9]* | *[!_$as_cr_alnum]* )
1256      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1257    esac
1258    eval $ac_envvar=\$ac_optarg
1259    export $ac_envvar ;;
1260
1261  *)
1262    # FIXME: should be removed in autoconf 3.0.
1263    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267    ;;
1268
1269  esac
1270done
1271
1272if test -n "$ac_prev"; then
1273  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1274  as_fn_error $? "missing argument to $ac_option"
1275fi
1276
1277if test -n "$ac_unrecognized_opts"; then
1278  case $enable_option_checking in
1279    no) ;;
1280    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1281    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1282  esac
1283fi
1284
1285# Check all directory arguments for consistency.
1286for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287		datadir sysconfdir sharedstatedir localstatedir includedir \
1288		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289		libdir localedir mandir runstatedir
1290do
1291  eval ac_val=\$$ac_var
1292  # Remove trailing slashes.
1293  case $ac_val in
1294    */ )
1295      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296      eval $ac_var=\$ac_val;;
1297  esac
1298  # Be sure to have absolute directory names.
1299  case $ac_val in
1300    [\\/$]* | ?:[\\/]* )  continue;;
1301    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1302  esac
1303  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1304done
1305
1306# There might be people who depend on the old broken behavior: `$host'
1307# used to hold the argument of --host etc.
1308# FIXME: To remove some day.
1309build=$build_alias
1310host=$host_alias
1311target=$target_alias
1312
1313# FIXME: To remove some day.
1314if test "x$host_alias" != x; then
1315  if test "x$build_alias" = x; then
1316    cross_compiling=maybe
1317  elif test "x$build_alias" != "x$host_alias"; then
1318    cross_compiling=yes
1319  fi
1320fi
1321
1322ac_tool_prefix=
1323test -n "$host_alias" && ac_tool_prefix=$host_alias-
1324
1325test "$silent" = yes && exec 6>/dev/null
1326
1327
1328ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329ac_ls_di=`ls -di .` &&
1330ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331  as_fn_error $? "working directory cannot be determined"
1332test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333  as_fn_error $? "pwd does not report name of working directory"
1334
1335
1336# Find the source files, if location was not specified.
1337if test -z "$srcdir"; then
1338  ac_srcdir_defaulted=yes
1339  # Try the directory containing this script, then the parent directory.
1340  ac_confdir=`$as_dirname -- "$as_myself" ||
1341$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342	 X"$as_myself" : 'X\(//\)[^/]' \| \
1343	 X"$as_myself" : 'X\(//\)$' \| \
1344	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345$as_echo X"$as_myself" |
1346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347	    s//\1/
1348	    q
1349	  }
1350	  /^X\(\/\/\)[^/].*/{
1351	    s//\1/
1352	    q
1353	  }
1354	  /^X\(\/\/\)$/{
1355	    s//\1/
1356	    q
1357	  }
1358	  /^X\(\/\).*/{
1359	    s//\1/
1360	    q
1361	  }
1362	  s/.*/./; q'`
1363  srcdir=$ac_confdir
1364  if test ! -r "$srcdir/$ac_unique_file"; then
1365    srcdir=..
1366  fi
1367else
1368  ac_srcdir_defaulted=no
1369fi
1370if test ! -r "$srcdir/$ac_unique_file"; then
1371  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1373fi
1374ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375ac_abs_confdir=`(
1376	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377	pwd)`
1378# When building in place, set srcdir=.
1379if test "$ac_abs_confdir" = "$ac_pwd"; then
1380  srcdir=.
1381fi
1382# Remove unnecessary trailing slashes from srcdir.
1383# Double slashes in file names in object file debugging info
1384# mess up M-x gdb in Emacs.
1385case $srcdir in
1386*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387esac
1388for ac_var in $ac_precious_vars; do
1389  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390  eval ac_env_${ac_var}_value=\$${ac_var}
1391  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393done
1394
1395#
1396# Report the --help message.
1397#
1398if test "$ac_init_help" = "long"; then
1399  # Omit some internal or obsolete options to make the list less imposing.
1400  # This message is too long to be a string in the A/UX 3.1 sh.
1401  cat <<_ACEOF
1402\`configure' configures xfce4-wavelan-plugin 0.6.2 to adapt to many kinds of systems.
1403
1404Usage: $0 [OPTION]... [VAR=VALUE]...
1405
1406To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407VAR=VALUE.  See below for descriptions of some of the useful variables.
1408
1409Defaults for the options are specified in brackets.
1410
1411Configuration:
1412  -h, --help              display this help and exit
1413      --help=short        display options specific to this package
1414      --help=recursive    display the short help of all the included packages
1415  -V, --version           display version information and exit
1416  -q, --quiet, --silent   do not print \`checking ...' messages
1417      --cache-file=FILE   cache test results in FILE [disabled]
1418  -C, --config-cache      alias for \`--cache-file=config.cache'
1419  -n, --no-create         do not create output files
1420      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1421
1422Installation directories:
1423  --prefix=PREFIX         install architecture-independent files in PREFIX
1424                          [$ac_default_prefix]
1425  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1426                          [PREFIX]
1427
1428By default, \`make install' will install all the files in
1429\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1430an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431for instance \`--prefix=\$HOME'.
1432
1433For better control, use the options below.
1434
1435Fine tuning of the installation directories:
1436  --bindir=DIR            user executables [EPREFIX/bin]
1437  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1438  --libexecdir=DIR        program executables [EPREFIX/libexec]
1439  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1440  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1441  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1442  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1443  --libdir=DIR            object code libraries [EPREFIX/lib]
1444  --includedir=DIR        C header files [PREFIX/include]
1445  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1446  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1447  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1448  --infodir=DIR           info documentation [DATAROOTDIR/info]
1449  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1450  --mandir=DIR            man documentation [DATAROOTDIR/man]
1451  --docdir=DIR            documentation root
1452                          [DATAROOTDIR/doc/xfce4-wavelan-plugin]
1453  --htmldir=DIR           html documentation [DOCDIR]
1454  --dvidir=DIR            dvi documentation [DOCDIR]
1455  --pdfdir=DIR            pdf documentation [DOCDIR]
1456  --psdir=DIR             ps documentation [DOCDIR]
1457_ACEOF
1458
1459  cat <<\_ACEOF
1460
1461Program names:
1462  --program-prefix=PREFIX            prepend PREFIX to installed program names
1463  --program-suffix=SUFFIX            append SUFFIX to installed program names
1464  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1465
1466System types:
1467  --build=BUILD     configure for building on BUILD [guessed]
1468  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1469_ACEOF
1470fi
1471
1472if test -n "$ac_init_help"; then
1473  case $ac_init_help in
1474     short | recursive ) echo "Configuration of xfce4-wavelan-plugin 0.6.2:";;
1475   esac
1476  cat <<\_ACEOF
1477
1478Optional Features:
1479  --disable-option-checking  ignore unrecognized --enable/--with options
1480  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1481  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1482  --enable-silent-rules   less verbose build output (undo: "make V=1")
1483  --disable-silent-rules  verbose build output (undo: "make V=0")
1484  --enable-maintainer-mode
1485                          enable make rules and dependencies not useful (and
1486                          sometimes confusing) to the casual installer
1487  --enable-dependency-tracking
1488                          do not reject slow dependency extractors
1489  --disable-dependency-tracking
1490                          speeds up one-time build
1491  --disable-nls           do not use Native Language Support
1492  --enable-static[=PKGS]  build static libraries [default=no]
1493  --enable-shared[=PKGS]  build shared libraries [default=yes]
1494  --enable-fast-install[=PKGS]
1495                          optimize for fast installation [default=yes]
1496  --disable-libtool-lock  avoid locking (might break parallel builds)
1497  --enable-debug[=no|minimum|yes|full]
1498                          Build with debugging support
1499                          [default=[minimum]]
1500  --disable-debug         Include no debugging support
1501
1502Optional Packages:
1503  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1504  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1505  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1506                          both]
1507  --with-aix-soname=aix|svr4|both
1508                          shared library versioning (aka "SONAME") variant to
1509                          provide on AIX, [default=aix].
1510  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1511  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1512                          compiler's sysroot if not specified).
1513
1514      --with-locales-dir=DIR  Install locales into DIR
1515
1516
1517Some influential environment variables:
1518  CC          C compiler command
1519  CFLAGS      C compiler flags
1520  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1521              nonstandard directory <lib dir>
1522  LIBS        libraries to pass to the linker, e.g. -l<library>
1523  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524              you have headers in a nonstandard directory <include dir>
1525  LT_SYS_LIBRARY_PATH
1526              User-defined run-time library search path.
1527  CPP         C preprocessor
1528  PKG_CONFIG  path to pkg-config utility
1529  PKG_CONFIG_PATH
1530              directories to add to pkg-config's search path
1531  PKG_CONFIG_LIBDIR
1532              path overriding pkg-config's built-in search path
1533
1534Use these variables to override the choices made by `configure' or to help
1535it to find libraries and programs with nonstandard names/locations.
1536
1537Report bugs to <xfce-dev@xfce.org>.
1538_ACEOF
1539ac_status=$?
1540fi
1541
1542if test "$ac_init_help" = "recursive"; then
1543  # If there are subdirs, report their specific --help.
1544  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545    test -d "$ac_dir" ||
1546      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547      continue
1548    ac_builddir=.
1549
1550case "$ac_dir" in
1551.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552*)
1553  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554  # A ".." for each directory in $ac_dir_suffix.
1555  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556  case $ac_top_builddir_sub in
1557  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559  esac ;;
1560esac
1561ac_abs_top_builddir=$ac_pwd
1562ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563# for backward compatibility:
1564ac_top_builddir=$ac_top_build_prefix
1565
1566case $srcdir in
1567  .)  # We are building in place.
1568    ac_srcdir=.
1569    ac_top_srcdir=$ac_top_builddir_sub
1570    ac_abs_top_srcdir=$ac_pwd ;;
1571  [\\/]* | ?:[\\/]* )  # Absolute name.
1572    ac_srcdir=$srcdir$ac_dir_suffix;
1573    ac_top_srcdir=$srcdir
1574    ac_abs_top_srcdir=$srcdir ;;
1575  *) # Relative name.
1576    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577    ac_top_srcdir=$ac_top_build_prefix$srcdir
1578    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579esac
1580ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581
1582    cd "$ac_dir" || { ac_status=$?; continue; }
1583    # Check for guested configure.
1584    if test -f "$ac_srcdir/configure.gnu"; then
1585      echo &&
1586      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587    elif test -f "$ac_srcdir/configure"; then
1588      echo &&
1589      $SHELL "$ac_srcdir/configure" --help=recursive
1590    else
1591      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592    fi || ac_status=$?
1593    cd "$ac_pwd" || { ac_status=$?; break; }
1594  done
1595fi
1596
1597test -n "$ac_init_help" && exit $ac_status
1598if $ac_init_version; then
1599  cat <<\_ACEOF
1600xfce4-wavelan-plugin configure 0.6.2
1601generated by GNU Autoconf 2.69
1602
1603Copyright (C) 2012 Free Software Foundation, Inc.
1604This configure script is free software; the Free Software Foundation
1605gives unlimited permission to copy, distribute and modify it.
1606
1607Copyright (c) 2003-2006 Benedikt Meurer <benny@xfce.org>
1608Copyright (c) 2010 Florian Rivoal <frivoal@xfce.org>
16092010-2020 The Xfce development team. All rights reserved.
1610_ACEOF
1611  exit
1612fi
1613
1614## ------------------------ ##
1615## Autoconf initialization. ##
1616## ------------------------ ##
1617
1618# ac_fn_c_try_compile LINENO
1619# --------------------------
1620# Try to compile conftest.$ac_ext, and return whether this succeeded.
1621ac_fn_c_try_compile ()
1622{
1623  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624  rm -f conftest.$ac_objext
1625  if { { ac_try="$ac_compile"
1626case "(($ac_try" in
1627  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628  *) ac_try_echo=$ac_try;;
1629esac
1630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631$as_echo "$ac_try_echo"; } >&5
1632  (eval "$ac_compile") 2>conftest.err
1633  ac_status=$?
1634  if test -s conftest.err; then
1635    grep -v '^ *+' conftest.err >conftest.er1
1636    cat conftest.er1 >&5
1637    mv -f conftest.er1 conftest.err
1638  fi
1639  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640  test $ac_status = 0; } && {
1641	 test -z "$ac_c_werror_flag" ||
1642	 test ! -s conftest.err
1643       } && test -s conftest.$ac_objext; then :
1644  ac_retval=0
1645else
1646  $as_echo "$as_me: failed program was:" >&5
1647sed 's/^/| /' conftest.$ac_ext >&5
1648
1649	ac_retval=1
1650fi
1651  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652  as_fn_set_status $ac_retval
1653
1654} # ac_fn_c_try_compile
1655
1656# ac_fn_c_try_link LINENO
1657# -----------------------
1658# Try to link conftest.$ac_ext, and return whether this succeeded.
1659ac_fn_c_try_link ()
1660{
1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662  rm -f conftest.$ac_objext conftest$ac_exeext
1663  if { { ac_try="$ac_link"
1664case "(($ac_try" in
1665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666  *) ac_try_echo=$ac_try;;
1667esac
1668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669$as_echo "$ac_try_echo"; } >&5
1670  (eval "$ac_link") 2>conftest.err
1671  ac_status=$?
1672  if test -s conftest.err; then
1673    grep -v '^ *+' conftest.err >conftest.er1
1674    cat conftest.er1 >&5
1675    mv -f conftest.er1 conftest.err
1676  fi
1677  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678  test $ac_status = 0; } && {
1679	 test -z "$ac_c_werror_flag" ||
1680	 test ! -s conftest.err
1681       } && test -s conftest$ac_exeext && {
1682	 test "$cross_compiling" = yes ||
1683	 test -x conftest$ac_exeext
1684       }; then :
1685  ac_retval=0
1686else
1687  $as_echo "$as_me: failed program was:" >&5
1688sed 's/^/| /' conftest.$ac_ext >&5
1689
1690	ac_retval=1
1691fi
1692  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1693  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1694  # interfere with the next link command; also delete a directory that is
1695  # left behind by Apple's compiler.  We do this before executing the actions.
1696  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698  as_fn_set_status $ac_retval
1699
1700} # ac_fn_c_try_link
1701
1702# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1703# -------------------------------------------------------
1704# Tests whether HEADER exists and can be compiled using the include files in
1705# INCLUDES, setting the cache variable VAR accordingly.
1706ac_fn_c_check_header_compile ()
1707{
1708  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710$as_echo_n "checking for $2... " >&6; }
1711if eval \${$3+:} false; then :
1712  $as_echo_n "(cached) " >&6
1713else
1714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715/* end confdefs.h.  */
1716$4
1717#include <$2>
1718_ACEOF
1719if ac_fn_c_try_compile "$LINENO"; then :
1720  eval "$3=yes"
1721else
1722  eval "$3=no"
1723fi
1724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725fi
1726eval ac_res=\$$3
1727	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728$as_echo "$ac_res" >&6; }
1729  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730
1731} # ac_fn_c_check_header_compile
1732
1733# ac_fn_c_try_cpp LINENO
1734# ----------------------
1735# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1736ac_fn_c_try_cpp ()
1737{
1738  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739  if { { ac_try="$ac_cpp conftest.$ac_ext"
1740case "(($ac_try" in
1741  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742  *) ac_try_echo=$ac_try;;
1743esac
1744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745$as_echo "$ac_try_echo"; } >&5
1746  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1747  ac_status=$?
1748  if test -s conftest.err; then
1749    grep -v '^ *+' conftest.err >conftest.er1
1750    cat conftest.er1 >&5
1751    mv -f conftest.er1 conftest.err
1752  fi
1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754  test $ac_status = 0; } > conftest.i && {
1755	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1756	 test ! -s conftest.err
1757       }; then :
1758  ac_retval=0
1759else
1760  $as_echo "$as_me: failed program was:" >&5
1761sed 's/^/| /' conftest.$ac_ext >&5
1762
1763    ac_retval=1
1764fi
1765  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766  as_fn_set_status $ac_retval
1767
1768} # ac_fn_c_try_cpp
1769
1770# ac_fn_c_try_run LINENO
1771# ----------------------
1772# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1773# that executables *can* be run.
1774ac_fn_c_try_run ()
1775{
1776  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777  if { { ac_try="$ac_link"
1778case "(($ac_try" in
1779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780  *) ac_try_echo=$ac_try;;
1781esac
1782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783$as_echo "$ac_try_echo"; } >&5
1784  (eval "$ac_link") 2>&5
1785  ac_status=$?
1786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1788  { { case "(($ac_try" in
1789  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790  *) ac_try_echo=$ac_try;;
1791esac
1792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793$as_echo "$ac_try_echo"; } >&5
1794  (eval "$ac_try") 2>&5
1795  ac_status=$?
1796  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797  test $ac_status = 0; }; }; then :
1798  ac_retval=0
1799else
1800  $as_echo "$as_me: program exited with status $ac_status" >&5
1801       $as_echo "$as_me: failed program was:" >&5
1802sed 's/^/| /' conftest.$ac_ext >&5
1803
1804       ac_retval=$ac_status
1805fi
1806  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1807  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808  as_fn_set_status $ac_retval
1809
1810} # ac_fn_c_try_run
1811
1812# ac_fn_c_check_func LINENO FUNC VAR
1813# ----------------------------------
1814# Tests whether FUNC exists, setting the cache variable VAR accordingly
1815ac_fn_c_check_func ()
1816{
1817  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819$as_echo_n "checking for $2... " >&6; }
1820if eval \${$3+:} false; then :
1821  $as_echo_n "(cached) " >&6
1822else
1823  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824/* end confdefs.h.  */
1825/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1827#define $2 innocuous_$2
1828
1829/* System header to define __stub macros and hopefully few prototypes,
1830    which can conflict with char $2 (); below.
1831    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832    <limits.h> exists even on freestanding compilers.  */
1833
1834#ifdef __STDC__
1835# include <limits.h>
1836#else
1837# include <assert.h>
1838#endif
1839
1840#undef $2
1841
1842/* Override any GCC internal prototype to avoid an error.
1843   Use char because int might match the return type of a GCC
1844   builtin and then its argument prototype would still apply.  */
1845#ifdef __cplusplus
1846extern "C"
1847#endif
1848char $2 ();
1849/* The GNU C library defines this for functions which it implements
1850    to always fail with ENOSYS.  Some functions are actually named
1851    something starting with __ and the normal name is an alias.  */
1852#if defined __stub_$2 || defined __stub___$2
1853choke me
1854#endif
1855
1856int
1857main ()
1858{
1859return $2 ();
1860  ;
1861  return 0;
1862}
1863_ACEOF
1864if ac_fn_c_try_link "$LINENO"; then :
1865  eval "$3=yes"
1866else
1867  eval "$3=no"
1868fi
1869rm -f core conftest.err conftest.$ac_objext \
1870    conftest$ac_exeext conftest.$ac_ext
1871fi
1872eval ac_res=\$$3
1873	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874$as_echo "$ac_res" >&6; }
1875  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876
1877} # ac_fn_c_check_func
1878
1879# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1880# -------------------------------------------------------
1881# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1882# the include files in INCLUDES and setting the cache variable VAR
1883# accordingly.
1884ac_fn_c_check_header_mongrel ()
1885{
1886  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887  if eval \${$3+:} false; then :
1888  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889$as_echo_n "checking for $2... " >&6; }
1890if eval \${$3+:} false; then :
1891  $as_echo_n "(cached) " >&6
1892fi
1893eval ac_res=\$$3
1894	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895$as_echo "$ac_res" >&6; }
1896else
1897  # Is the header compilable?
1898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1899$as_echo_n "checking $2 usability... " >&6; }
1900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901/* end confdefs.h.  */
1902$4
1903#include <$2>
1904_ACEOF
1905if ac_fn_c_try_compile "$LINENO"; then :
1906  ac_header_compiler=yes
1907else
1908  ac_header_compiler=no
1909fi
1910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1912$as_echo "$ac_header_compiler" >&6; }
1913
1914# Is the header present?
1915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1916$as_echo_n "checking $2 presence... " >&6; }
1917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918/* end confdefs.h.  */
1919#include <$2>
1920_ACEOF
1921if ac_fn_c_try_cpp "$LINENO"; then :
1922  ac_header_preproc=yes
1923else
1924  ac_header_preproc=no
1925fi
1926rm -f conftest.err conftest.i conftest.$ac_ext
1927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1928$as_echo "$ac_header_preproc" >&6; }
1929
1930# So?  What about this header?
1931case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1932  yes:no: )
1933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1934$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1935    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937    ;;
1938  no:yes:* )
1939    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1940$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1942$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1943    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1944$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1945    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1946$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1947    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1948$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949( $as_echo "## -------------------------------- ##
1950## Report this to xfce-dev@xfce.org ##
1951## -------------------------------- ##"
1952     ) | sed "s/^/$as_me: WARNING:     /" >&2
1953    ;;
1954esac
1955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956$as_echo_n "checking for $2... " >&6; }
1957if eval \${$3+:} false; then :
1958  $as_echo_n "(cached) " >&6
1959else
1960  eval "$3=\$ac_header_compiler"
1961fi
1962eval ac_res=\$$3
1963	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964$as_echo "$ac_res" >&6; }
1965fi
1966  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967
1968} # ac_fn_c_check_header_mongrel
1969cat >config.log <<_ACEOF
1970This file contains any messages produced by compilers while
1971running configure, to aid debugging if configure makes a mistake.
1972
1973It was created by xfce4-wavelan-plugin $as_me 0.6.2, which was
1974generated by GNU Autoconf 2.69.  Invocation command line was
1975
1976  $ $0 $@
1977
1978_ACEOF
1979exec 5>>config.log
1980{
1981cat <<_ASUNAME
1982## --------- ##
1983## Platform. ##
1984## --------- ##
1985
1986hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1987uname -m = `(uname -m) 2>/dev/null || echo unknown`
1988uname -r = `(uname -r) 2>/dev/null || echo unknown`
1989uname -s = `(uname -s) 2>/dev/null || echo unknown`
1990uname -v = `(uname -v) 2>/dev/null || echo unknown`
1991
1992/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1993/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1994
1995/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1996/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1997/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1998/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1999/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2000/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2001/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2002
2003_ASUNAME
2004
2005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006for as_dir in $PATH
2007do
2008  IFS=$as_save_IFS
2009  test -z "$as_dir" && as_dir=.
2010    $as_echo "PATH: $as_dir"
2011  done
2012IFS=$as_save_IFS
2013
2014} >&5
2015
2016cat >&5 <<_ACEOF
2017
2018
2019## ----------- ##
2020## Core tests. ##
2021## ----------- ##
2022
2023_ACEOF
2024
2025
2026# Keep a trace of the command line.
2027# Strip out --no-create and --no-recursion so they do not pile up.
2028# Strip out --silent because we don't want to record it for future runs.
2029# Also quote any args containing shell meta-characters.
2030# Make two passes to allow for proper duplicate-argument suppression.
2031ac_configure_args=
2032ac_configure_args0=
2033ac_configure_args1=
2034ac_must_keep_next=false
2035for ac_pass in 1 2
2036do
2037  for ac_arg
2038  do
2039    case $ac_arg in
2040    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2041    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2042    | -silent | --silent | --silen | --sile | --sil)
2043      continue ;;
2044    *\'*)
2045      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2046    esac
2047    case $ac_pass in
2048    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2049    2)
2050      as_fn_append ac_configure_args1 " '$ac_arg'"
2051      if test $ac_must_keep_next = true; then
2052	ac_must_keep_next=false # Got value, back to normal.
2053      else
2054	case $ac_arg in
2055	  *=* | --config-cache | -C | -disable-* | --disable-* \
2056	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2057	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2058	  | -with-* | --with-* | -without-* | --without-* | --x)
2059	    case "$ac_configure_args0 " in
2060	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2061	    esac
2062	    ;;
2063	  -* ) ac_must_keep_next=true ;;
2064	esac
2065      fi
2066      as_fn_append ac_configure_args " '$ac_arg'"
2067      ;;
2068    esac
2069  done
2070done
2071{ ac_configure_args0=; unset ac_configure_args0;}
2072{ ac_configure_args1=; unset ac_configure_args1;}
2073
2074# When interrupted or exit'd, cleanup temporary files, and complete
2075# config.log.  We remove comments because anyway the quotes in there
2076# would cause problems or look ugly.
2077# WARNING: Use '\'' to represent an apostrophe within the trap.
2078# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2079trap 'exit_status=$?
2080  # Save into config.log some information that might help in debugging.
2081  {
2082    echo
2083
2084    $as_echo "## ---------------- ##
2085## Cache variables. ##
2086## ---------------- ##"
2087    echo
2088    # The following way of writing the cache mishandles newlines in values,
2089(
2090  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2091    eval ac_val=\$$ac_var
2092    case $ac_val in #(
2093    *${as_nl}*)
2094      case $ac_var in #(
2095      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2096$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2097      esac
2098      case $ac_var in #(
2099      _ | IFS | as_nl) ;; #(
2100      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2101      *) { eval $ac_var=; unset $ac_var;} ;;
2102      esac ;;
2103    esac
2104  done
2105  (set) 2>&1 |
2106    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2107    *${as_nl}ac_space=\ *)
2108      sed -n \
2109	"s/'\''/'\''\\\\'\'''\''/g;
2110	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2111      ;; #(
2112    *)
2113      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2114      ;;
2115    esac |
2116    sort
2117)
2118    echo
2119
2120    $as_echo "## ----------------- ##
2121## Output variables. ##
2122## ----------------- ##"
2123    echo
2124    for ac_var in $ac_subst_vars
2125    do
2126      eval ac_val=\$$ac_var
2127      case $ac_val in
2128      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129      esac
2130      $as_echo "$ac_var='\''$ac_val'\''"
2131    done | sort
2132    echo
2133
2134    if test -n "$ac_subst_files"; then
2135      $as_echo "## ------------------- ##
2136## File substitutions. ##
2137## ------------------- ##"
2138      echo
2139      for ac_var in $ac_subst_files
2140      do
2141	eval ac_val=\$$ac_var
2142	case $ac_val in
2143	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2144	esac
2145	$as_echo "$ac_var='\''$ac_val'\''"
2146      done | sort
2147      echo
2148    fi
2149
2150    if test -s confdefs.h; then
2151      $as_echo "## ----------- ##
2152## confdefs.h. ##
2153## ----------- ##"
2154      echo
2155      cat confdefs.h
2156      echo
2157    fi
2158    test "$ac_signal" != 0 &&
2159      $as_echo "$as_me: caught signal $ac_signal"
2160    $as_echo "$as_me: exit $exit_status"
2161  } >&5
2162  rm -f core *.core core.conftest.* &&
2163    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2164    exit $exit_status
2165' 0
2166for ac_signal in 1 2 13 15; do
2167  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2168done
2169ac_signal=0
2170
2171# confdefs.h avoids OS command line length limits that DEFS can exceed.
2172rm -f -r conftest* confdefs.h
2173
2174$as_echo "/* confdefs.h */" > confdefs.h
2175
2176# Predefined preprocessor variables.
2177
2178cat >>confdefs.h <<_ACEOF
2179#define PACKAGE_NAME "$PACKAGE_NAME"
2180_ACEOF
2181
2182cat >>confdefs.h <<_ACEOF
2183#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2184_ACEOF
2185
2186cat >>confdefs.h <<_ACEOF
2187#define PACKAGE_VERSION "$PACKAGE_VERSION"
2188_ACEOF
2189
2190cat >>confdefs.h <<_ACEOF
2191#define PACKAGE_STRING "$PACKAGE_STRING"
2192_ACEOF
2193
2194cat >>confdefs.h <<_ACEOF
2195#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2196_ACEOF
2197
2198cat >>confdefs.h <<_ACEOF
2199#define PACKAGE_URL "$PACKAGE_URL"
2200_ACEOF
2201
2202
2203# Let the site file select an alternate cache file if it wants to.
2204# Prefer an explicitly selected file to automatically selected ones.
2205ac_site_file1=NONE
2206ac_site_file2=NONE
2207if test -n "$CONFIG_SITE"; then
2208  # We do not want a PATH search for config.site.
2209  case $CONFIG_SITE in #((
2210    -*)  ac_site_file1=./$CONFIG_SITE;;
2211    */*) ac_site_file1=$CONFIG_SITE;;
2212    *)   ac_site_file1=./$CONFIG_SITE;;
2213  esac
2214elif test "x$prefix" != xNONE; then
2215  ac_site_file1=$prefix/share/config.site
2216  ac_site_file2=$prefix/etc/config.site
2217else
2218  ac_site_file1=$ac_default_prefix/share/config.site
2219  ac_site_file2=$ac_default_prefix/etc/config.site
2220fi
2221for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2222do
2223  test "x$ac_site_file" = xNONE && continue
2224  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2225    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2226$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2227    sed 's/^/| /' "$ac_site_file" >&5
2228    . "$ac_site_file" \
2229      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2231as_fn_error $? "failed to load site script $ac_site_file
2232See \`config.log' for more details" "$LINENO" 5; }
2233  fi
2234done
2235
2236if test -r "$cache_file"; then
2237  # Some versions of bash will fail to source /dev/null (special files
2238  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2239  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2240    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2241$as_echo "$as_me: loading cache $cache_file" >&6;}
2242    case $cache_file in
2243      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244      *)                      . "./$cache_file";;
2245    esac
2246  fi
2247else
2248  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2249$as_echo "$as_me: creating cache $cache_file" >&6;}
2250  >$cache_file
2251fi
2252
2253# Check that the precious variables saved in the cache have kept the same
2254# value.
2255ac_cache_corrupted=false
2256for ac_var in $ac_precious_vars; do
2257  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258  eval ac_new_set=\$ac_env_${ac_var}_set
2259  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260  eval ac_new_val=\$ac_env_${ac_var}_value
2261  case $ac_old_set,$ac_new_set in
2262    set,)
2263      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2264$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265      ac_cache_corrupted=: ;;
2266    ,set)
2267      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2268$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2269      ac_cache_corrupted=: ;;
2270    ,);;
2271    *)
2272      if test "x$ac_old_val" != "x$ac_new_val"; then
2273	# differences in whitespace do not lead to failure.
2274	ac_old_val_w=`echo x $ac_old_val`
2275	ac_new_val_w=`echo x $ac_new_val`
2276	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2277	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2278$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2279	  ac_cache_corrupted=:
2280	else
2281	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2282$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2283	  eval $ac_var=\$ac_old_val
2284	fi
2285	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2286$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2287	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2288$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2289      fi;;
2290  esac
2291  # Pass precious variables to config.status.
2292  if test "$ac_new_set" = set; then
2293    case $ac_new_val in
2294    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2295    *) ac_arg=$ac_var=$ac_new_val ;;
2296    esac
2297    case " $ac_configure_args " in
2298      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2299      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2300    esac
2301  fi
2302done
2303if $ac_cache_corrupted; then
2304  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2306  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2307$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2308  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2309fi
2310## -------------------- ##
2311## Main body of script. ##
2312## -------------------- ##
2313
2314ac_ext=c
2315ac_cpp='$CPP $CPPFLAGS'
2316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319
2320
2321
2322
2323
2324am__api_version='1.16'
2325
2326ac_aux_dir=
2327for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2328  if test -f "$ac_dir/install-sh"; then
2329    ac_aux_dir=$ac_dir
2330    ac_install_sh="$ac_aux_dir/install-sh -c"
2331    break
2332  elif test -f "$ac_dir/install.sh"; then
2333    ac_aux_dir=$ac_dir
2334    ac_install_sh="$ac_aux_dir/install.sh -c"
2335    break
2336  elif test -f "$ac_dir/shtool"; then
2337    ac_aux_dir=$ac_dir
2338    ac_install_sh="$ac_aux_dir/shtool install -c"
2339    break
2340  fi
2341done
2342if test -z "$ac_aux_dir"; then
2343  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2344fi
2345
2346# These three variables are undocumented and unsupported,
2347# and are intended to be withdrawn in a future Autoconf release.
2348# They can cause serious problems if a builder's source tree is in a directory
2349# whose full name contains unusual characters.
2350ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2351ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2352ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2353
2354
2355# Find a good install program.  We prefer a C program (faster),
2356# so one script is as good as another.  But avoid the broken or
2357# incompatible versions:
2358# SysV /etc/install, /usr/sbin/install
2359# SunOS /usr/etc/install
2360# IRIX /sbin/install
2361# AIX /bin/install
2362# AmigaOS /C/install, which installs bootblocks on floppy discs
2363# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2364# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2365# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2366# OS/2's system install, which has a completely different semantic
2367# ./install, which can be erroneously created by make from ./install.sh.
2368# Reject install programs that cannot install multiple files.
2369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2370$as_echo_n "checking for a BSD-compatible install... " >&6; }
2371if test -z "$INSTALL"; then
2372if ${ac_cv_path_install+:} false; then :
2373  $as_echo_n "(cached) " >&6
2374else
2375  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376for as_dir in $PATH
2377do
2378  IFS=$as_save_IFS
2379  test -z "$as_dir" && as_dir=.
2380    # Account for people who put trailing slashes in PATH elements.
2381case $as_dir/ in #((
2382  ./ | .// | /[cC]/* | \
2383  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2384  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2385  /usr/ucb/* ) ;;
2386  *)
2387    # OSF1 and SCO ODT 3.0 have their own names for install.
2388    # Don't use installbsd from OSF since it installs stuff as root
2389    # by default.
2390    for ac_prog in ginstall scoinst install; do
2391      for ac_exec_ext in '' $ac_executable_extensions; do
2392	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2393	  if test $ac_prog = install &&
2394	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395	    # AIX install.  It has an incompatible calling convention.
2396	    :
2397	  elif test $ac_prog = install &&
2398	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399	    # program-specific install script used by HP pwplus--don't use.
2400	    :
2401	  else
2402	    rm -rf conftest.one conftest.two conftest.dir
2403	    echo one > conftest.one
2404	    echo two > conftest.two
2405	    mkdir conftest.dir
2406	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2407	      test -s conftest.one && test -s conftest.two &&
2408	      test -s conftest.dir/conftest.one &&
2409	      test -s conftest.dir/conftest.two
2410	    then
2411	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2412	      break 3
2413	    fi
2414	  fi
2415	fi
2416      done
2417    done
2418    ;;
2419esac
2420
2421  done
2422IFS=$as_save_IFS
2423
2424rm -rf conftest.one conftest.two conftest.dir
2425
2426fi
2427  if test "${ac_cv_path_install+set}" = set; then
2428    INSTALL=$ac_cv_path_install
2429  else
2430    # As a last resort, use the slow shell script.  Don't cache a
2431    # value for INSTALL within a source directory, because that will
2432    # break other packages using the cache if that directory is
2433    # removed, or if the value is a relative name.
2434    INSTALL=$ac_install_sh
2435  fi
2436fi
2437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2438$as_echo "$INSTALL" >&6; }
2439
2440# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441# It thinks the first close brace ends the variable substitution.
2442test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2443
2444test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2445
2446test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2447
2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2449$as_echo_n "checking whether build environment is sane... " >&6; }
2450# Reject unsafe characters in $srcdir or the absolute working directory
2451# name.  Accept space and tab only in the latter.
2452am_lf='
2453'
2454case `pwd` in
2455  *[\\\"\#\$\&\'\`$am_lf]*)
2456    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2457esac
2458case $srcdir in
2459  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2460    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2461esac
2462
2463# Do 'set' in a subshell so we don't clobber the current shell's
2464# arguments.  Must try -L first in case configure is actually a
2465# symlink; some systems play weird games with the mod time of symlinks
2466# (eg FreeBSD returns the mod time of the symlink's containing
2467# directory).
2468if (
2469   am_has_slept=no
2470   for am_try in 1 2; do
2471     echo "timestamp, slept: $am_has_slept" > conftest.file
2472     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2473     if test "$*" = "X"; then
2474	# -L didn't work.
2475	set X `ls -t "$srcdir/configure" conftest.file`
2476     fi
2477     if test "$*" != "X $srcdir/configure conftest.file" \
2478	&& test "$*" != "X conftest.file $srcdir/configure"; then
2479
2480	# If neither matched, then we have a broken ls.  This can happen
2481	# if, for instance, CONFIG_SHELL is bash and it inherits a
2482	# broken ls alias from the environment.  This has actually
2483	# happened.  Such a system could not be considered "sane".
2484	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2485  alias in your environment" "$LINENO" 5
2486     fi
2487     if test "$2" = conftest.file || test $am_try -eq 2; then
2488       break
2489     fi
2490     # Just in case.
2491     sleep 1
2492     am_has_slept=yes
2493   done
2494   test "$2" = conftest.file
2495   )
2496then
2497   # Ok.
2498   :
2499else
2500   as_fn_error $? "newly created file is older than distributed files!
2501Check your system clock" "$LINENO" 5
2502fi
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504$as_echo "yes" >&6; }
2505# If we didn't sleep, we still need to ensure time stamps of config.status and
2506# generated files are strictly newer.
2507am_sleep_pid=
2508if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2509  ( sleep 1 ) &
2510  am_sleep_pid=$!
2511fi
2512
2513rm -f conftest.file
2514
2515test "$program_prefix" != NONE &&
2516  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2517# Use a double $ so make ignores it.
2518test "$program_suffix" != NONE &&
2519  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2520# Double any \ or $.
2521# By default was `s,x,x', remove it if useless.
2522ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2523program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2524
2525# Expand $ac_aux_dir to an absolute path.
2526am_aux_dir=`cd "$ac_aux_dir" && pwd`
2527
2528if test x"${MISSING+set}" != xset; then
2529  case $am_aux_dir in
2530  *\ * | *\	*)
2531    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2532  *)
2533    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2534  esac
2535fi
2536# Use eval to expand $SHELL
2537if eval "$MISSING --is-lightweight"; then
2538  am_missing_run="$MISSING "
2539else
2540  am_missing_run=
2541  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2542$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2543fi
2544
2545if test x"${install_sh+set}" != xset; then
2546  case $am_aux_dir in
2547  *\ * | *\	*)
2548    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2549  *)
2550    install_sh="\${SHELL} $am_aux_dir/install-sh"
2551  esac
2552fi
2553
2554# Installed binaries are usually stripped using 'strip' when the user
2555# run "make install-strip".  However 'strip' might not be the right
2556# tool to use in cross-compilation environments, therefore Automake
2557# will honor the 'STRIP' environment variable to overrule this program.
2558if test "$cross_compiling" != no; then
2559  if test -n "$ac_tool_prefix"; then
2560  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2561set dummy ${ac_tool_prefix}strip; ac_word=$2
2562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563$as_echo_n "checking for $ac_word... " >&6; }
2564if ${ac_cv_prog_STRIP+:} false; then :
2565  $as_echo_n "(cached) " >&6
2566else
2567  if test -n "$STRIP"; then
2568  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2569else
2570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571for as_dir in $PATH
2572do
2573  IFS=$as_save_IFS
2574  test -z "$as_dir" && as_dir=.
2575    for ac_exec_ext in '' $ac_executable_extensions; do
2576  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2579    break 2
2580  fi
2581done
2582  done
2583IFS=$as_save_IFS
2584
2585fi
2586fi
2587STRIP=$ac_cv_prog_STRIP
2588if test -n "$STRIP"; then
2589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2590$as_echo "$STRIP" >&6; }
2591else
2592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593$as_echo "no" >&6; }
2594fi
2595
2596
2597fi
2598if test -z "$ac_cv_prog_STRIP"; then
2599  ac_ct_STRIP=$STRIP
2600  # Extract the first word of "strip", so it can be a program name with args.
2601set dummy strip; ac_word=$2
2602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603$as_echo_n "checking for $ac_word... " >&6; }
2604if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2605  $as_echo_n "(cached) " >&6
2606else
2607  if test -n "$ac_ct_STRIP"; then
2608  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2609else
2610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611for as_dir in $PATH
2612do
2613  IFS=$as_save_IFS
2614  test -z "$as_dir" && as_dir=.
2615    for ac_exec_ext in '' $ac_executable_extensions; do
2616  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617    ac_cv_prog_ac_ct_STRIP="strip"
2618    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619    break 2
2620  fi
2621done
2622  done
2623IFS=$as_save_IFS
2624
2625fi
2626fi
2627ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2628if test -n "$ac_ct_STRIP"; then
2629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2630$as_echo "$ac_ct_STRIP" >&6; }
2631else
2632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633$as_echo "no" >&6; }
2634fi
2635
2636  if test "x$ac_ct_STRIP" = x; then
2637    STRIP=":"
2638  else
2639    case $cross_compiling:$ac_tool_warned in
2640yes:)
2641{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2642$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643ac_tool_warned=yes ;;
2644esac
2645    STRIP=$ac_ct_STRIP
2646  fi
2647else
2648  STRIP="$ac_cv_prog_STRIP"
2649fi
2650
2651fi
2652INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2653
2654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2655$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2656if test -z "$MKDIR_P"; then
2657  if ${ac_cv_path_mkdir+:} false; then :
2658  $as_echo_n "(cached) " >&6
2659else
2660  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2662do
2663  IFS=$as_save_IFS
2664  test -z "$as_dir" && as_dir=.
2665    for ac_prog in mkdir gmkdir; do
2666	 for ac_exec_ext in '' $ac_executable_extensions; do
2667	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2668	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2669	     'mkdir (GNU coreutils) '* | \
2670	     'mkdir (coreutils) '* | \
2671	     'mkdir (fileutils) '4.1*)
2672	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2673	       break 3;;
2674	   esac
2675	 done
2676       done
2677  done
2678IFS=$as_save_IFS
2679
2680fi
2681
2682  test -d ./--version && rmdir ./--version
2683  if test "${ac_cv_path_mkdir+set}" = set; then
2684    MKDIR_P="$ac_cv_path_mkdir -p"
2685  else
2686    # As a last resort, use the slow shell script.  Don't cache a
2687    # value for MKDIR_P within a source directory, because that will
2688    # break other packages using the cache if that directory is
2689    # removed, or if the value is a relative name.
2690    MKDIR_P="$ac_install_sh -d"
2691  fi
2692fi
2693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2694$as_echo "$MKDIR_P" >&6; }
2695
2696for ac_prog in gawk mawk nawk awk
2697do
2698  # Extract the first word of "$ac_prog", so it can be a program name with args.
2699set dummy $ac_prog; ac_word=$2
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701$as_echo_n "checking for $ac_word... " >&6; }
2702if ${ac_cv_prog_AWK+:} false; then :
2703  $as_echo_n "(cached) " >&6
2704else
2705  if test -n "$AWK"; then
2706  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2707else
2708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709for as_dir in $PATH
2710do
2711  IFS=$as_save_IFS
2712  test -z "$as_dir" && as_dir=.
2713    for ac_exec_ext in '' $ac_executable_extensions; do
2714  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2715    ac_cv_prog_AWK="$ac_prog"
2716    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717    break 2
2718  fi
2719done
2720  done
2721IFS=$as_save_IFS
2722
2723fi
2724fi
2725AWK=$ac_cv_prog_AWK
2726if test -n "$AWK"; then
2727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2728$as_echo "$AWK" >&6; }
2729else
2730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731$as_echo "no" >&6; }
2732fi
2733
2734
2735  test -n "$AWK" && break
2736done
2737
2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2739$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2740set x ${MAKE-make}
2741ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2742if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2743  $as_echo_n "(cached) " >&6
2744else
2745  cat >conftest.make <<\_ACEOF
2746SHELL = /bin/sh
2747all:
2748	@echo '@@@%%%=$(MAKE)=@@@%%%'
2749_ACEOF
2750# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2751case `${MAKE-make} -f conftest.make 2>/dev/null` in
2752  *@@@%%%=?*=@@@%%%*)
2753    eval ac_cv_prog_make_${ac_make}_set=yes;;
2754  *)
2755    eval ac_cv_prog_make_${ac_make}_set=no;;
2756esac
2757rm -f conftest.make
2758fi
2759if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761$as_echo "yes" >&6; }
2762  SET_MAKE=
2763else
2764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765$as_echo "no" >&6; }
2766  SET_MAKE="MAKE=${MAKE-make}"
2767fi
2768
2769rm -rf .tst 2>/dev/null
2770mkdir .tst 2>/dev/null
2771if test -d .tst; then
2772  am__leading_dot=.
2773else
2774  am__leading_dot=_
2775fi
2776rmdir .tst 2>/dev/null
2777
2778# Check whether --enable-silent-rules was given.
2779if test "${enable_silent_rules+set}" = set; then :
2780  enableval=$enable_silent_rules;
2781fi
2782
2783case $enable_silent_rules in # (((
2784  yes) AM_DEFAULT_VERBOSITY=0;;
2785   no) AM_DEFAULT_VERBOSITY=1;;
2786    *) AM_DEFAULT_VERBOSITY=1;;
2787esac
2788am_make=${MAKE-make}
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2790$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2791if ${am_cv_make_support_nested_variables+:} false; then :
2792  $as_echo_n "(cached) " >&6
2793else
2794  if $as_echo 'TRUE=$(BAR$(V))
2795BAR0=false
2796BAR1=true
2797V=1
2798am__doit:
2799	@$(TRUE)
2800.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2801  am_cv_make_support_nested_variables=yes
2802else
2803  am_cv_make_support_nested_variables=no
2804fi
2805fi
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2807$as_echo "$am_cv_make_support_nested_variables" >&6; }
2808if test $am_cv_make_support_nested_variables = yes; then
2809    AM_V='$(V)'
2810  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2811else
2812  AM_V=$AM_DEFAULT_VERBOSITY
2813  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2814fi
2815AM_BACKSLASH='\'
2816
2817if test "`cd $srcdir && pwd`" != "`pwd`"; then
2818  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2819  # is not polluted with repeated "-I."
2820  am__isrc=' -I$(srcdir)'
2821  # test to see if srcdir already configured
2822  if test -f $srcdir/config.status; then
2823    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2824  fi
2825fi
2826
2827# test whether we have cygpath
2828if test -z "$CYGPATH_W"; then
2829  if (cygpath --version) >/dev/null 2>/dev/null; then
2830    CYGPATH_W='cygpath -w'
2831  else
2832    CYGPATH_W=echo
2833  fi
2834fi
2835
2836
2837# Define the identity of the package.
2838 PACKAGE='xfce4-wavelan-plugin'
2839 VERSION='0.6.2'
2840
2841
2842cat >>confdefs.h <<_ACEOF
2843#define PACKAGE "$PACKAGE"
2844_ACEOF
2845
2846
2847cat >>confdefs.h <<_ACEOF
2848#define VERSION "$VERSION"
2849_ACEOF
2850
2851# Some tools Automake needs.
2852
2853ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2854
2855
2856AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2857
2858
2859AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2860
2861
2862AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2863
2864
2865MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2866
2867# For better backward compatibility.  To be removed once Automake 1.9.x
2868# dies out for good.  For more background, see:
2869# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2870# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2871mkdir_p='$(MKDIR_P)'
2872
2873# We need awk for the "check" target (and possibly the TAP driver).  The
2874# system "awk" is bad on some platforms.
2875# Always define AMTAR for backward compatibility.  Yes, it's still used
2876# in the wild :-(  We should find a proper way to deprecate it ...
2877AMTAR='$${TAR-tar}'
2878
2879
2880# We'll loop over all known methods to create a tar archive until one works.
2881_am_tools='gnutar plaintar pax cpio none'
2882
2883# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2884      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2885      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2886      # and bug#13588).
2887      am_max_uid=2097151 # 2^21 - 1
2888      am_max_gid=$am_max_uid
2889      # The $UID and $GID variables are not portable, so we need to resort
2890      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2891      # below are definitely unexpected, so allow the users to see them
2892      # (that is, avoid stderr redirection).
2893      am_uid=`id -u || echo unknown`
2894      am_gid=`id -g || echo unknown`
2895      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2896$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2897      if test $am_uid -le $am_max_uid; then
2898         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2899$as_echo "yes" >&6; }
2900      else
2901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902$as_echo "no" >&6; }
2903         _am_tools=none
2904      fi
2905      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2906$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2907      if test $am_gid -le $am_max_gid; then
2908         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2909$as_echo "yes" >&6; }
2910      else
2911        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912$as_echo "no" >&6; }
2913        _am_tools=none
2914      fi
2915
2916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2917$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2918
2919  # Go ahead even if we have the value already cached.  We do so because we
2920  # need to set the values for the 'am__tar' and 'am__untar' variables.
2921  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2922
2923  for _am_tool in $_am_tools; do
2924    case $_am_tool in
2925    gnutar)
2926      for _am_tar in tar gnutar gtar; do
2927        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2928   ($_am_tar --version) >&5 2>&5
2929   ac_status=$?
2930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931   (exit $ac_status); } && break
2932      done
2933      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2934      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2935      am__untar="$_am_tar -xf -"
2936      ;;
2937    plaintar)
2938      # Must skip GNU tar: if it does not support --format= it doesn't create
2939      # ustar tarball either.
2940      (tar --version) >/dev/null 2>&1 && continue
2941      am__tar='tar chf - "$$tardir"'
2942      am__tar_='tar chf - "$tardir"'
2943      am__untar='tar xf -'
2944      ;;
2945    pax)
2946      am__tar='pax -L -x ustar -w "$$tardir"'
2947      am__tar_='pax -L -x ustar -w "$tardir"'
2948      am__untar='pax -r'
2949      ;;
2950    cpio)
2951      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2952      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2953      am__untar='cpio -i -H ustar -d'
2954      ;;
2955    none)
2956      am__tar=false
2957      am__tar_=false
2958      am__untar=false
2959      ;;
2960    esac
2961
2962    # If the value was cached, stop now.  We just wanted to have am__tar
2963    # and am__untar set.
2964    test -n "${am_cv_prog_tar_ustar}" && break
2965
2966    # tar/untar a dummy directory, and stop if the command works.
2967    rm -rf conftest.dir
2968    mkdir conftest.dir
2969    echo GrepMe > conftest.dir/file
2970    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2971   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2972   ac_status=$?
2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974   (exit $ac_status); }
2975    rm -rf conftest.dir
2976    if test -s conftest.tar; then
2977      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2978   ($am__untar <conftest.tar) >&5 2>&5
2979   ac_status=$?
2980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981   (exit $ac_status); }
2982      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2983   (cat conftest.dir/file) >&5 2>&5
2984   ac_status=$?
2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986   (exit $ac_status); }
2987      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2988    fi
2989  done
2990  rm -rf conftest.dir
2991
2992  if ${am_cv_prog_tar_ustar+:} false; then :
2993  $as_echo_n "(cached) " >&6
2994else
2995  am_cv_prog_tar_ustar=$_am_tool
2996fi
2997
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2999$as_echo "$am_cv_prog_tar_ustar" >&6; }
3000
3001
3002
3003
3004
3005
3006# POSIX will say in a future version that running "rm -f" with no argument
3007# is OK; and we want to be able to make that assumption in our Makefile
3008# recipes.  So use an aggressive probe to check that the usage we want is
3009# actually supported "in the wild" to an acceptable degree.
3010# See automake bug#10828.
3011# To make any issue more visible, cause the running configure to be aborted
3012# by default if the 'rm' program in use doesn't match our expectations; the
3013# user can still override this though.
3014if rm -f && rm -fr && rm -rf; then : OK; else
3015  cat >&2 <<'END'
3016Oops!
3017
3018Your 'rm' program seems unable to run without file operands specified
3019on the command line, even when the '-f' option is present.  This is contrary
3020to the behaviour of most rm programs out there, and not conforming with
3021the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3022
3023Please tell bug-automake@gnu.org about your system, including the value
3024of your $PATH and any error possibly output before this message.  This
3025can help us improve future automake versions.
3026
3027END
3028  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3029    echo 'Configuration will proceed anyway, since you have set the' >&2
3030    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3031    echo >&2
3032  else
3033    cat >&2 <<'END'
3034Aborting the configuration process, to ensure you take notice of the issue.
3035
3036You can download and install GNU coreutils to get an 'rm' implementation
3037that behaves properly: <https://www.gnu.org/software/coreutils/>.
3038
3039If you want to complete the configuration process using your problematic
3040'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3041to "yes", and re-run configure.
3042
3043END
3044    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3045  fi
3046fi
3047
3048ac_config_headers="$ac_config_headers config.h"
3049
3050
3051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3052$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3053    # Check whether --enable-maintainer-mode was given.
3054if test "${enable_maintainer_mode+set}" = set; then :
3055  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3056else
3057  USE_MAINTAINER_MODE=no
3058fi
3059
3060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3061$as_echo "$USE_MAINTAINER_MODE" >&6; }
3062   if test $USE_MAINTAINER_MODE = yes; then
3063  MAINTAINER_MODE_TRUE=
3064  MAINTAINER_MODE_FALSE='#'
3065else
3066  MAINTAINER_MODE_TRUE='#'
3067  MAINTAINER_MODE_FALSE=
3068fi
3069
3070  MAINT=$MAINTAINER_MODE_TRUE
3071
3072
3073# Check whether --enable-silent-rules was given.
3074if test "${enable_silent_rules+set}" = set; then :
3075  enableval=$enable_silent_rules;
3076fi
3077
3078case $enable_silent_rules in # (((
3079  yes) AM_DEFAULT_VERBOSITY=0;;
3080   no) AM_DEFAULT_VERBOSITY=1;;
3081    *) AM_DEFAULT_VERBOSITY=0;;
3082esac
3083am_make=${MAKE-make}
3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3085$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3086if ${am_cv_make_support_nested_variables+:} false; then :
3087  $as_echo_n "(cached) " >&6
3088else
3089  if $as_echo 'TRUE=$(BAR$(V))
3090BAR0=false
3091BAR1=true
3092V=1
3093am__doit:
3094	@$(TRUE)
3095.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3096  am_cv_make_support_nested_variables=yes
3097else
3098  am_cv_make_support_nested_variables=no
3099fi
3100fi
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3102$as_echo "$am_cv_make_support_nested_variables" >&6; }
3103if test $am_cv_make_support_nested_variables = yes; then
3104    AM_V='$(V)'
3105  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3106else
3107  AM_V=$AM_DEFAULT_VERBOSITY
3108  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3109fi
3110AM_BACKSLASH='\'
3111
3112
3113ac_ext=c
3114ac_cpp='$CPP $CPPFLAGS'
3115ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3116ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3117ac_compiler_gnu=$ac_cv_c_compiler_gnu
3118if test -n "$ac_tool_prefix"; then
3119  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3120set dummy ${ac_tool_prefix}gcc; ac_word=$2
3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122$as_echo_n "checking for $ac_word... " >&6; }
3123if ${ac_cv_prog_CC+:} false; then :
3124  $as_echo_n "(cached) " >&6
3125else
3126  if test -n "$CC"; then
3127  ac_cv_prog_CC="$CC" # Let the user override the test.
3128else
3129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130for as_dir in $PATH
3131do
3132  IFS=$as_save_IFS
3133  test -z "$as_dir" && as_dir=.
3134    for ac_exec_ext in '' $ac_executable_extensions; do
3135  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3137    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138    break 2
3139  fi
3140done
3141  done
3142IFS=$as_save_IFS
3143
3144fi
3145fi
3146CC=$ac_cv_prog_CC
3147if test -n "$CC"; then
3148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3149$as_echo "$CC" >&6; }
3150else
3151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152$as_echo "no" >&6; }
3153fi
3154
3155
3156fi
3157if test -z "$ac_cv_prog_CC"; then
3158  ac_ct_CC=$CC
3159  # Extract the first word of "gcc", so it can be a program name with args.
3160set dummy gcc; ac_word=$2
3161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162$as_echo_n "checking for $ac_word... " >&6; }
3163if ${ac_cv_prog_ac_ct_CC+:} false; then :
3164  $as_echo_n "(cached) " >&6
3165else
3166  if test -n "$ac_ct_CC"; then
3167  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3168else
3169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170for as_dir in $PATH
3171do
3172  IFS=$as_save_IFS
3173  test -z "$as_dir" && as_dir=.
3174    for ac_exec_ext in '' $ac_executable_extensions; do
3175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176    ac_cv_prog_ac_ct_CC="gcc"
3177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178    break 2
3179  fi
3180done
3181  done
3182IFS=$as_save_IFS
3183
3184fi
3185fi
3186ac_ct_CC=$ac_cv_prog_ac_ct_CC
3187if test -n "$ac_ct_CC"; then
3188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3189$as_echo "$ac_ct_CC" >&6; }
3190else
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192$as_echo "no" >&6; }
3193fi
3194
3195  if test "x$ac_ct_CC" = x; then
3196    CC=""
3197  else
3198    case $cross_compiling:$ac_tool_warned in
3199yes:)
3200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3202ac_tool_warned=yes ;;
3203esac
3204    CC=$ac_ct_CC
3205  fi
3206else
3207  CC="$ac_cv_prog_CC"
3208fi
3209
3210if test -z "$CC"; then
3211          if test -n "$ac_tool_prefix"; then
3212    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3213set dummy ${ac_tool_prefix}cc; ac_word=$2
3214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215$as_echo_n "checking for $ac_word... " >&6; }
3216if ${ac_cv_prog_CC+:} false; then :
3217  $as_echo_n "(cached) " >&6
3218else
3219  if test -n "$CC"; then
3220  ac_cv_prog_CC="$CC" # Let the user override the test.
3221else
3222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223for as_dir in $PATH
3224do
3225  IFS=$as_save_IFS
3226  test -z "$as_dir" && as_dir=.
3227    for ac_exec_ext in '' $ac_executable_extensions; do
3228  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229    ac_cv_prog_CC="${ac_tool_prefix}cc"
3230    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3231    break 2
3232  fi
3233done
3234  done
3235IFS=$as_save_IFS
3236
3237fi
3238fi
3239CC=$ac_cv_prog_CC
3240if test -n "$CC"; then
3241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3242$as_echo "$CC" >&6; }
3243else
3244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245$as_echo "no" >&6; }
3246fi
3247
3248
3249  fi
3250fi
3251if test -z "$CC"; then
3252  # Extract the first word of "cc", so it can be a program name with args.
3253set dummy cc; ac_word=$2
3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255$as_echo_n "checking for $ac_word... " >&6; }
3256if ${ac_cv_prog_CC+:} false; then :
3257  $as_echo_n "(cached) " >&6
3258else
3259  if test -n "$CC"; then
3260  ac_cv_prog_CC="$CC" # Let the user override the test.
3261else
3262  ac_prog_rejected=no
3263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264for as_dir in $PATH
3265do
3266  IFS=$as_save_IFS
3267  test -z "$as_dir" && as_dir=.
3268    for ac_exec_ext in '' $ac_executable_extensions; do
3269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3270    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3271       ac_prog_rejected=yes
3272       continue
3273     fi
3274    ac_cv_prog_CC="cc"
3275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276    break 2
3277  fi
3278done
3279  done
3280IFS=$as_save_IFS
3281
3282if test $ac_prog_rejected = yes; then
3283  # We found a bogon in the path, so make sure we never use it.
3284  set dummy $ac_cv_prog_CC
3285  shift
3286  if test $# != 0; then
3287    # We chose a different compiler from the bogus one.
3288    # However, it has the same basename, so the bogon will be chosen
3289    # first if we set CC to just the basename; use the full file name.
3290    shift
3291    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3292  fi
3293fi
3294fi
3295fi
3296CC=$ac_cv_prog_CC
3297if test -n "$CC"; then
3298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299$as_echo "$CC" >&6; }
3300else
3301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302$as_echo "no" >&6; }
3303fi
3304
3305
3306fi
3307if test -z "$CC"; then
3308  if test -n "$ac_tool_prefix"; then
3309  for ac_prog in cl.exe
3310  do
3311    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3312set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314$as_echo_n "checking for $ac_word... " >&6; }
3315if ${ac_cv_prog_CC+:} false; then :
3316  $as_echo_n "(cached) " >&6
3317else
3318  if test -n "$CC"; then
3319  ac_cv_prog_CC="$CC" # Let the user override the test.
3320else
3321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322for as_dir in $PATH
3323do
3324  IFS=$as_save_IFS
3325  test -z "$as_dir" && as_dir=.
3326    for ac_exec_ext in '' $ac_executable_extensions; do
3327  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3330    break 2
3331  fi
3332done
3333  done
3334IFS=$as_save_IFS
3335
3336fi
3337fi
3338CC=$ac_cv_prog_CC
3339if test -n "$CC"; then
3340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3341$as_echo "$CC" >&6; }
3342else
3343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344$as_echo "no" >&6; }
3345fi
3346
3347
3348    test -n "$CC" && break
3349  done
3350fi
3351if test -z "$CC"; then
3352  ac_ct_CC=$CC
3353  for ac_prog in cl.exe
3354do
3355  # Extract the first word of "$ac_prog", so it can be a program name with args.
3356set dummy $ac_prog; ac_word=$2
3357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358$as_echo_n "checking for $ac_word... " >&6; }
3359if ${ac_cv_prog_ac_ct_CC+:} false; then :
3360  $as_echo_n "(cached) " >&6
3361else
3362  if test -n "$ac_ct_CC"; then
3363  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3364else
3365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366for as_dir in $PATH
3367do
3368  IFS=$as_save_IFS
3369  test -z "$as_dir" && as_dir=.
3370    for ac_exec_ext in '' $ac_executable_extensions; do
3371  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372    ac_cv_prog_ac_ct_CC="$ac_prog"
3373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374    break 2
3375  fi
3376done
3377  done
3378IFS=$as_save_IFS
3379
3380fi
3381fi
3382ac_ct_CC=$ac_cv_prog_ac_ct_CC
3383if test -n "$ac_ct_CC"; then
3384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3385$as_echo "$ac_ct_CC" >&6; }
3386else
3387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388$as_echo "no" >&6; }
3389fi
3390
3391
3392  test -n "$ac_ct_CC" && break
3393done
3394
3395  if test "x$ac_ct_CC" = x; then
3396    CC=""
3397  else
3398    case $cross_compiling:$ac_tool_warned in
3399yes:)
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3402ac_tool_warned=yes ;;
3403esac
3404    CC=$ac_ct_CC
3405  fi
3406fi
3407
3408fi
3409
3410
3411test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413as_fn_error $? "no acceptable C compiler found in \$PATH
3414See \`config.log' for more details" "$LINENO" 5; }
3415
3416# Provide some information about the compiler.
3417$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3418set X $ac_compile
3419ac_compiler=$2
3420for ac_option in --version -v -V -qversion; do
3421  { { ac_try="$ac_compiler $ac_option >&5"
3422case "(($ac_try" in
3423  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424  *) ac_try_echo=$ac_try;;
3425esac
3426eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427$as_echo "$ac_try_echo"; } >&5
3428  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3429  ac_status=$?
3430  if test -s conftest.err; then
3431    sed '10a\
3432... rest of stderr output deleted ...
3433         10q' conftest.err >conftest.er1
3434    cat conftest.er1 >&5
3435  fi
3436  rm -f conftest.er1 conftest.err
3437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438  test $ac_status = 0; }
3439done
3440
3441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442/* end confdefs.h.  */
3443
3444int
3445main ()
3446{
3447
3448  ;
3449  return 0;
3450}
3451_ACEOF
3452ac_clean_files_save=$ac_clean_files
3453ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3454# Try to create an executable without -o first, disregard a.out.
3455# It will help us diagnose broken compilers, and finding out an intuition
3456# of exeext.
3457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3458$as_echo_n "checking whether the C compiler works... " >&6; }
3459ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3460
3461# The possible output files:
3462ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3463
3464ac_rmfiles=
3465for ac_file in $ac_files
3466do
3467  case $ac_file in
3468    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3469    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3470  esac
3471done
3472rm -f $ac_rmfiles
3473
3474if { { ac_try="$ac_link_default"
3475case "(($ac_try" in
3476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477  *) ac_try_echo=$ac_try;;
3478esac
3479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480$as_echo "$ac_try_echo"; } >&5
3481  (eval "$ac_link_default") 2>&5
3482  ac_status=$?
3483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484  test $ac_status = 0; }; then :
3485  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3486# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3487# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3488# so that the user can short-circuit this test for compilers unknown to
3489# Autoconf.
3490for ac_file in $ac_files ''
3491do
3492  test -f "$ac_file" || continue
3493  case $ac_file in
3494    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3495	;;
3496    [ab].out )
3497	# We found the default executable, but exeext='' is most
3498	# certainly right.
3499	break;;
3500    *.* )
3501	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3502	then :; else
3503	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3504	fi
3505	# We set ac_cv_exeext here because the later test for it is not
3506	# safe: cross compilers may not add the suffix if given an `-o'
3507	# argument, so we may need to know it at that point already.
3508	# Even if this section looks crufty: it has the advantage of
3509	# actually working.
3510	break;;
3511    * )
3512	break;;
3513  esac
3514done
3515test "$ac_cv_exeext" = no && ac_cv_exeext=
3516
3517else
3518  ac_file=''
3519fi
3520if test -z "$ac_file"; then :
3521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522$as_echo "no" >&6; }
3523$as_echo "$as_me: failed program was:" >&5
3524sed 's/^/| /' conftest.$ac_ext >&5
3525
3526{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528as_fn_error 77 "C compiler cannot create executables
3529See \`config.log' for more details" "$LINENO" 5; }
3530else
3531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3532$as_echo "yes" >&6; }
3533fi
3534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3535$as_echo_n "checking for C compiler default output file name... " >&6; }
3536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3537$as_echo "$ac_file" >&6; }
3538ac_exeext=$ac_cv_exeext
3539
3540rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3541ac_clean_files=$ac_clean_files_save
3542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3543$as_echo_n "checking for suffix of executables... " >&6; }
3544if { { ac_try="$ac_link"
3545case "(($ac_try" in
3546  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547  *) ac_try_echo=$ac_try;;
3548esac
3549eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3550$as_echo "$ac_try_echo"; } >&5
3551  (eval "$ac_link") 2>&5
3552  ac_status=$?
3553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3554  test $ac_status = 0; }; then :
3555  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3556# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3557# work properly (i.e., refer to `conftest.exe'), while it won't with
3558# `rm'.
3559for ac_file in conftest.exe conftest conftest.*; do
3560  test -f "$ac_file" || continue
3561  case $ac_file in
3562    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3563    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3564	  break;;
3565    * ) break;;
3566  esac
3567done
3568else
3569  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3570$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3571as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3572See \`config.log' for more details" "$LINENO" 5; }
3573fi
3574rm -f conftest conftest$ac_cv_exeext
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3576$as_echo "$ac_cv_exeext" >&6; }
3577
3578rm -f conftest.$ac_ext
3579EXEEXT=$ac_cv_exeext
3580ac_exeext=$EXEEXT
3581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582/* end confdefs.h.  */
3583#include <stdio.h>
3584int
3585main ()
3586{
3587FILE *f = fopen ("conftest.out", "w");
3588 return ferror (f) || fclose (f) != 0;
3589
3590  ;
3591  return 0;
3592}
3593_ACEOF
3594ac_clean_files="$ac_clean_files conftest.out"
3595# Check that the compiler produces executables we can run.  If not, either
3596# the compiler is broken, or we cross compile.
3597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3598$as_echo_n "checking whether we are cross compiling... " >&6; }
3599if test "$cross_compiling" != yes; then
3600  { { ac_try="$ac_link"
3601case "(($ac_try" in
3602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603  *) ac_try_echo=$ac_try;;
3604esac
3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606$as_echo "$ac_try_echo"; } >&5
3607  (eval "$ac_link") 2>&5
3608  ac_status=$?
3609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610  test $ac_status = 0; }
3611  if { ac_try='./conftest$ac_cv_exeext'
3612  { { case "(($ac_try" in
3613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614  *) ac_try_echo=$ac_try;;
3615esac
3616eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617$as_echo "$ac_try_echo"; } >&5
3618  (eval "$ac_try") 2>&5
3619  ac_status=$?
3620  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621  test $ac_status = 0; }; }; then
3622    cross_compiling=no
3623  else
3624    if test "$cross_compiling" = maybe; then
3625	cross_compiling=yes
3626    else
3627	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629as_fn_error $? "cannot run C compiled programs.
3630If you meant to cross compile, use \`--host'.
3631See \`config.log' for more details" "$LINENO" 5; }
3632    fi
3633  fi
3634fi
3635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3636$as_echo "$cross_compiling" >&6; }
3637
3638rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3639ac_clean_files=$ac_clean_files_save
3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3641$as_echo_n "checking for suffix of object files... " >&6; }
3642if ${ac_cv_objext+:} false; then :
3643  $as_echo_n "(cached) " >&6
3644else
3645  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646/* end confdefs.h.  */
3647
3648int
3649main ()
3650{
3651
3652  ;
3653  return 0;
3654}
3655_ACEOF
3656rm -f conftest.o conftest.obj
3657if { { ac_try="$ac_compile"
3658case "(($ac_try" in
3659  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660  *) ac_try_echo=$ac_try;;
3661esac
3662eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3663$as_echo "$ac_try_echo"; } >&5
3664  (eval "$ac_compile") 2>&5
3665  ac_status=$?
3666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3667  test $ac_status = 0; }; then :
3668  for ac_file in conftest.o conftest.obj conftest.*; do
3669  test -f "$ac_file" || continue;
3670  case $ac_file in
3671    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3672    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3673       break;;
3674  esac
3675done
3676else
3677  $as_echo "$as_me: failed program was:" >&5
3678sed 's/^/| /' conftest.$ac_ext >&5
3679
3680{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682as_fn_error $? "cannot compute suffix of object files: cannot compile
3683See \`config.log' for more details" "$LINENO" 5; }
3684fi
3685rm -f conftest.$ac_cv_objext conftest.$ac_ext
3686fi
3687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3688$as_echo "$ac_cv_objext" >&6; }
3689OBJEXT=$ac_cv_objext
3690ac_objext=$OBJEXT
3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3692$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3693if ${ac_cv_c_compiler_gnu+:} false; then :
3694  $as_echo_n "(cached) " >&6
3695else
3696  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697/* end confdefs.h.  */
3698
3699int
3700main ()
3701{
3702#ifndef __GNUC__
3703       choke me
3704#endif
3705
3706  ;
3707  return 0;
3708}
3709_ACEOF
3710if ac_fn_c_try_compile "$LINENO"; then :
3711  ac_compiler_gnu=yes
3712else
3713  ac_compiler_gnu=no
3714fi
3715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716ac_cv_c_compiler_gnu=$ac_compiler_gnu
3717
3718fi
3719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3720$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3721if test $ac_compiler_gnu = yes; then
3722  GCC=yes
3723else
3724  GCC=
3725fi
3726ac_test_CFLAGS=${CFLAGS+set}
3727ac_save_CFLAGS=$CFLAGS
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3729$as_echo_n "checking whether $CC accepts -g... " >&6; }
3730if ${ac_cv_prog_cc_g+:} false; then :
3731  $as_echo_n "(cached) " >&6
3732else
3733  ac_save_c_werror_flag=$ac_c_werror_flag
3734   ac_c_werror_flag=yes
3735   ac_cv_prog_cc_g=no
3736   CFLAGS="-g"
3737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738/* end confdefs.h.  */
3739
3740int
3741main ()
3742{
3743
3744  ;
3745  return 0;
3746}
3747_ACEOF
3748if ac_fn_c_try_compile "$LINENO"; then :
3749  ac_cv_prog_cc_g=yes
3750else
3751  CFLAGS=""
3752      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753/* end confdefs.h.  */
3754
3755int
3756main ()
3757{
3758
3759  ;
3760  return 0;
3761}
3762_ACEOF
3763if ac_fn_c_try_compile "$LINENO"; then :
3764
3765else
3766  ac_c_werror_flag=$ac_save_c_werror_flag
3767	 CFLAGS="-g"
3768	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3769/* end confdefs.h.  */
3770
3771int
3772main ()
3773{
3774
3775  ;
3776  return 0;
3777}
3778_ACEOF
3779if ac_fn_c_try_compile "$LINENO"; then :
3780  ac_cv_prog_cc_g=yes
3781fi
3782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783fi
3784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785fi
3786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787   ac_c_werror_flag=$ac_save_c_werror_flag
3788fi
3789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3790$as_echo "$ac_cv_prog_cc_g" >&6; }
3791if test "$ac_test_CFLAGS" = set; then
3792  CFLAGS=$ac_save_CFLAGS
3793elif test $ac_cv_prog_cc_g = yes; then
3794  if test "$GCC" = yes; then
3795    CFLAGS="-g -O2"
3796  else
3797    CFLAGS="-g"
3798  fi
3799else
3800  if test "$GCC" = yes; then
3801    CFLAGS="-O2"
3802  else
3803    CFLAGS=
3804  fi
3805fi
3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3807$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3808if ${ac_cv_prog_cc_c89+:} false; then :
3809  $as_echo_n "(cached) " >&6
3810else
3811  ac_cv_prog_cc_c89=no
3812ac_save_CC=$CC
3813cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814/* end confdefs.h.  */
3815#include <stdarg.h>
3816#include <stdio.h>
3817struct stat;
3818/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3819struct buf { int x; };
3820FILE * (*rcsopen) (struct buf *, struct stat *, int);
3821static char *e (p, i)
3822     char **p;
3823     int i;
3824{
3825  return p[i];
3826}
3827static char *f (char * (*g) (char **, int), char **p, ...)
3828{
3829  char *s;
3830  va_list v;
3831  va_start (v,p);
3832  s = g (p, va_arg (v,int));
3833  va_end (v);
3834  return s;
3835}
3836
3837/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3838   function prototypes and stuff, but not '\xHH' hex character constants.
3839   These don't provoke an error unfortunately, instead are silently treated
3840   as 'x'.  The following induces an error, until -std is added to get
3841   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3842   array size at least.  It's necessary to write '\x00'==0 to get something
3843   that's true only with -std.  */
3844int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3845
3846/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3847   inside strings and character constants.  */
3848#define FOO(x) 'x'
3849int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3850
3851int test (int i, double x);
3852struct s1 {int (*f) (int a);};
3853struct s2 {int (*f) (double a);};
3854int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3855int argc;
3856char **argv;
3857int
3858main ()
3859{
3860return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3861  ;
3862  return 0;
3863}
3864_ACEOF
3865for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3866	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3867do
3868  CC="$ac_save_CC $ac_arg"
3869  if ac_fn_c_try_compile "$LINENO"; then :
3870  ac_cv_prog_cc_c89=$ac_arg
3871fi
3872rm -f core conftest.err conftest.$ac_objext
3873  test "x$ac_cv_prog_cc_c89" != "xno" && break
3874done
3875rm -f conftest.$ac_ext
3876CC=$ac_save_CC
3877
3878fi
3879# AC_CACHE_VAL
3880case "x$ac_cv_prog_cc_c89" in
3881  x)
3882    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3883$as_echo "none needed" >&6; } ;;
3884  xno)
3885    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3886$as_echo "unsupported" >&6; } ;;
3887  *)
3888    CC="$CC $ac_cv_prog_cc_c89"
3889    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3890$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3891esac
3892if test "x$ac_cv_prog_cc_c89" != xno; then :
3893
3894fi
3895
3896ac_ext=c
3897ac_cpp='$CPP $CPPFLAGS'
3898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3900ac_compiler_gnu=$ac_cv_c_compiler_gnu
3901
3902ac_ext=c
3903ac_cpp='$CPP $CPPFLAGS'
3904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3906ac_compiler_gnu=$ac_cv_c_compiler_gnu
3907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3908$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3909if ${am_cv_prog_cc_c_o+:} false; then :
3910  $as_echo_n "(cached) " >&6
3911else
3912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913/* end confdefs.h.  */
3914
3915int
3916main ()
3917{
3918
3919  ;
3920  return 0;
3921}
3922_ACEOF
3923  # Make sure it works both with $CC and with simple cc.
3924  # Following AC_PROG_CC_C_O, we do the test twice because some
3925  # compilers refuse to overwrite an existing .o file with -o,
3926  # though they will create one.
3927  am_cv_prog_cc_c_o=yes
3928  for am_i in 1 2; do
3929    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3930   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3931   ac_status=$?
3932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933   (exit $ac_status); } \
3934         && test -f conftest2.$ac_objext; then
3935      : OK
3936    else
3937      am_cv_prog_cc_c_o=no
3938      break
3939    fi
3940  done
3941  rm -f core conftest*
3942  unset am_i
3943fi
3944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3945$as_echo "$am_cv_prog_cc_c_o" >&6; }
3946if test "$am_cv_prog_cc_c_o" != yes; then
3947   # Losing compiler, so override with the script.
3948   # FIXME: It is wrong to rewrite CC.
3949   # But if we don't then we get into trouble of one sort or another.
3950   # A longer-term fix would be to have automake use am__CC in this case,
3951   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3952   CC="$am_aux_dir/compile $CC"
3953fi
3954ac_ext=c
3955ac_cpp='$CPP $CPPFLAGS'
3956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959
3960DEPDIR="${am__leading_dot}deps"
3961
3962ac_config_commands="$ac_config_commands depfiles"
3963
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3965$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3966cat > confinc.mk << 'END'
3967am__doit:
3968	@echo this is the am__doit target >confinc.out
3969.PHONY: am__doit
3970END
3971am__include="#"
3972am__quote=
3973# BSD make does it like this.
3974echo '.include "confinc.mk" # ignored' > confmf.BSD
3975# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3976echo 'include confinc.mk # ignored' > confmf.GNU
3977_am_result=no
3978for s in GNU BSD; do
3979  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3980   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3981   ac_status=$?
3982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983   (exit $ac_status); }
3984  case $?:`cat confinc.out 2>/dev/null` in #(
3985  '0:this is the am__doit target') :
3986    case $s in #(
3987  BSD) :
3988    am__include='.include' am__quote='"' ;; #(
3989  *) :
3990    am__include='include' am__quote='' ;;
3991esac ;; #(
3992  *) :
3993     ;;
3994esac
3995  if test "$am__include" != "#"; then
3996    _am_result="yes ($s style)"
3997    break
3998  fi
3999done
4000rm -f confinc.* confmf.*
4001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4002$as_echo "${_am_result}" >&6; }
4003
4004# Check whether --enable-dependency-tracking was given.
4005if test "${enable_dependency_tracking+set}" = set; then :
4006  enableval=$enable_dependency_tracking;
4007fi
4008
4009if test "x$enable_dependency_tracking" != xno; then
4010  am_depcomp="$ac_aux_dir/depcomp"
4011  AMDEPBACKSLASH='\'
4012  am__nodep='_no'
4013fi
4014 if test "x$enable_dependency_tracking" != xno; then
4015  AMDEP_TRUE=
4016  AMDEP_FALSE='#'
4017else
4018  AMDEP_TRUE='#'
4019  AMDEP_FALSE=
4020fi
4021
4022
4023
4024depcc="$CC"   am_compiler_list=
4025
4026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4027$as_echo_n "checking dependency style of $depcc... " >&6; }
4028if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4029  $as_echo_n "(cached) " >&6
4030else
4031  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4032  # We make a subdir and do the tests there.  Otherwise we can end up
4033  # making bogus files that we don't know about and never remove.  For
4034  # instance it was reported that on HP-UX the gcc test will end up
4035  # making a dummy file named 'D' -- because '-MD' means "put the output
4036  # in D".
4037  rm -rf conftest.dir
4038  mkdir conftest.dir
4039  # Copy depcomp to subdir because otherwise we won't find it if we're
4040  # using a relative directory.
4041  cp "$am_depcomp" conftest.dir
4042  cd conftest.dir
4043  # We will build objects and dependencies in a subdirectory because
4044  # it helps to detect inapplicable dependency modes.  For instance
4045  # both Tru64's cc and ICC support -MD to output dependencies as a
4046  # side effect of compilation, but ICC will put the dependencies in
4047  # the current directory while Tru64 will put them in the object
4048  # directory.
4049  mkdir sub
4050
4051  am_cv_CC_dependencies_compiler_type=none
4052  if test "$am_compiler_list" = ""; then
4053     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4054  fi
4055  am__universal=false
4056  case " $depcc " in #(
4057     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4058     esac
4059
4060  for depmode in $am_compiler_list; do
4061    # Setup a source with many dependencies, because some compilers
4062    # like to wrap large dependency lists on column 80 (with \), and
4063    # we should not choose a depcomp mode which is confused by this.
4064    #
4065    # We need to recreate these files for each test, as the compiler may
4066    # overwrite some of them when testing with obscure command lines.
4067    # This happens at least with the AIX C compiler.
4068    : > sub/conftest.c
4069    for i in 1 2 3 4 5 6; do
4070      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4071      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4072      # Solaris 10 /bin/sh.
4073      echo '/* dummy */' > sub/conftst$i.h
4074    done
4075    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4076
4077    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4078    # mode.  It turns out that the SunPro C++ compiler does not properly
4079    # handle '-M -o', and we need to detect this.  Also, some Intel
4080    # versions had trouble with output in subdirs.
4081    am__obj=sub/conftest.${OBJEXT-o}
4082    am__minus_obj="-o $am__obj"
4083    case $depmode in
4084    gcc)
4085      # This depmode causes a compiler race in universal mode.
4086      test "$am__universal" = false || continue
4087      ;;
4088    nosideeffect)
4089      # After this tag, mechanisms are not by side-effect, so they'll
4090      # only be used when explicitly requested.
4091      if test "x$enable_dependency_tracking" = xyes; then
4092	continue
4093      else
4094	break
4095      fi
4096      ;;
4097    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4098      # This compiler won't grok '-c -o', but also, the minuso test has
4099      # not run yet.  These depmodes are late enough in the game, and
4100      # so weak that their functioning should not be impacted.
4101      am__obj=conftest.${OBJEXT-o}
4102      am__minus_obj=
4103      ;;
4104    none) break ;;
4105    esac
4106    if depmode=$depmode \
4107       source=sub/conftest.c object=$am__obj \
4108       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4109       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4110         >/dev/null 2>conftest.err &&
4111       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4112       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4113       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4114       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4115      # icc doesn't choke on unknown options, it will just issue warnings
4116      # or remarks (even with -Werror).  So we grep stderr for any message
4117      # that says an option was ignored or not supported.
4118      # When given -MP, icc 7.0 and 7.1 complain thusly:
4119      #   icc: Command line warning: ignoring option '-M'; no argument required
4120      # The diagnosis changed in icc 8.0:
4121      #   icc: Command line remark: option '-MP' not supported
4122      if (grep 'ignoring option' conftest.err ||
4123          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4124        am_cv_CC_dependencies_compiler_type=$depmode
4125        break
4126      fi
4127    fi
4128  done
4129
4130  cd ..
4131  rm -rf conftest.dir
4132else
4133  am_cv_CC_dependencies_compiler_type=none
4134fi
4135
4136fi
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4138$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4139CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4140
4141 if
4142  test "x$enable_dependency_tracking" != xno \
4143  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4144  am__fastdepCC_TRUE=
4145  am__fastdepCC_FALSE='#'
4146else
4147  am__fastdepCC_TRUE='#'
4148  am__fastdepCC_FALSE=
4149fi
4150
4151
4152
4153
4154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4155$as_echo_n "checking whether NLS is requested... " >&6; }
4156    # Check whether --enable-nls was given.
4157if test "${enable_nls+set}" = set; then :
4158  enableval=$enable_nls; USE_NLS=$enableval
4159else
4160  USE_NLS=yes
4161fi
4162
4163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4164$as_echo "$USE_NLS" >&6; }
4165
4166
4167
4168
4169case "$am__api_version" in
4170    1.01234)
4171	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4172    ;;
4173    *)
4174    ;;
4175esac
4176
4177INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4178INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4179INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4180if test -n "0.35.0"; then
4181    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4182$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4184$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4185    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4186	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4187fi
4188
4189# Extract the first word of "intltool-update", so it can be a program name with args.
4190set dummy intltool-update; ac_word=$2
4191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192$as_echo_n "checking for $ac_word... " >&6; }
4193if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4194  $as_echo_n "(cached) " >&6
4195else
4196  case $INTLTOOL_UPDATE in
4197  [\\/]* | ?:[\\/]*)
4198  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4199  ;;
4200  *)
4201  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202for as_dir in $PATH
4203do
4204  IFS=$as_save_IFS
4205  test -z "$as_dir" && as_dir=.
4206    for ac_exec_ext in '' $ac_executable_extensions; do
4207  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4208    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210    break 2
4211  fi
4212done
4213  done
4214IFS=$as_save_IFS
4215
4216  ;;
4217esac
4218fi
4219INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4220if test -n "$INTLTOOL_UPDATE"; then
4221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4222$as_echo "$INTLTOOL_UPDATE" >&6; }
4223else
4224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225$as_echo "no" >&6; }
4226fi
4227
4228
4229# Extract the first word of "intltool-merge", so it can be a program name with args.
4230set dummy intltool-merge; ac_word=$2
4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232$as_echo_n "checking for $ac_word... " >&6; }
4233if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4234  $as_echo_n "(cached) " >&6
4235else
4236  case $INTLTOOL_MERGE in
4237  [\\/]* | ?:[\\/]*)
4238  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4239  ;;
4240  *)
4241  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242for as_dir in $PATH
4243do
4244  IFS=$as_save_IFS
4245  test -z "$as_dir" && as_dir=.
4246    for ac_exec_ext in '' $ac_executable_extensions; do
4247  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250    break 2
4251  fi
4252done
4253  done
4254IFS=$as_save_IFS
4255
4256  ;;
4257esac
4258fi
4259INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4260if test -n "$INTLTOOL_MERGE"; then
4261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4262$as_echo "$INTLTOOL_MERGE" >&6; }
4263else
4264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265$as_echo "no" >&6; }
4266fi
4267
4268
4269# Extract the first word of "intltool-extract", so it can be a program name with args.
4270set dummy intltool-extract; ac_word=$2
4271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272$as_echo_n "checking for $ac_word... " >&6; }
4273if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4274  $as_echo_n "(cached) " >&6
4275else
4276  case $INTLTOOL_EXTRACT in
4277  [\\/]* | ?:[\\/]*)
4278  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4279  ;;
4280  *)
4281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282for as_dir in $PATH
4283do
4284  IFS=$as_save_IFS
4285  test -z "$as_dir" && as_dir=.
4286    for ac_exec_ext in '' $ac_executable_extensions; do
4287  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4289    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290    break 2
4291  fi
4292done
4293  done
4294IFS=$as_save_IFS
4295
4296  ;;
4297esac
4298fi
4299INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4300if test -n "$INTLTOOL_EXTRACT"; then
4301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4302$as_echo "$INTLTOOL_EXTRACT" >&6; }
4303else
4304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305$as_echo "no" >&6; }
4306fi
4307
4308
4309if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4310    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4311fi
4312
4313if test -z "$AM_DEFAULT_VERBOSITY"; then
4314  AM_DEFAULT_VERBOSITY=1
4315fi
4316
4317
4318INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4319INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4320INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4321
4322
4323
4324
4325INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4326intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4327intltool__v_merge_options_0='-q'
4328
4329
4330
4331
4332  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 $< $@'
4333INTLTOOL_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 $< $@'
4334     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 $< $@'
4335     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 $< $@'
4336      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 $< $@'
4337     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 $< $@'
4338   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 $< $@'
4339    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 $< $@'
4340INTLTOOL_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 $< $@'
4341       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 $< $@'
4342      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 $< $@'
4343if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4344      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 $< $@'
4345else
4346      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'
4347fi
4348      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 $< $@'
4349      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 $< $@'
4350    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 $< $@'
4351  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 $< $@'
4352    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 $< $@'
4353    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 $< $@'
4354   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 $< $@'
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452# Check the gettext tools to make sure they are GNU
4453# Extract the first word of "xgettext", so it can be a program name with args.
4454set dummy xgettext; ac_word=$2
4455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4456$as_echo_n "checking for $ac_word... " >&6; }
4457if ${ac_cv_path_XGETTEXT+:} false; then :
4458  $as_echo_n "(cached) " >&6
4459else
4460  case $XGETTEXT in
4461  [\\/]* | ?:[\\/]*)
4462  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4463  ;;
4464  *)
4465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466for as_dir in $PATH
4467do
4468  IFS=$as_save_IFS
4469  test -z "$as_dir" && as_dir=.
4470    for ac_exec_ext in '' $ac_executable_extensions; do
4471  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4473    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474    break 2
4475  fi
4476done
4477  done
4478IFS=$as_save_IFS
4479
4480  ;;
4481esac
4482fi
4483XGETTEXT=$ac_cv_path_XGETTEXT
4484if test -n "$XGETTEXT"; then
4485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4486$as_echo "$XGETTEXT" >&6; }
4487else
4488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489$as_echo "no" >&6; }
4490fi
4491
4492
4493# Extract the first word of "msgmerge", so it can be a program name with args.
4494set dummy msgmerge; ac_word=$2
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496$as_echo_n "checking for $ac_word... " >&6; }
4497if ${ac_cv_path_MSGMERGE+:} false; then :
4498  $as_echo_n "(cached) " >&6
4499else
4500  case $MSGMERGE in
4501  [\\/]* | ?:[\\/]*)
4502  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4503  ;;
4504  *)
4505  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506for as_dir in $PATH
4507do
4508  IFS=$as_save_IFS
4509  test -z "$as_dir" && as_dir=.
4510    for ac_exec_ext in '' $ac_executable_extensions; do
4511  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4512    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4513    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514    break 2
4515  fi
4516done
4517  done
4518IFS=$as_save_IFS
4519
4520  ;;
4521esac
4522fi
4523MSGMERGE=$ac_cv_path_MSGMERGE
4524if test -n "$MSGMERGE"; then
4525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4526$as_echo "$MSGMERGE" >&6; }
4527else
4528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529$as_echo "no" >&6; }
4530fi
4531
4532
4533# Extract the first word of "msgfmt", so it can be a program name with args.
4534set dummy msgfmt; ac_word=$2
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536$as_echo_n "checking for $ac_word... " >&6; }
4537if ${ac_cv_path_MSGFMT+:} false; then :
4538  $as_echo_n "(cached) " >&6
4539else
4540  case $MSGFMT in
4541  [\\/]* | ?:[\\/]*)
4542  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4543  ;;
4544  *)
4545  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546for as_dir in $PATH
4547do
4548  IFS=$as_save_IFS
4549  test -z "$as_dir" && as_dir=.
4550    for ac_exec_ext in '' $ac_executable_extensions; do
4551  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4553    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554    break 2
4555  fi
4556done
4557  done
4558IFS=$as_save_IFS
4559
4560  ;;
4561esac
4562fi
4563MSGFMT=$ac_cv_path_MSGFMT
4564if test -n "$MSGFMT"; then
4565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4566$as_echo "$MSGFMT" >&6; }
4567else
4568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569$as_echo "no" >&6; }
4570fi
4571
4572
4573# Extract the first word of "gmsgfmt", so it can be a program name with args.
4574set dummy gmsgfmt; 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_path_GMSGFMT+:} false; then :
4578  $as_echo_n "(cached) " >&6
4579else
4580  case $GMSGFMT in
4581  [\\/]* | ?:[\\/]*)
4582  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4583  ;;
4584  *)
4585  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586for as_dir in $PATH
4587do
4588  IFS=$as_save_IFS
4589  test -z "$as_dir" && as_dir=.
4590    for ac_exec_ext in '' $ac_executable_extensions; do
4591  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4593    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594    break 2
4595  fi
4596done
4597  done
4598IFS=$as_save_IFS
4599
4600  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4601  ;;
4602esac
4603fi
4604GMSGFMT=$ac_cv_path_GMSGFMT
4605if test -n "$GMSGFMT"; then
4606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4607$as_echo "$GMSGFMT" >&6; }
4608else
4609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610$as_echo "no" >&6; }
4611fi
4612
4613
4614if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4615    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4616fi
4617xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4618mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4619mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4620if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4621    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4622fi
4623
4624# Extract the first word of "perl", so it can be a program name with args.
4625set dummy perl; ac_word=$2
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627$as_echo_n "checking for $ac_word... " >&6; }
4628if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4629  $as_echo_n "(cached) " >&6
4630else
4631  case $INTLTOOL_PERL in
4632  [\\/]* | ?:[\\/]*)
4633  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4634  ;;
4635  *)
4636  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637for as_dir in $PATH
4638do
4639  IFS=$as_save_IFS
4640  test -z "$as_dir" && as_dir=.
4641    for ac_exec_ext in '' $ac_executable_extensions; do
4642  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4644    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645    break 2
4646  fi
4647done
4648  done
4649IFS=$as_save_IFS
4650
4651  ;;
4652esac
4653fi
4654INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4655if test -n "$INTLTOOL_PERL"; then
4656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4657$as_echo "$INTLTOOL_PERL" >&6; }
4658else
4659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660$as_echo "no" >&6; }
4661fi
4662
4663
4664if test -z "$INTLTOOL_PERL"; then
4665   as_fn_error $? "perl not found" "$LINENO" 5
4666fi
4667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4668$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4669$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4670if test $? -ne 0; then
4671   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4672else
4673   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4675$as_echo "$IT_PERL_VERSION" >&6; }
4676fi
4677if test "x" != "xno-xml"; then
4678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4679$as_echo_n "checking for XML::Parser... " >&6; }
4680   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4681       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4682$as_echo "ok" >&6; }
4683   else
4684       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4685   fi
4686fi
4687
4688# Substitute ALL_LINGUAS so we can use it in po/Makefile
4689
4690
4691
4692
4693
4694
4695
4696case `pwd` in
4697  *\ * | *\	*)
4698    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4699$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4700esac
4701
4702
4703
4704macro_version='2.4.6'
4705macro_revision='2.4.6'
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719ltmain=$ac_aux_dir/ltmain.sh
4720
4721# Make sure we can run config.sub.
4722$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4723  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4724
4725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4726$as_echo_n "checking build system type... " >&6; }
4727if ${ac_cv_build+:} false; then :
4728  $as_echo_n "(cached) " >&6
4729else
4730  ac_build_alias=$build_alias
4731test "x$ac_build_alias" = x &&
4732  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4733test "x$ac_build_alias" = x &&
4734  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4735ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4736  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4737
4738fi
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4740$as_echo "$ac_cv_build" >&6; }
4741case $ac_cv_build in
4742*-*-*) ;;
4743*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4744esac
4745build=$ac_cv_build
4746ac_save_IFS=$IFS; IFS='-'
4747set x $ac_cv_build
4748shift
4749build_cpu=$1
4750build_vendor=$2
4751shift; shift
4752# Remember, the first character of IFS is used to create $*,
4753# except with old shells:
4754build_os=$*
4755IFS=$ac_save_IFS
4756case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4757
4758
4759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4760$as_echo_n "checking host system type... " >&6; }
4761if ${ac_cv_host+:} false; then :
4762  $as_echo_n "(cached) " >&6
4763else
4764  if test "x$host_alias" = x; then
4765  ac_cv_host=$ac_cv_build
4766else
4767  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4768    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4769fi
4770
4771fi
4772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4773$as_echo "$ac_cv_host" >&6; }
4774case $ac_cv_host in
4775*-*-*) ;;
4776*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4777esac
4778host=$ac_cv_host
4779ac_save_IFS=$IFS; IFS='-'
4780set x $ac_cv_host
4781shift
4782host_cpu=$1
4783host_vendor=$2
4784shift; shift
4785# Remember, the first character of IFS is used to create $*,
4786# except with old shells:
4787host_os=$*
4788IFS=$ac_save_IFS
4789case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4790
4791
4792# Backslashify metacharacters that are still active within
4793# double-quoted strings.
4794sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4795
4796# Same as above, but do not quote variable references.
4797double_quote_subst='s/\(["`\\]\)/\\\1/g'
4798
4799# Sed substitution to delay expansion of an escaped shell variable in a
4800# double_quote_subst'ed string.
4801delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4802
4803# Sed substitution to delay expansion of an escaped single quote.
4804delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4805
4806# Sed substitution to avoid accidental globbing in evaled expressions
4807no_glob_subst='s/\*/\\\*/g'
4808
4809ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4810ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4811ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4812
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4814$as_echo_n "checking how to print strings... " >&6; }
4815# Test print first, because it will be a builtin if present.
4816if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4817   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4818  ECHO='print -r --'
4819elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4820  ECHO='printf %s\n'
4821else
4822  # Use this function as a fallback that always works.
4823  func_fallback_echo ()
4824  {
4825    eval 'cat <<_LTECHO_EOF
4826$1
4827_LTECHO_EOF'
4828  }
4829  ECHO='func_fallback_echo'
4830fi
4831
4832# func_echo_all arg...
4833# Invoke $ECHO with all args, space-separated.
4834func_echo_all ()
4835{
4836    $ECHO ""
4837}
4838
4839case $ECHO in
4840  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4841$as_echo "printf" >&6; } ;;
4842  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4843$as_echo "print -r" >&6; } ;;
4844  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4845$as_echo "cat" >&6; } ;;
4846esac
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4862$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4863if ${ac_cv_path_SED+:} false; then :
4864  $as_echo_n "(cached) " >&6
4865else
4866            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4867     for ac_i in 1 2 3 4 5 6 7; do
4868       ac_script="$ac_script$as_nl$ac_script"
4869     done
4870     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4871     { ac_script=; unset ac_script;}
4872     if test -z "$SED"; then
4873  ac_path_SED_found=false
4874  # Loop through the user's path and test for each of PROGNAME-LIST
4875  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876for as_dir in $PATH
4877do
4878  IFS=$as_save_IFS
4879  test -z "$as_dir" && as_dir=.
4880    for ac_prog in sed gsed; do
4881    for ac_exec_ext in '' $ac_executable_extensions; do
4882      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4883      as_fn_executable_p "$ac_path_SED" || continue
4884# Check for GNU ac_path_SED and select it if it is found.
4885  # Check for GNU $ac_path_SED
4886case `"$ac_path_SED" --version 2>&1` in
4887*GNU*)
4888  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4889*)
4890  ac_count=0
4891  $as_echo_n 0123456789 >"conftest.in"
4892  while :
4893  do
4894    cat "conftest.in" "conftest.in" >"conftest.tmp"
4895    mv "conftest.tmp" "conftest.in"
4896    cp "conftest.in" "conftest.nl"
4897    $as_echo '' >> "conftest.nl"
4898    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4899    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4900    as_fn_arith $ac_count + 1 && ac_count=$as_val
4901    if test $ac_count -gt ${ac_path_SED_max-0}; then
4902      # Best one so far, save it but keep looking for a better one
4903      ac_cv_path_SED="$ac_path_SED"
4904      ac_path_SED_max=$ac_count
4905    fi
4906    # 10*(2^10) chars as input seems more than enough
4907    test $ac_count -gt 10 && break
4908  done
4909  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4910esac
4911
4912      $ac_path_SED_found && break 3
4913    done
4914  done
4915  done
4916IFS=$as_save_IFS
4917  if test -z "$ac_cv_path_SED"; then
4918    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4919  fi
4920else
4921  ac_cv_path_SED=$SED
4922fi
4923
4924fi
4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4926$as_echo "$ac_cv_path_SED" >&6; }
4927 SED="$ac_cv_path_SED"
4928  rm -f conftest.sed
4929
4930test -z "$SED" && SED=sed
4931Xsed="$SED -e 1s/^X//"
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4944$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4945if ${ac_cv_path_GREP+:} false; then :
4946  $as_echo_n "(cached) " >&6
4947else
4948  if test -z "$GREP"; then
4949  ac_path_GREP_found=false
4950  # Loop through the user's path and test for each of PROGNAME-LIST
4951  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4953do
4954  IFS=$as_save_IFS
4955  test -z "$as_dir" && as_dir=.
4956    for ac_prog in grep ggrep; do
4957    for ac_exec_ext in '' $ac_executable_extensions; do
4958      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4959      as_fn_executable_p "$ac_path_GREP" || continue
4960# Check for GNU ac_path_GREP and select it if it is found.
4961  # Check for GNU $ac_path_GREP
4962case `"$ac_path_GREP" --version 2>&1` in
4963*GNU*)
4964  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4965*)
4966  ac_count=0
4967  $as_echo_n 0123456789 >"conftest.in"
4968  while :
4969  do
4970    cat "conftest.in" "conftest.in" >"conftest.tmp"
4971    mv "conftest.tmp" "conftest.in"
4972    cp "conftest.in" "conftest.nl"
4973    $as_echo 'GREP' >> "conftest.nl"
4974    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4975    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4976    as_fn_arith $ac_count + 1 && ac_count=$as_val
4977    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4978      # Best one so far, save it but keep looking for a better one
4979      ac_cv_path_GREP="$ac_path_GREP"
4980      ac_path_GREP_max=$ac_count
4981    fi
4982    # 10*(2^10) chars as input seems more than enough
4983    test $ac_count -gt 10 && break
4984  done
4985  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4986esac
4987
4988      $ac_path_GREP_found && break 3
4989    done
4990  done
4991  done
4992IFS=$as_save_IFS
4993  if test -z "$ac_cv_path_GREP"; then
4994    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4995  fi
4996else
4997  ac_cv_path_GREP=$GREP
4998fi
4999
5000fi
5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5002$as_echo "$ac_cv_path_GREP" >&6; }
5003 GREP="$ac_cv_path_GREP"
5004
5005
5006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5007$as_echo_n "checking for egrep... " >&6; }
5008if ${ac_cv_path_EGREP+:} false; then :
5009  $as_echo_n "(cached) " >&6
5010else
5011  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5012   then ac_cv_path_EGREP="$GREP -E"
5013   else
5014     if test -z "$EGREP"; then
5015  ac_path_EGREP_found=false
5016  # Loop through the user's path and test for each of PROGNAME-LIST
5017  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5019do
5020  IFS=$as_save_IFS
5021  test -z "$as_dir" && as_dir=.
5022    for ac_prog in egrep; do
5023    for ac_exec_ext in '' $ac_executable_extensions; do
5024      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5025      as_fn_executable_p "$ac_path_EGREP" || continue
5026# Check for GNU ac_path_EGREP and select it if it is found.
5027  # Check for GNU $ac_path_EGREP
5028case `"$ac_path_EGREP" --version 2>&1` in
5029*GNU*)
5030  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5031*)
5032  ac_count=0
5033  $as_echo_n 0123456789 >"conftest.in"
5034  while :
5035  do
5036    cat "conftest.in" "conftest.in" >"conftest.tmp"
5037    mv "conftest.tmp" "conftest.in"
5038    cp "conftest.in" "conftest.nl"
5039    $as_echo 'EGREP' >> "conftest.nl"
5040    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5041    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5042    as_fn_arith $ac_count + 1 && ac_count=$as_val
5043    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5044      # Best one so far, save it but keep looking for a better one
5045      ac_cv_path_EGREP="$ac_path_EGREP"
5046      ac_path_EGREP_max=$ac_count
5047    fi
5048    # 10*(2^10) chars as input seems more than enough
5049    test $ac_count -gt 10 && break
5050  done
5051  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5052esac
5053
5054      $ac_path_EGREP_found && break 3
5055    done
5056  done
5057  done
5058IFS=$as_save_IFS
5059  if test -z "$ac_cv_path_EGREP"; then
5060    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5061  fi
5062else
5063  ac_cv_path_EGREP=$EGREP
5064fi
5065
5066   fi
5067fi
5068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5069$as_echo "$ac_cv_path_EGREP" >&6; }
5070 EGREP="$ac_cv_path_EGREP"
5071
5072
5073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5074$as_echo_n "checking for fgrep... " >&6; }
5075if ${ac_cv_path_FGREP+:} false; then :
5076  $as_echo_n "(cached) " >&6
5077else
5078  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5079   then ac_cv_path_FGREP="$GREP -F"
5080   else
5081     if test -z "$FGREP"; then
5082  ac_path_FGREP_found=false
5083  # Loop through the user's path and test for each of PROGNAME-LIST
5084  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5086do
5087  IFS=$as_save_IFS
5088  test -z "$as_dir" && as_dir=.
5089    for ac_prog in fgrep; do
5090    for ac_exec_ext in '' $ac_executable_extensions; do
5091      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5092      as_fn_executable_p "$ac_path_FGREP" || continue
5093# Check for GNU ac_path_FGREP and select it if it is found.
5094  # Check for GNU $ac_path_FGREP
5095case `"$ac_path_FGREP" --version 2>&1` in
5096*GNU*)
5097  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5098*)
5099  ac_count=0
5100  $as_echo_n 0123456789 >"conftest.in"
5101  while :
5102  do
5103    cat "conftest.in" "conftest.in" >"conftest.tmp"
5104    mv "conftest.tmp" "conftest.in"
5105    cp "conftest.in" "conftest.nl"
5106    $as_echo 'FGREP' >> "conftest.nl"
5107    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5108    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5109    as_fn_arith $ac_count + 1 && ac_count=$as_val
5110    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5111      # Best one so far, save it but keep looking for a better one
5112      ac_cv_path_FGREP="$ac_path_FGREP"
5113      ac_path_FGREP_max=$ac_count
5114    fi
5115    # 10*(2^10) chars as input seems more than enough
5116    test $ac_count -gt 10 && break
5117  done
5118  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5119esac
5120
5121      $ac_path_FGREP_found && break 3
5122    done
5123  done
5124  done
5125IFS=$as_save_IFS
5126  if test -z "$ac_cv_path_FGREP"; then
5127    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5128  fi
5129else
5130  ac_cv_path_FGREP=$FGREP
5131fi
5132
5133   fi
5134fi
5135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5136$as_echo "$ac_cv_path_FGREP" >&6; }
5137 FGREP="$ac_cv_path_FGREP"
5138
5139
5140test -z "$GREP" && GREP=grep
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160# Check whether --with-gnu-ld was given.
5161if test "${with_gnu_ld+set}" = set; then :
5162  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5163else
5164  with_gnu_ld=no
5165fi
5166
5167ac_prog=ld
5168if test yes = "$GCC"; then
5169  # Check if gcc -print-prog-name=ld gives a path.
5170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5171$as_echo_n "checking for ld used by $CC... " >&6; }
5172  case $host in
5173  *-*-mingw*)
5174    # gcc leaves a trailing carriage return, which upsets mingw
5175    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5176  *)
5177    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5178  esac
5179  case $ac_prog in
5180    # Accept absolute paths.
5181    [\\/]* | ?:[\\/]*)
5182      re_direlt='/[^/][^/]*/\.\./'
5183      # Canonicalize the pathname of ld
5184      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5185      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5186	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5187      done
5188      test -z "$LD" && LD=$ac_prog
5189      ;;
5190  "")
5191    # If it fails, then pretend we aren't using GCC.
5192    ac_prog=ld
5193    ;;
5194  *)
5195    # If it is relative, then search for the first ld in PATH.
5196    with_gnu_ld=unknown
5197    ;;
5198  esac
5199elif test yes = "$with_gnu_ld"; then
5200  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5201$as_echo_n "checking for GNU ld... " >&6; }
5202else
5203  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5204$as_echo_n "checking for non-GNU ld... " >&6; }
5205fi
5206if ${lt_cv_path_LD+:} false; then :
5207  $as_echo_n "(cached) " >&6
5208else
5209  if test -z "$LD"; then
5210  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5211  for ac_dir in $PATH; do
5212    IFS=$lt_save_ifs
5213    test -z "$ac_dir" && ac_dir=.
5214    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5215      lt_cv_path_LD=$ac_dir/$ac_prog
5216      # Check to see if the program is GNU ld.  I'd rather use --version,
5217      # but apparently some variants of GNU ld only accept -v.
5218      # Break only if it was the GNU/non-GNU ld that we prefer.
5219      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5220      *GNU* | *'with BFD'*)
5221	test no != "$with_gnu_ld" && break
5222	;;
5223      *)
5224	test yes != "$with_gnu_ld" && break
5225	;;
5226      esac
5227    fi
5228  done
5229  IFS=$lt_save_ifs
5230else
5231  lt_cv_path_LD=$LD # Let the user override the test with a path.
5232fi
5233fi
5234
5235LD=$lt_cv_path_LD
5236if test -n "$LD"; then
5237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5238$as_echo "$LD" >&6; }
5239else
5240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241$as_echo "no" >&6; }
5242fi
5243test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5245$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5246if ${lt_cv_prog_gnu_ld+:} false; then :
5247  $as_echo_n "(cached) " >&6
5248else
5249  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5250case `$LD -v 2>&1 </dev/null` in
5251*GNU* | *'with BFD'*)
5252  lt_cv_prog_gnu_ld=yes
5253  ;;
5254*)
5255  lt_cv_prog_gnu_ld=no
5256  ;;
5257esac
5258fi
5259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5260$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5261with_gnu_ld=$lt_cv_prog_gnu_ld
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5272$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5273if ${lt_cv_path_NM+:} false; then :
5274  $as_echo_n "(cached) " >&6
5275else
5276  if test -n "$NM"; then
5277  # Let the user override the test.
5278  lt_cv_path_NM=$NM
5279else
5280  lt_nm_to_check=${ac_tool_prefix}nm
5281  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5282    lt_nm_to_check="$lt_nm_to_check nm"
5283  fi
5284  for lt_tmp_nm in $lt_nm_to_check; do
5285    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5286    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5287      IFS=$lt_save_ifs
5288      test -z "$ac_dir" && ac_dir=.
5289      tmp_nm=$ac_dir/$lt_tmp_nm
5290      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5291	# Check to see if the nm accepts a BSD-compat flag.
5292	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5293	#   nm: unknown option "B" ignored
5294	# Tru64's nm complains that /dev/null is an invalid object file
5295	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5296	case $build_os in
5297	mingw*) lt_bad_file=conftest.nm/nofile ;;
5298	*) lt_bad_file=/dev/null ;;
5299	esac
5300	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5301	*$lt_bad_file* | *'Invalid file or object type'*)
5302	  lt_cv_path_NM="$tmp_nm -B"
5303	  break 2
5304	  ;;
5305	*)
5306	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5307	  */dev/null*)
5308	    lt_cv_path_NM="$tmp_nm -p"
5309	    break 2
5310	    ;;
5311	  *)
5312	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5313	    continue # so that we can try to find one that supports BSD flags
5314	    ;;
5315	  esac
5316	  ;;
5317	esac
5318      fi
5319    done
5320    IFS=$lt_save_ifs
5321  done
5322  : ${lt_cv_path_NM=no}
5323fi
5324fi
5325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5326$as_echo "$lt_cv_path_NM" >&6; }
5327if test no != "$lt_cv_path_NM"; then
5328  NM=$lt_cv_path_NM
5329else
5330  # Didn't find any BSD compatible name lister, look for dumpbin.
5331  if test -n "$DUMPBIN"; then :
5332    # Let the user override the test.
5333  else
5334    if test -n "$ac_tool_prefix"; then
5335  for ac_prog in dumpbin "link -dump"
5336  do
5337    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5338set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340$as_echo_n "checking for $ac_word... " >&6; }
5341if ${ac_cv_prog_DUMPBIN+:} false; then :
5342  $as_echo_n "(cached) " >&6
5343else
5344  if test -n "$DUMPBIN"; then
5345  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5346else
5347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348for as_dir in $PATH
5349do
5350  IFS=$as_save_IFS
5351  test -z "$as_dir" && as_dir=.
5352    for ac_exec_ext in '' $ac_executable_extensions; do
5353  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5354    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5355    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356    break 2
5357  fi
5358done
5359  done
5360IFS=$as_save_IFS
5361
5362fi
5363fi
5364DUMPBIN=$ac_cv_prog_DUMPBIN
5365if test -n "$DUMPBIN"; then
5366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5367$as_echo "$DUMPBIN" >&6; }
5368else
5369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370$as_echo "no" >&6; }
5371fi
5372
5373
5374    test -n "$DUMPBIN" && break
5375  done
5376fi
5377if test -z "$DUMPBIN"; then
5378  ac_ct_DUMPBIN=$DUMPBIN
5379  for ac_prog in dumpbin "link -dump"
5380do
5381  # Extract the first word of "$ac_prog", so it can be a program name with args.
5382set dummy $ac_prog; ac_word=$2
5383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384$as_echo_n "checking for $ac_word... " >&6; }
5385if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5386  $as_echo_n "(cached) " >&6
5387else
5388  if test -n "$ac_ct_DUMPBIN"; then
5389  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5390else
5391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392for as_dir in $PATH
5393do
5394  IFS=$as_save_IFS
5395  test -z "$as_dir" && as_dir=.
5396    for ac_exec_ext in '' $ac_executable_extensions; do
5397  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5398    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5399    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400    break 2
5401  fi
5402done
5403  done
5404IFS=$as_save_IFS
5405
5406fi
5407fi
5408ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5409if test -n "$ac_ct_DUMPBIN"; then
5410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5411$as_echo "$ac_ct_DUMPBIN" >&6; }
5412else
5413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414$as_echo "no" >&6; }
5415fi
5416
5417
5418  test -n "$ac_ct_DUMPBIN" && break
5419done
5420
5421  if test "x$ac_ct_DUMPBIN" = x; then
5422    DUMPBIN=":"
5423  else
5424    case $cross_compiling:$ac_tool_warned in
5425yes:)
5426{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5427$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5428ac_tool_warned=yes ;;
5429esac
5430    DUMPBIN=$ac_ct_DUMPBIN
5431  fi
5432fi
5433
5434    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5435    *COFF*)
5436      DUMPBIN="$DUMPBIN -symbols -headers"
5437      ;;
5438    *)
5439      DUMPBIN=:
5440      ;;
5441    esac
5442  fi
5443
5444  if test : != "$DUMPBIN"; then
5445    NM=$DUMPBIN
5446  fi
5447fi
5448test -z "$NM" && NM=nm
5449
5450
5451
5452
5453
5454
5455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5456$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5457if ${lt_cv_nm_interface+:} false; then :
5458  $as_echo_n "(cached) " >&6
5459else
5460  lt_cv_nm_interface="BSD nm"
5461  echo "int some_variable = 0;" > conftest.$ac_ext
5462  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5463  (eval "$ac_compile" 2>conftest.err)
5464  cat conftest.err >&5
5465  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5466  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5467  cat conftest.err >&5
5468  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5469  cat conftest.out >&5
5470  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5471    lt_cv_nm_interface="MS dumpbin"
5472  fi
5473  rm -f conftest*
5474fi
5475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5476$as_echo "$lt_cv_nm_interface" >&6; }
5477
5478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5479$as_echo_n "checking whether ln -s works... " >&6; }
5480LN_S=$as_ln_s
5481if test "$LN_S" = "ln -s"; then
5482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5483$as_echo "yes" >&6; }
5484else
5485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5486$as_echo "no, using $LN_S" >&6; }
5487fi
5488
5489# find the maximum length of command line arguments
5490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5491$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5492if ${lt_cv_sys_max_cmd_len+:} false; then :
5493  $as_echo_n "(cached) " >&6
5494else
5495    i=0
5496  teststring=ABCD
5497
5498  case $build_os in
5499  msdosdjgpp*)
5500    # On DJGPP, this test can blow up pretty badly due to problems in libc
5501    # (any single argument exceeding 2000 bytes causes a buffer overrun
5502    # during glob expansion).  Even if it were fixed, the result of this
5503    # check would be larger than it should be.
5504    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5505    ;;
5506
5507  gnu*)
5508    # Under GNU Hurd, this test is not required because there is
5509    # no limit to the length of command line arguments.
5510    # Libtool will interpret -1 as no limit whatsoever
5511    lt_cv_sys_max_cmd_len=-1;
5512    ;;
5513
5514  cygwin* | mingw* | cegcc*)
5515    # On Win9x/ME, this test blows up -- it succeeds, but takes
5516    # about 5 minutes as the teststring grows exponentially.
5517    # Worse, since 9x/ME are not pre-emptively multitasking,
5518    # you end up with a "frozen" computer, even though with patience
5519    # the test eventually succeeds (with a max line length of 256k).
5520    # Instead, let's just punt: use the minimum linelength reported by
5521    # all of the supported platforms: 8192 (on NT/2K/XP).
5522    lt_cv_sys_max_cmd_len=8192;
5523    ;;
5524
5525  mint*)
5526    # On MiNT this can take a long time and run out of memory.
5527    lt_cv_sys_max_cmd_len=8192;
5528    ;;
5529
5530  amigaos*)
5531    # On AmigaOS with pdksh, this test takes hours, literally.
5532    # So we just punt and use a minimum line length of 8192.
5533    lt_cv_sys_max_cmd_len=8192;
5534    ;;
5535
5536  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5537    # This has been around since 386BSD, at least.  Likely further.
5538    if test -x /sbin/sysctl; then
5539      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5540    elif test -x /usr/sbin/sysctl; then
5541      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5542    else
5543      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5544    fi
5545    # And add a safety zone
5546    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5547    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5548    ;;
5549
5550  interix*)
5551    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5552    lt_cv_sys_max_cmd_len=196608
5553    ;;
5554
5555  os2*)
5556    # The test takes a long time on OS/2.
5557    lt_cv_sys_max_cmd_len=8192
5558    ;;
5559
5560  osf*)
5561    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5562    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5563    # nice to cause kernel panics so lets avoid the loop below.
5564    # First set a reasonable default.
5565    lt_cv_sys_max_cmd_len=16384
5566    #
5567    if test -x /sbin/sysconfig; then
5568      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5569        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5570      esac
5571    fi
5572    ;;
5573  sco3.2v5*)
5574    lt_cv_sys_max_cmd_len=102400
5575    ;;
5576  sysv5* | sco5v6* | sysv4.2uw2*)
5577    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5578    if test -n "$kargmax"; then
5579      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5580    else
5581      lt_cv_sys_max_cmd_len=32768
5582    fi
5583    ;;
5584  *)
5585    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5586    if test -n "$lt_cv_sys_max_cmd_len" && \
5587       test undefined != "$lt_cv_sys_max_cmd_len"; then
5588      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5589      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5590    else
5591      # Make teststring a little bigger before we do anything with it.
5592      # a 1K string should be a reasonable start.
5593      for i in 1 2 3 4 5 6 7 8; do
5594        teststring=$teststring$teststring
5595      done
5596      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5597      # If test is not a shell built-in, we'll probably end up computing a
5598      # maximum length that is only half of the actual maximum length, but
5599      # we can't tell.
5600      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5601	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5602	      test 17 != "$i" # 1/2 MB should be enough
5603      do
5604        i=`expr $i + 1`
5605        teststring=$teststring$teststring
5606      done
5607      # Only check the string length outside the loop.
5608      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5609      teststring=
5610      # Add a significant safety factor because C++ compilers can tack on
5611      # massive amounts of additional arguments before passing them to the
5612      # linker.  It appears as though 1/2 is a usable value.
5613      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5614    fi
5615    ;;
5616  esac
5617
5618fi
5619
5620if test -n "$lt_cv_sys_max_cmd_len"; then
5621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5622$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5623else
5624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5625$as_echo "none" >&6; }
5626fi
5627max_cmd_len=$lt_cv_sys_max_cmd_len
5628
5629
5630
5631
5632
5633
5634: ${CP="cp -f"}
5635: ${MV="mv -f"}
5636: ${RM="rm -f"}
5637
5638if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5639  lt_unset=unset
5640else
5641  lt_unset=false
5642fi
5643
5644
5645
5646
5647
5648# test EBCDIC or ASCII
5649case `echo X|tr X '\101'` in
5650 A) # ASCII based system
5651    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5652  lt_SP2NL='tr \040 \012'
5653  lt_NL2SP='tr \015\012 \040\040'
5654  ;;
5655 *) # EBCDIC based system
5656  lt_SP2NL='tr \100 \n'
5657  lt_NL2SP='tr \r\n \100\100'
5658  ;;
5659esac
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5670$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5671if ${lt_cv_to_host_file_cmd+:} false; then :
5672  $as_echo_n "(cached) " >&6
5673else
5674  case $host in
5675  *-*-mingw* )
5676    case $build in
5677      *-*-mingw* ) # actually msys
5678        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5679        ;;
5680      *-*-cygwin* )
5681        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5682        ;;
5683      * ) # otherwise, assume *nix
5684        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5685        ;;
5686    esac
5687    ;;
5688  *-*-cygwin* )
5689    case $build in
5690      *-*-mingw* ) # actually msys
5691        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5692        ;;
5693      *-*-cygwin* )
5694        lt_cv_to_host_file_cmd=func_convert_file_noop
5695        ;;
5696      * ) # otherwise, assume *nix
5697        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5698        ;;
5699    esac
5700    ;;
5701  * ) # unhandled hosts (and "normal" native builds)
5702    lt_cv_to_host_file_cmd=func_convert_file_noop
5703    ;;
5704esac
5705
5706fi
5707
5708to_host_file_cmd=$lt_cv_to_host_file_cmd
5709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5710$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5711
5712
5713
5714
5715
5716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5717$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5718if ${lt_cv_to_tool_file_cmd+:} false; then :
5719  $as_echo_n "(cached) " >&6
5720else
5721  #assume ordinary cross tools, or native build.
5722lt_cv_to_tool_file_cmd=func_convert_file_noop
5723case $host in
5724  *-*-mingw* )
5725    case $build in
5726      *-*-mingw* ) # actually msys
5727        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5728        ;;
5729    esac
5730    ;;
5731esac
5732
5733fi
5734
5735to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5737$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5738
5739
5740
5741
5742
5743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5744$as_echo_n "checking for $LD option to reload object files... " >&6; }
5745if ${lt_cv_ld_reload_flag+:} false; then :
5746  $as_echo_n "(cached) " >&6
5747else
5748  lt_cv_ld_reload_flag='-r'
5749fi
5750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5751$as_echo "$lt_cv_ld_reload_flag" >&6; }
5752reload_flag=$lt_cv_ld_reload_flag
5753case $reload_flag in
5754"" | " "*) ;;
5755*) reload_flag=" $reload_flag" ;;
5756esac
5757reload_cmds='$LD$reload_flag -o $output$reload_objs'
5758case $host_os in
5759  cygwin* | mingw* | pw32* | cegcc*)
5760    if test yes != "$GCC"; then
5761      reload_cmds=false
5762    fi
5763    ;;
5764  darwin*)
5765    if test yes = "$GCC"; then
5766      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5767    else
5768      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5769    fi
5770    ;;
5771esac
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781if test -n "$ac_tool_prefix"; then
5782  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5783set dummy ${ac_tool_prefix}objdump; ac_word=$2
5784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785$as_echo_n "checking for $ac_word... " >&6; }
5786if ${ac_cv_prog_OBJDUMP+:} false; then :
5787  $as_echo_n "(cached) " >&6
5788else
5789  if test -n "$OBJDUMP"; then
5790  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5791else
5792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793for as_dir in $PATH
5794do
5795  IFS=$as_save_IFS
5796  test -z "$as_dir" && as_dir=.
5797    for ac_exec_ext in '' $ac_executable_extensions; do
5798  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5799    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801    break 2
5802  fi
5803done
5804  done
5805IFS=$as_save_IFS
5806
5807fi
5808fi
5809OBJDUMP=$ac_cv_prog_OBJDUMP
5810if test -n "$OBJDUMP"; then
5811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5812$as_echo "$OBJDUMP" >&6; }
5813else
5814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5815$as_echo "no" >&6; }
5816fi
5817
5818
5819fi
5820if test -z "$ac_cv_prog_OBJDUMP"; then
5821  ac_ct_OBJDUMP=$OBJDUMP
5822  # Extract the first word of "objdump", so it can be a program name with args.
5823set dummy objdump; ac_word=$2
5824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825$as_echo_n "checking for $ac_word... " >&6; }
5826if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5827  $as_echo_n "(cached) " >&6
5828else
5829  if test -n "$ac_ct_OBJDUMP"; then
5830  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5831else
5832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833for as_dir in $PATH
5834do
5835  IFS=$as_save_IFS
5836  test -z "$as_dir" && as_dir=.
5837    for ac_exec_ext in '' $ac_executable_extensions; do
5838  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841    break 2
5842  fi
5843done
5844  done
5845IFS=$as_save_IFS
5846
5847fi
5848fi
5849ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5850if test -n "$ac_ct_OBJDUMP"; then
5851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5852$as_echo "$ac_ct_OBJDUMP" >&6; }
5853else
5854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855$as_echo "no" >&6; }
5856fi
5857
5858  if test "x$ac_ct_OBJDUMP" = x; then
5859    OBJDUMP="false"
5860  else
5861    case $cross_compiling:$ac_tool_warned in
5862yes:)
5863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5865ac_tool_warned=yes ;;
5866esac
5867    OBJDUMP=$ac_ct_OBJDUMP
5868  fi
5869else
5870  OBJDUMP="$ac_cv_prog_OBJDUMP"
5871fi
5872
5873test -z "$OBJDUMP" && OBJDUMP=objdump
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5884$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5885if ${lt_cv_deplibs_check_method+:} false; then :
5886  $as_echo_n "(cached) " >&6
5887else
5888  lt_cv_file_magic_cmd='$MAGIC_CMD'
5889lt_cv_file_magic_test_file=
5890lt_cv_deplibs_check_method='unknown'
5891# Need to set the preceding variable on all platforms that support
5892# interlibrary dependencies.
5893# 'none' -- dependencies not supported.
5894# 'unknown' -- same as none, but documents that we really don't know.
5895# 'pass_all' -- all dependencies passed with no checks.
5896# 'test_compile' -- check by making test program.
5897# 'file_magic [[regex]]' -- check by looking for files in library path
5898# that responds to the $file_magic_cmd with a given extended regex.
5899# If you have 'file' or equivalent on your system and you're not sure
5900# whether 'pass_all' will *always* work, you probably want this one.
5901
5902case $host_os in
5903aix[4-9]*)
5904  lt_cv_deplibs_check_method=pass_all
5905  ;;
5906
5907beos*)
5908  lt_cv_deplibs_check_method=pass_all
5909  ;;
5910
5911bsdi[45]*)
5912  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5913  lt_cv_file_magic_cmd='/usr/bin/file -L'
5914  lt_cv_file_magic_test_file=/shlib/libc.so
5915  ;;
5916
5917cygwin*)
5918  # func_win32_libid is a shell function defined in ltmain.sh
5919  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5920  lt_cv_file_magic_cmd='func_win32_libid'
5921  ;;
5922
5923mingw* | pw32*)
5924  # Base MSYS/MinGW do not provide the 'file' command needed by
5925  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5926  # unless we find 'file', for example because we are cross-compiling.
5927  if ( file / ) >/dev/null 2>&1; then
5928    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5929    lt_cv_file_magic_cmd='func_win32_libid'
5930  else
5931    # Keep this pattern in sync with the one in func_win32_libid.
5932    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5933    lt_cv_file_magic_cmd='$OBJDUMP -f'
5934  fi
5935  ;;
5936
5937cegcc*)
5938  # use the weaker test based on 'objdump'. See mingw*.
5939  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5940  lt_cv_file_magic_cmd='$OBJDUMP -f'
5941  ;;
5942
5943darwin* | rhapsody*)
5944  lt_cv_deplibs_check_method=pass_all
5945  ;;
5946
5947freebsd* | dragonfly*)
5948  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5949    case $host_cpu in
5950    i*86 )
5951      # Not sure whether the presence of OpenBSD here was a mistake.
5952      # Let's accept both of them until this is cleared up.
5953      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5954      lt_cv_file_magic_cmd=/usr/bin/file
5955      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5956      ;;
5957    esac
5958  else
5959    lt_cv_deplibs_check_method=pass_all
5960  fi
5961  ;;
5962
5963haiku*)
5964  lt_cv_deplibs_check_method=pass_all
5965  ;;
5966
5967hpux10.20* | hpux11*)
5968  lt_cv_file_magic_cmd=/usr/bin/file
5969  case $host_cpu in
5970  ia64*)
5971    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5972    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5973    ;;
5974  hppa*64*)
5975    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]'
5976    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5977    ;;
5978  *)
5979    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5980    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5981    ;;
5982  esac
5983  ;;
5984
5985interix[3-9]*)
5986  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5987  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5988  ;;
5989
5990irix5* | irix6* | nonstopux*)
5991  case $LD in
5992  *-32|*"-32 ") libmagic=32-bit;;
5993  *-n32|*"-n32 ") libmagic=N32;;
5994  *-64|*"-64 ") libmagic=64-bit;;
5995  *) libmagic=never-match;;
5996  esac
5997  lt_cv_deplibs_check_method=pass_all
5998  ;;
5999
6000# This must be glibc/ELF.
6001linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6002  lt_cv_deplibs_check_method=pass_all
6003  ;;
6004
6005netbsd* | netbsdelf*-gnu)
6006  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6007    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6008  else
6009    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6010  fi
6011  ;;
6012
6013newos6*)
6014  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6015  lt_cv_file_magic_cmd=/usr/bin/file
6016  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6017  ;;
6018
6019*nto* | *qnx*)
6020  lt_cv_deplibs_check_method=pass_all
6021  ;;
6022
6023openbsd* | bitrig*)
6024  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6025    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6026  else
6027    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6028  fi
6029  ;;
6030
6031osf3* | osf4* | osf5*)
6032  lt_cv_deplibs_check_method=pass_all
6033  ;;
6034
6035rdos*)
6036  lt_cv_deplibs_check_method=pass_all
6037  ;;
6038
6039solaris*)
6040  lt_cv_deplibs_check_method=pass_all
6041  ;;
6042
6043sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6044  lt_cv_deplibs_check_method=pass_all
6045  ;;
6046
6047sysv4 | sysv4.3*)
6048  case $host_vendor in
6049  motorola)
6050    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]'
6051    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6052    ;;
6053  ncr)
6054    lt_cv_deplibs_check_method=pass_all
6055    ;;
6056  sequent)
6057    lt_cv_file_magic_cmd='/bin/file'
6058    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6059    ;;
6060  sni)
6061    lt_cv_file_magic_cmd='/bin/file'
6062    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6063    lt_cv_file_magic_test_file=/lib/libc.so
6064    ;;
6065  siemens)
6066    lt_cv_deplibs_check_method=pass_all
6067    ;;
6068  pc)
6069    lt_cv_deplibs_check_method=pass_all
6070    ;;
6071  esac
6072  ;;
6073
6074tpf*)
6075  lt_cv_deplibs_check_method=pass_all
6076  ;;
6077os2*)
6078  lt_cv_deplibs_check_method=pass_all
6079  ;;
6080esac
6081
6082fi
6083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6084$as_echo "$lt_cv_deplibs_check_method" >&6; }
6085
6086file_magic_glob=
6087want_nocaseglob=no
6088if test "$build" = "$host"; then
6089  case $host_os in
6090  mingw* | pw32*)
6091    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6092      want_nocaseglob=yes
6093    else
6094      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6095    fi
6096    ;;
6097  esac
6098fi
6099
6100file_magic_cmd=$lt_cv_file_magic_cmd
6101deplibs_check_method=$lt_cv_deplibs_check_method
6102test -z "$deplibs_check_method" && deplibs_check_method=unknown
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125if test -n "$ac_tool_prefix"; then
6126  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6127set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129$as_echo_n "checking for $ac_word... " >&6; }
6130if ${ac_cv_prog_DLLTOOL+:} false; then :
6131  $as_echo_n "(cached) " >&6
6132else
6133  if test -n "$DLLTOOL"; then
6134  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6135else
6136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137for as_dir in $PATH
6138do
6139  IFS=$as_save_IFS
6140  test -z "$as_dir" && as_dir=.
6141    for ac_exec_ext in '' $ac_executable_extensions; do
6142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6143    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145    break 2
6146  fi
6147done
6148  done
6149IFS=$as_save_IFS
6150
6151fi
6152fi
6153DLLTOOL=$ac_cv_prog_DLLTOOL
6154if test -n "$DLLTOOL"; then
6155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6156$as_echo "$DLLTOOL" >&6; }
6157else
6158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159$as_echo "no" >&6; }
6160fi
6161
6162
6163fi
6164if test -z "$ac_cv_prog_DLLTOOL"; then
6165  ac_ct_DLLTOOL=$DLLTOOL
6166  # Extract the first word of "dlltool", so it can be a program name with args.
6167set dummy dlltool; ac_word=$2
6168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169$as_echo_n "checking for $ac_word... " >&6; }
6170if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6171  $as_echo_n "(cached) " >&6
6172else
6173  if test -n "$ac_ct_DLLTOOL"; then
6174  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6175else
6176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177for as_dir in $PATH
6178do
6179  IFS=$as_save_IFS
6180  test -z "$as_dir" && as_dir=.
6181    for ac_exec_ext in '' $ac_executable_extensions; do
6182  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185    break 2
6186  fi
6187done
6188  done
6189IFS=$as_save_IFS
6190
6191fi
6192fi
6193ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6194if test -n "$ac_ct_DLLTOOL"; then
6195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6196$as_echo "$ac_ct_DLLTOOL" >&6; }
6197else
6198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199$as_echo "no" >&6; }
6200fi
6201
6202  if test "x$ac_ct_DLLTOOL" = x; then
6203    DLLTOOL="false"
6204  else
6205    case $cross_compiling:$ac_tool_warned in
6206yes:)
6207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6209ac_tool_warned=yes ;;
6210esac
6211    DLLTOOL=$ac_ct_DLLTOOL
6212  fi
6213else
6214  DLLTOOL="$ac_cv_prog_DLLTOOL"
6215fi
6216
6217test -z "$DLLTOOL" && DLLTOOL=dlltool
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6229$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6230if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6231  $as_echo_n "(cached) " >&6
6232else
6233  lt_cv_sharedlib_from_linklib_cmd='unknown'
6234
6235case $host_os in
6236cygwin* | mingw* | pw32* | cegcc*)
6237  # two different shell functions defined in ltmain.sh;
6238  # decide which one to use based on capabilities of $DLLTOOL
6239  case `$DLLTOOL --help 2>&1` in
6240  *--identify-strict*)
6241    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6242    ;;
6243  *)
6244    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6245    ;;
6246  esac
6247  ;;
6248*)
6249  # fallback: assume linklib IS sharedlib
6250  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6251  ;;
6252esac
6253
6254fi
6255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6256$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6257sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6258test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6259
6260
6261
6262
6263
6264
6265
6266
6267if test -n "$ac_tool_prefix"; then
6268  for ac_prog in ar
6269  do
6270    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6271set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273$as_echo_n "checking for $ac_word... " >&6; }
6274if ${ac_cv_prog_AR+:} false; then :
6275  $as_echo_n "(cached) " >&6
6276else
6277  if test -n "$AR"; then
6278  ac_cv_prog_AR="$AR" # Let the user override the test.
6279else
6280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281for as_dir in $PATH
6282do
6283  IFS=$as_save_IFS
6284  test -z "$as_dir" && as_dir=.
6285    for ac_exec_ext in '' $ac_executable_extensions; do
6286  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289    break 2
6290  fi
6291done
6292  done
6293IFS=$as_save_IFS
6294
6295fi
6296fi
6297AR=$ac_cv_prog_AR
6298if test -n "$AR"; then
6299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6300$as_echo "$AR" >&6; }
6301else
6302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303$as_echo "no" >&6; }
6304fi
6305
6306
6307    test -n "$AR" && break
6308  done
6309fi
6310if test -z "$AR"; then
6311  ac_ct_AR=$AR
6312  for ac_prog in ar
6313do
6314  # Extract the first word of "$ac_prog", so it can be a program name with args.
6315set dummy $ac_prog; ac_word=$2
6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317$as_echo_n "checking for $ac_word... " >&6; }
6318if ${ac_cv_prog_ac_ct_AR+:} false; then :
6319  $as_echo_n "(cached) " >&6
6320else
6321  if test -n "$ac_ct_AR"; then
6322  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6323else
6324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325for as_dir in $PATH
6326do
6327  IFS=$as_save_IFS
6328  test -z "$as_dir" && as_dir=.
6329    for ac_exec_ext in '' $ac_executable_extensions; do
6330  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331    ac_cv_prog_ac_ct_AR="$ac_prog"
6332    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333    break 2
6334  fi
6335done
6336  done
6337IFS=$as_save_IFS
6338
6339fi
6340fi
6341ac_ct_AR=$ac_cv_prog_ac_ct_AR
6342if test -n "$ac_ct_AR"; then
6343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6344$as_echo "$ac_ct_AR" >&6; }
6345else
6346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347$as_echo "no" >&6; }
6348fi
6349
6350
6351  test -n "$ac_ct_AR" && break
6352done
6353
6354  if test "x$ac_ct_AR" = x; then
6355    AR="false"
6356  else
6357    case $cross_compiling:$ac_tool_warned in
6358yes:)
6359{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6360$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6361ac_tool_warned=yes ;;
6362esac
6363    AR=$ac_ct_AR
6364  fi
6365fi
6366
6367: ${AR=ar}
6368: ${AR_FLAGS=cr}
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6381$as_echo_n "checking for archiver @FILE support... " >&6; }
6382if ${lt_cv_ar_at_file+:} false; then :
6383  $as_echo_n "(cached) " >&6
6384else
6385  lt_cv_ar_at_file=no
6386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387/* end confdefs.h.  */
6388
6389int
6390main ()
6391{
6392
6393  ;
6394  return 0;
6395}
6396_ACEOF
6397if ac_fn_c_try_compile "$LINENO"; then :
6398  echo conftest.$ac_objext > conftest.lst
6399      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6400      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6401  (eval $lt_ar_try) 2>&5
6402  ac_status=$?
6403  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6404  test $ac_status = 0; }
6405      if test 0 -eq "$ac_status"; then
6406	# Ensure the archiver fails upon bogus file names.
6407	rm -f conftest.$ac_objext libconftest.a
6408	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6409  (eval $lt_ar_try) 2>&5
6410  ac_status=$?
6411  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6412  test $ac_status = 0; }
6413	if test 0 -ne "$ac_status"; then
6414          lt_cv_ar_at_file=@
6415        fi
6416      fi
6417      rm -f conftest.* libconftest.a
6418
6419fi
6420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421
6422fi
6423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6424$as_echo "$lt_cv_ar_at_file" >&6; }
6425
6426if test no = "$lt_cv_ar_at_file"; then
6427  archiver_list_spec=
6428else
6429  archiver_list_spec=$lt_cv_ar_at_file
6430fi
6431
6432
6433
6434
6435
6436
6437
6438if test -n "$ac_tool_prefix"; then
6439  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6440set dummy ${ac_tool_prefix}strip; ac_word=$2
6441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442$as_echo_n "checking for $ac_word... " >&6; }
6443if ${ac_cv_prog_STRIP+:} false; then :
6444  $as_echo_n "(cached) " >&6
6445else
6446  if test -n "$STRIP"; then
6447  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6448else
6449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450for as_dir in $PATH
6451do
6452  IFS=$as_save_IFS
6453  test -z "$as_dir" && as_dir=.
6454    for ac_exec_ext in '' $ac_executable_extensions; do
6455  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458    break 2
6459  fi
6460done
6461  done
6462IFS=$as_save_IFS
6463
6464fi
6465fi
6466STRIP=$ac_cv_prog_STRIP
6467if test -n "$STRIP"; then
6468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6469$as_echo "$STRIP" >&6; }
6470else
6471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472$as_echo "no" >&6; }
6473fi
6474
6475
6476fi
6477if test -z "$ac_cv_prog_STRIP"; then
6478  ac_ct_STRIP=$STRIP
6479  # Extract the first word of "strip", so it can be a program name with args.
6480set dummy strip; ac_word=$2
6481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482$as_echo_n "checking for $ac_word... " >&6; }
6483if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6484  $as_echo_n "(cached) " >&6
6485else
6486  if test -n "$ac_ct_STRIP"; then
6487  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6488else
6489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490for as_dir in $PATH
6491do
6492  IFS=$as_save_IFS
6493  test -z "$as_dir" && as_dir=.
6494    for ac_exec_ext in '' $ac_executable_extensions; do
6495  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496    ac_cv_prog_ac_ct_STRIP="strip"
6497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498    break 2
6499  fi
6500done
6501  done
6502IFS=$as_save_IFS
6503
6504fi
6505fi
6506ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6507if test -n "$ac_ct_STRIP"; then
6508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6509$as_echo "$ac_ct_STRIP" >&6; }
6510else
6511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512$as_echo "no" >&6; }
6513fi
6514
6515  if test "x$ac_ct_STRIP" = x; then
6516    STRIP=":"
6517  else
6518    case $cross_compiling:$ac_tool_warned in
6519yes:)
6520{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522ac_tool_warned=yes ;;
6523esac
6524    STRIP=$ac_ct_STRIP
6525  fi
6526else
6527  STRIP="$ac_cv_prog_STRIP"
6528fi
6529
6530test -z "$STRIP" && STRIP=:
6531
6532
6533
6534
6535
6536
6537if test -n "$ac_tool_prefix"; then
6538  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6539set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541$as_echo_n "checking for $ac_word... " >&6; }
6542if ${ac_cv_prog_RANLIB+:} false; then :
6543  $as_echo_n "(cached) " >&6
6544else
6545  if test -n "$RANLIB"; then
6546  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6547else
6548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549for as_dir in $PATH
6550do
6551  IFS=$as_save_IFS
6552  test -z "$as_dir" && as_dir=.
6553    for ac_exec_ext in '' $ac_executable_extensions; do
6554  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6555    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557    break 2
6558  fi
6559done
6560  done
6561IFS=$as_save_IFS
6562
6563fi
6564fi
6565RANLIB=$ac_cv_prog_RANLIB
6566if test -n "$RANLIB"; then
6567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6568$as_echo "$RANLIB" >&6; }
6569else
6570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571$as_echo "no" >&6; }
6572fi
6573
6574
6575fi
6576if test -z "$ac_cv_prog_RANLIB"; then
6577  ac_ct_RANLIB=$RANLIB
6578  # Extract the first word of "ranlib", so it can be a program name with args.
6579set dummy ranlib; ac_word=$2
6580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581$as_echo_n "checking for $ac_word... " >&6; }
6582if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6583  $as_echo_n "(cached) " >&6
6584else
6585  if test -n "$ac_ct_RANLIB"; then
6586  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6587else
6588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589for as_dir in $PATH
6590do
6591  IFS=$as_save_IFS
6592  test -z "$as_dir" && as_dir=.
6593    for ac_exec_ext in '' $ac_executable_extensions; do
6594  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595    ac_cv_prog_ac_ct_RANLIB="ranlib"
6596    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597    break 2
6598  fi
6599done
6600  done
6601IFS=$as_save_IFS
6602
6603fi
6604fi
6605ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6606if test -n "$ac_ct_RANLIB"; then
6607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6608$as_echo "$ac_ct_RANLIB" >&6; }
6609else
6610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611$as_echo "no" >&6; }
6612fi
6613
6614  if test "x$ac_ct_RANLIB" = x; then
6615    RANLIB=":"
6616  else
6617    case $cross_compiling:$ac_tool_warned in
6618yes:)
6619{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6620$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621ac_tool_warned=yes ;;
6622esac
6623    RANLIB=$ac_ct_RANLIB
6624  fi
6625else
6626  RANLIB="$ac_cv_prog_RANLIB"
6627fi
6628
6629test -z "$RANLIB" && RANLIB=:
6630
6631
6632
6633
6634
6635
6636# Determine commands to create old-style static archives.
6637old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6638old_postinstall_cmds='chmod 644 $oldlib'
6639old_postuninstall_cmds=
6640
6641if test -n "$RANLIB"; then
6642  case $host_os in
6643  bitrig* | openbsd*)
6644    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6645    ;;
6646  *)
6647    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6648    ;;
6649  esac
6650  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6651fi
6652
6653case $host_os in
6654  darwin*)
6655    lock_old_archive_extraction=yes ;;
6656  *)
6657    lock_old_archive_extraction=no ;;
6658esac
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698# If no C compiler was specified, use CC.
6699LTCC=${LTCC-"$CC"}
6700
6701# If no C compiler flags were specified, use CFLAGS.
6702LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6703
6704# Allow CC to be a program name with arguments.
6705compiler=$CC
6706
6707
6708# Check for command to grab the raw symbol name followed by C symbol from nm.
6709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6710$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6711if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6712  $as_echo_n "(cached) " >&6
6713else
6714
6715# These are sane defaults that work on at least a few old systems.
6716# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6717
6718# Character class describing NM global symbol codes.
6719symcode='[BCDEGRST]'
6720
6721# Regexp to match symbols that can be accessed directly from C.
6722sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6723
6724# Define system-specific variables.
6725case $host_os in
6726aix*)
6727  symcode='[BCDT]'
6728  ;;
6729cygwin* | mingw* | pw32* | cegcc*)
6730  symcode='[ABCDGISTW]'
6731  ;;
6732hpux*)
6733  if test ia64 = "$host_cpu"; then
6734    symcode='[ABCDEGRST]'
6735  fi
6736  ;;
6737irix* | nonstopux*)
6738  symcode='[BCDEGRST]'
6739  ;;
6740osf*)
6741  symcode='[BCDEGQRST]'
6742  ;;
6743solaris*)
6744  symcode='[BDRT]'
6745  ;;
6746sco3.2v5*)
6747  symcode='[DT]'
6748  ;;
6749sysv4.2uw2*)
6750  symcode='[DT]'
6751  ;;
6752sysv5* | sco5v6* | unixware* | OpenUNIX*)
6753  symcode='[ABDT]'
6754  ;;
6755sysv4)
6756  symcode='[DFNSTU]'
6757  ;;
6758esac
6759
6760# If we're using GNU nm, then use its standard symbol codes.
6761case `$NM -V 2>&1` in
6762*GNU* | *'with BFD'*)
6763  symcode='[ABCDGIRSTW]' ;;
6764esac
6765
6766if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6767  # Gets list of data symbols to import.
6768  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6769  # Adjust the below global symbol transforms to fixup imported variables.
6770  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6771  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6772  lt_c_name_lib_hook="\
6773  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6774  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6775else
6776  # Disable hooks by default.
6777  lt_cv_sys_global_symbol_to_import=
6778  lt_cdecl_hook=
6779  lt_c_name_hook=
6780  lt_c_name_lib_hook=
6781fi
6782
6783# Transform an extracted symbol line into a proper C declaration.
6784# Some systems (esp. on ia64) link data and code symbols differently,
6785# so use this general approach.
6786lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6787$lt_cdecl_hook\
6788" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6789" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6790
6791# Transform an extracted symbol line into symbol name and symbol address
6792lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6793$lt_c_name_hook\
6794" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6795" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6796
6797# Transform an extracted symbol line into symbol name with lib prefix and
6798# symbol address.
6799lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6800$lt_c_name_lib_hook\
6801" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6802" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6803" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6804
6805# Handle CRLF in mingw tool chain
6806opt_cr=
6807case $build_os in
6808mingw*)
6809  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6810  ;;
6811esac
6812
6813# Try without a prefix underscore, then with it.
6814for ac_symprfx in "" "_"; do
6815
6816  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6817  symxfrm="\\1 $ac_symprfx\\2 \\2"
6818
6819  # Write the raw and C identifiers.
6820  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6821    # Fake it for dumpbin and say T for any non-static function,
6822    # D for any global variable and I for any imported variable.
6823    # Also find C++ and __fastcall symbols from MSVC++,
6824    # which start with @ or ?.
6825    lt_cv_sys_global_symbol_pipe="$AWK '"\
6826"     {last_section=section; section=\$ 3};"\
6827"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6828"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6829"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6830"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6831"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6832"     \$ 0!~/External *\|/{next};"\
6833"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6834"     {if(hide[section]) next};"\
6835"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6836"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6837"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6838"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6839"     ' prfx=^$ac_symprfx"
6840  else
6841    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6842  fi
6843  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6844
6845  # Check to see that the pipe works correctly.
6846  pipe_works=no
6847
6848  rm -f conftest*
6849  cat > conftest.$ac_ext <<_LT_EOF
6850#ifdef __cplusplus
6851extern "C" {
6852#endif
6853char nm_test_var;
6854void nm_test_func(void);
6855void nm_test_func(void){}
6856#ifdef __cplusplus
6857}
6858#endif
6859int main(){nm_test_var='a';nm_test_func();return(0);}
6860_LT_EOF
6861
6862  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6863  (eval $ac_compile) 2>&5
6864  ac_status=$?
6865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6866  test $ac_status = 0; }; then
6867    # Now try to grab the symbols.
6868    nlist=conftest.nm
6869    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6870    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6871      # Try sorting and uniquifying the output.
6872      if sort "$nlist" | uniq > "$nlist"T; then
6873	mv -f "$nlist"T "$nlist"
6874      else
6875	rm -f "$nlist"T
6876      fi
6877
6878      # Make sure that we snagged all the symbols we need.
6879      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6880	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6881	  cat <<_LT_EOF > conftest.$ac_ext
6882/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6883#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6884/* DATA imports from DLLs on WIN32 can't be const, because runtime
6885   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6886# define LT_DLSYM_CONST
6887#elif defined __osf__
6888/* This system does not cope well with relocations in const data.  */
6889# define LT_DLSYM_CONST
6890#else
6891# define LT_DLSYM_CONST const
6892#endif
6893
6894#ifdef __cplusplus
6895extern "C" {
6896#endif
6897
6898_LT_EOF
6899	  # Now generate the symbol file.
6900	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6901
6902	  cat <<_LT_EOF >> conftest.$ac_ext
6903
6904/* The mapping between symbol names and symbols.  */
6905LT_DLSYM_CONST struct {
6906  const char *name;
6907  void       *address;
6908}
6909lt__PROGRAM__LTX_preloaded_symbols[] =
6910{
6911  { "@PROGRAM@", (void *) 0 },
6912_LT_EOF
6913	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6914	  cat <<\_LT_EOF >> conftest.$ac_ext
6915  {0, (void *) 0}
6916};
6917
6918/* This works around a problem in FreeBSD linker */
6919#ifdef FREEBSD_WORKAROUND
6920static const void *lt_preloaded_setup() {
6921  return lt__PROGRAM__LTX_preloaded_symbols;
6922}
6923#endif
6924
6925#ifdef __cplusplus
6926}
6927#endif
6928_LT_EOF
6929	  # Now try linking the two files.
6930	  mv conftest.$ac_objext conftstm.$ac_objext
6931	  lt_globsym_save_LIBS=$LIBS
6932	  lt_globsym_save_CFLAGS=$CFLAGS
6933	  LIBS=conftstm.$ac_objext
6934	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6935	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6936  (eval $ac_link) 2>&5
6937  ac_status=$?
6938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6940	    pipe_works=yes
6941	  fi
6942	  LIBS=$lt_globsym_save_LIBS
6943	  CFLAGS=$lt_globsym_save_CFLAGS
6944	else
6945	  echo "cannot find nm_test_func in $nlist" >&5
6946	fi
6947      else
6948	echo "cannot find nm_test_var in $nlist" >&5
6949      fi
6950    else
6951      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6952    fi
6953  else
6954    echo "$progname: failed program was:" >&5
6955    cat conftest.$ac_ext >&5
6956  fi
6957  rm -rf conftest* conftst*
6958
6959  # Do not use the global_symbol_pipe unless it works.
6960  if test yes = "$pipe_works"; then
6961    break
6962  else
6963    lt_cv_sys_global_symbol_pipe=
6964  fi
6965done
6966
6967fi
6968
6969if test -z "$lt_cv_sys_global_symbol_pipe"; then
6970  lt_cv_sys_global_symbol_to_cdecl=
6971fi
6972if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6974$as_echo "failed" >&6; }
6975else
6976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6977$as_echo "ok" >&6; }
6978fi
6979
6980# Response file support.
6981if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6982  nm_file_list_spec='@'
6983elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6984  nm_file_list_spec='@'
6985fi
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7024$as_echo_n "checking for sysroot... " >&6; }
7025
7026# Check whether --with-sysroot was given.
7027if test "${with_sysroot+set}" = set; then :
7028  withval=$with_sysroot;
7029else
7030  with_sysroot=no
7031fi
7032
7033
7034lt_sysroot=
7035case $with_sysroot in #(
7036 yes)
7037   if test yes = "$GCC"; then
7038     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7039   fi
7040   ;; #(
7041 /*)
7042   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7043   ;; #(
7044 no|'')
7045   ;; #(
7046 *)
7047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7048$as_echo "$with_sysroot" >&6; }
7049   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7050   ;;
7051esac
7052
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7054$as_echo "${lt_sysroot:-no}" >&6; }
7055
7056
7057
7058
7059
7060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7061$as_echo_n "checking for a working dd... " >&6; }
7062if ${ac_cv_path_lt_DD+:} false; then :
7063  $as_echo_n "(cached) " >&6
7064else
7065  printf 0123456789abcdef0123456789abcdef >conftest.i
7066cat conftest.i conftest.i >conftest2.i
7067: ${lt_DD:=$DD}
7068if test -z "$lt_DD"; then
7069  ac_path_lt_DD_found=false
7070  # Loop through the user's path and test for each of PROGNAME-LIST
7071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072for as_dir in $PATH
7073do
7074  IFS=$as_save_IFS
7075  test -z "$as_dir" && as_dir=.
7076    for ac_prog in dd; do
7077    for ac_exec_ext in '' $ac_executable_extensions; do
7078      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7079      as_fn_executable_p "$ac_path_lt_DD" || continue
7080if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7081  cmp -s conftest.i conftest.out \
7082  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7083fi
7084      $ac_path_lt_DD_found && break 3
7085    done
7086  done
7087  done
7088IFS=$as_save_IFS
7089  if test -z "$ac_cv_path_lt_DD"; then
7090    :
7091  fi
7092else
7093  ac_cv_path_lt_DD=$lt_DD
7094fi
7095
7096rm -f conftest.i conftest2.i conftest.out
7097fi
7098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7099$as_echo "$ac_cv_path_lt_DD" >&6; }
7100
7101
7102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7103$as_echo_n "checking how to truncate binary pipes... " >&6; }
7104if ${lt_cv_truncate_bin+:} false; then :
7105  $as_echo_n "(cached) " >&6
7106else
7107  printf 0123456789abcdef0123456789abcdef >conftest.i
7108cat conftest.i conftest.i >conftest2.i
7109lt_cv_truncate_bin=
7110if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7111  cmp -s conftest.i conftest.out \
7112  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7113fi
7114rm -f conftest.i conftest2.i conftest.out
7115test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7116fi
7117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7118$as_echo "$lt_cv_truncate_bin" >&6; }
7119
7120
7121
7122
7123
7124
7125
7126# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7127func_cc_basename ()
7128{
7129    for cc_temp in $*""; do
7130      case $cc_temp in
7131        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7132        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7133        \-*) ;;
7134        *) break;;
7135      esac
7136    done
7137    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7138}
7139
7140# Check whether --enable-libtool-lock was given.
7141if test "${enable_libtool_lock+set}" = set; then :
7142  enableval=$enable_libtool_lock;
7143fi
7144
7145test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7146
7147# Some flags need to be propagated to the compiler or linker for good
7148# libtool support.
7149case $host in
7150ia64-*-hpux*)
7151  # Find out what ABI is being produced by ac_compile, and set mode
7152  # options accordingly.
7153  echo 'int i;' > conftest.$ac_ext
7154  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7155  (eval $ac_compile) 2>&5
7156  ac_status=$?
7157  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158  test $ac_status = 0; }; then
7159    case `/usr/bin/file conftest.$ac_objext` in
7160      *ELF-32*)
7161	HPUX_IA64_MODE=32
7162	;;
7163      *ELF-64*)
7164	HPUX_IA64_MODE=64
7165	;;
7166    esac
7167  fi
7168  rm -rf conftest*
7169  ;;
7170*-*-irix6*)
7171  # Find out what ABI is being produced by ac_compile, and set linker
7172  # options accordingly.
7173  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7174  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7175  (eval $ac_compile) 2>&5
7176  ac_status=$?
7177  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7178  test $ac_status = 0; }; then
7179    if test yes = "$lt_cv_prog_gnu_ld"; then
7180      case `/usr/bin/file conftest.$ac_objext` in
7181	*32-bit*)
7182	  LD="${LD-ld} -melf32bsmip"
7183	  ;;
7184	*N32*)
7185	  LD="${LD-ld} -melf32bmipn32"
7186	  ;;
7187	*64-bit*)
7188	  LD="${LD-ld} -melf64bmip"
7189	;;
7190      esac
7191    else
7192      case `/usr/bin/file conftest.$ac_objext` in
7193	*32-bit*)
7194	  LD="${LD-ld} -32"
7195	  ;;
7196	*N32*)
7197	  LD="${LD-ld} -n32"
7198	  ;;
7199	*64-bit*)
7200	  LD="${LD-ld} -64"
7201	  ;;
7202      esac
7203    fi
7204  fi
7205  rm -rf conftest*
7206  ;;
7207
7208mips64*-*linux*)
7209  # Find out what ABI is being produced by ac_compile, and set linker
7210  # options accordingly.
7211  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7212  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213  (eval $ac_compile) 2>&5
7214  ac_status=$?
7215  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216  test $ac_status = 0; }; then
7217    emul=elf
7218    case `/usr/bin/file conftest.$ac_objext` in
7219      *32-bit*)
7220	emul="${emul}32"
7221	;;
7222      *64-bit*)
7223	emul="${emul}64"
7224	;;
7225    esac
7226    case `/usr/bin/file conftest.$ac_objext` in
7227      *MSB*)
7228	emul="${emul}btsmip"
7229	;;
7230      *LSB*)
7231	emul="${emul}ltsmip"
7232	;;
7233    esac
7234    case `/usr/bin/file conftest.$ac_objext` in
7235      *N32*)
7236	emul="${emul}n32"
7237	;;
7238    esac
7239    LD="${LD-ld} -m $emul"
7240  fi
7241  rm -rf conftest*
7242  ;;
7243
7244x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7245s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7246  # Find out what ABI is being produced by ac_compile, and set linker
7247  # options accordingly.  Note that the listed cases only cover the
7248  # situations where additional linker options are needed (such as when
7249  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7250  # vice versa); the common cases where no linker options are needed do
7251  # not appear in the list.
7252  echo 'int i;' > conftest.$ac_ext
7253  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254  (eval $ac_compile) 2>&5
7255  ac_status=$?
7256  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257  test $ac_status = 0; }; then
7258    case `/usr/bin/file conftest.o` in
7259      *32-bit*)
7260	case $host in
7261	  x86_64-*kfreebsd*-gnu)
7262	    LD="${LD-ld} -m elf_i386_fbsd"
7263	    ;;
7264	  x86_64-*linux*)
7265	    case `/usr/bin/file conftest.o` in
7266	      *x86-64*)
7267		LD="${LD-ld} -m elf32_x86_64"
7268		;;
7269	      *)
7270		LD="${LD-ld} -m elf_i386"
7271		;;
7272	    esac
7273	    ;;
7274	  powerpc64le-*linux*)
7275	    LD="${LD-ld} -m elf32lppclinux"
7276	    ;;
7277	  powerpc64-*linux*)
7278	    LD="${LD-ld} -m elf32ppclinux"
7279	    ;;
7280	  s390x-*linux*)
7281	    LD="${LD-ld} -m elf_s390"
7282	    ;;
7283	  sparc64-*linux*)
7284	    LD="${LD-ld} -m elf32_sparc"
7285	    ;;
7286	esac
7287	;;
7288      *64-bit*)
7289	case $host in
7290	  x86_64-*kfreebsd*-gnu)
7291	    LD="${LD-ld} -m elf_x86_64_fbsd"
7292	    ;;
7293	  x86_64-*linux*)
7294	    LD="${LD-ld} -m elf_x86_64"
7295	    ;;
7296	  powerpcle-*linux*)
7297	    LD="${LD-ld} -m elf64lppc"
7298	    ;;
7299	  powerpc-*linux*)
7300	    LD="${LD-ld} -m elf64ppc"
7301	    ;;
7302	  s390*-*linux*|s390*-*tpf*)
7303	    LD="${LD-ld} -m elf64_s390"
7304	    ;;
7305	  sparc*-*linux*)
7306	    LD="${LD-ld} -m elf64_sparc"
7307	    ;;
7308	esac
7309	;;
7310    esac
7311  fi
7312  rm -rf conftest*
7313  ;;
7314
7315*-*-sco3.2v5*)
7316  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7317  SAVE_CFLAGS=$CFLAGS
7318  CFLAGS="$CFLAGS -belf"
7319  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7320$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7321if ${lt_cv_cc_needs_belf+:} false; then :
7322  $as_echo_n "(cached) " >&6
7323else
7324  ac_ext=c
7325ac_cpp='$CPP $CPPFLAGS'
7326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7328ac_compiler_gnu=$ac_cv_c_compiler_gnu
7329
7330     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331/* end confdefs.h.  */
7332
7333int
7334main ()
7335{
7336
7337  ;
7338  return 0;
7339}
7340_ACEOF
7341if ac_fn_c_try_link "$LINENO"; then :
7342  lt_cv_cc_needs_belf=yes
7343else
7344  lt_cv_cc_needs_belf=no
7345fi
7346rm -f core conftest.err conftest.$ac_objext \
7347    conftest$ac_exeext conftest.$ac_ext
7348     ac_ext=c
7349ac_cpp='$CPP $CPPFLAGS'
7350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7352ac_compiler_gnu=$ac_cv_c_compiler_gnu
7353
7354fi
7355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7356$as_echo "$lt_cv_cc_needs_belf" >&6; }
7357  if test yes != "$lt_cv_cc_needs_belf"; then
7358    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7359    CFLAGS=$SAVE_CFLAGS
7360  fi
7361  ;;
7362*-*solaris*)
7363  # Find out what ABI is being produced by ac_compile, and set linker
7364  # options accordingly.
7365  echo 'int i;' > conftest.$ac_ext
7366  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7367  (eval $ac_compile) 2>&5
7368  ac_status=$?
7369  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7370  test $ac_status = 0; }; then
7371    case `/usr/bin/file conftest.o` in
7372    *64-bit*)
7373      case $lt_cv_prog_gnu_ld in
7374      yes*)
7375        case $host in
7376        i?86-*-solaris*|x86_64-*-solaris*)
7377          LD="${LD-ld} -m elf_x86_64"
7378          ;;
7379        sparc*-*-solaris*)
7380          LD="${LD-ld} -m elf64_sparc"
7381          ;;
7382        esac
7383        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7384        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7385          LD=${LD-ld}_sol2
7386        fi
7387        ;;
7388      *)
7389	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7390	  LD="${LD-ld} -64"
7391	fi
7392	;;
7393      esac
7394      ;;
7395    esac
7396  fi
7397  rm -rf conftest*
7398  ;;
7399esac
7400
7401need_locks=$enable_libtool_lock
7402
7403if test -n "$ac_tool_prefix"; then
7404  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7405set dummy ${ac_tool_prefix}mt; ac_word=$2
7406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407$as_echo_n "checking for $ac_word... " >&6; }
7408if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7409  $as_echo_n "(cached) " >&6
7410else
7411  if test -n "$MANIFEST_TOOL"; then
7412  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7413else
7414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415for as_dir in $PATH
7416do
7417  IFS=$as_save_IFS
7418  test -z "$as_dir" && as_dir=.
7419    for ac_exec_ext in '' $ac_executable_extensions; do
7420  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7421    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7422    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7423    break 2
7424  fi
7425done
7426  done
7427IFS=$as_save_IFS
7428
7429fi
7430fi
7431MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7432if test -n "$MANIFEST_TOOL"; then
7433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7434$as_echo "$MANIFEST_TOOL" >&6; }
7435else
7436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7437$as_echo "no" >&6; }
7438fi
7439
7440
7441fi
7442if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7443  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7444  # Extract the first word of "mt", so it can be a program name with args.
7445set dummy mt; ac_word=$2
7446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7447$as_echo_n "checking for $ac_word... " >&6; }
7448if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7449  $as_echo_n "(cached) " >&6
7450else
7451  if test -n "$ac_ct_MANIFEST_TOOL"; then
7452  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7453else
7454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455for as_dir in $PATH
7456do
7457  IFS=$as_save_IFS
7458  test -z "$as_dir" && as_dir=.
7459    for ac_exec_ext in '' $ac_executable_extensions; do
7460  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7461    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7462    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7463    break 2
7464  fi
7465done
7466  done
7467IFS=$as_save_IFS
7468
7469fi
7470fi
7471ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7472if test -n "$ac_ct_MANIFEST_TOOL"; then
7473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7474$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7475else
7476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7477$as_echo "no" >&6; }
7478fi
7479
7480  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7481    MANIFEST_TOOL=":"
7482  else
7483    case $cross_compiling:$ac_tool_warned in
7484yes:)
7485{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7486$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7487ac_tool_warned=yes ;;
7488esac
7489    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7490  fi
7491else
7492  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7493fi
7494
7495test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7497$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7498if ${lt_cv_path_mainfest_tool+:} false; then :
7499  $as_echo_n "(cached) " >&6
7500else
7501  lt_cv_path_mainfest_tool=no
7502  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7503  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7504  cat conftest.err >&5
7505  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7506    lt_cv_path_mainfest_tool=yes
7507  fi
7508  rm -f conftest*
7509fi
7510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7511$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7512if test yes != "$lt_cv_path_mainfest_tool"; then
7513  MANIFEST_TOOL=:
7514fi
7515
7516
7517
7518
7519
7520
7521  case $host_os in
7522    rhapsody* | darwin*)
7523    if test -n "$ac_tool_prefix"; then
7524  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7525set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527$as_echo_n "checking for $ac_word... " >&6; }
7528if ${ac_cv_prog_DSYMUTIL+:} false; then :
7529  $as_echo_n "(cached) " >&6
7530else
7531  if test -n "$DSYMUTIL"; then
7532  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7533else
7534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535for as_dir in $PATH
7536do
7537  IFS=$as_save_IFS
7538  test -z "$as_dir" && as_dir=.
7539    for ac_exec_ext in '' $ac_executable_extensions; do
7540  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7541    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7542    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543    break 2
7544  fi
7545done
7546  done
7547IFS=$as_save_IFS
7548
7549fi
7550fi
7551DSYMUTIL=$ac_cv_prog_DSYMUTIL
7552if test -n "$DSYMUTIL"; then
7553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7554$as_echo "$DSYMUTIL" >&6; }
7555else
7556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557$as_echo "no" >&6; }
7558fi
7559
7560
7561fi
7562if test -z "$ac_cv_prog_DSYMUTIL"; then
7563  ac_ct_DSYMUTIL=$DSYMUTIL
7564  # Extract the first word of "dsymutil", so it can be a program name with args.
7565set dummy dsymutil; ac_word=$2
7566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567$as_echo_n "checking for $ac_word... " >&6; }
7568if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7569  $as_echo_n "(cached) " >&6
7570else
7571  if test -n "$ac_ct_DSYMUTIL"; then
7572  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7573else
7574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575for as_dir in $PATH
7576do
7577  IFS=$as_save_IFS
7578  test -z "$as_dir" && as_dir=.
7579    for ac_exec_ext in '' $ac_executable_extensions; do
7580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7581    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583    break 2
7584  fi
7585done
7586  done
7587IFS=$as_save_IFS
7588
7589fi
7590fi
7591ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7592if test -n "$ac_ct_DSYMUTIL"; then
7593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7594$as_echo "$ac_ct_DSYMUTIL" >&6; }
7595else
7596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597$as_echo "no" >&6; }
7598fi
7599
7600  if test "x$ac_ct_DSYMUTIL" = x; then
7601    DSYMUTIL=":"
7602  else
7603    case $cross_compiling:$ac_tool_warned in
7604yes:)
7605{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7606$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7607ac_tool_warned=yes ;;
7608esac
7609    DSYMUTIL=$ac_ct_DSYMUTIL
7610  fi
7611else
7612  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7613fi
7614
7615    if test -n "$ac_tool_prefix"; then
7616  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7617set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7619$as_echo_n "checking for $ac_word... " >&6; }
7620if ${ac_cv_prog_NMEDIT+:} false; then :
7621  $as_echo_n "(cached) " >&6
7622else
7623  if test -n "$NMEDIT"; then
7624  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7625else
7626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627for as_dir in $PATH
7628do
7629  IFS=$as_save_IFS
7630  test -z "$as_dir" && as_dir=.
7631    for ac_exec_ext in '' $ac_executable_extensions; do
7632  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635    break 2
7636  fi
7637done
7638  done
7639IFS=$as_save_IFS
7640
7641fi
7642fi
7643NMEDIT=$ac_cv_prog_NMEDIT
7644if test -n "$NMEDIT"; then
7645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7646$as_echo "$NMEDIT" >&6; }
7647else
7648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649$as_echo "no" >&6; }
7650fi
7651
7652
7653fi
7654if test -z "$ac_cv_prog_NMEDIT"; then
7655  ac_ct_NMEDIT=$NMEDIT
7656  # Extract the first word of "nmedit", so it can be a program name with args.
7657set dummy nmedit; ac_word=$2
7658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7659$as_echo_n "checking for $ac_word... " >&6; }
7660if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7661  $as_echo_n "(cached) " >&6
7662else
7663  if test -n "$ac_ct_NMEDIT"; then
7664  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7665else
7666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667for as_dir in $PATH
7668do
7669  IFS=$as_save_IFS
7670  test -z "$as_dir" && as_dir=.
7671    for ac_exec_ext in '' $ac_executable_extensions; do
7672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7673    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7675    break 2
7676  fi
7677done
7678  done
7679IFS=$as_save_IFS
7680
7681fi
7682fi
7683ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7684if test -n "$ac_ct_NMEDIT"; then
7685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7686$as_echo "$ac_ct_NMEDIT" >&6; }
7687else
7688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7689$as_echo "no" >&6; }
7690fi
7691
7692  if test "x$ac_ct_NMEDIT" = x; then
7693    NMEDIT=":"
7694  else
7695    case $cross_compiling:$ac_tool_warned in
7696yes:)
7697{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7698$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7699ac_tool_warned=yes ;;
7700esac
7701    NMEDIT=$ac_ct_NMEDIT
7702  fi
7703else
7704  NMEDIT="$ac_cv_prog_NMEDIT"
7705fi
7706
7707    if test -n "$ac_tool_prefix"; then
7708  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7709set dummy ${ac_tool_prefix}lipo; ac_word=$2
7710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7711$as_echo_n "checking for $ac_word... " >&6; }
7712if ${ac_cv_prog_LIPO+:} false; then :
7713  $as_echo_n "(cached) " >&6
7714else
7715  if test -n "$LIPO"; then
7716  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7717else
7718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719for as_dir in $PATH
7720do
7721  IFS=$as_save_IFS
7722  test -z "$as_dir" && as_dir=.
7723    for ac_exec_ext in '' $ac_executable_extensions; do
7724  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7725    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7726    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7727    break 2
7728  fi
7729done
7730  done
7731IFS=$as_save_IFS
7732
7733fi
7734fi
7735LIPO=$ac_cv_prog_LIPO
7736if test -n "$LIPO"; then
7737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7738$as_echo "$LIPO" >&6; }
7739else
7740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7741$as_echo "no" >&6; }
7742fi
7743
7744
7745fi
7746if test -z "$ac_cv_prog_LIPO"; then
7747  ac_ct_LIPO=$LIPO
7748  # Extract the first word of "lipo", so it can be a program name with args.
7749set dummy lipo; ac_word=$2
7750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751$as_echo_n "checking for $ac_word... " >&6; }
7752if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7753  $as_echo_n "(cached) " >&6
7754else
7755  if test -n "$ac_ct_LIPO"; then
7756  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7757else
7758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7759for as_dir in $PATH
7760do
7761  IFS=$as_save_IFS
7762  test -z "$as_dir" && as_dir=.
7763    for ac_exec_ext in '' $ac_executable_extensions; do
7764  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7765    ac_cv_prog_ac_ct_LIPO="lipo"
7766    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7767    break 2
7768  fi
7769done
7770  done
7771IFS=$as_save_IFS
7772
7773fi
7774fi
7775ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7776if test -n "$ac_ct_LIPO"; then
7777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7778$as_echo "$ac_ct_LIPO" >&6; }
7779else
7780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781$as_echo "no" >&6; }
7782fi
7783
7784  if test "x$ac_ct_LIPO" = x; then
7785    LIPO=":"
7786  else
7787    case $cross_compiling:$ac_tool_warned in
7788yes:)
7789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7791ac_tool_warned=yes ;;
7792esac
7793    LIPO=$ac_ct_LIPO
7794  fi
7795else
7796  LIPO="$ac_cv_prog_LIPO"
7797fi
7798
7799    if test -n "$ac_tool_prefix"; then
7800  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7801set dummy ${ac_tool_prefix}otool; ac_word=$2
7802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803$as_echo_n "checking for $ac_word... " >&6; }
7804if ${ac_cv_prog_OTOOL+:} false; then :
7805  $as_echo_n "(cached) " >&6
7806else
7807  if test -n "$OTOOL"; then
7808  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7809else
7810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811for as_dir in $PATH
7812do
7813  IFS=$as_save_IFS
7814  test -z "$as_dir" && as_dir=.
7815    for ac_exec_ext in '' $ac_executable_extensions; do
7816  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7817    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819    break 2
7820  fi
7821done
7822  done
7823IFS=$as_save_IFS
7824
7825fi
7826fi
7827OTOOL=$ac_cv_prog_OTOOL
7828if test -n "$OTOOL"; then
7829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7830$as_echo "$OTOOL" >&6; }
7831else
7832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833$as_echo "no" >&6; }
7834fi
7835
7836
7837fi
7838if test -z "$ac_cv_prog_OTOOL"; then
7839  ac_ct_OTOOL=$OTOOL
7840  # Extract the first word of "otool", so it can be a program name with args.
7841set dummy otool; ac_word=$2
7842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843$as_echo_n "checking for $ac_word... " >&6; }
7844if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7845  $as_echo_n "(cached) " >&6
7846else
7847  if test -n "$ac_ct_OTOOL"; then
7848  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7849else
7850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851for as_dir in $PATH
7852do
7853  IFS=$as_save_IFS
7854  test -z "$as_dir" && as_dir=.
7855    for ac_exec_ext in '' $ac_executable_extensions; do
7856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857    ac_cv_prog_ac_ct_OTOOL="otool"
7858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7859    break 2
7860  fi
7861done
7862  done
7863IFS=$as_save_IFS
7864
7865fi
7866fi
7867ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7868if test -n "$ac_ct_OTOOL"; then
7869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7870$as_echo "$ac_ct_OTOOL" >&6; }
7871else
7872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873$as_echo "no" >&6; }
7874fi
7875
7876  if test "x$ac_ct_OTOOL" = x; then
7877    OTOOL=":"
7878  else
7879    case $cross_compiling:$ac_tool_warned in
7880yes:)
7881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7883ac_tool_warned=yes ;;
7884esac
7885    OTOOL=$ac_ct_OTOOL
7886  fi
7887else
7888  OTOOL="$ac_cv_prog_OTOOL"
7889fi
7890
7891    if test -n "$ac_tool_prefix"; then
7892  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7893set dummy ${ac_tool_prefix}otool64; ac_word=$2
7894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895$as_echo_n "checking for $ac_word... " >&6; }
7896if ${ac_cv_prog_OTOOL64+:} false; then :
7897  $as_echo_n "(cached) " >&6
7898else
7899  if test -n "$OTOOL64"; then
7900  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7901else
7902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903for as_dir in $PATH
7904do
7905  IFS=$as_save_IFS
7906  test -z "$as_dir" && as_dir=.
7907    for ac_exec_ext in '' $ac_executable_extensions; do
7908  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7910    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911    break 2
7912  fi
7913done
7914  done
7915IFS=$as_save_IFS
7916
7917fi
7918fi
7919OTOOL64=$ac_cv_prog_OTOOL64
7920if test -n "$OTOOL64"; then
7921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7922$as_echo "$OTOOL64" >&6; }
7923else
7924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925$as_echo "no" >&6; }
7926fi
7927
7928
7929fi
7930if test -z "$ac_cv_prog_OTOOL64"; then
7931  ac_ct_OTOOL64=$OTOOL64
7932  # Extract the first word of "otool64", so it can be a program name with args.
7933set dummy otool64; ac_word=$2
7934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935$as_echo_n "checking for $ac_word... " >&6; }
7936if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7937  $as_echo_n "(cached) " >&6
7938else
7939  if test -n "$ac_ct_OTOOL64"; then
7940  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7941else
7942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943for as_dir in $PATH
7944do
7945  IFS=$as_save_IFS
7946  test -z "$as_dir" && as_dir=.
7947    for ac_exec_ext in '' $ac_executable_extensions; do
7948  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949    ac_cv_prog_ac_ct_OTOOL64="otool64"
7950    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951    break 2
7952  fi
7953done
7954  done
7955IFS=$as_save_IFS
7956
7957fi
7958fi
7959ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7960if test -n "$ac_ct_OTOOL64"; then
7961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7962$as_echo "$ac_ct_OTOOL64" >&6; }
7963else
7964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965$as_echo "no" >&6; }
7966fi
7967
7968  if test "x$ac_ct_OTOOL64" = x; then
7969    OTOOL64=":"
7970  else
7971    case $cross_compiling:$ac_tool_warned in
7972yes:)
7973{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7974$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7975ac_tool_warned=yes ;;
7976esac
7977    OTOOL64=$ac_ct_OTOOL64
7978  fi
7979else
7980  OTOOL64="$ac_cv_prog_OTOOL64"
7981fi
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8010$as_echo_n "checking for -single_module linker flag... " >&6; }
8011if ${lt_cv_apple_cc_single_mod+:} false; then :
8012  $as_echo_n "(cached) " >&6
8013else
8014  lt_cv_apple_cc_single_mod=no
8015      if test -z "$LT_MULTI_MODULE"; then
8016	# By default we will add the -single_module flag. You can override
8017	# by either setting the environment variable LT_MULTI_MODULE
8018	# non-empty at configure time, or by adding -multi_module to the
8019	# link flags.
8020	rm -rf libconftest.dylib*
8021	echo "int foo(void){return 1;}" > conftest.c
8022	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8023-dynamiclib -Wl,-single_module conftest.c" >&5
8024	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8025	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8026        _lt_result=$?
8027	# If there is a non-empty error log, and "single_module"
8028	# appears in it, assume the flag caused a linker warning
8029        if test -s conftest.err && $GREP single_module conftest.err; then
8030	  cat conftest.err >&5
8031	# Otherwise, if the output was created with a 0 exit code from
8032	# the compiler, it worked.
8033	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8034	  lt_cv_apple_cc_single_mod=yes
8035	else
8036	  cat conftest.err >&5
8037	fi
8038	rm -rf libconftest.dylib*
8039	rm -f conftest.*
8040      fi
8041fi
8042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8043$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8044
8045    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8046$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8047if ${lt_cv_ld_exported_symbols_list+:} false; then :
8048  $as_echo_n "(cached) " >&6
8049else
8050  lt_cv_ld_exported_symbols_list=no
8051      save_LDFLAGS=$LDFLAGS
8052      echo "_main" > conftest.sym
8053      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8054      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8055/* end confdefs.h.  */
8056
8057int
8058main ()
8059{
8060
8061  ;
8062  return 0;
8063}
8064_ACEOF
8065if ac_fn_c_try_link "$LINENO"; then :
8066  lt_cv_ld_exported_symbols_list=yes
8067else
8068  lt_cv_ld_exported_symbols_list=no
8069fi
8070rm -f core conftest.err conftest.$ac_objext \
8071    conftest$ac_exeext conftest.$ac_ext
8072	LDFLAGS=$save_LDFLAGS
8073
8074fi
8075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8076$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8077
8078    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8079$as_echo_n "checking for -force_load linker flag... " >&6; }
8080if ${lt_cv_ld_force_load+:} false; then :
8081  $as_echo_n "(cached) " >&6
8082else
8083  lt_cv_ld_force_load=no
8084      cat > conftest.c << _LT_EOF
8085int forced_loaded() { return 2;}
8086_LT_EOF
8087      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8088      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8089      echo "$AR cr libconftest.a conftest.o" >&5
8090      $AR cr libconftest.a conftest.o 2>&5
8091      echo "$RANLIB libconftest.a" >&5
8092      $RANLIB libconftest.a 2>&5
8093      cat > conftest.c << _LT_EOF
8094int main() { return 0;}
8095_LT_EOF
8096      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8097      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8098      _lt_result=$?
8099      if test -s conftest.err && $GREP force_load conftest.err; then
8100	cat conftest.err >&5
8101      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8102	lt_cv_ld_force_load=yes
8103      else
8104	cat conftest.err >&5
8105      fi
8106        rm -f conftest.err libconftest.a conftest conftest.c
8107        rm -rf conftest.dSYM
8108
8109fi
8110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8111$as_echo "$lt_cv_ld_force_load" >&6; }
8112    case $host_os in
8113    rhapsody* | darwin1.[012])
8114      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8115    darwin1.*)
8116      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8117    darwin*) # darwin 5.x on
8118      # if running on 10.5 or later, the deployment target defaults
8119      # to the OS version, if on x86, and 10.4, the deployment
8120      # target defaults to 10.4. Don't you love it?
8121      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8122	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8123	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8124	10.[012][,.]*)
8125	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8126	10.*)
8127	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8128      esac
8129    ;;
8130  esac
8131    if test yes = "$lt_cv_apple_cc_single_mod"; then
8132      _lt_dar_single_mod='$single_module'
8133    fi
8134    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8135      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8136    else
8137      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8138    fi
8139    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8140      _lt_dsymutil='~$DSYMUTIL $lib || :'
8141    else
8142      _lt_dsymutil=
8143    fi
8144    ;;
8145  esac
8146
8147# func_munge_path_list VARIABLE PATH
8148# -----------------------------------
8149# VARIABLE is name of variable containing _space_ separated list of
8150# directories to be munged by the contents of PATH, which is string
8151# having a format:
8152# "DIR[:DIR]:"
8153#       string "DIR[ DIR]" will be prepended to VARIABLE
8154# ":DIR[:DIR]"
8155#       string "DIR[ DIR]" will be appended to VARIABLE
8156# "DIRP[:DIRP]::[DIRA:]DIRA"
8157#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8158#       "DIRA[ DIRA]" will be appended to VARIABLE
8159# "DIR[:DIR]"
8160#       VARIABLE will be replaced by "DIR[ DIR]"
8161func_munge_path_list ()
8162{
8163    case x$2 in
8164    x)
8165        ;;
8166    *:)
8167        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8168        ;;
8169    x:*)
8170        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8171        ;;
8172    *::*)
8173        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8174        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8175        ;;
8176    *)
8177        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8178        ;;
8179    esac
8180}
8181
8182ac_ext=c
8183ac_cpp='$CPP $CPPFLAGS'
8184ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8185ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8186ac_compiler_gnu=$ac_cv_c_compiler_gnu
8187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8188$as_echo_n "checking how to run the C preprocessor... " >&6; }
8189# On Suns, sometimes $CPP names a directory.
8190if test -n "$CPP" && test -d "$CPP"; then
8191  CPP=
8192fi
8193if test -z "$CPP"; then
8194  if ${ac_cv_prog_CPP+:} false; then :
8195  $as_echo_n "(cached) " >&6
8196else
8197      # Double quotes because CPP needs to be expanded
8198    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8199    do
8200      ac_preproc_ok=false
8201for ac_c_preproc_warn_flag in '' yes
8202do
8203  # Use a header file that comes with gcc, so configuring glibc
8204  # with a fresh cross-compiler works.
8205  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8206  # <limits.h> exists even on freestanding compilers.
8207  # On the NeXT, cc -E runs the code through the compiler's parser,
8208  # not just through cpp. "Syntax error" is here to catch this case.
8209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210/* end confdefs.h.  */
8211#ifdef __STDC__
8212# include <limits.h>
8213#else
8214# include <assert.h>
8215#endif
8216		     Syntax error
8217_ACEOF
8218if ac_fn_c_try_cpp "$LINENO"; then :
8219
8220else
8221  # Broken: fails on valid input.
8222continue
8223fi
8224rm -f conftest.err conftest.i conftest.$ac_ext
8225
8226  # OK, works on sane cases.  Now check whether nonexistent headers
8227  # can be detected and how.
8228  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229/* end confdefs.h.  */
8230#include <ac_nonexistent.h>
8231_ACEOF
8232if ac_fn_c_try_cpp "$LINENO"; then :
8233  # Broken: success on invalid input.
8234continue
8235else
8236  # Passes both tests.
8237ac_preproc_ok=:
8238break
8239fi
8240rm -f conftest.err conftest.i conftest.$ac_ext
8241
8242done
8243# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8244rm -f conftest.i conftest.err conftest.$ac_ext
8245if $ac_preproc_ok; then :
8246  break
8247fi
8248
8249    done
8250    ac_cv_prog_CPP=$CPP
8251
8252fi
8253  CPP=$ac_cv_prog_CPP
8254else
8255  ac_cv_prog_CPP=$CPP
8256fi
8257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8258$as_echo "$CPP" >&6; }
8259ac_preproc_ok=false
8260for ac_c_preproc_warn_flag in '' yes
8261do
8262  # Use a header file that comes with gcc, so configuring glibc
8263  # with a fresh cross-compiler works.
8264  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8265  # <limits.h> exists even on freestanding compilers.
8266  # On the NeXT, cc -E runs the code through the compiler's parser,
8267  # not just through cpp. "Syntax error" is here to catch this case.
8268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269/* end confdefs.h.  */
8270#ifdef __STDC__
8271# include <limits.h>
8272#else
8273# include <assert.h>
8274#endif
8275		     Syntax error
8276_ACEOF
8277if ac_fn_c_try_cpp "$LINENO"; then :
8278
8279else
8280  # Broken: fails on valid input.
8281continue
8282fi
8283rm -f conftest.err conftest.i conftest.$ac_ext
8284
8285  # OK, works on sane cases.  Now check whether nonexistent headers
8286  # can be detected and how.
8287  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288/* end confdefs.h.  */
8289#include <ac_nonexistent.h>
8290_ACEOF
8291if ac_fn_c_try_cpp "$LINENO"; then :
8292  # Broken: success on invalid input.
8293continue
8294else
8295  # Passes both tests.
8296ac_preproc_ok=:
8297break
8298fi
8299rm -f conftest.err conftest.i conftest.$ac_ext
8300
8301done
8302# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8303rm -f conftest.i conftest.err conftest.$ac_ext
8304if $ac_preproc_ok; then :
8305
8306else
8307  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8309as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8310See \`config.log' for more details" "$LINENO" 5; }
8311fi
8312
8313ac_ext=c
8314ac_cpp='$CPP $CPPFLAGS'
8315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8317ac_compiler_gnu=$ac_cv_c_compiler_gnu
8318
8319
8320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8321$as_echo_n "checking for ANSI C header files... " >&6; }
8322if ${ac_cv_header_stdc+:} false; then :
8323  $as_echo_n "(cached) " >&6
8324else
8325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326/* end confdefs.h.  */
8327#include <stdlib.h>
8328#include <stdarg.h>
8329#include <string.h>
8330#include <float.h>
8331
8332int
8333main ()
8334{
8335
8336  ;
8337  return 0;
8338}
8339_ACEOF
8340if ac_fn_c_try_compile "$LINENO"; then :
8341  ac_cv_header_stdc=yes
8342else
8343  ac_cv_header_stdc=no
8344fi
8345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8346
8347if test $ac_cv_header_stdc = yes; then
8348  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350/* end confdefs.h.  */
8351#include <string.h>
8352
8353_ACEOF
8354if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8355  $EGREP "memchr" >/dev/null 2>&1; then :
8356
8357else
8358  ac_cv_header_stdc=no
8359fi
8360rm -f conftest*
8361
8362fi
8363
8364if test $ac_cv_header_stdc = yes; then
8365  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8366  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367/* end confdefs.h.  */
8368#include <stdlib.h>
8369
8370_ACEOF
8371if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8372  $EGREP "free" >/dev/null 2>&1; then :
8373
8374else
8375  ac_cv_header_stdc=no
8376fi
8377rm -f conftest*
8378
8379fi
8380
8381if test $ac_cv_header_stdc = yes; then
8382  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8383  if test "$cross_compiling" = yes; then :
8384  :
8385else
8386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8387/* end confdefs.h.  */
8388#include <ctype.h>
8389#include <stdlib.h>
8390#if ((' ' & 0x0FF) == 0x020)
8391# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8392# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8393#else
8394# define ISLOWER(c) \
8395		   (('a' <= (c) && (c) <= 'i') \
8396		     || ('j' <= (c) && (c) <= 'r') \
8397		     || ('s' <= (c) && (c) <= 'z'))
8398# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8399#endif
8400
8401#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8402int
8403main ()
8404{
8405  int i;
8406  for (i = 0; i < 256; i++)
8407    if (XOR (islower (i), ISLOWER (i))
8408	|| toupper (i) != TOUPPER (i))
8409      return 2;
8410  return 0;
8411}
8412_ACEOF
8413if ac_fn_c_try_run "$LINENO"; then :
8414
8415else
8416  ac_cv_header_stdc=no
8417fi
8418rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8419  conftest.$ac_objext conftest.beam conftest.$ac_ext
8420fi
8421
8422fi
8423fi
8424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8425$as_echo "$ac_cv_header_stdc" >&6; }
8426if test $ac_cv_header_stdc = yes; then
8427
8428$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8429
8430fi
8431
8432# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8433for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8434		  inttypes.h stdint.h unistd.h
8435do :
8436  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8437ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8438"
8439if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8440  cat >>confdefs.h <<_ACEOF
8441#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8442_ACEOF
8443
8444fi
8445
8446done
8447
8448
8449for ac_header in dlfcn.h
8450do :
8451  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8452"
8453if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8454  cat >>confdefs.h <<_ACEOF
8455#define HAVE_DLFCN_H 1
8456_ACEOF
8457
8458fi
8459
8460done
8461
8462
8463
8464
8465
8466# Set options
8467# Check whether --enable-static was given.
8468if test "${enable_static+set}" = set; then :
8469  enableval=$enable_static; p=${PACKAGE-default}
8470    case $enableval in
8471    yes) enable_static=yes ;;
8472    no) enable_static=no ;;
8473    *)
8474     enable_static=no
8475      # Look at the argument we got.  We use all the common list separators.
8476      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8477      for pkg in $enableval; do
8478	IFS=$lt_save_ifs
8479	if test "X$pkg" = "X$p"; then
8480	  enable_static=yes
8481	fi
8482      done
8483      IFS=$lt_save_ifs
8484      ;;
8485    esac
8486else
8487  enable_static=no
8488fi
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499        enable_dlopen=no
8500
8501
8502  enable_win32_dll=no
8503
8504
8505            # Check whether --enable-shared was given.
8506if test "${enable_shared+set}" = set; then :
8507  enableval=$enable_shared; p=${PACKAGE-default}
8508    case $enableval in
8509    yes) enable_shared=yes ;;
8510    no) enable_shared=no ;;
8511    *)
8512      enable_shared=no
8513      # Look at the argument we got.  We use all the common list separators.
8514      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8515      for pkg in $enableval; do
8516	IFS=$lt_save_ifs
8517	if test "X$pkg" = "X$p"; then
8518	  enable_shared=yes
8519	fi
8520      done
8521      IFS=$lt_save_ifs
8522      ;;
8523    esac
8524else
8525  enable_shared=yes
8526fi
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538# Check whether --with-pic was given.
8539if test "${with_pic+set}" = set; then :
8540  withval=$with_pic; lt_p=${PACKAGE-default}
8541    case $withval in
8542    yes|no) pic_mode=$withval ;;
8543    *)
8544      pic_mode=default
8545      # Look at the argument we got.  We use all the common list separators.
8546      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8547      for lt_pkg in $withval; do
8548	IFS=$lt_save_ifs
8549	if test "X$lt_pkg" = "X$lt_p"; then
8550	  pic_mode=yes
8551	fi
8552      done
8553      IFS=$lt_save_ifs
8554      ;;
8555    esac
8556else
8557  pic_mode=default
8558fi
8559
8560
8561
8562
8563
8564
8565
8566
8567  # Check whether --enable-fast-install was given.
8568if test "${enable_fast_install+set}" = set; then :
8569  enableval=$enable_fast_install; p=${PACKAGE-default}
8570    case $enableval in
8571    yes) enable_fast_install=yes ;;
8572    no) enable_fast_install=no ;;
8573    *)
8574      enable_fast_install=no
8575      # Look at the argument we got.  We use all the common list separators.
8576      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8577      for pkg in $enableval; do
8578	IFS=$lt_save_ifs
8579	if test "X$pkg" = "X$p"; then
8580	  enable_fast_install=yes
8581	fi
8582      done
8583      IFS=$lt_save_ifs
8584      ;;
8585    esac
8586else
8587  enable_fast_install=yes
8588fi
8589
8590
8591
8592
8593
8594
8595
8596
8597  shared_archive_member_spec=
8598case $host,$enable_shared in
8599power*-*-aix[5-9]*,yes)
8600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8601$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8602
8603# Check whether --with-aix-soname was given.
8604if test "${with_aix_soname+set}" = set; then :
8605  withval=$with_aix_soname; case $withval in
8606    aix|svr4|both)
8607      ;;
8608    *)
8609      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8610      ;;
8611    esac
8612    lt_cv_with_aix_soname=$with_aix_soname
8613else
8614  if ${lt_cv_with_aix_soname+:} false; then :
8615  $as_echo_n "(cached) " >&6
8616else
8617  lt_cv_with_aix_soname=aix
8618fi
8619
8620    with_aix_soname=$lt_cv_with_aix_soname
8621fi
8622
8623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8624$as_echo "$with_aix_soname" >&6; }
8625  if test aix != "$with_aix_soname"; then
8626    # For the AIX way of multilib, we name the shared archive member
8627    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8628    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8629    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8630    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8631    if test 64 = "${OBJECT_MODE-32}"; then
8632      shared_archive_member_spec=shr_64
8633    else
8634      shared_archive_member_spec=shr
8635    fi
8636  fi
8637  ;;
8638*)
8639  with_aix_soname=aix
8640  ;;
8641esac
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652# This can be used to rebuild libtool when needed
8653LIBTOOL_DEPS=$ltmain
8654
8655# Always use our own libtool.
8656LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687test -z "$LN_S" && LN_S="ln -s"
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702if test -n "${ZSH_VERSION+set}"; then
8703   setopt NO_GLOB_SUBST
8704fi
8705
8706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8707$as_echo_n "checking for objdir... " >&6; }
8708if ${lt_cv_objdir+:} false; then :
8709  $as_echo_n "(cached) " >&6
8710else
8711  rm -f .libs 2>/dev/null
8712mkdir .libs 2>/dev/null
8713if test -d .libs; then
8714  lt_cv_objdir=.libs
8715else
8716  # MS-DOS does not allow filenames that begin with a dot.
8717  lt_cv_objdir=_libs
8718fi
8719rmdir .libs 2>/dev/null
8720fi
8721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8722$as_echo "$lt_cv_objdir" >&6; }
8723objdir=$lt_cv_objdir
8724
8725
8726
8727
8728
8729cat >>confdefs.h <<_ACEOF
8730#define LT_OBJDIR "$lt_cv_objdir/"
8731_ACEOF
8732
8733
8734
8735
8736case $host_os in
8737aix3*)
8738  # AIX sometimes has problems with the GCC collect2 program.  For some
8739  # reason, if we set the COLLECT_NAMES environment variable, the problems
8740  # vanish in a puff of smoke.
8741  if test set != "${COLLECT_NAMES+set}"; then
8742    COLLECT_NAMES=
8743    export COLLECT_NAMES
8744  fi
8745  ;;
8746esac
8747
8748# Global variables:
8749ofile=libtool
8750can_build_shared=yes
8751
8752# All known linkers require a '.a' archive for static linking (except MSVC,
8753# which needs '.lib').
8754libext=a
8755
8756with_gnu_ld=$lt_cv_prog_gnu_ld
8757
8758old_CC=$CC
8759old_CFLAGS=$CFLAGS
8760
8761# Set sane defaults for various variables
8762test -z "$CC" && CC=cc
8763test -z "$LTCC" && LTCC=$CC
8764test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8765test -z "$LD" && LD=ld
8766test -z "$ac_objext" && ac_objext=o
8767
8768func_cc_basename $compiler
8769cc_basename=$func_cc_basename_result
8770
8771
8772# Only perform the check for file, if the check method requires it
8773test -z "$MAGIC_CMD" && MAGIC_CMD=file
8774case $deplibs_check_method in
8775file_magic*)
8776  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8777    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8778$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8779if ${lt_cv_path_MAGIC_CMD+:} false; then :
8780  $as_echo_n "(cached) " >&6
8781else
8782  case $MAGIC_CMD in
8783[\\/*] |  ?:[\\/]*)
8784  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8785  ;;
8786*)
8787  lt_save_MAGIC_CMD=$MAGIC_CMD
8788  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8789  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8790  for ac_dir in $ac_dummy; do
8791    IFS=$lt_save_ifs
8792    test -z "$ac_dir" && ac_dir=.
8793    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8794      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8795      if test -n "$file_magic_test_file"; then
8796	case $deplibs_check_method in
8797	"file_magic "*)
8798	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8799	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8800	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8801	    $EGREP "$file_magic_regex" > /dev/null; then
8802	    :
8803	  else
8804	    cat <<_LT_EOF 1>&2
8805
8806*** Warning: the command libtool uses to detect shared libraries,
8807*** $file_magic_cmd, produces output that libtool cannot recognize.
8808*** The result is that libtool may fail to recognize shared libraries
8809*** as such.  This will affect the creation of libtool libraries that
8810*** depend on shared libraries, but programs linked with such libtool
8811*** libraries will work regardless of this problem.  Nevertheless, you
8812*** may want to report the problem to your system manager and/or to
8813*** bug-libtool@gnu.org
8814
8815_LT_EOF
8816	  fi ;;
8817	esac
8818      fi
8819      break
8820    fi
8821  done
8822  IFS=$lt_save_ifs
8823  MAGIC_CMD=$lt_save_MAGIC_CMD
8824  ;;
8825esac
8826fi
8827
8828MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8829if test -n "$MAGIC_CMD"; then
8830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8831$as_echo "$MAGIC_CMD" >&6; }
8832else
8833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8834$as_echo "no" >&6; }
8835fi
8836
8837
8838
8839
8840
8841if test -z "$lt_cv_path_MAGIC_CMD"; then
8842  if test -n "$ac_tool_prefix"; then
8843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8844$as_echo_n "checking for file... " >&6; }
8845if ${lt_cv_path_MAGIC_CMD+:} false; then :
8846  $as_echo_n "(cached) " >&6
8847else
8848  case $MAGIC_CMD in
8849[\\/*] |  ?:[\\/]*)
8850  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8851  ;;
8852*)
8853  lt_save_MAGIC_CMD=$MAGIC_CMD
8854  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8855  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8856  for ac_dir in $ac_dummy; do
8857    IFS=$lt_save_ifs
8858    test -z "$ac_dir" && ac_dir=.
8859    if test -f "$ac_dir/file"; then
8860      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8861      if test -n "$file_magic_test_file"; then
8862	case $deplibs_check_method in
8863	"file_magic "*)
8864	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8865	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8866	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8867	    $EGREP "$file_magic_regex" > /dev/null; then
8868	    :
8869	  else
8870	    cat <<_LT_EOF 1>&2
8871
8872*** Warning: the command libtool uses to detect shared libraries,
8873*** $file_magic_cmd, produces output that libtool cannot recognize.
8874*** The result is that libtool may fail to recognize shared libraries
8875*** as such.  This will affect the creation of libtool libraries that
8876*** depend on shared libraries, but programs linked with such libtool
8877*** libraries will work regardless of this problem.  Nevertheless, you
8878*** may want to report the problem to your system manager and/or to
8879*** bug-libtool@gnu.org
8880
8881_LT_EOF
8882	  fi ;;
8883	esac
8884      fi
8885      break
8886    fi
8887  done
8888  IFS=$lt_save_ifs
8889  MAGIC_CMD=$lt_save_MAGIC_CMD
8890  ;;
8891esac
8892fi
8893
8894MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8895if test -n "$MAGIC_CMD"; then
8896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8897$as_echo "$MAGIC_CMD" >&6; }
8898else
8899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900$as_echo "no" >&6; }
8901fi
8902
8903
8904  else
8905    MAGIC_CMD=:
8906  fi
8907fi
8908
8909  fi
8910  ;;
8911esac
8912
8913# Use C for the default configuration in the libtool script
8914
8915lt_save_CC=$CC
8916ac_ext=c
8917ac_cpp='$CPP $CPPFLAGS'
8918ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8919ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8920ac_compiler_gnu=$ac_cv_c_compiler_gnu
8921
8922
8923# Source file extension for C test sources.
8924ac_ext=c
8925
8926# Object file extension for compiled C test sources.
8927objext=o
8928objext=$objext
8929
8930# Code to be used in simple compile tests
8931lt_simple_compile_test_code="int some_variable = 0;"
8932
8933# Code to be used in simple link tests
8934lt_simple_link_test_code='int main(){return(0);}'
8935
8936
8937
8938
8939
8940
8941
8942# If no C compiler was specified, use CC.
8943LTCC=${LTCC-"$CC"}
8944
8945# If no C compiler flags were specified, use CFLAGS.
8946LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8947
8948# Allow CC to be a program name with arguments.
8949compiler=$CC
8950
8951# Save the default compiler, since it gets overwritten when the other
8952# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8953compiler_DEFAULT=$CC
8954
8955# save warnings/boilerplate of simple test code
8956ac_outfile=conftest.$ac_objext
8957echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8958eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8959_lt_compiler_boilerplate=`cat conftest.err`
8960$RM conftest*
8961
8962ac_outfile=conftest.$ac_objext
8963echo "$lt_simple_link_test_code" >conftest.$ac_ext
8964eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8965_lt_linker_boilerplate=`cat conftest.err`
8966$RM -r conftest*
8967
8968
8969if test -n "$compiler"; then
8970
8971lt_prog_compiler_no_builtin_flag=
8972
8973if test yes = "$GCC"; then
8974  case $cc_basename in
8975  nvcc*)
8976    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8977  *)
8978    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8979  esac
8980
8981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8982$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8983if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8984  $as_echo_n "(cached) " >&6
8985else
8986  lt_cv_prog_compiler_rtti_exceptions=no
8987   ac_outfile=conftest.$ac_objext
8988   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8990   # Insert the option either (1) after the last *FLAGS variable, or
8991   # (2) before a word containing "conftest.", or (3) at the end.
8992   # Note that $ac_compile itself does not contain backslashes and begins
8993   # with a dollar sign (not a hyphen), so the echo should work correctly.
8994   # The option is referenced via a variable to avoid confusing sed.
8995   lt_compile=`echo "$ac_compile" | $SED \
8996   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8997   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8998   -e 's:$: $lt_compiler_flag:'`
8999   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9000   (eval "$lt_compile" 2>conftest.err)
9001   ac_status=$?
9002   cat conftest.err >&5
9003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004   if (exit $ac_status) && test -s "$ac_outfile"; then
9005     # The compiler can only warn and ignore the option if not recognized
9006     # So say no if there are warnings other than the usual output.
9007     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9008     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9009     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9010       lt_cv_prog_compiler_rtti_exceptions=yes
9011     fi
9012   fi
9013   $RM conftest*
9014
9015fi
9016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9017$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9018
9019if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9020    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9021else
9022    :
9023fi
9024
9025fi
9026
9027
9028
9029
9030
9031
9032  lt_prog_compiler_wl=
9033lt_prog_compiler_pic=
9034lt_prog_compiler_static=
9035
9036
9037  if test yes = "$GCC"; then
9038    lt_prog_compiler_wl='-Wl,'
9039    lt_prog_compiler_static='-static'
9040
9041    case $host_os in
9042      aix*)
9043      # All AIX code is PIC.
9044      if test ia64 = "$host_cpu"; then
9045	# AIX 5 now supports IA64 processor
9046	lt_prog_compiler_static='-Bstatic'
9047      fi
9048      lt_prog_compiler_pic='-fPIC'
9049      ;;
9050
9051    amigaos*)
9052      case $host_cpu in
9053      powerpc)
9054            # see comment about AmigaOS4 .so support
9055            lt_prog_compiler_pic='-fPIC'
9056        ;;
9057      m68k)
9058            # FIXME: we need at least 68020 code to build shared libraries, but
9059            # adding the '-m68020' flag to GCC prevents building anything better,
9060            # like '-m68040'.
9061            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9062        ;;
9063      esac
9064      ;;
9065
9066    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9067      # PIC is the default for these OSes.
9068      ;;
9069
9070    mingw* | cygwin* | pw32* | os2* | cegcc*)
9071      # This hack is so that the source file can tell whether it is being
9072      # built for inclusion in a dll (and should export symbols for example).
9073      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9074      # (--disable-auto-import) libraries
9075      lt_prog_compiler_pic='-DDLL_EXPORT'
9076      case $host_os in
9077      os2*)
9078	lt_prog_compiler_static='$wl-static'
9079	;;
9080      esac
9081      ;;
9082
9083    darwin* | rhapsody*)
9084      # PIC is the default on this platform
9085      # Common symbols not allowed in MH_DYLIB files
9086      lt_prog_compiler_pic='-fno-common'
9087      ;;
9088
9089    haiku*)
9090      # PIC is the default for Haiku.
9091      # The "-static" flag exists, but is broken.
9092      lt_prog_compiler_static=
9093      ;;
9094
9095    hpux*)
9096      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9097      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9098      # sets the default TLS model and affects inlining.
9099      case $host_cpu in
9100      hppa*64*)
9101	# +Z the default
9102	;;
9103      *)
9104	lt_prog_compiler_pic='-fPIC'
9105	;;
9106      esac
9107      ;;
9108
9109    interix[3-9]*)
9110      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9111      # Instead, we relocate shared libraries at runtime.
9112      ;;
9113
9114    msdosdjgpp*)
9115      # Just because we use GCC doesn't mean we suddenly get shared libraries
9116      # on systems that don't support them.
9117      lt_prog_compiler_can_build_shared=no
9118      enable_shared=no
9119      ;;
9120
9121    *nto* | *qnx*)
9122      # QNX uses GNU C++, but need to define -shared option too, otherwise
9123      # it will coredump.
9124      lt_prog_compiler_pic='-fPIC -shared'
9125      ;;
9126
9127    sysv4*MP*)
9128      if test -d /usr/nec; then
9129	lt_prog_compiler_pic=-Kconform_pic
9130      fi
9131      ;;
9132
9133    *)
9134      lt_prog_compiler_pic='-fPIC'
9135      ;;
9136    esac
9137
9138    case $cc_basename in
9139    nvcc*) # Cuda Compiler Driver 2.2
9140      lt_prog_compiler_wl='-Xlinker '
9141      if test -n "$lt_prog_compiler_pic"; then
9142        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9143      fi
9144      ;;
9145    esac
9146  else
9147    # PORTME Check for flag to pass linker flags through the system compiler.
9148    case $host_os in
9149    aix*)
9150      lt_prog_compiler_wl='-Wl,'
9151      if test ia64 = "$host_cpu"; then
9152	# AIX 5 now supports IA64 processor
9153	lt_prog_compiler_static='-Bstatic'
9154      else
9155	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9156      fi
9157      ;;
9158
9159    darwin* | rhapsody*)
9160      # PIC is the default on this platform
9161      # Common symbols not allowed in MH_DYLIB files
9162      lt_prog_compiler_pic='-fno-common'
9163      case $cc_basename in
9164      nagfor*)
9165        # NAG Fortran compiler
9166        lt_prog_compiler_wl='-Wl,-Wl,,'
9167        lt_prog_compiler_pic='-PIC'
9168        lt_prog_compiler_static='-Bstatic'
9169        ;;
9170      esac
9171      ;;
9172
9173    mingw* | cygwin* | pw32* | os2* | cegcc*)
9174      # This hack is so that the source file can tell whether it is being
9175      # built for inclusion in a dll (and should export symbols for example).
9176      lt_prog_compiler_pic='-DDLL_EXPORT'
9177      case $host_os in
9178      os2*)
9179	lt_prog_compiler_static='$wl-static'
9180	;;
9181      esac
9182      ;;
9183
9184    hpux9* | hpux10* | hpux11*)
9185      lt_prog_compiler_wl='-Wl,'
9186      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9187      # not for PA HP-UX.
9188      case $host_cpu in
9189      hppa*64*|ia64*)
9190	# +Z the default
9191	;;
9192      *)
9193	lt_prog_compiler_pic='+Z'
9194	;;
9195      esac
9196      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9197      lt_prog_compiler_static='$wl-a ${wl}archive'
9198      ;;
9199
9200    irix5* | irix6* | nonstopux*)
9201      lt_prog_compiler_wl='-Wl,'
9202      # PIC (with -KPIC) is the default.
9203      lt_prog_compiler_static='-non_shared'
9204      ;;
9205
9206    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9207      case $cc_basename in
9208      # old Intel for x86_64, which still supported -KPIC.
9209      ecc*)
9210	lt_prog_compiler_wl='-Wl,'
9211	lt_prog_compiler_pic='-KPIC'
9212	lt_prog_compiler_static='-static'
9213        ;;
9214      # flang / f18. f95 an alias for gfortran or flang on Debian
9215      flang* | f18* | f95*)
9216	lt_prog_compiler_wl='-Wl,'
9217	lt_prog_compiler_pic='-fPIC'
9218	lt_prog_compiler_static='-static'
9219        ;;
9220      # icc used to be incompatible with GCC.
9221      # ICC 10 doesn't accept -KPIC any more.
9222      icc* | ifort*)
9223	lt_prog_compiler_wl='-Wl,'
9224	lt_prog_compiler_pic='-fPIC'
9225	lt_prog_compiler_static='-static'
9226        ;;
9227      # Lahey Fortran 8.1.
9228      lf95*)
9229	lt_prog_compiler_wl='-Wl,'
9230	lt_prog_compiler_pic='--shared'
9231	lt_prog_compiler_static='--static'
9232	;;
9233      nagfor*)
9234	# NAG Fortran compiler
9235	lt_prog_compiler_wl='-Wl,-Wl,,'
9236	lt_prog_compiler_pic='-PIC'
9237	lt_prog_compiler_static='-Bstatic'
9238	;;
9239      tcc*)
9240	# Fabrice Bellard et al's Tiny C Compiler
9241	lt_prog_compiler_wl='-Wl,'
9242	lt_prog_compiler_pic='-fPIC'
9243	lt_prog_compiler_static='-static'
9244	;;
9245      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9246        # Portland Group compilers (*not* the Pentium gcc compiler,
9247	# which looks to be a dead project)
9248	lt_prog_compiler_wl='-Wl,'
9249	lt_prog_compiler_pic='-fpic'
9250	lt_prog_compiler_static='-Bstatic'
9251        ;;
9252      ccc*)
9253        lt_prog_compiler_wl='-Wl,'
9254        # All Alpha code is PIC.
9255        lt_prog_compiler_static='-non_shared'
9256        ;;
9257      xl* | bgxl* | bgf* | mpixl*)
9258	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9259	lt_prog_compiler_wl='-Wl,'
9260	lt_prog_compiler_pic='-qpic'
9261	lt_prog_compiler_static='-qstaticlink'
9262	;;
9263      *)
9264	case `$CC -V 2>&1 | sed 5q` in
9265	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9266	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9267	  lt_prog_compiler_pic='-KPIC'
9268	  lt_prog_compiler_static='-Bstatic'
9269	  lt_prog_compiler_wl=''
9270	  ;;
9271	*Sun\ F* | *Sun*Fortran*)
9272	  lt_prog_compiler_pic='-KPIC'
9273	  lt_prog_compiler_static='-Bstatic'
9274	  lt_prog_compiler_wl='-Qoption ld '
9275	  ;;
9276	*Sun\ C*)
9277	  # Sun C 5.9
9278	  lt_prog_compiler_pic='-KPIC'
9279	  lt_prog_compiler_static='-Bstatic'
9280	  lt_prog_compiler_wl='-Wl,'
9281	  ;;
9282        *Intel*\ [CF]*Compiler*)
9283	  lt_prog_compiler_wl='-Wl,'
9284	  lt_prog_compiler_pic='-fPIC'
9285	  lt_prog_compiler_static='-static'
9286	  ;;
9287	*Portland\ Group*)
9288	  lt_prog_compiler_wl='-Wl,'
9289	  lt_prog_compiler_pic='-fpic'
9290	  lt_prog_compiler_static='-Bstatic'
9291	  ;;
9292	esac
9293	;;
9294      esac
9295      ;;
9296
9297    newsos6)
9298      lt_prog_compiler_pic='-KPIC'
9299      lt_prog_compiler_static='-Bstatic'
9300      ;;
9301
9302    *nto* | *qnx*)
9303      # QNX uses GNU C++, but need to define -shared option too, otherwise
9304      # it will coredump.
9305      lt_prog_compiler_pic='-fPIC -shared'
9306      ;;
9307
9308    osf3* | osf4* | osf5*)
9309      lt_prog_compiler_wl='-Wl,'
9310      # All OSF/1 code is PIC.
9311      lt_prog_compiler_static='-non_shared'
9312      ;;
9313
9314    rdos*)
9315      lt_prog_compiler_static='-non_shared'
9316      ;;
9317
9318    solaris*)
9319      lt_prog_compiler_pic='-KPIC'
9320      lt_prog_compiler_static='-Bstatic'
9321      case $cc_basename in
9322      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9323	lt_prog_compiler_wl='-Qoption ld ';;
9324      *)
9325	lt_prog_compiler_wl='-Wl,';;
9326      esac
9327      ;;
9328
9329    sunos4*)
9330      lt_prog_compiler_wl='-Qoption ld '
9331      lt_prog_compiler_pic='-PIC'
9332      lt_prog_compiler_static='-Bstatic'
9333      ;;
9334
9335    sysv4 | sysv4.2uw2* | sysv4.3*)
9336      lt_prog_compiler_wl='-Wl,'
9337      lt_prog_compiler_pic='-KPIC'
9338      lt_prog_compiler_static='-Bstatic'
9339      ;;
9340
9341    sysv4*MP*)
9342      if test -d /usr/nec; then
9343	lt_prog_compiler_pic='-Kconform_pic'
9344	lt_prog_compiler_static='-Bstatic'
9345      fi
9346      ;;
9347
9348    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9349      lt_prog_compiler_wl='-Wl,'
9350      lt_prog_compiler_pic='-KPIC'
9351      lt_prog_compiler_static='-Bstatic'
9352      ;;
9353
9354    unicos*)
9355      lt_prog_compiler_wl='-Wl,'
9356      lt_prog_compiler_can_build_shared=no
9357      ;;
9358
9359    uts4*)
9360      lt_prog_compiler_pic='-pic'
9361      lt_prog_compiler_static='-Bstatic'
9362      ;;
9363
9364    *)
9365      lt_prog_compiler_can_build_shared=no
9366      ;;
9367    esac
9368  fi
9369
9370case $host_os in
9371  # For platforms that do not support PIC, -DPIC is meaningless:
9372  *djgpp*)
9373    lt_prog_compiler_pic=
9374    ;;
9375  *)
9376    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9377    ;;
9378esac
9379
9380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9381$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9382if ${lt_cv_prog_compiler_pic+:} false; then :
9383  $as_echo_n "(cached) " >&6
9384else
9385  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9386fi
9387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9388$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9389lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9390
9391#
9392# Check to make sure the PIC flag actually works.
9393#
9394if test -n "$lt_prog_compiler_pic"; then
9395  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9396$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9397if ${lt_cv_prog_compiler_pic_works+:} false; then :
9398  $as_echo_n "(cached) " >&6
9399else
9400  lt_cv_prog_compiler_pic_works=no
9401   ac_outfile=conftest.$ac_objext
9402   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9403   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9404   # Insert the option either (1) after the last *FLAGS variable, or
9405   # (2) before a word containing "conftest.", or (3) at the end.
9406   # Note that $ac_compile itself does not contain backslashes and begins
9407   # with a dollar sign (not a hyphen), so the echo should work correctly.
9408   # The option is referenced via a variable to avoid confusing sed.
9409   lt_compile=`echo "$ac_compile" | $SED \
9410   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9411   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9412   -e 's:$: $lt_compiler_flag:'`
9413   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9414   (eval "$lt_compile" 2>conftest.err)
9415   ac_status=$?
9416   cat conftest.err >&5
9417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418   if (exit $ac_status) && test -s "$ac_outfile"; then
9419     # The compiler can only warn and ignore the option if not recognized
9420     # So say no if there are warnings other than the usual output.
9421     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9422     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9423     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9424       lt_cv_prog_compiler_pic_works=yes
9425     fi
9426   fi
9427   $RM conftest*
9428
9429fi
9430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9431$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9432
9433if test yes = "$lt_cv_prog_compiler_pic_works"; then
9434    case $lt_prog_compiler_pic in
9435     "" | " "*) ;;
9436     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9437     esac
9438else
9439    lt_prog_compiler_pic=
9440     lt_prog_compiler_can_build_shared=no
9441fi
9442
9443fi
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455#
9456# Check to make sure the static flag actually works.
9457#
9458wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9460$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9461if ${lt_cv_prog_compiler_static_works+:} false; then :
9462  $as_echo_n "(cached) " >&6
9463else
9464  lt_cv_prog_compiler_static_works=no
9465   save_LDFLAGS=$LDFLAGS
9466   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9467   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9468   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9469     # The linker can only warn and ignore the option if not recognized
9470     # So say no if there are warnings
9471     if test -s conftest.err; then
9472       # Append any errors to the config.log.
9473       cat conftest.err 1>&5
9474       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9475       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9476       if diff conftest.exp conftest.er2 >/dev/null; then
9477         lt_cv_prog_compiler_static_works=yes
9478       fi
9479     else
9480       lt_cv_prog_compiler_static_works=yes
9481     fi
9482   fi
9483   $RM -r conftest*
9484   LDFLAGS=$save_LDFLAGS
9485
9486fi
9487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9488$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9489
9490if test yes = "$lt_cv_prog_compiler_static_works"; then
9491    :
9492else
9493    lt_prog_compiler_static=
9494fi
9495
9496
9497
9498
9499
9500
9501
9502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9503$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9504if ${lt_cv_prog_compiler_c_o+:} false; then :
9505  $as_echo_n "(cached) " >&6
9506else
9507  lt_cv_prog_compiler_c_o=no
9508   $RM -r conftest 2>/dev/null
9509   mkdir conftest
9510   cd conftest
9511   mkdir out
9512   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9513
9514   lt_compiler_flag="-o out/conftest2.$ac_objext"
9515   # Insert the option either (1) after the last *FLAGS variable, or
9516   # (2) before a word containing "conftest.", or (3) at the end.
9517   # Note that $ac_compile itself does not contain backslashes and begins
9518   # with a dollar sign (not a hyphen), so the echo should work correctly.
9519   lt_compile=`echo "$ac_compile" | $SED \
9520   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9521   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9522   -e 's:$: $lt_compiler_flag:'`
9523   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9524   (eval "$lt_compile" 2>out/conftest.err)
9525   ac_status=$?
9526   cat out/conftest.err >&5
9527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9529   then
9530     # The compiler can only warn and ignore the option if not recognized
9531     # So say no if there are warnings
9532     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9533     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9534     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9535       lt_cv_prog_compiler_c_o=yes
9536     fi
9537   fi
9538   chmod u+w . 2>&5
9539   $RM conftest*
9540   # SGI C++ compiler will create directory out/ii_files/ for
9541   # template instantiation
9542   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9543   $RM out/* && rmdir out
9544   cd ..
9545   $RM -r conftest
9546   $RM conftest*
9547
9548fi
9549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9550$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9551
9552
9553
9554
9555
9556
9557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9558$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9559if ${lt_cv_prog_compiler_c_o+:} false; then :
9560  $as_echo_n "(cached) " >&6
9561else
9562  lt_cv_prog_compiler_c_o=no
9563   $RM -r conftest 2>/dev/null
9564   mkdir conftest
9565   cd conftest
9566   mkdir out
9567   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9568
9569   lt_compiler_flag="-o out/conftest2.$ac_objext"
9570   # Insert the option either (1) after the last *FLAGS variable, or
9571   # (2) before a word containing "conftest.", or (3) at the end.
9572   # Note that $ac_compile itself does not contain backslashes and begins
9573   # with a dollar sign (not a hyphen), so the echo should work correctly.
9574   lt_compile=`echo "$ac_compile" | $SED \
9575   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9576   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9577   -e 's:$: $lt_compiler_flag:'`
9578   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9579   (eval "$lt_compile" 2>out/conftest.err)
9580   ac_status=$?
9581   cat out/conftest.err >&5
9582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9584   then
9585     # The compiler can only warn and ignore the option if not recognized
9586     # So say no if there are warnings
9587     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9588     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9589     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9590       lt_cv_prog_compiler_c_o=yes
9591     fi
9592   fi
9593   chmod u+w . 2>&5
9594   $RM conftest*
9595   # SGI C++ compiler will create directory out/ii_files/ for
9596   # template instantiation
9597   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9598   $RM out/* && rmdir out
9599   cd ..
9600   $RM -r conftest
9601   $RM conftest*
9602
9603fi
9604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9605$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9606
9607
9608
9609
9610hard_links=nottested
9611if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9612  # do not overwrite the value of need_locks provided by the user
9613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9614$as_echo_n "checking if we can lock with hard links... " >&6; }
9615  hard_links=yes
9616  $RM conftest*
9617  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9618  touch conftest.a
9619  ln conftest.a conftest.b 2>&5 || hard_links=no
9620  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9622$as_echo "$hard_links" >&6; }
9623  if test no = "$hard_links"; then
9624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9625$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9626    need_locks=warn
9627  fi
9628else
9629  need_locks=no
9630fi
9631
9632
9633
9634
9635
9636
9637  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9638$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9639
9640  runpath_var=
9641  allow_undefined_flag=
9642  always_export_symbols=no
9643  archive_cmds=
9644  archive_expsym_cmds=
9645  compiler_needs_object=no
9646  enable_shared_with_static_runtimes=no
9647  export_dynamic_flag_spec=
9648  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9649  hardcode_automatic=no
9650  hardcode_direct=no
9651  hardcode_direct_absolute=no
9652  hardcode_libdir_flag_spec=
9653  hardcode_libdir_separator=
9654  hardcode_minus_L=no
9655  hardcode_shlibpath_var=unsupported
9656  inherit_rpath=no
9657  link_all_deplibs=unknown
9658  module_cmds=
9659  module_expsym_cmds=
9660  old_archive_from_new_cmds=
9661  old_archive_from_expsyms_cmds=
9662  thread_safe_flag_spec=
9663  whole_archive_flag_spec=
9664  # include_expsyms should be a list of space-separated symbols to be *always*
9665  # included in the symbol list
9666  include_expsyms=
9667  # exclude_expsyms can be an extended regexp of symbols to exclude
9668  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9669  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9670  # as well as any symbol that contains 'd'.
9671  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9672  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9673  # platforms (ab)use it in PIC code, but their linkers get confused if
9674  # the symbol is explicitly referenced.  Since portable code cannot
9675  # rely on this symbol name, it's probably fine to never include it in
9676  # preloaded symbol tables.
9677  # Exclude shared library initialization/finalization symbols.
9678  extract_expsyms_cmds=
9679
9680  case $host_os in
9681  cygwin* | mingw* | pw32* | cegcc*)
9682    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9683    # When not using gcc, we currently assume that we are using
9684    # Microsoft Visual C++.
9685    if test yes != "$GCC"; then
9686      with_gnu_ld=no
9687    fi
9688    ;;
9689  interix*)
9690    # we just hope/assume this is gcc and not c89 (= MSVC++)
9691    with_gnu_ld=yes
9692    ;;
9693  openbsd* | bitrig*)
9694    with_gnu_ld=no
9695    ;;
9696  linux* | k*bsd*-gnu | gnu*)
9697    link_all_deplibs=no
9698    ;;
9699  esac
9700
9701  ld_shlibs=yes
9702
9703  # On some targets, GNU ld is compatible enough with the native linker
9704  # that we're better off using the native interface for both.
9705  lt_use_gnu_ld_interface=no
9706  if test yes = "$with_gnu_ld"; then
9707    case $host_os in
9708      aix*)
9709	# The AIX port of GNU ld has always aspired to compatibility
9710	# with the native linker.  However, as the warning in the GNU ld
9711	# block says, versions before 2.19.5* couldn't really create working
9712	# shared libraries, regardless of the interface used.
9713	case `$LD -v 2>&1` in
9714	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9715	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9716	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9717	  *)
9718	    lt_use_gnu_ld_interface=yes
9719	    ;;
9720	esac
9721	;;
9722      *)
9723	lt_use_gnu_ld_interface=yes
9724	;;
9725    esac
9726  fi
9727
9728  if test yes = "$lt_use_gnu_ld_interface"; then
9729    # If archive_cmds runs LD, not CC, wlarc should be empty
9730    wlarc='$wl'
9731
9732    # Set some defaults for GNU ld with shared library support. These
9733    # are reset later if shared libraries are not supported. Putting them
9734    # here allows them to be overridden if necessary.
9735    runpath_var=LD_RUN_PATH
9736    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9737    export_dynamic_flag_spec='$wl--export-dynamic'
9738    # ancient GNU ld didn't support --whole-archive et. al.
9739    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9740      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9741    else
9742      whole_archive_flag_spec=
9743    fi
9744    supports_anon_versioning=no
9745    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9746      *GNU\ gold*) supports_anon_versioning=yes ;;
9747      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9748      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9749      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9750      *\ 2.11.*) ;; # other 2.11 versions
9751      *) supports_anon_versioning=yes ;;
9752    esac
9753
9754    # See if GNU ld supports shared libraries.
9755    case $host_os in
9756    aix[3-9]*)
9757      # On AIX/PPC, the GNU linker is very broken
9758      if test ia64 != "$host_cpu"; then
9759	ld_shlibs=no
9760	cat <<_LT_EOF 1>&2
9761
9762*** Warning: the GNU linker, at least up to release 2.19, is reported
9763*** to be unable to reliably create shared libraries on AIX.
9764*** Therefore, libtool is disabling shared libraries support.  If you
9765*** really care for shared libraries, you may want to install binutils
9766*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9767*** You will then need to restart the configuration process.
9768
9769_LT_EOF
9770      fi
9771      ;;
9772
9773    amigaos*)
9774      case $host_cpu in
9775      powerpc)
9776            # see comment about AmigaOS4 .so support
9777            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9778            archive_expsym_cmds=''
9779        ;;
9780      m68k)
9781            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)'
9782            hardcode_libdir_flag_spec='-L$libdir'
9783            hardcode_minus_L=yes
9784        ;;
9785      esac
9786      ;;
9787
9788    beos*)
9789      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9790	allow_undefined_flag=unsupported
9791	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9792	# support --undefined.  This deserves some investigation.  FIXME
9793	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9794      else
9795	ld_shlibs=no
9796      fi
9797      ;;
9798
9799    cygwin* | mingw* | pw32* | cegcc*)
9800      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9801      # as there is no search path for DLLs.
9802      hardcode_libdir_flag_spec='-L$libdir'
9803      export_dynamic_flag_spec='$wl--export-all-symbols'
9804      allow_undefined_flag=unsupported
9805      always_export_symbols=no
9806      enable_shared_with_static_runtimes=yes
9807      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'
9808      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9809
9810      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9811        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9812	# If the export-symbols file already is a .def file, use it as
9813	# is; otherwise, prepend EXPORTS...
9814	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9815          cp $export_symbols $output_objdir/$soname.def;
9816        else
9817          echo EXPORTS > $output_objdir/$soname.def;
9818          cat $export_symbols >> $output_objdir/$soname.def;
9819        fi~
9820        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9821      else
9822	ld_shlibs=no
9823      fi
9824      ;;
9825
9826    haiku*)
9827      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9828      link_all_deplibs=yes
9829      ;;
9830
9831    os2*)
9832      hardcode_libdir_flag_spec='-L$libdir'
9833      hardcode_minus_L=yes
9834      allow_undefined_flag=unsupported
9835      shrext_cmds=.dll
9836      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9837	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9838	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9839	$ECHO EXPORTS >> $output_objdir/$libname.def~
9840	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9841	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9842	emximp -o $lib $output_objdir/$libname.def'
9843      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9844	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9845	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9846	$ECHO EXPORTS >> $output_objdir/$libname.def~
9847	prefix_cmds="$SED"~
9848	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9849	  prefix_cmds="$prefix_cmds -e 1d";
9850	fi~
9851	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9852	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9853	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9854	emximp -o $lib $output_objdir/$libname.def'
9855      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9856      enable_shared_with_static_runtimes=yes
9857      ;;
9858
9859    interix[3-9]*)
9860      hardcode_direct=no
9861      hardcode_shlibpath_var=no
9862      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9863      export_dynamic_flag_spec='$wl-E'
9864      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9865      # Instead, shared libraries are loaded at an image base (0x10000000 by
9866      # default) and relocated if they conflict, which is a slow very memory
9867      # consuming and fragmenting process.  To avoid this, we pick a random,
9868      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9869      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9870      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9871      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'
9872      ;;
9873
9874    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9875      tmp_diet=no
9876      if test linux-dietlibc = "$host_os"; then
9877	case $cc_basename in
9878	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9879	esac
9880      fi
9881      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9882	 && test no = "$tmp_diet"
9883      then
9884	tmp_addflag=' $pic_flag'
9885	tmp_sharedflag='-shared'
9886	case $cc_basename,$host_cpu in
9887        pgcc*)				# Portland Group C compiler
9888	  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'
9889	  tmp_addflag=' $pic_flag'
9890	  ;;
9891	pgf77* | pgf90* | pgf95* | pgfortran*)
9892					# Portland Group f77 and f90 compilers
9893	  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'
9894	  tmp_addflag=' $pic_flag -Mnomain' ;;
9895	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9896	  tmp_addflag=' -i_dynamic' ;;
9897	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9898	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9899	ifc* | ifort*)			# Intel Fortran compiler
9900	  tmp_addflag=' -nofor_main' ;;
9901	lf95*)				# Lahey Fortran 8.1
9902	  whole_archive_flag_spec=
9903	  tmp_sharedflag='--shared' ;;
9904        nagfor*)                        # NAGFOR 5.3
9905          tmp_sharedflag='-Wl,-shared' ;;
9906	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9907	  tmp_sharedflag='-qmkshrobj'
9908	  tmp_addflag= ;;
9909	nvcc*)	# Cuda Compiler Driver 2.2
9910	  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'
9911	  compiler_needs_object=yes
9912	  ;;
9913	esac
9914	case `$CC -V 2>&1 | sed 5q` in
9915	*Sun\ C*)			# Sun C 5.9
9916	  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'
9917	  compiler_needs_object=yes
9918	  tmp_sharedflag='-G' ;;
9919	*Sun\ F*)			# Sun Fortran 8.3
9920	  tmp_sharedflag='-G' ;;
9921	esac
9922	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9923
9924        if test yes = "$supports_anon_versioning"; then
9925          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9926            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9927            echo "local: *; };" >> $output_objdir/$libname.ver~
9928            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9929        fi
9930
9931	case $cc_basename in
9932	tcc*)
9933	  export_dynamic_flag_spec='-rdynamic'
9934	  ;;
9935	xlf* | bgf* | bgxlf* | mpixlf*)
9936	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9937	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9938	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9939	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9940	  if test yes = "$supports_anon_versioning"; then
9941	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9942              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9943              echo "local: *; };" >> $output_objdir/$libname.ver~
9944              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9945	  fi
9946	  ;;
9947	esac
9948      else
9949        ld_shlibs=no
9950      fi
9951      ;;
9952
9953    netbsd* | netbsdelf*-gnu)
9954      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9955	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9956	wlarc=
9957      else
9958	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9959	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9960      fi
9961      ;;
9962
9963    solaris*)
9964      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9965	ld_shlibs=no
9966	cat <<_LT_EOF 1>&2
9967
9968*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9969*** create shared libraries on Solaris systems.  Therefore, libtool
9970*** is disabling shared libraries support.  We urge you to upgrade GNU
9971*** binutils to release 2.9.1 or newer.  Another option is to modify
9972*** your PATH or compiler configuration so that the native linker is
9973*** used, and then restart.
9974
9975_LT_EOF
9976      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9977	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9978	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9979      else
9980	ld_shlibs=no
9981      fi
9982      ;;
9983
9984    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9985      case `$LD -v 2>&1` in
9986        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9987	ld_shlibs=no
9988	cat <<_LT_EOF 1>&2
9989
9990*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9991*** reliably create shared libraries on SCO systems.  Therefore, libtool
9992*** is disabling shared libraries support.  We urge you to upgrade GNU
9993*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9994*** your PATH or compiler configuration so that the native linker is
9995*** used, and then restart.
9996
9997_LT_EOF
9998	;;
9999	*)
10000	  # For security reasons, it is highly recommended that you always
10001	  # use absolute paths for naming shared libraries, and exclude the
10002	  # DT_RUNPATH tag from executables and libraries.  But doing so
10003	  # requires that you compile everything twice, which is a pain.
10004	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10005	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10006	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10007	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10008	  else
10009	    ld_shlibs=no
10010	  fi
10011	;;
10012      esac
10013      ;;
10014
10015    sunos4*)
10016      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017      wlarc=
10018      hardcode_direct=yes
10019      hardcode_shlibpath_var=no
10020      ;;
10021
10022    *)
10023      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10024	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10025	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10026      else
10027	ld_shlibs=no
10028      fi
10029      ;;
10030    esac
10031
10032    if test no = "$ld_shlibs"; then
10033      runpath_var=
10034      hardcode_libdir_flag_spec=
10035      export_dynamic_flag_spec=
10036      whole_archive_flag_spec=
10037    fi
10038  else
10039    # PORTME fill in a description of your system's linker (not GNU ld)
10040    case $host_os in
10041    aix3*)
10042      allow_undefined_flag=unsupported
10043      always_export_symbols=yes
10044      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'
10045      # Note: this linker hardcodes the directories in LIBPATH if there
10046      # are no directories specified by -L.
10047      hardcode_minus_L=yes
10048      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10049	# Neither direct hardcoding nor static linking is supported with a
10050	# broken collect2.
10051	hardcode_direct=unsupported
10052      fi
10053      ;;
10054
10055    aix[4-9]*)
10056      if test ia64 = "$host_cpu"; then
10057	# On IA64, the linker does run time linking by default, so we don't
10058	# have to do anything special.
10059	aix_use_runtimelinking=no
10060	exp_sym_flag='-Bexport'
10061	no_entry_flag=
10062      else
10063	# If we're using GNU nm, then we don't want the "-C" option.
10064	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10065	# Without the "-l" option, or with the "-B" option, AIX nm treats
10066	# weak defined symbols like other global defined symbols, whereas
10067	# GNU nm marks them as "W".
10068	# While the 'weak' keyword is ignored in the Export File, we need
10069	# it in the Import File for the 'aix-soname' feature, so we have
10070	# to replace the "-B" option with "-P" for AIX nm.
10071	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10072	  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'
10073	else
10074	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10075	fi
10076	aix_use_runtimelinking=no
10077
10078	# Test if we are trying to use run time linking or normal
10079	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10080	# have runtime linking enabled, and use it for executables.
10081	# For shared libraries, we enable/disable runtime linking
10082	# depending on the kind of the shared library created -
10083	# when "with_aix_soname,aix_use_runtimelinking" is:
10084	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10085	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10086	#            lib.a           static archive
10087	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10088	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10089	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10090	#            lib.a(lib.so.V) shared, rtl:no
10091	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10092	#            lib.a           static archive
10093	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10094	  for ld_flag in $LDFLAGS; do
10095	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10096	    aix_use_runtimelinking=yes
10097	    break
10098	  fi
10099	  done
10100	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10101	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10102	    # so we don't have lib.a shared libs to link our executables.
10103	    # We have to force runtime linking in this case.
10104	    aix_use_runtimelinking=yes
10105	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10106	  fi
10107	  ;;
10108	esac
10109
10110	exp_sym_flag='-bexport'
10111	no_entry_flag='-bnoentry'
10112      fi
10113
10114      # When large executables or shared objects are built, AIX ld can
10115      # have problems creating the table of contents.  If linking a library
10116      # or program results in "error TOC overflow" add -mminimal-toc to
10117      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10118      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10119
10120      archive_cmds=''
10121      hardcode_direct=yes
10122      hardcode_direct_absolute=yes
10123      hardcode_libdir_separator=':'
10124      link_all_deplibs=yes
10125      file_list_spec='$wl-f,'
10126      case $with_aix_soname,$aix_use_runtimelinking in
10127      aix,*) ;; # traditional, no import file
10128      svr4,* | *,yes) # use import file
10129	# The Import File defines what to hardcode.
10130	hardcode_direct=no
10131	hardcode_direct_absolute=no
10132	;;
10133      esac
10134
10135      if test yes = "$GCC"; then
10136	case $host_os in aix4.[012]|aix4.[012].*)
10137	# We only want to do this on AIX 4.2 and lower, the check
10138	# below for broken collect2 doesn't work under 4.3+
10139	  collect2name=`$CC -print-prog-name=collect2`
10140	  if test -f "$collect2name" &&
10141	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10142	  then
10143	  # We have reworked collect2
10144	  :
10145	  else
10146	  # We have old collect2
10147	  hardcode_direct=unsupported
10148	  # It fails to find uninstalled libraries when the uninstalled
10149	  # path is not listed in the libpath.  Setting hardcode_minus_L
10150	  # to unsupported forces relinking
10151	  hardcode_minus_L=yes
10152	  hardcode_libdir_flag_spec='-L$libdir'
10153	  hardcode_libdir_separator=
10154	  fi
10155	  ;;
10156	esac
10157	shared_flag='-shared'
10158	if test yes = "$aix_use_runtimelinking"; then
10159	  shared_flag="$shared_flag "'$wl-G'
10160	fi
10161	# Need to ensure runtime linking is disabled for the traditional
10162	# shared library, or the linker may eventually find shared libraries
10163	# /with/ Import File - we do not want to mix them.
10164	shared_flag_aix='-shared'
10165	shared_flag_svr4='-shared $wl-G'
10166      else
10167	# not using gcc
10168	if test ia64 = "$host_cpu"; then
10169	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10170	# chokes on -Wl,-G. The following line is correct:
10171	  shared_flag='-G'
10172	else
10173	  if test yes = "$aix_use_runtimelinking"; then
10174	    shared_flag='$wl-G'
10175	  else
10176	    shared_flag='$wl-bM:SRE'
10177	  fi
10178	  shared_flag_aix='$wl-bM:SRE'
10179	  shared_flag_svr4='$wl-G'
10180	fi
10181      fi
10182
10183      export_dynamic_flag_spec='$wl-bexpall'
10184      # It seems that -bexpall does not export symbols beginning with
10185      # underscore (_), so it is better to generate a list of symbols to export.
10186      always_export_symbols=yes
10187      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10188	# Warning - without using the other runtime loading flags (-brtl),
10189	# -berok will link without error, but may produce a broken library.
10190	allow_undefined_flag='-berok'
10191        # Determine the default libpath from the value encoded in an
10192        # empty executable.
10193        if test set = "${lt_cv_aix_libpath+set}"; then
10194  aix_libpath=$lt_cv_aix_libpath
10195else
10196  if ${lt_cv_aix_libpath_+:} false; then :
10197  $as_echo_n "(cached) " >&6
10198else
10199  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200/* end confdefs.h.  */
10201
10202int
10203main ()
10204{
10205
10206  ;
10207  return 0;
10208}
10209_ACEOF
10210if ac_fn_c_try_link "$LINENO"; then :
10211
10212  lt_aix_libpath_sed='
10213      /Import File Strings/,/^$/ {
10214	  /^0/ {
10215	      s/^0  *\([^ ]*\) *$/\1/
10216	      p
10217	  }
10218      }'
10219  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10220  # Check for a 64-bit object if we didn't find anything.
10221  if test -z "$lt_cv_aix_libpath_"; then
10222    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10223  fi
10224fi
10225rm -f core conftest.err conftest.$ac_objext \
10226    conftest$ac_exeext conftest.$ac_ext
10227  if test -z "$lt_cv_aix_libpath_"; then
10228    lt_cv_aix_libpath_=/usr/lib:/lib
10229  fi
10230
10231fi
10232
10233  aix_libpath=$lt_cv_aix_libpath_
10234fi
10235
10236        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10237        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
10238      else
10239	if test ia64 = "$host_cpu"; then
10240	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10241	  allow_undefined_flag="-z nodefs"
10242	  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"
10243	else
10244	 # Determine the default libpath from the value encoded in an
10245	 # empty executable.
10246	 if test set = "${lt_cv_aix_libpath+set}"; then
10247  aix_libpath=$lt_cv_aix_libpath
10248else
10249  if ${lt_cv_aix_libpath_+:} false; then :
10250  $as_echo_n "(cached) " >&6
10251else
10252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253/* end confdefs.h.  */
10254
10255int
10256main ()
10257{
10258
10259  ;
10260  return 0;
10261}
10262_ACEOF
10263if ac_fn_c_try_link "$LINENO"; then :
10264
10265  lt_aix_libpath_sed='
10266      /Import File Strings/,/^$/ {
10267	  /^0/ {
10268	      s/^0  *\([^ ]*\) *$/\1/
10269	      p
10270	  }
10271      }'
10272  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273  # Check for a 64-bit object if we didn't find anything.
10274  if test -z "$lt_cv_aix_libpath_"; then
10275    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10276  fi
10277fi
10278rm -f core conftest.err conftest.$ac_objext \
10279    conftest$ac_exeext conftest.$ac_ext
10280  if test -z "$lt_cv_aix_libpath_"; then
10281    lt_cv_aix_libpath_=/usr/lib:/lib
10282  fi
10283
10284fi
10285
10286  aix_libpath=$lt_cv_aix_libpath_
10287fi
10288
10289	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10290	  # Warning - without using the other run time loading flags,
10291	  # -berok will link without error, but may produce a broken library.
10292	  no_undefined_flag=' $wl-bernotok'
10293	  allow_undefined_flag=' $wl-berok'
10294	  if test yes = "$with_gnu_ld"; then
10295	    # We only use this code for GNU lds that support --whole-archive.
10296	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10297	  else
10298	    # Exported symbols can be pulled into shared objects from archives
10299	    whole_archive_flag_spec='$convenience'
10300	  fi
10301	  archive_cmds_need_lc=yes
10302	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10303	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10304	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10305	  if test svr4 != "$with_aix_soname"; then
10306	    # This is similar to how AIX traditionally builds its shared libraries.
10307	    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'
10308	  fi
10309	  if test aix != "$with_aix_soname"; then
10310	    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'
10311	  else
10312	    # used by -dlpreopen to get the symbols
10313	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10314	  fi
10315	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10316	fi
10317      fi
10318      ;;
10319
10320    amigaos*)
10321      case $host_cpu in
10322      powerpc)
10323            # see comment about AmigaOS4 .so support
10324            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10325            archive_expsym_cmds=''
10326        ;;
10327      m68k)
10328            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)'
10329            hardcode_libdir_flag_spec='-L$libdir'
10330            hardcode_minus_L=yes
10331        ;;
10332      esac
10333      ;;
10334
10335    bsdi[45]*)
10336      export_dynamic_flag_spec=-rdynamic
10337      ;;
10338
10339    cygwin* | mingw* | pw32* | cegcc*)
10340      # When not using gcc, we currently assume that we are using
10341      # Microsoft Visual C++.
10342      # hardcode_libdir_flag_spec is actually meaningless, as there is
10343      # no search path for DLLs.
10344      case $cc_basename in
10345      cl*)
10346	# Native MSVC
10347	hardcode_libdir_flag_spec=' '
10348	allow_undefined_flag=unsupported
10349	always_export_symbols=yes
10350	file_list_spec='@'
10351	# Tell ltmain to make .lib files, not .a files.
10352	libext=lib
10353	# Tell ltmain to make .dll files, not .so files.
10354	shrext_cmds=.dll
10355	# FIXME: Setting linknames here is a bad hack.
10356	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10357	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10358            cp "$export_symbols" "$output_objdir/$soname.def";
10359            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10360          else
10361            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10362          fi~
10363          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10364          linknames='
10365	# The linker will not automatically build a static lib if we build a DLL.
10366	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10367	enable_shared_with_static_runtimes=yes
10368	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10369	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10370	# Don't use ranlib
10371	old_postinstall_cmds='chmod 644 $oldlib'
10372	postlink_cmds='lt_outputfile="@OUTPUT@"~
10373          lt_tool_outputfile="@TOOL_OUTPUT@"~
10374          case $lt_outputfile in
10375            *.exe|*.EXE) ;;
10376            *)
10377              lt_outputfile=$lt_outputfile.exe
10378              lt_tool_outputfile=$lt_tool_outputfile.exe
10379              ;;
10380          esac~
10381          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10382            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10383            $RM "$lt_outputfile.manifest";
10384          fi'
10385	;;
10386      *)
10387	# Assume MSVC wrapper
10388	hardcode_libdir_flag_spec=' '
10389	allow_undefined_flag=unsupported
10390	# Tell ltmain to make .lib files, not .a files.
10391	libext=lib
10392	# Tell ltmain to make .dll files, not .so files.
10393	shrext_cmds=.dll
10394	# FIXME: Setting linknames here is a bad hack.
10395	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10396	# The linker will automatically build a .lib file if we build a DLL.
10397	old_archive_from_new_cmds='true'
10398	# FIXME: Should let the user specify the lib program.
10399	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10400	enable_shared_with_static_runtimes=yes
10401	;;
10402      esac
10403      ;;
10404
10405    darwin* | rhapsody*)
10406
10407
10408  archive_cmds_need_lc=no
10409  hardcode_direct=no
10410  hardcode_automatic=yes
10411  hardcode_shlibpath_var=unsupported
10412  if test yes = "$lt_cv_ld_force_load"; then
10413    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\"`'
10414
10415  else
10416    whole_archive_flag_spec=''
10417  fi
10418  link_all_deplibs=yes
10419  allow_undefined_flag=$_lt_dar_allow_undefined
10420  case $cc_basename in
10421     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10422     *) _lt_dar_can_shared=$GCC ;;
10423  esac
10424  if test yes = "$_lt_dar_can_shared"; then
10425    output_verbose_link_cmd=func_echo_all
10426    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10427    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10428    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"
10429    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"
10430
10431  else
10432  ld_shlibs=no
10433  fi
10434
10435      ;;
10436
10437    dgux*)
10438      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10439      hardcode_libdir_flag_spec='-L$libdir'
10440      hardcode_shlibpath_var=no
10441      ;;
10442
10443    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10444    # support.  Future versions do this automatically, but an explicit c++rt0.o
10445    # does not break anything, and helps significantly (at the cost of a little
10446    # extra space).
10447    freebsd2.2*)
10448      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10449      hardcode_libdir_flag_spec='-R$libdir'
10450      hardcode_direct=yes
10451      hardcode_shlibpath_var=no
10452      ;;
10453
10454    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10455    freebsd2.*)
10456      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10457      hardcode_direct=yes
10458      hardcode_minus_L=yes
10459      hardcode_shlibpath_var=no
10460      ;;
10461
10462    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10463    freebsd* | dragonfly*)
10464      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10465      hardcode_libdir_flag_spec='-R$libdir'
10466      hardcode_direct=yes
10467      hardcode_shlibpath_var=no
10468      ;;
10469
10470    hpux9*)
10471      if test yes = "$GCC"; then
10472	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'
10473      else
10474	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'
10475      fi
10476      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10477      hardcode_libdir_separator=:
10478      hardcode_direct=yes
10479
10480      # hardcode_minus_L: Not really in the search PATH,
10481      # but as the default location of the library.
10482      hardcode_minus_L=yes
10483      export_dynamic_flag_spec='$wl-E'
10484      ;;
10485
10486    hpux10*)
10487      if test yes,no = "$GCC,$with_gnu_ld"; then
10488	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10489      else
10490	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10491      fi
10492      if test no = "$with_gnu_ld"; then
10493	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10494	hardcode_libdir_separator=:
10495	hardcode_direct=yes
10496	hardcode_direct_absolute=yes
10497	export_dynamic_flag_spec='$wl-E'
10498	# hardcode_minus_L: Not really in the search PATH,
10499	# but as the default location of the library.
10500	hardcode_minus_L=yes
10501      fi
10502      ;;
10503
10504    hpux11*)
10505      if test yes,no = "$GCC,$with_gnu_ld"; then
10506	case $host_cpu in
10507	hppa*64*)
10508	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10509	  ;;
10510	ia64*)
10511	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10512	  ;;
10513	*)
10514	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10515	  ;;
10516	esac
10517      else
10518	case $host_cpu in
10519	hppa*64*)
10520	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10521	  ;;
10522	ia64*)
10523	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10524	  ;;
10525	*)
10526
10527	  # Older versions of the 11.00 compiler do not understand -b yet
10528	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10529	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10530$as_echo_n "checking if $CC understands -b... " >&6; }
10531if ${lt_cv_prog_compiler__b+:} false; then :
10532  $as_echo_n "(cached) " >&6
10533else
10534  lt_cv_prog_compiler__b=no
10535   save_LDFLAGS=$LDFLAGS
10536   LDFLAGS="$LDFLAGS -b"
10537   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10538   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10539     # The linker can only warn and ignore the option if not recognized
10540     # So say no if there are warnings
10541     if test -s conftest.err; then
10542       # Append any errors to the config.log.
10543       cat conftest.err 1>&5
10544       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10545       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10546       if diff conftest.exp conftest.er2 >/dev/null; then
10547         lt_cv_prog_compiler__b=yes
10548       fi
10549     else
10550       lt_cv_prog_compiler__b=yes
10551     fi
10552   fi
10553   $RM -r conftest*
10554   LDFLAGS=$save_LDFLAGS
10555
10556fi
10557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10558$as_echo "$lt_cv_prog_compiler__b" >&6; }
10559
10560if test yes = "$lt_cv_prog_compiler__b"; then
10561    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10562else
10563    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10564fi
10565
10566	  ;;
10567	esac
10568      fi
10569      if test no = "$with_gnu_ld"; then
10570	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10571	hardcode_libdir_separator=:
10572
10573	case $host_cpu in
10574	hppa*64*|ia64*)
10575	  hardcode_direct=no
10576	  hardcode_shlibpath_var=no
10577	  ;;
10578	*)
10579	  hardcode_direct=yes
10580	  hardcode_direct_absolute=yes
10581	  export_dynamic_flag_spec='$wl-E'
10582
10583	  # hardcode_minus_L: Not really in the search PATH,
10584	  # but as the default location of the library.
10585	  hardcode_minus_L=yes
10586	  ;;
10587	esac
10588      fi
10589      ;;
10590
10591    irix5* | irix6* | nonstopux*)
10592      if test yes = "$GCC"; then
10593	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'
10594	# Try to use the -exported_symbol ld option, if it does not
10595	# work, assume that -exports_file does not work either and
10596	# implicitly export all symbols.
10597	# This should be the same for all languages, so no per-tag cache variable.
10598	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10599$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10600if ${lt_cv_irix_exported_symbol+:} false; then :
10601  $as_echo_n "(cached) " >&6
10602else
10603  save_LDFLAGS=$LDFLAGS
10604	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10605	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606/* end confdefs.h.  */
10607int foo (void) { return 0; }
10608_ACEOF
10609if ac_fn_c_try_link "$LINENO"; then :
10610  lt_cv_irix_exported_symbol=yes
10611else
10612  lt_cv_irix_exported_symbol=no
10613fi
10614rm -f core conftest.err conftest.$ac_objext \
10615    conftest$ac_exeext conftest.$ac_ext
10616           LDFLAGS=$save_LDFLAGS
10617fi
10618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10619$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10620	if test yes = "$lt_cv_irix_exported_symbol"; then
10621          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'
10622	fi
10623	link_all_deplibs=no
10624      else
10625	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'
10626	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'
10627      fi
10628      archive_cmds_need_lc='no'
10629      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10630      hardcode_libdir_separator=:
10631      inherit_rpath=yes
10632      link_all_deplibs=yes
10633      ;;
10634
10635    linux*)
10636      case $cc_basename in
10637      tcc*)
10638	# Fabrice Bellard et al's Tiny C Compiler
10639	ld_shlibs=yes
10640	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10641	;;
10642      esac
10643      ;;
10644
10645    netbsd* | netbsdelf*-gnu)
10646      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10647	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10648      else
10649	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10650      fi
10651      hardcode_libdir_flag_spec='-R$libdir'
10652      hardcode_direct=yes
10653      hardcode_shlibpath_var=no
10654      ;;
10655
10656    newsos6)
10657      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10658      hardcode_direct=yes
10659      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10660      hardcode_libdir_separator=:
10661      hardcode_shlibpath_var=no
10662      ;;
10663
10664    *nto* | *qnx*)
10665      ;;
10666
10667    openbsd* | bitrig*)
10668      if test -f /usr/libexec/ld.so; then
10669	hardcode_direct=yes
10670	hardcode_shlibpath_var=no
10671	hardcode_direct_absolute=yes
10672	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10673	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10674	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10675	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10676	  export_dynamic_flag_spec='$wl-E'
10677	else
10678	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10679	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10680	fi
10681      else
10682	ld_shlibs=no
10683      fi
10684      ;;
10685
10686    os2*)
10687      hardcode_libdir_flag_spec='-L$libdir'
10688      hardcode_minus_L=yes
10689      allow_undefined_flag=unsupported
10690      shrext_cmds=.dll
10691      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10692	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10693	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10694	$ECHO EXPORTS >> $output_objdir/$libname.def~
10695	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10696	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10697	emximp -o $lib $output_objdir/$libname.def'
10698      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10699	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10700	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10701	$ECHO EXPORTS >> $output_objdir/$libname.def~
10702	prefix_cmds="$SED"~
10703	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10704	  prefix_cmds="$prefix_cmds -e 1d";
10705	fi~
10706	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10707	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10708	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10709	emximp -o $lib $output_objdir/$libname.def'
10710      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10711      enable_shared_with_static_runtimes=yes
10712      ;;
10713
10714    osf3*)
10715      if test yes = "$GCC"; then
10716	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10717	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'
10718      else
10719	allow_undefined_flag=' -expect_unresolved \*'
10720	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'
10721      fi
10722      archive_cmds_need_lc='no'
10723      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10724      hardcode_libdir_separator=:
10725      ;;
10726
10727    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10728      if test yes = "$GCC"; then
10729	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10730	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'
10731	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10732      else
10733	allow_undefined_flag=' -expect_unresolved \*'
10734	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'
10735	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~
10736          $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'
10737
10738	# Both c and cxx compiler support -rpath directly
10739	hardcode_libdir_flag_spec='-rpath $libdir'
10740      fi
10741      archive_cmds_need_lc='no'
10742      hardcode_libdir_separator=:
10743      ;;
10744
10745    solaris*)
10746      no_undefined_flag=' -z defs'
10747      if test yes = "$GCC"; then
10748	wlarc='$wl'
10749	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10750	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10751          $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'
10752      else
10753	case `$CC -V 2>&1` in
10754	*"Compilers 5.0"*)
10755	  wlarc=''
10756	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10758            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10759	  ;;
10760	*)
10761	  wlarc='$wl'
10762	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10763	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10764            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10765	  ;;
10766	esac
10767      fi
10768      hardcode_libdir_flag_spec='-R$libdir'
10769      hardcode_shlibpath_var=no
10770      case $host_os in
10771      solaris2.[0-5] | solaris2.[0-5].*) ;;
10772      *)
10773	# The compiler driver will combine and reorder linker options,
10774	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10775	# but is careful enough not to reorder.
10776	# Supported since Solaris 2.6 (maybe 2.5.1?)
10777	if test yes = "$GCC"; then
10778	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10779	else
10780	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10781	fi
10782	;;
10783      esac
10784      link_all_deplibs=yes
10785      ;;
10786
10787    sunos4*)
10788      if test sequent = "$host_vendor"; then
10789	# Use $CC to link under sequent, because it throws in some extra .o
10790	# files that make .init and .fini sections work.
10791	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10792      else
10793	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10794      fi
10795      hardcode_libdir_flag_spec='-L$libdir'
10796      hardcode_direct=yes
10797      hardcode_minus_L=yes
10798      hardcode_shlibpath_var=no
10799      ;;
10800
10801    sysv4)
10802      case $host_vendor in
10803	sni)
10804	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10805	  hardcode_direct=yes # is this really true???
10806	;;
10807	siemens)
10808	  ## LD is ld it makes a PLAMLIB
10809	  ## CC just makes a GrossModule.
10810	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10811	  reload_cmds='$CC -r -o $output$reload_objs'
10812	  hardcode_direct=no
10813        ;;
10814	motorola)
10815	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10816	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10817	;;
10818      esac
10819      runpath_var='LD_RUN_PATH'
10820      hardcode_shlibpath_var=no
10821      ;;
10822
10823    sysv4.3*)
10824      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10825      hardcode_shlibpath_var=no
10826      export_dynamic_flag_spec='-Bexport'
10827      ;;
10828
10829    sysv4*MP*)
10830      if test -d /usr/nec; then
10831	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10832	hardcode_shlibpath_var=no
10833	runpath_var=LD_RUN_PATH
10834	hardcode_runpath_var=yes
10835	ld_shlibs=yes
10836      fi
10837      ;;
10838
10839    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10840      no_undefined_flag='$wl-z,text'
10841      archive_cmds_need_lc=no
10842      hardcode_shlibpath_var=no
10843      runpath_var='LD_RUN_PATH'
10844
10845      if test yes = "$GCC"; then
10846	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10847	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10848      else
10849	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10850	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10851      fi
10852      ;;
10853
10854    sysv5* | sco3.2v5* | sco5v6*)
10855      # Note: We CANNOT use -z defs as we might desire, because we do not
10856      # link with -lc, and that would cause any symbols used from libc to
10857      # always be unresolved, which means just about no library would
10858      # ever link correctly.  If we're not using GNU ld we use -z text
10859      # though, which does catch some bad symbols but isn't as heavy-handed
10860      # as -z defs.
10861      no_undefined_flag='$wl-z,text'
10862      allow_undefined_flag='$wl-z,nodefs'
10863      archive_cmds_need_lc=no
10864      hardcode_shlibpath_var=no
10865      hardcode_libdir_flag_spec='$wl-R,$libdir'
10866      hardcode_libdir_separator=':'
10867      link_all_deplibs=yes
10868      export_dynamic_flag_spec='$wl-Bexport'
10869      runpath_var='LD_RUN_PATH'
10870
10871      if test yes = "$GCC"; then
10872	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10873	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10874      else
10875	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10876	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10877      fi
10878      ;;
10879
10880    uts4*)
10881      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10882      hardcode_libdir_flag_spec='-L$libdir'
10883      hardcode_shlibpath_var=no
10884      ;;
10885
10886    *)
10887      ld_shlibs=no
10888      ;;
10889    esac
10890
10891    if test sni = "$host_vendor"; then
10892      case $host in
10893      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10894	export_dynamic_flag_spec='$wl-Blargedynsym'
10895	;;
10896      esac
10897    fi
10898  fi
10899
10900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10901$as_echo "$ld_shlibs" >&6; }
10902test no = "$ld_shlibs" && can_build_shared=no
10903
10904with_gnu_ld=$with_gnu_ld
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920#
10921# Do we need to explicitly link libc?
10922#
10923case "x$archive_cmds_need_lc" in
10924x|xyes)
10925  # Assume -lc should be added
10926  archive_cmds_need_lc=yes
10927
10928  if test yes,yes = "$GCC,$enable_shared"; then
10929    case $archive_cmds in
10930    *'~'*)
10931      # FIXME: we may have to deal with multi-command sequences.
10932      ;;
10933    '$CC '*)
10934      # Test whether the compiler implicitly links with -lc since on some
10935      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10936      # to ld, don't add -lc before -lgcc.
10937      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10938$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10939if ${lt_cv_archive_cmds_need_lc+:} false; then :
10940  $as_echo_n "(cached) " >&6
10941else
10942  $RM conftest*
10943	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10944
10945	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10946  (eval $ac_compile) 2>&5
10947  ac_status=$?
10948  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10949  test $ac_status = 0; } 2>conftest.err; then
10950	  soname=conftest
10951	  lib=conftest
10952	  libobjs=conftest.$ac_objext
10953	  deplibs=
10954	  wl=$lt_prog_compiler_wl
10955	  pic_flag=$lt_prog_compiler_pic
10956	  compiler_flags=-v
10957	  linker_flags=-v
10958	  verstring=
10959	  output_objdir=.
10960	  libname=conftest
10961	  lt_save_allow_undefined_flag=$allow_undefined_flag
10962	  allow_undefined_flag=
10963	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10964  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10965  ac_status=$?
10966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10967  test $ac_status = 0; }
10968	  then
10969	    lt_cv_archive_cmds_need_lc=no
10970	  else
10971	    lt_cv_archive_cmds_need_lc=yes
10972	  fi
10973	  allow_undefined_flag=$lt_save_allow_undefined_flag
10974	else
10975	  cat conftest.err 1>&5
10976	fi
10977	$RM conftest*
10978
10979fi
10980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10981$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10982      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10983      ;;
10984    esac
10985  fi
10986  ;;
10987esac
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11141$as_echo_n "checking dynamic linker characteristics... " >&6; }
11142
11143if test yes = "$GCC"; then
11144  case $host_os in
11145    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11146    *) lt_awk_arg='/^libraries:/' ;;
11147  esac
11148  case $host_os in
11149    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11150    *) lt_sed_strip_eq='s|=/|/|g' ;;
11151  esac
11152  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11153  case $lt_search_path_spec in
11154  *\;*)
11155    # if the path contains ";" then we assume it to be the separator
11156    # otherwise default to the standard path separator (i.e. ":") - it is
11157    # assumed that no part of a normal pathname contains ";" but that should
11158    # okay in the real world where ";" in dirpaths is itself problematic.
11159    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11160    ;;
11161  *)
11162    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11163    ;;
11164  esac
11165  # Ok, now we have the path, separated by spaces, we can step through it
11166  # and add multilib dir if necessary...
11167  lt_tmp_lt_search_path_spec=
11168  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11169  # ...but if some path component already ends with the multilib dir we assume
11170  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11171  case "$lt_multi_os_dir; $lt_search_path_spec " in
11172  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11173    lt_multi_os_dir=
11174    ;;
11175  esac
11176  for lt_sys_path in $lt_search_path_spec; do
11177    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11178      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11179    elif test -n "$lt_multi_os_dir"; then
11180      test -d "$lt_sys_path" && \
11181	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11182    fi
11183  done
11184  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11185BEGIN {RS = " "; FS = "/|\n";} {
11186  lt_foo = "";
11187  lt_count = 0;
11188  for (lt_i = NF; lt_i > 0; lt_i--) {
11189    if ($lt_i != "" && $lt_i != ".") {
11190      if ($lt_i == "..") {
11191        lt_count++;
11192      } else {
11193        if (lt_count == 0) {
11194          lt_foo = "/" $lt_i lt_foo;
11195        } else {
11196          lt_count--;
11197        }
11198      }
11199    }
11200  }
11201  if (lt_foo != "") { lt_freq[lt_foo]++; }
11202  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11203}'`
11204  # AWK program above erroneously prepends '/' to C:/dos/paths
11205  # for these hosts.
11206  case $host_os in
11207    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11208      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11209  esac
11210  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11211else
11212  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11213fi
11214library_names_spec=
11215libname_spec='lib$name'
11216soname_spec=
11217shrext_cmds=.so
11218postinstall_cmds=
11219postuninstall_cmds=
11220finish_cmds=
11221finish_eval=
11222shlibpath_var=
11223shlibpath_overrides_runpath=unknown
11224version_type=none
11225dynamic_linker="$host_os ld.so"
11226sys_lib_dlsearch_path_spec="/lib /usr/lib"
11227need_lib_prefix=unknown
11228hardcode_into_libs=no
11229
11230# when you set need_version to no, make sure it does not cause -set_version
11231# flags to be left without arguments
11232need_version=unknown
11233
11234
11235
11236case $host_os in
11237aix3*)
11238  version_type=linux # correct to gnu/linux during the next big refactor
11239  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11240  shlibpath_var=LIBPATH
11241
11242  # AIX 3 has no versioning support, so we append a major version to the name.
11243  soname_spec='$libname$release$shared_ext$major'
11244  ;;
11245
11246aix[4-9]*)
11247  version_type=linux # correct to gnu/linux during the next big refactor
11248  need_lib_prefix=no
11249  need_version=no
11250  hardcode_into_libs=yes
11251  if test ia64 = "$host_cpu"; then
11252    # AIX 5 supports IA64
11253    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11254    shlibpath_var=LD_LIBRARY_PATH
11255  else
11256    # With GCC up to 2.95.x, collect2 would create an import file
11257    # for dependence libraries.  The import file would start with
11258    # the line '#! .'.  This would cause the generated library to
11259    # depend on '.', always an invalid library.  This was fixed in
11260    # development snapshots of GCC prior to 3.0.
11261    case $host_os in
11262      aix4 | aix4.[01] | aix4.[01].*)
11263      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11264	   echo ' yes '
11265	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11266	:
11267      else
11268	can_build_shared=no
11269      fi
11270      ;;
11271    esac
11272    # Using Import Files as archive members, it is possible to support
11273    # filename-based versioning of shared library archives on AIX. While
11274    # this would work for both with and without runtime linking, it will
11275    # prevent static linking of such archives. So we do filename-based
11276    # shared library versioning with .so extension only, which is used
11277    # when both runtime linking and shared linking is enabled.
11278    # Unfortunately, runtime linking may impact performance, so we do
11279    # not want this to be the default eventually. Also, we use the
11280    # versioned .so libs for executables only if there is the -brtl
11281    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11282    # To allow for filename-based versioning support, we need to create
11283    # libNAME.so.V as an archive file, containing:
11284    # *) an Import File, referring to the versioned filename of the
11285    #    archive as well as the shared archive member, telling the
11286    #    bitwidth (32 or 64) of that shared object, and providing the
11287    #    list of exported symbols of that shared object, eventually
11288    #    decorated with the 'weak' keyword
11289    # *) the shared object with the F_LOADONLY flag set, to really avoid
11290    #    it being seen by the linker.
11291    # At run time we better use the real file rather than another symlink,
11292    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11293
11294    case $with_aix_soname,$aix_use_runtimelinking in
11295    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11296    # soname into executable. Probably we can add versioning support to
11297    # collect2, so additional links can be useful in future.
11298    aix,yes) # traditional libtool
11299      dynamic_linker='AIX unversionable lib.so'
11300      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11301      # instead of lib<name>.a to let people know that these are not
11302      # typical AIX shared libraries.
11303      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304      ;;
11305    aix,no) # traditional AIX only
11306      dynamic_linker='AIX lib.a(lib.so.V)'
11307      # We preserve .a as extension for shared libraries through AIX4.2
11308      # and later when we are not doing run time linking.
11309      library_names_spec='$libname$release.a $libname.a'
11310      soname_spec='$libname$release$shared_ext$major'
11311      ;;
11312    svr4,*) # full svr4 only
11313      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11314      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11315      # We do not specify a path in Import Files, so LIBPATH fires.
11316      shlibpath_overrides_runpath=yes
11317      ;;
11318    *,yes) # both, prefer svr4
11319      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11320      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11321      # unpreferred sharedlib libNAME.a needs extra handling
11322      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"'
11323      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"'
11324      # We do not specify a path in Import Files, so LIBPATH fires.
11325      shlibpath_overrides_runpath=yes
11326      ;;
11327    *,no) # both, prefer aix
11328      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11329      library_names_spec='$libname$release.a $libname.a'
11330      soname_spec='$libname$release$shared_ext$major'
11331      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11332      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)'
11333      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"'
11334      ;;
11335    esac
11336    shlibpath_var=LIBPATH
11337  fi
11338  ;;
11339
11340amigaos*)
11341  case $host_cpu in
11342  powerpc)
11343    # Since July 2007 AmigaOS4 officially supports .so libraries.
11344    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11345    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11346    ;;
11347  m68k)
11348    library_names_spec='$libname.ixlibrary $libname.a'
11349    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11350    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'
11351    ;;
11352  esac
11353  ;;
11354
11355beos*)
11356  library_names_spec='$libname$shared_ext'
11357  dynamic_linker="$host_os ld.so"
11358  shlibpath_var=LIBRARY_PATH
11359  ;;
11360
11361bsdi[45]*)
11362  version_type=linux # correct to gnu/linux during the next big refactor
11363  need_version=no
11364  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11365  soname_spec='$libname$release$shared_ext$major'
11366  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11367  shlibpath_var=LD_LIBRARY_PATH
11368  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11369  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11370  # the default ld.so.conf also contains /usr/contrib/lib and
11371  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11372  # libtool to hard-code these into programs
11373  ;;
11374
11375cygwin* | mingw* | pw32* | cegcc*)
11376  version_type=windows
11377  shrext_cmds=.dll
11378  need_version=no
11379  need_lib_prefix=no
11380
11381  case $GCC,$cc_basename in
11382  yes,*)
11383    # gcc
11384    library_names_spec='$libname.dll.a'
11385    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11386    postinstall_cmds='base_file=`basename \$file`~
11387      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11388      dldir=$destdir/`dirname \$dlpath`~
11389      test -d \$dldir || mkdir -p \$dldir~
11390      $install_prog $dir/$dlname \$dldir/$dlname~
11391      chmod a+x \$dldir/$dlname~
11392      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11393        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11394      fi'
11395    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11396      dlpath=$dir/\$dldll~
11397       $RM \$dlpath'
11398    shlibpath_overrides_runpath=yes
11399
11400    case $host_os in
11401    cygwin*)
11402      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11403      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11404
11405      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11406      ;;
11407    mingw* | cegcc*)
11408      # MinGW DLLs use traditional 'lib' prefix
11409      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11410      ;;
11411    pw32*)
11412      # pw32 DLLs use 'pw' prefix rather than 'lib'
11413      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11414      ;;
11415    esac
11416    dynamic_linker='Win32 ld.exe'
11417    ;;
11418
11419  *,cl*)
11420    # Native MSVC
11421    libname_spec='$name'
11422    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11423    library_names_spec='$libname.dll.lib'
11424
11425    case $build_os in
11426    mingw*)
11427      sys_lib_search_path_spec=
11428      lt_save_ifs=$IFS
11429      IFS=';'
11430      for lt_path in $LIB
11431      do
11432        IFS=$lt_save_ifs
11433        # Let DOS variable expansion print the short 8.3 style file name.
11434        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11435        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11436      done
11437      IFS=$lt_save_ifs
11438      # Convert to MSYS style.
11439      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11440      ;;
11441    cygwin*)
11442      # Convert to unix form, then to dos form, then back to unix form
11443      # but this time dos style (no spaces!) so that the unix form looks
11444      # like /cygdrive/c/PROGRA~1:/cygdr...
11445      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11446      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11447      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11448      ;;
11449    *)
11450      sys_lib_search_path_spec=$LIB
11451      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11452        # It is most probably a Windows format PATH.
11453        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11454      else
11455        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11456      fi
11457      # FIXME: find the short name or the path components, as spaces are
11458      # common. (e.g. "Program Files" -> "PROGRA~1")
11459      ;;
11460    esac
11461
11462    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11463    postinstall_cmds='base_file=`basename \$file`~
11464      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11465      dldir=$destdir/`dirname \$dlpath`~
11466      test -d \$dldir || mkdir -p \$dldir~
11467      $install_prog $dir/$dlname \$dldir/$dlname'
11468    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11469      dlpath=$dir/\$dldll~
11470       $RM \$dlpath'
11471    shlibpath_overrides_runpath=yes
11472    dynamic_linker='Win32 link.exe'
11473    ;;
11474
11475  *)
11476    # Assume MSVC wrapper
11477    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11478    dynamic_linker='Win32 ld.exe'
11479    ;;
11480  esac
11481  # FIXME: first we should search . and the directory the executable is in
11482  shlibpath_var=PATH
11483  ;;
11484
11485darwin* | rhapsody*)
11486  dynamic_linker="$host_os dyld"
11487  version_type=darwin
11488  need_lib_prefix=no
11489  need_version=no
11490  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11491  soname_spec='$libname$release$major$shared_ext'
11492  shlibpath_overrides_runpath=yes
11493  shlibpath_var=DYLD_LIBRARY_PATH
11494  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11495
11496  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11497  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11498  ;;
11499
11500dgux*)
11501  version_type=linux # correct to gnu/linux during the next big refactor
11502  need_lib_prefix=no
11503  need_version=no
11504  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11505  soname_spec='$libname$release$shared_ext$major'
11506  shlibpath_var=LD_LIBRARY_PATH
11507  ;;
11508
11509freebsd* | dragonfly*)
11510  # DragonFly does not have aout.  When/if they implement a new
11511  # versioning mechanism, adjust this.
11512  if test -x /usr/bin/objformat; then
11513    objformat=`/usr/bin/objformat`
11514  else
11515    case $host_os in
11516    freebsd[23].*) objformat=aout ;;
11517    *) objformat=elf ;;
11518    esac
11519  fi
11520  version_type=freebsd-$objformat
11521  case $version_type in
11522    freebsd-elf*)
11523      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11524      soname_spec='$libname$release$shared_ext$major'
11525      need_version=no
11526      need_lib_prefix=no
11527      ;;
11528    freebsd-*)
11529      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11530      need_version=yes
11531      ;;
11532  esac
11533  shlibpath_var=LD_LIBRARY_PATH
11534  case $host_os in
11535  freebsd2.*)
11536    shlibpath_overrides_runpath=yes
11537    ;;
11538  freebsd3.[01]* | freebsdelf3.[01]*)
11539    shlibpath_overrides_runpath=yes
11540    hardcode_into_libs=yes
11541    ;;
11542  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11543  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11544    shlibpath_overrides_runpath=no
11545    hardcode_into_libs=yes
11546    ;;
11547  *) # from 4.6 on, and DragonFly
11548    shlibpath_overrides_runpath=yes
11549    hardcode_into_libs=yes
11550    ;;
11551  esac
11552  ;;
11553
11554haiku*)
11555  version_type=linux # correct to gnu/linux during the next big refactor
11556  need_lib_prefix=no
11557  need_version=no
11558  dynamic_linker="$host_os runtime_loader"
11559  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11560  soname_spec='$libname$release$shared_ext$major'
11561  shlibpath_var=LIBRARY_PATH
11562  shlibpath_overrides_runpath=no
11563  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11564  hardcode_into_libs=yes
11565  ;;
11566
11567hpux9* | hpux10* | hpux11*)
11568  # Give a soname corresponding to the major version so that dld.sl refuses to
11569  # link against other versions.
11570  version_type=sunos
11571  need_lib_prefix=no
11572  need_version=no
11573  case $host_cpu in
11574  ia64*)
11575    shrext_cmds='.so'
11576    hardcode_into_libs=yes
11577    dynamic_linker="$host_os dld.so"
11578    shlibpath_var=LD_LIBRARY_PATH
11579    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11580    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11581    soname_spec='$libname$release$shared_ext$major'
11582    if test 32 = "$HPUX_IA64_MODE"; then
11583      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11584      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11585    else
11586      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11587      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11588    fi
11589    ;;
11590  hppa*64*)
11591    shrext_cmds='.sl'
11592    hardcode_into_libs=yes
11593    dynamic_linker="$host_os dld.sl"
11594    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11595    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11596    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11597    soname_spec='$libname$release$shared_ext$major'
11598    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11599    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11600    ;;
11601  *)
11602    shrext_cmds='.sl'
11603    dynamic_linker="$host_os dld.sl"
11604    shlibpath_var=SHLIB_PATH
11605    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11606    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11607    soname_spec='$libname$release$shared_ext$major'
11608    ;;
11609  esac
11610  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11611  postinstall_cmds='chmod 555 $lib'
11612  # or fails outright, so override atomically:
11613  install_override_mode=555
11614  ;;
11615
11616interix[3-9]*)
11617  version_type=linux # correct to gnu/linux during the next big refactor
11618  need_lib_prefix=no
11619  need_version=no
11620  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11621  soname_spec='$libname$release$shared_ext$major'
11622  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11623  shlibpath_var=LD_LIBRARY_PATH
11624  shlibpath_overrides_runpath=no
11625  hardcode_into_libs=yes
11626  ;;
11627
11628irix5* | irix6* | nonstopux*)
11629  case $host_os in
11630    nonstopux*) version_type=nonstopux ;;
11631    *)
11632	if test yes = "$lt_cv_prog_gnu_ld"; then
11633		version_type=linux # correct to gnu/linux during the next big refactor
11634	else
11635		version_type=irix
11636	fi ;;
11637  esac
11638  need_lib_prefix=no
11639  need_version=no
11640  soname_spec='$libname$release$shared_ext$major'
11641  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11642  case $host_os in
11643  irix5* | nonstopux*)
11644    libsuff= shlibsuff=
11645    ;;
11646  *)
11647    case $LD in # libtool.m4 will add one of these switches to LD
11648    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11649      libsuff= shlibsuff= libmagic=32-bit;;
11650    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11651      libsuff=32 shlibsuff=N32 libmagic=N32;;
11652    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11653      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11654    *) libsuff= shlibsuff= libmagic=never-match;;
11655    esac
11656    ;;
11657  esac
11658  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11659  shlibpath_overrides_runpath=no
11660  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11661  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11662  hardcode_into_libs=yes
11663  ;;
11664
11665# No shared lib support for Linux oldld, aout, or coff.
11666linux*oldld* | linux*aout* | linux*coff*)
11667  dynamic_linker=no
11668  ;;
11669
11670linux*android*)
11671  version_type=none # Android doesn't support versioned libraries.
11672  need_lib_prefix=no
11673  need_version=no
11674  library_names_spec='$libname$release$shared_ext'
11675  soname_spec='$libname$release$shared_ext'
11676  finish_cmds=
11677  shlibpath_var=LD_LIBRARY_PATH
11678  shlibpath_overrides_runpath=yes
11679
11680  # This implies no fast_install, which is unacceptable.
11681  # Some rework will be needed to allow for fast_install
11682  # before this can be enabled.
11683  hardcode_into_libs=yes
11684
11685  dynamic_linker='Android linker'
11686  # Don't embed -rpath directories since the linker doesn't support them.
11687  hardcode_libdir_flag_spec='-L$libdir'
11688  ;;
11689
11690# This must be glibc/ELF.
11691linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11692  version_type=linux # correct to gnu/linux during the next big refactor
11693  need_lib_prefix=no
11694  need_version=no
11695  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11696  soname_spec='$libname$release$shared_ext$major'
11697  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11698  shlibpath_var=LD_LIBRARY_PATH
11699  shlibpath_overrides_runpath=no
11700
11701  # Some binutils ld are patched to set DT_RUNPATH
11702  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11703  $as_echo_n "(cached) " >&6
11704else
11705  lt_cv_shlibpath_overrides_runpath=no
11706    save_LDFLAGS=$LDFLAGS
11707    save_libdir=$libdir
11708    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11709	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11710    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11711/* end confdefs.h.  */
11712
11713int
11714main ()
11715{
11716
11717  ;
11718  return 0;
11719}
11720_ACEOF
11721if ac_fn_c_try_link "$LINENO"; then :
11722  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11723  lt_cv_shlibpath_overrides_runpath=yes
11724fi
11725fi
11726rm -f core conftest.err conftest.$ac_objext \
11727    conftest$ac_exeext conftest.$ac_ext
11728    LDFLAGS=$save_LDFLAGS
11729    libdir=$save_libdir
11730
11731fi
11732
11733  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11734
11735  # This implies no fast_install, which is unacceptable.
11736  # Some rework will be needed to allow for fast_install
11737  # before this can be enabled.
11738  hardcode_into_libs=yes
11739
11740  # Ideally, we could use ldconfig to report *all* directores which are
11741  # searched for libraries, however this is still not possible.  Aside from not
11742  # being certain /sbin/ldconfig is available, command
11743  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11744  # even though it is searched at run-time.  Try to do the best guess by
11745  # appending ld.so.conf contents (and includes) to the search path.
11746  if test -f /etc/ld.so.conf; then
11747    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' ' '`
11748    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11749  fi
11750
11751  # We used to test for /lib/ld.so.1 and disable shared libraries on
11752  # powerpc, because MkLinux only supported shared libraries with the
11753  # GNU dynamic linker.  Since this was broken with cross compilers,
11754  # most powerpc-linux boxes support dynamic linking these days and
11755  # people can always --disable-shared, the test was removed, and we
11756  # assume the GNU/Linux dynamic linker is in use.
11757  dynamic_linker='GNU/Linux ld.so'
11758  ;;
11759
11760netbsdelf*-gnu)
11761  version_type=linux
11762  need_lib_prefix=no
11763  need_version=no
11764  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11765  soname_spec='${libname}${release}${shared_ext}$major'
11766  shlibpath_var=LD_LIBRARY_PATH
11767  shlibpath_overrides_runpath=no
11768  hardcode_into_libs=yes
11769  dynamic_linker='NetBSD ld.elf_so'
11770  ;;
11771
11772netbsd*)
11773  version_type=sunos
11774  need_lib_prefix=no
11775  need_version=no
11776  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11777    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11778    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11779    dynamic_linker='NetBSD (a.out) ld.so'
11780  else
11781    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11782    soname_spec='$libname$release$shared_ext$major'
11783    dynamic_linker='NetBSD ld.elf_so'
11784  fi
11785  shlibpath_var=LD_LIBRARY_PATH
11786  shlibpath_overrides_runpath=yes
11787  hardcode_into_libs=yes
11788  ;;
11789
11790newsos6)
11791  version_type=linux # correct to gnu/linux during the next big refactor
11792  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11793  shlibpath_var=LD_LIBRARY_PATH
11794  shlibpath_overrides_runpath=yes
11795  ;;
11796
11797*nto* | *qnx*)
11798  version_type=qnx
11799  need_lib_prefix=no
11800  need_version=no
11801  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11802  soname_spec='$libname$release$shared_ext$major'
11803  shlibpath_var=LD_LIBRARY_PATH
11804  shlibpath_overrides_runpath=no
11805  hardcode_into_libs=yes
11806  dynamic_linker='ldqnx.so'
11807  ;;
11808
11809openbsd* | bitrig*)
11810  version_type=sunos
11811  sys_lib_dlsearch_path_spec=/usr/lib
11812  need_lib_prefix=no
11813  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11814    need_version=no
11815  else
11816    need_version=yes
11817  fi
11818  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11819  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11820  shlibpath_var=LD_LIBRARY_PATH
11821  shlibpath_overrides_runpath=yes
11822  ;;
11823
11824os2*)
11825  libname_spec='$name'
11826  version_type=windows
11827  shrext_cmds=.dll
11828  need_version=no
11829  need_lib_prefix=no
11830  # OS/2 can only load a DLL with a base name of 8 characters or less.
11831  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11832    v=$($ECHO $release$versuffix | tr -d .-);
11833    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11834    $ECHO $n$v`$shared_ext'
11835  library_names_spec='${libname}_dll.$libext'
11836  dynamic_linker='OS/2 ld.exe'
11837  shlibpath_var=BEGINLIBPATH
11838  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11839  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11840  postinstall_cmds='base_file=`basename \$file`~
11841    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11842    dldir=$destdir/`dirname \$dlpath`~
11843    test -d \$dldir || mkdir -p \$dldir~
11844    $install_prog $dir/$dlname \$dldir/$dlname~
11845    chmod a+x \$dldir/$dlname~
11846    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11847      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11848    fi'
11849  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11850    dlpath=$dir/\$dldll~
11851    $RM \$dlpath'
11852  ;;
11853
11854osf3* | osf4* | osf5*)
11855  version_type=osf
11856  need_lib_prefix=no
11857  need_version=no
11858  soname_spec='$libname$release$shared_ext$major'
11859  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11860  shlibpath_var=LD_LIBRARY_PATH
11861  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11862  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11863  ;;
11864
11865rdos*)
11866  dynamic_linker=no
11867  ;;
11868
11869solaris*)
11870  version_type=linux # correct to gnu/linux during the next big refactor
11871  need_lib_prefix=no
11872  need_version=no
11873  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11874  soname_spec='$libname$release$shared_ext$major'
11875  shlibpath_var=LD_LIBRARY_PATH
11876  shlibpath_overrides_runpath=yes
11877  hardcode_into_libs=yes
11878  # ldd complains unless libraries are executable
11879  postinstall_cmds='chmod +x $lib'
11880  ;;
11881
11882sunos4*)
11883  version_type=sunos
11884  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11885  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11886  shlibpath_var=LD_LIBRARY_PATH
11887  shlibpath_overrides_runpath=yes
11888  if test yes = "$with_gnu_ld"; then
11889    need_lib_prefix=no
11890  fi
11891  need_version=yes
11892  ;;
11893
11894sysv4 | sysv4.3*)
11895  version_type=linux # correct to gnu/linux during the next big refactor
11896  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11897  soname_spec='$libname$release$shared_ext$major'
11898  shlibpath_var=LD_LIBRARY_PATH
11899  case $host_vendor in
11900    sni)
11901      shlibpath_overrides_runpath=no
11902      need_lib_prefix=no
11903      runpath_var=LD_RUN_PATH
11904      ;;
11905    siemens)
11906      need_lib_prefix=no
11907      ;;
11908    motorola)
11909      need_lib_prefix=no
11910      need_version=no
11911      shlibpath_overrides_runpath=no
11912      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11913      ;;
11914  esac
11915  ;;
11916
11917sysv4*MP*)
11918  if test -d /usr/nec; then
11919    version_type=linux # correct to gnu/linux during the next big refactor
11920    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11921    soname_spec='$libname$shared_ext.$major'
11922    shlibpath_var=LD_LIBRARY_PATH
11923  fi
11924  ;;
11925
11926sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11927  version_type=sco
11928  need_lib_prefix=no
11929  need_version=no
11930  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11931  soname_spec='$libname$release$shared_ext$major'
11932  shlibpath_var=LD_LIBRARY_PATH
11933  shlibpath_overrides_runpath=yes
11934  hardcode_into_libs=yes
11935  if test yes = "$with_gnu_ld"; then
11936    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11937  else
11938    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11939    case $host_os in
11940      sco3.2v5*)
11941        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11942	;;
11943    esac
11944  fi
11945  sys_lib_dlsearch_path_spec='/usr/lib'
11946  ;;
11947
11948tpf*)
11949  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11950  version_type=linux # correct to gnu/linux during the next big refactor
11951  need_lib_prefix=no
11952  need_version=no
11953  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11954  shlibpath_var=LD_LIBRARY_PATH
11955  shlibpath_overrides_runpath=no
11956  hardcode_into_libs=yes
11957  ;;
11958
11959uts4*)
11960  version_type=linux # correct to gnu/linux during the next big refactor
11961  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11962  soname_spec='$libname$release$shared_ext$major'
11963  shlibpath_var=LD_LIBRARY_PATH
11964  ;;
11965
11966*)
11967  dynamic_linker=no
11968  ;;
11969esac
11970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11971$as_echo "$dynamic_linker" >&6; }
11972test no = "$dynamic_linker" && can_build_shared=no
11973
11974variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11975if test yes = "$GCC"; then
11976  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11977fi
11978
11979if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11980  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11981fi
11982
11983if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11984  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11985fi
11986
11987# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11988configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11989
11990# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11991func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11992
11993# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11994configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12093$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12094hardcode_action=
12095if test -n "$hardcode_libdir_flag_spec" ||
12096   test -n "$runpath_var" ||
12097   test yes = "$hardcode_automatic"; then
12098
12099  # We can hardcode non-existent directories.
12100  if test no != "$hardcode_direct" &&
12101     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12102     # have to relink, otherwise we might link with an installed library
12103     # when we should be linking with a yet-to-be-installed one
12104     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12105     test no != "$hardcode_minus_L"; then
12106    # Linking always hardcodes the temporary library directory.
12107    hardcode_action=relink
12108  else
12109    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12110    hardcode_action=immediate
12111  fi
12112else
12113  # We cannot hardcode anything, or else we can only hardcode existing
12114  # directories.
12115  hardcode_action=unsupported
12116fi
12117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12118$as_echo "$hardcode_action" >&6; }
12119
12120if test relink = "$hardcode_action" ||
12121   test yes = "$inherit_rpath"; then
12122  # Fast installation is not supported
12123  enable_fast_install=no
12124elif test yes = "$shlibpath_overrides_runpath" ||
12125     test no = "$enable_shared"; then
12126  # Fast installation is not necessary
12127  enable_fast_install=needless
12128fi
12129
12130
12131
12132
12133
12134
12135  if test yes != "$enable_dlopen"; then
12136  enable_dlopen=unknown
12137  enable_dlopen_self=unknown
12138  enable_dlopen_self_static=unknown
12139else
12140  lt_cv_dlopen=no
12141  lt_cv_dlopen_libs=
12142
12143  case $host_os in
12144  beos*)
12145    lt_cv_dlopen=load_add_on
12146    lt_cv_dlopen_libs=
12147    lt_cv_dlopen_self=yes
12148    ;;
12149
12150  mingw* | pw32* | cegcc*)
12151    lt_cv_dlopen=LoadLibrary
12152    lt_cv_dlopen_libs=
12153    ;;
12154
12155  cygwin*)
12156    lt_cv_dlopen=dlopen
12157    lt_cv_dlopen_libs=
12158    ;;
12159
12160  darwin*)
12161    # if libdl is installed we need to link against it
12162    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12163$as_echo_n "checking for dlopen in -ldl... " >&6; }
12164if ${ac_cv_lib_dl_dlopen+:} false; then :
12165  $as_echo_n "(cached) " >&6
12166else
12167  ac_check_lib_save_LIBS=$LIBS
12168LIBS="-ldl  $LIBS"
12169cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170/* end confdefs.h.  */
12171
12172/* Override any GCC internal prototype to avoid an error.
12173   Use char because int might match the return type of a GCC
12174   builtin and then its argument prototype would still apply.  */
12175#ifdef __cplusplus
12176extern "C"
12177#endif
12178char dlopen ();
12179int
12180main ()
12181{
12182return dlopen ();
12183  ;
12184  return 0;
12185}
12186_ACEOF
12187if ac_fn_c_try_link "$LINENO"; then :
12188  ac_cv_lib_dl_dlopen=yes
12189else
12190  ac_cv_lib_dl_dlopen=no
12191fi
12192rm -f core conftest.err conftest.$ac_objext \
12193    conftest$ac_exeext conftest.$ac_ext
12194LIBS=$ac_check_lib_save_LIBS
12195fi
12196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12197$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12198if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12199  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12200else
12201
12202    lt_cv_dlopen=dyld
12203    lt_cv_dlopen_libs=
12204    lt_cv_dlopen_self=yes
12205
12206fi
12207
12208    ;;
12209
12210  tpf*)
12211    # Don't try to run any link tests for TPF.  We know it's impossible
12212    # because TPF is a cross-compiler, and we know how we open DSOs.
12213    lt_cv_dlopen=dlopen
12214    lt_cv_dlopen_libs=
12215    lt_cv_dlopen_self=no
12216    ;;
12217
12218  *)
12219    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12220if test "x$ac_cv_func_shl_load" = xyes; then :
12221  lt_cv_dlopen=shl_load
12222else
12223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12224$as_echo_n "checking for shl_load in -ldld... " >&6; }
12225if ${ac_cv_lib_dld_shl_load+:} false; then :
12226  $as_echo_n "(cached) " >&6
12227else
12228  ac_check_lib_save_LIBS=$LIBS
12229LIBS="-ldld  $LIBS"
12230cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231/* end confdefs.h.  */
12232
12233/* Override any GCC internal prototype to avoid an error.
12234   Use char because int might match the return type of a GCC
12235   builtin and then its argument prototype would still apply.  */
12236#ifdef __cplusplus
12237extern "C"
12238#endif
12239char shl_load ();
12240int
12241main ()
12242{
12243return shl_load ();
12244  ;
12245  return 0;
12246}
12247_ACEOF
12248if ac_fn_c_try_link "$LINENO"; then :
12249  ac_cv_lib_dld_shl_load=yes
12250else
12251  ac_cv_lib_dld_shl_load=no
12252fi
12253rm -f core conftest.err conftest.$ac_objext \
12254    conftest$ac_exeext conftest.$ac_ext
12255LIBS=$ac_check_lib_save_LIBS
12256fi
12257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12258$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12259if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12260  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12261else
12262  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12263if test "x$ac_cv_func_dlopen" = xyes; then :
12264  lt_cv_dlopen=dlopen
12265else
12266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12267$as_echo_n "checking for dlopen in -ldl... " >&6; }
12268if ${ac_cv_lib_dl_dlopen+:} false; then :
12269  $as_echo_n "(cached) " >&6
12270else
12271  ac_check_lib_save_LIBS=$LIBS
12272LIBS="-ldl  $LIBS"
12273cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274/* end confdefs.h.  */
12275
12276/* Override any GCC internal prototype to avoid an error.
12277   Use char because int might match the return type of a GCC
12278   builtin and then its argument prototype would still apply.  */
12279#ifdef __cplusplus
12280extern "C"
12281#endif
12282char dlopen ();
12283int
12284main ()
12285{
12286return dlopen ();
12287  ;
12288  return 0;
12289}
12290_ACEOF
12291if ac_fn_c_try_link "$LINENO"; then :
12292  ac_cv_lib_dl_dlopen=yes
12293else
12294  ac_cv_lib_dl_dlopen=no
12295fi
12296rm -f core conftest.err conftest.$ac_objext \
12297    conftest$ac_exeext conftest.$ac_ext
12298LIBS=$ac_check_lib_save_LIBS
12299fi
12300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12301$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12302if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12303  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12304else
12305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12306$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12307if ${ac_cv_lib_svld_dlopen+:} false; then :
12308  $as_echo_n "(cached) " >&6
12309else
12310  ac_check_lib_save_LIBS=$LIBS
12311LIBS="-lsvld  $LIBS"
12312cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12313/* end confdefs.h.  */
12314
12315/* Override any GCC internal prototype to avoid an error.
12316   Use char because int might match the return type of a GCC
12317   builtin and then its argument prototype would still apply.  */
12318#ifdef __cplusplus
12319extern "C"
12320#endif
12321char dlopen ();
12322int
12323main ()
12324{
12325return dlopen ();
12326  ;
12327  return 0;
12328}
12329_ACEOF
12330if ac_fn_c_try_link "$LINENO"; then :
12331  ac_cv_lib_svld_dlopen=yes
12332else
12333  ac_cv_lib_svld_dlopen=no
12334fi
12335rm -f core conftest.err conftest.$ac_objext \
12336    conftest$ac_exeext conftest.$ac_ext
12337LIBS=$ac_check_lib_save_LIBS
12338fi
12339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12340$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12341if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12342  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12343else
12344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12345$as_echo_n "checking for dld_link in -ldld... " >&6; }
12346if ${ac_cv_lib_dld_dld_link+:} false; then :
12347  $as_echo_n "(cached) " >&6
12348else
12349  ac_check_lib_save_LIBS=$LIBS
12350LIBS="-ldld  $LIBS"
12351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352/* end confdefs.h.  */
12353
12354/* Override any GCC internal prototype to avoid an error.
12355   Use char because int might match the return type of a GCC
12356   builtin and then its argument prototype would still apply.  */
12357#ifdef __cplusplus
12358extern "C"
12359#endif
12360char dld_link ();
12361int
12362main ()
12363{
12364return dld_link ();
12365  ;
12366  return 0;
12367}
12368_ACEOF
12369if ac_fn_c_try_link "$LINENO"; then :
12370  ac_cv_lib_dld_dld_link=yes
12371else
12372  ac_cv_lib_dld_dld_link=no
12373fi
12374rm -f core conftest.err conftest.$ac_objext \
12375    conftest$ac_exeext conftest.$ac_ext
12376LIBS=$ac_check_lib_save_LIBS
12377fi
12378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12379$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12380if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12381  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12382fi
12383
12384
12385fi
12386
12387
12388fi
12389
12390
12391fi
12392
12393
12394fi
12395
12396
12397fi
12398
12399    ;;
12400  esac
12401
12402  if test no = "$lt_cv_dlopen"; then
12403    enable_dlopen=no
12404  else
12405    enable_dlopen=yes
12406  fi
12407
12408  case $lt_cv_dlopen in
12409  dlopen)
12410    save_CPPFLAGS=$CPPFLAGS
12411    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12412
12413    save_LDFLAGS=$LDFLAGS
12414    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12415
12416    save_LIBS=$LIBS
12417    LIBS="$lt_cv_dlopen_libs $LIBS"
12418
12419    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12420$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12421if ${lt_cv_dlopen_self+:} false; then :
12422  $as_echo_n "(cached) " >&6
12423else
12424  	  if test yes = "$cross_compiling"; then :
12425  lt_cv_dlopen_self=cross
12426else
12427  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12428  lt_status=$lt_dlunknown
12429  cat > conftest.$ac_ext <<_LT_EOF
12430#line $LINENO "configure"
12431#include "confdefs.h"
12432
12433#if HAVE_DLFCN_H
12434#include <dlfcn.h>
12435#endif
12436
12437#include <stdio.h>
12438
12439#ifdef RTLD_GLOBAL
12440#  define LT_DLGLOBAL		RTLD_GLOBAL
12441#else
12442#  ifdef DL_GLOBAL
12443#    define LT_DLGLOBAL		DL_GLOBAL
12444#  else
12445#    define LT_DLGLOBAL		0
12446#  endif
12447#endif
12448
12449/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12450   find out it does not work in some platform. */
12451#ifndef LT_DLLAZY_OR_NOW
12452#  ifdef RTLD_LAZY
12453#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12454#  else
12455#    ifdef DL_LAZY
12456#      define LT_DLLAZY_OR_NOW		DL_LAZY
12457#    else
12458#      ifdef RTLD_NOW
12459#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12460#      else
12461#        ifdef DL_NOW
12462#          define LT_DLLAZY_OR_NOW	DL_NOW
12463#        else
12464#          define LT_DLLAZY_OR_NOW	0
12465#        endif
12466#      endif
12467#    endif
12468#  endif
12469#endif
12470
12471/* When -fvisibility=hidden is used, assume the code has been annotated
12472   correspondingly for the symbols needed.  */
12473#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12474int fnord () __attribute__((visibility("default")));
12475#endif
12476
12477int fnord () { return 42; }
12478int main ()
12479{
12480  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12481  int status = $lt_dlunknown;
12482
12483  if (self)
12484    {
12485      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12486      else
12487        {
12488	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12489          else puts (dlerror ());
12490	}
12491      /* dlclose (self); */
12492    }
12493  else
12494    puts (dlerror ());
12495
12496  return status;
12497}
12498_LT_EOF
12499  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12500  (eval $ac_link) 2>&5
12501  ac_status=$?
12502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12503  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12504    (./conftest; exit; ) >&5 2>/dev/null
12505    lt_status=$?
12506    case x$lt_status in
12507      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12508      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12509      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12510    esac
12511  else :
12512    # compilation failed
12513    lt_cv_dlopen_self=no
12514  fi
12515fi
12516rm -fr conftest*
12517
12518
12519fi
12520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12521$as_echo "$lt_cv_dlopen_self" >&6; }
12522
12523    if test yes = "$lt_cv_dlopen_self"; then
12524      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12525      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12526$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12527if ${lt_cv_dlopen_self_static+:} false; then :
12528  $as_echo_n "(cached) " >&6
12529else
12530  	  if test yes = "$cross_compiling"; then :
12531  lt_cv_dlopen_self_static=cross
12532else
12533  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12534  lt_status=$lt_dlunknown
12535  cat > conftest.$ac_ext <<_LT_EOF
12536#line $LINENO "configure"
12537#include "confdefs.h"
12538
12539#if HAVE_DLFCN_H
12540#include <dlfcn.h>
12541#endif
12542
12543#include <stdio.h>
12544
12545#ifdef RTLD_GLOBAL
12546#  define LT_DLGLOBAL		RTLD_GLOBAL
12547#else
12548#  ifdef DL_GLOBAL
12549#    define LT_DLGLOBAL		DL_GLOBAL
12550#  else
12551#    define LT_DLGLOBAL		0
12552#  endif
12553#endif
12554
12555/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12556   find out it does not work in some platform. */
12557#ifndef LT_DLLAZY_OR_NOW
12558#  ifdef RTLD_LAZY
12559#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12560#  else
12561#    ifdef DL_LAZY
12562#      define LT_DLLAZY_OR_NOW		DL_LAZY
12563#    else
12564#      ifdef RTLD_NOW
12565#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12566#      else
12567#        ifdef DL_NOW
12568#          define LT_DLLAZY_OR_NOW	DL_NOW
12569#        else
12570#          define LT_DLLAZY_OR_NOW	0
12571#        endif
12572#      endif
12573#    endif
12574#  endif
12575#endif
12576
12577/* When -fvisibility=hidden is used, assume the code has been annotated
12578   correspondingly for the symbols needed.  */
12579#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12580int fnord () __attribute__((visibility("default")));
12581#endif
12582
12583int fnord () { return 42; }
12584int main ()
12585{
12586  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12587  int status = $lt_dlunknown;
12588
12589  if (self)
12590    {
12591      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12592      else
12593        {
12594	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12595          else puts (dlerror ());
12596	}
12597      /* dlclose (self); */
12598    }
12599  else
12600    puts (dlerror ());
12601
12602  return status;
12603}
12604_LT_EOF
12605  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12606  (eval $ac_link) 2>&5
12607  ac_status=$?
12608  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12609  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12610    (./conftest; exit; ) >&5 2>/dev/null
12611    lt_status=$?
12612    case x$lt_status in
12613      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12614      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12615      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12616    esac
12617  else :
12618    # compilation failed
12619    lt_cv_dlopen_self_static=no
12620  fi
12621fi
12622rm -fr conftest*
12623
12624
12625fi
12626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12627$as_echo "$lt_cv_dlopen_self_static" >&6; }
12628    fi
12629
12630    CPPFLAGS=$save_CPPFLAGS
12631    LDFLAGS=$save_LDFLAGS
12632    LIBS=$save_LIBS
12633    ;;
12634  esac
12635
12636  case $lt_cv_dlopen_self in
12637  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12638  *) enable_dlopen_self=unknown ;;
12639  esac
12640
12641  case $lt_cv_dlopen_self_static in
12642  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12643  *) enable_dlopen_self_static=unknown ;;
12644  esac
12645fi
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663striplib=
12664old_striplib=
12665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12666$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12667if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12668  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12669  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12671$as_echo "yes" >&6; }
12672else
12673# FIXME - insert some real tests, host_os isn't really good enough
12674  case $host_os in
12675  darwin*)
12676    if test -n "$STRIP"; then
12677      striplib="$STRIP -x"
12678      old_striplib="$STRIP -S"
12679      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12680$as_echo "yes" >&6; }
12681    else
12682      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12683$as_echo "no" >&6; }
12684    fi
12685    ;;
12686  *)
12687    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12688$as_echo "no" >&6; }
12689    ;;
12690  esac
12691fi
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704  # Report what library types will actually be built
12705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12706$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12708$as_echo "$can_build_shared" >&6; }
12709
12710  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12711$as_echo_n "checking whether to build shared libraries... " >&6; }
12712  test no = "$can_build_shared" && enable_shared=no
12713
12714  # On AIX, shared libraries and static libraries use the same namespace, and
12715  # are all built from PIC.
12716  case $host_os in
12717  aix3*)
12718    test yes = "$enable_shared" && enable_static=no
12719    if test -n "$RANLIB"; then
12720      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12721      postinstall_cmds='$RANLIB $lib'
12722    fi
12723    ;;
12724
12725  aix[4-9]*)
12726    if test ia64 != "$host_cpu"; then
12727      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12728      yes,aix,yes) ;;			# shared object as lib.so file only
12729      yes,svr4,*) ;;			# shared object as lib.so archive member only
12730      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12731      esac
12732    fi
12733    ;;
12734  esac
12735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12736$as_echo "$enable_shared" >&6; }
12737
12738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12739$as_echo_n "checking whether to build static libraries... " >&6; }
12740  # Make sure either enable_shared or enable_static is yes.
12741  test yes = "$enable_shared" || enable_static=yes
12742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12743$as_echo "$enable_static" >&6; }
12744
12745
12746
12747
12748fi
12749ac_ext=c
12750ac_cpp='$CPP $CPPFLAGS'
12751ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12752ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12753ac_compiler_gnu=$ac_cv_c_compiler_gnu
12754
12755CC=$lt_save_CC
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771        ac_config_commands="$ac_config_commands libtool"
12772
12773
12774
12775
12776# Only expand once:
12777
12778
12779
12780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12781$as_echo_n "checking for ANSI C header files... " >&6; }
12782if ${ac_cv_header_stdc+:} false; then :
12783  $as_echo_n "(cached) " >&6
12784else
12785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786/* end confdefs.h.  */
12787#include <stdlib.h>
12788#include <stdarg.h>
12789#include <string.h>
12790#include <float.h>
12791
12792int
12793main ()
12794{
12795
12796  ;
12797  return 0;
12798}
12799_ACEOF
12800if ac_fn_c_try_compile "$LINENO"; then :
12801  ac_cv_header_stdc=yes
12802else
12803  ac_cv_header_stdc=no
12804fi
12805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12806
12807if test $ac_cv_header_stdc = yes; then
12808  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12810/* end confdefs.h.  */
12811#include <string.h>
12812
12813_ACEOF
12814if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12815  $EGREP "memchr" >/dev/null 2>&1; then :
12816
12817else
12818  ac_cv_header_stdc=no
12819fi
12820rm -f conftest*
12821
12822fi
12823
12824if test $ac_cv_header_stdc = yes; then
12825  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12826  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827/* end confdefs.h.  */
12828#include <stdlib.h>
12829
12830_ACEOF
12831if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12832  $EGREP "free" >/dev/null 2>&1; then :
12833
12834else
12835  ac_cv_header_stdc=no
12836fi
12837rm -f conftest*
12838
12839fi
12840
12841if test $ac_cv_header_stdc = yes; then
12842  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12843  if test "$cross_compiling" = yes; then :
12844  :
12845else
12846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847/* end confdefs.h.  */
12848#include <ctype.h>
12849#include <stdlib.h>
12850#if ((' ' & 0x0FF) == 0x020)
12851# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12852# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12853#else
12854# define ISLOWER(c) \
12855		   (('a' <= (c) && (c) <= 'i') \
12856		     || ('j' <= (c) && (c) <= 'r') \
12857		     || ('s' <= (c) && (c) <= 'z'))
12858# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12859#endif
12860
12861#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12862int
12863main ()
12864{
12865  int i;
12866  for (i = 0; i < 256; i++)
12867    if (XOR (islower (i), ISLOWER (i))
12868	|| toupper (i) != TOUPPER (i))
12869      return 2;
12870  return 0;
12871}
12872_ACEOF
12873if ac_fn_c_try_run "$LINENO"; then :
12874
12875else
12876  ac_cv_header_stdc=no
12877fi
12878rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12879  conftest.$ac_objext conftest.beam conftest.$ac_ext
12880fi
12881
12882fi
12883fi
12884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12885$as_echo "$ac_cv_header_stdc" >&6; }
12886if test $ac_cv_header_stdc = yes; then
12887
12888$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12889
12890fi
12891
12892for ac_header in math.h stdio.h stdlib.h string.h sys/types.h \
12893                  sys/socket.h sys/ioctl.h linux/types.h linux/if.h \
12894                  linux/wireless.h string.h \
12895                  ctype.h
12896do :
12897  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12898ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/socket.h>
12899"
12900if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12901  cat >>confdefs.h <<_ACEOF
12902#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12903_ACEOF
12904
12905fi
12906
12907done
12908
12909
12910LIBM=
12911case $host in
12912*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
12913  # These system don't have libm, or don't need it
12914  ;;
12915*-ncr-sysv4.3*)
12916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12917$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12918if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
12919  $as_echo_n "(cached) " >&6
12920else
12921  ac_check_lib_save_LIBS=$LIBS
12922LIBS="-lmw  $LIBS"
12923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924/* end confdefs.h.  */
12925
12926/* Override any GCC internal prototype to avoid an error.
12927   Use char because int might match the return type of a GCC
12928   builtin and then its argument prototype would still apply.  */
12929#ifdef __cplusplus
12930extern "C"
12931#endif
12932char _mwvalidcheckl ();
12933int
12934main ()
12935{
12936return _mwvalidcheckl ();
12937  ;
12938  return 0;
12939}
12940_ACEOF
12941if ac_fn_c_try_link "$LINENO"; then :
12942  ac_cv_lib_mw__mwvalidcheckl=yes
12943else
12944  ac_cv_lib_mw__mwvalidcheckl=no
12945fi
12946rm -f core conftest.err conftest.$ac_objext \
12947    conftest$ac_exeext conftest.$ac_ext
12948LIBS=$ac_check_lib_save_LIBS
12949fi
12950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12951$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12952if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
12953  LIBM=-lmw
12954fi
12955
12956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12957$as_echo_n "checking for cos in -lm... " >&6; }
12958if ${ac_cv_lib_m_cos+:} false; then :
12959  $as_echo_n "(cached) " >&6
12960else
12961  ac_check_lib_save_LIBS=$LIBS
12962LIBS="-lm  $LIBS"
12963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964/* end confdefs.h.  */
12965
12966/* Override any GCC internal prototype to avoid an error.
12967   Use char because int might match the return type of a GCC
12968   builtin and then its argument prototype would still apply.  */
12969#ifdef __cplusplus
12970extern "C"
12971#endif
12972char cos ();
12973int
12974main ()
12975{
12976return cos ();
12977  ;
12978  return 0;
12979}
12980_ACEOF
12981if ac_fn_c_try_link "$LINENO"; then :
12982  ac_cv_lib_m_cos=yes
12983else
12984  ac_cv_lib_m_cos=no
12985fi
12986rm -f core conftest.err conftest.$ac_objext \
12987    conftest$ac_exeext conftest.$ac_ext
12988LIBS=$ac_check_lib_save_LIBS
12989fi
12990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12991$as_echo "$ac_cv_lib_m_cos" >&6; }
12992if test "x$ac_cv_lib_m_cos" = xyes; then :
12993  LIBM="$LIBM -lm"
12994fi
12995
12996  ;;
12997*)
12998  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12999$as_echo_n "checking for cos in -lm... " >&6; }
13000if ${ac_cv_lib_m_cos+:} false; then :
13001  $as_echo_n "(cached) " >&6
13002else
13003  ac_check_lib_save_LIBS=$LIBS
13004LIBS="-lm  $LIBS"
13005cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006/* end confdefs.h.  */
13007
13008/* Override any GCC internal prototype to avoid an error.
13009   Use char because int might match the return type of a GCC
13010   builtin and then its argument prototype would still apply.  */
13011#ifdef __cplusplus
13012extern "C"
13013#endif
13014char cos ();
13015int
13016main ()
13017{
13018return cos ();
13019  ;
13020  return 0;
13021}
13022_ACEOF
13023if ac_fn_c_try_link "$LINENO"; then :
13024  ac_cv_lib_m_cos=yes
13025else
13026  ac_cv_lib_m_cos=no
13027fi
13028rm -f core conftest.err conftest.$ac_objext \
13029    conftest$ac_exeext conftest.$ac_ext
13030LIBS=$ac_check_lib_save_LIBS
13031fi
13032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13033$as_echo "$ac_cv_lib_m_cos" >&6; }
13034if test "x$ac_cv_lib_m_cos" = xyes; then :
13035  LIBM=-lm
13036fi
13037
13038  ;;
13039esac
13040
13041
13042
13043
13044
13045    GETTEXT_PACKAGE=xfce4-wavelan-plugin
13046
13047cat >>confdefs.h <<_ACEOF
13048#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13049_ACEOF
13050
13051
13052
13053    ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_CA en_GB es eu fi fr gl he hr hu hy_AM hye id is it ja kk ko lt lv ms nb nl oc pl pt pt_BR ru sk sl sq sr sv th tr ug uk ur ur_PK vi zh_CN zh_TW"
13054
13055   for ac_header in locale.h
13056do :
13057  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13058if test "x$ac_cv_header_locale_h" = xyes; then :
13059  cat >>confdefs.h <<_ACEOF
13060#define HAVE_LOCALE_H 1
13061_ACEOF
13062
13063fi
13064
13065done
13066
13067    if test $ac_cv_header_locale_h = yes; then
13068    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13069$as_echo_n "checking for LC_MESSAGES... " >&6; }
13070if ${am_cv_val_LC_MESSAGES+:} false; then :
13071  $as_echo_n "(cached) " >&6
13072else
13073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074/* end confdefs.h.  */
13075#include <locale.h>
13076int
13077main ()
13078{
13079return LC_MESSAGES
13080  ;
13081  return 0;
13082}
13083_ACEOF
13084if ac_fn_c_try_link "$LINENO"; then :
13085  am_cv_val_LC_MESSAGES=yes
13086else
13087  am_cv_val_LC_MESSAGES=no
13088fi
13089rm -f core conftest.err conftest.$ac_objext \
13090    conftest$ac_exeext conftest.$ac_ext
13091fi
13092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13093$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13094    if test $am_cv_val_LC_MESSAGES = yes; then
13095
13096$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13097
13098    fi
13099  fi
13100     USE_NLS=yes
13101
13102
13103    gt_cv_have_gettext=no
13104
13105    CATOBJEXT=NONE
13106    XGETTEXT=:
13107    INTLLIBS=
13108
13109
13110    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13111$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13112if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13113  $as_echo_n "(cached) " >&6
13114else
13115  gt_save_LIBS="$LIBS"
13116     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13117     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118/* end confdefs.h.  */
13119#include <CoreFoundation/CFPreferences.h>
13120int
13121main ()
13122{
13123CFPreferencesCopyAppValue(NULL, NULL)
13124  ;
13125  return 0;
13126}
13127_ACEOF
13128if ac_fn_c_try_link "$LINENO"; then :
13129  gt_cv_func_CFPreferencesCopyAppValue=yes
13130else
13131  gt_cv_func_CFPreferencesCopyAppValue=no
13132fi
13133rm -f core conftest.err conftest.$ac_objext \
13134    conftest$ac_exeext conftest.$ac_ext
13135     LIBS="$gt_save_LIBS"
13136fi
13137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13138$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13139  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13140
13141$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13142
13143  fi
13144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13145$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13146if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13147  $as_echo_n "(cached) " >&6
13148else
13149  gt_save_LIBS="$LIBS"
13150     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13151     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152/* end confdefs.h.  */
13153#include <CoreFoundation/CFLocale.h>
13154int
13155main ()
13156{
13157CFLocaleCopyCurrent();
13158  ;
13159  return 0;
13160}
13161_ACEOF
13162if ac_fn_c_try_link "$LINENO"; then :
13163  gt_cv_func_CFLocaleCopyCurrent=yes
13164else
13165  gt_cv_func_CFLocaleCopyCurrent=no
13166fi
13167rm -f core conftest.err conftest.$ac_objext \
13168    conftest$ac_exeext conftest.$ac_ext
13169     LIBS="$gt_save_LIBS"
13170fi
13171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13172$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13173  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13174
13175$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13176
13177  fi
13178  INTL_MACOSX_LIBS=
13179  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13180    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13181  fi
13182
13183
13184
13185    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13186if test "x$ac_cv_header_libintl_h" = xyes; then :
13187  gt_cv_func_dgettext_libintl="no"
13188      libintl_extra_libs=""
13189
13190      #
13191      # First check in libc
13192      #
13193      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13194$as_echo_n "checking for ngettext in libc... " >&6; }
13195if ${gt_cv_func_ngettext_libc+:} false; then :
13196  $as_echo_n "(cached) " >&6
13197else
13198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199/* end confdefs.h.  */
13200
13201#include <libintl.h>
13202
13203int
13204main ()
13205{
13206return !ngettext ("","", 1)
13207  ;
13208  return 0;
13209}
13210_ACEOF
13211if ac_fn_c_try_link "$LINENO"; then :
13212  gt_cv_func_ngettext_libc=yes
13213else
13214  gt_cv_func_ngettext_libc=no
13215fi
13216rm -f core conftest.err conftest.$ac_objext \
13217    conftest$ac_exeext conftest.$ac_ext
13218
13219fi
13220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13221$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13222
13223      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13224	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13225$as_echo_n "checking for dgettext in libc... " >&6; }
13226if ${gt_cv_func_dgettext_libc+:} false; then :
13227  $as_echo_n "(cached) " >&6
13228else
13229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13230/* end confdefs.h.  */
13231
13232#include <libintl.h>
13233
13234int
13235main ()
13236{
13237return !dgettext ("","")
13238  ;
13239  return 0;
13240}
13241_ACEOF
13242if ac_fn_c_try_link "$LINENO"; then :
13243  gt_cv_func_dgettext_libc=yes
13244else
13245  gt_cv_func_dgettext_libc=no
13246fi
13247rm -f core conftest.err conftest.$ac_objext \
13248    conftest$ac_exeext conftest.$ac_ext
13249
13250fi
13251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13252$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13253      fi
13254
13255      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13256        for ac_func in bind_textdomain_codeset
13257do :
13258  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13259if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13260  cat >>confdefs.h <<_ACEOF
13261#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13262_ACEOF
13263
13264fi
13265done
13266
13267      fi
13268
13269      #
13270      # If we don't have everything we want, check in libintl
13271      #
13272      if test "$gt_cv_func_dgettext_libc" != "yes" \
13273	 || test "$gt_cv_func_ngettext_libc" != "yes" \
13274         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13275
13276        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13277$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13278if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13279  $as_echo_n "(cached) " >&6
13280else
13281  ac_check_lib_save_LIBS=$LIBS
13282LIBS="-lintl  $LIBS"
13283cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284/* end confdefs.h.  */
13285
13286/* Override any GCC internal prototype to avoid an error.
13287   Use char because int might match the return type of a GCC
13288   builtin and then its argument prototype would still apply.  */
13289#ifdef __cplusplus
13290extern "C"
13291#endif
13292char bindtextdomain ();
13293int
13294main ()
13295{
13296return bindtextdomain ();
13297  ;
13298  return 0;
13299}
13300_ACEOF
13301if ac_fn_c_try_link "$LINENO"; then :
13302  ac_cv_lib_intl_bindtextdomain=yes
13303else
13304  ac_cv_lib_intl_bindtextdomain=no
13305fi
13306rm -f core conftest.err conftest.$ac_objext \
13307    conftest$ac_exeext conftest.$ac_ext
13308LIBS=$ac_check_lib_save_LIBS
13309fi
13310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13311$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13312if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13314$as_echo_n "checking for ngettext in -lintl... " >&6; }
13315if ${ac_cv_lib_intl_ngettext+:} false; then :
13316  $as_echo_n "(cached) " >&6
13317else
13318  ac_check_lib_save_LIBS=$LIBS
13319LIBS="-lintl  $LIBS"
13320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321/* end confdefs.h.  */
13322
13323/* Override any GCC internal prototype to avoid an error.
13324   Use char because int might match the return type of a GCC
13325   builtin and then its argument prototype would still apply.  */
13326#ifdef __cplusplus
13327extern "C"
13328#endif
13329char ngettext ();
13330int
13331main ()
13332{
13333return ngettext ();
13334  ;
13335  return 0;
13336}
13337_ACEOF
13338if ac_fn_c_try_link "$LINENO"; then :
13339  ac_cv_lib_intl_ngettext=yes
13340else
13341  ac_cv_lib_intl_ngettext=no
13342fi
13343rm -f core conftest.err conftest.$ac_objext \
13344    conftest$ac_exeext conftest.$ac_ext
13345LIBS=$ac_check_lib_save_LIBS
13346fi
13347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13348$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13349if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13350  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13351$as_echo_n "checking for dgettext in -lintl... " >&6; }
13352if ${ac_cv_lib_intl_dgettext+:} false; then :
13353  $as_echo_n "(cached) " >&6
13354else
13355  ac_check_lib_save_LIBS=$LIBS
13356LIBS="-lintl  $LIBS"
13357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358/* end confdefs.h.  */
13359
13360/* Override any GCC internal prototype to avoid an error.
13361   Use char because int might match the return type of a GCC
13362   builtin and then its argument prototype would still apply.  */
13363#ifdef __cplusplus
13364extern "C"
13365#endif
13366char dgettext ();
13367int
13368main ()
13369{
13370return dgettext ();
13371  ;
13372  return 0;
13373}
13374_ACEOF
13375if ac_fn_c_try_link "$LINENO"; then :
13376  ac_cv_lib_intl_dgettext=yes
13377else
13378  ac_cv_lib_intl_dgettext=no
13379fi
13380rm -f core conftest.err conftest.$ac_objext \
13381    conftest$ac_exeext conftest.$ac_ext
13382LIBS=$ac_check_lib_save_LIBS
13383fi
13384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13385$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13386if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13387  gt_cv_func_dgettext_libintl=yes
13388fi
13389
13390fi
13391
13392fi
13393
13394
13395	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13396	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13397$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13398	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13399$as_echo "" >&6; }
13400  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13401$as_echo_n "checking for ngettext in -lintl... " >&6; }
13402if ${ac_cv_lib_intl_ngettext+:} false; then :
13403  $as_echo_n "(cached) " >&6
13404else
13405  ac_check_lib_save_LIBS=$LIBS
13406LIBS="-lintl -liconv $LIBS"
13407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408/* end confdefs.h.  */
13409
13410/* Override any GCC internal prototype to avoid an error.
13411   Use char because int might match the return type of a GCC
13412   builtin and then its argument prototype would still apply.  */
13413#ifdef __cplusplus
13414extern "C"
13415#endif
13416char ngettext ();
13417int
13418main ()
13419{
13420return ngettext ();
13421  ;
13422  return 0;
13423}
13424_ACEOF
13425if ac_fn_c_try_link "$LINENO"; then :
13426  ac_cv_lib_intl_ngettext=yes
13427else
13428  ac_cv_lib_intl_ngettext=no
13429fi
13430rm -f core conftest.err conftest.$ac_objext \
13431    conftest$ac_exeext conftest.$ac_ext
13432LIBS=$ac_check_lib_save_LIBS
13433fi
13434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13435$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13436if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13437  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13438$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13439if ${ac_cv_lib_intl_dcgettext+:} false; then :
13440  $as_echo_n "(cached) " >&6
13441else
13442  ac_check_lib_save_LIBS=$LIBS
13443LIBS="-lintl -liconv $LIBS"
13444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13445/* end confdefs.h.  */
13446
13447/* Override any GCC internal prototype to avoid an error.
13448   Use char because int might match the return type of a GCC
13449   builtin and then its argument prototype would still apply.  */
13450#ifdef __cplusplus
13451extern "C"
13452#endif
13453char dcgettext ();
13454int
13455main ()
13456{
13457return dcgettext ();
13458  ;
13459  return 0;
13460}
13461_ACEOF
13462if ac_fn_c_try_link "$LINENO"; then :
13463  ac_cv_lib_intl_dcgettext=yes
13464else
13465  ac_cv_lib_intl_dcgettext=no
13466fi
13467rm -f core conftest.err conftest.$ac_objext \
13468    conftest$ac_exeext conftest.$ac_ext
13469LIBS=$ac_check_lib_save_LIBS
13470fi
13471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13472$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13473if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13474  gt_cv_func_dgettext_libintl=yes
13475			libintl_extra_libs=-liconv
13476else
13477  :
13478fi
13479
13480else
13481  :
13482fi
13483
13484        fi
13485
13486        #
13487        # If we found libintl, then check in it for bind_textdomain_codeset();
13488        # we'll prefer libc if neither have bind_textdomain_codeset(),
13489        # and both have dgettext and ngettext
13490        #
13491        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13492          glib_save_LIBS="$LIBS"
13493          LIBS="$LIBS -lintl $libintl_extra_libs"
13494          unset ac_cv_func_bind_textdomain_codeset
13495          for ac_func in bind_textdomain_codeset
13496do :
13497  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13498if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13499  cat >>confdefs.h <<_ACEOF
13500#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13501_ACEOF
13502
13503fi
13504done
13505
13506          LIBS="$glib_save_LIBS"
13507
13508          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13509            gt_cv_func_dgettext_libc=no
13510          else
13511            if test "$gt_cv_func_dgettext_libc" = "yes" \
13512		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13513              gt_cv_func_dgettext_libintl=no
13514            fi
13515          fi
13516        fi
13517      fi
13518
13519      if test "$gt_cv_func_dgettext_libc" = "yes" \
13520	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13521        gt_cv_have_gettext=yes
13522      fi
13523
13524      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13525        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
13526      fi
13527
13528      if test "$gt_cv_have_gettext" = "yes"; then
13529
13530$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13531
13532	# Extract the first word of "msgfmt", so it can be a program name with args.
13533set dummy msgfmt; ac_word=$2
13534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13535$as_echo_n "checking for $ac_word... " >&6; }
13536if ${ac_cv_path_MSGFMT+:} false; then :
13537  $as_echo_n "(cached) " >&6
13538else
13539  case "$MSGFMT" in
13540  /*)
13541  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13542  ;;
13543  *)
13544  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13545  for ac_dir in $PATH; do
13546    test -z "$ac_dir" && ac_dir=.
13547    if test -f $ac_dir/$ac_word; then
13548      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13549	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13550	break
13551      fi
13552    fi
13553  done
13554  IFS="$ac_save_ifs"
13555  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13556  ;;
13557esac
13558fi
13559MSGFMT="$ac_cv_path_MSGFMT"
13560if test "$MSGFMT" != "no"; then
13561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13562$as_echo "$MSGFMT" >&6; }
13563else
13564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13565$as_echo "no" >&6; }
13566fi
13567	if test "$MSGFMT" != "no"; then
13568          glib_save_LIBS="$LIBS"
13569          LIBS="$LIBS $INTLLIBS"
13570	  for ac_func in dcgettext
13571do :
13572  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13573if test "x$ac_cv_func_dcgettext" = xyes; then :
13574  cat >>confdefs.h <<_ACEOF
13575#define HAVE_DCGETTEXT 1
13576_ACEOF
13577
13578fi
13579done
13580
13581	  MSGFMT_OPTS=
13582	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13583$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13584	  cat >conftest.foo <<_ACEOF
13585
13586msgid ""
13587msgstr ""
13588"Content-Type: text/plain; charset=UTF-8\n"
13589"Project-Id-Version: test 1.0\n"
13590"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13591"Last-Translator: test <foo@bar.xx>\n"
13592"Language-Team: C <LL@li.org>\n"
13593"MIME-Version: 1.0\n"
13594"Content-Transfer-Encoding: 8bit\n"
13595
13596_ACEOF
13597if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13598  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13599  ac_status=$?
13600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13601  test $ac_status = 0; }; then
13602  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13603$as_echo "yes" >&6; }
13604else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13605$as_echo "no" >&6; }
13606echo "$as_me: failed input was:" >&5
13607sed 's/^/| /' conftest.foo >&5
13608fi
13609
13610	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13611set dummy gmsgfmt; ac_word=$2
13612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13613$as_echo_n "checking for $ac_word... " >&6; }
13614if ${ac_cv_path_GMSGFMT+:} false; then :
13615  $as_echo_n "(cached) " >&6
13616else
13617  case $GMSGFMT in
13618  [\\/]* | ?:[\\/]*)
13619  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13620  ;;
13621  *)
13622  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13623for as_dir in $PATH
13624do
13625  IFS=$as_save_IFS
13626  test -z "$as_dir" && as_dir=.
13627    for ac_exec_ext in '' $ac_executable_extensions; do
13628  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13629    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13630    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13631    break 2
13632  fi
13633done
13634  done
13635IFS=$as_save_IFS
13636
13637  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13638  ;;
13639esac
13640fi
13641GMSGFMT=$ac_cv_path_GMSGFMT
13642if test -n "$GMSGFMT"; then
13643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13644$as_echo "$GMSGFMT" >&6; }
13645else
13646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13647$as_echo "no" >&6; }
13648fi
13649
13650
13651	  # Extract the first word of "xgettext", so it can be a program name with args.
13652set dummy xgettext; ac_word=$2
13653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13654$as_echo_n "checking for $ac_word... " >&6; }
13655if ${ac_cv_path_XGETTEXT+:} false; then :
13656  $as_echo_n "(cached) " >&6
13657else
13658  case "$XGETTEXT" in
13659  /*)
13660  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13661  ;;
13662  *)
13663  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13664  for ac_dir in $PATH; do
13665    test -z "$ac_dir" && ac_dir=.
13666    if test -f $ac_dir/$ac_word; then
13667      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13668	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13669	break
13670      fi
13671    fi
13672  done
13673  IFS="$ac_save_ifs"
13674  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13675  ;;
13676esac
13677fi
13678XGETTEXT="$ac_cv_path_XGETTEXT"
13679if test "$XGETTEXT" != ":"; then
13680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13681$as_echo "$XGETTEXT" >&6; }
13682else
13683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13684$as_echo "no" >&6; }
13685fi
13686
13687	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688/* end confdefs.h.  */
13689
13690int
13691main ()
13692{
13693extern int _nl_msg_cat_cntr;
13694			 return _nl_msg_cat_cntr
13695  ;
13696  return 0;
13697}
13698_ACEOF
13699if ac_fn_c_try_link "$LINENO"; then :
13700  CATOBJEXT=.gmo
13701             DATADIRNAME=share
13702else
13703  case $host in
13704	    *-*-solaris*)
13705	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13706if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13707  CATOBJEXT=.gmo
13708               DATADIRNAME=share
13709else
13710  CATOBJEXT=.mo
13711               DATADIRNAME=lib
13712fi
13713
13714	    ;;
13715	    *-*-openbsd*)
13716	    CATOBJEXT=.mo
13717            DATADIRNAME=share
13718	    ;;
13719	    *)
13720	    CATOBJEXT=.mo
13721            DATADIRNAME=lib
13722	    ;;
13723	    esac
13724fi
13725rm -f core conftest.err conftest.$ac_objext \
13726    conftest$ac_exeext conftest.$ac_ext
13727          LIBS="$glib_save_LIBS"
13728	  INSTOBJEXT=.mo
13729	else
13730	  gt_cv_have_gettext=no
13731	fi
13732      fi
13733
13734fi
13735
13736
13737
13738    if test "$gt_cv_have_gettext" = "yes" ; then
13739
13740$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13741
13742    fi
13743
13744        if test "$XGETTEXT" != ":"; then
13745                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13746        : ;
13747      else
13748        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13749$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13750        XGETTEXT=":"
13751      fi
13752    fi
13753
13754    # We need to process the po/ directory.
13755    POSUB=po
13756
13757    ac_config_commands="$ac_config_commands default-1"
13758
13759
13760                for lang in $ALL_LINGUAS; do
13761      GMOFILES="$GMOFILES $lang.gmo"
13762      POFILES="$POFILES $lang.po"
13763    done
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777   if test "$gt_cv_have_gettext" = "yes"; then
13778     if test "x$ALL_LINGUAS" = "x"; then
13779       LINGUAS=
13780     else
13781       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13782$as_echo_n "checking for catalogs to be installed... " >&6; }
13783       NEW_LINGUAS=
13784       for presentlang in $ALL_LINGUAS; do
13785         useit=no
13786         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13787           desiredlanguages="$LINGUAS"
13788         else
13789           desiredlanguages="$ALL_LINGUAS"
13790         fi
13791         for desiredlang in $desiredlanguages; do
13792 	   # Use the presentlang catalog if desiredlang is
13793           #   a. equal to presentlang, or
13794           #   b. a variant of presentlang (because in this case,
13795           #      presentlang can be used as a fallback for messages
13796           #      which are not translated in the desiredlang catalog).
13797           case "$desiredlang" in
13798             "$presentlang"*) useit=yes;;
13799           esac
13800         done
13801         if test $useit = yes; then
13802           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13803         fi
13804       done
13805       LINGUAS=$NEW_LINGUAS
13806       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13807$as_echo "$LINGUAS" >&6; }
13808     fi
13809
13810          if test -n "$LINGUAS"; then
13811       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13812     fi
13813   fi
13814
13815            MKINSTALLDIRS=
13816   if test -n "$ac_aux_dir"; then
13817     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13818   fi
13819   if test -z "$MKINSTALLDIRS"; then
13820     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13821   fi
13822
13823
13824         test -d po || mkdir po
13825   if test "x$srcdir" != "x."; then
13826     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13827       posrcprefix="$srcdir/"
13828     else
13829       posrcprefix="../$srcdir/"
13830     fi
13831   else
13832     posrcprefix="../"
13833   fi
13834   rm -f po/POTFILES
13835   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13836	< $srcdir/po/POTFILES.in > po/POTFILES
13837
13838
13839    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13840if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13841
13842fi
13843
13844
13845    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
13846$as_echo_n "checking for locales directory... " >&6; }
13847
13848# Check whether --with-locales-dir was given.
13849if test "${with_locales_dir+set}" = set; then :
13850  withval=$with_locales_dir; localedir=$withval
13851else
13852
13853    if test x"$CATOBJEXT" = x".mo"; then
13854      localedir=$libdir/locale
13855    else
13856      localedir=$datarootdir/locale
13857    fi
13858
13859fi
13860
13861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
13862$as_echo "$localedir" >&6; }
13863
13864
13865    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
13866$as_echo_n "checking for additional xgettext flags... " >&6; }
13867  if test x"$XGETTEXT_ARGS" = x""; then
13868    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
13869  else
13870    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
13871  fi
13872
13873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
13874$as_echo "$XGETTEXT_ARGS" >&6; }
13875
13876
13877
13878
13879  # minimum supported version of pkg-config
13880  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13891	if test -n "$ac_tool_prefix"; then
13892  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13893set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13895$as_echo_n "checking for $ac_word... " >&6; }
13896if ${ac_cv_path_PKG_CONFIG+:} false; then :
13897  $as_echo_n "(cached) " >&6
13898else
13899  case $PKG_CONFIG in
13900  [\\/]* | ?:[\\/]*)
13901  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13902  ;;
13903  *)
13904  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905for as_dir in $PATH
13906do
13907  IFS=$as_save_IFS
13908  test -z "$as_dir" && as_dir=.
13909    for ac_exec_ext in '' $ac_executable_extensions; do
13910  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13911    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13912    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13913    break 2
13914  fi
13915done
13916  done
13917IFS=$as_save_IFS
13918
13919  ;;
13920esac
13921fi
13922PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13923if test -n "$PKG_CONFIG"; then
13924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13925$as_echo "$PKG_CONFIG" >&6; }
13926else
13927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13928$as_echo "no" >&6; }
13929fi
13930
13931
13932fi
13933if test -z "$ac_cv_path_PKG_CONFIG"; then
13934  ac_pt_PKG_CONFIG=$PKG_CONFIG
13935  # Extract the first word of "pkg-config", so it can be a program name with args.
13936set dummy pkg-config; ac_word=$2
13937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13938$as_echo_n "checking for $ac_word... " >&6; }
13939if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13940  $as_echo_n "(cached) " >&6
13941else
13942  case $ac_pt_PKG_CONFIG in
13943  [\\/]* | ?:[\\/]*)
13944  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13945  ;;
13946  *)
13947  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13948for as_dir in $PATH
13949do
13950  IFS=$as_save_IFS
13951  test -z "$as_dir" && as_dir=.
13952    for ac_exec_ext in '' $ac_executable_extensions; do
13953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13954    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13956    break 2
13957  fi
13958done
13959  done
13960IFS=$as_save_IFS
13961
13962  ;;
13963esac
13964fi
13965ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13966if test -n "$ac_pt_PKG_CONFIG"; then
13967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13968$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13969else
13970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971$as_echo "no" >&6; }
13972fi
13973
13974  if test "x$ac_pt_PKG_CONFIG" = x; then
13975    PKG_CONFIG=""
13976  else
13977    case $cross_compiling:$ac_tool_warned in
13978yes:)
13979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13981ac_tool_warned=yes ;;
13982esac
13983    PKG_CONFIG=$ac_pt_PKG_CONFIG
13984  fi
13985else
13986  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13987fi
13988
13989fi
13990if test -n "$PKG_CONFIG"; then
13991	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13992	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13993$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13994	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13995		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13996$as_echo "yes" >&6; }
13997	else
13998		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13999$as_echo "no" >&6; }
14000		PKG_CONFIG=""
14001	fi
14002fi
14003
14004      if test x"$PKG_CONFIG" = x""; then
14005        echo
14006        echo "*** Your version of pkg-config is too old. You need atleast"
14007        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14008        echo "*** from the freedesktop.org software repository at"
14009        echo "***"
14010        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14011        echo "***"
14012        exit 1;
14013      fi
14014
14015
14016
14017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.12.0" >&5
14018$as_echo_n "checking for libxfce4panel-2.0 >= 4.12.0... " >&6; }
14019  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4panel-2.0" >/dev/null 2>&1; then
14020    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14021    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
14022$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
14023
14024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
14025$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
14026    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"`
14027    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
14028$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
14029
14030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
14031$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
14032    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"`
14033    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
14034$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
14035
14036    LIBXFCE4PANEL_REQUIRED_VERSION=4.12.0
14037
14038
14039
14040
14041
14042
14043
14044  elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
14045    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14046    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14047$as_echo "found, but $xdt_cv_version" >&6; }
14048
14049
14050      echo "*** The required package libxfce4panel-2.0 was found on your system,"
14051      echo "*** but the installed version ($xdt_cv_version) is too old."
14052      echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.12.0, or adjust"
14053      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14054      echo "*** the new version of the package in a nonstandard prefix so"
14055      echo "*** pkg-config is able to find it."
14056      exit 1
14057
14058  else
14059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14060$as_echo "not found" >&6; }
14061
14062
14063      echo "*** The required package libxfce4panel-2.0 was not found on your system."
14064      echo "*** Please install libxfce4panel-2.0 (atleast version 4.12.0) or adjust"
14065      echo "*** the PKG_CONFIG_PATH environment variable if you"
14066      echo "*** installed the package in a nonstandard prefix so that"
14067      echo "*** pkg-config is able to find it."
14068      exit 1
14069
14070  fi
14071
14072
14073
14074  # minimum supported version of pkg-config
14075  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14086	if test -n "$ac_tool_prefix"; then
14087  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14088set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14090$as_echo_n "checking for $ac_word... " >&6; }
14091if ${ac_cv_path_PKG_CONFIG+:} false; then :
14092  $as_echo_n "(cached) " >&6
14093else
14094  case $PKG_CONFIG in
14095  [\\/]* | ?:[\\/]*)
14096  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14097  ;;
14098  *)
14099  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14100for as_dir in $PATH
14101do
14102  IFS=$as_save_IFS
14103  test -z "$as_dir" && as_dir=.
14104    for ac_exec_ext in '' $ac_executable_extensions; do
14105  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14106    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14108    break 2
14109  fi
14110done
14111  done
14112IFS=$as_save_IFS
14113
14114  ;;
14115esac
14116fi
14117PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14118if test -n "$PKG_CONFIG"; then
14119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14120$as_echo "$PKG_CONFIG" >&6; }
14121else
14122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14123$as_echo "no" >&6; }
14124fi
14125
14126
14127fi
14128if test -z "$ac_cv_path_PKG_CONFIG"; then
14129  ac_pt_PKG_CONFIG=$PKG_CONFIG
14130  # Extract the first word of "pkg-config", so it can be a program name with args.
14131set dummy pkg-config; ac_word=$2
14132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14133$as_echo_n "checking for $ac_word... " >&6; }
14134if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14135  $as_echo_n "(cached) " >&6
14136else
14137  case $ac_pt_PKG_CONFIG in
14138  [\\/]* | ?:[\\/]*)
14139  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14140  ;;
14141  *)
14142  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143for as_dir in $PATH
14144do
14145  IFS=$as_save_IFS
14146  test -z "$as_dir" && as_dir=.
14147    for ac_exec_ext in '' $ac_executable_extensions; do
14148  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14149    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14150    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14151    break 2
14152  fi
14153done
14154  done
14155IFS=$as_save_IFS
14156
14157  ;;
14158esac
14159fi
14160ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14161if test -n "$ac_pt_PKG_CONFIG"; then
14162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14163$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14164else
14165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14166$as_echo "no" >&6; }
14167fi
14168
14169  if test "x$ac_pt_PKG_CONFIG" = x; then
14170    PKG_CONFIG=""
14171  else
14172    case $cross_compiling:$ac_tool_warned in
14173yes:)
14174{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14175$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14176ac_tool_warned=yes ;;
14177esac
14178    PKG_CONFIG=$ac_pt_PKG_CONFIG
14179  fi
14180else
14181  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14182fi
14183
14184fi
14185if test -n "$PKG_CONFIG"; then
14186	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14187	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14188$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14189	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14190		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14191$as_echo "yes" >&6; }
14192	else
14193		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14194$as_echo "no" >&6; }
14195		PKG_CONFIG=""
14196	fi
14197fi
14198
14199      if test x"$PKG_CONFIG" = x""; then
14200        echo
14201        echo "*** Your version of pkg-config is too old. You need atleast"
14202        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14203        echo "*** from the freedesktop.org software repository at"
14204        echo "***"
14205        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14206        echo "***"
14207        exit 1;
14208      fi
14209
14210
14211
14212  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5
14213$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; }
14214  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then
14215    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14216    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14217$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14218
14219    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14220$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14221    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14222    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14223$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14224
14225    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14226$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14227    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14228    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14229$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14230
14231    LIBXFCE4UI_REQUIRED_VERSION=4.12.0
14232
14233
14234
14235
14236
14237
14238
14239  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14240    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14241    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14242$as_echo "found, but $xdt_cv_version" >&6; }
14243
14244
14245      echo "*** The required package libxfce4ui-2 was found on your system,"
14246      echo "*** but the installed version ($xdt_cv_version) is too old."
14247      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust"
14248      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14249      echo "*** the new version of the package in a nonstandard prefix so"
14250      echo "*** pkg-config is able to find it."
14251      exit 1
14252
14253  else
14254    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14255$as_echo "not found" >&6; }
14256
14257
14258      echo "*** The required package libxfce4ui-2 was not found on your system."
14259      echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust"
14260      echo "*** the PKG_CONFIG_PATH environment variable if you"
14261      echo "*** installed the package in a nonstandard prefix so that"
14262      echo "*** pkg-config is able to find it."
14263      exit 1
14264
14265  fi
14266
14267
14268
14269    # Check whether --enable-debug was given.
14270if test "${enable_debug+set}" = set; then :
14271  enableval=$enable_debug; enable_debug=$enableval
14272else
14273  enable_debug=minimum
14274fi
14275
14276
14277  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
14278$as_echo_n "checking whether to build with debugging support... " >&6; }
14279  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
14280
14281$as_echo "#define DEBUG 1" >>confdefs.h
14282
14283
14284    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
14285                              -Wall -Wextra \
14286                              -Wno-missing-field-initializers \
14287                              -Wno-unused-parameter -Wold-style-definition \
14288                              -Wdeclaration-after-statement \
14289                              -Wmissing-declarations \
14290                              -Wmissing-noreturn -Wpointer-arith \
14291                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
14292                              -Winit-self -Wmissing-include-dirs -Wundef \
14293                              -Wnested-externs"
14294    CPPFLAGS="$CPPFLAGS"
14295
14296    if test x`uname` = x"Linux"; then
14297      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
14298    fi
14299
14300        if test x`uname` != x"OpenBSD"; then
14301      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
14302    fi
14303
14304    if test x"$enable_debug" = x"full"; then
14305
14306$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
14307
14308      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
14309      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
14310      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
14311$as_echo "full" >&6; }
14312    else
14313      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
14314      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14315$as_echo "yes" >&6; }
14316    fi
14317
14318
14319  for flag in $xdt_cv_additional_CFLAGS; do
14320    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
14321$as_echo_n "checking if $CC supports $flag... " >&6; }
14322    saved_CFLAGS="$CFLAGS"
14323    CFLAGS="$CFLAGS $flag"
14324    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325/* end confdefs.h.  */
14326
14327_ACEOF
14328if ac_fn_c_try_compile "$LINENO"; then :
14329  flag_supported=yes
14330else
14331  flag_supported=no
14332fi
14333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14334    CFLAGS="$saved_CFLAGS"
14335    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
14336$as_echo "$flag_supported" >&6; }
14337
14338    if test "x$flag_supported" = "xyes"; then
14339      supported_CFLAGS="$supported_CFLAGS $flag"
14340    fi
14341  done
14342
14343
14344
14345                                                supported_CXXFLAGS="$supported_CFLAGS"
14346
14347
14348    CFLAGS="$CFLAGS $supported_CFLAGS"
14349    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
14350  else
14351    CPPFLAGS="$CPPFLAGS -DNDEBUG"
14352
14353    if test x"$enable_debug" = x"no"; then
14354      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
14355      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14356$as_echo "no" >&6; }
14357    else
14358      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
14359$as_echo "minimum" >&6; }
14360    fi
14361  fi
14362
14363
14364ac_config_files="$ac_config_files Makefile panel-plugin/Makefile po/Makefile.in"
14365
14366cat >confcache <<\_ACEOF
14367# This file is a shell script that caches the results of configure
14368# tests run on this system so they can be shared between configure
14369# scripts and configure runs, see configure's option --config-cache.
14370# It is not useful on other systems.  If it contains results you don't
14371# want to keep, you may remove or edit it.
14372#
14373# config.status only pays attention to the cache file if you give it
14374# the --recheck option to rerun configure.
14375#
14376# `ac_cv_env_foo' variables (set or unset) will be overridden when
14377# loading this file, other *unset* `ac_cv_foo' will be assigned the
14378# following values.
14379
14380_ACEOF
14381
14382# The following way of writing the cache mishandles newlines in values,
14383# but we know of no workaround that is simple, portable, and efficient.
14384# So, we kill variables containing newlines.
14385# Ultrix sh set writes to stderr and can't be redirected directly,
14386# and sets the high bit in the cache file unless we assign to the vars.
14387(
14388  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14389    eval ac_val=\$$ac_var
14390    case $ac_val in #(
14391    *${as_nl}*)
14392      case $ac_var in #(
14393      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14394$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14395      esac
14396      case $ac_var in #(
14397      _ | IFS | as_nl) ;; #(
14398      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14399      *) { eval $ac_var=; unset $ac_var;} ;;
14400      esac ;;
14401    esac
14402  done
14403
14404  (set) 2>&1 |
14405    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14406    *${as_nl}ac_space=\ *)
14407      # `set' does not quote correctly, so add quotes: double-quote
14408      # substitution turns \\\\ into \\, and sed turns \\ into \.
14409      sed -n \
14410	"s/'/'\\\\''/g;
14411	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14412      ;; #(
14413    *)
14414      # `set' quotes correctly as required by POSIX, so do not add quotes.
14415      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14416      ;;
14417    esac |
14418    sort
14419) |
14420  sed '
14421     /^ac_cv_env_/b end
14422     t clear
14423     :clear
14424     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14425     t end
14426     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14427     :end' >>confcache
14428if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14429  if test -w "$cache_file"; then
14430    if test "x$cache_file" != "x/dev/null"; then
14431      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14432$as_echo "$as_me: updating cache $cache_file" >&6;}
14433      if test ! -f "$cache_file" || test -h "$cache_file"; then
14434	cat confcache >"$cache_file"
14435      else
14436        case $cache_file in #(
14437        */* | ?:*)
14438	  mv -f confcache "$cache_file"$$ &&
14439	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14440        *)
14441	  mv -f confcache "$cache_file" ;;
14442	esac
14443      fi
14444    fi
14445  else
14446    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14447$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14448  fi
14449fi
14450rm -f confcache
14451
14452test "x$prefix" = xNONE && prefix=$ac_default_prefix
14453# Let make expand exec_prefix.
14454test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14455
14456DEFS=-DHAVE_CONFIG_H
14457
14458ac_libobjs=
14459ac_ltlibobjs=
14460for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14461  # 1. Remove the extension, and $U if already installed.
14462  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14463  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14464  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14465  #    will be set to the directory where LIBOBJS objects are built.
14466  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14467  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14468done
14469LIBOBJS=$ac_libobjs
14470
14471LTLIBOBJS=$ac_ltlibobjs
14472
14473
14474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14475$as_echo_n "checking that generated files are newer than configure... " >&6; }
14476   if test -n "$am_sleep_pid"; then
14477     # Hide warnings about reused PIDs.
14478     wait $am_sleep_pid 2>/dev/null
14479   fi
14480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14481$as_echo "done" >&6; }
14482 if test -n "$EXEEXT"; then
14483  am__EXEEXT_TRUE=
14484  am__EXEEXT_FALSE='#'
14485else
14486  am__EXEEXT_TRUE='#'
14487  am__EXEEXT_FALSE=
14488fi
14489
14490if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14491  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14492Usually this means the macro was only invoked conditionally." "$LINENO" 5
14493fi
14494if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14495  as_fn_error $? "conditional \"AMDEP\" was never defined.
14496Usually this means the macro was only invoked conditionally." "$LINENO" 5
14497fi
14498if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14499  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14500Usually this means the macro was only invoked conditionally." "$LINENO" 5
14501fi
14502
14503  ac_config_commands="$ac_config_commands po/stamp-it"
14504
14505
14506
14507: "${CONFIG_STATUS=./config.status}"
14508ac_write_fail=0
14509ac_clean_files_save=$ac_clean_files
14510ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14511{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14512$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14513as_write_fail=0
14514cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14515#! $SHELL
14516# Generated by $as_me.
14517# Run this file to recreate the current configuration.
14518# Compiler output produced by configure, useful for debugging
14519# configure, is in config.log if it exists.
14520
14521debug=false
14522ac_cs_recheck=false
14523ac_cs_silent=false
14524
14525SHELL=\${CONFIG_SHELL-$SHELL}
14526export SHELL
14527_ASEOF
14528cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14529## -------------------- ##
14530## M4sh Initialization. ##
14531## -------------------- ##
14532
14533# Be more Bourne compatible
14534DUALCASE=1; export DUALCASE # for MKS sh
14535if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14536  emulate sh
14537  NULLCMD=:
14538  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14539  # is contrary to our usage.  Disable this feature.
14540  alias -g '${1+"$@"}'='"$@"'
14541  setopt NO_GLOB_SUBST
14542else
14543  case `(set -o) 2>/dev/null` in #(
14544  *posix*) :
14545    set -o posix ;; #(
14546  *) :
14547     ;;
14548esac
14549fi
14550
14551
14552as_nl='
14553'
14554export as_nl
14555# Printing a long string crashes Solaris 7 /usr/bin/printf.
14556as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14557as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14558as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14559# Prefer a ksh shell builtin over an external printf program on Solaris,
14560# but without wasting forks for bash or zsh.
14561if test -z "$BASH_VERSION$ZSH_VERSION" \
14562    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14563  as_echo='print -r --'
14564  as_echo_n='print -rn --'
14565elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14566  as_echo='printf %s\n'
14567  as_echo_n='printf %s'
14568else
14569  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14570    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14571    as_echo_n='/usr/ucb/echo -n'
14572  else
14573    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14574    as_echo_n_body='eval
14575      arg=$1;
14576      case $arg in #(
14577      *"$as_nl"*)
14578	expr "X$arg" : "X\\(.*\\)$as_nl";
14579	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14580      esac;
14581      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14582    '
14583    export as_echo_n_body
14584    as_echo_n='sh -c $as_echo_n_body as_echo'
14585  fi
14586  export as_echo_body
14587  as_echo='sh -c $as_echo_body as_echo'
14588fi
14589
14590# The user is always right.
14591if test "${PATH_SEPARATOR+set}" != set; then
14592  PATH_SEPARATOR=:
14593  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14594    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14595      PATH_SEPARATOR=';'
14596  }
14597fi
14598
14599
14600# IFS
14601# We need space, tab and new line, in precisely that order.  Quoting is
14602# there to prevent editors from complaining about space-tab.
14603# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14604# splitting by setting IFS to empty value.)
14605IFS=" ""	$as_nl"
14606
14607# Find who we are.  Look in the path if we contain no directory separator.
14608as_myself=
14609case $0 in #((
14610  *[\\/]* ) as_myself=$0 ;;
14611  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14612for as_dir in $PATH
14613do
14614  IFS=$as_save_IFS
14615  test -z "$as_dir" && as_dir=.
14616    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14617  done
14618IFS=$as_save_IFS
14619
14620     ;;
14621esac
14622# We did not find ourselves, most probably we were run as `sh COMMAND'
14623# in which case we are not to be found in the path.
14624if test "x$as_myself" = x; then
14625  as_myself=$0
14626fi
14627if test ! -f "$as_myself"; then
14628  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14629  exit 1
14630fi
14631
14632# Unset variables that we do not need and which cause bugs (e.g. in
14633# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14634# suppresses any "Segmentation fault" message there.  '((' could
14635# trigger a bug in pdksh 5.2.14.
14636for as_var in BASH_ENV ENV MAIL MAILPATH
14637do eval test x\${$as_var+set} = xset \
14638  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14639done
14640PS1='$ '
14641PS2='> '
14642PS4='+ '
14643
14644# NLS nuisances.
14645LC_ALL=C
14646export LC_ALL
14647LANGUAGE=C
14648export LANGUAGE
14649
14650# CDPATH.
14651(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14652
14653
14654# as_fn_error STATUS ERROR [LINENO LOG_FD]
14655# ----------------------------------------
14656# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14657# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14658# script with STATUS, using 1 if that was 0.
14659as_fn_error ()
14660{
14661  as_status=$1; test $as_status -eq 0 && as_status=1
14662  if test "$4"; then
14663    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14664    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14665  fi
14666  $as_echo "$as_me: error: $2" >&2
14667  as_fn_exit $as_status
14668} # as_fn_error
14669
14670
14671# as_fn_set_status STATUS
14672# -----------------------
14673# Set $? to STATUS, without forking.
14674as_fn_set_status ()
14675{
14676  return $1
14677} # as_fn_set_status
14678
14679# as_fn_exit STATUS
14680# -----------------
14681# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14682as_fn_exit ()
14683{
14684  set +e
14685  as_fn_set_status $1
14686  exit $1
14687} # as_fn_exit
14688
14689# as_fn_unset VAR
14690# ---------------
14691# Portably unset VAR.
14692as_fn_unset ()
14693{
14694  { eval $1=; unset $1;}
14695}
14696as_unset=as_fn_unset
14697# as_fn_append VAR VALUE
14698# ----------------------
14699# Append the text in VALUE to the end of the definition contained in VAR. Take
14700# advantage of any shell optimizations that allow amortized linear growth over
14701# repeated appends, instead of the typical quadratic growth present in naive
14702# implementations.
14703if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14704  eval 'as_fn_append ()
14705  {
14706    eval $1+=\$2
14707  }'
14708else
14709  as_fn_append ()
14710  {
14711    eval $1=\$$1\$2
14712  }
14713fi # as_fn_append
14714
14715# as_fn_arith ARG...
14716# ------------------
14717# Perform arithmetic evaluation on the ARGs, and store the result in the
14718# global $as_val. Take advantage of shells that can avoid forks. The arguments
14719# must be portable across $(()) and expr.
14720if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14721  eval 'as_fn_arith ()
14722  {
14723    as_val=$(( $* ))
14724  }'
14725else
14726  as_fn_arith ()
14727  {
14728    as_val=`expr "$@" || test $? -eq 1`
14729  }
14730fi # as_fn_arith
14731
14732
14733if expr a : '\(a\)' >/dev/null 2>&1 &&
14734   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14735  as_expr=expr
14736else
14737  as_expr=false
14738fi
14739
14740if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14741  as_basename=basename
14742else
14743  as_basename=false
14744fi
14745
14746if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14747  as_dirname=dirname
14748else
14749  as_dirname=false
14750fi
14751
14752as_me=`$as_basename -- "$0" ||
14753$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14754	 X"$0" : 'X\(//\)$' \| \
14755	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14756$as_echo X/"$0" |
14757    sed '/^.*\/\([^/][^/]*\)\/*$/{
14758	    s//\1/
14759	    q
14760	  }
14761	  /^X\/\(\/\/\)$/{
14762	    s//\1/
14763	    q
14764	  }
14765	  /^X\/\(\/\).*/{
14766	    s//\1/
14767	    q
14768	  }
14769	  s/.*/./; q'`
14770
14771# Avoid depending upon Character Ranges.
14772as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14773as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14774as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14775as_cr_digits='0123456789'
14776as_cr_alnum=$as_cr_Letters$as_cr_digits
14777
14778ECHO_C= ECHO_N= ECHO_T=
14779case `echo -n x` in #(((((
14780-n*)
14781  case `echo 'xy\c'` in
14782  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14783  xy)  ECHO_C='\c';;
14784  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14785       ECHO_T='	';;
14786  esac;;
14787*)
14788  ECHO_N='-n';;
14789esac
14790
14791rm -f conf$$ conf$$.exe conf$$.file
14792if test -d conf$$.dir; then
14793  rm -f conf$$.dir/conf$$.file
14794else
14795  rm -f conf$$.dir
14796  mkdir conf$$.dir 2>/dev/null
14797fi
14798if (echo >conf$$.file) 2>/dev/null; then
14799  if ln -s conf$$.file conf$$ 2>/dev/null; then
14800    as_ln_s='ln -s'
14801    # ... but there are two gotchas:
14802    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14803    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14804    # In both cases, we have to default to `cp -pR'.
14805    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14806      as_ln_s='cp -pR'
14807  elif ln conf$$.file conf$$ 2>/dev/null; then
14808    as_ln_s=ln
14809  else
14810    as_ln_s='cp -pR'
14811  fi
14812else
14813  as_ln_s='cp -pR'
14814fi
14815rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14816rmdir conf$$.dir 2>/dev/null
14817
14818
14819# as_fn_mkdir_p
14820# -------------
14821# Create "$as_dir" as a directory, including parents if necessary.
14822as_fn_mkdir_p ()
14823{
14824
14825  case $as_dir in #(
14826  -*) as_dir=./$as_dir;;
14827  esac
14828  test -d "$as_dir" || eval $as_mkdir_p || {
14829    as_dirs=
14830    while :; do
14831      case $as_dir in #(
14832      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14833      *) as_qdir=$as_dir;;
14834      esac
14835      as_dirs="'$as_qdir' $as_dirs"
14836      as_dir=`$as_dirname -- "$as_dir" ||
14837$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14838	 X"$as_dir" : 'X\(//\)[^/]' \| \
14839	 X"$as_dir" : 'X\(//\)$' \| \
14840	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14841$as_echo X"$as_dir" |
14842    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14843	    s//\1/
14844	    q
14845	  }
14846	  /^X\(\/\/\)[^/].*/{
14847	    s//\1/
14848	    q
14849	  }
14850	  /^X\(\/\/\)$/{
14851	    s//\1/
14852	    q
14853	  }
14854	  /^X\(\/\).*/{
14855	    s//\1/
14856	    q
14857	  }
14858	  s/.*/./; q'`
14859      test -d "$as_dir" && break
14860    done
14861    test -z "$as_dirs" || eval "mkdir $as_dirs"
14862  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14863
14864
14865} # as_fn_mkdir_p
14866if mkdir -p . 2>/dev/null; then
14867  as_mkdir_p='mkdir -p "$as_dir"'
14868else
14869  test -d ./-p && rmdir ./-p
14870  as_mkdir_p=false
14871fi
14872
14873
14874# as_fn_executable_p FILE
14875# -----------------------
14876# Test if FILE is an executable regular file.
14877as_fn_executable_p ()
14878{
14879  test -f "$1" && test -x "$1"
14880} # as_fn_executable_p
14881as_test_x='test -x'
14882as_executable_p=as_fn_executable_p
14883
14884# Sed expression to map a string onto a valid CPP name.
14885as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14886
14887# Sed expression to map a string onto a valid variable name.
14888as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14889
14890
14891exec 6>&1
14892## ----------------------------------- ##
14893## Main body of $CONFIG_STATUS script. ##
14894## ----------------------------------- ##
14895_ASEOF
14896test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14897
14898cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14899# Save the log message, to keep $0 and so on meaningful, and to
14900# report actual input values of CONFIG_FILES etc. instead of their
14901# values after options handling.
14902ac_log="
14903This file was extended by xfce4-wavelan-plugin $as_me 0.6.2, which was
14904generated by GNU Autoconf 2.69.  Invocation command line was
14905
14906  CONFIG_FILES    = $CONFIG_FILES
14907  CONFIG_HEADERS  = $CONFIG_HEADERS
14908  CONFIG_LINKS    = $CONFIG_LINKS
14909  CONFIG_COMMANDS = $CONFIG_COMMANDS
14910  $ $0 $@
14911
14912on `(hostname || uname -n) 2>/dev/null | sed 1q`
14913"
14914
14915_ACEOF
14916
14917case $ac_config_files in *"
14918"*) set x $ac_config_files; shift; ac_config_files=$*;;
14919esac
14920
14921case $ac_config_headers in *"
14922"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14923esac
14924
14925
14926cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14927# Files that config.status was made for.
14928config_files="$ac_config_files"
14929config_headers="$ac_config_headers"
14930config_commands="$ac_config_commands"
14931
14932_ACEOF
14933
14934cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14935ac_cs_usage="\
14936\`$as_me' instantiates files and other configuration actions
14937from templates according to the current configuration.  Unless the files
14938and actions are specified as TAGs, all are instantiated by default.
14939
14940Usage: $0 [OPTION]... [TAG]...
14941
14942  -h, --help       print this help, then exit
14943  -V, --version    print version number and configuration settings, then exit
14944      --config     print configuration, then exit
14945  -q, --quiet, --silent
14946                   do not print progress messages
14947  -d, --debug      don't remove temporary files
14948      --recheck    update $as_me by reconfiguring in the same conditions
14949      --file=FILE[:TEMPLATE]
14950                   instantiate the configuration file FILE
14951      --header=FILE[:TEMPLATE]
14952                   instantiate the configuration header FILE
14953
14954Configuration files:
14955$config_files
14956
14957Configuration headers:
14958$config_headers
14959
14960Configuration commands:
14961$config_commands
14962
14963Report bugs to <xfce-dev@xfce.org>."
14964
14965_ACEOF
14966cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14967ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14968ac_cs_version="\\
14969xfce4-wavelan-plugin config.status 0.6.2
14970configured by $0, generated by GNU Autoconf 2.69,
14971  with options \\"\$ac_cs_config\\"
14972
14973Copyright (C) 2012 Free Software Foundation, Inc.
14974This config.status script is free software; the Free Software Foundation
14975gives unlimited permission to copy, distribute and modify it."
14976
14977ac_pwd='$ac_pwd'
14978srcdir='$srcdir'
14979INSTALL='$INSTALL'
14980MKDIR_P='$MKDIR_P'
14981AWK='$AWK'
14982test -n "\$AWK" || AWK=awk
14983_ACEOF
14984
14985cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14986# The default lists apply if the user does not specify any file.
14987ac_need_defaults=:
14988while test $# != 0
14989do
14990  case $1 in
14991  --*=?*)
14992    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14993    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14994    ac_shift=:
14995    ;;
14996  --*=)
14997    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14998    ac_optarg=
14999    ac_shift=:
15000    ;;
15001  *)
15002    ac_option=$1
15003    ac_optarg=$2
15004    ac_shift=shift
15005    ;;
15006  esac
15007
15008  case $ac_option in
15009  # Handling of the options.
15010  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15011    ac_cs_recheck=: ;;
15012  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15013    $as_echo "$ac_cs_version"; exit ;;
15014  --config | --confi | --conf | --con | --co | --c )
15015    $as_echo "$ac_cs_config"; exit ;;
15016  --debug | --debu | --deb | --de | --d | -d )
15017    debug=: ;;
15018  --file | --fil | --fi | --f )
15019    $ac_shift
15020    case $ac_optarg in
15021    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15022    '') as_fn_error $? "missing file argument" ;;
15023    esac
15024    as_fn_append CONFIG_FILES " '$ac_optarg'"
15025    ac_need_defaults=false;;
15026  --header | --heade | --head | --hea )
15027    $ac_shift
15028    case $ac_optarg in
15029    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15030    esac
15031    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15032    ac_need_defaults=false;;
15033  --he | --h)
15034    # Conflict between --help and --header
15035    as_fn_error $? "ambiguous option: \`$1'
15036Try \`$0 --help' for more information.";;
15037  --help | --hel | -h )
15038    $as_echo "$ac_cs_usage"; exit ;;
15039  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15040  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15041    ac_cs_silent=: ;;
15042
15043  # This is an error.
15044  -*) as_fn_error $? "unrecognized option: \`$1'
15045Try \`$0 --help' for more information." ;;
15046
15047  *) as_fn_append ac_config_targets " $1"
15048     ac_need_defaults=false ;;
15049
15050  esac
15051  shift
15052done
15053
15054ac_configure_extra_args=
15055
15056if $ac_cs_silent; then
15057  exec 6>/dev/null
15058  ac_configure_extra_args="$ac_configure_extra_args --silent"
15059fi
15060
15061_ACEOF
15062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15063if \$ac_cs_recheck; then
15064  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15065  shift
15066  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15067  CONFIG_SHELL='$SHELL'
15068  export CONFIG_SHELL
15069  exec "\$@"
15070fi
15071
15072_ACEOF
15073cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15074exec 5>>config.log
15075{
15076  echo
15077  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15078## Running $as_me. ##
15079_ASBOX
15080  $as_echo "$ac_log"
15081} >&5
15082
15083_ACEOF
15084cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15085#
15086# INIT-COMMANDS
15087#
15088AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15089
15090
15091# The HP-UX ksh and POSIX shell print the target directory to stdout
15092# if CDPATH is set.
15093(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15094
15095sed_quote_subst='$sed_quote_subst'
15096double_quote_subst='$double_quote_subst'
15097delay_variable_subst='$delay_variable_subst'
15098macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15099macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15100enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15101enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15102pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15103enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15104shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15105SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15106ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15107PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15108host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15109host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15110host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15111build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15112build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15113build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15114SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15115Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15116GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15117EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15118FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15119LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15120NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15121LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15122max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15123ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15124exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15125lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15126lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15127lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15128lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15129lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15130reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15131reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15132OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15133deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15134file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15135file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15136want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15137DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15138sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15139AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15140AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15141archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15142STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15143RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15144old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15145old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15146old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15147lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15148CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15149CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15150compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15151GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15152lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15153lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15154lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15155lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15156lt_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"`'
15157lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15158nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15159lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15160lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15161objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15162MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15163lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15164lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15165lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15166lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15167lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15168need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15169MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15170DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15171NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15172LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15173OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15174OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15175libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15176shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15177extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15178archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15179enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15180export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15181whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15182compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15183old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15184old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15185archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15186archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15187module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15188module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15189with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15190allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15191no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15192hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15193hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15194hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15195hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15196hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15197hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15198hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15199inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15200link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15201always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15202export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15203exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15204include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15205prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15206postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15207file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15208variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15209need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15210need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15211version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15212runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15213shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15214shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15215libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15216library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15217soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15218install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15219postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15220postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15221finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15222finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15223hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15224sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15225configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15226configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15227hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15228enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15229enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15230enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15231old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15232striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15233
15234LTCC='$LTCC'
15235LTCFLAGS='$LTCFLAGS'
15236compiler='$compiler_DEFAULT'
15237
15238# A function that is used when there is no print builtin or printf.
15239func_fallback_echo ()
15240{
15241  eval 'cat <<_LTECHO_EOF
15242\$1
15243_LTECHO_EOF'
15244}
15245
15246# Quote evaled strings.
15247for var in SHELL \
15248ECHO \
15249PATH_SEPARATOR \
15250SED \
15251GREP \
15252EGREP \
15253FGREP \
15254LD \
15255NM \
15256LN_S \
15257lt_SP2NL \
15258lt_NL2SP \
15259reload_flag \
15260OBJDUMP \
15261deplibs_check_method \
15262file_magic_cmd \
15263file_magic_glob \
15264want_nocaseglob \
15265DLLTOOL \
15266sharedlib_from_linklib_cmd \
15267AR \
15268AR_FLAGS \
15269archiver_list_spec \
15270STRIP \
15271RANLIB \
15272CC \
15273CFLAGS \
15274compiler \
15275lt_cv_sys_global_symbol_pipe \
15276lt_cv_sys_global_symbol_to_cdecl \
15277lt_cv_sys_global_symbol_to_import \
15278lt_cv_sys_global_symbol_to_c_name_address \
15279lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15280lt_cv_nm_interface \
15281nm_file_list_spec \
15282lt_cv_truncate_bin \
15283lt_prog_compiler_no_builtin_flag \
15284lt_prog_compiler_pic \
15285lt_prog_compiler_wl \
15286lt_prog_compiler_static \
15287lt_cv_prog_compiler_c_o \
15288need_locks \
15289MANIFEST_TOOL \
15290DSYMUTIL \
15291NMEDIT \
15292LIPO \
15293OTOOL \
15294OTOOL64 \
15295shrext_cmds \
15296export_dynamic_flag_spec \
15297whole_archive_flag_spec \
15298compiler_needs_object \
15299with_gnu_ld \
15300allow_undefined_flag \
15301no_undefined_flag \
15302hardcode_libdir_flag_spec \
15303hardcode_libdir_separator \
15304exclude_expsyms \
15305include_expsyms \
15306file_list_spec \
15307variables_saved_for_relink \
15308libname_spec \
15309library_names_spec \
15310soname_spec \
15311install_override_mode \
15312finish_eval \
15313old_striplib \
15314striplib; do
15315    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15316    *[\\\\\\\`\\"\\\$]*)
15317      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15318      ;;
15319    *)
15320      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15321      ;;
15322    esac
15323done
15324
15325# Double-quote double-evaled strings.
15326for var in reload_cmds \
15327old_postinstall_cmds \
15328old_postuninstall_cmds \
15329old_archive_cmds \
15330extract_expsyms_cmds \
15331old_archive_from_new_cmds \
15332old_archive_from_expsyms_cmds \
15333archive_cmds \
15334archive_expsym_cmds \
15335module_cmds \
15336module_expsym_cmds \
15337export_symbols_cmds \
15338prelink_cmds \
15339postlink_cmds \
15340postinstall_cmds \
15341postuninstall_cmds \
15342finish_cmds \
15343sys_lib_search_path_spec \
15344configure_time_dlsearch_path \
15345configure_time_lt_sys_library_path; do
15346    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15347    *[\\\\\\\`\\"\\\$]*)
15348      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15349      ;;
15350    *)
15351      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15352      ;;
15353    esac
15354done
15355
15356ac_aux_dir='$ac_aux_dir'
15357
15358# See if we are running on zsh, and set the options that allow our
15359# commands through without removal of \ escapes INIT.
15360if test -n "\${ZSH_VERSION+set}"; then
15361   setopt NO_GLOB_SUBST
15362fi
15363
15364
15365    PACKAGE='$PACKAGE'
15366    VERSION='$VERSION'
15367    RM='$RM'
15368    ofile='$ofile'
15369
15370
15371
15372
15373
15374_ACEOF
15375
15376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15377
15378# Handling of arguments.
15379for ac_config_target in $ac_config_targets
15380do
15381  case $ac_config_target in
15382    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15383    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15384    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15385    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15386    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15387    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
15388    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15389    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15390
15391  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15392  esac
15393done
15394
15395
15396# If the user did not use the arguments to specify the items to instantiate,
15397# then the envvar interface is used.  Set only those that are not.
15398# We use the long form for the default assignment because of an extremely
15399# bizarre bug on SunOS 4.1.3.
15400if $ac_need_defaults; then
15401  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15402  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15403  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15404fi
15405
15406# Have a temporary directory for convenience.  Make it in the build tree
15407# simply because there is no reason against having it here, and in addition,
15408# creating and moving files from /tmp can sometimes cause problems.
15409# Hook for its removal unless debugging.
15410# Note that there is a small window in which the directory will not be cleaned:
15411# after its creation but before its name has been assigned to `$tmp'.
15412$debug ||
15413{
15414  tmp= ac_tmp=
15415  trap 'exit_status=$?
15416  : "${ac_tmp:=$tmp}"
15417  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15418' 0
15419  trap 'as_fn_exit 1' 1 2 13 15
15420}
15421# Create a (secure) tmp directory for tmp files.
15422
15423{
15424  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15425  test -d "$tmp"
15426}  ||
15427{
15428  tmp=./conf$$-$RANDOM
15429  (umask 077 && mkdir "$tmp")
15430} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15431ac_tmp=$tmp
15432
15433# Set up the scripts for CONFIG_FILES section.
15434# No need to generate them if there are no CONFIG_FILES.
15435# This happens for instance with `./config.status config.h'.
15436if test -n "$CONFIG_FILES"; then
15437
15438
15439ac_cr=`echo X | tr X '\015'`
15440# On cygwin, bash can eat \r inside `` if the user requested igncr.
15441# But we know of no other shell where ac_cr would be empty at this
15442# point, so we can use a bashism as a fallback.
15443if test "x$ac_cr" = x; then
15444  eval ac_cr=\$\'\\r\'
15445fi
15446ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15447if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15448  ac_cs_awk_cr='\\r'
15449else
15450  ac_cs_awk_cr=$ac_cr
15451fi
15452
15453echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15454_ACEOF
15455
15456
15457{
15458  echo "cat >conf$$subs.awk <<_ACEOF" &&
15459  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15460  echo "_ACEOF"
15461} >conf$$subs.sh ||
15462  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15463ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15464ac_delim='%!_!# '
15465for ac_last_try in false false false false false :; do
15466  . ./conf$$subs.sh ||
15467    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15468
15469  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15470  if test $ac_delim_n = $ac_delim_num; then
15471    break
15472  elif $ac_last_try; then
15473    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15474  else
15475    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15476  fi
15477done
15478rm -f conf$$subs.sh
15479
15480cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15481cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15482_ACEOF
15483sed -n '
15484h
15485s/^/S["/; s/!.*/"]=/
15486p
15487g
15488s/^[^!]*!//
15489:repl
15490t repl
15491s/'"$ac_delim"'$//
15492t delim
15493:nl
15494h
15495s/\(.\{148\}\)..*/\1/
15496t more1
15497s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15498p
15499n
15500b repl
15501:more1
15502s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15503p
15504g
15505s/.\{148\}//
15506t nl
15507:delim
15508h
15509s/\(.\{148\}\)..*/\1/
15510t more2
15511s/["\\]/\\&/g; s/^/"/; s/$/"/
15512p
15513b
15514:more2
15515s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15516p
15517g
15518s/.\{148\}//
15519t delim
15520' <conf$$subs.awk | sed '
15521/^[^""]/{
15522  N
15523  s/\n//
15524}
15525' >>$CONFIG_STATUS || ac_write_fail=1
15526rm -f conf$$subs.awk
15527cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15528_ACAWK
15529cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15530  for (key in S) S_is_set[key] = 1
15531  FS = ""
15532
15533}
15534{
15535  line = $ 0
15536  nfields = split(line, field, "@")
15537  substed = 0
15538  len = length(field[1])
15539  for (i = 2; i < nfields; i++) {
15540    key = field[i]
15541    keylen = length(key)
15542    if (S_is_set[key]) {
15543      value = S[key]
15544      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15545      len += length(value) + length(field[++i])
15546      substed = 1
15547    } else
15548      len += 1 + keylen
15549  }
15550
15551  print line
15552}
15553
15554_ACAWK
15555_ACEOF
15556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15557if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15558  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15559else
15560  cat
15561fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15562  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15563_ACEOF
15564
15565# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15566# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15567# trailing colons and then remove the whole line if VPATH becomes empty
15568# (actually we leave an empty line to preserve line numbers).
15569if test "x$srcdir" = x.; then
15570  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15571h
15572s///
15573s/^/:/
15574s/[	 ]*$/:/
15575s/:\$(srcdir):/:/g
15576s/:\${srcdir}:/:/g
15577s/:@srcdir@:/:/g
15578s/^:*//
15579s/:*$//
15580x
15581s/\(=[	 ]*\).*/\1/
15582G
15583s/\n//
15584s/^[^=]*=[	 ]*$//
15585}'
15586fi
15587
15588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15589fi # test -n "$CONFIG_FILES"
15590
15591# Set up the scripts for CONFIG_HEADERS section.
15592# No need to generate them if there are no CONFIG_HEADERS.
15593# This happens for instance with `./config.status Makefile'.
15594if test -n "$CONFIG_HEADERS"; then
15595cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15596BEGIN {
15597_ACEOF
15598
15599# Transform confdefs.h into an awk script `defines.awk', embedded as
15600# here-document in config.status, that substitutes the proper values into
15601# config.h.in to produce config.h.
15602
15603# Create a delimiter string that does not exist in confdefs.h, to ease
15604# handling of long lines.
15605ac_delim='%!_!# '
15606for ac_last_try in false false :; do
15607  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15608  if test -z "$ac_tt"; then
15609    break
15610  elif $ac_last_try; then
15611    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15612  else
15613    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15614  fi
15615done
15616
15617# For the awk script, D is an array of macro values keyed by name,
15618# likewise P contains macro parameters if any.  Preserve backslash
15619# newline sequences.
15620
15621ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15622sed -n '
15623s/.\{148\}/&'"$ac_delim"'/g
15624t rset
15625:rset
15626s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15627t def
15628d
15629:def
15630s/\\$//
15631t bsnl
15632s/["\\]/\\&/g
15633s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15634D["\1"]=" \3"/p
15635s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15636d
15637:bsnl
15638s/["\\]/\\&/g
15639s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15640D["\1"]=" \3\\\\\\n"\\/p
15641t cont
15642s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15643t cont
15644d
15645:cont
15646n
15647s/.\{148\}/&'"$ac_delim"'/g
15648t clear
15649:clear
15650s/\\$//
15651t bsnlc
15652s/["\\]/\\&/g; s/^/"/; s/$/"/p
15653d
15654:bsnlc
15655s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15656b cont
15657' <confdefs.h | sed '
15658s/'"$ac_delim"'/"\\\
15659"/g' >>$CONFIG_STATUS || ac_write_fail=1
15660
15661cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15662  for (key in D) D_is_set[key] = 1
15663  FS = ""
15664}
15665/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15666  line = \$ 0
15667  split(line, arg, " ")
15668  if (arg[1] == "#") {
15669    defundef = arg[2]
15670    mac1 = arg[3]
15671  } else {
15672    defundef = substr(arg[1], 2)
15673    mac1 = arg[2]
15674  }
15675  split(mac1, mac2, "(") #)
15676  macro = mac2[1]
15677  prefix = substr(line, 1, index(line, defundef) - 1)
15678  if (D_is_set[macro]) {
15679    # Preserve the white space surrounding the "#".
15680    print prefix "define", macro P[macro] D[macro]
15681    next
15682  } else {
15683    # Replace #undef with comments.  This is necessary, for example,
15684    # in the case of _POSIX_SOURCE, which is predefined and required
15685    # on some systems where configure will not decide to define it.
15686    if (defundef == "undef") {
15687      print "/*", prefix defundef, macro, "*/"
15688      next
15689    }
15690  }
15691}
15692{ print }
15693_ACAWK
15694_ACEOF
15695cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15696  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15697fi # test -n "$CONFIG_HEADERS"
15698
15699
15700eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15701shift
15702for ac_tag
15703do
15704  case $ac_tag in
15705  :[FHLC]) ac_mode=$ac_tag; continue;;
15706  esac
15707  case $ac_mode$ac_tag in
15708  :[FHL]*:*);;
15709  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15710  :[FH]-) ac_tag=-:-;;
15711  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15712  esac
15713  ac_save_IFS=$IFS
15714  IFS=:
15715  set x $ac_tag
15716  IFS=$ac_save_IFS
15717  shift
15718  ac_file=$1
15719  shift
15720
15721  case $ac_mode in
15722  :L) ac_source=$1;;
15723  :[FH])
15724    ac_file_inputs=
15725    for ac_f
15726    do
15727      case $ac_f in
15728      -) ac_f="$ac_tmp/stdin";;
15729      *) # Look for the file first in the build tree, then in the source tree
15730	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15731	 # because $ac_f cannot contain `:'.
15732	 test -f "$ac_f" ||
15733	   case $ac_f in
15734	   [\\/$]*) false;;
15735	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15736	   esac ||
15737	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15738      esac
15739      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15740      as_fn_append ac_file_inputs " '$ac_f'"
15741    done
15742
15743    # Let's still pretend it is `configure' which instantiates (i.e., don't
15744    # use $as_me), people would be surprised to read:
15745    #    /* config.h.  Generated by config.status.  */
15746    configure_input='Generated from '`
15747	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15748	`' by configure.'
15749    if test x"$ac_file" != x-; then
15750      configure_input="$ac_file.  $configure_input"
15751      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15752$as_echo "$as_me: creating $ac_file" >&6;}
15753    fi
15754    # Neutralize special characters interpreted by sed in replacement strings.
15755    case $configure_input in #(
15756    *\&* | *\|* | *\\* )
15757       ac_sed_conf_input=`$as_echo "$configure_input" |
15758       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15759    *) ac_sed_conf_input=$configure_input;;
15760    esac
15761
15762    case $ac_tag in
15763    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15764      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15765    esac
15766    ;;
15767  esac
15768
15769  ac_dir=`$as_dirname -- "$ac_file" ||
15770$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15771	 X"$ac_file" : 'X\(//\)[^/]' \| \
15772	 X"$ac_file" : 'X\(//\)$' \| \
15773	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15774$as_echo X"$ac_file" |
15775    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15776	    s//\1/
15777	    q
15778	  }
15779	  /^X\(\/\/\)[^/].*/{
15780	    s//\1/
15781	    q
15782	  }
15783	  /^X\(\/\/\)$/{
15784	    s//\1/
15785	    q
15786	  }
15787	  /^X\(\/\).*/{
15788	    s//\1/
15789	    q
15790	  }
15791	  s/.*/./; q'`
15792  as_dir="$ac_dir"; as_fn_mkdir_p
15793  ac_builddir=.
15794
15795case "$ac_dir" in
15796.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15797*)
15798  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15799  # A ".." for each directory in $ac_dir_suffix.
15800  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15801  case $ac_top_builddir_sub in
15802  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15803  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15804  esac ;;
15805esac
15806ac_abs_top_builddir=$ac_pwd
15807ac_abs_builddir=$ac_pwd$ac_dir_suffix
15808# for backward compatibility:
15809ac_top_builddir=$ac_top_build_prefix
15810
15811case $srcdir in
15812  .)  # We are building in place.
15813    ac_srcdir=.
15814    ac_top_srcdir=$ac_top_builddir_sub
15815    ac_abs_top_srcdir=$ac_pwd ;;
15816  [\\/]* | ?:[\\/]* )  # Absolute name.
15817    ac_srcdir=$srcdir$ac_dir_suffix;
15818    ac_top_srcdir=$srcdir
15819    ac_abs_top_srcdir=$srcdir ;;
15820  *) # Relative name.
15821    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15822    ac_top_srcdir=$ac_top_build_prefix$srcdir
15823    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15824esac
15825ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15826
15827
15828  case $ac_mode in
15829  :F)
15830  #
15831  # CONFIG_FILE
15832  #
15833
15834  case $INSTALL in
15835  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15836  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15837  esac
15838  ac_MKDIR_P=$MKDIR_P
15839  case $MKDIR_P in
15840  [\\/$]* | ?:[\\/]* ) ;;
15841  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15842  esac
15843_ACEOF
15844
15845cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15846# If the template does not know about datarootdir, expand it.
15847# FIXME: This hack should be removed a few years after 2.60.
15848ac_datarootdir_hack=; ac_datarootdir_seen=
15849ac_sed_dataroot='
15850/datarootdir/ {
15851  p
15852  q
15853}
15854/@datadir@/p
15855/@docdir@/p
15856/@infodir@/p
15857/@localedir@/p
15858/@mandir@/p'
15859case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15860*datarootdir*) ac_datarootdir_seen=yes;;
15861*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15862  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15863$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15864_ACEOF
15865cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15866  ac_datarootdir_hack='
15867  s&@datadir@&$datadir&g
15868  s&@docdir@&$docdir&g
15869  s&@infodir@&$infodir&g
15870  s&@localedir@&$localedir&g
15871  s&@mandir@&$mandir&g
15872  s&\\\${datarootdir}&$datarootdir&g' ;;
15873esac
15874_ACEOF
15875
15876# Neutralize VPATH when `$srcdir' = `.'.
15877# Shell code in configure.ac might set extrasub.
15878# FIXME: do we really want to maintain this feature?
15879cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880ac_sed_extra="$ac_vpsub
15881$extrasub
15882_ACEOF
15883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15884:t
15885/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15886s|@configure_input@|$ac_sed_conf_input|;t t
15887s&@top_builddir@&$ac_top_builddir_sub&;t t
15888s&@top_build_prefix@&$ac_top_build_prefix&;t t
15889s&@srcdir@&$ac_srcdir&;t t
15890s&@abs_srcdir@&$ac_abs_srcdir&;t t
15891s&@top_srcdir@&$ac_top_srcdir&;t t
15892s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15893s&@builddir@&$ac_builddir&;t t
15894s&@abs_builddir@&$ac_abs_builddir&;t t
15895s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15896s&@INSTALL@&$ac_INSTALL&;t t
15897s&@MKDIR_P@&$ac_MKDIR_P&;t t
15898$ac_datarootdir_hack
15899"
15900eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15901  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15902
15903test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15904  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15905  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15906      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15907  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15908which seems to be undefined.  Please make sure it is defined" >&5
15909$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15910which seems to be undefined.  Please make sure it is defined" >&2;}
15911
15912  rm -f "$ac_tmp/stdin"
15913  case $ac_file in
15914  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15915  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15916  esac \
15917  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15918 ;;
15919  :H)
15920  #
15921  # CONFIG_HEADER
15922  #
15923  if test x"$ac_file" != x-; then
15924    {
15925      $as_echo "/* $configure_input  */" \
15926      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15927    } >"$ac_tmp/config.h" \
15928      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15929    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15930      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15931$as_echo "$as_me: $ac_file is unchanged" >&6;}
15932    else
15933      rm -f "$ac_file"
15934      mv "$ac_tmp/config.h" "$ac_file" \
15935	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15936    fi
15937  else
15938    $as_echo "/* $configure_input  */" \
15939      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15940      || as_fn_error $? "could not create -" "$LINENO" 5
15941  fi
15942# Compute "$ac_file"'s index in $config_headers.
15943_am_arg="$ac_file"
15944_am_stamp_count=1
15945for _am_header in $config_headers :; do
15946  case $_am_header in
15947    $_am_arg | $_am_arg:* )
15948      break ;;
15949    * )
15950      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15951  esac
15952done
15953echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15954$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15955	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15956	 X"$_am_arg" : 'X\(//\)$' \| \
15957	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15958$as_echo X"$_am_arg" |
15959    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15960	    s//\1/
15961	    q
15962	  }
15963	  /^X\(\/\/\)[^/].*/{
15964	    s//\1/
15965	    q
15966	  }
15967	  /^X\(\/\/\)$/{
15968	    s//\1/
15969	    q
15970	  }
15971	  /^X\(\/\).*/{
15972	    s//\1/
15973	    q
15974	  }
15975	  s/.*/./; q'`/stamp-h$_am_stamp_count
15976 ;;
15977
15978  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15979$as_echo "$as_me: executing $ac_file commands" >&6;}
15980 ;;
15981  esac
15982
15983
15984  case $ac_file$ac_mode in
15985    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15986  # Older Autoconf quotes --file arguments for eval, but not when files
15987  # are listed without --file.  Let's play safe and only enable the eval
15988  # if we detect the quoting.
15989  # TODO: see whether this extra hack can be removed once we start
15990  # requiring Autoconf 2.70 or later.
15991  case $CONFIG_FILES in #(
15992  *\'*) :
15993    eval set x "$CONFIG_FILES" ;; #(
15994  *) :
15995    set x $CONFIG_FILES ;; #(
15996  *) :
15997     ;;
15998esac
15999  shift
16000  # Used to flag and report bootstrapping failures.
16001  am_rc=0
16002  for am_mf
16003  do
16004    # Strip MF so we end up with the name of the file.
16005    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16006    # Check whether this is an Automake generated Makefile which includes
16007    # dependency-tracking related rules and includes.
16008    # Grep'ing the whole file directly is not great: AIX grep has a line
16009    # limit of 2048, but all sed's we know have understand at least 4000.
16010    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16011      || continue
16012    am_dirpart=`$as_dirname -- "$am_mf" ||
16013$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16014	 X"$am_mf" : 'X\(//\)[^/]' \| \
16015	 X"$am_mf" : 'X\(//\)$' \| \
16016	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16017$as_echo X"$am_mf" |
16018    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16019	    s//\1/
16020	    q
16021	  }
16022	  /^X\(\/\/\)[^/].*/{
16023	    s//\1/
16024	    q
16025	  }
16026	  /^X\(\/\/\)$/{
16027	    s//\1/
16028	    q
16029	  }
16030	  /^X\(\/\).*/{
16031	    s//\1/
16032	    q
16033	  }
16034	  s/.*/./; q'`
16035    am_filepart=`$as_basename -- "$am_mf" ||
16036$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16037	 X"$am_mf" : 'X\(//\)$' \| \
16038	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16039$as_echo X/"$am_mf" |
16040    sed '/^.*\/\([^/][^/]*\)\/*$/{
16041	    s//\1/
16042	    q
16043	  }
16044	  /^X\/\(\/\/\)$/{
16045	    s//\1/
16046	    q
16047	  }
16048	  /^X\/\(\/\).*/{
16049	    s//\1/
16050	    q
16051	  }
16052	  s/.*/./; q'`
16053    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16054      && sed -e '/# am--include-marker/d' "$am_filepart" \
16055        | $MAKE -f - am--depfiles" >&5
16056   (cd "$am_dirpart" \
16057      && sed -e '/# am--include-marker/d' "$am_filepart" \
16058        | $MAKE -f - am--depfiles) >&5 2>&5
16059   ac_status=$?
16060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061   (exit $ac_status); } || am_rc=$?
16062  done
16063  if test $am_rc -ne 0; then
16064    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16065$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16066as_fn_error $? "Something went wrong bootstrapping makefile fragments
16067    for automatic dependency tracking.  Try re-running configure with the
16068    '--disable-dependency-tracking' option to at least be able to build
16069    the package (albeit without support for automatic dependency tracking).
16070See \`config.log' for more details" "$LINENO" 5; }
16071  fi
16072  { am_dirpart=; unset am_dirpart;}
16073  { am_filepart=; unset am_filepart;}
16074  { am_mf=; unset am_mf;}
16075  { am_rc=; unset am_rc;}
16076  rm -f conftest-deps.mk
16077}
16078 ;;
16079    "libtool":C)
16080
16081    # See if we are running on zsh, and set the options that allow our
16082    # commands through without removal of \ escapes.
16083    if test -n "${ZSH_VERSION+set}"; then
16084      setopt NO_GLOB_SUBST
16085    fi
16086
16087    cfgfile=${ofile}T
16088    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16089    $RM "$cfgfile"
16090
16091    cat <<_LT_EOF >> "$cfgfile"
16092#! $SHELL
16093# Generated automatically by $as_me ($PACKAGE) $VERSION
16094# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16095
16096# Provide generalized library-building support services.
16097# Written by Gordon Matzigkeit, 1996
16098
16099# Copyright (C) 2014 Free Software Foundation, Inc.
16100# This is free software; see the source for copying conditions.  There is NO
16101# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16102
16103# GNU Libtool is free software; you can redistribute it and/or modify
16104# it under the terms of the GNU General Public License as published by
16105# the Free Software Foundation; either version 2 of of the License, or
16106# (at your option) any later version.
16107#
16108# As a special exception to the GNU General Public License, if you
16109# distribute this file as part of a program or library that is built
16110# using GNU Libtool, you may include this file under the  same
16111# distribution terms that you use for the rest of that program.
16112#
16113# GNU Libtool is distributed in the hope that it will be useful, but
16114# WITHOUT ANY WARRANTY; without even the implied warranty of
16115# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16116# GNU General Public License for more details.
16117#
16118# You should have received a copy of the GNU General Public License
16119# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16120
16121
16122# The names of the tagged configurations supported by this script.
16123available_tags=''
16124
16125# Configured defaults for sys_lib_dlsearch_path munging.
16126: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16127
16128# ### BEGIN LIBTOOL CONFIG
16129
16130# Which release of libtool.m4 was used?
16131macro_version=$macro_version
16132macro_revision=$macro_revision
16133
16134# Whether or not to build static libraries.
16135build_old_libs=$enable_static
16136
16137# Whether or not to build shared libraries.
16138build_libtool_libs=$enable_shared
16139
16140# What type of objects to build.
16141pic_mode=$pic_mode
16142
16143# Whether or not to optimize for fast installation.
16144fast_install=$enable_fast_install
16145
16146# Shared archive member basename,for filename based shared library versioning on AIX.
16147shared_archive_member_spec=$shared_archive_member_spec
16148
16149# Shell to use when invoking shell scripts.
16150SHELL=$lt_SHELL
16151
16152# An echo program that protects backslashes.
16153ECHO=$lt_ECHO
16154
16155# The PATH separator for the build system.
16156PATH_SEPARATOR=$lt_PATH_SEPARATOR
16157
16158# The host system.
16159host_alias=$host_alias
16160host=$host
16161host_os=$host_os
16162
16163# The build system.
16164build_alias=$build_alias
16165build=$build
16166build_os=$build_os
16167
16168# A sed program that does not truncate output.
16169SED=$lt_SED
16170
16171# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16172Xsed="\$SED -e 1s/^X//"
16173
16174# A grep program that handles long lines.
16175GREP=$lt_GREP
16176
16177# An ERE matcher.
16178EGREP=$lt_EGREP
16179
16180# A literal string matcher.
16181FGREP=$lt_FGREP
16182
16183# A BSD- or MS-compatible name lister.
16184NM=$lt_NM
16185
16186# Whether we need soft or hard links.
16187LN_S=$lt_LN_S
16188
16189# What is the maximum length of a command?
16190max_cmd_len=$max_cmd_len
16191
16192# Object file suffix (normally "o").
16193objext=$ac_objext
16194
16195# Executable file suffix (normally "").
16196exeext=$exeext
16197
16198# whether the shell understands "unset".
16199lt_unset=$lt_unset
16200
16201# turn spaces into newlines.
16202SP2NL=$lt_lt_SP2NL
16203
16204# turn newlines into spaces.
16205NL2SP=$lt_lt_NL2SP
16206
16207# convert \$build file names to \$host format.
16208to_host_file_cmd=$lt_cv_to_host_file_cmd
16209
16210# convert \$build files to toolchain format.
16211to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16212
16213# An object symbol dumper.
16214OBJDUMP=$lt_OBJDUMP
16215
16216# Method to check whether dependent libraries are shared objects.
16217deplibs_check_method=$lt_deplibs_check_method
16218
16219# Command to use when deplibs_check_method = "file_magic".
16220file_magic_cmd=$lt_file_magic_cmd
16221
16222# How to find potential files when deplibs_check_method = "file_magic".
16223file_magic_glob=$lt_file_magic_glob
16224
16225# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16226want_nocaseglob=$lt_want_nocaseglob
16227
16228# DLL creation program.
16229DLLTOOL=$lt_DLLTOOL
16230
16231# Command to associate shared and link libraries.
16232sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16233
16234# The archiver.
16235AR=$lt_AR
16236
16237# Flags to create an archive.
16238AR_FLAGS=$lt_AR_FLAGS
16239
16240# How to feed a file listing to the archiver.
16241archiver_list_spec=$lt_archiver_list_spec
16242
16243# A symbol stripping program.
16244STRIP=$lt_STRIP
16245
16246# Commands used to install an old-style archive.
16247RANLIB=$lt_RANLIB
16248old_postinstall_cmds=$lt_old_postinstall_cmds
16249old_postuninstall_cmds=$lt_old_postuninstall_cmds
16250
16251# Whether to use a lock for old archive extraction.
16252lock_old_archive_extraction=$lock_old_archive_extraction
16253
16254# A C compiler.
16255LTCC=$lt_CC
16256
16257# LTCC compiler flags.
16258LTCFLAGS=$lt_CFLAGS
16259
16260# Take the output of nm and produce a listing of raw symbols and C names.
16261global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16262
16263# Transform the output of nm in a proper C declaration.
16264global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16265
16266# Transform the output of nm into a list of symbols to manually relocate.
16267global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16268
16269# Transform the output of nm in a C name address pair.
16270global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16271
16272# Transform the output of nm in a C name address pair when lib prefix is needed.
16273global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16274
16275# The name lister interface.
16276nm_interface=$lt_lt_cv_nm_interface
16277
16278# Specify filename containing input files for \$NM.
16279nm_file_list_spec=$lt_nm_file_list_spec
16280
16281# The root where to search for dependent libraries,and where our libraries should be installed.
16282lt_sysroot=$lt_sysroot
16283
16284# Command to truncate a binary pipe.
16285lt_truncate_bin=$lt_lt_cv_truncate_bin
16286
16287# The name of the directory that contains temporary libtool files.
16288objdir=$objdir
16289
16290# Used to examine libraries when file_magic_cmd begins with "file".
16291MAGIC_CMD=$MAGIC_CMD
16292
16293# Must we lock files when doing compilation?
16294need_locks=$lt_need_locks
16295
16296# Manifest tool.
16297MANIFEST_TOOL=$lt_MANIFEST_TOOL
16298
16299# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16300DSYMUTIL=$lt_DSYMUTIL
16301
16302# Tool to change global to local symbols on Mac OS X.
16303NMEDIT=$lt_NMEDIT
16304
16305# Tool to manipulate fat objects and archives on Mac OS X.
16306LIPO=$lt_LIPO
16307
16308# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16309OTOOL=$lt_OTOOL
16310
16311# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16312OTOOL64=$lt_OTOOL64
16313
16314# Old archive suffix (normally "a").
16315libext=$libext
16316
16317# Shared library suffix (normally ".so").
16318shrext_cmds=$lt_shrext_cmds
16319
16320# The commands to extract the exported symbol list from a shared archive.
16321extract_expsyms_cmds=$lt_extract_expsyms_cmds
16322
16323# Variables whose values should be saved in libtool wrapper scripts and
16324# restored at link time.
16325variables_saved_for_relink=$lt_variables_saved_for_relink
16326
16327# Do we need the "lib" prefix for modules?
16328need_lib_prefix=$need_lib_prefix
16329
16330# Do we need a version for libraries?
16331need_version=$need_version
16332
16333# Library versioning type.
16334version_type=$version_type
16335
16336# Shared library runtime path variable.
16337runpath_var=$runpath_var
16338
16339# Shared library path variable.
16340shlibpath_var=$shlibpath_var
16341
16342# Is shlibpath searched before the hard-coded library search path?
16343shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16344
16345# Format of library name prefix.
16346libname_spec=$lt_libname_spec
16347
16348# List of archive names.  First name is the real one, the rest are links.
16349# The last name is the one that the linker finds with -lNAME
16350library_names_spec=$lt_library_names_spec
16351
16352# The coded name of the library, if different from the real name.
16353soname_spec=$lt_soname_spec
16354
16355# Permission mode override for installation of shared libraries.
16356install_override_mode=$lt_install_override_mode
16357
16358# Command to use after installation of a shared archive.
16359postinstall_cmds=$lt_postinstall_cmds
16360
16361# Command to use after uninstallation of a shared archive.
16362postuninstall_cmds=$lt_postuninstall_cmds
16363
16364# Commands used to finish a libtool library installation in a directory.
16365finish_cmds=$lt_finish_cmds
16366
16367# As "finish_cmds", except a single script fragment to be evaled but
16368# not shown.
16369finish_eval=$lt_finish_eval
16370
16371# Whether we should hardcode library paths into libraries.
16372hardcode_into_libs=$hardcode_into_libs
16373
16374# Compile-time system search path for libraries.
16375sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16376
16377# Detected run-time system search path for libraries.
16378sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16379
16380# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16381configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16382
16383# Whether dlopen is supported.
16384dlopen_support=$enable_dlopen
16385
16386# Whether dlopen of programs is supported.
16387dlopen_self=$enable_dlopen_self
16388
16389# Whether dlopen of statically linked programs is supported.
16390dlopen_self_static=$enable_dlopen_self_static
16391
16392# Commands to strip libraries.
16393old_striplib=$lt_old_striplib
16394striplib=$lt_striplib
16395
16396
16397# The linker used to build libraries.
16398LD=$lt_LD
16399
16400# How to create reloadable object files.
16401reload_flag=$lt_reload_flag
16402reload_cmds=$lt_reload_cmds
16403
16404# Commands used to build an old-style archive.
16405old_archive_cmds=$lt_old_archive_cmds
16406
16407# A language specific compiler.
16408CC=$lt_compiler
16409
16410# Is the compiler the GNU compiler?
16411with_gcc=$GCC
16412
16413# Compiler flag to turn off builtin functions.
16414no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16415
16416# Additional compiler flags for building library objects.
16417pic_flag=$lt_lt_prog_compiler_pic
16418
16419# How to pass a linker flag through the compiler.
16420wl=$lt_lt_prog_compiler_wl
16421
16422# Compiler flag to prevent dynamic linking.
16423link_static_flag=$lt_lt_prog_compiler_static
16424
16425# Does compiler simultaneously support -c and -o options?
16426compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16427
16428# Whether or not to add -lc for building shared libraries.
16429build_libtool_need_lc=$archive_cmds_need_lc
16430
16431# Whether or not to disallow shared libs when runtime libs are static.
16432allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16433
16434# Compiler flag to allow reflexive dlopens.
16435export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16436
16437# Compiler flag to generate shared objects directly from archives.
16438whole_archive_flag_spec=$lt_whole_archive_flag_spec
16439
16440# Whether the compiler copes with passing no objects directly.
16441compiler_needs_object=$lt_compiler_needs_object
16442
16443# Create an old-style archive from a shared archive.
16444old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16445
16446# Create a temporary old-style archive to link instead of a shared archive.
16447old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16448
16449# Commands used to build a shared archive.
16450archive_cmds=$lt_archive_cmds
16451archive_expsym_cmds=$lt_archive_expsym_cmds
16452
16453# Commands used to build a loadable module if different from building
16454# a shared archive.
16455module_cmds=$lt_module_cmds
16456module_expsym_cmds=$lt_module_expsym_cmds
16457
16458# Whether we are building with GNU ld or not.
16459with_gnu_ld=$lt_with_gnu_ld
16460
16461# Flag that allows shared libraries with undefined symbols to be built.
16462allow_undefined_flag=$lt_allow_undefined_flag
16463
16464# Flag that enforces no undefined symbols.
16465no_undefined_flag=$lt_no_undefined_flag
16466
16467# Flag to hardcode \$libdir into a binary during linking.
16468# This must work even if \$libdir does not exist
16469hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16470
16471# Whether we need a single "-rpath" flag with a separated argument.
16472hardcode_libdir_separator=$lt_hardcode_libdir_separator
16473
16474# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16475# DIR into the resulting binary.
16476hardcode_direct=$hardcode_direct
16477
16478# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16479# DIR into the resulting binary and the resulting library dependency is
16480# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16481# library is relocated.
16482hardcode_direct_absolute=$hardcode_direct_absolute
16483
16484# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16485# into the resulting binary.
16486hardcode_minus_L=$hardcode_minus_L
16487
16488# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16489# into the resulting binary.
16490hardcode_shlibpath_var=$hardcode_shlibpath_var
16491
16492# Set to "yes" if building a shared library automatically hardcodes DIR
16493# into the library and all subsequent libraries and executables linked
16494# against it.
16495hardcode_automatic=$hardcode_automatic
16496
16497# Set to yes if linker adds runtime paths of dependent libraries
16498# to runtime path list.
16499inherit_rpath=$inherit_rpath
16500
16501# Whether libtool must link a program against all its dependency libraries.
16502link_all_deplibs=$link_all_deplibs
16503
16504# Set to "yes" if exported symbols are required.
16505always_export_symbols=$always_export_symbols
16506
16507# The commands to list exported symbols.
16508export_symbols_cmds=$lt_export_symbols_cmds
16509
16510# Symbols that should not be listed in the preloaded symbols.
16511exclude_expsyms=$lt_exclude_expsyms
16512
16513# Symbols that must always be exported.
16514include_expsyms=$lt_include_expsyms
16515
16516# Commands necessary for linking programs (against libraries) with templates.
16517prelink_cmds=$lt_prelink_cmds
16518
16519# Commands necessary for finishing linking programs.
16520postlink_cmds=$lt_postlink_cmds
16521
16522# Specify filename containing input files.
16523file_list_spec=$lt_file_list_spec
16524
16525# How to hardcode a shared library path into an executable.
16526hardcode_action=$hardcode_action
16527
16528# ### END LIBTOOL CONFIG
16529
16530_LT_EOF
16531
16532    cat <<'_LT_EOF' >> "$cfgfile"
16533
16534# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16535
16536# func_munge_path_list VARIABLE PATH
16537# -----------------------------------
16538# VARIABLE is name of variable containing _space_ separated list of
16539# directories to be munged by the contents of PATH, which is string
16540# having a format:
16541# "DIR[:DIR]:"
16542#       string "DIR[ DIR]" will be prepended to VARIABLE
16543# ":DIR[:DIR]"
16544#       string "DIR[ DIR]" will be appended to VARIABLE
16545# "DIRP[:DIRP]::[DIRA:]DIRA"
16546#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16547#       "DIRA[ DIRA]" will be appended to VARIABLE
16548# "DIR[:DIR]"
16549#       VARIABLE will be replaced by "DIR[ DIR]"
16550func_munge_path_list ()
16551{
16552    case x$2 in
16553    x)
16554        ;;
16555    *:)
16556        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16557        ;;
16558    x:*)
16559        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16560        ;;
16561    *::*)
16562        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16563        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16564        ;;
16565    *)
16566        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16567        ;;
16568    esac
16569}
16570
16571
16572# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16573func_cc_basename ()
16574{
16575    for cc_temp in $*""; do
16576      case $cc_temp in
16577        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16578        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16579        \-*) ;;
16580        *) break;;
16581      esac
16582    done
16583    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16584}
16585
16586
16587# ### END FUNCTIONS SHARED WITH CONFIGURE
16588
16589_LT_EOF
16590
16591  case $host_os in
16592  aix3*)
16593    cat <<\_LT_EOF >> "$cfgfile"
16594# AIX sometimes has problems with the GCC collect2 program.  For some
16595# reason, if we set the COLLECT_NAMES environment variable, the problems
16596# vanish in a puff of smoke.
16597if test set != "${COLLECT_NAMES+set}"; then
16598  COLLECT_NAMES=
16599  export COLLECT_NAMES
16600fi
16601_LT_EOF
16602    ;;
16603  esac
16604
16605
16606ltmain=$ac_aux_dir/ltmain.sh
16607
16608
16609  # We use sed instead of cat because bash on DJGPP gets confused if
16610  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16611  # text mode, it properly converts lines to CR/LF.  This bash problem
16612  # is reportedly fixed, but why not run on old versions too?
16613  sed '$q' "$ltmain" >> "$cfgfile" \
16614     || (rm -f "$cfgfile"; exit 1)
16615
16616   mv -f "$cfgfile" "$ofile" ||
16617    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16618  chmod +x "$ofile"
16619
16620 ;;
16621    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16622        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16623      esac ;;
16624    "po/stamp-it":C)
16625    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16626       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16627    fi
16628    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16629    >"po/stamp-it.tmp"
16630    sed '/^#/d
16631	 s/^[[].*] *//
16632	 /^[ 	]*$/d
16633	'"s|^|	$ac_top_srcdir/|" \
16634      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16635
16636    sed '/^POTFILES =/,/[^\\]$/ {
16637		/^POTFILES =/!d
16638		r po/POTFILES
16639	  }
16640	 ' "po/Makefile.in" >"po/Makefile"
16641    rm -f "po/Makefile.tmp"
16642    mv "po/stamp-it.tmp" "po/stamp-it"
16643   ;;
16644
16645  esac
16646done # for ac_tag
16647
16648
16649as_fn_exit 0
16650_ACEOF
16651ac_clean_files=$ac_clean_files_save
16652
16653test $ac_write_fail = 0 ||
16654  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16655
16656
16657# configure is writing to config.log, and then calls config.status.
16658# config.status does its own redirection, appending to config.log.
16659# Unfortunately, on DOS this fails, as config.log is still kept open
16660# by configure, so config.status won't be able to write to it; its
16661# output is simply discarded.  So we exec the FD to /dev/null,
16662# effectively closing config.log, so it can be properly (re)opened and
16663# appended to by config.status.  When coming back to configure, we
16664# need to make the FD available again.
16665if test "$no_create" != yes; then
16666  ac_cs_success=:
16667  ac_config_status_args=
16668  test "$silent" = yes &&
16669    ac_config_status_args="$ac_config_status_args --quiet"
16670  exec 5>/dev/null
16671  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16672  exec 5>>config.log
16673  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16674  # would make configure fail if this is the last instruction.
16675  $ac_cs_success || as_fn_exit 1
16676fi
16677if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16678  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16679$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16680fi
16681
16682