1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xfce4-dict 0.8.4.
4#
5# Report bugs to <https://gitlab.xfce.org/apps/xfce4-dict>.
6#
7# Copyright (c) 2006-2020 Xfce Development Team. All rights reserved.
8#
9#
10# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139# Use a proper internal environment variable to ensure we don't fall
140  # into an infinite loop, continuously re-executing ourselves.
141  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142    _as_can_reexec=no; export _as_can_reexec;
143    # We cannot yet assume a decent shell, so we have to provide a
144# neutralization value for shells without unset; and this also
145# works around shells that cannot unset nonexistent variables.
146# Preserve -v and -x to the replacement shell.
147BASH_ENV=/dev/null
148ENV=/dev/null
149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150case $- in # ((((
151  *v*x* | *x*v* ) as_opts=-vx ;;
152  *v* ) as_opts=-v ;;
153  *x* ) as_opts=-x ;;
154  * ) as_opts= ;;
155esac
156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157# Admittedly, this is quite paranoid, since all the known shells bail
158# out after a failed `exec'.
159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160as_fn_exit 255
161  fi
162  # We don't want this to propagate to other subprocesses.
163          { _as_can_reexec=; unset _as_can_reexec;}
164if test "x$CONFIG_SHELL" = x; then
165  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166  emulate sh
167  NULLCMD=:
168  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169  # is contrary to our usage.  Disable this feature.
170  alias -g '\${1+\"\$@\"}'='\"\$@\"'
171  setopt NO_GLOB_SUBST
172else
173  case \`(set -o) 2>/dev/null\` in #(
174  *posix*) :
175    set -o posix ;; #(
176  *) :
177     ;;
178esac
179fi
180"
181  as_required="as_fn_return () { (exit \$1); }
182as_fn_success () { as_fn_return 0; }
183as_fn_failure () { as_fn_return 1; }
184as_fn_ret_success () { return 0; }
185as_fn_ret_failure () { return 1; }
186
187exitcode=0
188as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194else
195  exitcode=1; echo positional parameters were not saved.
196fi
197test x\$exitcode = x0 || exit 1
198test -x / || exit 1"
199  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203test \$(( 1 + 1 )) = 2 || exit 1
204
205  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
206    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
207    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
209    PATH=/empty FPATH=/empty; export PATH FPATH
210    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
211      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
212  if (eval "$as_required") 2>/dev/null; then :
213  as_have_required=yes
214else
215  as_have_required=no
216fi
217  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
219else
220  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221as_found=false
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  as_found=:
227  case $as_dir in #(
228	 /*)
229	   for as_base in sh bash ksh sh5; do
230	     # Try only shells that exist, to save several forks.
231	     as_shell=$as_dir/$as_base
232	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  CONFIG_SHELL=$as_shell as_have_required=yes
235		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236  break 2
237fi
238fi
239	   done;;
240       esac
241  as_found=false
242done
243$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245  CONFIG_SHELL=$SHELL as_have_required=yes
246fi; }
247IFS=$as_save_IFS
248
249
250      if test "x$CONFIG_SHELL" != x; then :
251  export CONFIG_SHELL
252             # We cannot yet assume a decent shell, so we have to provide a
253# neutralization value for shells without unset; and this also
254# works around shells that cannot unset nonexistent variables.
255# Preserve -v and -x to the replacement shell.
256BASH_ENV=/dev/null
257ENV=/dev/null
258(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
259case $- in # ((((
260  *v*x* | *x*v* ) as_opts=-vx ;;
261  *v* ) as_opts=-v ;;
262  *x* ) as_opts=-x ;;
263  * ) as_opts= ;;
264esac
265exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266# Admittedly, this is quite paranoid, since all the known shells bail
267# out after a failed `exec'.
268$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269exit 255
270fi
271
272    if test x$as_have_required = xno; then :
273  $as_echo "$0: This script requires a shell more modern than all"
274  $as_echo "$0: the shells that I found on your system."
275  if test x${ZSH_VERSION+set} = xset ; then
276    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278  else
279    $as_echo "$0: Please tell bug-autoconf@gnu.org and
280$0: https://gitlab.xfce.org/apps/xfce4-dict about your
281$0: system, including any error possibly output before this
282$0: message. Then install a modern shell, or manually run
283$0: the script under such a shell if you do have one."
284  fi
285  exit 1
286fi
287fi
288fi
289SHELL=${CONFIG_SHELL-/bin/sh}
290export SHELL
291# Unset more variables known to interfere with behavior of common tools.
292CLICOLOR_FORCE= GREP_OPTIONS=
293unset CLICOLOR_FORCE GREP_OPTIONS
294
295## --------------------- ##
296## M4sh Shell Functions. ##
297## --------------------- ##
298# as_fn_unset VAR
299# ---------------
300# Portably unset VAR.
301as_fn_unset ()
302{
303  { eval $1=; unset $1;}
304}
305as_unset=as_fn_unset
306
307# as_fn_set_status STATUS
308# -----------------------
309# Set $? to STATUS, without forking.
310as_fn_set_status ()
311{
312  return $1
313} # as_fn_set_status
314
315# as_fn_exit STATUS
316# -----------------
317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318as_fn_exit ()
319{
320  set +e
321  as_fn_set_status $1
322  exit $1
323} # as_fn_exit
324
325# as_fn_mkdir_p
326# -------------
327# Create "$as_dir" as a directory, including parents if necessary.
328as_fn_mkdir_p ()
329{
330
331  case $as_dir in #(
332  -*) as_dir=./$as_dir;;
333  esac
334  test -d "$as_dir" || eval $as_mkdir_p || {
335    as_dirs=
336    while :; do
337      case $as_dir in #(
338      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339      *) as_qdir=$as_dir;;
340      esac
341      as_dirs="'$as_qdir' $as_dirs"
342      as_dir=`$as_dirname -- "$as_dir" ||
343$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344	 X"$as_dir" : 'X\(//\)[^/]' \| \
345	 X"$as_dir" : 'X\(//\)$' \| \
346	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347$as_echo X"$as_dir" |
348    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349	    s//\1/
350	    q
351	  }
352	  /^X\(\/\/\)[^/].*/{
353	    s//\1/
354	    q
355	  }
356	  /^X\(\/\/\)$/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\).*/{
361	    s//\1/
362	    q
363	  }
364	  s/.*/./; q'`
365      test -d "$as_dir" && break
366    done
367    test -z "$as_dirs" || eval "mkdir $as_dirs"
368  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371} # as_fn_mkdir_p
372
373# as_fn_executable_p FILE
374# -----------------------
375# Test if FILE is an executable regular file.
376as_fn_executable_p ()
377{
378  test -f "$1" && test -x "$1"
379} # as_fn_executable_p
380# as_fn_append VAR VALUE
381# ----------------------
382# Append the text in VALUE to the end of the definition contained in VAR. Take
383# advantage of any shell optimizations that allow amortized linear growth over
384# repeated appends, instead of the typical quadratic growth present in naive
385# implementations.
386if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387  eval 'as_fn_append ()
388  {
389    eval $1+=\$2
390  }'
391else
392  as_fn_append ()
393  {
394    eval $1=\$$1\$2
395  }
396fi # as_fn_append
397
398# as_fn_arith ARG...
399# ------------------
400# Perform arithmetic evaluation on the ARGs, and store the result in the
401# global $as_val. Take advantage of shells that can avoid forks. The arguments
402# must be portable across $(()) and expr.
403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
404  eval 'as_fn_arith ()
405  {
406    as_val=$(( $* ))
407  }'
408else
409  as_fn_arith ()
410  {
411    as_val=`expr "$@" || test $? -eq 1`
412  }
413fi # as_fn_arith
414
415
416# as_fn_error STATUS ERROR [LINENO LOG_FD]
417# ----------------------------------------
418# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420# script with STATUS, using 1 if that was 0.
421as_fn_error ()
422{
423  as_status=$1; test $as_status -eq 0 && as_status=1
424  if test "$4"; then
425    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427  fi
428  $as_echo "$as_me: error: $2" >&2
429  as_fn_exit $as_status
430} # as_fn_error
431
432if expr a : '\(a\)' >/dev/null 2>&1 &&
433   test "X`expr 00001 : '.*\(...\)'`" = X001; then
434  as_expr=expr
435else
436  as_expr=false
437fi
438
439if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440  as_basename=basename
441else
442  as_basename=false
443fi
444
445if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446  as_dirname=dirname
447else
448  as_dirname=false
449fi
450
451as_me=`$as_basename -- "$0" ||
452$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453	 X"$0" : 'X\(//\)$' \| \
454	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455$as_echo X/"$0" |
456    sed '/^.*\/\([^/][^/]*\)\/*$/{
457	    s//\1/
458	    q
459	  }
460	  /^X\/\(\/\/\)$/{
461	    s//\1/
462	    q
463	  }
464	  /^X\/\(\/\).*/{
465	    s//\1/
466	    q
467	  }
468	  s/.*/./; q'`
469
470# Avoid depending upon Character Ranges.
471as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474as_cr_digits='0123456789'
475as_cr_alnum=$as_cr_Letters$as_cr_digits
476
477
478  as_lineno_1=$LINENO as_lineno_1a=$LINENO
479  as_lineno_2=$LINENO as_lineno_2a=$LINENO
480  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
483  sed -n '
484    p
485    /[$]LINENO/=
486  ' <$as_myself |
487    sed '
488      s/[$]LINENO.*/&-/
489      t lineno
490      b
491      :lineno
492      N
493      :loop
494      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495      t loop
496      s/-\n.*//
497    ' >$as_me.lineno &&
498  chmod +x "$as_me.lineno" ||
499    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
501  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502  # already done that, so ensure we don't try to do so again and fall
503  # in an infinite loop.  This has already happened in practice.
504  _as_can_reexec=no; export _as_can_reexec
505  # Don't try to exec as it changes $[0], causing all sort of problems
506  # (the dirname of $[0] is not the place where we might find the
507  # original and so on.  Autoconf is especially sensitive to this).
508  . "./$as_me.lineno"
509  # Exit status is that of the last command.
510  exit
511}
512
513ECHO_C= ECHO_N= ECHO_T=
514case `echo -n x` in #(((((
515-n*)
516  case `echo 'xy\c'` in
517  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
518  xy)  ECHO_C='\c';;
519  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
520       ECHO_T='	';;
521  esac;;
522*)
523  ECHO_N='-n';;
524esac
525
526rm -f conf$$ conf$$.exe conf$$.file
527if test -d conf$$.dir; then
528  rm -f conf$$.dir/conf$$.file
529else
530  rm -f conf$$.dir
531  mkdir conf$$.dir 2>/dev/null
532fi
533if (echo >conf$$.file) 2>/dev/null; then
534  if ln -s conf$$.file conf$$ 2>/dev/null; then
535    as_ln_s='ln -s'
536    # ... but there are two gotchas:
537    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539    # In both cases, we have to default to `cp -pR'.
540    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541      as_ln_s='cp -pR'
542  elif ln conf$$.file conf$$ 2>/dev/null; then
543    as_ln_s=ln
544  else
545    as_ln_s='cp -pR'
546  fi
547else
548  as_ln_s='cp -pR'
549fi
550rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551rmdir conf$$.dir 2>/dev/null
552
553if mkdir -p . 2>/dev/null; then
554  as_mkdir_p='mkdir -p "$as_dir"'
555else
556  test -d ./-p && rmdir ./-p
557  as_mkdir_p=false
558fi
559
560as_test_x='test -x'
561as_executable_p=as_fn_executable_p
562
563# Sed expression to map a string onto a valid CPP name.
564as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
566# Sed expression to map a string onto a valid variable name.
567as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
569SHELL=${CONFIG_SHELL-/bin/sh}
570
571
572test -n "$DJDIR" || exec 7<&0 </dev/null
573exec 6>&1
574
575# Name of the host.
576# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577# so uname gets run too.
578ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
579
580#
581# Initializations.
582#
583ac_default_prefix=/usr/local
584ac_clean_files=
585ac_config_libobj_dir=.
586LIBOBJS=
587cross_compiling=no
588subdirs=
589MFLAGS=
590MAKEFLAGS=
591
592# Identity of this package.
593PACKAGE_NAME='xfce4-dict'
594PACKAGE_TARNAME='xfce4-dict'
595PACKAGE_VERSION='0.8.4'
596PACKAGE_STRING='xfce4-dict 0.8.4'
597PACKAGE_BUGREPORT='https://gitlab.xfce.org/apps/xfce4-dict'
598PACKAGE_URL=''
599
600# Factoring default headers for most tests.
601ac_includes_default="\
602#include <stdio.h>
603#ifdef HAVE_SYS_TYPES_H
604# include <sys/types.h>
605#endif
606#ifdef HAVE_SYS_STAT_H
607# include <sys/stat.h>
608#endif
609#ifdef STDC_HEADERS
610# include <stdlib.h>
611# include <stddef.h>
612#else
613# ifdef HAVE_STDLIB_H
614#  include <stdlib.h>
615# endif
616#endif
617#ifdef HAVE_STRING_H
618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619#  include <memory.h>
620# endif
621# include <string.h>
622#endif
623#ifdef HAVE_STRINGS_H
624# include <strings.h>
625#endif
626#ifdef HAVE_INTTYPES_H
627# include <inttypes.h>
628#endif
629#ifdef HAVE_STDINT_H
630# include <stdint.h>
631#endif
632#ifdef HAVE_UNISTD_H
633# include <unistd.h>
634#endif"
635
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640GDBUS_CODEGEN
641X11_REQUIRED_VERSION
642X11_LIBS
643X11_CFLAGS
644X11_VERSION
645LIBXFCE4PANEL_REQUIRED_VERSION
646LIBXFCE4PANEL_LIBS
647LIBXFCE4PANEL_CFLAGS
648LIBXFCE4PANEL_VERSION
649LIBXFCE4UTIL_REQUIRED_VERSION
650LIBXFCE4UTIL_LIBS
651LIBXFCE4UTIL_CFLAGS
652LIBXFCE4UTIL_VERSION
653LIBXFCE4UI_REQUIRED_VERSION
654LIBXFCE4UI_LIBS
655LIBXFCE4UI_CFLAGS
656LIBXFCE4UI_VERSION
657GTK_REQUIRED_VERSION
658GTK_LIBS
659GTK_CFLAGS
660GTK_VERSION
661GTHREAD_REQUIRED_VERSION
662GTHREAD_LIBS
663GTHREAD_CFLAGS
664GTHREAD_VERSION
665PKG_CONFIG_LIBDIR
666PKG_CONFIG_PATH
667PKG_CONFIG
668XGETTEXT_ARGS
669MKINSTALLDIRS
670POSUB
671POFILES
672PO_IN_DATADIR_FALSE
673PO_IN_DATADIR_TRUE
674INTLLIBS
675INSTOBJEXT
676GMOFILES
677DATADIRNAME
678CATOBJEXT
679CATALOGS
680MSGFMT_OPTS
681INTL_MACOSX_LIBS
682GETTEXT_PACKAGE
683CPP
684LT_SYS_LIBRARY_PATH
685OTOOL64
686OTOOL
687LIPO
688NMEDIT
689DSYMUTIL
690MANIFEST_TOOL
691RANLIB
692ac_ct_AR
693AR
694DLLTOOL
695OBJDUMP
696LN_S
697NM
698ac_ct_DUMPBIN
699DUMPBIN
700LIBTOOL
701ALL_LINGUAS
702INTLTOOL_PERL
703GMSGFMT
704MSGFMT
705MSGMERGE
706XGETTEXT
707INTLTOOL_POLICY_RULE
708INTLTOOL_SERVICE_RULE
709INTLTOOL_THEME_RULE
710INTLTOOL_SCHEMAS_RULE
711INTLTOOL_CAVES_RULE
712INTLTOOL_XML_NOMERGE_RULE
713INTLTOOL_XML_RULE
714INTLTOOL_KBD_RULE
715INTLTOOL_XAM_RULE
716INTLTOOL_UI_RULE
717INTLTOOL_SOUNDLIST_RULE
718INTLTOOL_SHEET_RULE
719INTLTOOL_SERVER_RULE
720INTLTOOL_PONG_RULE
721INTLTOOL_OAF_RULE
722INTLTOOL_PROP_RULE
723INTLTOOL_KEYS_RULE
724INTLTOOL_DIRECTORY_RULE
725INTLTOOL_DESKTOP_RULE
726intltool__v_merge_options_0
727intltool__v_merge_options_
728INTLTOOL_V_MERGE_OPTIONS
729INTLTOOL__v_MERGE_0
730INTLTOOL__v_MERGE_
731INTLTOOL_V_MERGE
732INTLTOOL_EXTRACT
733INTLTOOL_MERGE
734INTLTOOL_UPDATE
735USE_NLS
736LD
737FGREP
738EGREP
739GREP
740SED
741host_os
742host_vendor
743host_cpu
744host
745build_os
746build_vendor
747build_cpu
748build
749am__fastdepCC_FALSE
750am__fastdepCC_TRUE
751CCDEPMODE
752am__nodep
753AMDEPBACKSLASH
754AMDEP_FALSE
755AMDEP_TRUE
756am__include
757DEPDIR
758OBJEXT
759EXEEXT
760ac_ct_CC
761CPPFLAGS
762LDFLAGS
763CFLAGS
764CC
765MAINT
766MAINTAINER_MODE_FALSE
767MAINTAINER_MODE_TRUE
768AM_BACKSLASH
769AM_DEFAULT_VERBOSITY
770AM_DEFAULT_V
771AM_V
772am__untar
773am__tar
774AMTAR
775am__leading_dot
776SET_MAKE
777AWK
778mkdir_p
779MKDIR_P
780INSTALL_STRIP_PROGRAM
781STRIP
782install_sh
783MAKEINFO
784AUTOHEADER
785AUTOMAKE
786AUTOCONF
787ACLOCAL
788VERSION
789PACKAGE
790CYGPATH_W
791am__isrc
792INSTALL_DATA
793INSTALL_SCRIPT
794INSTALL_PROGRAM
795target_alias
796host_alias
797build_alias
798LIBS
799ECHO_T
800ECHO_N
801ECHO_C
802DEFS
803mandir
804localedir
805libdir
806psdir
807pdfdir
808dvidir
809htmldir
810infodir
811docdir
812oldincludedir
813includedir
814localstatedir
815sharedstatedir
816sysconfdir
817datadir
818datarootdir
819libexecdir
820sbindir
821bindir
822program_transform_name
823prefix
824exec_prefix
825PACKAGE_URL
826PACKAGE_BUGREPORT
827PACKAGE_STRING
828PACKAGE_VERSION
829PACKAGE_TARNAME
830PACKAGE_NAME
831PATH_SEPARATOR
832SHELL
833am__quote'
834ac_subst_files=''
835ac_user_opts='
836enable_option_checking
837enable_silent_rules
838enable_maintainer_mode
839enable_dependency_tracking
840with_gnu_ld
841enable_nls
842enable_static
843enable_shared
844with_pic
845enable_fast_install
846with_aix_soname
847with_sysroot
848enable_libtool_lock
849with_locales_dir
850enable_debug
851'
852      ac_precious_vars='build_alias
853host_alias
854target_alias
855CC
856CFLAGS
857LDFLAGS
858LIBS
859CPPFLAGS
860LT_SYS_LIBRARY_PATH
861CPP
862PKG_CONFIG
863PKG_CONFIG_PATH
864PKG_CONFIG_LIBDIR'
865
866
867# Initialize some variables set by options.
868ac_init_help=
869ac_init_version=false
870ac_unrecognized_opts=
871ac_unrecognized_sep=
872# The variables have the same names as the options, with
873# dashes changed to underlines.
874cache_file=/dev/null
875exec_prefix=NONE
876no_create=
877no_recursion=
878prefix=NONE
879program_prefix=NONE
880program_suffix=NONE
881program_transform_name=s,x,x,
882silent=
883site=
884srcdir=
885verbose=
886x_includes=NONE
887x_libraries=NONE
888
889# Installation directory options.
890# These are left unexpanded so users can "make install exec_prefix=/foo"
891# and all the variables that are supposed to be based on exec_prefix
892# by default will actually change.
893# Use braces instead of parens because sh, perl, etc. also accept them.
894# (The list follows the same order as the GNU Coding Standards.)
895bindir='${exec_prefix}/bin'
896sbindir='${exec_prefix}/sbin'
897libexecdir='${exec_prefix}/libexec'
898datarootdir='${prefix}/share'
899datadir='${datarootdir}'
900sysconfdir='${prefix}/etc'
901sharedstatedir='${prefix}/com'
902localstatedir='${prefix}/var'
903includedir='${prefix}/include'
904oldincludedir='/usr/include'
905docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
906infodir='${datarootdir}/info'
907htmldir='${docdir}'
908dvidir='${docdir}'
909pdfdir='${docdir}'
910psdir='${docdir}'
911libdir='${exec_prefix}/lib'
912localedir='${datarootdir}/locale'
913mandir='${datarootdir}/man'
914
915ac_prev=
916ac_dashdash=
917for ac_option
918do
919  # If the previous option needs an argument, assign it.
920  if test -n "$ac_prev"; then
921    eval $ac_prev=\$ac_option
922    ac_prev=
923    continue
924  fi
925
926  case $ac_option in
927  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928  *=)   ac_optarg= ;;
929  *)    ac_optarg=yes ;;
930  esac
931
932  # Accept the important Cygnus configure options, so we can diagnose typos.
933
934  case $ac_dashdash$ac_option in
935  --)
936    ac_dashdash=yes ;;
937
938  -bindir | --bindir | --bindi | --bind | --bin | --bi)
939    ac_prev=bindir ;;
940  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
941    bindir=$ac_optarg ;;
942
943  -build | --build | --buil | --bui | --bu)
944    ac_prev=build_alias ;;
945  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
946    build_alias=$ac_optarg ;;
947
948  -cache-file | --cache-file | --cache-fil | --cache-fi \
949  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950    ac_prev=cache_file ;;
951  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
952  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
953    cache_file=$ac_optarg ;;
954
955  --config-cache | -C)
956    cache_file=config.cache ;;
957
958  -datadir | --datadir | --datadi | --datad)
959    ac_prev=datadir ;;
960  -datadir=* | --datadir=* | --datadi=* | --datad=*)
961    datadir=$ac_optarg ;;
962
963  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
964  | --dataroo | --dataro | --datar)
965    ac_prev=datarootdir ;;
966  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
967  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
968    datarootdir=$ac_optarg ;;
969
970  -disable-* | --disable-*)
971    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972    # Reject names that are not valid shell variable names.
973    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974      as_fn_error $? "invalid feature name: $ac_useropt"
975    ac_useropt_orig=$ac_useropt
976    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977    case $ac_user_opts in
978      *"
979"enable_$ac_useropt"
980"*) ;;
981      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982	 ac_unrecognized_sep=', ';;
983    esac
984    eval enable_$ac_useropt=no ;;
985
986  -docdir | --docdir | --docdi | --doc | --do)
987    ac_prev=docdir ;;
988  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
989    docdir=$ac_optarg ;;
990
991  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
992    ac_prev=dvidir ;;
993  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
994    dvidir=$ac_optarg ;;
995
996  -enable-* | --enable-*)
997    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998    # Reject names that are not valid shell variable names.
999    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000      as_fn_error $? "invalid feature name: $ac_useropt"
1001    ac_useropt_orig=$ac_useropt
1002    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003    case $ac_user_opts in
1004      *"
1005"enable_$ac_useropt"
1006"*) ;;
1007      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008	 ac_unrecognized_sep=', ';;
1009    esac
1010    eval enable_$ac_useropt=\$ac_optarg ;;
1011
1012  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1013  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1014  | --exec | --exe | --ex)
1015    ac_prev=exec_prefix ;;
1016  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1017  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1018  | --exec=* | --exe=* | --ex=*)
1019    exec_prefix=$ac_optarg ;;
1020
1021  -gas | --gas | --ga | --g)
1022    # Obsolete; use --with-gas.
1023    with_gas=yes ;;
1024
1025  -help | --help | --hel | --he | -h)
1026    ac_init_help=long ;;
1027  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1028    ac_init_help=recursive ;;
1029  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1030    ac_init_help=short ;;
1031
1032  -host | --host | --hos | --ho)
1033    ac_prev=host_alias ;;
1034  -host=* | --host=* | --hos=* | --ho=*)
1035    host_alias=$ac_optarg ;;
1036
1037  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1038    ac_prev=htmldir ;;
1039  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1040  | --ht=*)
1041    htmldir=$ac_optarg ;;
1042
1043  -includedir | --includedir | --includedi | --included | --include \
1044  | --includ | --inclu | --incl | --inc)
1045    ac_prev=includedir ;;
1046  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1047  | --includ=* | --inclu=* | --incl=* | --inc=*)
1048    includedir=$ac_optarg ;;
1049
1050  -infodir | --infodir | --infodi | --infod | --info | --inf)
1051    ac_prev=infodir ;;
1052  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1053    infodir=$ac_optarg ;;
1054
1055  -libdir | --libdir | --libdi | --libd)
1056    ac_prev=libdir ;;
1057  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1058    libdir=$ac_optarg ;;
1059
1060  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1061  | --libexe | --libex | --libe)
1062    ac_prev=libexecdir ;;
1063  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1064  | --libexe=* | --libex=* | --libe=*)
1065    libexecdir=$ac_optarg ;;
1066
1067  -localedir | --localedir | --localedi | --localed | --locale)
1068    ac_prev=localedir ;;
1069  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1070    localedir=$ac_optarg ;;
1071
1072  -localstatedir | --localstatedir | --localstatedi | --localstated \
1073  | --localstate | --localstat | --localsta | --localst | --locals)
1074    ac_prev=localstatedir ;;
1075  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1076  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1077    localstatedir=$ac_optarg ;;
1078
1079  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1080    ac_prev=mandir ;;
1081  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1082    mandir=$ac_optarg ;;
1083
1084  -nfp | --nfp | --nf)
1085    # Obsolete; use --without-fp.
1086    with_fp=no ;;
1087
1088  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1089  | --no-cr | --no-c | -n)
1090    no_create=yes ;;
1091
1092  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1093  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1094    no_recursion=yes ;;
1095
1096  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1097  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1098  | --oldin | --oldi | --old | --ol | --o)
1099    ac_prev=oldincludedir ;;
1100  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1101  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1102  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1103    oldincludedir=$ac_optarg ;;
1104
1105  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1106    ac_prev=prefix ;;
1107  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1108    prefix=$ac_optarg ;;
1109
1110  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1111  | --program-pre | --program-pr | --program-p)
1112    ac_prev=program_prefix ;;
1113  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1114  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1115    program_prefix=$ac_optarg ;;
1116
1117  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1118  | --program-suf | --program-su | --program-s)
1119    ac_prev=program_suffix ;;
1120  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1121  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1122    program_suffix=$ac_optarg ;;
1123
1124  -program-transform-name | --program-transform-name \
1125  | --program-transform-nam | --program-transform-na \
1126  | --program-transform-n | --program-transform- \
1127  | --program-transform | --program-transfor \
1128  | --program-transfo | --program-transf \
1129  | --program-trans | --program-tran \
1130  | --progr-tra | --program-tr | --program-t)
1131    ac_prev=program_transform_name ;;
1132  -program-transform-name=* | --program-transform-name=* \
1133  | --program-transform-nam=* | --program-transform-na=* \
1134  | --program-transform-n=* | --program-transform-=* \
1135  | --program-transform=* | --program-transfor=* \
1136  | --program-transfo=* | --program-transf=* \
1137  | --program-trans=* | --program-tran=* \
1138  | --progr-tra=* | --program-tr=* | --program-t=*)
1139    program_transform_name=$ac_optarg ;;
1140
1141  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1142    ac_prev=pdfdir ;;
1143  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1144    pdfdir=$ac_optarg ;;
1145
1146  -psdir | --psdir | --psdi | --psd | --ps)
1147    ac_prev=psdir ;;
1148  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1149    psdir=$ac_optarg ;;
1150
1151  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152  | -silent | --silent | --silen | --sile | --sil)
1153    silent=yes ;;
1154
1155  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1156    ac_prev=sbindir ;;
1157  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1158  | --sbi=* | --sb=*)
1159    sbindir=$ac_optarg ;;
1160
1161  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1162  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1163  | --sharedst | --shareds | --shared | --share | --shar \
1164  | --sha | --sh)
1165    ac_prev=sharedstatedir ;;
1166  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1167  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1168  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1169  | --sha=* | --sh=*)
1170    sharedstatedir=$ac_optarg ;;
1171
1172  -site | --site | --sit)
1173    ac_prev=site ;;
1174  -site=* | --site=* | --sit=*)
1175    site=$ac_optarg ;;
1176
1177  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1178    ac_prev=srcdir ;;
1179  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1180    srcdir=$ac_optarg ;;
1181
1182  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1183  | --syscon | --sysco | --sysc | --sys | --sy)
1184    ac_prev=sysconfdir ;;
1185  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1186  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1187    sysconfdir=$ac_optarg ;;
1188
1189  -target | --target | --targe | --targ | --tar | --ta | --t)
1190    ac_prev=target_alias ;;
1191  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1192    target_alias=$ac_optarg ;;
1193
1194  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1195    verbose=yes ;;
1196
1197  -version | --version | --versio | --versi | --vers | -V)
1198    ac_init_version=: ;;
1199
1200  -with-* | --with-*)
1201    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202    # Reject names that are not valid shell variable names.
1203    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204      as_fn_error $? "invalid package name: $ac_useropt"
1205    ac_useropt_orig=$ac_useropt
1206    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207    case $ac_user_opts in
1208      *"
1209"with_$ac_useropt"
1210"*) ;;
1211      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212	 ac_unrecognized_sep=', ';;
1213    esac
1214    eval with_$ac_useropt=\$ac_optarg ;;
1215
1216  -without-* | --without-*)
1217    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218    # Reject names that are not valid shell variable names.
1219    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220      as_fn_error $? "invalid package name: $ac_useropt"
1221    ac_useropt_orig=$ac_useropt
1222    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223    case $ac_user_opts in
1224      *"
1225"with_$ac_useropt"
1226"*) ;;
1227      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228	 ac_unrecognized_sep=', ';;
1229    esac
1230    eval with_$ac_useropt=no ;;
1231
1232  --x)
1233    # Obsolete; use --with-x.
1234    with_x=yes ;;
1235
1236  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1237  | --x-incl | --x-inc | --x-in | --x-i)
1238    ac_prev=x_includes ;;
1239  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1240  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1241    x_includes=$ac_optarg ;;
1242
1243  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1244  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1245    ac_prev=x_libraries ;;
1246  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1247  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1248    x_libraries=$ac_optarg ;;
1249
1250  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1251Try \`$0 --help' for more information"
1252    ;;
1253
1254  *=*)
1255    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1256    # Reject names that are not valid shell variable names.
1257    case $ac_envvar in #(
1258      '' | [0-9]* | *[!_$as_cr_alnum]* )
1259      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1260    esac
1261    eval $ac_envvar=\$ac_optarg
1262    export $ac_envvar ;;
1263
1264  *)
1265    # FIXME: should be removed in autoconf 3.0.
1266    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1270    ;;
1271
1272  esac
1273done
1274
1275if test -n "$ac_prev"; then
1276  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1277  as_fn_error $? "missing argument to $ac_option"
1278fi
1279
1280if test -n "$ac_unrecognized_opts"; then
1281  case $enable_option_checking in
1282    no) ;;
1283    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1284    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285  esac
1286fi
1287
1288# Check all directory arguments for consistency.
1289for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290		datadir sysconfdir sharedstatedir localstatedir includedir \
1291		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292		libdir localedir mandir
1293do
1294  eval ac_val=\$$ac_var
1295  # Remove trailing slashes.
1296  case $ac_val in
1297    */ )
1298      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299      eval $ac_var=\$ac_val;;
1300  esac
1301  # Be sure to have absolute directory names.
1302  case $ac_val in
1303    [\\/$]* | ?:[\\/]* )  continue;;
1304    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1305  esac
1306  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1307done
1308
1309# There might be people who depend on the old broken behavior: `$host'
1310# used to hold the argument of --host etc.
1311# FIXME: To remove some day.
1312build=$build_alias
1313host=$host_alias
1314target=$target_alias
1315
1316# FIXME: To remove some day.
1317if test "x$host_alias" != x; then
1318  if test "x$build_alias" = x; then
1319    cross_compiling=maybe
1320  elif test "x$build_alias" != "x$host_alias"; then
1321    cross_compiling=yes
1322  fi
1323fi
1324
1325ac_tool_prefix=
1326test -n "$host_alias" && ac_tool_prefix=$host_alias-
1327
1328test "$silent" = yes && exec 6>/dev/null
1329
1330
1331ac_pwd=`pwd` && test -n "$ac_pwd" &&
1332ac_ls_di=`ls -di .` &&
1333ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1334  as_fn_error $? "working directory cannot be determined"
1335test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336  as_fn_error $? "pwd does not report name of working directory"
1337
1338
1339# Find the source files, if location was not specified.
1340if test -z "$srcdir"; then
1341  ac_srcdir_defaulted=yes
1342  # Try the directory containing this script, then the parent directory.
1343  ac_confdir=`$as_dirname -- "$as_myself" ||
1344$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345	 X"$as_myself" : 'X\(//\)[^/]' \| \
1346	 X"$as_myself" : 'X\(//\)$' \| \
1347	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348$as_echo X"$as_myself" |
1349    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350	    s//\1/
1351	    q
1352	  }
1353	  /^X\(\/\/\)[^/].*/{
1354	    s//\1/
1355	    q
1356	  }
1357	  /^X\(\/\/\)$/{
1358	    s//\1/
1359	    q
1360	  }
1361	  /^X\(\/\).*/{
1362	    s//\1/
1363	    q
1364	  }
1365	  s/.*/./; q'`
1366  srcdir=$ac_confdir
1367  if test ! -r "$srcdir/$ac_unique_file"; then
1368    srcdir=..
1369  fi
1370else
1371  ac_srcdir_defaulted=no
1372fi
1373if test ! -r "$srcdir/$ac_unique_file"; then
1374  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1375  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1376fi
1377ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1378ac_abs_confdir=`(
1379	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1380	pwd)`
1381# When building in place, set srcdir=.
1382if test "$ac_abs_confdir" = "$ac_pwd"; then
1383  srcdir=.
1384fi
1385# Remove unnecessary trailing slashes from srcdir.
1386# Double slashes in file names in object file debugging info
1387# mess up M-x gdb in Emacs.
1388case $srcdir in
1389*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390esac
1391for ac_var in $ac_precious_vars; do
1392  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1393  eval ac_env_${ac_var}_value=\$${ac_var}
1394  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1395  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1396done
1397
1398#
1399# Report the --help message.
1400#
1401if test "$ac_init_help" = "long"; then
1402  # Omit some internal or obsolete options to make the list less imposing.
1403  # This message is too long to be a string in the A/UX 3.1 sh.
1404  cat <<_ACEOF
1405\`configure' configures xfce4-dict 0.8.4 to adapt to many kinds of systems.
1406
1407Usage: $0 [OPTION]... [VAR=VALUE]...
1408
1409To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410VAR=VALUE.  See below for descriptions of some of the useful variables.
1411
1412Defaults for the options are specified in brackets.
1413
1414Configuration:
1415  -h, --help              display this help and exit
1416      --help=short        display options specific to this package
1417      --help=recursive    display the short help of all the included packages
1418  -V, --version           display version information and exit
1419  -q, --quiet, --silent   do not print \`checking ...' messages
1420      --cache-file=FILE   cache test results in FILE [disabled]
1421  -C, --config-cache      alias for \`--cache-file=config.cache'
1422  -n, --no-create         do not create output files
1423      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1424
1425Installation directories:
1426  --prefix=PREFIX         install architecture-independent files in PREFIX
1427                          [$ac_default_prefix]
1428  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1429                          [PREFIX]
1430
1431By default, \`make install' will install all the files in
1432\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1433an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434for instance \`--prefix=\$HOME'.
1435
1436For better control, use the options below.
1437
1438Fine tuning of the installation directories:
1439  --bindir=DIR            user executables [EPREFIX/bin]
1440  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1441  --libexecdir=DIR        program executables [EPREFIX/libexec]
1442  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1443  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1444  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1445  --libdir=DIR            object code libraries [EPREFIX/lib]
1446  --includedir=DIR        C header files [PREFIX/include]
1447  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1448  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1449  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1450  --infodir=DIR           info documentation [DATAROOTDIR/info]
1451  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1452  --mandir=DIR            man documentation [DATAROOTDIR/man]
1453  --docdir=DIR            documentation root [DATAROOTDIR/doc/xfce4-dict]
1454  --htmldir=DIR           html documentation [DOCDIR]
1455  --dvidir=DIR            dvi documentation [DOCDIR]
1456  --pdfdir=DIR            pdf documentation [DOCDIR]
1457  --psdir=DIR             ps documentation [DOCDIR]
1458_ACEOF
1459
1460  cat <<\_ACEOF
1461
1462Program names:
1463  --program-prefix=PREFIX            prepend PREFIX to installed program names
1464  --program-suffix=SUFFIX            append SUFFIX to installed program names
1465  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1466
1467System types:
1468  --build=BUILD     configure for building on BUILD [guessed]
1469  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1470_ACEOF
1471fi
1472
1473if test -n "$ac_init_help"; then
1474  case $ac_init_help in
1475     short | recursive ) echo "Configuration of xfce4-dict 0.8.4:";;
1476   esac
1477  cat <<\_ACEOF
1478
1479Optional Features:
1480  --disable-option-checking  ignore unrecognized --enable/--with options
1481  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1482  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1483  --enable-silent-rules   less verbose build output (undo: "make V=1")
1484  --disable-silent-rules  verbose build output (undo: "make V=0")
1485  --enable-maintainer-mode
1486                          enable make rules and dependencies not useful (and
1487                          sometimes confusing) to the casual installer
1488  --enable-dependency-tracking
1489                          do not reject slow dependency extractors
1490  --disable-dependency-tracking
1491                          speeds up one-time build
1492  --disable-nls           do not use Native Language Support
1493  --enable-static[=PKGS]  build static libraries [default=no]
1494  --enable-shared[=PKGS]  build shared libraries [default=yes]
1495  --enable-fast-install[=PKGS]
1496                          optimize for fast installation [default=yes]
1497  --disable-libtool-lock  avoid locking (might break parallel builds)
1498  --enable-debug[=no|minimum|yes|full]
1499                          Build with debugging support [default=[]]
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-gnu-ld           assume the C compiler uses GNU ld [default=no]
1506  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1507                          both]
1508  --with-aix-soname=aix|svr4|both
1509                          shared library versioning (aka "SONAME") variant to
1510                          provide on AIX, [default=aix].
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 <https://gitlab.xfce.org/apps/xfce4-dict>.
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-dict configure 0.8.4
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) 2006-2020 Xfce Development Team. All rights reserved.
1608_ACEOF
1609  exit
1610fi
1611
1612## ------------------------ ##
1613## Autoconf initialization. ##
1614## ------------------------ ##
1615
1616# ac_fn_c_try_compile LINENO
1617# --------------------------
1618# Try to compile conftest.$ac_ext, and return whether this succeeded.
1619ac_fn_c_try_compile ()
1620{
1621  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622  rm -f conftest.$ac_objext
1623  if { { ac_try="$ac_compile"
1624case "(($ac_try" in
1625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626  *) ac_try_echo=$ac_try;;
1627esac
1628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629$as_echo "$ac_try_echo"; } >&5
1630  (eval "$ac_compile") 2>conftest.err
1631  ac_status=$?
1632  if test -s conftest.err; then
1633    grep -v '^ *+' conftest.err >conftest.er1
1634    cat conftest.er1 >&5
1635    mv -f conftest.er1 conftest.err
1636  fi
1637  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638  test $ac_status = 0; } && {
1639	 test -z "$ac_c_werror_flag" ||
1640	 test ! -s conftest.err
1641       } && test -s conftest.$ac_objext; then :
1642  ac_retval=0
1643else
1644  $as_echo "$as_me: failed program was:" >&5
1645sed 's/^/| /' conftest.$ac_ext >&5
1646
1647	ac_retval=1
1648fi
1649  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650  as_fn_set_status $ac_retval
1651
1652} # ac_fn_c_try_compile
1653
1654# ac_fn_c_try_link LINENO
1655# -----------------------
1656# Try to link conftest.$ac_ext, and return whether this succeeded.
1657ac_fn_c_try_link ()
1658{
1659  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660  rm -f conftest.$ac_objext conftest$ac_exeext
1661  if { { ac_try="$ac_link"
1662case "(($ac_try" in
1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664  *) ac_try_echo=$ac_try;;
1665esac
1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667$as_echo "$ac_try_echo"; } >&5
1668  (eval "$ac_link") 2>conftest.err
1669  ac_status=$?
1670  if test -s conftest.err; then
1671    grep -v '^ *+' conftest.err >conftest.er1
1672    cat conftest.er1 >&5
1673    mv -f conftest.er1 conftest.err
1674  fi
1675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676  test $ac_status = 0; } && {
1677	 test -z "$ac_c_werror_flag" ||
1678	 test ! -s conftest.err
1679       } && test -s conftest$ac_exeext && {
1680	 test "$cross_compiling" = yes ||
1681	 test -x conftest$ac_exeext
1682       }; then :
1683  ac_retval=0
1684else
1685  $as_echo "$as_me: failed program was:" >&5
1686sed 's/^/| /' conftest.$ac_ext >&5
1687
1688	ac_retval=1
1689fi
1690  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692  # interfere with the next link command; also delete a directory that is
1693  # left behind by Apple's compiler.  We do this before executing the actions.
1694  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696  as_fn_set_status $ac_retval
1697
1698} # ac_fn_c_try_link
1699
1700# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701# -------------------------------------------------------
1702# Tests whether HEADER exists and can be compiled using the include files in
1703# INCLUDES, setting the cache variable VAR accordingly.
1704ac_fn_c_check_header_compile ()
1705{
1706  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708$as_echo_n "checking for $2... " >&6; }
1709if eval \${$3+:} false; then :
1710  $as_echo_n "(cached) " >&6
1711else
1712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713/* end confdefs.h.  */
1714$4
1715#include <$2>
1716_ACEOF
1717if ac_fn_c_try_compile "$LINENO"; then :
1718  eval "$3=yes"
1719else
1720  eval "$3=no"
1721fi
1722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723fi
1724eval ac_res=\$$3
1725	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726$as_echo "$ac_res" >&6; }
1727  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
1729} # ac_fn_c_check_header_compile
1730
1731# ac_fn_c_try_cpp LINENO
1732# ----------------------
1733# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734ac_fn_c_try_cpp ()
1735{
1736  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737  if { { ac_try="$ac_cpp conftest.$ac_ext"
1738case "(($ac_try" in
1739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740  *) ac_try_echo=$ac_try;;
1741esac
1742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743$as_echo "$ac_try_echo"; } >&5
1744  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745  ac_status=$?
1746  if test -s conftest.err; then
1747    grep -v '^ *+' conftest.err >conftest.er1
1748    cat conftest.er1 >&5
1749    mv -f conftest.er1 conftest.err
1750  fi
1751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752  test $ac_status = 0; } > conftest.i && {
1753	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754	 test ! -s conftest.err
1755       }; then :
1756  ac_retval=0
1757else
1758  $as_echo "$as_me: failed program was:" >&5
1759sed 's/^/| /' conftest.$ac_ext >&5
1760
1761    ac_retval=1
1762fi
1763  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764  as_fn_set_status $ac_retval
1765
1766} # ac_fn_c_try_cpp
1767
1768# ac_fn_c_try_run LINENO
1769# ----------------------
1770# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771# that executables *can* be run.
1772ac_fn_c_try_run ()
1773{
1774  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775  if { { ac_try="$ac_link"
1776case "(($ac_try" in
1777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778  *) ac_try_echo=$ac_try;;
1779esac
1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781$as_echo "$ac_try_echo"; } >&5
1782  (eval "$ac_link") 2>&5
1783  ac_status=$?
1784  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786  { { case "(($ac_try" in
1787  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788  *) ac_try_echo=$ac_try;;
1789esac
1790eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791$as_echo "$ac_try_echo"; } >&5
1792  (eval "$ac_try") 2>&5
1793  ac_status=$?
1794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795  test $ac_status = 0; }; }; then :
1796  ac_retval=0
1797else
1798  $as_echo "$as_me: program exited with status $ac_status" >&5
1799       $as_echo "$as_me: failed program was:" >&5
1800sed 's/^/| /' conftest.$ac_ext >&5
1801
1802       ac_retval=$ac_status
1803fi
1804  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806  as_fn_set_status $ac_retval
1807
1808} # ac_fn_c_try_run
1809
1810# ac_fn_c_check_func LINENO FUNC VAR
1811# ----------------------------------
1812# Tests whether FUNC exists, setting the cache variable VAR accordingly
1813ac_fn_c_check_func ()
1814{
1815  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817$as_echo_n "checking for $2... " >&6; }
1818if eval \${$3+:} false; then :
1819  $as_echo_n "(cached) " >&6
1820else
1821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822/* end confdefs.h.  */
1823/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1825#define $2 innocuous_$2
1826
1827/* System header to define __stub macros and hopefully few prototypes,
1828    which can conflict with char $2 (); below.
1829    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830    <limits.h> exists even on freestanding compilers.  */
1831
1832#ifdef __STDC__
1833# include <limits.h>
1834#else
1835# include <assert.h>
1836#endif
1837
1838#undef $2
1839
1840/* Override any GCC internal prototype to avoid an error.
1841   Use char because int might match the return type of a GCC
1842   builtin and then its argument prototype would still apply.  */
1843#ifdef __cplusplus
1844extern "C"
1845#endif
1846char $2 ();
1847/* The GNU C library defines this for functions which it implements
1848    to always fail with ENOSYS.  Some functions are actually named
1849    something starting with __ and the normal name is an alias.  */
1850#if defined __stub_$2 || defined __stub___$2
1851choke me
1852#endif
1853
1854int
1855main ()
1856{
1857return $2 ();
1858  ;
1859  return 0;
1860}
1861_ACEOF
1862if ac_fn_c_try_link "$LINENO"; then :
1863  eval "$3=yes"
1864else
1865  eval "$3=no"
1866fi
1867rm -f core conftest.err conftest.$ac_objext \
1868    conftest$ac_exeext conftest.$ac_ext
1869fi
1870eval ac_res=\$$3
1871	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872$as_echo "$ac_res" >&6; }
1873  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875} # ac_fn_c_check_func
1876
1877# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1878# -------------------------------------------------------
1879# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1880# the include files in INCLUDES and setting the cache variable VAR
1881# accordingly.
1882ac_fn_c_check_header_mongrel ()
1883{
1884  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885  if eval \${$3+:} false; then :
1886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887$as_echo_n "checking for $2... " >&6; }
1888if eval \${$3+:} false; then :
1889  $as_echo_n "(cached) " >&6
1890fi
1891eval ac_res=\$$3
1892	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893$as_echo "$ac_res" >&6; }
1894else
1895  # Is the header compilable?
1896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1897$as_echo_n "checking $2 usability... " >&6; }
1898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899/* end confdefs.h.  */
1900$4
1901#include <$2>
1902_ACEOF
1903if ac_fn_c_try_compile "$LINENO"; then :
1904  ac_header_compiler=yes
1905else
1906  ac_header_compiler=no
1907fi
1908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1910$as_echo "$ac_header_compiler" >&6; }
1911
1912# Is the header present?
1913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1914$as_echo_n "checking $2 presence... " >&6; }
1915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916/* end confdefs.h.  */
1917#include <$2>
1918_ACEOF
1919if ac_fn_c_try_cpp "$LINENO"; then :
1920  ac_header_preproc=yes
1921else
1922  ac_header_preproc=no
1923fi
1924rm -f conftest.err conftest.i conftest.$ac_ext
1925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1926$as_echo "$ac_header_preproc" >&6; }
1927
1928# So?  What about this header?
1929case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1930  yes:no: )
1931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1932$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935    ;;
1936  no:yes:* )
1937    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1938$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1939    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1940$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1942$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1943    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1944$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1945    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947( $as_echo "## ------------------------------------------------------ ##
1948## Report this to https://gitlab.xfce.org/apps/xfce4-dict ##
1949## ------------------------------------------------------ ##"
1950     ) | sed "s/^/$as_me: WARNING:     /" >&2
1951    ;;
1952esac
1953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954$as_echo_n "checking for $2... " >&6; }
1955if eval \${$3+:} false; then :
1956  $as_echo_n "(cached) " >&6
1957else
1958  eval "$3=\$ac_header_compiler"
1959fi
1960eval ac_res=\$$3
1961	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962$as_echo "$ac_res" >&6; }
1963fi
1964  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965
1966} # ac_fn_c_check_header_mongrel
1967cat >config.log <<_ACEOF
1968This file contains any messages produced by compilers while
1969running configure, to aid debugging if configure makes a mistake.
1970
1971It was created by xfce4-dict $as_me 0.8.4, which was
1972generated by GNU Autoconf 2.69.  Invocation command line was
1973
1974  $ $0 $@
1975
1976_ACEOF
1977exec 5>>config.log
1978{
1979cat <<_ASUNAME
1980## --------- ##
1981## Platform. ##
1982## --------- ##
1983
1984hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1985uname -m = `(uname -m) 2>/dev/null || echo unknown`
1986uname -r = `(uname -r) 2>/dev/null || echo unknown`
1987uname -s = `(uname -s) 2>/dev/null || echo unknown`
1988uname -v = `(uname -v) 2>/dev/null || echo unknown`
1989
1990/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1991/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1992
1993/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1994/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1995/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1996/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1997/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1998/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1999/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2000
2001_ASUNAME
2002
2003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004for as_dir in $PATH
2005do
2006  IFS=$as_save_IFS
2007  test -z "$as_dir" && as_dir=.
2008    $as_echo "PATH: $as_dir"
2009  done
2010IFS=$as_save_IFS
2011
2012} >&5
2013
2014cat >&5 <<_ACEOF
2015
2016
2017## ----------- ##
2018## Core tests. ##
2019## ----------- ##
2020
2021_ACEOF
2022
2023
2024# Keep a trace of the command line.
2025# Strip out --no-create and --no-recursion so they do not pile up.
2026# Strip out --silent because we don't want to record it for future runs.
2027# Also quote any args containing shell meta-characters.
2028# Make two passes to allow for proper duplicate-argument suppression.
2029ac_configure_args=
2030ac_configure_args0=
2031ac_configure_args1=
2032ac_must_keep_next=false
2033for ac_pass in 1 2
2034do
2035  for ac_arg
2036  do
2037    case $ac_arg in
2038    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2039    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2040    | -silent | --silent | --silen | --sile | --sil)
2041      continue ;;
2042    *\'*)
2043      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2044    esac
2045    case $ac_pass in
2046    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2047    2)
2048      as_fn_append ac_configure_args1 " '$ac_arg'"
2049      if test $ac_must_keep_next = true; then
2050	ac_must_keep_next=false # Got value, back to normal.
2051      else
2052	case $ac_arg in
2053	  *=* | --config-cache | -C | -disable-* | --disable-* \
2054	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2055	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2056	  | -with-* | --with-* | -without-* | --without-* | --x)
2057	    case "$ac_configure_args0 " in
2058	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2059	    esac
2060	    ;;
2061	  -* ) ac_must_keep_next=true ;;
2062	esac
2063      fi
2064      as_fn_append ac_configure_args " '$ac_arg'"
2065      ;;
2066    esac
2067  done
2068done
2069{ ac_configure_args0=; unset ac_configure_args0;}
2070{ ac_configure_args1=; unset ac_configure_args1;}
2071
2072# When interrupted or exit'd, cleanup temporary files, and complete
2073# config.log.  We remove comments because anyway the quotes in there
2074# would cause problems or look ugly.
2075# WARNING: Use '\'' to represent an apostrophe within the trap.
2076# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2077trap 'exit_status=$?
2078  # Save into config.log some information that might help in debugging.
2079  {
2080    echo
2081
2082    $as_echo "## ---------------- ##
2083## Cache variables. ##
2084## ---------------- ##"
2085    echo
2086    # The following way of writing the cache mishandles newlines in values,
2087(
2088  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2089    eval ac_val=\$$ac_var
2090    case $ac_val in #(
2091    *${as_nl}*)
2092      case $ac_var in #(
2093      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2094$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2095      esac
2096      case $ac_var in #(
2097      _ | IFS | as_nl) ;; #(
2098      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2099      *) { eval $ac_var=; unset $ac_var;} ;;
2100      esac ;;
2101    esac
2102  done
2103  (set) 2>&1 |
2104    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2105    *${as_nl}ac_space=\ *)
2106      sed -n \
2107	"s/'\''/'\''\\\\'\'''\''/g;
2108	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2109      ;; #(
2110    *)
2111      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2112      ;;
2113    esac |
2114    sort
2115)
2116    echo
2117
2118    $as_echo "## ----------------- ##
2119## Output variables. ##
2120## ----------------- ##"
2121    echo
2122    for ac_var in $ac_subst_vars
2123    do
2124      eval ac_val=\$$ac_var
2125      case $ac_val in
2126      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2127      esac
2128      $as_echo "$ac_var='\''$ac_val'\''"
2129    done | sort
2130    echo
2131
2132    if test -n "$ac_subst_files"; then
2133      $as_echo "## ------------------- ##
2134## File substitutions. ##
2135## ------------------- ##"
2136      echo
2137      for ac_var in $ac_subst_files
2138      do
2139	eval ac_val=\$$ac_var
2140	case $ac_val in
2141	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2142	esac
2143	$as_echo "$ac_var='\''$ac_val'\''"
2144      done | sort
2145      echo
2146    fi
2147
2148    if test -s confdefs.h; then
2149      $as_echo "## ----------- ##
2150## confdefs.h. ##
2151## ----------- ##"
2152      echo
2153      cat confdefs.h
2154      echo
2155    fi
2156    test "$ac_signal" != 0 &&
2157      $as_echo "$as_me: caught signal $ac_signal"
2158    $as_echo "$as_me: exit $exit_status"
2159  } >&5
2160  rm -f core *.core core.conftest.* &&
2161    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2162    exit $exit_status
2163' 0
2164for ac_signal in 1 2 13 15; do
2165  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2166done
2167ac_signal=0
2168
2169# confdefs.h avoids OS command line length limits that DEFS can exceed.
2170rm -f -r conftest* confdefs.h
2171
2172$as_echo "/* confdefs.h */" > confdefs.h
2173
2174# Predefined preprocessor variables.
2175
2176cat >>confdefs.h <<_ACEOF
2177#define PACKAGE_NAME "$PACKAGE_NAME"
2178_ACEOF
2179
2180cat >>confdefs.h <<_ACEOF
2181#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2182_ACEOF
2183
2184cat >>confdefs.h <<_ACEOF
2185#define PACKAGE_VERSION "$PACKAGE_VERSION"
2186_ACEOF
2187
2188cat >>confdefs.h <<_ACEOF
2189#define PACKAGE_STRING "$PACKAGE_STRING"
2190_ACEOF
2191
2192cat >>confdefs.h <<_ACEOF
2193#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2194_ACEOF
2195
2196cat >>confdefs.h <<_ACEOF
2197#define PACKAGE_URL "$PACKAGE_URL"
2198_ACEOF
2199
2200
2201# Let the site file select an alternate cache file if it wants to.
2202# Prefer an explicitly selected file to automatically selected ones.
2203ac_site_file1=NONE
2204ac_site_file2=NONE
2205if test -n "$CONFIG_SITE"; then
2206  # We do not want a PATH search for config.site.
2207  case $CONFIG_SITE in #((
2208    -*)  ac_site_file1=./$CONFIG_SITE;;
2209    */*) ac_site_file1=$CONFIG_SITE;;
2210    *)   ac_site_file1=./$CONFIG_SITE;;
2211  esac
2212elif test "x$prefix" != xNONE; then
2213  ac_site_file1=$prefix/share/config.site
2214  ac_site_file2=$prefix/etc/config.site
2215else
2216  ac_site_file1=$ac_default_prefix/share/config.site
2217  ac_site_file2=$ac_default_prefix/etc/config.site
2218fi
2219for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2220do
2221  test "x$ac_site_file" = xNONE && continue
2222  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2223    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2224$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2225    sed 's/^/| /' "$ac_site_file" >&5
2226    . "$ac_site_file" \
2227      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229as_fn_error $? "failed to load site script $ac_site_file
2230See \`config.log' for more details" "$LINENO" 5; }
2231  fi
2232done
2233
2234if test -r "$cache_file"; then
2235  # Some versions of bash will fail to source /dev/null (special files
2236  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2237  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2238    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2239$as_echo "$as_me: loading cache $cache_file" >&6;}
2240    case $cache_file in
2241      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2242      *)                      . "./$cache_file";;
2243    esac
2244  fi
2245else
2246  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2247$as_echo "$as_me: creating cache $cache_file" >&6;}
2248  >$cache_file
2249fi
2250
2251# Check that the precious variables saved in the cache have kept the same
2252# value.
2253ac_cache_corrupted=false
2254for ac_var in $ac_precious_vars; do
2255  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2256  eval ac_new_set=\$ac_env_${ac_var}_set
2257  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2258  eval ac_new_val=\$ac_env_${ac_var}_value
2259  case $ac_old_set,$ac_new_set in
2260    set,)
2261      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2262$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2263      ac_cache_corrupted=: ;;
2264    ,set)
2265      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2266$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2267      ac_cache_corrupted=: ;;
2268    ,);;
2269    *)
2270      if test "x$ac_old_val" != "x$ac_new_val"; then
2271	# differences in whitespace do not lead to failure.
2272	ac_old_val_w=`echo x $ac_old_val`
2273	ac_new_val_w=`echo x $ac_new_val`
2274	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2275	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2276$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2277	  ac_cache_corrupted=:
2278	else
2279	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2280$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2281	  eval $ac_var=\$ac_old_val
2282	fi
2283	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2284$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2285	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2286$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2287      fi;;
2288  esac
2289  # Pass precious variables to config.status.
2290  if test "$ac_new_set" = set; then
2291    case $ac_new_val in
2292    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2293    *) ac_arg=$ac_var=$ac_new_val ;;
2294    esac
2295    case " $ac_configure_args " in
2296      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2297      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2298    esac
2299  fi
2300done
2301if $ac_cache_corrupted; then
2302  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2305$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2306  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2307fi
2308## -------------------- ##
2309## Main body of script. ##
2310## -------------------- ##
2311
2312ac_ext=c
2313ac_cpp='$CPP $CPPFLAGS'
2314ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2315ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2316ac_compiler_gnu=$ac_cv_c_compiler_gnu
2317
2318
2319
2320
2321
2322am__api_version='1.16'
2323
2324ac_aux_dir=
2325for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2326  if test -f "$ac_dir/install-sh"; then
2327    ac_aux_dir=$ac_dir
2328    ac_install_sh="$ac_aux_dir/install-sh -c"
2329    break
2330  elif test -f "$ac_dir/install.sh"; then
2331    ac_aux_dir=$ac_dir
2332    ac_install_sh="$ac_aux_dir/install.sh -c"
2333    break
2334  elif test -f "$ac_dir/shtool"; then
2335    ac_aux_dir=$ac_dir
2336    ac_install_sh="$ac_aux_dir/shtool install -c"
2337    break
2338  fi
2339done
2340if test -z "$ac_aux_dir"; then
2341  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2342fi
2343
2344# These three variables are undocumented and unsupported,
2345# and are intended to be withdrawn in a future Autoconf release.
2346# They can cause serious problems if a builder's source tree is in a directory
2347# whose full name contains unusual characters.
2348ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2349ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2350ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2351
2352
2353# Find a good install program.  We prefer a C program (faster),
2354# so one script is as good as another.  But avoid the broken or
2355# incompatible versions:
2356# SysV /etc/install, /usr/sbin/install
2357# SunOS /usr/etc/install
2358# IRIX /sbin/install
2359# AIX /bin/install
2360# AmigaOS /C/install, which installs bootblocks on floppy discs
2361# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2362# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2363# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2364# OS/2's system install, which has a completely different semantic
2365# ./install, which can be erroneously created by make from ./install.sh.
2366# Reject install programs that cannot install multiple files.
2367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2368$as_echo_n "checking for a BSD-compatible install... " >&6; }
2369if test -z "$INSTALL"; then
2370if ${ac_cv_path_install+:} false; then :
2371  $as_echo_n "(cached) " >&6
2372else
2373  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374for as_dir in $PATH
2375do
2376  IFS=$as_save_IFS
2377  test -z "$as_dir" && as_dir=.
2378    # Account for people who put trailing slashes in PATH elements.
2379case $as_dir/ in #((
2380  ./ | .// | /[cC]/* | \
2381  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2382  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2383  /usr/ucb/* ) ;;
2384  *)
2385    # OSF1 and SCO ODT 3.0 have their own names for install.
2386    # Don't use installbsd from OSF since it installs stuff as root
2387    # by default.
2388    for ac_prog in ginstall scoinst install; do
2389      for ac_exec_ext in '' $ac_executable_extensions; do
2390	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2391	  if test $ac_prog = install &&
2392	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2393	    # AIX install.  It has an incompatible calling convention.
2394	    :
2395	  elif test $ac_prog = install &&
2396	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2397	    # program-specific install script used by HP pwplus--don't use.
2398	    :
2399	  else
2400	    rm -rf conftest.one conftest.two conftest.dir
2401	    echo one > conftest.one
2402	    echo two > conftest.two
2403	    mkdir conftest.dir
2404	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2405	      test -s conftest.one && test -s conftest.two &&
2406	      test -s conftest.dir/conftest.one &&
2407	      test -s conftest.dir/conftest.two
2408	    then
2409	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2410	      break 3
2411	    fi
2412	  fi
2413	fi
2414      done
2415    done
2416    ;;
2417esac
2418
2419  done
2420IFS=$as_save_IFS
2421
2422rm -rf conftest.one conftest.two conftest.dir
2423
2424fi
2425  if test "${ac_cv_path_install+set}" = set; then
2426    INSTALL=$ac_cv_path_install
2427  else
2428    # As a last resort, use the slow shell script.  Don't cache a
2429    # value for INSTALL within a source directory, because that will
2430    # break other packages using the cache if that directory is
2431    # removed, or if the value is a relative name.
2432    INSTALL=$ac_install_sh
2433  fi
2434fi
2435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2436$as_echo "$INSTALL" >&6; }
2437
2438# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2439# It thinks the first close brace ends the variable substitution.
2440test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2441
2442test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2443
2444test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2445
2446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2447$as_echo_n "checking whether build environment is sane... " >&6; }
2448# Reject unsafe characters in $srcdir or the absolute working directory
2449# name.  Accept space and tab only in the latter.
2450am_lf='
2451'
2452case `pwd` in
2453  *[\\\"\#\$\&\'\`$am_lf]*)
2454    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2455esac
2456case $srcdir in
2457  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2458    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2459esac
2460
2461# Do 'set' in a subshell so we don't clobber the current shell's
2462# arguments.  Must try -L first in case configure is actually a
2463# symlink; some systems play weird games with the mod time of symlinks
2464# (eg FreeBSD returns the mod time of the symlink's containing
2465# directory).
2466if (
2467   am_has_slept=no
2468   for am_try in 1 2; do
2469     echo "timestamp, slept: $am_has_slept" > conftest.file
2470     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2471     if test "$*" = "X"; then
2472	# -L didn't work.
2473	set X `ls -t "$srcdir/configure" conftest.file`
2474     fi
2475     if test "$*" != "X $srcdir/configure conftest.file" \
2476	&& test "$*" != "X conftest.file $srcdir/configure"; then
2477
2478	# If neither matched, then we have a broken ls.  This can happen
2479	# if, for instance, CONFIG_SHELL is bash and it inherits a
2480	# broken ls alias from the environment.  This has actually
2481	# happened.  Such a system could not be considered "sane".
2482	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2483  alias in your environment" "$LINENO" 5
2484     fi
2485     if test "$2" = conftest.file || test $am_try -eq 2; then
2486       break
2487     fi
2488     # Just in case.
2489     sleep 1
2490     am_has_slept=yes
2491   done
2492   test "$2" = conftest.file
2493   )
2494then
2495   # Ok.
2496   :
2497else
2498   as_fn_error $? "newly created file is older than distributed files!
2499Check your system clock" "$LINENO" 5
2500fi
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502$as_echo "yes" >&6; }
2503# If we didn't sleep, we still need to ensure time stamps of config.status and
2504# generated files are strictly newer.
2505am_sleep_pid=
2506if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2507  ( sleep 1 ) &
2508  am_sleep_pid=$!
2509fi
2510
2511rm -f conftest.file
2512
2513test "$program_prefix" != NONE &&
2514  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2515# Use a double $ so make ignores it.
2516test "$program_suffix" != NONE &&
2517  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2518# Double any \ or $.
2519# By default was `s,x,x', remove it if useless.
2520ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2521program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2522
2523# Expand $ac_aux_dir to an absolute path.
2524am_aux_dir=`cd "$ac_aux_dir" && pwd`
2525
2526if test x"${MISSING+set}" != xset; then
2527  case $am_aux_dir in
2528  *\ * | *\	*)
2529    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2530  *)
2531    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2532  esac
2533fi
2534# Use eval to expand $SHELL
2535if eval "$MISSING --is-lightweight"; then
2536  am_missing_run="$MISSING "
2537else
2538  am_missing_run=
2539  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2540$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2541fi
2542
2543if test x"${install_sh+set}" != xset; then
2544  case $am_aux_dir in
2545  *\ * | *\	*)
2546    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2547  *)
2548    install_sh="\${SHELL} $am_aux_dir/install-sh"
2549  esac
2550fi
2551
2552# Installed binaries are usually stripped using 'strip' when the user
2553# run "make install-strip".  However 'strip' might not be the right
2554# tool to use in cross-compilation environments, therefore Automake
2555# will honor the 'STRIP' environment variable to overrule this program.
2556if test "$cross_compiling" != no; then
2557  if test -n "$ac_tool_prefix"; then
2558  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2559set dummy ${ac_tool_prefix}strip; ac_word=$2
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561$as_echo_n "checking for $ac_word... " >&6; }
2562if ${ac_cv_prog_STRIP+:} false; then :
2563  $as_echo_n "(cached) " >&6
2564else
2565  if test -n "$STRIP"; then
2566  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2567else
2568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569for as_dir in $PATH
2570do
2571  IFS=$as_save_IFS
2572  test -z "$as_dir" && as_dir=.
2573    for ac_exec_ext in '' $ac_executable_extensions; do
2574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2577    break 2
2578  fi
2579done
2580  done
2581IFS=$as_save_IFS
2582
2583fi
2584fi
2585STRIP=$ac_cv_prog_STRIP
2586if test -n "$STRIP"; then
2587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2588$as_echo "$STRIP" >&6; }
2589else
2590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591$as_echo "no" >&6; }
2592fi
2593
2594
2595fi
2596if test -z "$ac_cv_prog_STRIP"; then
2597  ac_ct_STRIP=$STRIP
2598  # Extract the first word of "strip", so it can be a program name with args.
2599set dummy strip; ac_word=$2
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601$as_echo_n "checking for $ac_word... " >&6; }
2602if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2603  $as_echo_n "(cached) " >&6
2604else
2605  if test -n "$ac_ct_STRIP"; then
2606  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2607else
2608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609for as_dir in $PATH
2610do
2611  IFS=$as_save_IFS
2612  test -z "$as_dir" && as_dir=.
2613    for ac_exec_ext in '' $ac_executable_extensions; do
2614  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615    ac_cv_prog_ac_ct_STRIP="strip"
2616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617    break 2
2618  fi
2619done
2620  done
2621IFS=$as_save_IFS
2622
2623fi
2624fi
2625ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2626if test -n "$ac_ct_STRIP"; then
2627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2628$as_echo "$ac_ct_STRIP" >&6; }
2629else
2630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631$as_echo "no" >&6; }
2632fi
2633
2634  if test "x$ac_ct_STRIP" = x; then
2635    STRIP=":"
2636  else
2637    case $cross_compiling:$ac_tool_warned in
2638yes:)
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2640$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2641ac_tool_warned=yes ;;
2642esac
2643    STRIP=$ac_ct_STRIP
2644  fi
2645else
2646  STRIP="$ac_cv_prog_STRIP"
2647fi
2648
2649fi
2650INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2651
2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2653$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2654if test -z "$MKDIR_P"; then
2655  if ${ac_cv_path_mkdir+:} false; then :
2656  $as_echo_n "(cached) " >&6
2657else
2658  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2660do
2661  IFS=$as_save_IFS
2662  test -z "$as_dir" && as_dir=.
2663    for ac_prog in mkdir gmkdir; do
2664	 for ac_exec_ext in '' $ac_executable_extensions; do
2665	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2666	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2667	     'mkdir (GNU coreutils) '* | \
2668	     'mkdir (coreutils) '* | \
2669	     'mkdir (fileutils) '4.1*)
2670	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2671	       break 3;;
2672	   esac
2673	 done
2674       done
2675  done
2676IFS=$as_save_IFS
2677
2678fi
2679
2680  test -d ./--version && rmdir ./--version
2681  if test "${ac_cv_path_mkdir+set}" = set; then
2682    MKDIR_P="$ac_cv_path_mkdir -p"
2683  else
2684    # As a last resort, use the slow shell script.  Don't cache a
2685    # value for MKDIR_P within a source directory, because that will
2686    # break other packages using the cache if that directory is
2687    # removed, or if the value is a relative name.
2688    MKDIR_P="$ac_install_sh -d"
2689  fi
2690fi
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2692$as_echo "$MKDIR_P" >&6; }
2693
2694for ac_prog in gawk mawk nawk awk
2695do
2696  # Extract the first word of "$ac_prog", so it can be a program name with args.
2697set dummy $ac_prog; ac_word=$2
2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699$as_echo_n "checking for $ac_word... " >&6; }
2700if ${ac_cv_prog_AWK+:} false; then :
2701  $as_echo_n "(cached) " >&6
2702else
2703  if test -n "$AWK"; then
2704  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2705else
2706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707for as_dir in $PATH
2708do
2709  IFS=$as_save_IFS
2710  test -z "$as_dir" && as_dir=.
2711    for ac_exec_ext in '' $ac_executable_extensions; do
2712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2713    ac_cv_prog_AWK="$ac_prog"
2714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715    break 2
2716  fi
2717done
2718  done
2719IFS=$as_save_IFS
2720
2721fi
2722fi
2723AWK=$ac_cv_prog_AWK
2724if test -n "$AWK"; then
2725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2726$as_echo "$AWK" >&6; }
2727else
2728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729$as_echo "no" >&6; }
2730fi
2731
2732
2733  test -n "$AWK" && break
2734done
2735
2736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2737$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2738set x ${MAKE-make}
2739ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2740if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2741  $as_echo_n "(cached) " >&6
2742else
2743  cat >conftest.make <<\_ACEOF
2744SHELL = /bin/sh
2745all:
2746	@echo '@@@%%%=$(MAKE)=@@@%%%'
2747_ACEOF
2748# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2749case `${MAKE-make} -f conftest.make 2>/dev/null` in
2750  *@@@%%%=?*=@@@%%%*)
2751    eval ac_cv_prog_make_${ac_make}_set=yes;;
2752  *)
2753    eval ac_cv_prog_make_${ac_make}_set=no;;
2754esac
2755rm -f conftest.make
2756fi
2757if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759$as_echo "yes" >&6; }
2760  SET_MAKE=
2761else
2762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763$as_echo "no" >&6; }
2764  SET_MAKE="MAKE=${MAKE-make}"
2765fi
2766
2767rm -rf .tst 2>/dev/null
2768mkdir .tst 2>/dev/null
2769if test -d .tst; then
2770  am__leading_dot=.
2771else
2772  am__leading_dot=_
2773fi
2774rmdir .tst 2>/dev/null
2775
2776# Check whether --enable-silent-rules was given.
2777if test "${enable_silent_rules+set}" = set; then :
2778  enableval=$enable_silent_rules;
2779fi
2780
2781case $enable_silent_rules in # (((
2782  yes) AM_DEFAULT_VERBOSITY=0;;
2783   no) AM_DEFAULT_VERBOSITY=1;;
2784    *) AM_DEFAULT_VERBOSITY=1;;
2785esac
2786am_make=${MAKE-make}
2787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2788$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2789if ${am_cv_make_support_nested_variables+:} false; then :
2790  $as_echo_n "(cached) " >&6
2791else
2792  if $as_echo 'TRUE=$(BAR$(V))
2793BAR0=false
2794BAR1=true
2795V=1
2796am__doit:
2797	@$(TRUE)
2798.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2799  am_cv_make_support_nested_variables=yes
2800else
2801  am_cv_make_support_nested_variables=no
2802fi
2803fi
2804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2805$as_echo "$am_cv_make_support_nested_variables" >&6; }
2806if test $am_cv_make_support_nested_variables = yes; then
2807    AM_V='$(V)'
2808  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2809else
2810  AM_V=$AM_DEFAULT_VERBOSITY
2811  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2812fi
2813AM_BACKSLASH='\'
2814
2815if test "`cd $srcdir && pwd`" != "`pwd`"; then
2816  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2817  # is not polluted with repeated "-I."
2818  am__isrc=' -I$(srcdir)'
2819  # test to see if srcdir already configured
2820  if test -f $srcdir/config.status; then
2821    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2822  fi
2823fi
2824
2825# test whether we have cygpath
2826if test -z "$CYGPATH_W"; then
2827  if (cygpath --version) >/dev/null 2>/dev/null; then
2828    CYGPATH_W='cygpath -w'
2829  else
2830    CYGPATH_W=echo
2831  fi
2832fi
2833
2834
2835# Define the identity of the package.
2836 PACKAGE='xfce4-dict'
2837 VERSION='0.8.4'
2838
2839
2840cat >>confdefs.h <<_ACEOF
2841#define PACKAGE "$PACKAGE"
2842_ACEOF
2843
2844
2845cat >>confdefs.h <<_ACEOF
2846#define VERSION "$VERSION"
2847_ACEOF
2848
2849# Some tools Automake needs.
2850
2851ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852
2853
2854AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2855
2856
2857AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858
2859
2860AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2861
2862
2863MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2864
2865# For better backward compatibility.  To be removed once Automake 1.9.x
2866# dies out for good.  For more background, see:
2867# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2868# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2869mkdir_p='$(MKDIR_P)'
2870
2871# We need awk for the "check" target (and possibly the TAP driver).  The
2872# system "awk" is bad on some platforms.
2873# Always define AMTAR for backward compatibility.  Yes, it's still used
2874# in the wild :-(  We should find a proper way to deprecate it ...
2875AMTAR='$${TAR-tar}'
2876
2877
2878# We'll loop over all known methods to create a tar archive until one works.
2879_am_tools='gnutar plaintar pax cpio none'
2880
2881# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2882      # There is notably a 21 bits limit for the UID and the GID.  In fact,
2883      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2884      # and bug#13588).
2885      am_max_uid=2097151 # 2^21 - 1
2886      am_max_gid=$am_max_uid
2887      # The $UID and $GID variables are not portable, so we need to resort
2888      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
2889      # below are definitely unexpected, so allow the users to see them
2890      # (that is, avoid stderr redirection).
2891      am_uid=`id -u || echo unknown`
2892      am_gid=`id -g || echo unknown`
2893      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2894$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2895      if test $am_uid -le $am_max_uid; then
2896         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2897$as_echo "yes" >&6; }
2898      else
2899         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900$as_echo "no" >&6; }
2901         _am_tools=none
2902      fi
2903      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2904$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2905      if test $am_gid -le $am_max_gid; then
2906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2907$as_echo "yes" >&6; }
2908      else
2909        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910$as_echo "no" >&6; }
2911        _am_tools=none
2912      fi
2913
2914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2915$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2916
2917  # Go ahead even if we have the value already cached.  We do so because we
2918  # need to set the values for the 'am__tar' and 'am__untar' variables.
2919  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2920
2921  for _am_tool in $_am_tools; do
2922    case $_am_tool in
2923    gnutar)
2924      for _am_tar in tar gnutar gtar; do
2925        { echo "$as_me:$LINENO: $_am_tar --version" >&5
2926   ($_am_tar --version) >&5 2>&5
2927   ac_status=$?
2928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929   (exit $ac_status); } && break
2930      done
2931      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2932      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2933      am__untar="$_am_tar -xf -"
2934      ;;
2935    plaintar)
2936      # Must skip GNU tar: if it does not support --format= it doesn't create
2937      # ustar tarball either.
2938      (tar --version) >/dev/null 2>&1 && continue
2939      am__tar='tar chf - "$$tardir"'
2940      am__tar_='tar chf - "$tardir"'
2941      am__untar='tar xf -'
2942      ;;
2943    pax)
2944      am__tar='pax -L -x ustar -w "$$tardir"'
2945      am__tar_='pax -L -x ustar -w "$tardir"'
2946      am__untar='pax -r'
2947      ;;
2948    cpio)
2949      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2950      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2951      am__untar='cpio -i -H ustar -d'
2952      ;;
2953    none)
2954      am__tar=false
2955      am__tar_=false
2956      am__untar=false
2957      ;;
2958    esac
2959
2960    # If the value was cached, stop now.  We just wanted to have am__tar
2961    # and am__untar set.
2962    test -n "${am_cv_prog_tar_ustar}" && break
2963
2964    # tar/untar a dummy directory, and stop if the command works.
2965    rm -rf conftest.dir
2966    mkdir conftest.dir
2967    echo GrepMe > conftest.dir/file
2968    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2969   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2970   ac_status=$?
2971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972   (exit $ac_status); }
2973    rm -rf conftest.dir
2974    if test -s conftest.tar; then
2975      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2976   ($am__untar <conftest.tar) >&5 2>&5
2977   ac_status=$?
2978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979   (exit $ac_status); }
2980      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2981   (cat conftest.dir/file) >&5 2>&5
2982   ac_status=$?
2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984   (exit $ac_status); }
2985      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2986    fi
2987  done
2988  rm -rf conftest.dir
2989
2990  if ${am_cv_prog_tar_ustar+:} false; then :
2991  $as_echo_n "(cached) " >&6
2992else
2993  am_cv_prog_tar_ustar=$_am_tool
2994fi
2995
2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2997$as_echo "$am_cv_prog_tar_ustar" >&6; }
2998
2999
3000
3001
3002
3003
3004# POSIX will say in a future version that running "rm -f" with no argument
3005# is OK; and we want to be able to make that assumption in our Makefile
3006# recipes.  So use an aggressive probe to check that the usage we want is
3007# actually supported "in the wild" to an acceptable degree.
3008# See automake bug#10828.
3009# To make any issue more visible, cause the running configure to be aborted
3010# by default if the 'rm' program in use doesn't match our expectations; the
3011# user can still override this though.
3012if rm -f && rm -fr && rm -rf; then : OK; else
3013  cat >&2 <<'END'
3014Oops!
3015
3016Your 'rm' program seems unable to run without file operands specified
3017on the command line, even when the '-f' option is present.  This is contrary
3018to the behaviour of most rm programs out there, and not conforming with
3019the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3020
3021Please tell bug-automake@gnu.org about your system, including the value
3022of your $PATH and any error possibly output before this message.  This
3023can help us improve future automake versions.
3024
3025END
3026  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3027    echo 'Configuration will proceed anyway, since you have set the' >&2
3028    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3029    echo >&2
3030  else
3031    cat >&2 <<'END'
3032Aborting the configuration process, to ensure you take notice of the issue.
3033
3034You can download and install GNU coreutils to get an 'rm' implementation
3035that behaves properly: <https://www.gnu.org/software/coreutils/>.
3036
3037If you want to complete the configuration process using your problematic
3038'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3039to "yes", and re-run configure.
3040
3041END
3042    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3043  fi
3044fi
3045
3046ac_config_headers="$ac_config_headers config.h"
3047
3048
3049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3050$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3051    # Check whether --enable-maintainer-mode was given.
3052if test "${enable_maintainer_mode+set}" = set; then :
3053  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3054else
3055  USE_MAINTAINER_MODE=no
3056fi
3057
3058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3059$as_echo "$USE_MAINTAINER_MODE" >&6; }
3060   if test $USE_MAINTAINER_MODE = yes; then
3061  MAINTAINER_MODE_TRUE=
3062  MAINTAINER_MODE_FALSE='#'
3063else
3064  MAINTAINER_MODE_TRUE='#'
3065  MAINTAINER_MODE_FALSE=
3066fi
3067
3068  MAINT=$MAINTAINER_MODE_TRUE
3069
3070
3071# Check whether --enable-silent-rules was given.
3072if test "${enable_silent_rules+set}" = set; then :
3073  enableval=$enable_silent_rules;
3074fi
3075
3076case $enable_silent_rules in # (((
3077  yes) AM_DEFAULT_VERBOSITY=0;;
3078   no) AM_DEFAULT_VERBOSITY=1;;
3079    *) AM_DEFAULT_VERBOSITY=0;;
3080esac
3081am_make=${MAKE-make}
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3083$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3084if ${am_cv_make_support_nested_variables+:} false; then :
3085  $as_echo_n "(cached) " >&6
3086else
3087  if $as_echo 'TRUE=$(BAR$(V))
3088BAR0=false
3089BAR1=true
3090V=1
3091am__doit:
3092	@$(TRUE)
3093.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3094  am_cv_make_support_nested_variables=yes
3095else
3096  am_cv_make_support_nested_variables=no
3097fi
3098fi
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3100$as_echo "$am_cv_make_support_nested_variables" >&6; }
3101if test $am_cv_make_support_nested_variables = yes; then
3102    AM_V='$(V)'
3103  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3104else
3105  AM_V=$AM_DEFAULT_VERBOSITY
3106  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3107fi
3108AM_BACKSLASH='\'
3109
3110
3111ac_ext=c
3112ac_cpp='$CPP $CPPFLAGS'
3113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116if test -n "$ac_tool_prefix"; then
3117  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3118set dummy ${ac_tool_prefix}gcc; ac_word=$2
3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120$as_echo_n "checking for $ac_word... " >&6; }
3121if ${ac_cv_prog_CC+:} false; then :
3122  $as_echo_n "(cached) " >&6
3123else
3124  if test -n "$CC"; then
3125  ac_cv_prog_CC="$CC" # Let the user override the test.
3126else
3127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128for as_dir in $PATH
3129do
3130  IFS=$as_save_IFS
3131  test -z "$as_dir" && as_dir=.
3132    for ac_exec_ext in '' $ac_executable_extensions; do
3133  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136    break 2
3137  fi
3138done
3139  done
3140IFS=$as_save_IFS
3141
3142fi
3143fi
3144CC=$ac_cv_prog_CC
3145if test -n "$CC"; then
3146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147$as_echo "$CC" >&6; }
3148else
3149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150$as_echo "no" >&6; }
3151fi
3152
3153
3154fi
3155if test -z "$ac_cv_prog_CC"; then
3156  ac_ct_CC=$CC
3157  # Extract the first word of "gcc", so it can be a program name with args.
3158set dummy gcc; ac_word=$2
3159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160$as_echo_n "checking for $ac_word... " >&6; }
3161if ${ac_cv_prog_ac_ct_CC+:} false; then :
3162  $as_echo_n "(cached) " >&6
3163else
3164  if test -n "$ac_ct_CC"; then
3165  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3166else
3167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168for as_dir in $PATH
3169do
3170  IFS=$as_save_IFS
3171  test -z "$as_dir" && as_dir=.
3172    for ac_exec_ext in '' $ac_executable_extensions; do
3173  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174    ac_cv_prog_ac_ct_CC="gcc"
3175    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176    break 2
3177  fi
3178done
3179  done
3180IFS=$as_save_IFS
3181
3182fi
3183fi
3184ac_ct_CC=$ac_cv_prog_ac_ct_CC
3185if test -n "$ac_ct_CC"; then
3186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3187$as_echo "$ac_ct_CC" >&6; }
3188else
3189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190$as_echo "no" >&6; }
3191fi
3192
3193  if test "x$ac_ct_CC" = x; then
3194    CC=""
3195  else
3196    case $cross_compiling:$ac_tool_warned in
3197yes:)
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200ac_tool_warned=yes ;;
3201esac
3202    CC=$ac_ct_CC
3203  fi
3204else
3205  CC="$ac_cv_prog_CC"
3206fi
3207
3208if test -z "$CC"; then
3209          if test -n "$ac_tool_prefix"; then
3210    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3211set dummy ${ac_tool_prefix}cc; ac_word=$2
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213$as_echo_n "checking for $ac_word... " >&6; }
3214if ${ac_cv_prog_CC+:} false; then :
3215  $as_echo_n "(cached) " >&6
3216else
3217  if test -n "$CC"; then
3218  ac_cv_prog_CC="$CC" # Let the user override the test.
3219else
3220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221for as_dir in $PATH
3222do
3223  IFS=$as_save_IFS
3224  test -z "$as_dir" && as_dir=.
3225    for ac_exec_ext in '' $ac_executable_extensions; do
3226  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3227    ac_cv_prog_CC="${ac_tool_prefix}cc"
3228    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229    break 2
3230  fi
3231done
3232  done
3233IFS=$as_save_IFS
3234
3235fi
3236fi
3237CC=$ac_cv_prog_CC
3238if test -n "$CC"; then
3239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3240$as_echo "$CC" >&6; }
3241else
3242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243$as_echo "no" >&6; }
3244fi
3245
3246
3247  fi
3248fi
3249if test -z "$CC"; then
3250  # Extract the first word of "cc", so it can be a program name with args.
3251set dummy cc; ac_word=$2
3252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253$as_echo_n "checking for $ac_word... " >&6; }
3254if ${ac_cv_prog_CC+:} false; then :
3255  $as_echo_n "(cached) " >&6
3256else
3257  if test -n "$CC"; then
3258  ac_cv_prog_CC="$CC" # Let the user override the test.
3259else
3260  ac_prog_rejected=no
3261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262for as_dir in $PATH
3263do
3264  IFS=$as_save_IFS
3265  test -z "$as_dir" && as_dir=.
3266    for ac_exec_ext in '' $ac_executable_extensions; do
3267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3269       ac_prog_rejected=yes
3270       continue
3271     fi
3272    ac_cv_prog_CC="cc"
3273    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274    break 2
3275  fi
3276done
3277  done
3278IFS=$as_save_IFS
3279
3280if test $ac_prog_rejected = yes; then
3281  # We found a bogon in the path, so make sure we never use it.
3282  set dummy $ac_cv_prog_CC
3283  shift
3284  if test $# != 0; then
3285    # We chose a different compiler from the bogus one.
3286    # However, it has the same basename, so the bogon will be chosen
3287    # first if we set CC to just the basename; use the full file name.
3288    shift
3289    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3290  fi
3291fi
3292fi
3293fi
3294CC=$ac_cv_prog_CC
3295if test -n "$CC"; then
3296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3297$as_echo "$CC" >&6; }
3298else
3299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300$as_echo "no" >&6; }
3301fi
3302
3303
3304fi
3305if test -z "$CC"; then
3306  if test -n "$ac_tool_prefix"; then
3307  for ac_prog in cl.exe
3308  do
3309    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3310set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312$as_echo_n "checking for $ac_word... " >&6; }
3313if ${ac_cv_prog_CC+:} false; then :
3314  $as_echo_n "(cached) " >&6
3315else
3316  if test -n "$CC"; then
3317  ac_cv_prog_CC="$CC" # Let the user override the test.
3318else
3319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320for as_dir in $PATH
3321do
3322  IFS=$as_save_IFS
3323  test -z "$as_dir" && as_dir=.
3324    for ac_exec_ext in '' $ac_executable_extensions; do
3325  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3326    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3327    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328    break 2
3329  fi
3330done
3331  done
3332IFS=$as_save_IFS
3333
3334fi
3335fi
3336CC=$ac_cv_prog_CC
3337if test -n "$CC"; then
3338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3339$as_echo "$CC" >&6; }
3340else
3341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342$as_echo "no" >&6; }
3343fi
3344
3345
3346    test -n "$CC" && break
3347  done
3348fi
3349if test -z "$CC"; then
3350  ac_ct_CC=$CC
3351  for ac_prog in cl.exe
3352do
3353  # Extract the first word of "$ac_prog", so it can be a program name with args.
3354set dummy $ac_prog; ac_word=$2
3355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356$as_echo_n "checking for $ac_word... " >&6; }
3357if ${ac_cv_prog_ac_ct_CC+:} false; then :
3358  $as_echo_n "(cached) " >&6
3359else
3360  if test -n "$ac_ct_CC"; then
3361  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3362else
3363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364for as_dir in $PATH
3365do
3366  IFS=$as_save_IFS
3367  test -z "$as_dir" && as_dir=.
3368    for ac_exec_ext in '' $ac_executable_extensions; do
3369  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370    ac_cv_prog_ac_ct_CC="$ac_prog"
3371    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372    break 2
3373  fi
3374done
3375  done
3376IFS=$as_save_IFS
3377
3378fi
3379fi
3380ac_ct_CC=$ac_cv_prog_ac_ct_CC
3381if test -n "$ac_ct_CC"; then
3382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3383$as_echo "$ac_ct_CC" >&6; }
3384else
3385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386$as_echo "no" >&6; }
3387fi
3388
3389
3390  test -n "$ac_ct_CC" && break
3391done
3392
3393  if test "x$ac_ct_CC" = x; then
3394    CC=""
3395  else
3396    case $cross_compiling:$ac_tool_warned in
3397yes:)
3398{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3399$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3400ac_tool_warned=yes ;;
3401esac
3402    CC=$ac_ct_CC
3403  fi
3404fi
3405
3406fi
3407
3408
3409test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411as_fn_error $? "no acceptable C compiler found in \$PATH
3412See \`config.log' for more details" "$LINENO" 5; }
3413
3414# Provide some information about the compiler.
3415$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3416set X $ac_compile
3417ac_compiler=$2
3418for ac_option in --version -v -V -qversion; do
3419  { { ac_try="$ac_compiler $ac_option >&5"
3420case "(($ac_try" in
3421  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422  *) ac_try_echo=$ac_try;;
3423esac
3424eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425$as_echo "$ac_try_echo"; } >&5
3426  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3427  ac_status=$?
3428  if test -s conftest.err; then
3429    sed '10a\
3430... rest of stderr output deleted ...
3431         10q' conftest.err >conftest.er1
3432    cat conftest.er1 >&5
3433  fi
3434  rm -f conftest.er1 conftest.err
3435  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436  test $ac_status = 0; }
3437done
3438
3439cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440/* end confdefs.h.  */
3441
3442int
3443main ()
3444{
3445
3446  ;
3447  return 0;
3448}
3449_ACEOF
3450ac_clean_files_save=$ac_clean_files
3451ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3452# Try to create an executable without -o first, disregard a.out.
3453# It will help us diagnose broken compilers, and finding out an intuition
3454# of exeext.
3455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3456$as_echo_n "checking whether the C compiler works... " >&6; }
3457ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3458
3459# The possible output files:
3460ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3461
3462ac_rmfiles=
3463for ac_file in $ac_files
3464do
3465  case $ac_file in
3466    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3467    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3468  esac
3469done
3470rm -f $ac_rmfiles
3471
3472if { { ac_try="$ac_link_default"
3473case "(($ac_try" in
3474  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475  *) ac_try_echo=$ac_try;;
3476esac
3477eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478$as_echo "$ac_try_echo"; } >&5
3479  (eval "$ac_link_default") 2>&5
3480  ac_status=$?
3481  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482  test $ac_status = 0; }; then :
3483  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3484# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3485# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3486# so that the user can short-circuit this test for compilers unknown to
3487# Autoconf.
3488for ac_file in $ac_files ''
3489do
3490  test -f "$ac_file" || continue
3491  case $ac_file in
3492    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3493	;;
3494    [ab].out )
3495	# We found the default executable, but exeext='' is most
3496	# certainly right.
3497	break;;
3498    *.* )
3499	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3500	then :; else
3501	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502	fi
3503	# We set ac_cv_exeext here because the later test for it is not
3504	# safe: cross compilers may not add the suffix if given an `-o'
3505	# argument, so we may need to know it at that point already.
3506	# Even if this section looks crufty: it has the advantage of
3507	# actually working.
3508	break;;
3509    * )
3510	break;;
3511  esac
3512done
3513test "$ac_cv_exeext" = no && ac_cv_exeext=
3514
3515else
3516  ac_file=''
3517fi
3518if test -z "$ac_file"; then :
3519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520$as_echo "no" >&6; }
3521$as_echo "$as_me: failed program was:" >&5
3522sed 's/^/| /' conftest.$ac_ext >&5
3523
3524{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526as_fn_error 77 "C compiler cannot create executables
3527See \`config.log' for more details" "$LINENO" 5; }
3528else
3529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3530$as_echo "yes" >&6; }
3531fi
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3533$as_echo_n "checking for C compiler default output file name... " >&6; }
3534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3535$as_echo "$ac_file" >&6; }
3536ac_exeext=$ac_cv_exeext
3537
3538rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3539ac_clean_files=$ac_clean_files_save
3540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3541$as_echo_n "checking for suffix of executables... " >&6; }
3542if { { ac_try="$ac_link"
3543case "(($ac_try" in
3544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545  *) ac_try_echo=$ac_try;;
3546esac
3547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548$as_echo "$ac_try_echo"; } >&5
3549  (eval "$ac_link") 2>&5
3550  ac_status=$?
3551  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552  test $ac_status = 0; }; then :
3553  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3554# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3555# work properly (i.e., refer to `conftest.exe'), while it won't with
3556# `rm'.
3557for ac_file in conftest.exe conftest conftest.*; do
3558  test -f "$ac_file" || continue
3559  case $ac_file in
3560    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3561    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3562	  break;;
3563    * ) break;;
3564  esac
3565done
3566else
3567  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3570See \`config.log' for more details" "$LINENO" 5; }
3571fi
3572rm -f conftest conftest$ac_cv_exeext
3573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3574$as_echo "$ac_cv_exeext" >&6; }
3575
3576rm -f conftest.$ac_ext
3577EXEEXT=$ac_cv_exeext
3578ac_exeext=$EXEEXT
3579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580/* end confdefs.h.  */
3581#include <stdio.h>
3582int
3583main ()
3584{
3585FILE *f = fopen ("conftest.out", "w");
3586 return ferror (f) || fclose (f) != 0;
3587
3588  ;
3589  return 0;
3590}
3591_ACEOF
3592ac_clean_files="$ac_clean_files conftest.out"
3593# Check that the compiler produces executables we can run.  If not, either
3594# the compiler is broken, or we cross compile.
3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3596$as_echo_n "checking whether we are cross compiling... " >&6; }
3597if test "$cross_compiling" != yes; then
3598  { { ac_try="$ac_link"
3599case "(($ac_try" in
3600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601  *) ac_try_echo=$ac_try;;
3602esac
3603eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604$as_echo "$ac_try_echo"; } >&5
3605  (eval "$ac_link") 2>&5
3606  ac_status=$?
3607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608  test $ac_status = 0; }
3609  if { ac_try='./conftest$ac_cv_exeext'
3610  { { case "(($ac_try" in
3611  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612  *) ac_try_echo=$ac_try;;
3613esac
3614eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615$as_echo "$ac_try_echo"; } >&5
3616  (eval "$ac_try") 2>&5
3617  ac_status=$?
3618  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619  test $ac_status = 0; }; }; then
3620    cross_compiling=no
3621  else
3622    if test "$cross_compiling" = maybe; then
3623	cross_compiling=yes
3624    else
3625	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627as_fn_error $? "cannot run C compiled programs.
3628If you meant to cross compile, use \`--host'.
3629See \`config.log' for more details" "$LINENO" 5; }
3630    fi
3631  fi
3632fi
3633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3634$as_echo "$cross_compiling" >&6; }
3635
3636rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3637ac_clean_files=$ac_clean_files_save
3638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3639$as_echo_n "checking for suffix of object files... " >&6; }
3640if ${ac_cv_objext+:} false; then :
3641  $as_echo_n "(cached) " >&6
3642else
3643  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644/* end confdefs.h.  */
3645
3646int
3647main ()
3648{
3649
3650  ;
3651  return 0;
3652}
3653_ACEOF
3654rm -f conftest.o conftest.obj
3655if { { ac_try="$ac_compile"
3656case "(($ac_try" in
3657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658  *) ac_try_echo=$ac_try;;
3659esac
3660eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661$as_echo "$ac_try_echo"; } >&5
3662  (eval "$ac_compile") 2>&5
3663  ac_status=$?
3664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665  test $ac_status = 0; }; then :
3666  for ac_file in conftest.o conftest.obj conftest.*; do
3667  test -f "$ac_file" || continue;
3668  case $ac_file in
3669    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3670    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3671       break;;
3672  esac
3673done
3674else
3675  $as_echo "$as_me: failed program was:" >&5
3676sed 's/^/| /' conftest.$ac_ext >&5
3677
3678{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3680as_fn_error $? "cannot compute suffix of object files: cannot compile
3681See \`config.log' for more details" "$LINENO" 5; }
3682fi
3683rm -f conftest.$ac_cv_objext conftest.$ac_ext
3684fi
3685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3686$as_echo "$ac_cv_objext" >&6; }
3687OBJEXT=$ac_cv_objext
3688ac_objext=$OBJEXT
3689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3690$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3691if ${ac_cv_c_compiler_gnu+:} false; then :
3692  $as_echo_n "(cached) " >&6
3693else
3694  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695/* end confdefs.h.  */
3696
3697int
3698main ()
3699{
3700#ifndef __GNUC__
3701       choke me
3702#endif
3703
3704  ;
3705  return 0;
3706}
3707_ACEOF
3708if ac_fn_c_try_compile "$LINENO"; then :
3709  ac_compiler_gnu=yes
3710else
3711  ac_compiler_gnu=no
3712fi
3713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714ac_cv_c_compiler_gnu=$ac_compiler_gnu
3715
3716fi
3717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3718$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3719if test $ac_compiler_gnu = yes; then
3720  GCC=yes
3721else
3722  GCC=
3723fi
3724ac_test_CFLAGS=${CFLAGS+set}
3725ac_save_CFLAGS=$CFLAGS
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3727$as_echo_n "checking whether $CC accepts -g... " >&6; }
3728if ${ac_cv_prog_cc_g+:} false; then :
3729  $as_echo_n "(cached) " >&6
3730else
3731  ac_save_c_werror_flag=$ac_c_werror_flag
3732   ac_c_werror_flag=yes
3733   ac_cv_prog_cc_g=no
3734   CFLAGS="-g"
3735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736/* end confdefs.h.  */
3737
3738int
3739main ()
3740{
3741
3742  ;
3743  return 0;
3744}
3745_ACEOF
3746if ac_fn_c_try_compile "$LINENO"; then :
3747  ac_cv_prog_cc_g=yes
3748else
3749  CFLAGS=""
3750      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751/* end confdefs.h.  */
3752
3753int
3754main ()
3755{
3756
3757  ;
3758  return 0;
3759}
3760_ACEOF
3761if ac_fn_c_try_compile "$LINENO"; then :
3762
3763else
3764  ac_c_werror_flag=$ac_save_c_werror_flag
3765	 CFLAGS="-g"
3766	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767/* end confdefs.h.  */
3768
3769int
3770main ()
3771{
3772
3773  ;
3774  return 0;
3775}
3776_ACEOF
3777if ac_fn_c_try_compile "$LINENO"; then :
3778  ac_cv_prog_cc_g=yes
3779fi
3780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781fi
3782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783fi
3784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785   ac_c_werror_flag=$ac_save_c_werror_flag
3786fi
3787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3788$as_echo "$ac_cv_prog_cc_g" >&6; }
3789if test "$ac_test_CFLAGS" = set; then
3790  CFLAGS=$ac_save_CFLAGS
3791elif test $ac_cv_prog_cc_g = yes; then
3792  if test "$GCC" = yes; then
3793    CFLAGS="-g -O2"
3794  else
3795    CFLAGS="-g"
3796  fi
3797else
3798  if test "$GCC" = yes; then
3799    CFLAGS="-O2"
3800  else
3801    CFLAGS=
3802  fi
3803fi
3804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3805$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3806if ${ac_cv_prog_cc_c89+:} false; then :
3807  $as_echo_n "(cached) " >&6
3808else
3809  ac_cv_prog_cc_c89=no
3810ac_save_CC=$CC
3811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812/* end confdefs.h.  */
3813#include <stdarg.h>
3814#include <stdio.h>
3815struct stat;
3816/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3817struct buf { int x; };
3818FILE * (*rcsopen) (struct buf *, struct stat *, int);
3819static char *e (p, i)
3820     char **p;
3821     int i;
3822{
3823  return p[i];
3824}
3825static char *f (char * (*g) (char **, int), char **p, ...)
3826{
3827  char *s;
3828  va_list v;
3829  va_start (v,p);
3830  s = g (p, va_arg (v,int));
3831  va_end (v);
3832  return s;
3833}
3834
3835/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3836   function prototypes and stuff, but not '\xHH' hex character constants.
3837   These don't provoke an error unfortunately, instead are silently treated
3838   as 'x'.  The following induces an error, until -std is added to get
3839   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3840   array size at least.  It's necessary to write '\x00'==0 to get something
3841   that's true only with -std.  */
3842int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3843
3844/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3845   inside strings and character constants.  */
3846#define FOO(x) 'x'
3847int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3848
3849int test (int i, double x);
3850struct s1 {int (*f) (int a);};
3851struct s2 {int (*f) (double a);};
3852int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3853int argc;
3854char **argv;
3855int
3856main ()
3857{
3858return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3859  ;
3860  return 0;
3861}
3862_ACEOF
3863for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3864	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3865do
3866  CC="$ac_save_CC $ac_arg"
3867  if ac_fn_c_try_compile "$LINENO"; then :
3868  ac_cv_prog_cc_c89=$ac_arg
3869fi
3870rm -f core conftest.err conftest.$ac_objext
3871  test "x$ac_cv_prog_cc_c89" != "xno" && break
3872done
3873rm -f conftest.$ac_ext
3874CC=$ac_save_CC
3875
3876fi
3877# AC_CACHE_VAL
3878case "x$ac_cv_prog_cc_c89" in
3879  x)
3880    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3881$as_echo "none needed" >&6; } ;;
3882  xno)
3883    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3884$as_echo "unsupported" >&6; } ;;
3885  *)
3886    CC="$CC $ac_cv_prog_cc_c89"
3887    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3888$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3889esac
3890if test "x$ac_cv_prog_cc_c89" != xno; then :
3891
3892fi
3893
3894ac_ext=c
3895ac_cpp='$CPP $CPPFLAGS'
3896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899
3900ac_ext=c
3901ac_cpp='$CPP $CPPFLAGS'
3902ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3906$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3907if ${am_cv_prog_cc_c_o+:} false; then :
3908  $as_echo_n "(cached) " >&6
3909else
3910  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911/* end confdefs.h.  */
3912
3913int
3914main ()
3915{
3916
3917  ;
3918  return 0;
3919}
3920_ACEOF
3921  # Make sure it works both with $CC and with simple cc.
3922  # Following AC_PROG_CC_C_O, we do the test twice because some
3923  # compilers refuse to overwrite an existing .o file with -o,
3924  # though they will create one.
3925  am_cv_prog_cc_c_o=yes
3926  for am_i in 1 2; do
3927    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3928   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3929   ac_status=$?
3930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931   (exit $ac_status); } \
3932         && test -f conftest2.$ac_objext; then
3933      : OK
3934    else
3935      am_cv_prog_cc_c_o=no
3936      break
3937    fi
3938  done
3939  rm -f core conftest*
3940  unset am_i
3941fi
3942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3943$as_echo "$am_cv_prog_cc_c_o" >&6; }
3944if test "$am_cv_prog_cc_c_o" != yes; then
3945   # Losing compiler, so override with the script.
3946   # FIXME: It is wrong to rewrite CC.
3947   # But if we don't then we get into trouble of one sort or another.
3948   # A longer-term fix would be to have automake use am__CC in this case,
3949   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3950   CC="$am_aux_dir/compile $CC"
3951fi
3952ac_ext=c
3953ac_cpp='$CPP $CPPFLAGS'
3954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957
3958DEPDIR="${am__leading_dot}deps"
3959
3960ac_config_commands="$ac_config_commands depfiles"
3961
3962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3963$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3964cat > confinc.mk << 'END'
3965am__doit:
3966	@echo this is the am__doit target >confinc.out
3967.PHONY: am__doit
3968END
3969am__include="#"
3970am__quote=
3971# BSD make does it like this.
3972echo '.include "confinc.mk" # ignored' > confmf.BSD
3973# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3974echo 'include confinc.mk # ignored' > confmf.GNU
3975_am_result=no
3976for s in GNU BSD; do
3977  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3978   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3979   ac_status=$?
3980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981   (exit $ac_status); }
3982  case $?:`cat confinc.out 2>/dev/null` in #(
3983  '0:this is the am__doit target') :
3984    case $s in #(
3985  BSD) :
3986    am__include='.include' am__quote='"' ;; #(
3987  *) :
3988    am__include='include' am__quote='' ;;
3989esac ;; #(
3990  *) :
3991     ;;
3992esac
3993  if test "$am__include" != "#"; then
3994    _am_result="yes ($s style)"
3995    break
3996  fi
3997done
3998rm -f confinc.* confmf.*
3999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4000$as_echo "${_am_result}" >&6; }
4001
4002# Check whether --enable-dependency-tracking was given.
4003if test "${enable_dependency_tracking+set}" = set; then :
4004  enableval=$enable_dependency_tracking;
4005fi
4006
4007if test "x$enable_dependency_tracking" != xno; then
4008  am_depcomp="$ac_aux_dir/depcomp"
4009  AMDEPBACKSLASH='\'
4010  am__nodep='_no'
4011fi
4012 if test "x$enable_dependency_tracking" != xno; then
4013  AMDEP_TRUE=
4014  AMDEP_FALSE='#'
4015else
4016  AMDEP_TRUE='#'
4017  AMDEP_FALSE=
4018fi
4019
4020
4021
4022depcc="$CC"   am_compiler_list=
4023
4024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4025$as_echo_n "checking dependency style of $depcc... " >&6; }
4026if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4027  $as_echo_n "(cached) " >&6
4028else
4029  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4030  # We make a subdir and do the tests there.  Otherwise we can end up
4031  # making bogus files that we don't know about and never remove.  For
4032  # instance it was reported that on HP-UX the gcc test will end up
4033  # making a dummy file named 'D' -- because '-MD' means "put the output
4034  # in D".
4035  rm -rf conftest.dir
4036  mkdir conftest.dir
4037  # Copy depcomp to subdir because otherwise we won't find it if we're
4038  # using a relative directory.
4039  cp "$am_depcomp" conftest.dir
4040  cd conftest.dir
4041  # We will build objects and dependencies in a subdirectory because
4042  # it helps to detect inapplicable dependency modes.  For instance
4043  # both Tru64's cc and ICC support -MD to output dependencies as a
4044  # side effect of compilation, but ICC will put the dependencies in
4045  # the current directory while Tru64 will put them in the object
4046  # directory.
4047  mkdir sub
4048
4049  am_cv_CC_dependencies_compiler_type=none
4050  if test "$am_compiler_list" = ""; then
4051     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4052  fi
4053  am__universal=false
4054  case " $depcc " in #(
4055     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4056     esac
4057
4058  for depmode in $am_compiler_list; do
4059    # Setup a source with many dependencies, because some compilers
4060    # like to wrap large dependency lists on column 80 (with \), and
4061    # we should not choose a depcomp mode which is confused by this.
4062    #
4063    # We need to recreate these files for each test, as the compiler may
4064    # overwrite some of them when testing with obscure command lines.
4065    # This happens at least with the AIX C compiler.
4066    : > sub/conftest.c
4067    for i in 1 2 3 4 5 6; do
4068      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4069      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4070      # Solaris 10 /bin/sh.
4071      echo '/* dummy */' > sub/conftst$i.h
4072    done
4073    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4074
4075    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4076    # mode.  It turns out that the SunPro C++ compiler does not properly
4077    # handle '-M -o', and we need to detect this.  Also, some Intel
4078    # versions had trouble with output in subdirs.
4079    am__obj=sub/conftest.${OBJEXT-o}
4080    am__minus_obj="-o $am__obj"
4081    case $depmode in
4082    gcc)
4083      # This depmode causes a compiler race in universal mode.
4084      test "$am__universal" = false || continue
4085      ;;
4086    nosideeffect)
4087      # After this tag, mechanisms are not by side-effect, so they'll
4088      # only be used when explicitly requested.
4089      if test "x$enable_dependency_tracking" = xyes; then
4090	continue
4091      else
4092	break
4093      fi
4094      ;;
4095    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4096      # This compiler won't grok '-c -o', but also, the minuso test has
4097      # not run yet.  These depmodes are late enough in the game, and
4098      # so weak that their functioning should not be impacted.
4099      am__obj=conftest.${OBJEXT-o}
4100      am__minus_obj=
4101      ;;
4102    none) break ;;
4103    esac
4104    if depmode=$depmode \
4105       source=sub/conftest.c object=$am__obj \
4106       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4107       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4108         >/dev/null 2>conftest.err &&
4109       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4110       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4111       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4112       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4113      # icc doesn't choke on unknown options, it will just issue warnings
4114      # or remarks (even with -Werror).  So we grep stderr for any message
4115      # that says an option was ignored or not supported.
4116      # When given -MP, icc 7.0 and 7.1 complain thusly:
4117      #   icc: Command line warning: ignoring option '-M'; no argument required
4118      # The diagnosis changed in icc 8.0:
4119      #   icc: Command line remark: option '-MP' not supported
4120      if (grep 'ignoring option' conftest.err ||
4121          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4122        am_cv_CC_dependencies_compiler_type=$depmode
4123        break
4124      fi
4125    fi
4126  done
4127
4128  cd ..
4129  rm -rf conftest.dir
4130else
4131  am_cv_CC_dependencies_compiler_type=none
4132fi
4133
4134fi
4135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4136$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4137CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4138
4139 if
4140  test "x$enable_dependency_tracking" != xno \
4141  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4142  am__fastdepCC_TRUE=
4143  am__fastdepCC_FALSE='#'
4144else
4145  am__fastdepCC_TRUE='#'
4146  am__fastdepCC_FALSE=
4147fi
4148
4149
4150
4151# Make sure we can run config.sub.
4152$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4153  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4154
4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4156$as_echo_n "checking build system type... " >&6; }
4157if ${ac_cv_build+:} false; then :
4158  $as_echo_n "(cached) " >&6
4159else
4160  ac_build_alias=$build_alias
4161test "x$ac_build_alias" = x &&
4162  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4163test "x$ac_build_alias" = x &&
4164  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4165ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4166  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4167
4168fi
4169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4170$as_echo "$ac_cv_build" >&6; }
4171case $ac_cv_build in
4172*-*-*) ;;
4173*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4174esac
4175build=$ac_cv_build
4176ac_save_IFS=$IFS; IFS='-'
4177set x $ac_cv_build
4178shift
4179build_cpu=$1
4180build_vendor=$2
4181shift; shift
4182# Remember, the first character of IFS is used to create $*,
4183# except with old shells:
4184build_os=$*
4185IFS=$ac_save_IFS
4186case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4187
4188
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4190$as_echo_n "checking host system type... " >&6; }
4191if ${ac_cv_host+:} false; then :
4192  $as_echo_n "(cached) " >&6
4193else
4194  if test "x$host_alias" = x; then
4195  ac_cv_host=$ac_cv_build
4196else
4197  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4198    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4199fi
4200
4201fi
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4203$as_echo "$ac_cv_host" >&6; }
4204case $ac_cv_host in
4205*-*-*) ;;
4206*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4207esac
4208host=$ac_cv_host
4209ac_save_IFS=$IFS; IFS='-'
4210set x $ac_cv_host
4211shift
4212host_cpu=$1
4213host_vendor=$2
4214shift; shift
4215# Remember, the first character of IFS is used to create $*,
4216# except with old shells:
4217host_os=$*
4218IFS=$ac_save_IFS
4219case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4220
4221
4222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4223$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4224if ${ac_cv_path_SED+:} false; then :
4225  $as_echo_n "(cached) " >&6
4226else
4227            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4228     for ac_i in 1 2 3 4 5 6 7; do
4229       ac_script="$ac_script$as_nl$ac_script"
4230     done
4231     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4232     { ac_script=; unset ac_script;}
4233     if test -z "$SED"; then
4234  ac_path_SED_found=false
4235  # Loop through the user's path and test for each of PROGNAME-LIST
4236  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237for as_dir in $PATH
4238do
4239  IFS=$as_save_IFS
4240  test -z "$as_dir" && as_dir=.
4241    for ac_prog in sed gsed; do
4242    for ac_exec_ext in '' $ac_executable_extensions; do
4243      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4244      as_fn_executable_p "$ac_path_SED" || continue
4245# Check for GNU ac_path_SED and select it if it is found.
4246  # Check for GNU $ac_path_SED
4247case `"$ac_path_SED" --version 2>&1` in
4248*GNU*)
4249  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4250*)
4251  ac_count=0
4252  $as_echo_n 0123456789 >"conftest.in"
4253  while :
4254  do
4255    cat "conftest.in" "conftest.in" >"conftest.tmp"
4256    mv "conftest.tmp" "conftest.in"
4257    cp "conftest.in" "conftest.nl"
4258    $as_echo '' >> "conftest.nl"
4259    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4260    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4261    as_fn_arith $ac_count + 1 && ac_count=$as_val
4262    if test $ac_count -gt ${ac_path_SED_max-0}; then
4263      # Best one so far, save it but keep looking for a better one
4264      ac_cv_path_SED="$ac_path_SED"
4265      ac_path_SED_max=$ac_count
4266    fi
4267    # 10*(2^10) chars as input seems more than enough
4268    test $ac_count -gt 10 && break
4269  done
4270  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4271esac
4272
4273      $ac_path_SED_found && break 3
4274    done
4275  done
4276  done
4277IFS=$as_save_IFS
4278  if test -z "$ac_cv_path_SED"; then
4279    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4280  fi
4281else
4282  ac_cv_path_SED=$SED
4283fi
4284
4285fi
4286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4287$as_echo "$ac_cv_path_SED" >&6; }
4288 SED="$ac_cv_path_SED"
4289  rm -f conftest.sed
4290
4291test -z "$SED" && SED=sed
4292Xsed="$SED -e 1s/^X//"
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4305$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4306if ${ac_cv_path_GREP+:} false; then :
4307  $as_echo_n "(cached) " >&6
4308else
4309  if test -z "$GREP"; then
4310  ac_path_GREP_found=false
4311  # Loop through the user's path and test for each of PROGNAME-LIST
4312  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4314do
4315  IFS=$as_save_IFS
4316  test -z "$as_dir" && as_dir=.
4317    for ac_prog in grep ggrep; do
4318    for ac_exec_ext in '' $ac_executable_extensions; do
4319      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4320      as_fn_executable_p "$ac_path_GREP" || continue
4321# Check for GNU ac_path_GREP and select it if it is found.
4322  # Check for GNU $ac_path_GREP
4323case `"$ac_path_GREP" --version 2>&1` in
4324*GNU*)
4325  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4326*)
4327  ac_count=0
4328  $as_echo_n 0123456789 >"conftest.in"
4329  while :
4330  do
4331    cat "conftest.in" "conftest.in" >"conftest.tmp"
4332    mv "conftest.tmp" "conftest.in"
4333    cp "conftest.in" "conftest.nl"
4334    $as_echo 'GREP' >> "conftest.nl"
4335    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4336    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4337    as_fn_arith $ac_count + 1 && ac_count=$as_val
4338    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4339      # Best one so far, save it but keep looking for a better one
4340      ac_cv_path_GREP="$ac_path_GREP"
4341      ac_path_GREP_max=$ac_count
4342    fi
4343    # 10*(2^10) chars as input seems more than enough
4344    test $ac_count -gt 10 && break
4345  done
4346  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4347esac
4348
4349      $ac_path_GREP_found && break 3
4350    done
4351  done
4352  done
4353IFS=$as_save_IFS
4354  if test -z "$ac_cv_path_GREP"; then
4355    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4356  fi
4357else
4358  ac_cv_path_GREP=$GREP
4359fi
4360
4361fi
4362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4363$as_echo "$ac_cv_path_GREP" >&6; }
4364 GREP="$ac_cv_path_GREP"
4365
4366
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4368$as_echo_n "checking for egrep... " >&6; }
4369if ${ac_cv_path_EGREP+:} false; then :
4370  $as_echo_n "(cached) " >&6
4371else
4372  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4373   then ac_cv_path_EGREP="$GREP -E"
4374   else
4375     if test -z "$EGREP"; then
4376  ac_path_EGREP_found=false
4377  # Loop through the user's path and test for each of PROGNAME-LIST
4378  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380do
4381  IFS=$as_save_IFS
4382  test -z "$as_dir" && as_dir=.
4383    for ac_prog in egrep; do
4384    for ac_exec_ext in '' $ac_executable_extensions; do
4385      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4386      as_fn_executable_p "$ac_path_EGREP" || continue
4387# Check for GNU ac_path_EGREP and select it if it is found.
4388  # Check for GNU $ac_path_EGREP
4389case `"$ac_path_EGREP" --version 2>&1` in
4390*GNU*)
4391  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4392*)
4393  ac_count=0
4394  $as_echo_n 0123456789 >"conftest.in"
4395  while :
4396  do
4397    cat "conftest.in" "conftest.in" >"conftest.tmp"
4398    mv "conftest.tmp" "conftest.in"
4399    cp "conftest.in" "conftest.nl"
4400    $as_echo 'EGREP' >> "conftest.nl"
4401    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403    as_fn_arith $ac_count + 1 && ac_count=$as_val
4404    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4405      # Best one so far, save it but keep looking for a better one
4406      ac_cv_path_EGREP="$ac_path_EGREP"
4407      ac_path_EGREP_max=$ac_count
4408    fi
4409    # 10*(2^10) chars as input seems more than enough
4410    test $ac_count -gt 10 && break
4411  done
4412  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413esac
4414
4415      $ac_path_EGREP_found && break 3
4416    done
4417  done
4418  done
4419IFS=$as_save_IFS
4420  if test -z "$ac_cv_path_EGREP"; then
4421    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4422  fi
4423else
4424  ac_cv_path_EGREP=$EGREP
4425fi
4426
4427   fi
4428fi
4429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4430$as_echo "$ac_cv_path_EGREP" >&6; }
4431 EGREP="$ac_cv_path_EGREP"
4432
4433
4434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4435$as_echo_n "checking for fgrep... " >&6; }
4436if ${ac_cv_path_FGREP+:} false; then :
4437  $as_echo_n "(cached) " >&6
4438else
4439  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4440   then ac_cv_path_FGREP="$GREP -F"
4441   else
4442     if test -z "$FGREP"; then
4443  ac_path_FGREP_found=false
4444  # Loop through the user's path and test for each of PROGNAME-LIST
4445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4447do
4448  IFS=$as_save_IFS
4449  test -z "$as_dir" && as_dir=.
4450    for ac_prog in fgrep; do
4451    for ac_exec_ext in '' $ac_executable_extensions; do
4452      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4453      as_fn_executable_p "$ac_path_FGREP" || continue
4454# Check for GNU ac_path_FGREP and select it if it is found.
4455  # Check for GNU $ac_path_FGREP
4456case `"$ac_path_FGREP" --version 2>&1` in
4457*GNU*)
4458  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4459*)
4460  ac_count=0
4461  $as_echo_n 0123456789 >"conftest.in"
4462  while :
4463  do
4464    cat "conftest.in" "conftest.in" >"conftest.tmp"
4465    mv "conftest.tmp" "conftest.in"
4466    cp "conftest.in" "conftest.nl"
4467    $as_echo 'FGREP' >> "conftest.nl"
4468    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4469    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4470    as_fn_arith $ac_count + 1 && ac_count=$as_val
4471    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4472      # Best one so far, save it but keep looking for a better one
4473      ac_cv_path_FGREP="$ac_path_FGREP"
4474      ac_path_FGREP_max=$ac_count
4475    fi
4476    # 10*(2^10) chars as input seems more than enough
4477    test $ac_count -gt 10 && break
4478  done
4479  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4480esac
4481
4482      $ac_path_FGREP_found && break 3
4483    done
4484  done
4485  done
4486IFS=$as_save_IFS
4487  if test -z "$ac_cv_path_FGREP"; then
4488    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4489  fi
4490else
4491  ac_cv_path_FGREP=$FGREP
4492fi
4493
4494   fi
4495fi
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4497$as_echo "$ac_cv_path_FGREP" >&6; }
4498 FGREP="$ac_cv_path_FGREP"
4499
4500
4501test -z "$GREP" && GREP=grep
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4520ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4521ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4522
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4524$as_echo_n "checking how to print strings... " >&6; }
4525# Test print first, because it will be a builtin if present.
4526if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4527   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4528  ECHO='print -r --'
4529elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4530  ECHO='printf %s\n'
4531else
4532  # Use this function as a fallback that always works.
4533  func_fallback_echo ()
4534  {
4535    eval 'cat <<_LTECHO_EOF
4536$1
4537_LTECHO_EOF'
4538  }
4539  ECHO='func_fallback_echo'
4540fi
4541
4542# func_echo_all arg...
4543# Invoke $ECHO with all args, space-separated.
4544func_echo_all ()
4545{
4546    $ECHO ""
4547}
4548
4549case $ECHO in
4550  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4551$as_echo "printf" >&6; } ;;
4552  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4553$as_echo "print -r" >&6; } ;;
4554  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4555$as_echo "cat" >&6; } ;;
4556esac
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573# Check whether --with-gnu-ld was given.
4574if test "${with_gnu_ld+set}" = set; then :
4575  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4576else
4577  with_gnu_ld=no
4578fi
4579
4580ac_prog=ld
4581if test yes = "$GCC"; then
4582  # Check if gcc -print-prog-name=ld gives a path.
4583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4584$as_echo_n "checking for ld used by $CC... " >&6; }
4585  case $host in
4586  *-*-mingw*)
4587    # gcc leaves a trailing carriage return, which upsets mingw
4588    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4589  *)
4590    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4591  esac
4592  case $ac_prog in
4593    # Accept absolute paths.
4594    [\\/]* | ?:[\\/]*)
4595      re_direlt='/[^/][^/]*/\.\./'
4596      # Canonicalize the pathname of ld
4597      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4598      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4599	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4600      done
4601      test -z "$LD" && LD=$ac_prog
4602      ;;
4603  "")
4604    # If it fails, then pretend we aren't using GCC.
4605    ac_prog=ld
4606    ;;
4607  *)
4608    # If it is relative, then search for the first ld in PATH.
4609    with_gnu_ld=unknown
4610    ;;
4611  esac
4612elif test yes = "$with_gnu_ld"; then
4613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4614$as_echo_n "checking for GNU ld... " >&6; }
4615else
4616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4617$as_echo_n "checking for non-GNU ld... " >&6; }
4618fi
4619if ${lt_cv_path_LD+:} false; then :
4620  $as_echo_n "(cached) " >&6
4621else
4622  if test -z "$LD"; then
4623  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4624  for ac_dir in $PATH; do
4625    IFS=$lt_save_ifs
4626    test -z "$ac_dir" && ac_dir=.
4627    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4628      lt_cv_path_LD=$ac_dir/$ac_prog
4629      # Check to see if the program is GNU ld.  I'd rather use --version,
4630      # but apparently some variants of GNU ld only accept -v.
4631      # Break only if it was the GNU/non-GNU ld that we prefer.
4632      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4633      *GNU* | *'with BFD'*)
4634	test no != "$with_gnu_ld" && break
4635	;;
4636      *)
4637	test yes != "$with_gnu_ld" && break
4638	;;
4639      esac
4640    fi
4641  done
4642  IFS=$lt_save_ifs
4643else
4644  lt_cv_path_LD=$LD # Let the user override the test with a path.
4645fi
4646fi
4647
4648LD=$lt_cv_path_LD
4649if test -n "$LD"; then
4650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4651$as_echo "$LD" >&6; }
4652else
4653  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654$as_echo "no" >&6; }
4655fi
4656test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4658$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4659if ${lt_cv_prog_gnu_ld+:} false; then :
4660  $as_echo_n "(cached) " >&6
4661else
4662  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4663case `$LD -v 2>&1 </dev/null` in
4664*GNU* | *'with BFD'*)
4665  lt_cv_prog_gnu_ld=yes
4666  ;;
4667*)
4668  lt_cv_prog_gnu_ld=no
4669  ;;
4670esac
4671fi
4672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4673$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4674with_gnu_ld=$lt_cv_prog_gnu_ld
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4687$as_echo_n "checking whether NLS is requested... " >&6; }
4688    # Check whether --enable-nls was given.
4689if test "${enable_nls+set}" = set; then :
4690  enableval=$enable_nls; USE_NLS=$enableval
4691else
4692  USE_NLS=yes
4693fi
4694
4695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4696$as_echo "$USE_NLS" >&6; }
4697
4698
4699
4700
4701case "$am__api_version" in
4702    1.01234)
4703	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4704    ;;
4705    *)
4706    ;;
4707esac
4708
4709INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4710INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4711INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4712if test -n "0.35.0"; then
4713    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4714$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4716$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4717    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4718	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
4719fi
4720
4721# Extract the first word of "intltool-update", so it can be a program name with args.
4722set dummy intltool-update; ac_word=$2
4723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724$as_echo_n "checking for $ac_word... " >&6; }
4725if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4726  $as_echo_n "(cached) " >&6
4727else
4728  case $INTLTOOL_UPDATE in
4729  [\\/]* | ?:[\\/]*)
4730  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4731  ;;
4732  *)
4733  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734for as_dir in $PATH
4735do
4736  IFS=$as_save_IFS
4737  test -z "$as_dir" && as_dir=.
4738    for ac_exec_ext in '' $ac_executable_extensions; do
4739  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742    break 2
4743  fi
4744done
4745  done
4746IFS=$as_save_IFS
4747
4748  ;;
4749esac
4750fi
4751INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4752if test -n "$INTLTOOL_UPDATE"; then
4753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4754$as_echo "$INTLTOOL_UPDATE" >&6; }
4755else
4756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757$as_echo "no" >&6; }
4758fi
4759
4760
4761# Extract the first word of "intltool-merge", so it can be a program name with args.
4762set dummy intltool-merge; ac_word=$2
4763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764$as_echo_n "checking for $ac_word... " >&6; }
4765if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4766  $as_echo_n "(cached) " >&6
4767else
4768  case $INTLTOOL_MERGE in
4769  [\\/]* | ?:[\\/]*)
4770  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4771  ;;
4772  *)
4773  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774for as_dir in $PATH
4775do
4776  IFS=$as_save_IFS
4777  test -z "$as_dir" && as_dir=.
4778    for ac_exec_ext in '' $ac_executable_extensions; do
4779  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4780    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782    break 2
4783  fi
4784done
4785  done
4786IFS=$as_save_IFS
4787
4788  ;;
4789esac
4790fi
4791INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4792if test -n "$INTLTOOL_MERGE"; then
4793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4794$as_echo "$INTLTOOL_MERGE" >&6; }
4795else
4796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797$as_echo "no" >&6; }
4798fi
4799
4800
4801# Extract the first word of "intltool-extract", so it can be a program name with args.
4802set dummy intltool-extract; ac_word=$2
4803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804$as_echo_n "checking for $ac_word... " >&6; }
4805if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4806  $as_echo_n "(cached) " >&6
4807else
4808  case $INTLTOOL_EXTRACT in
4809  [\\/]* | ?:[\\/]*)
4810  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4811  ;;
4812  *)
4813  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814for as_dir in $PATH
4815do
4816  IFS=$as_save_IFS
4817  test -z "$as_dir" && as_dir=.
4818    for ac_exec_ext in '' $ac_executable_extensions; do
4819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4820    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4822    break 2
4823  fi
4824done
4825  done
4826IFS=$as_save_IFS
4827
4828  ;;
4829esac
4830fi
4831INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4832if test -n "$INTLTOOL_EXTRACT"; then
4833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4834$as_echo "$INTLTOOL_EXTRACT" >&6; }
4835else
4836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837$as_echo "no" >&6; }
4838fi
4839
4840
4841if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4842    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4843fi
4844
4845if test -z "$AM_DEFAULT_VERBOSITY"; then
4846  AM_DEFAULT_VERBOSITY=1
4847fi
4848
4849
4850INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4851INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4852INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4853
4854
4855
4856
4857INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4858intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4859intltool__v_merge_options_0='-q'
4860
4861
4862
4863
4864  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 $< $@'
4865INTLTOOL_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 $< $@'
4866     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 $< $@'
4867     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 $< $@'
4868      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 $< $@'
4869     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 $< $@'
4870   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 $< $@'
4871    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 $< $@'
4872INTLTOOL_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 $< $@'
4873       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 $< $@'
4874      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 $< $@'
4875if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4876      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 $< $@'
4877else
4878      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'
4879fi
4880      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 $< $@'
4881      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 $< $@'
4882    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 $< $@'
4883  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 $< $@'
4884    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 $< $@'
4885    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 $< $@'
4886   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 $< $@'
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984# Check the gettext tools to make sure they are GNU
4985# Extract the first word of "xgettext", so it can be a program name with args.
4986set dummy xgettext; ac_word=$2
4987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988$as_echo_n "checking for $ac_word... " >&6; }
4989if ${ac_cv_path_XGETTEXT+:} false; then :
4990  $as_echo_n "(cached) " >&6
4991else
4992  case $XGETTEXT in
4993  [\\/]* | ?:[\\/]*)
4994  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4995  ;;
4996  *)
4997  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998for as_dir in $PATH
4999do
5000  IFS=$as_save_IFS
5001  test -z "$as_dir" && as_dir=.
5002    for ac_exec_ext in '' $ac_executable_extensions; do
5003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5004    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006    break 2
5007  fi
5008done
5009  done
5010IFS=$as_save_IFS
5011
5012  ;;
5013esac
5014fi
5015XGETTEXT=$ac_cv_path_XGETTEXT
5016if test -n "$XGETTEXT"; then
5017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5018$as_echo "$XGETTEXT" >&6; }
5019else
5020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021$as_echo "no" >&6; }
5022fi
5023
5024
5025# Extract the first word of "msgmerge", so it can be a program name with args.
5026set dummy msgmerge; ac_word=$2
5027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028$as_echo_n "checking for $ac_word... " >&6; }
5029if ${ac_cv_path_MSGMERGE+:} false; then :
5030  $as_echo_n "(cached) " >&6
5031else
5032  case $MSGMERGE in
5033  [\\/]* | ?:[\\/]*)
5034  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5035  ;;
5036  *)
5037  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038for as_dir in $PATH
5039do
5040  IFS=$as_save_IFS
5041  test -z "$as_dir" && as_dir=.
5042    for ac_exec_ext in '' $ac_executable_extensions; do
5043  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5045    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046    break 2
5047  fi
5048done
5049  done
5050IFS=$as_save_IFS
5051
5052  ;;
5053esac
5054fi
5055MSGMERGE=$ac_cv_path_MSGMERGE
5056if test -n "$MSGMERGE"; then
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5058$as_echo "$MSGMERGE" >&6; }
5059else
5060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061$as_echo "no" >&6; }
5062fi
5063
5064
5065# Extract the first word of "msgfmt", so it can be a program name with args.
5066set dummy msgfmt; ac_word=$2
5067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068$as_echo_n "checking for $ac_word... " >&6; }
5069if ${ac_cv_path_MSGFMT+:} false; then :
5070  $as_echo_n "(cached) " >&6
5071else
5072  case $MSGFMT in
5073  [\\/]* | ?:[\\/]*)
5074  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5075  ;;
5076  *)
5077  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078for as_dir in $PATH
5079do
5080  IFS=$as_save_IFS
5081  test -z "$as_dir" && as_dir=.
5082    for ac_exec_ext in '' $ac_executable_extensions; do
5083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086    break 2
5087  fi
5088done
5089  done
5090IFS=$as_save_IFS
5091
5092  ;;
5093esac
5094fi
5095MSGFMT=$ac_cv_path_MSGFMT
5096if test -n "$MSGFMT"; then
5097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5098$as_echo "$MSGFMT" >&6; }
5099else
5100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101$as_echo "no" >&6; }
5102fi
5103
5104
5105# Extract the first word of "gmsgfmt", so it can be a program name with args.
5106set dummy gmsgfmt; ac_word=$2
5107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108$as_echo_n "checking for $ac_word... " >&6; }
5109if ${ac_cv_path_GMSGFMT+:} false; then :
5110  $as_echo_n "(cached) " >&6
5111else
5112  case $GMSGFMT in
5113  [\\/]* | ?:[\\/]*)
5114  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5115  ;;
5116  *)
5117  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118for as_dir in $PATH
5119do
5120  IFS=$as_save_IFS
5121  test -z "$as_dir" && as_dir=.
5122    for ac_exec_ext in '' $ac_executable_extensions; do
5123  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5125    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126    break 2
5127  fi
5128done
5129  done
5130IFS=$as_save_IFS
5131
5132  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5133  ;;
5134esac
5135fi
5136GMSGFMT=$ac_cv_path_GMSGFMT
5137if test -n "$GMSGFMT"; then
5138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5139$as_echo "$GMSGFMT" >&6; }
5140else
5141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142$as_echo "no" >&6; }
5143fi
5144
5145
5146if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5147    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5148fi
5149xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5150mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5151mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5152if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5153    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5154fi
5155
5156# Extract the first word of "perl", so it can be a program name with args.
5157set dummy perl; ac_word=$2
5158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159$as_echo_n "checking for $ac_word... " >&6; }
5160if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5161  $as_echo_n "(cached) " >&6
5162else
5163  case $INTLTOOL_PERL in
5164  [\\/]* | ?:[\\/]*)
5165  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5166  ;;
5167  *)
5168  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169for as_dir in $PATH
5170do
5171  IFS=$as_save_IFS
5172  test -z "$as_dir" && as_dir=.
5173    for ac_exec_ext in '' $ac_executable_extensions; do
5174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177    break 2
5178  fi
5179done
5180  done
5181IFS=$as_save_IFS
5182
5183  ;;
5184esac
5185fi
5186INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5187if test -n "$INTLTOOL_PERL"; then
5188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5189$as_echo "$INTLTOOL_PERL" >&6; }
5190else
5191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192$as_echo "no" >&6; }
5193fi
5194
5195
5196if test -z "$INTLTOOL_PERL"; then
5197   as_fn_error $? "perl not found" "$LINENO" 5
5198fi
5199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5200$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5201$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5202if test $? -ne 0; then
5203   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5204else
5205   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5207$as_echo "$IT_PERL_VERSION" >&6; }
5208fi
5209if test "x" != "xno-xml"; then
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5211$as_echo_n "checking for XML::Parser... " >&6; }
5212   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5213       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5214$as_echo "ok" >&6; }
5215   else
5216       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5217   fi
5218fi
5219
5220# Substitute ALL_LINGUAS so we can use it in po/Makefile
5221
5222
5223
5224
5225
5226
5227
5228case `pwd` in
5229  *\ * | *\	*)
5230    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5231$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5232esac
5233
5234
5235
5236macro_version='2.4.6.42-b88ce-dirty'
5237macro_revision='2.4.6.42'
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251ltmain=$ac_aux_dir/ltmain.sh
5252
5253# Backslashify metacharacters that are still active within
5254# double-quoted strings.
5255sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5256
5257# Same as above, but do not quote variable references.
5258double_quote_subst='s/\(["`\\]\)/\\\1/g'
5259
5260# Sed substitution to delay expansion of an escaped shell variable in a
5261# double_quote_subst'ed string.
5262delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5263
5264# Sed substitution to delay expansion of an escaped single quote.
5265delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5266
5267# Sed substitution to avoid accidental globbing in evaled expressions
5268no_glob_subst='s/\*/\\\*/g'
5269
5270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5271$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5272if ${lt_cv_path_NM+:} false; then :
5273  $as_echo_n "(cached) " >&6
5274else
5275  if test -n "$NM"; then
5276  # Let the user override the test.
5277  lt_cv_path_NM=$NM
5278else
5279  lt_nm_to_check=${ac_tool_prefix}nm
5280  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5281    lt_nm_to_check="$lt_nm_to_check nm"
5282  fi
5283  for lt_tmp_nm in $lt_nm_to_check; do
5284    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5285    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5286      IFS=$lt_save_ifs
5287      test -z "$ac_dir" && ac_dir=.
5288      tmp_nm=$ac_dir/$lt_tmp_nm
5289      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5290	# Check to see if the nm accepts a BSD-compat flag.
5291	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5292	#   nm: unknown option "B" ignored
5293	# Tru64's nm complains that /dev/null is an invalid object file
5294	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5295	case $build_os in
5296	mingw*) lt_bad_file=conftest.nm/nofile ;;
5297	*) lt_bad_file=/dev/null ;;
5298	esac
5299	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5300	*$lt_bad_file* | *'Invalid file or object type'*)
5301	  lt_cv_path_NM="$tmp_nm -B"
5302	  break 2
5303	  ;;
5304	*)
5305	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5306	  */dev/null*)
5307	    lt_cv_path_NM="$tmp_nm -p"
5308	    break 2
5309	    ;;
5310	  *)
5311	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5312	    continue # so that we can try to find one that supports BSD flags
5313	    ;;
5314	  esac
5315	  ;;
5316	esac
5317      fi
5318    done
5319    IFS=$lt_save_ifs
5320  done
5321  : ${lt_cv_path_NM=no}
5322fi
5323fi
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5325$as_echo "$lt_cv_path_NM" >&6; }
5326if test no != "$lt_cv_path_NM"; then
5327  NM=$lt_cv_path_NM
5328else
5329  # Didn't find any BSD compatible name lister, look for dumpbin.
5330  if test -n "$DUMPBIN"; then :
5331    # Let the user override the test.
5332  else
5333    if test -n "$ac_tool_prefix"; then
5334  for ac_prog in dumpbin "link -dump"
5335  do
5336    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5337set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339$as_echo_n "checking for $ac_word... " >&6; }
5340if ${ac_cv_prog_DUMPBIN+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  if test -n "$DUMPBIN"; then
5344  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5345else
5346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347for as_dir in $PATH
5348do
5349  IFS=$as_save_IFS
5350  test -z "$as_dir" && as_dir=.
5351    for ac_exec_ext in '' $ac_executable_extensions; do
5352  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5353    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5354    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355    break 2
5356  fi
5357done
5358  done
5359IFS=$as_save_IFS
5360
5361fi
5362fi
5363DUMPBIN=$ac_cv_prog_DUMPBIN
5364if test -n "$DUMPBIN"; then
5365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5366$as_echo "$DUMPBIN" >&6; }
5367else
5368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369$as_echo "no" >&6; }
5370fi
5371
5372
5373    test -n "$DUMPBIN" && break
5374  done
5375fi
5376if test -z "$DUMPBIN"; then
5377  ac_ct_DUMPBIN=$DUMPBIN
5378  for ac_prog in dumpbin "link -dump"
5379do
5380  # Extract the first word of "$ac_prog", so it can be a program name with args.
5381set dummy $ac_prog; ac_word=$2
5382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383$as_echo_n "checking for $ac_word... " >&6; }
5384if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5385  $as_echo_n "(cached) " >&6
5386else
5387  if test -n "$ac_ct_DUMPBIN"; then
5388  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5389else
5390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391for as_dir in $PATH
5392do
5393  IFS=$as_save_IFS
5394  test -z "$as_dir" && as_dir=.
5395    for ac_exec_ext in '' $ac_executable_extensions; do
5396  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5397    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5398    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399    break 2
5400  fi
5401done
5402  done
5403IFS=$as_save_IFS
5404
5405fi
5406fi
5407ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5408if test -n "$ac_ct_DUMPBIN"; then
5409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5410$as_echo "$ac_ct_DUMPBIN" >&6; }
5411else
5412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413$as_echo "no" >&6; }
5414fi
5415
5416
5417  test -n "$ac_ct_DUMPBIN" && break
5418done
5419
5420  if test "x$ac_ct_DUMPBIN" = x; then
5421    DUMPBIN=":"
5422  else
5423    case $cross_compiling:$ac_tool_warned in
5424yes:)
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5426$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5427ac_tool_warned=yes ;;
5428esac
5429    DUMPBIN=$ac_ct_DUMPBIN
5430  fi
5431fi
5432
5433    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5434    *COFF*)
5435      DUMPBIN="$DUMPBIN -symbols -headers"
5436      ;;
5437    *)
5438      DUMPBIN=:
5439      ;;
5440    esac
5441  fi
5442
5443  if test : != "$DUMPBIN"; then
5444    NM=$DUMPBIN
5445  fi
5446fi
5447test -z "$NM" && NM=nm
5448
5449
5450
5451
5452
5453
5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5455$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5456if ${lt_cv_nm_interface+:} false; then :
5457  $as_echo_n "(cached) " >&6
5458else
5459  lt_cv_nm_interface="BSD nm"
5460  echo "int some_variable = 0;" > conftest.$ac_ext
5461  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5462  (eval "$ac_compile" 2>conftest.err)
5463  cat conftest.err >&5
5464  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5465  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5466  cat conftest.err >&5
5467  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5468  cat conftest.out >&5
5469  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5470    lt_cv_nm_interface="MS dumpbin"
5471  fi
5472  rm -f conftest*
5473fi
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5475$as_echo "$lt_cv_nm_interface" >&6; }
5476
5477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5478$as_echo_n "checking whether ln -s works... " >&6; }
5479LN_S=$as_ln_s
5480if test "$LN_S" = "ln -s"; then
5481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5482$as_echo "yes" >&6; }
5483else
5484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5485$as_echo "no, using $LN_S" >&6; }
5486fi
5487
5488# find the maximum length of command line arguments
5489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5490$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5491if ${lt_cv_sys_max_cmd_len+:} false; then :
5492  $as_echo_n "(cached) " >&6
5493else
5494    i=0
5495  teststring=ABCD
5496
5497  case $build_os in
5498  msdosdjgpp*)
5499    # On DJGPP, this test can blow up pretty badly due to problems in libc
5500    # (any single argument exceeding 2000 bytes causes a buffer overrun
5501    # during glob expansion).  Even if it were fixed, the result of this
5502    # check would be larger than it should be.
5503    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5504    ;;
5505
5506  gnu*)
5507    # Under GNU Hurd, this test is not required because there is
5508    # no limit to the length of command line arguments.
5509    # Libtool will interpret -1 as no limit whatsoever
5510    lt_cv_sys_max_cmd_len=-1;
5511    ;;
5512
5513  cygwin* | mingw* | cegcc*)
5514    # On Win9x/ME, this test blows up -- it succeeds, but takes
5515    # about 5 minutes as the teststring grows exponentially.
5516    # Worse, since 9x/ME are not pre-emptively multitasking,
5517    # you end up with a "frozen" computer, even though with patience
5518    # the test eventually succeeds (with a max line length of 256k).
5519    # Instead, let's just punt: use the minimum linelength reported by
5520    # all of the supported platforms: 8192 (on NT/2K/XP).
5521    lt_cv_sys_max_cmd_len=8192;
5522    ;;
5523
5524  mint*)
5525    # On MiNT this can take a long time and run out of memory.
5526    lt_cv_sys_max_cmd_len=8192;
5527    ;;
5528
5529  amigaos*)
5530    # On AmigaOS with pdksh, this test takes hours, literally.
5531    # So we just punt and use a minimum line length of 8192.
5532    lt_cv_sys_max_cmd_len=8192;
5533    ;;
5534
5535  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5536    # This has been around since 386BSD, at least.  Likely further.
5537    if test -x /sbin/sysctl; then
5538      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5539    elif test -x /usr/sbin/sysctl; then
5540      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5541    else
5542      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5543    fi
5544    # And add a safety zone
5545    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5546    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5547    ;;
5548
5549  interix*)
5550    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5551    lt_cv_sys_max_cmd_len=196608
5552    ;;
5553
5554  os2*)
5555    # The test takes a long time on OS/2.
5556    lt_cv_sys_max_cmd_len=8192
5557    ;;
5558
5559  osf*)
5560    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5561    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5562    # nice to cause kernel panics so lets avoid the loop below.
5563    # First set a reasonable default.
5564    lt_cv_sys_max_cmd_len=16384
5565    #
5566    if test -x /sbin/sysconfig; then
5567      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5568        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5569      esac
5570    fi
5571    ;;
5572  sco3.2v5*)
5573    lt_cv_sys_max_cmd_len=102400
5574    ;;
5575  sysv5* | sco5v6* | sysv4.2uw2*)
5576    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5577    if test -n "$kargmax"; then
5578      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5579    else
5580      lt_cv_sys_max_cmd_len=32768
5581    fi
5582    ;;
5583  *)
5584    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5585    if test -n "$lt_cv_sys_max_cmd_len" && \
5586       test undefined != "$lt_cv_sys_max_cmd_len"; then
5587      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5588      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5589    else
5590      # Make teststring a little bigger before we do anything with it.
5591      # a 1K string should be a reasonable start.
5592      for i in 1 2 3 4 5 6 7 8; do
5593        teststring=$teststring$teststring
5594      done
5595      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5596      # If test is not a shell built-in, we'll probably end up computing a
5597      # maximum length that is only half of the actual maximum length, but
5598      # we can't tell.
5599      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5600	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5601	      test 17 != "$i" # 1/2 MB should be enough
5602      do
5603        i=`expr $i + 1`
5604        teststring=$teststring$teststring
5605      done
5606      # Only check the string length outside the loop.
5607      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5608      teststring=
5609      # Add a significant safety factor because C++ compilers can tack on
5610      # massive amounts of additional arguments before passing them to the
5611      # linker.  It appears as though 1/2 is a usable value.
5612      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5613    fi
5614    ;;
5615  esac
5616
5617fi
5618
5619if test -n "$lt_cv_sys_max_cmd_len"; then
5620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5621$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5622else
5623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5624$as_echo "none" >&6; }
5625fi
5626max_cmd_len=$lt_cv_sys_max_cmd_len
5627
5628
5629
5630
5631
5632
5633: ${CP="cp -f"}
5634: ${MV="mv -f"}
5635: ${RM="rm -f"}
5636
5637if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5638  lt_unset=unset
5639else
5640  lt_unset=false
5641fi
5642
5643
5644
5645
5646
5647# test EBCDIC or ASCII
5648case `echo X|tr X '\101'` in
5649 A) # ASCII based system
5650    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5651  lt_SP2NL='tr \040 \012'
5652  lt_NL2SP='tr \015\012 \040\040'
5653  ;;
5654 *) # EBCDIC based system
5655  lt_SP2NL='tr \100 \n'
5656  lt_NL2SP='tr \r\n \100\100'
5657  ;;
5658esac
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5669$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5670if ${lt_cv_to_host_file_cmd+:} false; then :
5671  $as_echo_n "(cached) " >&6
5672else
5673  case $host in
5674  *-*-mingw* )
5675    case $build in
5676      *-*-mingw* ) # actually msys
5677        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5678        ;;
5679      *-*-cygwin* )
5680        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5681        ;;
5682      * ) # otherwise, assume *nix
5683        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5684        ;;
5685    esac
5686    ;;
5687  *-*-cygwin* )
5688    case $build in
5689      *-*-mingw* ) # actually msys
5690        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5691        ;;
5692      *-*-cygwin* )
5693        lt_cv_to_host_file_cmd=func_convert_file_noop
5694        ;;
5695      * ) # otherwise, assume *nix
5696        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5697        ;;
5698    esac
5699    ;;
5700  * ) # unhandled hosts (and "normal" native builds)
5701    lt_cv_to_host_file_cmd=func_convert_file_noop
5702    ;;
5703esac
5704
5705fi
5706
5707to_host_file_cmd=$lt_cv_to_host_file_cmd
5708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5709$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5710
5711
5712
5713
5714
5715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5716$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5717if ${lt_cv_to_tool_file_cmd+:} false; then :
5718  $as_echo_n "(cached) " >&6
5719else
5720  #assume ordinary cross tools, or native build.
5721lt_cv_to_tool_file_cmd=func_convert_file_noop
5722case $host in
5723  *-*-mingw* )
5724    case $build in
5725      *-*-mingw* ) # actually msys
5726        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5727        ;;
5728    esac
5729    ;;
5730esac
5731
5732fi
5733
5734to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5736$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5737
5738
5739
5740
5741
5742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5743$as_echo_n "checking for $LD option to reload object files... " >&6; }
5744if ${lt_cv_ld_reload_flag+:} false; then :
5745  $as_echo_n "(cached) " >&6
5746else
5747  lt_cv_ld_reload_flag='-r'
5748fi
5749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5750$as_echo "$lt_cv_ld_reload_flag" >&6; }
5751reload_flag=$lt_cv_ld_reload_flag
5752case $reload_flag in
5753"" | " "*) ;;
5754*) reload_flag=" $reload_flag" ;;
5755esac
5756reload_cmds='$LD$reload_flag -o $output$reload_objs'
5757case $host_os in
5758  cygwin* | mingw* | pw32* | cegcc*)
5759    if test yes != "$GCC"; then
5760      reload_cmds=false
5761    fi
5762    ;;
5763  darwin*)
5764    if test yes = "$GCC"; then
5765      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5766    else
5767      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5768    fi
5769    ;;
5770esac
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780if test -n "$ac_tool_prefix"; then
5781  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5782set dummy ${ac_tool_prefix}objdump; ac_word=$2
5783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784$as_echo_n "checking for $ac_word... " >&6; }
5785if ${ac_cv_prog_OBJDUMP+:} false; then :
5786  $as_echo_n "(cached) " >&6
5787else
5788  if test -n "$OBJDUMP"; then
5789  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5790else
5791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792for as_dir in $PATH
5793do
5794  IFS=$as_save_IFS
5795  test -z "$as_dir" && as_dir=.
5796    for ac_exec_ext in '' $ac_executable_extensions; do
5797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800    break 2
5801  fi
5802done
5803  done
5804IFS=$as_save_IFS
5805
5806fi
5807fi
5808OBJDUMP=$ac_cv_prog_OBJDUMP
5809if test -n "$OBJDUMP"; then
5810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5811$as_echo "$OBJDUMP" >&6; }
5812else
5813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814$as_echo "no" >&6; }
5815fi
5816
5817
5818fi
5819if test -z "$ac_cv_prog_OBJDUMP"; then
5820  ac_ct_OBJDUMP=$OBJDUMP
5821  # Extract the first word of "objdump", so it can be a program name with args.
5822set dummy objdump; ac_word=$2
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824$as_echo_n "checking for $ac_word... " >&6; }
5825if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828  if test -n "$ac_ct_OBJDUMP"; then
5829  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5830else
5831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832for as_dir in $PATH
5833do
5834  IFS=$as_save_IFS
5835  test -z "$as_dir" && as_dir=.
5836    for ac_exec_ext in '' $ac_executable_extensions; do
5837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840    break 2
5841  fi
5842done
5843  done
5844IFS=$as_save_IFS
5845
5846fi
5847fi
5848ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5849if test -n "$ac_ct_OBJDUMP"; then
5850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5851$as_echo "$ac_ct_OBJDUMP" >&6; }
5852else
5853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854$as_echo "no" >&6; }
5855fi
5856
5857  if test "x$ac_ct_OBJDUMP" = x; then
5858    OBJDUMP="false"
5859  else
5860    case $cross_compiling:$ac_tool_warned in
5861yes:)
5862{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5863$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5864ac_tool_warned=yes ;;
5865esac
5866    OBJDUMP=$ac_ct_OBJDUMP
5867  fi
5868else
5869  OBJDUMP="$ac_cv_prog_OBJDUMP"
5870fi
5871
5872test -z "$OBJDUMP" && OBJDUMP=objdump
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5883$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5884if ${lt_cv_deplibs_check_method+:} false; then :
5885  $as_echo_n "(cached) " >&6
5886else
5887  lt_cv_file_magic_cmd='$MAGIC_CMD'
5888lt_cv_file_magic_test_file=
5889lt_cv_deplibs_check_method='unknown'
5890# Need to set the preceding variable on all platforms that support
5891# interlibrary dependencies.
5892# 'none' -- dependencies not supported.
5893# 'unknown' -- same as none, but documents that we really don't know.
5894# 'pass_all' -- all dependencies passed with no checks.
5895# 'test_compile' -- check by making test program.
5896# 'file_magic [[regex]]' -- check by looking for files in library path
5897# that responds to the $file_magic_cmd with a given extended regex.
5898# If you have 'file' or equivalent on your system and you're not sure
5899# whether 'pass_all' will *always* work, you probably want this one.
5900
5901case $host_os in
5902aix[4-9]*)
5903  lt_cv_deplibs_check_method=pass_all
5904  ;;
5905
5906beos*)
5907  lt_cv_deplibs_check_method=pass_all
5908  ;;
5909
5910bsdi[45]*)
5911  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5912  lt_cv_file_magic_cmd='/usr/bin/file -L'
5913  lt_cv_file_magic_test_file=/shlib/libc.so
5914  ;;
5915
5916cygwin*)
5917  # func_win32_libid is a shell function defined in ltmain.sh
5918  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5919  lt_cv_file_magic_cmd='func_win32_libid'
5920  ;;
5921
5922mingw* | pw32*)
5923  # Base MSYS/MinGW do not provide the 'file' command needed by
5924  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5925  # unless we find 'file', for example because we are cross-compiling.
5926  if ( file / ) >/dev/null 2>&1; then
5927    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5928    lt_cv_file_magic_cmd='func_win32_libid'
5929  else
5930    # Keep this pattern in sync with the one in func_win32_libid.
5931    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5932    lt_cv_file_magic_cmd='$OBJDUMP -f'
5933  fi
5934  ;;
5935
5936cegcc*)
5937  # use the weaker test based on 'objdump'. See mingw*.
5938  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5939  lt_cv_file_magic_cmd='$OBJDUMP -f'
5940  ;;
5941
5942darwin* | rhapsody*)
5943  lt_cv_deplibs_check_method=pass_all
5944  ;;
5945
5946freebsd* | dragonfly*)
5947  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5948    case $host_cpu in
5949    i*86 )
5950      # Not sure whether the presence of OpenBSD here was a mistake.
5951      # Let's accept both of them until this is cleared up.
5952      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5953      lt_cv_file_magic_cmd=/usr/bin/file
5954      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5955      ;;
5956    esac
5957  else
5958    lt_cv_deplibs_check_method=pass_all
5959  fi
5960  ;;
5961
5962haiku*)
5963  lt_cv_deplibs_check_method=pass_all
5964  ;;
5965
5966hpux10.20* | hpux11*)
5967  lt_cv_file_magic_cmd=/usr/bin/file
5968  case $host_cpu in
5969  ia64*)
5970    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5971    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5972    ;;
5973  hppa*64*)
5974    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]'
5975    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5976    ;;
5977  *)
5978    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5979    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5980    ;;
5981  esac
5982  ;;
5983
5984interix[3-9]*)
5985  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5986  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5987  ;;
5988
5989irix5* | irix6* | nonstopux*)
5990  case $LD in
5991  *-32|*"-32 ") libmagic=32-bit;;
5992  *-n32|*"-n32 ") libmagic=N32;;
5993  *-64|*"-64 ") libmagic=64-bit;;
5994  *) libmagic=never-match;;
5995  esac
5996  lt_cv_deplibs_check_method=pass_all
5997  ;;
5998
5999# This must be glibc/ELF.
6000linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6001  lt_cv_deplibs_check_method=pass_all
6002  ;;
6003
6004netbsd*)
6005  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6006    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6007  else
6008    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6009  fi
6010  ;;
6011
6012newos6*)
6013  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6014  lt_cv_file_magic_cmd=/usr/bin/file
6015  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6016  ;;
6017
6018*nto* | *qnx*)
6019  lt_cv_deplibs_check_method=pass_all
6020  ;;
6021
6022openbsd* | bitrig*)
6023  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6024    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6025  else
6026    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6027  fi
6028  ;;
6029
6030osf3* | osf4* | osf5*)
6031  lt_cv_deplibs_check_method=pass_all
6032  ;;
6033
6034rdos*)
6035  lt_cv_deplibs_check_method=pass_all
6036  ;;
6037
6038solaris*)
6039  lt_cv_deplibs_check_method=pass_all
6040  ;;
6041
6042sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6043  lt_cv_deplibs_check_method=pass_all
6044  ;;
6045
6046sysv4 | sysv4.3*)
6047  case $host_vendor in
6048  motorola)
6049    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]'
6050    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6051    ;;
6052  ncr)
6053    lt_cv_deplibs_check_method=pass_all
6054    ;;
6055  sequent)
6056    lt_cv_file_magic_cmd='/bin/file'
6057    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6058    ;;
6059  sni)
6060    lt_cv_file_magic_cmd='/bin/file'
6061    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6062    lt_cv_file_magic_test_file=/lib/libc.so
6063    ;;
6064  siemens)
6065    lt_cv_deplibs_check_method=pass_all
6066    ;;
6067  pc)
6068    lt_cv_deplibs_check_method=pass_all
6069    ;;
6070  esac
6071  ;;
6072
6073tpf*)
6074  lt_cv_deplibs_check_method=pass_all
6075  ;;
6076os2*)
6077  lt_cv_deplibs_check_method=pass_all
6078  ;;
6079esac
6080
6081fi
6082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6083$as_echo "$lt_cv_deplibs_check_method" >&6; }
6084
6085file_magic_glob=
6086want_nocaseglob=no
6087if test "$build" = "$host"; then
6088  case $host_os in
6089  mingw* | pw32*)
6090    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6091      want_nocaseglob=yes
6092    else
6093      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6094    fi
6095    ;;
6096  esac
6097fi
6098
6099file_magic_cmd=$lt_cv_file_magic_cmd
6100deplibs_check_method=$lt_cv_deplibs_check_method
6101test -z "$deplibs_check_method" && deplibs_check_method=unknown
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124if test -n "$ac_tool_prefix"; then
6125  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6126set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128$as_echo_n "checking for $ac_word... " >&6; }
6129if ${ac_cv_prog_DLLTOOL+:} false; then :
6130  $as_echo_n "(cached) " >&6
6131else
6132  if test -n "$DLLTOOL"; then
6133  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6134else
6135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136for as_dir in $PATH
6137do
6138  IFS=$as_save_IFS
6139  test -z "$as_dir" && as_dir=.
6140    for ac_exec_ext in '' $ac_executable_extensions; do
6141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6142    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144    break 2
6145  fi
6146done
6147  done
6148IFS=$as_save_IFS
6149
6150fi
6151fi
6152DLLTOOL=$ac_cv_prog_DLLTOOL
6153if test -n "$DLLTOOL"; then
6154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6155$as_echo "$DLLTOOL" >&6; }
6156else
6157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158$as_echo "no" >&6; }
6159fi
6160
6161
6162fi
6163if test -z "$ac_cv_prog_DLLTOOL"; then
6164  ac_ct_DLLTOOL=$DLLTOOL
6165  # Extract the first word of "dlltool", so it can be a program name with args.
6166set dummy dlltool; ac_word=$2
6167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168$as_echo_n "checking for $ac_word... " >&6; }
6169if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6170  $as_echo_n "(cached) " >&6
6171else
6172  if test -n "$ac_ct_DLLTOOL"; then
6173  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6174else
6175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176for as_dir in $PATH
6177do
6178  IFS=$as_save_IFS
6179  test -z "$as_dir" && as_dir=.
6180    for ac_exec_ext in '' $ac_executable_extensions; do
6181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6182    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184    break 2
6185  fi
6186done
6187  done
6188IFS=$as_save_IFS
6189
6190fi
6191fi
6192ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6193if test -n "$ac_ct_DLLTOOL"; then
6194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6195$as_echo "$ac_ct_DLLTOOL" >&6; }
6196else
6197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198$as_echo "no" >&6; }
6199fi
6200
6201  if test "x$ac_ct_DLLTOOL" = x; then
6202    DLLTOOL="false"
6203  else
6204    case $cross_compiling:$ac_tool_warned in
6205yes:)
6206{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208ac_tool_warned=yes ;;
6209esac
6210    DLLTOOL=$ac_ct_DLLTOOL
6211  fi
6212else
6213  DLLTOOL="$ac_cv_prog_DLLTOOL"
6214fi
6215
6216test -z "$DLLTOOL" && DLLTOOL=dlltool
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6228$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6229if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6230  $as_echo_n "(cached) " >&6
6231else
6232  lt_cv_sharedlib_from_linklib_cmd='unknown'
6233
6234case $host_os in
6235cygwin* | mingw* | pw32* | cegcc*)
6236  # two different shell functions defined in ltmain.sh;
6237  # decide which one to use based on capabilities of $DLLTOOL
6238  case `$DLLTOOL --help 2>&1` in
6239  *--identify-strict*)
6240    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6241    ;;
6242  *)
6243    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6244    ;;
6245  esac
6246  ;;
6247*)
6248  # fallback: assume linklib IS sharedlib
6249  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6250  ;;
6251esac
6252
6253fi
6254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6255$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6256sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6257test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6258
6259
6260
6261
6262
6263
6264
6265
6266if test -n "$ac_tool_prefix"; then
6267  for ac_prog in ar
6268  do
6269    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6270set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272$as_echo_n "checking for $ac_word... " >&6; }
6273if ${ac_cv_prog_AR+:} false; then :
6274  $as_echo_n "(cached) " >&6
6275else
6276  if test -n "$AR"; then
6277  ac_cv_prog_AR="$AR" # Let the user override the test.
6278else
6279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280for as_dir in $PATH
6281do
6282  IFS=$as_save_IFS
6283  test -z "$as_dir" && as_dir=.
6284    for ac_exec_ext in '' $ac_executable_extensions; do
6285  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6287    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288    break 2
6289  fi
6290done
6291  done
6292IFS=$as_save_IFS
6293
6294fi
6295fi
6296AR=$ac_cv_prog_AR
6297if test -n "$AR"; then
6298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6299$as_echo "$AR" >&6; }
6300else
6301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302$as_echo "no" >&6; }
6303fi
6304
6305
6306    test -n "$AR" && break
6307  done
6308fi
6309if test -z "$AR"; then
6310  ac_ct_AR=$AR
6311  for ac_prog in ar
6312do
6313  # Extract the first word of "$ac_prog", so it can be a program name with args.
6314set dummy $ac_prog; ac_word=$2
6315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316$as_echo_n "checking for $ac_word... " >&6; }
6317if ${ac_cv_prog_ac_ct_AR+:} false; then :
6318  $as_echo_n "(cached) " >&6
6319else
6320  if test -n "$ac_ct_AR"; then
6321  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6322else
6323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324for as_dir in $PATH
6325do
6326  IFS=$as_save_IFS
6327  test -z "$as_dir" && as_dir=.
6328    for ac_exec_ext in '' $ac_executable_extensions; do
6329  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6330    ac_cv_prog_ac_ct_AR="$ac_prog"
6331    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332    break 2
6333  fi
6334done
6335  done
6336IFS=$as_save_IFS
6337
6338fi
6339fi
6340ac_ct_AR=$ac_cv_prog_ac_ct_AR
6341if test -n "$ac_ct_AR"; then
6342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6343$as_echo "$ac_ct_AR" >&6; }
6344else
6345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346$as_echo "no" >&6; }
6347fi
6348
6349
6350  test -n "$ac_ct_AR" && break
6351done
6352
6353  if test "x$ac_ct_AR" = x; then
6354    AR="false"
6355  else
6356    case $cross_compiling:$ac_tool_warned in
6357yes:)
6358{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6359$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6360ac_tool_warned=yes ;;
6361esac
6362    AR=$ac_ct_AR
6363  fi
6364fi
6365
6366: ${AR=ar}
6367
6368
6369
6370
6371
6372
6373# Use ARFLAGS variable as AR's operation code to sync the variable naming with
6374# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6375# higher priority because thats what people were doing historically (setting
6376# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
6377# variable obsoleted/removed.
6378
6379test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6380lt_ar_flags=$AR_FLAGS
6381
6382
6383
6384
6385
6386
6387# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
6388# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6389
6390
6391
6392
6393
6394
6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6396$as_echo_n "checking for archiver @FILE support... " >&6; }
6397if ${lt_cv_ar_at_file+:} false; then :
6398  $as_echo_n "(cached) " >&6
6399else
6400  lt_cv_ar_at_file=no
6401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402/* end confdefs.h.  */
6403
6404int
6405main ()
6406{
6407
6408  ;
6409  return 0;
6410}
6411_ACEOF
6412if ac_fn_c_try_compile "$LINENO"; then :
6413  echo conftest.$ac_objext > conftest.lst
6414      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6415      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6416  (eval $lt_ar_try) 2>&5
6417  ac_status=$?
6418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6419  test $ac_status = 0; }
6420      if test 0 -eq "$ac_status"; then
6421	# Ensure the archiver fails upon bogus file names.
6422	rm -f conftest.$ac_objext libconftest.a
6423	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6424  (eval $lt_ar_try) 2>&5
6425  ac_status=$?
6426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6427  test $ac_status = 0; }
6428	if test 0 -ne "$ac_status"; then
6429          lt_cv_ar_at_file=@
6430        fi
6431      fi
6432      rm -f conftest.* libconftest.a
6433
6434fi
6435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6436
6437fi
6438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6439$as_echo "$lt_cv_ar_at_file" >&6; }
6440
6441if test no = "$lt_cv_ar_at_file"; then
6442  archiver_list_spec=
6443else
6444  archiver_list_spec=$lt_cv_ar_at_file
6445fi
6446
6447
6448
6449
6450
6451
6452
6453if test -n "$ac_tool_prefix"; then
6454  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6455set dummy ${ac_tool_prefix}strip; ac_word=$2
6456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457$as_echo_n "checking for $ac_word... " >&6; }
6458if ${ac_cv_prog_STRIP+:} false; then :
6459  $as_echo_n "(cached) " >&6
6460else
6461  if test -n "$STRIP"; then
6462  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6463else
6464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465for as_dir in $PATH
6466do
6467  IFS=$as_save_IFS
6468  test -z "$as_dir" && as_dir=.
6469    for ac_exec_ext in '' $ac_executable_extensions; do
6470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6471    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473    break 2
6474  fi
6475done
6476  done
6477IFS=$as_save_IFS
6478
6479fi
6480fi
6481STRIP=$ac_cv_prog_STRIP
6482if test -n "$STRIP"; then
6483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6484$as_echo "$STRIP" >&6; }
6485else
6486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487$as_echo "no" >&6; }
6488fi
6489
6490
6491fi
6492if test -z "$ac_cv_prog_STRIP"; then
6493  ac_ct_STRIP=$STRIP
6494  # Extract the first word of "strip", so it can be a program name with args.
6495set dummy strip; ac_word=$2
6496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497$as_echo_n "checking for $ac_word... " >&6; }
6498if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6499  $as_echo_n "(cached) " >&6
6500else
6501  if test -n "$ac_ct_STRIP"; then
6502  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6503else
6504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505for as_dir in $PATH
6506do
6507  IFS=$as_save_IFS
6508  test -z "$as_dir" && as_dir=.
6509    for ac_exec_ext in '' $ac_executable_extensions; do
6510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511    ac_cv_prog_ac_ct_STRIP="strip"
6512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513    break 2
6514  fi
6515done
6516  done
6517IFS=$as_save_IFS
6518
6519fi
6520fi
6521ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6522if test -n "$ac_ct_STRIP"; then
6523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6524$as_echo "$ac_ct_STRIP" >&6; }
6525else
6526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527$as_echo "no" >&6; }
6528fi
6529
6530  if test "x$ac_ct_STRIP" = x; then
6531    STRIP=":"
6532  else
6533    case $cross_compiling:$ac_tool_warned in
6534yes:)
6535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6537ac_tool_warned=yes ;;
6538esac
6539    STRIP=$ac_ct_STRIP
6540  fi
6541else
6542  STRIP="$ac_cv_prog_STRIP"
6543fi
6544
6545test -z "$STRIP" && STRIP=:
6546
6547
6548
6549
6550
6551
6552if test -n "$ac_tool_prefix"; then
6553  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6554set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556$as_echo_n "checking for $ac_word... " >&6; }
6557if ${ac_cv_prog_RANLIB+:} false; then :
6558  $as_echo_n "(cached) " >&6
6559else
6560  if test -n "$RANLIB"; then
6561  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6562else
6563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564for as_dir in $PATH
6565do
6566  IFS=$as_save_IFS
6567  test -z "$as_dir" && as_dir=.
6568    for ac_exec_ext in '' $ac_executable_extensions; do
6569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572    break 2
6573  fi
6574done
6575  done
6576IFS=$as_save_IFS
6577
6578fi
6579fi
6580RANLIB=$ac_cv_prog_RANLIB
6581if test -n "$RANLIB"; then
6582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6583$as_echo "$RANLIB" >&6; }
6584else
6585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586$as_echo "no" >&6; }
6587fi
6588
6589
6590fi
6591if test -z "$ac_cv_prog_RANLIB"; then
6592  ac_ct_RANLIB=$RANLIB
6593  # Extract the first word of "ranlib", so it can be a program name with args.
6594set dummy ranlib; ac_word=$2
6595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6596$as_echo_n "checking for $ac_word... " >&6; }
6597if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6598  $as_echo_n "(cached) " >&6
6599else
6600  if test -n "$ac_ct_RANLIB"; then
6601  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6602else
6603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604for as_dir in $PATH
6605do
6606  IFS=$as_save_IFS
6607  test -z "$as_dir" && as_dir=.
6608    for ac_exec_ext in '' $ac_executable_extensions; do
6609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6610    ac_cv_prog_ac_ct_RANLIB="ranlib"
6611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612    break 2
6613  fi
6614done
6615  done
6616IFS=$as_save_IFS
6617
6618fi
6619fi
6620ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6621if test -n "$ac_ct_RANLIB"; then
6622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6623$as_echo "$ac_ct_RANLIB" >&6; }
6624else
6625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626$as_echo "no" >&6; }
6627fi
6628
6629  if test "x$ac_ct_RANLIB" = x; then
6630    RANLIB=":"
6631  else
6632    case $cross_compiling:$ac_tool_warned in
6633yes:)
6634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6636ac_tool_warned=yes ;;
6637esac
6638    RANLIB=$ac_ct_RANLIB
6639  fi
6640else
6641  RANLIB="$ac_cv_prog_RANLIB"
6642fi
6643
6644test -z "$RANLIB" && RANLIB=:
6645
6646
6647
6648
6649
6650
6651# Determine commands to create old-style static archives.
6652old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6653old_postinstall_cmds='chmod 644 $oldlib'
6654old_postuninstall_cmds=
6655
6656if test -n "$RANLIB"; then
6657  case $host_os in
6658  bitrig* | openbsd*)
6659    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6660    ;;
6661  *)
6662    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6663    ;;
6664  esac
6665  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6666fi
6667
6668case $host_os in
6669  darwin*)
6670    lock_old_archive_extraction=yes ;;
6671  *)
6672    lock_old_archive_extraction=no ;;
6673esac
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
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713# If no C compiler was specified, use CC.
6714LTCC=${LTCC-"$CC"}
6715
6716# If no C compiler flags were specified, use CFLAGS.
6717LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6718
6719# Allow CC to be a program name with arguments.
6720compiler=$CC
6721
6722
6723# Check for command to grab the raw symbol name followed by C symbol from nm.
6724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6725$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6726if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6727  $as_echo_n "(cached) " >&6
6728else
6729
6730# These are sane defaults that work on at least a few old systems.
6731# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6732
6733# Character class describing NM global symbol codes.
6734symcode='[BCDEGRST]'
6735
6736# Regexp to match symbols that can be accessed directly from C.
6737sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6738
6739# Define system-specific variables.
6740case $host_os in
6741aix*)
6742  symcode='[BCDT]'
6743  ;;
6744cygwin* | mingw* | pw32* | cegcc*)
6745  symcode='[ABCDGISTW]'
6746  ;;
6747hpux*)
6748  if test ia64 = "$host_cpu"; then
6749    symcode='[ABCDEGRST]'
6750  fi
6751  ;;
6752irix* | nonstopux*)
6753  symcode='[BCDEGRST]'
6754  ;;
6755osf*)
6756  symcode='[BCDEGQRST]'
6757  ;;
6758solaris*)
6759  symcode='[BDRT]'
6760  ;;
6761sco3.2v5*)
6762  symcode='[DT]'
6763  ;;
6764sysv4.2uw2*)
6765  symcode='[DT]'
6766  ;;
6767sysv5* | sco5v6* | unixware* | OpenUNIX*)
6768  symcode='[ABDT]'
6769  ;;
6770sysv4)
6771  symcode='[DFNSTU]'
6772  ;;
6773esac
6774
6775# If we're using GNU nm, then use its standard symbol codes.
6776case `$NM -V 2>&1` in
6777*GNU* | *'with BFD'*)
6778  symcode='[ABCDGIRSTW]' ;;
6779esac
6780
6781if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6782  # Gets list of data symbols to import.
6783  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6784  # Adjust the below global symbol transforms to fixup imported variables.
6785  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6786  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6787  lt_c_name_lib_hook="\
6788  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6789  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6790else
6791  # Disable hooks by default.
6792  lt_cv_sys_global_symbol_to_import=
6793  lt_cdecl_hook=
6794  lt_c_name_hook=
6795  lt_c_name_lib_hook=
6796fi
6797
6798# Transform an extracted symbol line into a proper C declaration.
6799# Some systems (esp. on ia64) link data and code symbols differently,
6800# so use this general approach.
6801lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6802$lt_cdecl_hook\
6803" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6804" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6805
6806# Transform an extracted symbol line into symbol name and symbol address
6807lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6808$lt_c_name_hook\
6809" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6810" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6811
6812# Transform an extracted symbol line into symbol name with lib prefix and
6813# symbol address.
6814lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6815$lt_c_name_lib_hook\
6816" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6817" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6818" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6819
6820# Handle CRLF in mingw tool chain
6821opt_cr=
6822case $build_os in
6823mingw*)
6824  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6825  ;;
6826esac
6827
6828# Try without a prefix underscore, then with it.
6829for ac_symprfx in "" "_"; do
6830
6831  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6832  symxfrm="\\1 $ac_symprfx\\2 \\2"
6833
6834  # Write the raw and C identifiers.
6835  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6836    # Fake it for dumpbin and say T for any non-static function,
6837    # D for any global variable and I for any imported variable.
6838    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
6839    # which start with @ or ?.
6840    lt_cv_sys_global_symbol_pipe="$AWK '"\
6841"     {last_section=section; section=\$ 3};"\
6842"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6843"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6844"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6845"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6846"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6847"     \$ 0!~/External *\|/{next};"\
6848"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6849"     {if(hide[section]) next};"\
6850"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6851"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6852"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6853"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6854"     ' prfx=^$ac_symprfx"
6855  else
6856    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6857  fi
6858  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6859
6860  # Check to see that the pipe works correctly.
6861  pipe_works=no
6862
6863  rm -f conftest*
6864  cat > conftest.$ac_ext <<_LT_EOF
6865#ifdef __cplusplus
6866extern "C" {
6867#endif
6868char nm_test_var;
6869void nm_test_func(void);
6870void nm_test_func(void){}
6871#ifdef __cplusplus
6872}
6873#endif
6874int main(){nm_test_var='a';nm_test_func();return(0);}
6875_LT_EOF
6876
6877  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6878  (eval $ac_compile) 2>&5
6879  ac_status=$?
6880  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6881  test $ac_status = 0; }; then
6882    # Now try to grab the symbols.
6883    nlist=conftest.nm
6884    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6885  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6886  ac_status=$?
6887  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6888  test $ac_status = 0; } && test -s "$nlist"; then
6889      # Try sorting and uniquifying the output.
6890      if sort "$nlist" | uniq > "$nlist"T; then
6891	mv -f "$nlist"T "$nlist"
6892      else
6893	rm -f "$nlist"T
6894      fi
6895
6896      # Make sure that we snagged all the symbols we need.
6897      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6898	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6899	  cat <<_LT_EOF > conftest.$ac_ext
6900/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6901#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6902/* DATA imports from DLLs on WIN32 can't be const, because runtime
6903   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6904# define LT_DLSYM_CONST
6905#elif defined __osf__
6906/* This system does not cope well with relocations in const data.  */
6907# define LT_DLSYM_CONST
6908#else
6909# define LT_DLSYM_CONST const
6910#endif
6911
6912#ifdef __cplusplus
6913extern "C" {
6914#endif
6915
6916_LT_EOF
6917	  # Now generate the symbol file.
6918	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6919
6920	  cat <<_LT_EOF >> conftest.$ac_ext
6921
6922/* The mapping between symbol names and symbols.  */
6923LT_DLSYM_CONST struct {
6924  const char *name;
6925  void       *address;
6926}
6927lt__PROGRAM__LTX_preloaded_symbols[] =
6928{
6929  { "@PROGRAM@", (void *) 0 },
6930_LT_EOF
6931	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6932	  cat <<\_LT_EOF >> conftest.$ac_ext
6933  {0, (void *) 0}
6934};
6935
6936/* This works around a problem in FreeBSD linker */
6937#ifdef FREEBSD_WORKAROUND
6938static const void *lt_preloaded_setup() {
6939  return lt__PROGRAM__LTX_preloaded_symbols;
6940}
6941#endif
6942
6943#ifdef __cplusplus
6944}
6945#endif
6946_LT_EOF
6947	  # Now try linking the two files.
6948	  mv conftest.$ac_objext conftstm.$ac_objext
6949	  lt_globsym_save_LIBS=$LIBS
6950	  lt_globsym_save_CFLAGS=$CFLAGS
6951	  LIBS=conftstm.$ac_objext
6952	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6953	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6954  (eval $ac_link) 2>&5
6955  ac_status=$?
6956  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6957  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6958	    pipe_works=yes
6959	  fi
6960	  LIBS=$lt_globsym_save_LIBS
6961	  CFLAGS=$lt_globsym_save_CFLAGS
6962	else
6963	  echo "cannot find nm_test_func in $nlist" >&5
6964	fi
6965      else
6966	echo "cannot find nm_test_var in $nlist" >&5
6967      fi
6968    else
6969      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6970    fi
6971  else
6972    echo "$progname: failed program was:" >&5
6973    cat conftest.$ac_ext >&5
6974  fi
6975  rm -rf conftest* conftst*
6976
6977  # Do not use the global_symbol_pipe unless it works.
6978  if test yes = "$pipe_works"; then
6979    break
6980  else
6981    lt_cv_sys_global_symbol_pipe=
6982  fi
6983done
6984
6985fi
6986
6987if test -z "$lt_cv_sys_global_symbol_pipe"; then
6988  lt_cv_sys_global_symbol_to_cdecl=
6989fi
6990if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6992$as_echo "failed" >&6; }
6993else
6994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6995$as_echo "ok" >&6; }
6996fi
6997
6998# Response file support.
6999if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7000  nm_file_list_spec='@'
7001elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7002  nm_file_list_spec='@'
7003fi
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7042$as_echo_n "checking for sysroot... " >&6; }
7043
7044# Check whether --with-sysroot was given.
7045if test "${with_sysroot+set}" = set; then :
7046  withval=$with_sysroot;
7047else
7048  with_sysroot=no
7049fi
7050
7051
7052lt_sysroot=
7053case $with_sysroot in #(
7054 yes)
7055   if test yes = "$GCC"; then
7056     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7057   fi
7058   ;; #(
7059 /*)
7060   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7061   ;; #(
7062 no|'')
7063   ;; #(
7064 *)
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7066$as_echo "$with_sysroot" >&6; }
7067   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7068   ;;
7069esac
7070
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7072$as_echo "${lt_sysroot:-no}" >&6; }
7073
7074
7075
7076
7077
7078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7079$as_echo_n "checking for a working dd... " >&6; }
7080if ${ac_cv_path_lt_DD+:} false; then :
7081  $as_echo_n "(cached) " >&6
7082else
7083  printf 0123456789abcdef0123456789abcdef >conftest.i
7084cat conftest.i conftest.i >conftest2.i
7085: ${lt_DD:=$DD}
7086if test -z "$lt_DD"; then
7087  ac_path_lt_DD_found=false
7088  # Loop through the user's path and test for each of PROGNAME-LIST
7089  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090for as_dir in $PATH
7091do
7092  IFS=$as_save_IFS
7093  test -z "$as_dir" && as_dir=.
7094    for ac_prog in dd; do
7095    for ac_exec_ext in '' $ac_executable_extensions; do
7096      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7097      as_fn_executable_p "$ac_path_lt_DD" || continue
7098if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7099  cmp -s conftest.i conftest.out \
7100  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7101fi
7102      $ac_path_lt_DD_found && break 3
7103    done
7104  done
7105  done
7106IFS=$as_save_IFS
7107  if test -z "$ac_cv_path_lt_DD"; then
7108    :
7109  fi
7110else
7111  ac_cv_path_lt_DD=$lt_DD
7112fi
7113
7114rm -f conftest.i conftest2.i conftest.out
7115fi
7116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7117$as_echo "$ac_cv_path_lt_DD" >&6; }
7118
7119
7120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7121$as_echo_n "checking how to truncate binary pipes... " >&6; }
7122if ${lt_cv_truncate_bin+:} false; then :
7123  $as_echo_n "(cached) " >&6
7124else
7125  printf 0123456789abcdef0123456789abcdef >conftest.i
7126cat conftest.i conftest.i >conftest2.i
7127lt_cv_truncate_bin=
7128if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7129  cmp -s conftest.i conftest.out \
7130  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7131fi
7132rm -f conftest.i conftest2.i conftest.out
7133test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7134fi
7135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7136$as_echo "$lt_cv_truncate_bin" >&6; }
7137
7138
7139
7140
7141
7142
7143
7144# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7145func_cc_basename ()
7146{
7147    for cc_temp in $*""; do
7148      case $cc_temp in
7149        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7150        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7151        \-*) ;;
7152        *) break;;
7153      esac
7154    done
7155    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7156}
7157
7158# Check whether --enable-libtool-lock was given.
7159if test "${enable_libtool_lock+set}" = set; then :
7160  enableval=$enable_libtool_lock;
7161fi
7162
7163test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7164
7165# Some flags need to be propagated to the compiler or linker for good
7166# libtool support.
7167case $host in
7168ia64-*-hpux*)
7169  # Find out what ABI is being produced by ac_compile, and set mode
7170  # options accordingly.
7171  echo 'int i;' > conftest.$ac_ext
7172  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7173  (eval $ac_compile) 2>&5
7174  ac_status=$?
7175  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7176  test $ac_status = 0; }; then
7177    case `/usr/bin/file conftest.$ac_objext` in
7178      *ELF-32*)
7179	HPUX_IA64_MODE=32
7180	;;
7181      *ELF-64*)
7182	HPUX_IA64_MODE=64
7183	;;
7184    esac
7185  fi
7186  rm -rf conftest*
7187  ;;
7188*-*-irix6*)
7189  # Find out what ABI is being produced by ac_compile, and set linker
7190  # options accordingly.
7191  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7192  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7193  (eval $ac_compile) 2>&5
7194  ac_status=$?
7195  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7196  test $ac_status = 0; }; then
7197    if test yes = "$lt_cv_prog_gnu_ld"; then
7198      case `/usr/bin/file conftest.$ac_objext` in
7199	*32-bit*)
7200	  LD="${LD-ld} -melf32bsmip"
7201	  ;;
7202	*N32*)
7203	  LD="${LD-ld} -melf32bmipn32"
7204	  ;;
7205	*64-bit*)
7206	  LD="${LD-ld} -melf64bmip"
7207	;;
7208      esac
7209    else
7210      case `/usr/bin/file conftest.$ac_objext` in
7211	*32-bit*)
7212	  LD="${LD-ld} -32"
7213	  ;;
7214	*N32*)
7215	  LD="${LD-ld} -n32"
7216	  ;;
7217	*64-bit*)
7218	  LD="${LD-ld} -64"
7219	  ;;
7220      esac
7221    fi
7222  fi
7223  rm -rf conftest*
7224  ;;
7225
7226mips64*-*linux*)
7227  # Find out what ABI is being produced by ac_compile, and set linker
7228  # options accordingly.
7229  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7230  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7231  (eval $ac_compile) 2>&5
7232  ac_status=$?
7233  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7234  test $ac_status = 0; }; then
7235    emul=elf
7236    case `/usr/bin/file conftest.$ac_objext` in
7237      *32-bit*)
7238	emul="${emul}32"
7239	;;
7240      *64-bit*)
7241	emul="${emul}64"
7242	;;
7243    esac
7244    case `/usr/bin/file conftest.$ac_objext` in
7245      *MSB*)
7246	emul="${emul}btsmip"
7247	;;
7248      *LSB*)
7249	emul="${emul}ltsmip"
7250	;;
7251    esac
7252    case `/usr/bin/file conftest.$ac_objext` in
7253      *N32*)
7254	emul="${emul}n32"
7255	;;
7256    esac
7257    LD="${LD-ld} -m $emul"
7258  fi
7259  rm -rf conftest*
7260  ;;
7261
7262x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7263s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7264  # Find out what ABI is being produced by ac_compile, and set linker
7265  # options accordingly.  Note that the listed cases only cover the
7266  # situations where additional linker options are needed (such as when
7267  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7268  # vice versa); the common cases where no linker options are needed do
7269  # not appear in the list.
7270  echo 'int i;' > conftest.$ac_ext
7271  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7272  (eval $ac_compile) 2>&5
7273  ac_status=$?
7274  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7275  test $ac_status = 0; }; then
7276    case `/usr/bin/file conftest.o` in
7277      *32-bit*)
7278	case $host in
7279	  x86_64-*kfreebsd*-gnu)
7280	    LD="${LD-ld} -m elf_i386_fbsd"
7281	    ;;
7282	  x86_64-*linux*)
7283	    case `/usr/bin/file conftest.o` in
7284	      *x86-64*)
7285		LD="${LD-ld} -m elf32_x86_64"
7286		;;
7287	      *)
7288		LD="${LD-ld} -m elf_i386"
7289		;;
7290	    esac
7291	    ;;
7292	  powerpc64le-*linux*)
7293	    LD="${LD-ld} -m elf32lppclinux"
7294	    ;;
7295	  powerpc64-*linux*)
7296	    LD="${LD-ld} -m elf32ppclinux"
7297	    ;;
7298	  s390x-*linux*)
7299	    LD="${LD-ld} -m elf_s390"
7300	    ;;
7301	  sparc64-*linux*)
7302	    LD="${LD-ld} -m elf32_sparc"
7303	    ;;
7304	esac
7305	;;
7306      *64-bit*)
7307	case $host in
7308	  x86_64-*kfreebsd*-gnu)
7309	    LD="${LD-ld} -m elf_x86_64_fbsd"
7310	    ;;
7311	  x86_64-*linux*)
7312	    LD="${LD-ld} -m elf_x86_64"
7313	    ;;
7314	  powerpcle-*linux*)
7315	    LD="${LD-ld} -m elf64lppc"
7316	    ;;
7317	  powerpc-*linux*)
7318	    LD="${LD-ld} -m elf64ppc"
7319	    ;;
7320	  s390*-*linux*|s390*-*tpf*)
7321	    LD="${LD-ld} -m elf64_s390"
7322	    ;;
7323	  sparc*-*linux*)
7324	    LD="${LD-ld} -m elf64_sparc"
7325	    ;;
7326	esac
7327	;;
7328    esac
7329  fi
7330  rm -rf conftest*
7331  ;;
7332
7333*-*-sco3.2v5*)
7334  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7335  SAVE_CFLAGS=$CFLAGS
7336  CFLAGS="$CFLAGS -belf"
7337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7338$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7339if ${lt_cv_cc_needs_belf+:} false; then :
7340  $as_echo_n "(cached) " >&6
7341else
7342  ac_ext=c
7343ac_cpp='$CPP $CPPFLAGS'
7344ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7345ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7346ac_compiler_gnu=$ac_cv_c_compiler_gnu
7347
7348     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349/* end confdefs.h.  */
7350
7351int
7352main ()
7353{
7354
7355  ;
7356  return 0;
7357}
7358_ACEOF
7359if ac_fn_c_try_link "$LINENO"; then :
7360  lt_cv_cc_needs_belf=yes
7361else
7362  lt_cv_cc_needs_belf=no
7363fi
7364rm -f core conftest.err conftest.$ac_objext \
7365    conftest$ac_exeext conftest.$ac_ext
7366     ac_ext=c
7367ac_cpp='$CPP $CPPFLAGS'
7368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7370ac_compiler_gnu=$ac_cv_c_compiler_gnu
7371
7372fi
7373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7374$as_echo "$lt_cv_cc_needs_belf" >&6; }
7375  if test yes != "$lt_cv_cc_needs_belf"; then
7376    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7377    CFLAGS=$SAVE_CFLAGS
7378  fi
7379  ;;
7380*-*solaris*)
7381  # Find out what ABI is being produced by ac_compile, and set linker
7382  # options accordingly.
7383  echo 'int i;' > conftest.$ac_ext
7384  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7385  (eval $ac_compile) 2>&5
7386  ac_status=$?
7387  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7388  test $ac_status = 0; }; then
7389    case `/usr/bin/file conftest.o` in
7390    *64-bit*)
7391      case $lt_cv_prog_gnu_ld in
7392      yes*)
7393        case $host in
7394        i?86-*-solaris*|x86_64-*-solaris*)
7395          LD="${LD-ld} -m elf_x86_64"
7396          ;;
7397        sparc*-*-solaris*)
7398          LD="${LD-ld} -m elf64_sparc"
7399          ;;
7400        esac
7401        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7402        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7403          LD=${LD-ld}_sol2
7404        fi
7405        ;;
7406      *)
7407	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7408	  LD="${LD-ld} -64"
7409	fi
7410	;;
7411      esac
7412      ;;
7413    esac
7414  fi
7415  rm -rf conftest*
7416  ;;
7417esac
7418
7419need_locks=$enable_libtool_lock
7420
7421if test -n "$ac_tool_prefix"; then
7422  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7423set dummy ${ac_tool_prefix}mt; ac_word=$2
7424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425$as_echo_n "checking for $ac_word... " >&6; }
7426if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7427  $as_echo_n "(cached) " >&6
7428else
7429  if test -n "$MANIFEST_TOOL"; then
7430  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7431else
7432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433for as_dir in $PATH
7434do
7435  IFS=$as_save_IFS
7436  test -z "$as_dir" && as_dir=.
7437    for ac_exec_ext in '' $ac_executable_extensions; do
7438  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441    break 2
7442  fi
7443done
7444  done
7445IFS=$as_save_IFS
7446
7447fi
7448fi
7449MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7450if test -n "$MANIFEST_TOOL"; then
7451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7452$as_echo "$MANIFEST_TOOL" >&6; }
7453else
7454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455$as_echo "no" >&6; }
7456fi
7457
7458
7459fi
7460if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7461  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7462  # Extract the first word of "mt", so it can be a program name with args.
7463set dummy mt; ac_word=$2
7464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465$as_echo_n "checking for $ac_word... " >&6; }
7466if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7467  $as_echo_n "(cached) " >&6
7468else
7469  if test -n "$ac_ct_MANIFEST_TOOL"; then
7470  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7471else
7472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473for as_dir in $PATH
7474do
7475  IFS=$as_save_IFS
7476  test -z "$as_dir" && as_dir=.
7477    for ac_exec_ext in '' $ac_executable_extensions; do
7478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481    break 2
7482  fi
7483done
7484  done
7485IFS=$as_save_IFS
7486
7487fi
7488fi
7489ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7490if test -n "$ac_ct_MANIFEST_TOOL"; then
7491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7492$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7493else
7494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495$as_echo "no" >&6; }
7496fi
7497
7498  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7499    MANIFEST_TOOL=":"
7500  else
7501    case $cross_compiling:$ac_tool_warned in
7502yes:)
7503{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7504$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7505ac_tool_warned=yes ;;
7506esac
7507    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7508  fi
7509else
7510  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7511fi
7512
7513test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7515$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7516if ${lt_cv_path_mainfest_tool+:} false; then :
7517  $as_echo_n "(cached) " >&6
7518else
7519  lt_cv_path_mainfest_tool=no
7520  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7521  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7522  cat conftest.err >&5
7523  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7524    lt_cv_path_mainfest_tool=yes
7525  fi
7526  rm -f conftest*
7527fi
7528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7529$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7530if test yes != "$lt_cv_path_mainfest_tool"; then
7531  MANIFEST_TOOL=:
7532fi
7533
7534
7535
7536
7537
7538
7539  case $host_os in
7540    rhapsody* | darwin*)
7541    if test -n "$ac_tool_prefix"; then
7542  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7543set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545$as_echo_n "checking for $ac_word... " >&6; }
7546if ${ac_cv_prog_DSYMUTIL+:} false; then :
7547  $as_echo_n "(cached) " >&6
7548else
7549  if test -n "$DSYMUTIL"; then
7550  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7551else
7552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553for as_dir in $PATH
7554do
7555  IFS=$as_save_IFS
7556  test -z "$as_dir" && as_dir=.
7557    for ac_exec_ext in '' $ac_executable_extensions; do
7558  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7560    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561    break 2
7562  fi
7563done
7564  done
7565IFS=$as_save_IFS
7566
7567fi
7568fi
7569DSYMUTIL=$ac_cv_prog_DSYMUTIL
7570if test -n "$DSYMUTIL"; then
7571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7572$as_echo "$DSYMUTIL" >&6; }
7573else
7574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575$as_echo "no" >&6; }
7576fi
7577
7578
7579fi
7580if test -z "$ac_cv_prog_DSYMUTIL"; then
7581  ac_ct_DSYMUTIL=$DSYMUTIL
7582  # Extract the first word of "dsymutil", so it can be a program name with args.
7583set dummy dsymutil; ac_word=$2
7584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585$as_echo_n "checking for $ac_word... " >&6; }
7586if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7587  $as_echo_n "(cached) " >&6
7588else
7589  if test -n "$ac_ct_DSYMUTIL"; then
7590  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7591else
7592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593for as_dir in $PATH
7594do
7595  IFS=$as_save_IFS
7596  test -z "$as_dir" && as_dir=.
7597    for ac_exec_ext in '' $ac_executable_extensions; do
7598  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7600    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7601    break 2
7602  fi
7603done
7604  done
7605IFS=$as_save_IFS
7606
7607fi
7608fi
7609ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7610if test -n "$ac_ct_DSYMUTIL"; then
7611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7612$as_echo "$ac_ct_DSYMUTIL" >&6; }
7613else
7614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615$as_echo "no" >&6; }
7616fi
7617
7618  if test "x$ac_ct_DSYMUTIL" = x; then
7619    DSYMUTIL=":"
7620  else
7621    case $cross_compiling:$ac_tool_warned in
7622yes:)
7623{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7624$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7625ac_tool_warned=yes ;;
7626esac
7627    DSYMUTIL=$ac_ct_DSYMUTIL
7628  fi
7629else
7630  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7631fi
7632
7633    if test -n "$ac_tool_prefix"; then
7634  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7635set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637$as_echo_n "checking for $ac_word... " >&6; }
7638if ${ac_cv_prog_NMEDIT+:} false; then :
7639  $as_echo_n "(cached) " >&6
7640else
7641  if test -n "$NMEDIT"; then
7642  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7643else
7644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645for as_dir in $PATH
7646do
7647  IFS=$as_save_IFS
7648  test -z "$as_dir" && as_dir=.
7649    for ac_exec_ext in '' $ac_executable_extensions; do
7650  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7652    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7653    break 2
7654  fi
7655done
7656  done
7657IFS=$as_save_IFS
7658
7659fi
7660fi
7661NMEDIT=$ac_cv_prog_NMEDIT
7662if test -n "$NMEDIT"; then
7663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7664$as_echo "$NMEDIT" >&6; }
7665else
7666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667$as_echo "no" >&6; }
7668fi
7669
7670
7671fi
7672if test -z "$ac_cv_prog_NMEDIT"; then
7673  ac_ct_NMEDIT=$NMEDIT
7674  # Extract the first word of "nmedit", so it can be a program name with args.
7675set dummy nmedit; ac_word=$2
7676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677$as_echo_n "checking for $ac_word... " >&6; }
7678if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7679  $as_echo_n "(cached) " >&6
7680else
7681  if test -n "$ac_ct_NMEDIT"; then
7682  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7683else
7684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685for as_dir in $PATH
7686do
7687  IFS=$as_save_IFS
7688  test -z "$as_dir" && as_dir=.
7689    for ac_exec_ext in '' $ac_executable_extensions; do
7690  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7691    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7692    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7693    break 2
7694  fi
7695done
7696  done
7697IFS=$as_save_IFS
7698
7699fi
7700fi
7701ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7702if test -n "$ac_ct_NMEDIT"; then
7703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7704$as_echo "$ac_ct_NMEDIT" >&6; }
7705else
7706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707$as_echo "no" >&6; }
7708fi
7709
7710  if test "x$ac_ct_NMEDIT" = x; then
7711    NMEDIT=":"
7712  else
7713    case $cross_compiling:$ac_tool_warned in
7714yes:)
7715{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7716$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7717ac_tool_warned=yes ;;
7718esac
7719    NMEDIT=$ac_ct_NMEDIT
7720  fi
7721else
7722  NMEDIT="$ac_cv_prog_NMEDIT"
7723fi
7724
7725    if test -n "$ac_tool_prefix"; then
7726  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7727set dummy ${ac_tool_prefix}lipo; ac_word=$2
7728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729$as_echo_n "checking for $ac_word... " >&6; }
7730if ${ac_cv_prog_LIPO+:} false; then :
7731  $as_echo_n "(cached) " >&6
7732else
7733  if test -n "$LIPO"; then
7734  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7735else
7736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737for as_dir in $PATH
7738do
7739  IFS=$as_save_IFS
7740  test -z "$as_dir" && as_dir=.
7741    for ac_exec_ext in '' $ac_executable_extensions; do
7742  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7744    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7745    break 2
7746  fi
7747done
7748  done
7749IFS=$as_save_IFS
7750
7751fi
7752fi
7753LIPO=$ac_cv_prog_LIPO
7754if test -n "$LIPO"; then
7755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7756$as_echo "$LIPO" >&6; }
7757else
7758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759$as_echo "no" >&6; }
7760fi
7761
7762
7763fi
7764if test -z "$ac_cv_prog_LIPO"; then
7765  ac_ct_LIPO=$LIPO
7766  # Extract the first word of "lipo", so it can be a program name with args.
7767set dummy lipo; ac_word=$2
7768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7769$as_echo_n "checking for $ac_word... " >&6; }
7770if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7771  $as_echo_n "(cached) " >&6
7772else
7773  if test -n "$ac_ct_LIPO"; then
7774  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7775else
7776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777for as_dir in $PATH
7778do
7779  IFS=$as_save_IFS
7780  test -z "$as_dir" && as_dir=.
7781    for ac_exec_ext in '' $ac_executable_extensions; do
7782  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783    ac_cv_prog_ac_ct_LIPO="lipo"
7784    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7785    break 2
7786  fi
7787done
7788  done
7789IFS=$as_save_IFS
7790
7791fi
7792fi
7793ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7794if test -n "$ac_ct_LIPO"; then
7795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7796$as_echo "$ac_ct_LIPO" >&6; }
7797else
7798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7799$as_echo "no" >&6; }
7800fi
7801
7802  if test "x$ac_ct_LIPO" = x; then
7803    LIPO=":"
7804  else
7805    case $cross_compiling:$ac_tool_warned in
7806yes:)
7807{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7808$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7809ac_tool_warned=yes ;;
7810esac
7811    LIPO=$ac_ct_LIPO
7812  fi
7813else
7814  LIPO="$ac_cv_prog_LIPO"
7815fi
7816
7817    if test -n "$ac_tool_prefix"; then
7818  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7819set dummy ${ac_tool_prefix}otool; ac_word=$2
7820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821$as_echo_n "checking for $ac_word... " >&6; }
7822if ${ac_cv_prog_OTOOL+:} false; then :
7823  $as_echo_n "(cached) " >&6
7824else
7825  if test -n "$OTOOL"; then
7826  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7827else
7828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829for as_dir in $PATH
7830do
7831  IFS=$as_save_IFS
7832  test -z "$as_dir" && as_dir=.
7833    for ac_exec_ext in '' $ac_executable_extensions; do
7834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837    break 2
7838  fi
7839done
7840  done
7841IFS=$as_save_IFS
7842
7843fi
7844fi
7845OTOOL=$ac_cv_prog_OTOOL
7846if test -n "$OTOOL"; then
7847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7848$as_echo "$OTOOL" >&6; }
7849else
7850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851$as_echo "no" >&6; }
7852fi
7853
7854
7855fi
7856if test -z "$ac_cv_prog_OTOOL"; then
7857  ac_ct_OTOOL=$OTOOL
7858  # Extract the first word of "otool", so it can be a program name with args.
7859set dummy otool; ac_word=$2
7860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861$as_echo_n "checking for $ac_word... " >&6; }
7862if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7863  $as_echo_n "(cached) " >&6
7864else
7865  if test -n "$ac_ct_OTOOL"; then
7866  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7867else
7868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869for as_dir in $PATH
7870do
7871  IFS=$as_save_IFS
7872  test -z "$as_dir" && as_dir=.
7873    for ac_exec_ext in '' $ac_executable_extensions; do
7874  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875    ac_cv_prog_ac_ct_OTOOL="otool"
7876    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7877    break 2
7878  fi
7879done
7880  done
7881IFS=$as_save_IFS
7882
7883fi
7884fi
7885ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7886if test -n "$ac_ct_OTOOL"; then
7887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7888$as_echo "$ac_ct_OTOOL" >&6; }
7889else
7890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891$as_echo "no" >&6; }
7892fi
7893
7894  if test "x$ac_ct_OTOOL" = x; then
7895    OTOOL=":"
7896  else
7897    case $cross_compiling:$ac_tool_warned in
7898yes:)
7899{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7900$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7901ac_tool_warned=yes ;;
7902esac
7903    OTOOL=$ac_ct_OTOOL
7904  fi
7905else
7906  OTOOL="$ac_cv_prog_OTOOL"
7907fi
7908
7909    if test -n "$ac_tool_prefix"; then
7910  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7911set dummy ${ac_tool_prefix}otool64; ac_word=$2
7912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913$as_echo_n "checking for $ac_word... " >&6; }
7914if ${ac_cv_prog_OTOOL64+:} false; then :
7915  $as_echo_n "(cached) " >&6
7916else
7917  if test -n "$OTOOL64"; then
7918  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7919else
7920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921for as_dir in $PATH
7922do
7923  IFS=$as_save_IFS
7924  test -z "$as_dir" && as_dir=.
7925    for ac_exec_ext in '' $ac_executable_extensions; do
7926  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929    break 2
7930  fi
7931done
7932  done
7933IFS=$as_save_IFS
7934
7935fi
7936fi
7937OTOOL64=$ac_cv_prog_OTOOL64
7938if test -n "$OTOOL64"; then
7939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7940$as_echo "$OTOOL64" >&6; }
7941else
7942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943$as_echo "no" >&6; }
7944fi
7945
7946
7947fi
7948if test -z "$ac_cv_prog_OTOOL64"; then
7949  ac_ct_OTOOL64=$OTOOL64
7950  # Extract the first word of "otool64", so it can be a program name with args.
7951set dummy otool64; ac_word=$2
7952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7953$as_echo_n "checking for $ac_word... " >&6; }
7954if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7955  $as_echo_n "(cached) " >&6
7956else
7957  if test -n "$ac_ct_OTOOL64"; then
7958  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7959else
7960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961for as_dir in $PATH
7962do
7963  IFS=$as_save_IFS
7964  test -z "$as_dir" && as_dir=.
7965    for ac_exec_ext in '' $ac_executable_extensions; do
7966  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7967    ac_cv_prog_ac_ct_OTOOL64="otool64"
7968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7969    break 2
7970  fi
7971done
7972  done
7973IFS=$as_save_IFS
7974
7975fi
7976fi
7977ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7978if test -n "$ac_ct_OTOOL64"; then
7979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7980$as_echo "$ac_ct_OTOOL64" >&6; }
7981else
7982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983$as_echo "no" >&6; }
7984fi
7985
7986  if test "x$ac_ct_OTOOL64" = x; then
7987    OTOOL64=":"
7988  else
7989    case $cross_compiling:$ac_tool_warned in
7990yes:)
7991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7993ac_tool_warned=yes ;;
7994esac
7995    OTOOL64=$ac_ct_OTOOL64
7996  fi
7997else
7998  OTOOL64="$ac_cv_prog_OTOOL64"
7999fi
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8028$as_echo_n "checking for -single_module linker flag... " >&6; }
8029if ${lt_cv_apple_cc_single_mod+:} false; then :
8030  $as_echo_n "(cached) " >&6
8031else
8032  lt_cv_apple_cc_single_mod=no
8033      if test -z "$LT_MULTI_MODULE"; then
8034	# By default we will add the -single_module flag. You can override
8035	# by either setting the environment variable LT_MULTI_MODULE
8036	# non-empty at configure time, or by adding -multi_module to the
8037	# link flags.
8038	rm -rf libconftest.dylib*
8039	echo "int foo(void){return 1;}" > conftest.c
8040	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8041-dynamiclib -Wl,-single_module conftest.c" >&5
8042	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8043	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8044        _lt_result=$?
8045	# If there is a non-empty error log, and "single_module"
8046	# appears in it, assume the flag caused a linker warning
8047        if test -s conftest.err && $GREP single_module conftest.err; then
8048	  cat conftest.err >&5
8049	# Otherwise, if the output was created with a 0 exit code from
8050	# the compiler, it worked.
8051	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8052	  lt_cv_apple_cc_single_mod=yes
8053	else
8054	  cat conftest.err >&5
8055	fi
8056	rm -rf libconftest.dylib*
8057	rm -f conftest.*
8058      fi
8059fi
8060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8061$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8062
8063    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8064$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8065if ${lt_cv_ld_exported_symbols_list+:} false; then :
8066  $as_echo_n "(cached) " >&6
8067else
8068  lt_cv_ld_exported_symbols_list=no
8069      save_LDFLAGS=$LDFLAGS
8070      echo "_main" > conftest.sym
8071      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8072      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073/* end confdefs.h.  */
8074
8075int
8076main ()
8077{
8078
8079  ;
8080  return 0;
8081}
8082_ACEOF
8083if ac_fn_c_try_link "$LINENO"; then :
8084  lt_cv_ld_exported_symbols_list=yes
8085else
8086  lt_cv_ld_exported_symbols_list=no
8087fi
8088rm -f core conftest.err conftest.$ac_objext \
8089    conftest$ac_exeext conftest.$ac_ext
8090	LDFLAGS=$save_LDFLAGS
8091
8092fi
8093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8094$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8095
8096    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8097$as_echo_n "checking for -force_load linker flag... " >&6; }
8098if ${lt_cv_ld_force_load+:} false; then :
8099  $as_echo_n "(cached) " >&6
8100else
8101  lt_cv_ld_force_load=no
8102      cat > conftest.c << _LT_EOF
8103int forced_loaded() { return 2;}
8104_LT_EOF
8105      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8106      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8107      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
8108      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8109      echo "$RANLIB libconftest.a" >&5
8110      $RANLIB libconftest.a 2>&5
8111      cat > conftest.c << _LT_EOF
8112int main() { return 0;}
8113_LT_EOF
8114      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8115      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8116      _lt_result=$?
8117      if test -s conftest.err && $GREP force_load conftest.err; then
8118	cat conftest.err >&5
8119      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8120	lt_cv_ld_force_load=yes
8121      else
8122	cat conftest.err >&5
8123      fi
8124        rm -f conftest.err libconftest.a conftest conftest.c
8125        rm -rf conftest.dSYM
8126
8127fi
8128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8129$as_echo "$lt_cv_ld_force_load" >&6; }
8130    case $host_os in
8131    rhapsody* | darwin1.[012])
8132      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8133    darwin1.*)
8134      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8135    darwin*) # darwin 5.x on
8136      # if running on 10.5 or later, the deployment target defaults
8137      # to the OS version, if on x86, and 10.4, the deployment
8138      # target defaults to 10.4. Don't you love it?
8139      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8140	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8141	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8142	10.[012][,.]*)
8143	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8144	10.*)
8145	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8146      esac
8147    ;;
8148  esac
8149    if test yes = "$lt_cv_apple_cc_single_mod"; then
8150      _lt_dar_single_mod='$single_module'
8151    fi
8152    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8153      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8154    else
8155      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8156    fi
8157    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8158      _lt_dsymutil='~$DSYMUTIL $lib || :'
8159    else
8160      _lt_dsymutil=
8161    fi
8162    ;;
8163  esac
8164
8165# func_munge_path_list VARIABLE PATH
8166# -----------------------------------
8167# VARIABLE is name of variable containing _space_ separated list of
8168# directories to be munged by the contents of PATH, which is string
8169# having a format:
8170# "DIR[:DIR]:"
8171#       string "DIR[ DIR]" will be prepended to VARIABLE
8172# ":DIR[:DIR]"
8173#       string "DIR[ DIR]" will be appended to VARIABLE
8174# "DIRP[:DIRP]::[DIRA:]DIRA"
8175#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8176#       "DIRA[ DIRA]" will be appended to VARIABLE
8177# "DIR[:DIR]"
8178#       VARIABLE will be replaced by "DIR[ DIR]"
8179func_munge_path_list ()
8180{
8181    case x$2 in
8182    x)
8183        ;;
8184    *:)
8185        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8186        ;;
8187    x:*)
8188        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8189        ;;
8190    *::*)
8191        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8192        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8193        ;;
8194    *)
8195        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8196        ;;
8197    esac
8198}
8199
8200ac_ext=c
8201ac_cpp='$CPP $CPPFLAGS'
8202ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8203ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8204ac_compiler_gnu=$ac_cv_c_compiler_gnu
8205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8206$as_echo_n "checking how to run the C preprocessor... " >&6; }
8207# On Suns, sometimes $CPP names a directory.
8208if test -n "$CPP" && test -d "$CPP"; then
8209  CPP=
8210fi
8211if test -z "$CPP"; then
8212  if ${ac_cv_prog_CPP+:} false; then :
8213  $as_echo_n "(cached) " >&6
8214else
8215      # Double quotes because CPP needs to be expanded
8216    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8217    do
8218      ac_preproc_ok=false
8219for ac_c_preproc_warn_flag in '' yes
8220do
8221  # Use a header file that comes with gcc, so configuring glibc
8222  # with a fresh cross-compiler works.
8223  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8224  # <limits.h> exists even on freestanding compilers.
8225  # On the NeXT, cc -E runs the code through the compiler's parser,
8226  # not just through cpp. "Syntax error" is here to catch this case.
8227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228/* end confdefs.h.  */
8229#ifdef __STDC__
8230# include <limits.h>
8231#else
8232# include <assert.h>
8233#endif
8234		     Syntax error
8235_ACEOF
8236if ac_fn_c_try_cpp "$LINENO"; then :
8237
8238else
8239  # Broken: fails on valid input.
8240continue
8241fi
8242rm -f conftest.err conftest.i conftest.$ac_ext
8243
8244  # OK, works on sane cases.  Now check whether nonexistent headers
8245  # can be detected and how.
8246  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247/* end confdefs.h.  */
8248#include <ac_nonexistent.h>
8249_ACEOF
8250if ac_fn_c_try_cpp "$LINENO"; then :
8251  # Broken: success on invalid input.
8252continue
8253else
8254  # Passes both tests.
8255ac_preproc_ok=:
8256break
8257fi
8258rm -f conftest.err conftest.i conftest.$ac_ext
8259
8260done
8261# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8262rm -f conftest.i conftest.err conftest.$ac_ext
8263if $ac_preproc_ok; then :
8264  break
8265fi
8266
8267    done
8268    ac_cv_prog_CPP=$CPP
8269
8270fi
8271  CPP=$ac_cv_prog_CPP
8272else
8273  ac_cv_prog_CPP=$CPP
8274fi
8275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8276$as_echo "$CPP" >&6; }
8277ac_preproc_ok=false
8278for ac_c_preproc_warn_flag in '' yes
8279do
8280  # Use a header file that comes with gcc, so configuring glibc
8281  # with a fresh cross-compiler works.
8282  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8283  # <limits.h> exists even on freestanding compilers.
8284  # On the NeXT, cc -E runs the code through the compiler's parser,
8285  # not just through cpp. "Syntax error" is here to catch this case.
8286  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287/* end confdefs.h.  */
8288#ifdef __STDC__
8289# include <limits.h>
8290#else
8291# include <assert.h>
8292#endif
8293		     Syntax error
8294_ACEOF
8295if ac_fn_c_try_cpp "$LINENO"; then :
8296
8297else
8298  # Broken: fails on valid input.
8299continue
8300fi
8301rm -f conftest.err conftest.i conftest.$ac_ext
8302
8303  # OK, works on sane cases.  Now check whether nonexistent headers
8304  # can be detected and how.
8305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8306/* end confdefs.h.  */
8307#include <ac_nonexistent.h>
8308_ACEOF
8309if ac_fn_c_try_cpp "$LINENO"; then :
8310  # Broken: success on invalid input.
8311continue
8312else
8313  # Passes both tests.
8314ac_preproc_ok=:
8315break
8316fi
8317rm -f conftest.err conftest.i conftest.$ac_ext
8318
8319done
8320# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8321rm -f conftest.i conftest.err conftest.$ac_ext
8322if $ac_preproc_ok; then :
8323
8324else
8325  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8327as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8328See \`config.log' for more details" "$LINENO" 5; }
8329fi
8330
8331ac_ext=c
8332ac_cpp='$CPP $CPPFLAGS'
8333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8335ac_compiler_gnu=$ac_cv_c_compiler_gnu
8336
8337
8338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8339$as_echo_n "checking for ANSI C header files... " >&6; }
8340if ${ac_cv_header_stdc+:} false; then :
8341  $as_echo_n "(cached) " >&6
8342else
8343  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344/* end confdefs.h.  */
8345#include <stdlib.h>
8346#include <stdarg.h>
8347#include <string.h>
8348#include <float.h>
8349
8350int
8351main ()
8352{
8353
8354  ;
8355  return 0;
8356}
8357_ACEOF
8358if ac_fn_c_try_compile "$LINENO"; then :
8359  ac_cv_header_stdc=yes
8360else
8361  ac_cv_header_stdc=no
8362fi
8363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8364
8365if test $ac_cv_header_stdc = yes; then
8366  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8367  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368/* end confdefs.h.  */
8369#include <string.h>
8370
8371_ACEOF
8372if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8373  $EGREP "memchr" >/dev/null 2>&1; then :
8374
8375else
8376  ac_cv_header_stdc=no
8377fi
8378rm -f conftest*
8379
8380fi
8381
8382if test $ac_cv_header_stdc = yes; then
8383  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8384  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385/* end confdefs.h.  */
8386#include <stdlib.h>
8387
8388_ACEOF
8389if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8390  $EGREP "free" >/dev/null 2>&1; then :
8391
8392else
8393  ac_cv_header_stdc=no
8394fi
8395rm -f conftest*
8396
8397fi
8398
8399if test $ac_cv_header_stdc = yes; then
8400  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8401  if test "$cross_compiling" = yes; then :
8402  :
8403else
8404  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405/* end confdefs.h.  */
8406#include <ctype.h>
8407#include <stdlib.h>
8408#if ((' ' & 0x0FF) == 0x020)
8409# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8410# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8411#else
8412# define ISLOWER(c) \
8413		   (('a' <= (c) && (c) <= 'i') \
8414		     || ('j' <= (c) && (c) <= 'r') \
8415		     || ('s' <= (c) && (c) <= 'z'))
8416# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8417#endif
8418
8419#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8420int
8421main ()
8422{
8423  int i;
8424  for (i = 0; i < 256; i++)
8425    if (XOR (islower (i), ISLOWER (i))
8426	|| toupper (i) != TOUPPER (i))
8427      return 2;
8428  return 0;
8429}
8430_ACEOF
8431if ac_fn_c_try_run "$LINENO"; then :
8432
8433else
8434  ac_cv_header_stdc=no
8435fi
8436rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8437  conftest.$ac_objext conftest.beam conftest.$ac_ext
8438fi
8439
8440fi
8441fi
8442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8443$as_echo "$ac_cv_header_stdc" >&6; }
8444if test $ac_cv_header_stdc = yes; then
8445
8446$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8447
8448fi
8449
8450# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8451for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8452		  inttypes.h stdint.h unistd.h
8453do :
8454  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8455ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8456"
8457if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8458  cat >>confdefs.h <<_ACEOF
8459#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8460_ACEOF
8461
8462fi
8463
8464done
8465
8466
8467for ac_header in dlfcn.h
8468do :
8469  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8470"
8471if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8472  cat >>confdefs.h <<_ACEOF
8473#define HAVE_DLFCN_H 1
8474_ACEOF
8475
8476fi
8477
8478done
8479
8480
8481
8482
8483
8484# Set options
8485# Check whether --enable-static was given.
8486if test "${enable_static+set}" = set; then :
8487  enableval=$enable_static; p=${PACKAGE-default}
8488    case $enableval in
8489    yes) enable_static=yes ;;
8490    no) enable_static=no ;;
8491    *)
8492     enable_static=no
8493      # Look at the argument we got.  We use all the common list separators.
8494      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8495      for pkg in $enableval; do
8496	IFS=$lt_save_ifs
8497	if test "X$pkg" = "X$p"; then
8498	  enable_static=yes
8499	fi
8500      done
8501      IFS=$lt_save_ifs
8502      ;;
8503    esac
8504else
8505  enable_static=no
8506fi
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517        enable_dlopen=no
8518
8519
8520  enable_win32_dll=no
8521
8522
8523            # Check whether --enable-shared was given.
8524if test "${enable_shared+set}" = set; then :
8525  enableval=$enable_shared; p=${PACKAGE-default}
8526    case $enableval in
8527    yes) enable_shared=yes ;;
8528    no) enable_shared=no ;;
8529    *)
8530      enable_shared=no
8531      # Look at the argument we got.  We use all the common list separators.
8532      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8533      for pkg in $enableval; do
8534	IFS=$lt_save_ifs
8535	if test "X$pkg" = "X$p"; then
8536	  enable_shared=yes
8537	fi
8538      done
8539      IFS=$lt_save_ifs
8540      ;;
8541    esac
8542else
8543  enable_shared=yes
8544fi
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556# Check whether --with-pic was given.
8557if test "${with_pic+set}" = set; then :
8558  withval=$with_pic; lt_p=${PACKAGE-default}
8559    case $withval in
8560    yes|no) pic_mode=$withval ;;
8561    *)
8562      pic_mode=default
8563      # Look at the argument we got.  We use all the common list separators.
8564      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8565      for lt_pkg in $withval; do
8566	IFS=$lt_save_ifs
8567	if test "X$lt_pkg" = "X$lt_p"; then
8568	  pic_mode=yes
8569	fi
8570      done
8571      IFS=$lt_save_ifs
8572      ;;
8573    esac
8574else
8575  pic_mode=default
8576fi
8577
8578
8579
8580
8581
8582
8583
8584
8585  # Check whether --enable-fast-install was given.
8586if test "${enable_fast_install+set}" = set; then :
8587  enableval=$enable_fast_install; p=${PACKAGE-default}
8588    case $enableval in
8589    yes) enable_fast_install=yes ;;
8590    no) enable_fast_install=no ;;
8591    *)
8592      enable_fast_install=no
8593      # Look at the argument we got.  We use all the common list separators.
8594      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8595      for pkg in $enableval; do
8596	IFS=$lt_save_ifs
8597	if test "X$pkg" = "X$p"; then
8598	  enable_fast_install=yes
8599	fi
8600      done
8601      IFS=$lt_save_ifs
8602      ;;
8603    esac
8604else
8605  enable_fast_install=yes
8606fi
8607
8608
8609
8610
8611
8612
8613
8614
8615  shared_archive_member_spec=
8616case $host,$enable_shared in
8617power*-*-aix[5-9]*,yes)
8618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8619$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8620
8621# Check whether --with-aix-soname was given.
8622if test "${with_aix_soname+set}" = set; then :
8623  withval=$with_aix_soname; case $withval in
8624    aix|svr4|both)
8625      ;;
8626    *)
8627      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8628      ;;
8629    esac
8630    lt_cv_with_aix_soname=$with_aix_soname
8631else
8632  if ${lt_cv_with_aix_soname+:} false; then :
8633  $as_echo_n "(cached) " >&6
8634else
8635  lt_cv_with_aix_soname=aix
8636fi
8637
8638    with_aix_soname=$lt_cv_with_aix_soname
8639fi
8640
8641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8642$as_echo "$with_aix_soname" >&6; }
8643  if test aix != "$with_aix_soname"; then
8644    # For the AIX way of multilib, we name the shared archive member
8645    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8646    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8647    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8648    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8649    if test 64 = "${OBJECT_MODE-32}"; then
8650      shared_archive_member_spec=shr_64
8651    else
8652      shared_archive_member_spec=shr
8653    fi
8654  fi
8655  ;;
8656*)
8657  with_aix_soname=aix
8658  ;;
8659esac
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670# This can be used to rebuild libtool when needed
8671LIBTOOL_DEPS=$ltmain
8672
8673# Always use our own libtool.
8674LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705test -z "$LN_S" && LN_S="ln -s"
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720if test -n "${ZSH_VERSION+set}"; then
8721   setopt NO_GLOB_SUBST
8722fi
8723
8724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8725$as_echo_n "checking for objdir... " >&6; }
8726if ${lt_cv_objdir+:} false; then :
8727  $as_echo_n "(cached) " >&6
8728else
8729  rm -f .libs 2>/dev/null
8730mkdir .libs 2>/dev/null
8731if test -d .libs; then
8732  lt_cv_objdir=.libs
8733else
8734  # MS-DOS does not allow filenames that begin with a dot.
8735  lt_cv_objdir=_libs
8736fi
8737rmdir .libs 2>/dev/null
8738fi
8739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8740$as_echo "$lt_cv_objdir" >&6; }
8741objdir=$lt_cv_objdir
8742
8743
8744
8745
8746
8747cat >>confdefs.h <<_ACEOF
8748#define LT_OBJDIR "$lt_cv_objdir/"
8749_ACEOF
8750
8751
8752
8753
8754case $host_os in
8755aix3*)
8756  # AIX sometimes has problems with the GCC collect2 program.  For some
8757  # reason, if we set the COLLECT_NAMES environment variable, the problems
8758  # vanish in a puff of smoke.
8759  if test set != "${COLLECT_NAMES+set}"; then
8760    COLLECT_NAMES=
8761    export COLLECT_NAMES
8762  fi
8763  ;;
8764esac
8765
8766# Global variables:
8767ofile=libtool
8768can_build_shared=yes
8769
8770# All known linkers require a '.a' archive for static linking (except MSVC and
8771# ICC, which need '.lib').
8772libext=a
8773
8774with_gnu_ld=$lt_cv_prog_gnu_ld
8775
8776old_CC=$CC
8777old_CFLAGS=$CFLAGS
8778
8779# Set sane defaults for various variables
8780test -z "$CC" && CC=cc
8781test -z "$LTCC" && LTCC=$CC
8782test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8783test -z "$LD" && LD=ld
8784test -z "$ac_objext" && ac_objext=o
8785
8786func_cc_basename $compiler
8787cc_basename=$func_cc_basename_result
8788
8789
8790# Only perform the check for file, if the check method requires it
8791test -z "$MAGIC_CMD" && MAGIC_CMD=file
8792case $deplibs_check_method in
8793file_magic*)
8794  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8795    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8796$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8797if ${lt_cv_path_MAGIC_CMD+:} false; then :
8798  $as_echo_n "(cached) " >&6
8799else
8800  case $MAGIC_CMD in
8801[\\/*] |  ?:[\\/]*)
8802  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8803  ;;
8804*)
8805  lt_save_MAGIC_CMD=$MAGIC_CMD
8806  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8807  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8808  for ac_dir in $ac_dummy; do
8809    IFS=$lt_save_ifs
8810    test -z "$ac_dir" && ac_dir=.
8811    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8812      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8813      if test -n "$file_magic_test_file"; then
8814	case $deplibs_check_method in
8815	"file_magic "*)
8816	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8817	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8818	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8819	    $EGREP "$file_magic_regex" > /dev/null; then
8820	    :
8821	  else
8822	    cat <<_LT_EOF 1>&2
8823
8824*** Warning: the command libtool uses to detect shared libraries,
8825*** $file_magic_cmd, produces output that libtool cannot recognize.
8826*** The result is that libtool may fail to recognize shared libraries
8827*** as such.  This will affect the creation of libtool libraries that
8828*** depend on shared libraries, but programs linked with such libtool
8829*** libraries will work regardless of this problem.  Nevertheless, you
8830*** may want to report the problem to your system manager and/or to
8831*** bug-libtool@gnu.org
8832
8833_LT_EOF
8834	  fi ;;
8835	esac
8836      fi
8837      break
8838    fi
8839  done
8840  IFS=$lt_save_ifs
8841  MAGIC_CMD=$lt_save_MAGIC_CMD
8842  ;;
8843esac
8844fi
8845
8846MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8847if test -n "$MAGIC_CMD"; then
8848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8849$as_echo "$MAGIC_CMD" >&6; }
8850else
8851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8852$as_echo "no" >&6; }
8853fi
8854
8855
8856
8857
8858
8859if test -z "$lt_cv_path_MAGIC_CMD"; then
8860  if test -n "$ac_tool_prefix"; then
8861    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8862$as_echo_n "checking for file... " >&6; }
8863if ${lt_cv_path_MAGIC_CMD+:} false; then :
8864  $as_echo_n "(cached) " >&6
8865else
8866  case $MAGIC_CMD in
8867[\\/*] |  ?:[\\/]*)
8868  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8869  ;;
8870*)
8871  lt_save_MAGIC_CMD=$MAGIC_CMD
8872  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8873  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8874  for ac_dir in $ac_dummy; do
8875    IFS=$lt_save_ifs
8876    test -z "$ac_dir" && ac_dir=.
8877    if test -f "$ac_dir/file"; then
8878      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8879      if test -n "$file_magic_test_file"; then
8880	case $deplibs_check_method in
8881	"file_magic "*)
8882	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8883	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8884	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8885	    $EGREP "$file_magic_regex" > /dev/null; then
8886	    :
8887	  else
8888	    cat <<_LT_EOF 1>&2
8889
8890*** Warning: the command libtool uses to detect shared libraries,
8891*** $file_magic_cmd, produces output that libtool cannot recognize.
8892*** The result is that libtool may fail to recognize shared libraries
8893*** as such.  This will affect the creation of libtool libraries that
8894*** depend on shared libraries, but programs linked with such libtool
8895*** libraries will work regardless of this problem.  Nevertheless, you
8896*** may want to report the problem to your system manager and/or to
8897*** bug-libtool@gnu.org
8898
8899_LT_EOF
8900	  fi ;;
8901	esac
8902      fi
8903      break
8904    fi
8905  done
8906  IFS=$lt_save_ifs
8907  MAGIC_CMD=$lt_save_MAGIC_CMD
8908  ;;
8909esac
8910fi
8911
8912MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8913if test -n "$MAGIC_CMD"; then
8914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8915$as_echo "$MAGIC_CMD" >&6; }
8916else
8917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8918$as_echo "no" >&6; }
8919fi
8920
8921
8922  else
8923    MAGIC_CMD=:
8924  fi
8925fi
8926
8927  fi
8928  ;;
8929esac
8930
8931# Use C for the default configuration in the libtool script
8932
8933lt_save_CC=$CC
8934ac_ext=c
8935ac_cpp='$CPP $CPPFLAGS'
8936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8938ac_compiler_gnu=$ac_cv_c_compiler_gnu
8939
8940
8941# Source file extension for C test sources.
8942ac_ext=c
8943
8944# Object file extension for compiled C test sources.
8945objext=o
8946objext=$objext
8947
8948# Code to be used in simple compile tests
8949lt_simple_compile_test_code="int some_variable = 0;"
8950
8951# Code to be used in simple link tests
8952lt_simple_link_test_code='int main(){return(0);}'
8953
8954
8955
8956
8957
8958
8959
8960# If no C compiler was specified, use CC.
8961LTCC=${LTCC-"$CC"}
8962
8963# If no C compiler flags were specified, use CFLAGS.
8964LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8965
8966# Allow CC to be a program name with arguments.
8967compiler=$CC
8968
8969# Save the default compiler, since it gets overwritten when the other
8970# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8971compiler_DEFAULT=$CC
8972
8973# save warnings/boilerplate of simple test code
8974ac_outfile=conftest.$ac_objext
8975echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8976eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8977_lt_compiler_boilerplate=`cat conftest.err`
8978$RM conftest*
8979
8980ac_outfile=conftest.$ac_objext
8981echo "$lt_simple_link_test_code" >conftest.$ac_ext
8982eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8983_lt_linker_boilerplate=`cat conftest.err`
8984$RM -r conftest*
8985
8986
8987if test -n "$compiler"; then
8988
8989lt_prog_compiler_no_builtin_flag=
8990
8991if test yes = "$GCC"; then
8992  case $cc_basename in
8993  nvcc*)
8994    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8995  *)
8996    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8997  esac
8998
8999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9000$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9001if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9002  $as_echo_n "(cached) " >&6
9003else
9004  lt_cv_prog_compiler_rtti_exceptions=no
9005   ac_outfile=conftest.$ac_objext
9006   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9008   # Insert the option either (1) after the last *FLAGS variable, or
9009   # (2) before a word containing "conftest.", or (3) at the end.
9010   # Note that $ac_compile itself does not contain backslashes and begins
9011   # with a dollar sign (not a hyphen), so the echo should work correctly.
9012   # The option is referenced via a variable to avoid confusing sed.
9013   lt_compile=`echo "$ac_compile" | $SED \
9014   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016   -e 's:$: $lt_compiler_flag:'`
9017   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018   (eval "$lt_compile" 2>conftest.err)
9019   ac_status=$?
9020   cat conftest.err >&5
9021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022   if (exit $ac_status) && test -s "$ac_outfile"; then
9023     # The compiler can only warn and ignore the option if not recognized
9024     # So say no if there are warnings other than the usual output.
9025     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9026     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9027     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9028       lt_cv_prog_compiler_rtti_exceptions=yes
9029     fi
9030   fi
9031   $RM conftest*
9032
9033fi
9034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9035$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9036
9037if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9038    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9039else
9040    :
9041fi
9042
9043fi
9044
9045
9046
9047
9048
9049
9050  lt_prog_compiler_wl=
9051lt_prog_compiler_pic=
9052lt_prog_compiler_static=
9053
9054
9055  if test yes = "$GCC"; then
9056    lt_prog_compiler_wl='-Wl,'
9057    lt_prog_compiler_static='-static'
9058
9059    case $host_os in
9060      aix*)
9061      # All AIX code is PIC.
9062      if test ia64 = "$host_cpu"; then
9063	# AIX 5 now supports IA64 processor
9064	lt_prog_compiler_static='-Bstatic'
9065      fi
9066      lt_prog_compiler_pic='-fPIC'
9067      ;;
9068
9069    amigaos*)
9070      case $host_cpu in
9071      powerpc)
9072            # see comment about AmigaOS4 .so support
9073            lt_prog_compiler_pic='-fPIC'
9074        ;;
9075      m68k)
9076            # FIXME: we need at least 68020 code to build shared libraries, but
9077            # adding the '-m68020' flag to GCC prevents building anything better,
9078            # like '-m68040'.
9079            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9080        ;;
9081      esac
9082      ;;
9083
9084    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9085      # PIC is the default for these OSes.
9086      ;;
9087
9088    mingw* | cygwin* | pw32* | os2* | cegcc*)
9089      # This hack is so that the source file can tell whether it is being
9090      # built for inclusion in a dll (and should export symbols for example).
9091      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9092      # (--disable-auto-import) libraries
9093      lt_prog_compiler_pic='-DDLL_EXPORT'
9094      case $host_os in
9095      os2*)
9096	lt_prog_compiler_static='$wl-static'
9097	;;
9098      esac
9099      ;;
9100
9101    darwin* | rhapsody*)
9102      # PIC is the default on this platform
9103      # Common symbols not allowed in MH_DYLIB files
9104      lt_prog_compiler_pic='-fno-common'
9105      ;;
9106
9107    haiku*)
9108      # PIC is the default for Haiku.
9109      # The "-static" flag exists, but is broken.
9110      lt_prog_compiler_static=
9111      ;;
9112
9113    hpux*)
9114      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9115      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9116      # sets the default TLS model and affects inlining.
9117      case $host_cpu in
9118      hppa*64*)
9119	# +Z the default
9120	;;
9121      *)
9122	lt_prog_compiler_pic='-fPIC'
9123	;;
9124      esac
9125      ;;
9126
9127    interix[3-9]*)
9128      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9129      # Instead, we relocate shared libraries at runtime.
9130      ;;
9131
9132    msdosdjgpp*)
9133      # Just because we use GCC doesn't mean we suddenly get shared libraries
9134      # on systems that don't support them.
9135      lt_prog_compiler_can_build_shared=no
9136      enable_shared=no
9137      ;;
9138
9139    *nto* | *qnx*)
9140      # QNX uses GNU C++, but need to define -shared option too, otherwise
9141      # it will coredump.
9142      lt_prog_compiler_pic='-fPIC -shared'
9143      ;;
9144
9145    sysv4*MP*)
9146      if test -d /usr/nec; then
9147	lt_prog_compiler_pic=-Kconform_pic
9148      fi
9149      ;;
9150
9151    *)
9152      lt_prog_compiler_pic='-fPIC'
9153      ;;
9154    esac
9155
9156    case $cc_basename in
9157    nvcc*) # Cuda Compiler Driver 2.2
9158      lt_prog_compiler_wl='-Xlinker '
9159      if test -n "$lt_prog_compiler_pic"; then
9160        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9161      fi
9162      ;;
9163    esac
9164  else
9165    # PORTME Check for flag to pass linker flags through the system compiler.
9166    case $host_os in
9167    aix*)
9168      lt_prog_compiler_wl='-Wl,'
9169      if test ia64 = "$host_cpu"; then
9170	# AIX 5 now supports IA64 processor
9171	lt_prog_compiler_static='-Bstatic'
9172      else
9173	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9174      fi
9175      ;;
9176
9177    darwin* | rhapsody*)
9178      # PIC is the default on this platform
9179      # Common symbols not allowed in MH_DYLIB files
9180      lt_prog_compiler_pic='-fno-common'
9181      case $cc_basename in
9182      nagfor*)
9183        # NAG Fortran compiler
9184        lt_prog_compiler_wl='-Wl,-Wl,,'
9185        lt_prog_compiler_pic='-PIC'
9186        lt_prog_compiler_static='-Bstatic'
9187        ;;
9188      esac
9189      ;;
9190
9191    mingw* | cygwin* | pw32* | os2* | cegcc*)
9192      # This hack is so that the source file can tell whether it is being
9193      # built for inclusion in a dll (and should export symbols for example).
9194      lt_prog_compiler_pic='-DDLL_EXPORT'
9195      case $host_os in
9196      os2*)
9197	lt_prog_compiler_static='$wl-static'
9198	;;
9199      esac
9200      ;;
9201
9202    hpux9* | hpux10* | hpux11*)
9203      lt_prog_compiler_wl='-Wl,'
9204      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9205      # not for PA HP-UX.
9206      case $host_cpu in
9207      hppa*64*|ia64*)
9208	# +Z the default
9209	;;
9210      *)
9211	lt_prog_compiler_pic='+Z'
9212	;;
9213      esac
9214      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9215      lt_prog_compiler_static='$wl-a ${wl}archive'
9216      ;;
9217
9218    irix5* | irix6* | nonstopux*)
9219      lt_prog_compiler_wl='-Wl,'
9220      # PIC (with -KPIC) is the default.
9221      lt_prog_compiler_static='-non_shared'
9222      ;;
9223
9224    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9225      case $cc_basename in
9226      # old Intel for x86_64, which still supported -KPIC.
9227      ecc*)
9228	lt_prog_compiler_wl='-Wl,'
9229	lt_prog_compiler_pic='-KPIC'
9230	lt_prog_compiler_static='-static'
9231        ;;
9232      # icc used to be incompatible with GCC.
9233      # ICC 10 doesn't accept -KPIC any more.
9234      icc* | ifort*)
9235	lt_prog_compiler_wl='-Wl,'
9236	lt_prog_compiler_pic='-fPIC'
9237	lt_prog_compiler_static='-static'
9238        ;;
9239      # Lahey Fortran 8.1.
9240      lf95*)
9241	lt_prog_compiler_wl='-Wl,'
9242	lt_prog_compiler_pic='--shared'
9243	lt_prog_compiler_static='--static'
9244	;;
9245      nagfor*)
9246	# NAG Fortran compiler
9247	lt_prog_compiler_wl='-Wl,-Wl,,'
9248	lt_prog_compiler_pic='-PIC'
9249	lt_prog_compiler_static='-Bstatic'
9250	;;
9251      tcc*)
9252	# Fabrice Bellard et al's Tiny C Compiler
9253	lt_prog_compiler_wl='-Wl,'
9254	lt_prog_compiler_pic='-fPIC'
9255	lt_prog_compiler_static='-static'
9256	;;
9257      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9258        # Portland Group compilers (*not* the Pentium gcc compiler,
9259	# which looks to be a dead project)
9260	lt_prog_compiler_wl='-Wl,'
9261	lt_prog_compiler_pic='-fpic'
9262	lt_prog_compiler_static='-Bstatic'
9263        ;;
9264      ccc*)
9265        lt_prog_compiler_wl='-Wl,'
9266        # All Alpha code is PIC.
9267        lt_prog_compiler_static='-non_shared'
9268        ;;
9269      xl* | bgxl* | bgf* | mpixl*)
9270	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9271	lt_prog_compiler_wl='-Wl,'
9272	lt_prog_compiler_pic='-qpic'
9273	lt_prog_compiler_static='-qstaticlink'
9274	;;
9275      *)
9276	case `$CC -V 2>&1 | sed 5q` in
9277	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9278	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9279	  lt_prog_compiler_pic='-KPIC'
9280	  lt_prog_compiler_static='-Bstatic'
9281	  lt_prog_compiler_wl=''
9282	  ;;
9283	*Sun\ F* | *Sun*Fortran*)
9284	  lt_prog_compiler_pic='-KPIC'
9285	  lt_prog_compiler_static='-Bstatic'
9286	  lt_prog_compiler_wl='-Qoption ld '
9287	  ;;
9288	*Sun\ C*)
9289	  # Sun C 5.9
9290	  lt_prog_compiler_pic='-KPIC'
9291	  lt_prog_compiler_static='-Bstatic'
9292	  lt_prog_compiler_wl='-Wl,'
9293	  ;;
9294        *Intel*\ [CF]*Compiler*)
9295	  lt_prog_compiler_wl='-Wl,'
9296	  lt_prog_compiler_pic='-fPIC'
9297	  lt_prog_compiler_static='-static'
9298	  ;;
9299	*Portland\ Group*)
9300	  lt_prog_compiler_wl='-Wl,'
9301	  lt_prog_compiler_pic='-fpic'
9302	  lt_prog_compiler_static='-Bstatic'
9303	  ;;
9304	esac
9305	;;
9306      esac
9307      ;;
9308
9309    newsos6)
9310      lt_prog_compiler_pic='-KPIC'
9311      lt_prog_compiler_static='-Bstatic'
9312      ;;
9313
9314    *nto* | *qnx*)
9315      # QNX uses GNU C++, but need to define -shared option too, otherwise
9316      # it will coredump.
9317      lt_prog_compiler_pic='-fPIC -shared'
9318      ;;
9319
9320    osf3* | osf4* | osf5*)
9321      lt_prog_compiler_wl='-Wl,'
9322      # All OSF/1 code is PIC.
9323      lt_prog_compiler_static='-non_shared'
9324      ;;
9325
9326    rdos*)
9327      lt_prog_compiler_static='-non_shared'
9328      ;;
9329
9330    solaris*)
9331      lt_prog_compiler_pic='-KPIC'
9332      lt_prog_compiler_static='-Bstatic'
9333      case $cc_basename in
9334      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9335	lt_prog_compiler_wl='-Qoption ld ';;
9336      *)
9337	lt_prog_compiler_wl='-Wl,';;
9338      esac
9339      ;;
9340
9341    sunos4*)
9342      lt_prog_compiler_wl='-Qoption ld '
9343      lt_prog_compiler_pic='-PIC'
9344      lt_prog_compiler_static='-Bstatic'
9345      ;;
9346
9347    sysv4 | sysv4.2uw2* | sysv4.3*)
9348      lt_prog_compiler_wl='-Wl,'
9349      lt_prog_compiler_pic='-KPIC'
9350      lt_prog_compiler_static='-Bstatic'
9351      ;;
9352
9353    sysv4*MP*)
9354      if test -d /usr/nec; then
9355	lt_prog_compiler_pic='-Kconform_pic'
9356	lt_prog_compiler_static='-Bstatic'
9357      fi
9358      ;;
9359
9360    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9361      lt_prog_compiler_wl='-Wl,'
9362      lt_prog_compiler_pic='-KPIC'
9363      lt_prog_compiler_static='-Bstatic'
9364      ;;
9365
9366    unicos*)
9367      lt_prog_compiler_wl='-Wl,'
9368      lt_prog_compiler_can_build_shared=no
9369      ;;
9370
9371    uts4*)
9372      lt_prog_compiler_pic='-pic'
9373      lt_prog_compiler_static='-Bstatic'
9374      ;;
9375
9376    *)
9377      lt_prog_compiler_can_build_shared=no
9378      ;;
9379    esac
9380  fi
9381
9382case $host_os in
9383  # For platforms that do not support PIC, -DPIC is meaningless:
9384  *djgpp*)
9385    lt_prog_compiler_pic=
9386    ;;
9387  *)
9388    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9389    ;;
9390esac
9391
9392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9393$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9394if ${lt_cv_prog_compiler_pic+:} false; then :
9395  $as_echo_n "(cached) " >&6
9396else
9397  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9398fi
9399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9400$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9401lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9402
9403#
9404# Check to make sure the PIC flag actually works.
9405#
9406if test -n "$lt_prog_compiler_pic"; then
9407  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9408$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9409if ${lt_cv_prog_compiler_pic_works+:} false; then :
9410  $as_echo_n "(cached) " >&6
9411else
9412  lt_cv_prog_compiler_pic_works=no
9413   ac_outfile=conftest.$ac_objext
9414   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9415   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9416   # Insert the option either (1) after the last *FLAGS variable, or
9417   # (2) before a word containing "conftest.", or (3) at the end.
9418   # Note that $ac_compile itself does not contain backslashes and begins
9419   # with a dollar sign (not a hyphen), so the echo should work correctly.
9420   # The option is referenced via a variable to avoid confusing sed.
9421   lt_compile=`echo "$ac_compile" | $SED \
9422   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9423   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9424   -e 's:$: $lt_compiler_flag:'`
9425   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9426   (eval "$lt_compile" 2>conftest.err)
9427   ac_status=$?
9428   cat conftest.err >&5
9429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430   if (exit $ac_status) && test -s "$ac_outfile"; then
9431     # The compiler can only warn and ignore the option if not recognized
9432     # So say no if there are warnings other than the usual output.
9433     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9434     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9435     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9436       lt_cv_prog_compiler_pic_works=yes
9437     fi
9438   fi
9439   $RM conftest*
9440
9441fi
9442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9443$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9444
9445if test yes = "$lt_cv_prog_compiler_pic_works"; then
9446    case $lt_prog_compiler_pic in
9447     "" | " "*) ;;
9448     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9449     esac
9450else
9451    lt_prog_compiler_pic=
9452     lt_prog_compiler_can_build_shared=no
9453fi
9454
9455fi
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467#
9468# Check to make sure the static flag actually works.
9469#
9470wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9472$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9473if ${lt_cv_prog_compiler_static_works+:} false; then :
9474  $as_echo_n "(cached) " >&6
9475else
9476  lt_cv_prog_compiler_static_works=no
9477   save_LDFLAGS=$LDFLAGS
9478   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9479   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9480   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9481     # The linker can only warn and ignore the option if not recognized
9482     # So say no if there are warnings
9483     if test -s conftest.err; then
9484       # Append any errors to the config.log.
9485       cat conftest.err 1>&5
9486       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9487       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9488       if diff conftest.exp conftest.er2 >/dev/null; then
9489         lt_cv_prog_compiler_static_works=yes
9490       fi
9491     else
9492       lt_cv_prog_compiler_static_works=yes
9493     fi
9494   fi
9495   $RM -r conftest*
9496   LDFLAGS=$save_LDFLAGS
9497
9498fi
9499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9500$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9501
9502if test yes = "$lt_cv_prog_compiler_static_works"; then
9503    :
9504else
9505    lt_prog_compiler_static=
9506fi
9507
9508
9509
9510
9511
9512
9513
9514  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9515$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9516if ${lt_cv_prog_compiler_c_o+:} false; then :
9517  $as_echo_n "(cached) " >&6
9518else
9519  lt_cv_prog_compiler_c_o=no
9520   $RM -r conftest 2>/dev/null
9521   mkdir conftest
9522   cd conftest
9523   mkdir out
9524   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9525
9526   lt_compiler_flag="-o out/conftest2.$ac_objext"
9527   # Insert the option either (1) after the last *FLAGS variable, or
9528   # (2) before a word containing "conftest.", or (3) at the end.
9529   # Note that $ac_compile itself does not contain backslashes and begins
9530   # with a dollar sign (not a hyphen), so the echo should work correctly.
9531   lt_compile=`echo "$ac_compile" | $SED \
9532   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534   -e 's:$: $lt_compiler_flag:'`
9535   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536   (eval "$lt_compile" 2>out/conftest.err)
9537   ac_status=$?
9538   cat out/conftest.err >&5
9539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9541   then
9542     # The compiler can only warn and ignore the option if not recognized
9543     # So say no if there are warnings
9544     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9545     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9546     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9547       lt_cv_prog_compiler_c_o=yes
9548     fi
9549   fi
9550   chmod u+w . 2>&5
9551   $RM conftest*
9552   # SGI C++ compiler will create directory out/ii_files/ for
9553   # template instantiation
9554   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9555   $RM out/* && rmdir out
9556   cd ..
9557   $RM -r conftest
9558   $RM conftest*
9559
9560fi
9561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9562$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9563
9564
9565
9566
9567
9568
9569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9570$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9571if ${lt_cv_prog_compiler_c_o+:} false; then :
9572  $as_echo_n "(cached) " >&6
9573else
9574  lt_cv_prog_compiler_c_o=no
9575   $RM -r conftest 2>/dev/null
9576   mkdir conftest
9577   cd conftest
9578   mkdir out
9579   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9580
9581   lt_compiler_flag="-o out/conftest2.$ac_objext"
9582   # Insert the option either (1) after the last *FLAGS variable, or
9583   # (2) before a word containing "conftest.", or (3) at the end.
9584   # Note that $ac_compile itself does not contain backslashes and begins
9585   # with a dollar sign (not a hyphen), so the echo should work correctly.
9586   lt_compile=`echo "$ac_compile" | $SED \
9587   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9588   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9589   -e 's:$: $lt_compiler_flag:'`
9590   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9591   (eval "$lt_compile" 2>out/conftest.err)
9592   ac_status=$?
9593   cat out/conftest.err >&5
9594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9596   then
9597     # The compiler can only warn and ignore the option if not recognized
9598     # So say no if there are warnings
9599     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9600     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9601     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9602       lt_cv_prog_compiler_c_o=yes
9603     fi
9604   fi
9605   chmod u+w . 2>&5
9606   $RM conftest*
9607   # SGI C++ compiler will create directory out/ii_files/ for
9608   # template instantiation
9609   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9610   $RM out/* && rmdir out
9611   cd ..
9612   $RM -r conftest
9613   $RM conftest*
9614
9615fi
9616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9617$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9618
9619
9620
9621
9622hard_links=nottested
9623if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9624  # do not overwrite the value of need_locks provided by the user
9625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9626$as_echo_n "checking if we can lock with hard links... " >&6; }
9627  hard_links=yes
9628  $RM conftest*
9629  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9630  touch conftest.a
9631  ln conftest.a conftest.b 2>&5 || hard_links=no
9632  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9634$as_echo "$hard_links" >&6; }
9635  if test no = "$hard_links"; then
9636    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9637$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9638    need_locks=warn
9639  fi
9640else
9641  need_locks=no
9642fi
9643
9644
9645
9646
9647
9648
9649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9650$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9651
9652  runpath_var=
9653  allow_undefined_flag=
9654  always_export_symbols=no
9655  archive_cmds=
9656  archive_expsym_cmds=
9657  compiler_needs_object=no
9658  enable_shared_with_static_runtimes=no
9659  export_dynamic_flag_spec=
9660  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9661  hardcode_automatic=no
9662  hardcode_direct=no
9663  hardcode_direct_absolute=no
9664  hardcode_libdir_flag_spec=
9665  hardcode_libdir_separator=
9666  hardcode_minus_L=no
9667  hardcode_shlibpath_var=unsupported
9668  inherit_rpath=no
9669  link_all_deplibs=unknown
9670  module_cmds=
9671  module_expsym_cmds=
9672  old_archive_from_new_cmds=
9673  old_archive_from_expsyms_cmds=
9674  thread_safe_flag_spec=
9675  whole_archive_flag_spec=
9676  # include_expsyms should be a list of space-separated symbols to be *always*
9677  # included in the symbol list
9678  include_expsyms=
9679  # exclude_expsyms can be an extended regexp of symbols to exclude
9680  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9681  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9682  # as well as any symbol that contains 'd'.
9683  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9684  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9685  # platforms (ab)use it in PIC code, but their linkers get confused if
9686  # the symbol is explicitly referenced.  Since portable code cannot
9687  # rely on this symbol name, it's probably fine to never include it in
9688  # preloaded symbol tables.
9689  # Exclude shared library initialization/finalization symbols.
9690  extract_expsyms_cmds=
9691
9692  case $host_os in
9693  cygwin* | mingw* | pw32* | cegcc*)
9694    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
9695    # When not using gcc, we currently assume that we are using
9696    # Microsoft Visual C++ or Intel C++ Compiler.
9697    if test yes != "$GCC"; then
9698      with_gnu_ld=no
9699    fi
9700    ;;
9701  interix*)
9702    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
9703    with_gnu_ld=yes
9704    ;;
9705  openbsd* | bitrig*)
9706    with_gnu_ld=no
9707    ;;
9708  esac
9709
9710  ld_shlibs=yes
9711
9712  # On some targets, GNU ld is compatible enough with the native linker
9713  # that we're better off using the native interface for both.
9714  lt_use_gnu_ld_interface=no
9715  if test yes = "$with_gnu_ld"; then
9716    case $host_os in
9717      aix*)
9718	# The AIX port of GNU ld has always aspired to compatibility
9719	# with the native linker.  However, as the warning in the GNU ld
9720	# block says, versions before 2.19.5* couldn't really create working
9721	# shared libraries, regardless of the interface used.
9722	case `$LD -v 2>&1` in
9723	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9724	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9725	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9726	  *)
9727	    lt_use_gnu_ld_interface=yes
9728	    ;;
9729	esac
9730	;;
9731      *)
9732	lt_use_gnu_ld_interface=yes
9733	;;
9734    esac
9735  fi
9736
9737  if test yes = "$lt_use_gnu_ld_interface"; then
9738    # If archive_cmds runs LD, not CC, wlarc should be empty
9739    wlarc='$wl'
9740
9741    # Set some defaults for GNU ld with shared library support. These
9742    # are reset later if shared libraries are not supported. Putting them
9743    # here allows them to be overridden if necessary.
9744    runpath_var=LD_RUN_PATH
9745    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9746    export_dynamic_flag_spec='$wl--export-dynamic'
9747    # ancient GNU ld didn't support --whole-archive et. al.
9748    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9749      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9750    else
9751      whole_archive_flag_spec=
9752    fi
9753    supports_anon_versioning=no
9754    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9755      *GNU\ gold*) supports_anon_versioning=yes ;;
9756      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9757      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9758      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9759      *\ 2.11.*) ;; # other 2.11 versions
9760      *) supports_anon_versioning=yes ;;
9761    esac
9762
9763    # See if GNU ld supports shared libraries.
9764    case $host_os in
9765    aix[3-9]*)
9766      # On AIX/PPC, the GNU linker is very broken
9767      if test ia64 != "$host_cpu"; then
9768	ld_shlibs=no
9769	cat <<_LT_EOF 1>&2
9770
9771*** Warning: the GNU linker, at least up to release 2.19, is reported
9772*** to be unable to reliably create shared libraries on AIX.
9773*** Therefore, libtool is disabling shared libraries support.  If you
9774*** really care for shared libraries, you may want to install binutils
9775*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9776*** You will then need to restart the configuration process.
9777
9778_LT_EOF
9779      fi
9780      ;;
9781
9782    amigaos*)
9783      case $host_cpu in
9784      powerpc)
9785            # see comment about AmigaOS4 .so support
9786            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9787            archive_expsym_cmds=''
9788        ;;
9789      m68k)
9790            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)'
9791            hardcode_libdir_flag_spec='-L$libdir'
9792            hardcode_minus_L=yes
9793        ;;
9794      esac
9795      ;;
9796
9797    beos*)
9798      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9799	allow_undefined_flag=unsupported
9800	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9801	# support --undefined.  This deserves some investigation.  FIXME
9802	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9803      else
9804	ld_shlibs=no
9805      fi
9806      ;;
9807
9808    cygwin* | mingw* | pw32* | cegcc*)
9809      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9810      # as there is no search path for DLLs.
9811      hardcode_libdir_flag_spec='-L$libdir'
9812      export_dynamic_flag_spec='$wl--export-all-symbols'
9813      allow_undefined_flag=unsupported
9814      always_export_symbols=no
9815      enable_shared_with_static_runtimes=yes
9816      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'
9817      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9818
9819      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9820        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9821	# If the export-symbols file already is a .def file, use it as
9822	# is; otherwise, prepend EXPORTS...
9823	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9824          cp $export_symbols $output_objdir/$soname.def;
9825        else
9826          echo EXPORTS > $output_objdir/$soname.def;
9827          cat $export_symbols >> $output_objdir/$soname.def;
9828        fi~
9829        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9830      else
9831	ld_shlibs=no
9832      fi
9833      ;;
9834
9835    haiku*)
9836      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9837      link_all_deplibs=yes
9838      ;;
9839
9840    os2*)
9841      hardcode_libdir_flag_spec='-L$libdir'
9842      hardcode_minus_L=yes
9843      allow_undefined_flag=unsupported
9844      shrext_cmds=.dll
9845      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9846	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9847	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9848	$ECHO EXPORTS >> $output_objdir/$libname.def~
9849	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9850	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9851	emximp -o $lib $output_objdir/$libname.def'
9852      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9853	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9854	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9855	$ECHO EXPORTS >> $output_objdir/$libname.def~
9856	prefix_cmds="$SED"~
9857	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9858	  prefix_cmds="$prefix_cmds -e 1d";
9859	fi~
9860	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9861	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9862	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9863	emximp -o $lib $output_objdir/$libname.def'
9864      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9865      enable_shared_with_static_runtimes=yes
9866      file_list_spec='@'
9867      ;;
9868
9869    interix[3-9]*)
9870      hardcode_direct=no
9871      hardcode_shlibpath_var=no
9872      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9873      export_dynamic_flag_spec='$wl-E'
9874      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9875      # Instead, shared libraries are loaded at an image base (0x10000000 by
9876      # default) and relocated if they conflict, which is a slow very memory
9877      # consuming and fragmenting process.  To avoid this, we pick a random,
9878      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9879      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9880      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9881      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'
9882      ;;
9883
9884    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9885      tmp_diet=no
9886      if test linux-dietlibc = "$host_os"; then
9887	case $cc_basename in
9888	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9889	esac
9890      fi
9891      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9892	 && test no = "$tmp_diet"
9893      then
9894	tmp_addflag=' $pic_flag'
9895	tmp_sharedflag='-shared'
9896	case $cc_basename,$host_cpu in
9897        pgcc*)				# Portland Group C compiler
9898	  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'
9899	  tmp_addflag=' $pic_flag'
9900	  ;;
9901	pgf77* | pgf90* | pgf95* | pgfortran*)
9902					# Portland Group f77 and f90 compilers
9903	  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'
9904	  tmp_addflag=' $pic_flag -Mnomain' ;;
9905	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9906	  tmp_addflag=' -i_dynamic' ;;
9907	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9908	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9909	ifc* | ifort*)			# Intel Fortran compiler
9910	  tmp_addflag=' -nofor_main' ;;
9911	lf95*)				# Lahey Fortran 8.1
9912	  whole_archive_flag_spec=
9913	  tmp_sharedflag='--shared' ;;
9914        nagfor*)                        # NAGFOR 5.3
9915          tmp_sharedflag='-Wl,-shared' ;;
9916	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9917	  tmp_sharedflag='-qmkshrobj'
9918	  tmp_addflag= ;;
9919	nvcc*)	# Cuda Compiler Driver 2.2
9920	  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'
9921	  compiler_needs_object=yes
9922	  ;;
9923	esac
9924	case `$CC -V 2>&1 | sed 5q` in
9925	*Sun\ C*)			# Sun C 5.9
9926	  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'
9927	  compiler_needs_object=yes
9928	  tmp_sharedflag='-G' ;;
9929	*Sun\ F*)			# Sun Fortran 8.3
9930	  tmp_sharedflag='-G' ;;
9931	esac
9932	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9933
9934        if test yes = "$supports_anon_versioning"; then
9935          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9936            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9937            echo "local: *; };" >> $output_objdir/$libname.ver~
9938            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9939        fi
9940
9941	case $cc_basename in
9942	tcc*)
9943	  export_dynamic_flag_spec='-rdynamic'
9944	  ;;
9945	xlf* | bgf* | bgxlf* | mpixlf*)
9946	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9947	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9948	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9949	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9950	  if test yes = "$supports_anon_versioning"; then
9951	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9952              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9953              echo "local: *; };" >> $output_objdir/$libname.ver~
9954              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9955	  fi
9956	  ;;
9957	esac
9958      else
9959        ld_shlibs=no
9960      fi
9961      ;;
9962
9963    netbsd*)
9964      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9965	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9966	wlarc=
9967      else
9968	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9969	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9970      fi
9971      ;;
9972
9973    solaris*)
9974      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9975	ld_shlibs=no
9976	cat <<_LT_EOF 1>&2
9977
9978*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9979*** create shared libraries on Solaris systems.  Therefore, libtool
9980*** is disabling shared libraries support.  We urge you to upgrade GNU
9981*** binutils to release 2.9.1 or newer.  Another option is to modify
9982*** your PATH or compiler configuration so that the native linker is
9983*** used, and then restart.
9984
9985_LT_EOF
9986      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9987	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9988	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9989      else
9990	ld_shlibs=no
9991      fi
9992      ;;
9993
9994    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9995      case `$LD -v 2>&1` in
9996        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9997	ld_shlibs=no
9998	cat <<_LT_EOF 1>&2
9999
10000*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10001*** reliably create shared libraries on SCO systems.  Therefore, libtool
10002*** is disabling shared libraries support.  We urge you to upgrade GNU
10003*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10004*** your PATH or compiler configuration so that the native linker is
10005*** used, and then restart.
10006
10007_LT_EOF
10008	;;
10009	*)
10010	  # For security reasons, it is highly recommended that you always
10011	  # use absolute paths for naming shared libraries, and exclude the
10012	  # DT_RUNPATH tag from executables and libraries.  But doing so
10013	  # requires that you compile everything twice, which is a pain.
10014	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10015	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10016	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10017	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10018	  else
10019	    ld_shlibs=no
10020	  fi
10021	;;
10022      esac
10023      ;;
10024
10025    sunos4*)
10026      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10027      wlarc=
10028      hardcode_direct=yes
10029      hardcode_shlibpath_var=no
10030      ;;
10031
10032    *)
10033      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10034	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10035	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10036      else
10037	ld_shlibs=no
10038      fi
10039      ;;
10040    esac
10041
10042    if test no = "$ld_shlibs"; then
10043      runpath_var=
10044      hardcode_libdir_flag_spec=
10045      export_dynamic_flag_spec=
10046      whole_archive_flag_spec=
10047    fi
10048  else
10049    # PORTME fill in a description of your system's linker (not GNU ld)
10050    case $host_os in
10051    aix3*)
10052      allow_undefined_flag=unsupported
10053      always_export_symbols=yes
10054      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'
10055      # Note: this linker hardcodes the directories in LIBPATH if there
10056      # are no directories specified by -L.
10057      hardcode_minus_L=yes
10058      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10059	# Neither direct hardcoding nor static linking is supported with a
10060	# broken collect2.
10061	hardcode_direct=unsupported
10062      fi
10063      ;;
10064
10065    aix[4-9]*)
10066      if test ia64 = "$host_cpu"; then
10067	# On IA64, the linker does run time linking by default, so we don't
10068	# have to do anything special.
10069	aix_use_runtimelinking=no
10070	exp_sym_flag='-Bexport'
10071	no_entry_flag=
10072      else
10073	# If we're using GNU nm, then we don't want the "-C" option.
10074	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10075	# Without the "-l" option, or with the "-B" option, AIX nm treats
10076	# weak defined symbols like other global defined symbols, whereas
10077	# GNU nm marks them as "W".
10078	# While the 'weak' keyword is ignored in the Export File, we need
10079	# it in the Import File for the 'aix-soname' feature, so we have
10080	# to replace the "-B" option with "-P" for AIX nm.
10081	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10082	  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'
10083	else
10084	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10085	fi
10086	aix_use_runtimelinking=no
10087
10088	# Test if we are trying to use run time linking or normal
10089	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10090	# have runtime linking enabled, and use it for executables.
10091	# For shared libraries, we enable/disable runtime linking
10092	# depending on the kind of the shared library created -
10093	# when "with_aix_soname,aix_use_runtimelinking" is:
10094	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10095	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10096	#            lib.a           static archive
10097	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10098	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10099	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10100	#            lib.a(lib.so.V) shared, rtl:no
10101	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10102	#            lib.a           static archive
10103	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10104	  for ld_flag in $LDFLAGS; do
10105	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10106	    aix_use_runtimelinking=yes
10107	    break
10108	  fi
10109	  done
10110	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10111	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10112	    # so we don't have lib.a shared libs to link our executables.
10113	    # We have to force runtime linking in this case.
10114	    aix_use_runtimelinking=yes
10115	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10116	  fi
10117	  ;;
10118	esac
10119
10120	exp_sym_flag='-bexport'
10121	no_entry_flag='-bnoentry'
10122      fi
10123
10124      # When large executables or shared objects are built, AIX ld can
10125      # have problems creating the table of contents.  If linking a library
10126      # or program results in "error TOC overflow" add -mminimal-toc to
10127      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10128      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10129
10130      archive_cmds=''
10131      hardcode_direct=yes
10132      hardcode_direct_absolute=yes
10133      hardcode_libdir_separator=':'
10134      link_all_deplibs=yes
10135      file_list_spec='$wl-f,'
10136      case $with_aix_soname,$aix_use_runtimelinking in
10137      aix,*) ;; # traditional, no import file
10138      svr4,* | *,yes) # use import file
10139	# The Import File defines what to hardcode.
10140	hardcode_direct=no
10141	hardcode_direct_absolute=no
10142	;;
10143      esac
10144
10145      if test yes = "$GCC"; then
10146	case $host_os in aix4.[012]|aix4.[012].*)
10147	# We only want to do this on AIX 4.2 and lower, the check
10148	# below for broken collect2 doesn't work under 4.3+
10149	  collect2name=`$CC -print-prog-name=collect2`
10150	  if test -f "$collect2name" &&
10151	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10152	  then
10153	  # We have reworked collect2
10154	  :
10155	  else
10156	  # We have old collect2
10157	  hardcode_direct=unsupported
10158	  # It fails to find uninstalled libraries when the uninstalled
10159	  # path is not listed in the libpath.  Setting hardcode_minus_L
10160	  # to unsupported forces relinking
10161	  hardcode_minus_L=yes
10162	  hardcode_libdir_flag_spec='-L$libdir'
10163	  hardcode_libdir_separator=
10164	  fi
10165	  ;;
10166	esac
10167	shared_flag='-shared'
10168	if test yes = "$aix_use_runtimelinking"; then
10169	  shared_flag="$shared_flag "'$wl-G'
10170	fi
10171	# Need to ensure runtime linking is disabled for the traditional
10172	# shared library, or the linker may eventually find shared libraries
10173	# /with/ Import File - we do not want to mix them.
10174	shared_flag_aix='-shared'
10175	shared_flag_svr4='-shared $wl-G'
10176      else
10177	# not using gcc
10178	if test ia64 = "$host_cpu"; then
10179	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10180	# chokes on -Wl,-G. The following line is correct:
10181	  shared_flag='-G'
10182	else
10183	  if test yes = "$aix_use_runtimelinking"; then
10184	    shared_flag='$wl-G'
10185	  else
10186	    shared_flag='$wl-bM:SRE'
10187	  fi
10188	  shared_flag_aix='$wl-bM:SRE'
10189	  shared_flag_svr4='$wl-G'
10190	fi
10191      fi
10192
10193      export_dynamic_flag_spec='$wl-bexpall'
10194      # It seems that -bexpall does not export symbols beginning with
10195      # underscore (_), so it is better to generate a list of symbols to export.
10196      always_export_symbols=yes
10197      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10198	# Warning - without using the other runtime loading flags (-brtl),
10199	# -berok will link without error, but may produce a broken library.
10200	allow_undefined_flag='-berok'
10201        # Determine the default libpath from the value encoded in an
10202        # empty executable.
10203        if test set = "${lt_cv_aix_libpath+set}"; then
10204  aix_libpath=$lt_cv_aix_libpath
10205else
10206  if ${lt_cv_aix_libpath_+:} false; then :
10207  $as_echo_n "(cached) " >&6
10208else
10209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210/* end confdefs.h.  */
10211
10212int
10213main ()
10214{
10215
10216  ;
10217  return 0;
10218}
10219_ACEOF
10220if ac_fn_c_try_link "$LINENO"; then :
10221
10222  lt_aix_libpath_sed='
10223      /Import File Strings/,/^$/ {
10224	  /^0/ {
10225	      s/^0  *\([^ ]*\) *$/\1/
10226	      p
10227	  }
10228      }'
10229  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10230  # Check for a 64-bit object if we didn't find anything.
10231  if test -z "$lt_cv_aix_libpath_"; then
10232    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10233  fi
10234fi
10235rm -f core conftest.err conftest.$ac_objext \
10236    conftest$ac_exeext conftest.$ac_ext
10237  if test -z "$lt_cv_aix_libpath_"; then
10238    lt_cv_aix_libpath_=/usr/lib:/lib
10239  fi
10240
10241fi
10242
10243  aix_libpath=$lt_cv_aix_libpath_
10244fi
10245
10246        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10247        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
10248      else
10249	if test ia64 = "$host_cpu"; then
10250	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10251	  allow_undefined_flag="-z nodefs"
10252	  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"
10253	else
10254	 # Determine the default libpath from the value encoded in an
10255	 # empty executable.
10256	 if test set = "${lt_cv_aix_libpath+set}"; then
10257  aix_libpath=$lt_cv_aix_libpath
10258else
10259  if ${lt_cv_aix_libpath_+:} false; then :
10260  $as_echo_n "(cached) " >&6
10261else
10262  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263/* end confdefs.h.  */
10264
10265int
10266main ()
10267{
10268
10269  ;
10270  return 0;
10271}
10272_ACEOF
10273if ac_fn_c_try_link "$LINENO"; then :
10274
10275  lt_aix_libpath_sed='
10276      /Import File Strings/,/^$/ {
10277	  /^0/ {
10278	      s/^0  *\([^ ]*\) *$/\1/
10279	      p
10280	  }
10281      }'
10282  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10283  # Check for a 64-bit object if we didn't find anything.
10284  if test -z "$lt_cv_aix_libpath_"; then
10285    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10286  fi
10287fi
10288rm -f core conftest.err conftest.$ac_objext \
10289    conftest$ac_exeext conftest.$ac_ext
10290  if test -z "$lt_cv_aix_libpath_"; then
10291    lt_cv_aix_libpath_=/usr/lib:/lib
10292  fi
10293
10294fi
10295
10296  aix_libpath=$lt_cv_aix_libpath_
10297fi
10298
10299	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10300	  # Warning - without using the other run time loading flags,
10301	  # -berok will link without error, but may produce a broken library.
10302	  no_undefined_flag=' $wl-bernotok'
10303	  allow_undefined_flag=' $wl-berok'
10304	  if test yes = "$with_gnu_ld"; then
10305	    # We only use this code for GNU lds that support --whole-archive.
10306	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10307	  else
10308	    # Exported symbols can be pulled into shared objects from archives
10309	    whole_archive_flag_spec='$convenience'
10310	  fi
10311	  archive_cmds_need_lc=yes
10312	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10313	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10314	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10315	  if test svr4 != "$with_aix_soname"; then
10316	    # This is similar to how AIX traditionally builds its shared libraries.
10317	    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'
10318	  fi
10319	  if test aix != "$with_aix_soname"; then
10320	    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'
10321	  else
10322	    # used by -dlpreopen to get the symbols
10323	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10324	  fi
10325	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10326	fi
10327      fi
10328      ;;
10329
10330    amigaos*)
10331      case $host_cpu in
10332      powerpc)
10333            # see comment about AmigaOS4 .so support
10334            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10335            archive_expsym_cmds=''
10336        ;;
10337      m68k)
10338            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)'
10339            hardcode_libdir_flag_spec='-L$libdir'
10340            hardcode_minus_L=yes
10341        ;;
10342      esac
10343      ;;
10344
10345    bsdi[45]*)
10346      export_dynamic_flag_spec=-rdynamic
10347      ;;
10348
10349    cygwin* | mingw* | pw32* | cegcc*)
10350      # When not using gcc, we currently assume that we are using
10351      # Microsoft Visual C++ or Intel C++ Compiler.
10352      # hardcode_libdir_flag_spec is actually meaningless, as there is
10353      # no search path for DLLs.
10354      case $cc_basename in
10355      cl* | icl*)
10356	# Native MSVC or ICC
10357	hardcode_libdir_flag_spec=' '
10358	allow_undefined_flag=unsupported
10359	always_export_symbols=yes
10360	file_list_spec='@'
10361	# Tell ltmain to make .lib files, not .a files.
10362	libext=lib
10363	# Tell ltmain to make .dll files, not .so files.
10364	shrext_cmds=.dll
10365	# FIXME: Setting linknames here is a bad hack.
10366	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10367	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10368            cp "$export_symbols" "$output_objdir/$soname.def";
10369            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10370          else
10371            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10372          fi~
10373          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10374          linknames='
10375	# The linker will not automatically build a static lib if we build a DLL.
10376	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10377	enable_shared_with_static_runtimes=yes
10378	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10379	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10380	# Don't use ranlib
10381	old_postinstall_cmds='chmod 644 $oldlib'
10382	postlink_cmds='lt_outputfile="@OUTPUT@"~
10383          lt_tool_outputfile="@TOOL_OUTPUT@"~
10384          case $lt_outputfile in
10385            *.exe|*.EXE) ;;
10386            *)
10387              lt_outputfile=$lt_outputfile.exe
10388              lt_tool_outputfile=$lt_tool_outputfile.exe
10389              ;;
10390          esac~
10391          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10392            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10393            $RM "$lt_outputfile.manifest";
10394          fi'
10395	;;
10396      *)
10397	# Assume MSVC and ICC wrapper
10398	hardcode_libdir_flag_spec=' '
10399	allow_undefined_flag=unsupported
10400	# Tell ltmain to make .lib files, not .a files.
10401	libext=lib
10402	# Tell ltmain to make .dll files, not .so files.
10403	shrext_cmds=.dll
10404	# FIXME: Setting linknames here is a bad hack.
10405	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10406	# The linker will automatically build a .lib file if we build a DLL.
10407	old_archive_from_new_cmds='true'
10408	# FIXME: Should let the user specify the lib program.
10409	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10410	enable_shared_with_static_runtimes=yes
10411	;;
10412      esac
10413      ;;
10414
10415    darwin* | rhapsody*)
10416
10417
10418  archive_cmds_need_lc=no
10419  hardcode_direct=no
10420  hardcode_automatic=yes
10421  hardcode_shlibpath_var=unsupported
10422  if test yes = "$lt_cv_ld_force_load"; then
10423    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\"`'
10424
10425  else
10426    whole_archive_flag_spec=''
10427  fi
10428  link_all_deplibs=yes
10429  allow_undefined_flag=$_lt_dar_allow_undefined
10430  case $cc_basename in
10431     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10432     *) _lt_dar_can_shared=$GCC ;;
10433  esac
10434  if test yes = "$_lt_dar_can_shared"; then
10435    output_verbose_link_cmd=func_echo_all
10436    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10437    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10438    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"
10439    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"
10440
10441  else
10442  ld_shlibs=no
10443  fi
10444
10445      ;;
10446
10447    dgux*)
10448      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10449      hardcode_libdir_flag_spec='-L$libdir'
10450      hardcode_shlibpath_var=no
10451      ;;
10452
10453    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10454    # support.  Future versions do this automatically, but an explicit c++rt0.o
10455    # does not break anything, and helps significantly (at the cost of a little
10456    # extra space).
10457    freebsd2.2*)
10458      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10459      hardcode_libdir_flag_spec='-R$libdir'
10460      hardcode_direct=yes
10461      hardcode_shlibpath_var=no
10462      ;;
10463
10464    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10465    freebsd2.*)
10466      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10467      hardcode_direct=yes
10468      hardcode_minus_L=yes
10469      hardcode_shlibpath_var=no
10470      ;;
10471
10472    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10473    freebsd* | dragonfly*)
10474      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10475      hardcode_libdir_flag_spec='-R$libdir'
10476      hardcode_direct=yes
10477      hardcode_shlibpath_var=no
10478      ;;
10479
10480    hpux9*)
10481      if test yes = "$GCC"; then
10482	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'
10483      else
10484	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'
10485      fi
10486      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10487      hardcode_libdir_separator=:
10488      hardcode_direct=yes
10489
10490      # hardcode_minus_L: Not really in the search PATH,
10491      # but as the default location of the library.
10492      hardcode_minus_L=yes
10493      export_dynamic_flag_spec='$wl-E'
10494      ;;
10495
10496    hpux10*)
10497      if test yes,no = "$GCC,$with_gnu_ld"; then
10498	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10499      else
10500	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10501      fi
10502      if test no = "$with_gnu_ld"; then
10503	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10504	hardcode_libdir_separator=:
10505	hardcode_direct=yes
10506	hardcode_direct_absolute=yes
10507	export_dynamic_flag_spec='$wl-E'
10508	# hardcode_minus_L: Not really in the search PATH,
10509	# but as the default location of the library.
10510	hardcode_minus_L=yes
10511      fi
10512      ;;
10513
10514    hpux11*)
10515      if test yes,no = "$GCC,$with_gnu_ld"; then
10516	case $host_cpu in
10517	hppa*64*)
10518	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10519	  ;;
10520	ia64*)
10521	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10522	  ;;
10523	*)
10524	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10525	  ;;
10526	esac
10527      else
10528	case $host_cpu in
10529	hppa*64*)
10530	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10531	  ;;
10532	ia64*)
10533	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10534	  ;;
10535	*)
10536
10537	  # Older versions of the 11.00 compiler do not understand -b yet
10538	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10539	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10540$as_echo_n "checking if $CC understands -b... " >&6; }
10541if ${lt_cv_prog_compiler__b+:} false; then :
10542  $as_echo_n "(cached) " >&6
10543else
10544  lt_cv_prog_compiler__b=no
10545   save_LDFLAGS=$LDFLAGS
10546   LDFLAGS="$LDFLAGS -b"
10547   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10548   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10549     # The linker can only warn and ignore the option if not recognized
10550     # So say no if there are warnings
10551     if test -s conftest.err; then
10552       # Append any errors to the config.log.
10553       cat conftest.err 1>&5
10554       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10555       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10556       if diff conftest.exp conftest.er2 >/dev/null; then
10557         lt_cv_prog_compiler__b=yes
10558       fi
10559     else
10560       lt_cv_prog_compiler__b=yes
10561     fi
10562   fi
10563   $RM -r conftest*
10564   LDFLAGS=$save_LDFLAGS
10565
10566fi
10567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10568$as_echo "$lt_cv_prog_compiler__b" >&6; }
10569
10570if test yes = "$lt_cv_prog_compiler__b"; then
10571    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10572else
10573    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10574fi
10575
10576	  ;;
10577	esac
10578      fi
10579      if test no = "$with_gnu_ld"; then
10580	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10581	hardcode_libdir_separator=:
10582
10583	case $host_cpu in
10584	hppa*64*|ia64*)
10585	  hardcode_direct=no
10586	  hardcode_shlibpath_var=no
10587	  ;;
10588	*)
10589	  hardcode_direct=yes
10590	  hardcode_direct_absolute=yes
10591	  export_dynamic_flag_spec='$wl-E'
10592
10593	  # hardcode_minus_L: Not really in the search PATH,
10594	  # but as the default location of the library.
10595	  hardcode_minus_L=yes
10596	  ;;
10597	esac
10598      fi
10599      ;;
10600
10601    irix5* | irix6* | nonstopux*)
10602      if test yes = "$GCC"; then
10603	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'
10604	# Try to use the -exported_symbol ld option, if it does not
10605	# work, assume that -exports_file does not work either and
10606	# implicitly export all symbols.
10607	# This should be the same for all languages, so no per-tag cache variable.
10608	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10609$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10610if ${lt_cv_irix_exported_symbol+:} false; then :
10611  $as_echo_n "(cached) " >&6
10612else
10613  save_LDFLAGS=$LDFLAGS
10614	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10615	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616/* end confdefs.h.  */
10617int foo (void) { return 0; }
10618_ACEOF
10619if ac_fn_c_try_link "$LINENO"; then :
10620  lt_cv_irix_exported_symbol=yes
10621else
10622  lt_cv_irix_exported_symbol=no
10623fi
10624rm -f core conftest.err conftest.$ac_objext \
10625    conftest$ac_exeext conftest.$ac_ext
10626           LDFLAGS=$save_LDFLAGS
10627fi
10628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10629$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10630	if test yes = "$lt_cv_irix_exported_symbol"; then
10631          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'
10632	fi
10633      else
10634	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'
10635	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'
10636      fi
10637      archive_cmds_need_lc='no'
10638      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10639      hardcode_libdir_separator=:
10640      inherit_rpath=yes
10641      link_all_deplibs=yes
10642      ;;
10643
10644    linux*)
10645      case $cc_basename in
10646      tcc*)
10647	# Fabrice Bellard et al's Tiny C Compiler
10648	ld_shlibs=yes
10649	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10650	;;
10651      esac
10652      ;;
10653
10654    netbsd*)
10655      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10656	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10657      else
10658	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10659      fi
10660      hardcode_libdir_flag_spec='-R$libdir'
10661      hardcode_direct=yes
10662      hardcode_shlibpath_var=no
10663      ;;
10664
10665    newsos6)
10666      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10667      hardcode_direct=yes
10668      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10669      hardcode_libdir_separator=:
10670      hardcode_shlibpath_var=no
10671      ;;
10672
10673    *nto* | *qnx*)
10674      ;;
10675
10676    openbsd* | bitrig*)
10677      if test -f /usr/libexec/ld.so; then
10678	hardcode_direct=yes
10679	hardcode_shlibpath_var=no
10680	hardcode_direct_absolute=yes
10681	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10682	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10683	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10684	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10685	  export_dynamic_flag_spec='$wl-E'
10686	else
10687	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10688	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10689	fi
10690      else
10691	ld_shlibs=no
10692      fi
10693      ;;
10694
10695    os2*)
10696      hardcode_libdir_flag_spec='-L$libdir'
10697      hardcode_minus_L=yes
10698      allow_undefined_flag=unsupported
10699      shrext_cmds=.dll
10700      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10701	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10702	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10703	$ECHO EXPORTS >> $output_objdir/$libname.def~
10704	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10705	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10706	emximp -o $lib $output_objdir/$libname.def'
10707      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10708	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10709	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10710	$ECHO EXPORTS >> $output_objdir/$libname.def~
10711	prefix_cmds="$SED"~
10712	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10713	  prefix_cmds="$prefix_cmds -e 1d";
10714	fi~
10715	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10716	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10717	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10718	emximp -o $lib $output_objdir/$libname.def'
10719      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10720      enable_shared_with_static_runtimes=yes
10721      file_list_spec='@'
10722      ;;
10723
10724    osf3*)
10725      if test yes = "$GCC"; then
10726	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10727	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'
10728      else
10729	allow_undefined_flag=' -expect_unresolved \*'
10730	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'
10731      fi
10732      archive_cmds_need_lc='no'
10733      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10734      hardcode_libdir_separator=:
10735      ;;
10736
10737    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10738      if test yes = "$GCC"; then
10739	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10740	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'
10741	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10742      else
10743	allow_undefined_flag=' -expect_unresolved \*'
10744	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'
10745	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~
10746          $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'
10747
10748	# Both c and cxx compiler support -rpath directly
10749	hardcode_libdir_flag_spec='-rpath $libdir'
10750      fi
10751      archive_cmds_need_lc='no'
10752      hardcode_libdir_separator=:
10753      ;;
10754
10755    solaris*)
10756      no_undefined_flag=' -z defs'
10757      if test yes = "$GCC"; then
10758	wlarc='$wl'
10759	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10760	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10761          $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'
10762      else
10763	case `$CC -V 2>&1` in
10764	*"Compilers 5.0"*)
10765	  wlarc=''
10766	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10767	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10768            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10769	  ;;
10770	*)
10771	  wlarc='$wl'
10772	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10773	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10774            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10775	  ;;
10776	esac
10777      fi
10778      hardcode_libdir_flag_spec='-R$libdir'
10779      hardcode_shlibpath_var=no
10780      case $host_os in
10781      solaris2.[0-5] | solaris2.[0-5].*) ;;
10782      *)
10783	# The compiler driver will combine and reorder linker options,
10784	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10785	# but is careful enough not to reorder.
10786	# Supported since Solaris 2.6 (maybe 2.5.1?)
10787	if test yes = "$GCC"; then
10788	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10789	else
10790	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10791	fi
10792	;;
10793      esac
10794      link_all_deplibs=yes
10795      ;;
10796
10797    sunos4*)
10798      if test sequent = "$host_vendor"; then
10799	# Use $CC to link under sequent, because it throws in some extra .o
10800	# files that make .init and .fini sections work.
10801	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10802      else
10803	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10804      fi
10805      hardcode_libdir_flag_spec='-L$libdir'
10806      hardcode_direct=yes
10807      hardcode_minus_L=yes
10808      hardcode_shlibpath_var=no
10809      ;;
10810
10811    sysv4)
10812      case $host_vendor in
10813	sni)
10814	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10815	  hardcode_direct=yes # is this really true???
10816	;;
10817	siemens)
10818	  ## LD is ld it makes a PLAMLIB
10819	  ## CC just makes a GrossModule.
10820	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10821	  reload_cmds='$CC -r -o $output$reload_objs'
10822	  hardcode_direct=no
10823        ;;
10824	motorola)
10825	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10826	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10827	;;
10828      esac
10829      runpath_var='LD_RUN_PATH'
10830      hardcode_shlibpath_var=no
10831      ;;
10832
10833    sysv4.3*)
10834      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10835      hardcode_shlibpath_var=no
10836      export_dynamic_flag_spec='-Bexport'
10837      ;;
10838
10839    sysv4*MP*)
10840      if test -d /usr/nec; then
10841	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10842	hardcode_shlibpath_var=no
10843	runpath_var=LD_RUN_PATH
10844	hardcode_runpath_var=yes
10845	ld_shlibs=yes
10846      fi
10847      ;;
10848
10849    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10850      no_undefined_flag='$wl-z,text'
10851      archive_cmds_need_lc=no
10852      hardcode_shlibpath_var=no
10853      runpath_var='LD_RUN_PATH'
10854
10855      if test yes = "$GCC"; then
10856	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10857	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10858      else
10859	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10860	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10861      fi
10862      ;;
10863
10864    sysv5* | sco3.2v5* | sco5v6*)
10865      # Note: We CANNOT use -z defs as we might desire, because we do not
10866      # link with -lc, and that would cause any symbols used from libc to
10867      # always be unresolved, which means just about no library would
10868      # ever link correctly.  If we're not using GNU ld we use -z text
10869      # though, which does catch some bad symbols but isn't as heavy-handed
10870      # as -z defs.
10871      no_undefined_flag='$wl-z,text'
10872      allow_undefined_flag='$wl-z,nodefs'
10873      archive_cmds_need_lc=no
10874      hardcode_shlibpath_var=no
10875      hardcode_libdir_flag_spec='$wl-R,$libdir'
10876      hardcode_libdir_separator=':'
10877      link_all_deplibs=yes
10878      export_dynamic_flag_spec='$wl-Bexport'
10879      runpath_var='LD_RUN_PATH'
10880
10881      if test yes = "$GCC"; then
10882	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10883	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10884      else
10885	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10886	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10887      fi
10888      ;;
10889
10890    uts4*)
10891      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10892      hardcode_libdir_flag_spec='-L$libdir'
10893      hardcode_shlibpath_var=no
10894      ;;
10895
10896    *)
10897      ld_shlibs=no
10898      ;;
10899    esac
10900
10901    if test sni = "$host_vendor"; then
10902      case $host in
10903      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10904	export_dynamic_flag_spec='$wl-Blargedynsym'
10905	;;
10906      esac
10907    fi
10908  fi
10909
10910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10911$as_echo "$ld_shlibs" >&6; }
10912test no = "$ld_shlibs" && can_build_shared=no
10913
10914with_gnu_ld=$with_gnu_ld
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930#
10931# Do we need to explicitly link libc?
10932#
10933case "x$archive_cmds_need_lc" in
10934x|xyes)
10935  # Assume -lc should be added
10936  archive_cmds_need_lc=yes
10937
10938  if test yes,yes = "$GCC,$enable_shared"; then
10939    case $archive_cmds in
10940    *'~'*)
10941      # FIXME: we may have to deal with multi-command sequences.
10942      ;;
10943    '$CC '*)
10944      # Test whether the compiler implicitly links with -lc since on some
10945      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10946      # to ld, don't add -lc before -lgcc.
10947      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10948$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10949if ${lt_cv_archive_cmds_need_lc+:} false; then :
10950  $as_echo_n "(cached) " >&6
10951else
10952  $RM conftest*
10953	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10954
10955	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10956  (eval $ac_compile) 2>&5
10957  ac_status=$?
10958  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10959  test $ac_status = 0; } 2>conftest.err; then
10960	  soname=conftest
10961	  lib=conftest
10962	  libobjs=conftest.$ac_objext
10963	  deplibs=
10964	  wl=$lt_prog_compiler_wl
10965	  pic_flag=$lt_prog_compiler_pic
10966	  compiler_flags=-v
10967	  linker_flags=-v
10968	  verstring=
10969	  output_objdir=.
10970	  libname=conftest
10971	  lt_save_allow_undefined_flag=$allow_undefined_flag
10972	  allow_undefined_flag=
10973	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10974  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10975  ac_status=$?
10976  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10977  test $ac_status = 0; }
10978	  then
10979	    lt_cv_archive_cmds_need_lc=no
10980	  else
10981	    lt_cv_archive_cmds_need_lc=yes
10982	  fi
10983	  allow_undefined_flag=$lt_save_allow_undefined_flag
10984	else
10985	  cat conftest.err 1>&5
10986	fi
10987	$RM conftest*
10988
10989fi
10990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10991$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10992      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10993      ;;
10994    esac
10995  fi
10996  ;;
10997esac
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
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11151$as_echo_n "checking dynamic linker characteristics... " >&6; }
11152
11153if test yes = "$GCC"; then
11154  case $host_os in
11155    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11156    *) lt_awk_arg='/^libraries:/' ;;
11157  esac
11158  case $host_os in
11159    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11160    *) lt_sed_strip_eq='s|=/|/|g' ;;
11161  esac
11162  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11163  case $lt_search_path_spec in
11164  *\;*)
11165    # if the path contains ";" then we assume it to be the separator
11166    # otherwise default to the standard path separator (i.e. ":") - it is
11167    # assumed that no part of a normal pathname contains ";" but that should
11168    # okay in the real world where ";" in dirpaths is itself problematic.
11169    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11170    ;;
11171  *)
11172    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11173    ;;
11174  esac
11175  # Ok, now we have the path, separated by spaces, we can step through it
11176  # and add multilib dir if necessary...
11177  lt_tmp_lt_search_path_spec=
11178  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11179  # ...but if some path component already ends with the multilib dir we assume
11180  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11181  case "$lt_multi_os_dir; $lt_search_path_spec " in
11182  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11183    lt_multi_os_dir=
11184    ;;
11185  esac
11186  for lt_sys_path in $lt_search_path_spec; do
11187    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11188      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11189    elif test -n "$lt_multi_os_dir"; then
11190      test -d "$lt_sys_path" && \
11191	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11192    fi
11193  done
11194  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11195BEGIN {RS = " "; FS = "/|\n";} {
11196  lt_foo = "";
11197  lt_count = 0;
11198  for (lt_i = NF; lt_i > 0; lt_i--) {
11199    if ($lt_i != "" && $lt_i != ".") {
11200      if ($lt_i == "..") {
11201        lt_count++;
11202      } else {
11203        if (lt_count == 0) {
11204          lt_foo = "/" $lt_i lt_foo;
11205        } else {
11206          lt_count--;
11207        }
11208      }
11209    }
11210  }
11211  if (lt_foo != "") { lt_freq[lt_foo]++; }
11212  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11213}'`
11214  # AWK program above erroneously prepends '/' to C:/dos/paths
11215  # for these hosts.
11216  case $host_os in
11217    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11218      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11219  esac
11220  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11221else
11222  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11223fi
11224library_names_spec=
11225libname_spec='lib$name'
11226soname_spec=
11227shrext_cmds=.so
11228postinstall_cmds=
11229postuninstall_cmds=
11230finish_cmds=
11231finish_eval=
11232shlibpath_var=
11233shlibpath_overrides_runpath=unknown
11234version_type=none
11235dynamic_linker="$host_os ld.so"
11236sys_lib_dlsearch_path_spec="/lib /usr/lib"
11237need_lib_prefix=unknown
11238hardcode_into_libs=no
11239
11240# when you set need_version to no, make sure it does not cause -set_version
11241# flags to be left without arguments
11242need_version=unknown
11243
11244
11245
11246case $host_os in
11247aix3*)
11248  version_type=linux # correct to gnu/linux during the next big refactor
11249  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11250  shlibpath_var=LIBPATH
11251
11252  # AIX 3 has no versioning support, so we append a major version to the name.
11253  soname_spec='$libname$release$shared_ext$major'
11254  ;;
11255
11256aix[4-9]*)
11257  version_type=linux # correct to gnu/linux during the next big refactor
11258  need_lib_prefix=no
11259  need_version=no
11260  hardcode_into_libs=yes
11261  if test ia64 = "$host_cpu"; then
11262    # AIX 5 supports IA64
11263    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11264    shlibpath_var=LD_LIBRARY_PATH
11265  else
11266    # With GCC up to 2.95.x, collect2 would create an import file
11267    # for dependence libraries.  The import file would start with
11268    # the line '#! .'.  This would cause the generated library to
11269    # depend on '.', always an invalid library.  This was fixed in
11270    # development snapshots of GCC prior to 3.0.
11271    case $host_os in
11272      aix4 | aix4.[01] | aix4.[01].*)
11273      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11274	   echo ' yes '
11275	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11276	:
11277      else
11278	can_build_shared=no
11279      fi
11280      ;;
11281    esac
11282    # Using Import Files as archive members, it is possible to support
11283    # filename-based versioning of shared library archives on AIX. While
11284    # this would work for both with and without runtime linking, it will
11285    # prevent static linking of such archives. So we do filename-based
11286    # shared library versioning with .so extension only, which is used
11287    # when both runtime linking and shared linking is enabled.
11288    # Unfortunately, runtime linking may impact performance, so we do
11289    # not want this to be the default eventually. Also, we use the
11290    # versioned .so libs for executables only if there is the -brtl
11291    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11292    # To allow for filename-based versioning support, we need to create
11293    # libNAME.so.V as an archive file, containing:
11294    # *) an Import File, referring to the versioned filename of the
11295    #    archive as well as the shared archive member, telling the
11296    #    bitwidth (32 or 64) of that shared object, and providing the
11297    #    list of exported symbols of that shared object, eventually
11298    #    decorated with the 'weak' keyword
11299    # *) the shared object with the F_LOADONLY flag set, to really avoid
11300    #    it being seen by the linker.
11301    # At run time we better use the real file rather than another symlink,
11302    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11303
11304    case $with_aix_soname,$aix_use_runtimelinking in
11305    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11306    # soname into executable. Probably we can add versioning support to
11307    # collect2, so additional links can be useful in future.
11308    aix,yes) # traditional libtool
11309      dynamic_linker='AIX unversionable lib.so'
11310      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11311      # instead of lib<name>.a to let people know that these are not
11312      # typical AIX shared libraries.
11313      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11314      ;;
11315    aix,no) # traditional AIX only
11316      dynamic_linker='AIX lib.a(lib.so.V)'
11317      # We preserve .a as extension for shared libraries through AIX4.2
11318      # and later when we are not doing run time linking.
11319      library_names_spec='$libname$release.a $libname.a'
11320      soname_spec='$libname$release$shared_ext$major'
11321      ;;
11322    svr4,*) # full svr4 only
11323      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11324      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11325      # We do not specify a path in Import Files, so LIBPATH fires.
11326      shlibpath_overrides_runpath=yes
11327      ;;
11328    *,yes) # both, prefer svr4
11329      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11330      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11331      # unpreferred sharedlib libNAME.a needs extra handling
11332      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"'
11333      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"'
11334      # We do not specify a path in Import Files, so LIBPATH fires.
11335      shlibpath_overrides_runpath=yes
11336      ;;
11337    *,no) # both, prefer aix
11338      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11339      library_names_spec='$libname$release.a $libname.a'
11340      soname_spec='$libname$release$shared_ext$major'
11341      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11342      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)'
11343      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"'
11344      ;;
11345    esac
11346    shlibpath_var=LIBPATH
11347  fi
11348  ;;
11349
11350amigaos*)
11351  case $host_cpu in
11352  powerpc)
11353    # Since July 2007 AmigaOS4 officially supports .so libraries.
11354    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11355    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11356    ;;
11357  m68k)
11358    library_names_spec='$libname.ixlibrary $libname.a'
11359    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11360    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'
11361    ;;
11362  esac
11363  ;;
11364
11365beos*)
11366  library_names_spec='$libname$shared_ext'
11367  dynamic_linker="$host_os ld.so"
11368  shlibpath_var=LIBRARY_PATH
11369  ;;
11370
11371bsdi[45]*)
11372  version_type=linux # correct to gnu/linux during the next big refactor
11373  need_version=no
11374  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11375  soname_spec='$libname$release$shared_ext$major'
11376  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11377  shlibpath_var=LD_LIBRARY_PATH
11378  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11379  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11380  # the default ld.so.conf also contains /usr/contrib/lib and
11381  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11382  # libtool to hard-code these into programs
11383  ;;
11384
11385cygwin* | mingw* | pw32* | cegcc*)
11386  version_type=windows
11387  shrext_cmds=.dll
11388  need_version=no
11389  need_lib_prefix=no
11390
11391  case $GCC,$cc_basename in
11392  yes,*)
11393    # gcc
11394    library_names_spec='$libname.dll.a'
11395    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11396    postinstall_cmds='base_file=`basename \$file`~
11397      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11398      dldir=$destdir/`dirname \$dlpath`~
11399      test -d \$dldir || mkdir -p \$dldir~
11400      $install_prog $dir/$dlname \$dldir/$dlname~
11401      chmod a+x \$dldir/$dlname~
11402      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11403        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11404      fi'
11405    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11406      dlpath=$dir/\$dldll~
11407       $RM \$dlpath'
11408    shlibpath_overrides_runpath=yes
11409
11410    case $host_os in
11411    cygwin*)
11412      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11413      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11414
11415      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11416      ;;
11417    mingw* | cegcc*)
11418      # MinGW DLLs use traditional 'lib' prefix
11419      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11420      ;;
11421    pw32*)
11422      # pw32 DLLs use 'pw' prefix rather than 'lib'
11423      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11424      ;;
11425    esac
11426    dynamic_linker='Win32 ld.exe'
11427    ;;
11428
11429  *,cl* | *,icl*)
11430    # Native MSVC or ICC
11431    libname_spec='$name'
11432    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11433    library_names_spec='$libname.dll.lib'
11434
11435    case $build_os in
11436    mingw*)
11437      sys_lib_search_path_spec=
11438      lt_save_ifs=$IFS
11439      IFS=';'
11440      for lt_path in $LIB
11441      do
11442        IFS=$lt_save_ifs
11443        # Let DOS variable expansion print the short 8.3 style file name.
11444        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11445        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11446      done
11447      IFS=$lt_save_ifs
11448      # Convert to MSYS style.
11449      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11450      ;;
11451    cygwin*)
11452      # Convert to unix form, then to dos form, then back to unix form
11453      # but this time dos style (no spaces!) so that the unix form looks
11454      # like /cygdrive/c/PROGRA~1:/cygdr...
11455      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11456      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11457      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11458      ;;
11459    *)
11460      sys_lib_search_path_spec=$LIB
11461      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11462        # It is most probably a Windows format PATH.
11463        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11464      else
11465        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11466      fi
11467      # FIXME: find the short name or the path components, as spaces are
11468      # common. (e.g. "Program Files" -> "PROGRA~1")
11469      ;;
11470    esac
11471
11472    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11473    postinstall_cmds='base_file=`basename \$file`~
11474      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11475      dldir=$destdir/`dirname \$dlpath`~
11476      test -d \$dldir || mkdir -p \$dldir~
11477      $install_prog $dir/$dlname \$dldir/$dlname'
11478    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11479      dlpath=$dir/\$dldll~
11480       $RM \$dlpath'
11481    shlibpath_overrides_runpath=yes
11482    dynamic_linker='Win32 link.exe'
11483    ;;
11484
11485  *)
11486    # Assume MSVC and ICC wrapper
11487    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11488    dynamic_linker='Win32 ld.exe'
11489    ;;
11490  esac
11491  # FIXME: first we should search . and the directory the executable is in
11492  shlibpath_var=PATH
11493  ;;
11494
11495darwin* | rhapsody*)
11496  dynamic_linker="$host_os dyld"
11497  version_type=darwin
11498  need_lib_prefix=no
11499  need_version=no
11500  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11501  soname_spec='$libname$release$major$shared_ext'
11502  shlibpath_overrides_runpath=yes
11503  shlibpath_var=DYLD_LIBRARY_PATH
11504  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11505
11506  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11507  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11508  ;;
11509
11510dgux*)
11511  version_type=linux # correct to gnu/linux during the next big refactor
11512  need_lib_prefix=no
11513  need_version=no
11514  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11515  soname_spec='$libname$release$shared_ext$major'
11516  shlibpath_var=LD_LIBRARY_PATH
11517  ;;
11518
11519freebsd* | dragonfly*)
11520  # DragonFly does not have aout.  When/if they implement a new
11521  # versioning mechanism, adjust this.
11522  if test -x /usr/bin/objformat; then
11523    objformat=`/usr/bin/objformat`
11524  else
11525    case $host_os in
11526    freebsd[23].*) objformat=aout ;;
11527    *) objformat=elf ;;
11528    esac
11529  fi
11530  version_type=freebsd-$objformat
11531  case $version_type in
11532    freebsd-elf*)
11533      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11534      soname_spec='$libname$release$shared_ext$major'
11535      need_version=no
11536      need_lib_prefix=no
11537      ;;
11538    freebsd-*)
11539      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11540      need_version=yes
11541      ;;
11542  esac
11543  shlibpath_var=LD_LIBRARY_PATH
11544  case $host_os in
11545  freebsd2.*)
11546    shlibpath_overrides_runpath=yes
11547    ;;
11548  freebsd3.[01]* | freebsdelf3.[01]*)
11549    shlibpath_overrides_runpath=yes
11550    hardcode_into_libs=yes
11551    ;;
11552  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11553  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11554    shlibpath_overrides_runpath=no
11555    hardcode_into_libs=yes
11556    ;;
11557  *) # from 4.6 on, and DragonFly
11558    shlibpath_overrides_runpath=yes
11559    hardcode_into_libs=yes
11560    ;;
11561  esac
11562  ;;
11563
11564haiku*)
11565  version_type=linux # correct to gnu/linux during the next big refactor
11566  need_lib_prefix=no
11567  need_version=no
11568  dynamic_linker="$host_os runtime_loader"
11569  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11570  soname_spec='$libname$release$shared_ext$major'
11571  shlibpath_var=LIBRARY_PATH
11572  shlibpath_overrides_runpath=no
11573  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11574  hardcode_into_libs=yes
11575  ;;
11576
11577hpux9* | hpux10* | hpux11*)
11578  # Give a soname corresponding to the major version so that dld.sl refuses to
11579  # link against other versions.
11580  version_type=sunos
11581  need_lib_prefix=no
11582  need_version=no
11583  case $host_cpu in
11584  ia64*)
11585    shrext_cmds='.so'
11586    hardcode_into_libs=yes
11587    dynamic_linker="$host_os dld.so"
11588    shlibpath_var=LD_LIBRARY_PATH
11589    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11590    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11591    soname_spec='$libname$release$shared_ext$major'
11592    if test 32 = "$HPUX_IA64_MODE"; then
11593      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11594      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11595    else
11596      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11597      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11598    fi
11599    ;;
11600  hppa*64*)
11601    shrext_cmds='.sl'
11602    hardcode_into_libs=yes
11603    dynamic_linker="$host_os dld.sl"
11604    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11605    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11609    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11610    ;;
11611  *)
11612    shrext_cmds='.sl'
11613    dynamic_linker="$host_os dld.sl"
11614    shlibpath_var=SHLIB_PATH
11615    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11616    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11617    soname_spec='$libname$release$shared_ext$major'
11618    ;;
11619  esac
11620  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11621  postinstall_cmds='chmod 555 $lib'
11622  # or fails outright, so override atomically:
11623  install_override_mode=555
11624  ;;
11625
11626interix[3-9]*)
11627  version_type=linux # correct to gnu/linux during the next big refactor
11628  need_lib_prefix=no
11629  need_version=no
11630  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11631  soname_spec='$libname$release$shared_ext$major'
11632  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11633  shlibpath_var=LD_LIBRARY_PATH
11634  shlibpath_overrides_runpath=no
11635  hardcode_into_libs=yes
11636  ;;
11637
11638irix5* | irix6* | nonstopux*)
11639  case $host_os in
11640    nonstopux*) version_type=nonstopux ;;
11641    *)
11642	if test yes = "$lt_cv_prog_gnu_ld"; then
11643		version_type=linux # correct to gnu/linux during the next big refactor
11644	else
11645		version_type=irix
11646	fi ;;
11647  esac
11648  need_lib_prefix=no
11649  need_version=no
11650  soname_spec='$libname$release$shared_ext$major'
11651  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11652  case $host_os in
11653  irix5* | nonstopux*)
11654    libsuff= shlibsuff=
11655    ;;
11656  *)
11657    case $LD in # libtool.m4 will add one of these switches to LD
11658    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11659      libsuff= shlibsuff= libmagic=32-bit;;
11660    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11661      libsuff=32 shlibsuff=N32 libmagic=N32;;
11662    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11663      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11664    *) libsuff= shlibsuff= libmagic=never-match;;
11665    esac
11666    ;;
11667  esac
11668  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11669  shlibpath_overrides_runpath=no
11670  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11671  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11672  hardcode_into_libs=yes
11673  ;;
11674
11675# No shared lib support for Linux oldld, aout, or coff.
11676linux*oldld* | linux*aout* | linux*coff*)
11677  dynamic_linker=no
11678  ;;
11679
11680linux*android*)
11681  version_type=none # Android doesn't support versioned libraries.
11682  need_lib_prefix=no
11683  need_version=no
11684  library_names_spec='$libname$release$shared_ext'
11685  soname_spec='$libname$release$shared_ext'
11686  finish_cmds=
11687  shlibpath_var=LD_LIBRARY_PATH
11688  shlibpath_overrides_runpath=yes
11689
11690  # This implies no fast_install, which is unacceptable.
11691  # Some rework will be needed to allow for fast_install
11692  # before this can be enabled.
11693  hardcode_into_libs=yes
11694
11695  dynamic_linker='Android linker'
11696  # Don't embed -rpath directories since the linker doesn't support them.
11697  hardcode_libdir_flag_spec='-L$libdir'
11698  ;;
11699
11700# This must be glibc/ELF.
11701linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11702  version_type=linux # correct to gnu/linux during the next big refactor
11703  need_lib_prefix=no
11704  need_version=no
11705  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11706  soname_spec='$libname$release$shared_ext$major'
11707  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11708  shlibpath_var=LD_LIBRARY_PATH
11709  shlibpath_overrides_runpath=no
11710
11711  # Some binutils ld are patched to set DT_RUNPATH
11712  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11713  $as_echo_n "(cached) " >&6
11714else
11715  lt_cv_shlibpath_overrides_runpath=no
11716    save_LDFLAGS=$LDFLAGS
11717    save_libdir=$libdir
11718    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11719	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11720    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721/* end confdefs.h.  */
11722
11723int
11724main ()
11725{
11726
11727  ;
11728  return 0;
11729}
11730_ACEOF
11731if ac_fn_c_try_link "$LINENO"; then :
11732  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11733  lt_cv_shlibpath_overrides_runpath=yes
11734fi
11735fi
11736rm -f core conftest.err conftest.$ac_objext \
11737    conftest$ac_exeext conftest.$ac_ext
11738    LDFLAGS=$save_LDFLAGS
11739    libdir=$save_libdir
11740
11741fi
11742
11743  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11744
11745  # This implies no fast_install, which is unacceptable.
11746  # Some rework will be needed to allow for fast_install
11747  # before this can be enabled.
11748  hardcode_into_libs=yes
11749
11750  # Ideally, we could use ldconfig to report *all* directores which are
11751  # searched for libraries, however this is still not possible.  Aside from not
11752  # being certain /sbin/ldconfig is available, command
11753  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11754  # even though it is searched at run-time.  Try to do the best guess by
11755  # appending ld.so.conf contents (and includes) to the search path.
11756  if test -f /etc/ld.so.conf; then
11757    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' ' '`
11758    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11759  fi
11760
11761  # We used to test for /lib/ld.so.1 and disable shared libraries on
11762  # powerpc, because MkLinux only supported shared libraries with the
11763  # GNU dynamic linker.  Since this was broken with cross compilers,
11764  # most powerpc-linux boxes support dynamic linking these days and
11765  # people can always --disable-shared, the test was removed, and we
11766  # assume the GNU/Linux dynamic linker is in use.
11767  dynamic_linker='GNU/Linux ld.so'
11768  ;;
11769
11770netbsd*)
11771  version_type=sunos
11772  need_lib_prefix=no
11773  need_version=no
11774  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11775    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11776    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11777    dynamic_linker='NetBSD (a.out) ld.so'
11778  else
11779    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11780    soname_spec='$libname$release$shared_ext$major'
11781    dynamic_linker='NetBSD ld.elf_so'
11782  fi
11783  shlibpath_var=LD_LIBRARY_PATH
11784  shlibpath_overrides_runpath=yes
11785  hardcode_into_libs=yes
11786  ;;
11787
11788newsos6)
11789  version_type=linux # correct to gnu/linux during the next big refactor
11790  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11791  shlibpath_var=LD_LIBRARY_PATH
11792  shlibpath_overrides_runpath=yes
11793  ;;
11794
11795*nto* | *qnx*)
11796  version_type=qnx
11797  need_lib_prefix=no
11798  need_version=no
11799  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11800  soname_spec='$libname$release$shared_ext$major'
11801  shlibpath_var=LD_LIBRARY_PATH
11802  shlibpath_overrides_runpath=no
11803  hardcode_into_libs=yes
11804  dynamic_linker='ldqnx.so'
11805  ;;
11806
11807openbsd* | bitrig*)
11808  version_type=sunos
11809  sys_lib_dlsearch_path_spec=/usr/lib
11810  need_lib_prefix=no
11811  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11812    need_version=no
11813  else
11814    need_version=yes
11815  fi
11816  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11817  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11818  shlibpath_var=LD_LIBRARY_PATH
11819  shlibpath_overrides_runpath=yes
11820  ;;
11821
11822os2*)
11823  libname_spec='$name'
11824  version_type=windows
11825  shrext_cmds=.dll
11826  need_version=no
11827  need_lib_prefix=no
11828  # OS/2 can only load a DLL with a base name of 8 characters or less.
11829  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11830    v=$($ECHO $release$versuffix | tr -d .-);
11831    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11832    $ECHO $n$v`$shared_ext'
11833  library_names_spec='${libname}_dll.$libext'
11834  dynamic_linker='OS/2 ld.exe'
11835  shlibpath_var=BEGINLIBPATH
11836  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11837  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11838  postinstall_cmds='base_file=`basename \$file`~
11839    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11840    dldir=$destdir/`dirname \$dlpath`~
11841    test -d \$dldir || mkdir -p \$dldir~
11842    $install_prog $dir/$dlname \$dldir/$dlname~
11843    chmod a+x \$dldir/$dlname~
11844    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11845      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11846    fi'
11847  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11848    dlpath=$dir/\$dldll~
11849    $RM \$dlpath'
11850  ;;
11851
11852osf3* | osf4* | osf5*)
11853  version_type=osf
11854  need_lib_prefix=no
11855  need_version=no
11856  soname_spec='$libname$release$shared_ext$major'
11857  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11858  shlibpath_var=LD_LIBRARY_PATH
11859  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11860  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11861  ;;
11862
11863rdos*)
11864  dynamic_linker=no
11865  ;;
11866
11867solaris*)
11868  version_type=linux # correct to gnu/linux during the next big refactor
11869  need_lib_prefix=no
11870  need_version=no
11871  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11872  soname_spec='$libname$release$shared_ext$major'
11873  shlibpath_var=LD_LIBRARY_PATH
11874  shlibpath_overrides_runpath=yes
11875  hardcode_into_libs=yes
11876  # ldd complains unless libraries are executable
11877  postinstall_cmds='chmod +x $lib'
11878  ;;
11879
11880sunos4*)
11881  version_type=sunos
11882  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11883  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11884  shlibpath_var=LD_LIBRARY_PATH
11885  shlibpath_overrides_runpath=yes
11886  if test yes = "$with_gnu_ld"; then
11887    need_lib_prefix=no
11888  fi
11889  need_version=yes
11890  ;;
11891
11892sysv4 | sysv4.3*)
11893  version_type=linux # correct to gnu/linux during the next big refactor
11894  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11895  soname_spec='$libname$release$shared_ext$major'
11896  shlibpath_var=LD_LIBRARY_PATH
11897  case $host_vendor in
11898    sni)
11899      shlibpath_overrides_runpath=no
11900      need_lib_prefix=no
11901      runpath_var=LD_RUN_PATH
11902      ;;
11903    siemens)
11904      need_lib_prefix=no
11905      ;;
11906    motorola)
11907      need_lib_prefix=no
11908      need_version=no
11909      shlibpath_overrides_runpath=no
11910      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11911      ;;
11912  esac
11913  ;;
11914
11915sysv4*MP*)
11916  if test -d /usr/nec; then
11917    version_type=linux # correct to gnu/linux during the next big refactor
11918    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11919    soname_spec='$libname$shared_ext.$major'
11920    shlibpath_var=LD_LIBRARY_PATH
11921  fi
11922  ;;
11923
11924sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11925  version_type=sco
11926  need_lib_prefix=no
11927  need_version=no
11928  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11929  soname_spec='$libname$release$shared_ext$major'
11930  shlibpath_var=LD_LIBRARY_PATH
11931  shlibpath_overrides_runpath=yes
11932  hardcode_into_libs=yes
11933  if test yes = "$with_gnu_ld"; then
11934    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11935  else
11936    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11937    case $host_os in
11938      sco3.2v5*)
11939        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11940	;;
11941    esac
11942  fi
11943  sys_lib_dlsearch_path_spec='/usr/lib'
11944  ;;
11945
11946tpf*)
11947  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11948  version_type=linux # correct to gnu/linux during the next big refactor
11949  need_lib_prefix=no
11950  need_version=no
11951  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11952  shlibpath_var=LD_LIBRARY_PATH
11953  shlibpath_overrides_runpath=no
11954  hardcode_into_libs=yes
11955  ;;
11956
11957uts4*)
11958  version_type=linux # correct to gnu/linux during the next big refactor
11959  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11960  soname_spec='$libname$release$shared_ext$major'
11961  shlibpath_var=LD_LIBRARY_PATH
11962  ;;
11963
11964*)
11965  dynamic_linker=no
11966  ;;
11967esac
11968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11969$as_echo "$dynamic_linker" >&6; }
11970test no = "$dynamic_linker" && can_build_shared=no
11971
11972variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11973if test yes = "$GCC"; then
11974  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11975fi
11976
11977if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11978  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11979fi
11980
11981if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11982  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11983fi
11984
11985# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11986configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11987
11988# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11989func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11990
11991# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11992configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11993
11994
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12091$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12092hardcode_action=
12093if test -n "$hardcode_libdir_flag_spec" ||
12094   test -n "$runpath_var" ||
12095   test yes = "$hardcode_automatic"; then
12096
12097  # We can hardcode non-existent directories.
12098  if test no != "$hardcode_direct" &&
12099     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12100     # have to relink, otherwise we might link with an installed library
12101     # when we should be linking with a yet-to-be-installed one
12102     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12103     test no != "$hardcode_minus_L"; then
12104    # Linking always hardcodes the temporary library directory.
12105    hardcode_action=relink
12106  else
12107    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12108    hardcode_action=immediate
12109  fi
12110else
12111  # We cannot hardcode anything, or else we can only hardcode existing
12112  # directories.
12113  hardcode_action=unsupported
12114fi
12115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12116$as_echo "$hardcode_action" >&6; }
12117
12118if test relink = "$hardcode_action" ||
12119   test yes = "$inherit_rpath"; then
12120  # Fast installation is not supported
12121  enable_fast_install=no
12122elif test yes = "$shlibpath_overrides_runpath" ||
12123     test no = "$enable_shared"; then
12124  # Fast installation is not necessary
12125  enable_fast_install=needless
12126fi
12127
12128
12129
12130
12131
12132
12133  if test yes != "$enable_dlopen"; then
12134  enable_dlopen=unknown
12135  enable_dlopen_self=unknown
12136  enable_dlopen_self_static=unknown
12137else
12138  lt_cv_dlopen=no
12139  lt_cv_dlopen_libs=
12140
12141  case $host_os in
12142  beos*)
12143    lt_cv_dlopen=load_add_on
12144    lt_cv_dlopen_libs=
12145    lt_cv_dlopen_self=yes
12146    ;;
12147
12148  mingw* | pw32* | cegcc*)
12149    lt_cv_dlopen=LoadLibrary
12150    lt_cv_dlopen_libs=
12151    ;;
12152
12153  cygwin*)
12154    lt_cv_dlopen=dlopen
12155    lt_cv_dlopen_libs=
12156    ;;
12157
12158  darwin*)
12159    # if libdl is installed we need to link against it
12160    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12161$as_echo_n "checking for dlopen in -ldl... " >&6; }
12162if ${ac_cv_lib_dl_dlopen+:} false; then :
12163  $as_echo_n "(cached) " >&6
12164else
12165  ac_check_lib_save_LIBS=$LIBS
12166LIBS="-ldl  $LIBS"
12167cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168/* end confdefs.h.  */
12169
12170/* Override any GCC internal prototype to avoid an error.
12171   Use char because int might match the return type of a GCC
12172   builtin and then its argument prototype would still apply.  */
12173#ifdef __cplusplus
12174extern "C"
12175#endif
12176char dlopen ();
12177int
12178main ()
12179{
12180return dlopen ();
12181  ;
12182  return 0;
12183}
12184_ACEOF
12185if ac_fn_c_try_link "$LINENO"; then :
12186  ac_cv_lib_dl_dlopen=yes
12187else
12188  ac_cv_lib_dl_dlopen=no
12189fi
12190rm -f core conftest.err conftest.$ac_objext \
12191    conftest$ac_exeext conftest.$ac_ext
12192LIBS=$ac_check_lib_save_LIBS
12193fi
12194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12195$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12196if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12197  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12198else
12199
12200    lt_cv_dlopen=dyld
12201    lt_cv_dlopen_libs=
12202    lt_cv_dlopen_self=yes
12203
12204fi
12205
12206    ;;
12207
12208  tpf*)
12209    # Don't try to run any link tests for TPF.  We know it's impossible
12210    # because TPF is a cross-compiler, and we know how we open DSOs.
12211    lt_cv_dlopen=dlopen
12212    lt_cv_dlopen_libs=
12213    lt_cv_dlopen_self=no
12214    ;;
12215
12216  *)
12217    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12218if test "x$ac_cv_func_shl_load" = xyes; then :
12219  lt_cv_dlopen=shl_load
12220else
12221  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12222$as_echo_n "checking for shl_load in -ldld... " >&6; }
12223if ${ac_cv_lib_dld_shl_load+:} false; then :
12224  $as_echo_n "(cached) " >&6
12225else
12226  ac_check_lib_save_LIBS=$LIBS
12227LIBS="-ldld  $LIBS"
12228cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229/* end confdefs.h.  */
12230
12231/* Override any GCC internal prototype to avoid an error.
12232   Use char because int might match the return type of a GCC
12233   builtin and then its argument prototype would still apply.  */
12234#ifdef __cplusplus
12235extern "C"
12236#endif
12237char shl_load ();
12238int
12239main ()
12240{
12241return shl_load ();
12242  ;
12243  return 0;
12244}
12245_ACEOF
12246if ac_fn_c_try_link "$LINENO"; then :
12247  ac_cv_lib_dld_shl_load=yes
12248else
12249  ac_cv_lib_dld_shl_load=no
12250fi
12251rm -f core conftest.err conftest.$ac_objext \
12252    conftest$ac_exeext conftest.$ac_ext
12253LIBS=$ac_check_lib_save_LIBS
12254fi
12255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12256$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12257if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12258  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12259else
12260  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12261if test "x$ac_cv_func_dlopen" = xyes; then :
12262  lt_cv_dlopen=dlopen
12263else
12264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12265$as_echo_n "checking for dlopen in -ldl... " >&6; }
12266if ${ac_cv_lib_dl_dlopen+:} false; then :
12267  $as_echo_n "(cached) " >&6
12268else
12269  ac_check_lib_save_LIBS=$LIBS
12270LIBS="-ldl  $LIBS"
12271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272/* end confdefs.h.  */
12273
12274/* Override any GCC internal prototype to avoid an error.
12275   Use char because int might match the return type of a GCC
12276   builtin and then its argument prototype would still apply.  */
12277#ifdef __cplusplus
12278extern "C"
12279#endif
12280char dlopen ();
12281int
12282main ()
12283{
12284return dlopen ();
12285  ;
12286  return 0;
12287}
12288_ACEOF
12289if ac_fn_c_try_link "$LINENO"; then :
12290  ac_cv_lib_dl_dlopen=yes
12291else
12292  ac_cv_lib_dl_dlopen=no
12293fi
12294rm -f core conftest.err conftest.$ac_objext \
12295    conftest$ac_exeext conftest.$ac_ext
12296LIBS=$ac_check_lib_save_LIBS
12297fi
12298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12299$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12300if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12301  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12302else
12303  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12304$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12305if ${ac_cv_lib_svld_dlopen+:} false; then :
12306  $as_echo_n "(cached) " >&6
12307else
12308  ac_check_lib_save_LIBS=$LIBS
12309LIBS="-lsvld  $LIBS"
12310cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311/* end confdefs.h.  */
12312
12313/* Override any GCC internal prototype to avoid an error.
12314   Use char because int might match the return type of a GCC
12315   builtin and then its argument prototype would still apply.  */
12316#ifdef __cplusplus
12317extern "C"
12318#endif
12319char dlopen ();
12320int
12321main ()
12322{
12323return dlopen ();
12324  ;
12325  return 0;
12326}
12327_ACEOF
12328if ac_fn_c_try_link "$LINENO"; then :
12329  ac_cv_lib_svld_dlopen=yes
12330else
12331  ac_cv_lib_svld_dlopen=no
12332fi
12333rm -f core conftest.err conftest.$ac_objext \
12334    conftest$ac_exeext conftest.$ac_ext
12335LIBS=$ac_check_lib_save_LIBS
12336fi
12337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12338$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12339if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12340  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12341else
12342  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12343$as_echo_n "checking for dld_link in -ldld... " >&6; }
12344if ${ac_cv_lib_dld_dld_link+:} false; then :
12345  $as_echo_n "(cached) " >&6
12346else
12347  ac_check_lib_save_LIBS=$LIBS
12348LIBS="-ldld  $LIBS"
12349cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350/* end confdefs.h.  */
12351
12352/* Override any GCC internal prototype to avoid an error.
12353   Use char because int might match the return type of a GCC
12354   builtin and then its argument prototype would still apply.  */
12355#ifdef __cplusplus
12356extern "C"
12357#endif
12358char dld_link ();
12359int
12360main ()
12361{
12362return dld_link ();
12363  ;
12364  return 0;
12365}
12366_ACEOF
12367if ac_fn_c_try_link "$LINENO"; then :
12368  ac_cv_lib_dld_dld_link=yes
12369else
12370  ac_cv_lib_dld_dld_link=no
12371fi
12372rm -f core conftest.err conftest.$ac_objext \
12373    conftest$ac_exeext conftest.$ac_ext
12374LIBS=$ac_check_lib_save_LIBS
12375fi
12376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12377$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12378if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12379  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12380fi
12381
12382
12383fi
12384
12385
12386fi
12387
12388
12389fi
12390
12391
12392fi
12393
12394
12395fi
12396
12397    ;;
12398  esac
12399
12400  if test no = "$lt_cv_dlopen"; then
12401    enable_dlopen=no
12402  else
12403    enable_dlopen=yes
12404  fi
12405
12406  case $lt_cv_dlopen in
12407  dlopen)
12408    save_CPPFLAGS=$CPPFLAGS
12409    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12410
12411    save_LDFLAGS=$LDFLAGS
12412    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12413
12414    save_LIBS=$LIBS
12415    LIBS="$lt_cv_dlopen_libs $LIBS"
12416
12417    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12418$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12419if ${lt_cv_dlopen_self+:} false; then :
12420  $as_echo_n "(cached) " >&6
12421else
12422  	  if test yes = "$cross_compiling"; then :
12423  lt_cv_dlopen_self=cross
12424else
12425  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12426  lt_status=$lt_dlunknown
12427  cat > conftest.$ac_ext <<_LT_EOF
12428#line $LINENO "configure"
12429#include "confdefs.h"
12430
12431#if HAVE_DLFCN_H
12432#include <dlfcn.h>
12433#endif
12434
12435#include <stdio.h>
12436
12437#ifdef RTLD_GLOBAL
12438#  define LT_DLGLOBAL		RTLD_GLOBAL
12439#else
12440#  ifdef DL_GLOBAL
12441#    define LT_DLGLOBAL		DL_GLOBAL
12442#  else
12443#    define LT_DLGLOBAL		0
12444#  endif
12445#endif
12446
12447/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12448   find out it does not work in some platform. */
12449#ifndef LT_DLLAZY_OR_NOW
12450#  ifdef RTLD_LAZY
12451#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12452#  else
12453#    ifdef DL_LAZY
12454#      define LT_DLLAZY_OR_NOW		DL_LAZY
12455#    else
12456#      ifdef RTLD_NOW
12457#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12458#      else
12459#        ifdef DL_NOW
12460#          define LT_DLLAZY_OR_NOW	DL_NOW
12461#        else
12462#          define LT_DLLAZY_OR_NOW	0
12463#        endif
12464#      endif
12465#    endif
12466#  endif
12467#endif
12468
12469/* When -fvisibility=hidden is used, assume the code has been annotated
12470   correspondingly for the symbols needed.  */
12471#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12472int fnord () __attribute__((visibility("default")));
12473#endif
12474
12475int fnord () { return 42; }
12476int main ()
12477{
12478  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12479  int status = $lt_dlunknown;
12480
12481  if (self)
12482    {
12483      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12484      else
12485        {
12486	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12487          else puts (dlerror ());
12488	}
12489      /* dlclose (self); */
12490    }
12491  else
12492    puts (dlerror ());
12493
12494  return status;
12495}
12496_LT_EOF
12497  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12498  (eval $ac_link) 2>&5
12499  ac_status=$?
12500  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12501  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12502    (./conftest; exit; ) >&5 2>/dev/null
12503    lt_status=$?
12504    case x$lt_status in
12505      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12506      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12507      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12508    esac
12509  else :
12510    # compilation failed
12511    lt_cv_dlopen_self=no
12512  fi
12513fi
12514rm -fr conftest*
12515
12516
12517fi
12518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12519$as_echo "$lt_cv_dlopen_self" >&6; }
12520
12521    if test yes = "$lt_cv_dlopen_self"; then
12522      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12523      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12524$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12525if ${lt_cv_dlopen_self_static+:} false; then :
12526  $as_echo_n "(cached) " >&6
12527else
12528  	  if test yes = "$cross_compiling"; then :
12529  lt_cv_dlopen_self_static=cross
12530else
12531  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12532  lt_status=$lt_dlunknown
12533  cat > conftest.$ac_ext <<_LT_EOF
12534#line $LINENO "configure"
12535#include "confdefs.h"
12536
12537#if HAVE_DLFCN_H
12538#include <dlfcn.h>
12539#endif
12540
12541#include <stdio.h>
12542
12543#ifdef RTLD_GLOBAL
12544#  define LT_DLGLOBAL		RTLD_GLOBAL
12545#else
12546#  ifdef DL_GLOBAL
12547#    define LT_DLGLOBAL		DL_GLOBAL
12548#  else
12549#    define LT_DLGLOBAL		0
12550#  endif
12551#endif
12552
12553/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12554   find out it does not work in some platform. */
12555#ifndef LT_DLLAZY_OR_NOW
12556#  ifdef RTLD_LAZY
12557#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12558#  else
12559#    ifdef DL_LAZY
12560#      define LT_DLLAZY_OR_NOW		DL_LAZY
12561#    else
12562#      ifdef RTLD_NOW
12563#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12564#      else
12565#        ifdef DL_NOW
12566#          define LT_DLLAZY_OR_NOW	DL_NOW
12567#        else
12568#          define LT_DLLAZY_OR_NOW	0
12569#        endif
12570#      endif
12571#    endif
12572#  endif
12573#endif
12574
12575/* When -fvisibility=hidden is used, assume the code has been annotated
12576   correspondingly for the symbols needed.  */
12577#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12578int fnord () __attribute__((visibility("default")));
12579#endif
12580
12581int fnord () { return 42; }
12582int main ()
12583{
12584  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12585  int status = $lt_dlunknown;
12586
12587  if (self)
12588    {
12589      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12590      else
12591        {
12592	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12593          else puts (dlerror ());
12594	}
12595      /* dlclose (self); */
12596    }
12597  else
12598    puts (dlerror ());
12599
12600  return status;
12601}
12602_LT_EOF
12603  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12604  (eval $ac_link) 2>&5
12605  ac_status=$?
12606  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12607  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12608    (./conftest; exit; ) >&5 2>/dev/null
12609    lt_status=$?
12610    case x$lt_status in
12611      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12612      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12613      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12614    esac
12615  else :
12616    # compilation failed
12617    lt_cv_dlopen_self_static=no
12618  fi
12619fi
12620rm -fr conftest*
12621
12622
12623fi
12624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12625$as_echo "$lt_cv_dlopen_self_static" >&6; }
12626    fi
12627
12628    CPPFLAGS=$save_CPPFLAGS
12629    LDFLAGS=$save_LDFLAGS
12630    LIBS=$save_LIBS
12631    ;;
12632  esac
12633
12634  case $lt_cv_dlopen_self in
12635  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12636  *) enable_dlopen_self=unknown ;;
12637  esac
12638
12639  case $lt_cv_dlopen_self_static in
12640  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12641  *) enable_dlopen_self_static=unknown ;;
12642  esac
12643fi
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661striplib=
12662old_striplib=
12663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12664$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12665if test -z "$STRIP"; then
12666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12667$as_echo "no" >&6; }
12668else
12669  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12670    old_striplib="$STRIP --strip-debug"
12671    striplib="$STRIP --strip-unneeded"
12672    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12673$as_echo "yes" >&6; }
12674  else
12675    case $host_os in
12676    darwin*)
12677      # FIXME - insert some real tests, host_os isn't really good enough
12678      striplib="$STRIP -x"
12679      old_striplib="$STRIP -S"
12680      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12681$as_echo "yes" >&6; }
12682      ;;
12683    freebsd*)
12684      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
12685        old_striplib="$STRIP --strip-debug"
12686        striplib="$STRIP --strip-unneeded"
12687        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12688$as_echo "yes" >&6; }
12689      else
12690        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12691$as_echo "no" >&6; }
12692      fi
12693      ;;
12694    *)
12695      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12696$as_echo "no" >&6; }
12697      ;;
12698    esac
12699  fi
12700fi
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713  # Report what library types will actually be built
12714  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12715$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12717$as_echo "$can_build_shared" >&6; }
12718
12719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12720$as_echo_n "checking whether to build shared libraries... " >&6; }
12721  test no = "$can_build_shared" && enable_shared=no
12722
12723  # On AIX, shared libraries and static libraries use the same namespace, and
12724  # are all built from PIC.
12725  case $host_os in
12726  aix3*)
12727    test yes = "$enable_shared" && enable_static=no
12728    if test -n "$RANLIB"; then
12729      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12730      postinstall_cmds='$RANLIB $lib'
12731    fi
12732    ;;
12733
12734  aix[4-9]*)
12735    if test ia64 != "$host_cpu"; then
12736      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12737      yes,aix,yes) ;;			# shared object as lib.so file only
12738      yes,svr4,*) ;;			# shared object as lib.so archive member only
12739      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12740      esac
12741    fi
12742    ;;
12743  esac
12744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12745$as_echo "$enable_shared" >&6; }
12746
12747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12748$as_echo_n "checking whether to build static libraries... " >&6; }
12749  # Make sure either enable_shared or enable_static is yes.
12750  test yes = "$enable_shared" || enable_static=yes
12751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12752$as_echo "$enable_static" >&6; }
12753
12754
12755
12756
12757fi
12758ac_ext=c
12759ac_cpp='$CPP $CPPFLAGS'
12760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762ac_compiler_gnu=$ac_cv_c_compiler_gnu
12763
12764CC=$lt_save_CC
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780        ac_config_commands="$ac_config_commands libtool"
12781
12782
12783
12784
12785# Only expand once:
12786
12787
12788
12789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12790$as_echo_n "checking for ANSI C header files... " >&6; }
12791if ${ac_cv_header_stdc+:} false; then :
12792  $as_echo_n "(cached) " >&6
12793else
12794  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795/* end confdefs.h.  */
12796#include <stdlib.h>
12797#include <stdarg.h>
12798#include <string.h>
12799#include <float.h>
12800
12801int
12802main ()
12803{
12804
12805  ;
12806  return 0;
12807}
12808_ACEOF
12809if ac_fn_c_try_compile "$LINENO"; then :
12810  ac_cv_header_stdc=yes
12811else
12812  ac_cv_header_stdc=no
12813fi
12814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12815
12816if test $ac_cv_header_stdc = yes; then
12817  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12818  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819/* end confdefs.h.  */
12820#include <string.h>
12821
12822_ACEOF
12823if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12824  $EGREP "memchr" >/dev/null 2>&1; then :
12825
12826else
12827  ac_cv_header_stdc=no
12828fi
12829rm -f conftest*
12830
12831fi
12832
12833if test $ac_cv_header_stdc = yes; then
12834  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836/* end confdefs.h.  */
12837#include <stdlib.h>
12838
12839_ACEOF
12840if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12841  $EGREP "free" >/dev/null 2>&1; then :
12842
12843else
12844  ac_cv_header_stdc=no
12845fi
12846rm -f conftest*
12847
12848fi
12849
12850if test $ac_cv_header_stdc = yes; then
12851  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12852  if test "$cross_compiling" = yes; then :
12853  :
12854else
12855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856/* end confdefs.h.  */
12857#include <ctype.h>
12858#include <stdlib.h>
12859#if ((' ' & 0x0FF) == 0x020)
12860# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12861# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12862#else
12863# define ISLOWER(c) \
12864		   (('a' <= (c) && (c) <= 'i') \
12865		     || ('j' <= (c) && (c) <= 'r') \
12866		     || ('s' <= (c) && (c) <= 'z'))
12867# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12868#endif
12869
12870#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12871int
12872main ()
12873{
12874  int i;
12875  for (i = 0; i < 256; i++)
12876    if (XOR (islower (i), ISLOWER (i))
12877	|| toupper (i) != TOUPPER (i))
12878      return 2;
12879  return 0;
12880}
12881_ACEOF
12882if ac_fn_c_try_run "$LINENO"; then :
12883
12884else
12885  ac_cv_header_stdc=no
12886fi
12887rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12888  conftest.$ac_objext conftest.beam conftest.$ac_ext
12889fi
12890
12891fi
12892fi
12893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12894$as_echo "$ac_cv_header_stdc" >&6; }
12895if test $ac_cv_header_stdc = yes; then
12896
12897$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12898
12899fi
12900
12901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
12902$as_echo_n "checking for library containing floor... " >&6; }
12903if ${ac_cv_search_floor+:} false; then :
12904  $as_echo_n "(cached) " >&6
12905else
12906  ac_func_search_save_LIBS=$LIBS
12907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908/* end confdefs.h.  */
12909
12910/* Override any GCC internal prototype to avoid an error.
12911   Use char because int might match the return type of a GCC
12912   builtin and then its argument prototype would still apply.  */
12913#ifdef __cplusplus
12914extern "C"
12915#endif
12916char floor ();
12917int
12918main ()
12919{
12920return floor ();
12921  ;
12922  return 0;
12923}
12924_ACEOF
12925for ac_lib in '' m; do
12926  if test -z "$ac_lib"; then
12927    ac_res="none required"
12928  else
12929    ac_res=-l$ac_lib
12930    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12931  fi
12932  if ac_fn_c_try_link "$LINENO"; then :
12933  ac_cv_search_floor=$ac_res
12934fi
12935rm -f core conftest.err conftest.$ac_objext \
12936    conftest$ac_exeext
12937  if ${ac_cv_search_floor+:} false; then :
12938  break
12939fi
12940done
12941if ${ac_cv_search_floor+:} false; then :
12942
12943else
12944  ac_cv_search_floor=no
12945fi
12946rm conftest.$ac_ext
12947LIBS=$ac_func_search_save_LIBS
12948fi
12949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
12950$as_echo "$ac_cv_search_floor" >&6; }
12951ac_res=$ac_cv_search_floor
12952if test "$ac_res" != no; then :
12953  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12954
12955fi
12956
12957
12958
12959    GETTEXT_PACKAGE=xfce4-dict
12960
12961cat >>confdefs.h <<_ACEOF
12962#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12963_ACEOF
12964
12965
12966
12967    ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu hy_AM hye id is it ja kk ko lt lv ms nb nl oc pl pt_BR pt ru sk sl sq sr sv th tr ug uk ur_PK ur vi zh_CN zh_TW"
12968
12969   for ac_header in locale.h
12970do :
12971  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12972if test "x$ac_cv_header_locale_h" = xyes; then :
12973  cat >>confdefs.h <<_ACEOF
12974#define HAVE_LOCALE_H 1
12975_ACEOF
12976
12977fi
12978
12979done
12980
12981    if test $ac_cv_header_locale_h = yes; then
12982    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12983$as_echo_n "checking for LC_MESSAGES... " >&6; }
12984if ${am_cv_val_LC_MESSAGES+:} false; then :
12985  $as_echo_n "(cached) " >&6
12986else
12987  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988/* end confdefs.h.  */
12989#include <locale.h>
12990int
12991main ()
12992{
12993return LC_MESSAGES
12994  ;
12995  return 0;
12996}
12997_ACEOF
12998if ac_fn_c_try_link "$LINENO"; then :
12999  am_cv_val_LC_MESSAGES=yes
13000else
13001  am_cv_val_LC_MESSAGES=no
13002fi
13003rm -f core conftest.err conftest.$ac_objext \
13004    conftest$ac_exeext conftest.$ac_ext
13005fi
13006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13007$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13008    if test $am_cv_val_LC_MESSAGES = yes; then
13009
13010$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13011
13012    fi
13013  fi
13014     USE_NLS=yes
13015
13016
13017    gt_cv_have_gettext=no
13018
13019    CATOBJEXT=NONE
13020    XGETTEXT=:
13021    INTLLIBS=
13022
13023
13024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13025$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13026if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13027  $as_echo_n "(cached) " >&6
13028else
13029  gt_save_LIBS="$LIBS"
13030     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13031     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032/* end confdefs.h.  */
13033#include <CoreFoundation/CFPreferences.h>
13034int
13035main ()
13036{
13037CFPreferencesCopyAppValue(NULL, NULL)
13038  ;
13039  return 0;
13040}
13041_ACEOF
13042if ac_fn_c_try_link "$LINENO"; then :
13043  gt_cv_func_CFPreferencesCopyAppValue=yes
13044else
13045  gt_cv_func_CFPreferencesCopyAppValue=no
13046fi
13047rm -f core conftest.err conftest.$ac_objext \
13048    conftest$ac_exeext conftest.$ac_ext
13049     LIBS="$gt_save_LIBS"
13050fi
13051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13052$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13053  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13054
13055$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13056
13057  fi
13058    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13059$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13060if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13061  $as_echo_n "(cached) " >&6
13062else
13063  gt_save_LIBS="$LIBS"
13064     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13065     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066/* end confdefs.h.  */
13067#include <CoreFoundation/CFLocale.h>
13068int
13069main ()
13070{
13071CFLocaleCopyCurrent();
13072  ;
13073  return 0;
13074}
13075_ACEOF
13076if ac_fn_c_try_link "$LINENO"; then :
13077  gt_cv_func_CFLocaleCopyCurrent=yes
13078else
13079  gt_cv_func_CFLocaleCopyCurrent=no
13080fi
13081rm -f core conftest.err conftest.$ac_objext \
13082    conftest$ac_exeext conftest.$ac_ext
13083     LIBS="$gt_save_LIBS"
13084fi
13085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13086$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13087  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13088
13089$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13090
13091  fi
13092  INTL_MACOSX_LIBS=
13093  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13094    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13095  fi
13096
13097
13098
13099    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13100if test "x$ac_cv_header_libintl_h" = xyes; then :
13101  gt_cv_func_dgettext_libintl="no"
13102      libintl_extra_libs=""
13103
13104      #
13105      # First check in libc
13106      #
13107      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13108$as_echo_n "checking for ngettext in libc... " >&6; }
13109if ${gt_cv_func_ngettext_libc+:} false; then :
13110  $as_echo_n "(cached) " >&6
13111else
13112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113/* end confdefs.h.  */
13114
13115#include <libintl.h>
13116
13117int
13118main ()
13119{
13120return !ngettext ("","", 1)
13121  ;
13122  return 0;
13123}
13124_ACEOF
13125if ac_fn_c_try_link "$LINENO"; then :
13126  gt_cv_func_ngettext_libc=yes
13127else
13128  gt_cv_func_ngettext_libc=no
13129fi
13130rm -f core conftest.err conftest.$ac_objext \
13131    conftest$ac_exeext conftest.$ac_ext
13132
13133fi
13134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13135$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13136
13137      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13138	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13139$as_echo_n "checking for dgettext in libc... " >&6; }
13140if ${gt_cv_func_dgettext_libc+:} false; then :
13141  $as_echo_n "(cached) " >&6
13142else
13143  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144/* end confdefs.h.  */
13145
13146#include <libintl.h>
13147
13148int
13149main ()
13150{
13151return !dgettext ("","")
13152  ;
13153  return 0;
13154}
13155_ACEOF
13156if ac_fn_c_try_link "$LINENO"; then :
13157  gt_cv_func_dgettext_libc=yes
13158else
13159  gt_cv_func_dgettext_libc=no
13160fi
13161rm -f core conftest.err conftest.$ac_objext \
13162    conftest$ac_exeext conftest.$ac_ext
13163
13164fi
13165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13166$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13167      fi
13168
13169      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13170        for ac_func in bind_textdomain_codeset
13171do :
13172  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13173if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13174  cat >>confdefs.h <<_ACEOF
13175#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13176_ACEOF
13177
13178fi
13179done
13180
13181      fi
13182
13183      #
13184      # If we don't have everything we want, check in libintl
13185      #
13186      if test "$gt_cv_func_dgettext_libc" != "yes" \
13187	 || test "$gt_cv_func_ngettext_libc" != "yes" \
13188         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13189
13190        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13191$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13192if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13193  $as_echo_n "(cached) " >&6
13194else
13195  ac_check_lib_save_LIBS=$LIBS
13196LIBS="-lintl  $LIBS"
13197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198/* end confdefs.h.  */
13199
13200/* Override any GCC internal prototype to avoid an error.
13201   Use char because int might match the return type of a GCC
13202   builtin and then its argument prototype would still apply.  */
13203#ifdef __cplusplus
13204extern "C"
13205#endif
13206char bindtextdomain ();
13207int
13208main ()
13209{
13210return bindtextdomain ();
13211  ;
13212  return 0;
13213}
13214_ACEOF
13215if ac_fn_c_try_link "$LINENO"; then :
13216  ac_cv_lib_intl_bindtextdomain=yes
13217else
13218  ac_cv_lib_intl_bindtextdomain=no
13219fi
13220rm -f core conftest.err conftest.$ac_objext \
13221    conftest$ac_exeext conftest.$ac_ext
13222LIBS=$ac_check_lib_save_LIBS
13223fi
13224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13225$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13226if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13228$as_echo_n "checking for ngettext in -lintl... " >&6; }
13229if ${ac_cv_lib_intl_ngettext+:} false; then :
13230  $as_echo_n "(cached) " >&6
13231else
13232  ac_check_lib_save_LIBS=$LIBS
13233LIBS="-lintl  $LIBS"
13234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235/* end confdefs.h.  */
13236
13237/* Override any GCC internal prototype to avoid an error.
13238   Use char because int might match the return type of a GCC
13239   builtin and then its argument prototype would still apply.  */
13240#ifdef __cplusplus
13241extern "C"
13242#endif
13243char ngettext ();
13244int
13245main ()
13246{
13247return ngettext ();
13248  ;
13249  return 0;
13250}
13251_ACEOF
13252if ac_fn_c_try_link "$LINENO"; then :
13253  ac_cv_lib_intl_ngettext=yes
13254else
13255  ac_cv_lib_intl_ngettext=no
13256fi
13257rm -f core conftest.err conftest.$ac_objext \
13258    conftest$ac_exeext conftest.$ac_ext
13259LIBS=$ac_check_lib_save_LIBS
13260fi
13261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13262$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13263if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13264  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13265$as_echo_n "checking for dgettext in -lintl... " >&6; }
13266if ${ac_cv_lib_intl_dgettext+:} false; then :
13267  $as_echo_n "(cached) " >&6
13268else
13269  ac_check_lib_save_LIBS=$LIBS
13270LIBS="-lintl  $LIBS"
13271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272/* end confdefs.h.  */
13273
13274/* Override any GCC internal prototype to avoid an error.
13275   Use char because int might match the return type of a GCC
13276   builtin and then its argument prototype would still apply.  */
13277#ifdef __cplusplus
13278extern "C"
13279#endif
13280char dgettext ();
13281int
13282main ()
13283{
13284return dgettext ();
13285  ;
13286  return 0;
13287}
13288_ACEOF
13289if ac_fn_c_try_link "$LINENO"; then :
13290  ac_cv_lib_intl_dgettext=yes
13291else
13292  ac_cv_lib_intl_dgettext=no
13293fi
13294rm -f core conftest.err conftest.$ac_objext \
13295    conftest$ac_exeext conftest.$ac_ext
13296LIBS=$ac_check_lib_save_LIBS
13297fi
13298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13299$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13300if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13301  gt_cv_func_dgettext_libintl=yes
13302fi
13303
13304fi
13305
13306fi
13307
13308
13309	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13310	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13311$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13312	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13313$as_echo "" >&6; }
13314  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13315$as_echo_n "checking for ngettext in -lintl... " >&6; }
13316if ${ac_cv_lib_intl_ngettext+:} false; then :
13317  $as_echo_n "(cached) " >&6
13318else
13319  ac_check_lib_save_LIBS=$LIBS
13320LIBS="-lintl -liconv $LIBS"
13321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322/* end confdefs.h.  */
13323
13324/* Override any GCC internal prototype to avoid an error.
13325   Use char because int might match the return type of a GCC
13326   builtin and then its argument prototype would still apply.  */
13327#ifdef __cplusplus
13328extern "C"
13329#endif
13330char ngettext ();
13331int
13332main ()
13333{
13334return ngettext ();
13335  ;
13336  return 0;
13337}
13338_ACEOF
13339if ac_fn_c_try_link "$LINENO"; then :
13340  ac_cv_lib_intl_ngettext=yes
13341else
13342  ac_cv_lib_intl_ngettext=no
13343fi
13344rm -f core conftest.err conftest.$ac_objext \
13345    conftest$ac_exeext conftest.$ac_ext
13346LIBS=$ac_check_lib_save_LIBS
13347fi
13348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13349$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13350if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13352$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13353if ${ac_cv_lib_intl_dcgettext+:} false; then :
13354  $as_echo_n "(cached) " >&6
13355else
13356  ac_check_lib_save_LIBS=$LIBS
13357LIBS="-lintl -liconv $LIBS"
13358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359/* end confdefs.h.  */
13360
13361/* Override any GCC internal prototype to avoid an error.
13362   Use char because int might match the return type of a GCC
13363   builtin and then its argument prototype would still apply.  */
13364#ifdef __cplusplus
13365extern "C"
13366#endif
13367char dcgettext ();
13368int
13369main ()
13370{
13371return dcgettext ();
13372  ;
13373  return 0;
13374}
13375_ACEOF
13376if ac_fn_c_try_link "$LINENO"; then :
13377  ac_cv_lib_intl_dcgettext=yes
13378else
13379  ac_cv_lib_intl_dcgettext=no
13380fi
13381rm -f core conftest.err conftest.$ac_objext \
13382    conftest$ac_exeext conftest.$ac_ext
13383LIBS=$ac_check_lib_save_LIBS
13384fi
13385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13386$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13387if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13388  gt_cv_func_dgettext_libintl=yes
13389			libintl_extra_libs=-liconv
13390else
13391  :
13392fi
13393
13394else
13395  :
13396fi
13397
13398        fi
13399
13400        #
13401        # If we found libintl, then check in it for bind_textdomain_codeset();
13402        # we'll prefer libc if neither have bind_textdomain_codeset(),
13403        # and both have dgettext and ngettext
13404        #
13405        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13406          glib_save_LIBS="$LIBS"
13407          LIBS="$LIBS -lintl $libintl_extra_libs"
13408          unset ac_cv_func_bind_textdomain_codeset
13409          for ac_func in bind_textdomain_codeset
13410do :
13411  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13412if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13413  cat >>confdefs.h <<_ACEOF
13414#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13415_ACEOF
13416
13417fi
13418done
13419
13420          LIBS="$glib_save_LIBS"
13421
13422          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13423            gt_cv_func_dgettext_libc=no
13424          else
13425            if test "$gt_cv_func_dgettext_libc" = "yes" \
13426		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13427              gt_cv_func_dgettext_libintl=no
13428            fi
13429          fi
13430        fi
13431      fi
13432
13433      if test "$gt_cv_func_dgettext_libc" = "yes" \
13434	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13435        gt_cv_have_gettext=yes
13436      fi
13437
13438      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13439        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
13440      fi
13441
13442      if test "$gt_cv_have_gettext" = "yes"; then
13443
13444$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13445
13446	# Extract the first word of "msgfmt", so it can be a program name with args.
13447set dummy msgfmt; ac_word=$2
13448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13449$as_echo_n "checking for $ac_word... " >&6; }
13450if ${ac_cv_path_MSGFMT+:} false; then :
13451  $as_echo_n "(cached) " >&6
13452else
13453  case "$MSGFMT" in
13454  /*)
13455  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13456  ;;
13457  *)
13458  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13459  for ac_dir in $PATH; do
13460    test -z "$ac_dir" && ac_dir=.
13461    if test -f $ac_dir/$ac_word; then
13462      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13463	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13464	break
13465      fi
13466    fi
13467  done
13468  IFS="$ac_save_ifs"
13469  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13470  ;;
13471esac
13472fi
13473MSGFMT="$ac_cv_path_MSGFMT"
13474if test "$MSGFMT" != "no"; then
13475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13476$as_echo "$MSGFMT" >&6; }
13477else
13478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13479$as_echo "no" >&6; }
13480fi
13481	if test "$MSGFMT" != "no"; then
13482          glib_save_LIBS="$LIBS"
13483          LIBS="$LIBS $INTLLIBS"
13484	  for ac_func in dcgettext
13485do :
13486  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13487if test "x$ac_cv_func_dcgettext" = xyes; then :
13488  cat >>confdefs.h <<_ACEOF
13489#define HAVE_DCGETTEXT 1
13490_ACEOF
13491
13492fi
13493done
13494
13495	  MSGFMT_OPTS=
13496	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13497$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13498	  cat >conftest.foo <<_ACEOF
13499
13500msgid ""
13501msgstr ""
13502"Content-Type: text/plain; charset=UTF-8\n"
13503"Project-Id-Version: test 1.0\n"
13504"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13505"Last-Translator: test <foo@bar.xx>\n"
13506"Language-Team: C <LL@li.org>\n"
13507"MIME-Version: 1.0\n"
13508"Content-Transfer-Encoding: 8bit\n"
13509
13510_ACEOF
13511if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13512  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13513  ac_status=$?
13514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13515  test $ac_status = 0; }; then
13516  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13517$as_echo "yes" >&6; }
13518else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13519$as_echo "no" >&6; }
13520echo "$as_me: failed input was:" >&5
13521sed 's/^/| /' conftest.foo >&5
13522fi
13523
13524	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13525set dummy gmsgfmt; ac_word=$2
13526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13527$as_echo_n "checking for $ac_word... " >&6; }
13528if ${ac_cv_path_GMSGFMT+:} false; then :
13529  $as_echo_n "(cached) " >&6
13530else
13531  case $GMSGFMT in
13532  [\\/]* | ?:[\\/]*)
13533  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13534  ;;
13535  *)
13536  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13537for as_dir in $PATH
13538do
13539  IFS=$as_save_IFS
13540  test -z "$as_dir" && as_dir=.
13541    for ac_exec_ext in '' $ac_executable_extensions; do
13542  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13543    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13544    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13545    break 2
13546  fi
13547done
13548  done
13549IFS=$as_save_IFS
13550
13551  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13552  ;;
13553esac
13554fi
13555GMSGFMT=$ac_cv_path_GMSGFMT
13556if test -n "$GMSGFMT"; then
13557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13558$as_echo "$GMSGFMT" >&6; }
13559else
13560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13561$as_echo "no" >&6; }
13562fi
13563
13564
13565	  # Extract the first word of "xgettext", so it can be a program name with args.
13566set dummy xgettext; ac_word=$2
13567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13568$as_echo_n "checking for $ac_word... " >&6; }
13569if ${ac_cv_path_XGETTEXT+:} false; then :
13570  $as_echo_n "(cached) " >&6
13571else
13572  case "$XGETTEXT" in
13573  /*)
13574  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13575  ;;
13576  *)
13577  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13578  for ac_dir in $PATH; do
13579    test -z "$ac_dir" && ac_dir=.
13580    if test -f $ac_dir/$ac_word; then
13581      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13582	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13583	break
13584      fi
13585    fi
13586  done
13587  IFS="$ac_save_ifs"
13588  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13589  ;;
13590esac
13591fi
13592XGETTEXT="$ac_cv_path_XGETTEXT"
13593if test "$XGETTEXT" != ":"; then
13594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13595$as_echo "$XGETTEXT" >&6; }
13596else
13597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13598$as_echo "no" >&6; }
13599fi
13600
13601	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602/* end confdefs.h.  */
13603
13604int
13605main ()
13606{
13607extern int _nl_msg_cat_cntr;
13608			 return _nl_msg_cat_cntr
13609  ;
13610  return 0;
13611}
13612_ACEOF
13613if ac_fn_c_try_link "$LINENO"; then :
13614  CATOBJEXT=.gmo
13615             DATADIRNAME=share
13616else
13617  case $host in
13618	    *-*-solaris*)
13619	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13620if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13621  CATOBJEXT=.gmo
13622               DATADIRNAME=share
13623else
13624  CATOBJEXT=.mo
13625               DATADIRNAME=lib
13626fi
13627
13628	    ;;
13629	    *-*-openbsd*)
13630	    CATOBJEXT=.mo
13631            DATADIRNAME=share
13632	    ;;
13633	    *)
13634	    CATOBJEXT=.mo
13635            DATADIRNAME=lib
13636	    ;;
13637	    esac
13638fi
13639rm -f core conftest.err conftest.$ac_objext \
13640    conftest$ac_exeext conftest.$ac_ext
13641          LIBS="$glib_save_LIBS"
13642	  INSTOBJEXT=.mo
13643	else
13644	  gt_cv_have_gettext=no
13645	fi
13646      fi
13647
13648fi
13649
13650
13651
13652    if test "$gt_cv_have_gettext" = "yes" ; then
13653
13654$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13655
13656    fi
13657
13658        if test "$XGETTEXT" != ":"; then
13659                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13660        : ;
13661      else
13662        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13663$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13664        XGETTEXT=":"
13665      fi
13666    fi
13667
13668    # We need to process the po/ directory.
13669    POSUB=po
13670
13671    ac_config_commands="$ac_config_commands default-1"
13672
13673
13674                for lang in $ALL_LINGUAS; do
13675      GMOFILES="$GMOFILES $lang.gmo"
13676      POFILES="$POFILES $lang.po"
13677    done
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691   if test "$gt_cv_have_gettext" = "yes"; then
13692     if test "x$ALL_LINGUAS" = "x"; then
13693       LINGUAS=
13694     else
13695       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13696$as_echo_n "checking for catalogs to be installed... " >&6; }
13697       NEW_LINGUAS=
13698       for presentlang in $ALL_LINGUAS; do
13699         useit=no
13700         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13701           desiredlanguages="$LINGUAS"
13702         else
13703           desiredlanguages="$ALL_LINGUAS"
13704         fi
13705         for desiredlang in $desiredlanguages; do
13706 	   # Use the presentlang catalog if desiredlang is
13707           #   a. equal to presentlang, or
13708           #   b. a variant of presentlang (because in this case,
13709           #      presentlang can be used as a fallback for messages
13710           #      which are not translated in the desiredlang catalog).
13711           case "$desiredlang" in
13712             "$presentlang"*) useit=yes;;
13713           esac
13714         done
13715         if test $useit = yes; then
13716           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13717         fi
13718       done
13719       LINGUAS=$NEW_LINGUAS
13720       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13721$as_echo "$LINGUAS" >&6; }
13722     fi
13723
13724          if test -n "$LINGUAS"; then
13725       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13726     fi
13727   fi
13728
13729            MKINSTALLDIRS=
13730   if test -n "$ac_aux_dir"; then
13731     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13732   fi
13733   if test -z "$MKINSTALLDIRS"; then
13734     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13735   fi
13736
13737
13738         test -d po || mkdir po
13739   if test "x$srcdir" != "x."; then
13740     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13741       posrcprefix="$srcdir/"
13742     else
13743       posrcprefix="../$srcdir/"
13744     fi
13745   else
13746     posrcprefix="../"
13747   fi
13748   rm -f po/POTFILES
13749   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13750	< $srcdir/po/POTFILES.in > po/POTFILES
13751
13752
13753    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13754if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13755
13756fi
13757
13758
13759    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
13760$as_echo_n "checking for locales directory... " >&6; }
13761
13762# Check whether --with-locales-dir was given.
13763if test "${with_locales_dir+set}" = set; then :
13764  withval=$with_locales_dir; localedir=$withval
13765else
13766
13767    if test x"$CATOBJEXT" = x".mo"; then
13768      localedir=$libdir/locale
13769    else
13770      localedir=$datarootdir/locale
13771    fi
13772
13773fi
13774
13775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
13776$as_echo "$localedir" >&6; }
13777
13778
13779    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
13780$as_echo_n "checking for additional xgettext flags... " >&6; }
13781  if test x"$XGETTEXT_ARGS" = x""; then
13782    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
13783  else
13784    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
13785  fi
13786
13787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
13788$as_echo "$XGETTEXT_ARGS" >&6; }
13789
13790
13791
13792
13793  # minimum supported version of pkg-config
13794  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13805	if test -n "$ac_tool_prefix"; then
13806  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13807set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13809$as_echo_n "checking for $ac_word... " >&6; }
13810if ${ac_cv_path_PKG_CONFIG+:} false; then :
13811  $as_echo_n "(cached) " >&6
13812else
13813  case $PKG_CONFIG in
13814  [\\/]* | ?:[\\/]*)
13815  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13816  ;;
13817  *)
13818  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13819for as_dir in $PATH
13820do
13821  IFS=$as_save_IFS
13822  test -z "$as_dir" && as_dir=.
13823    for ac_exec_ext in '' $ac_executable_extensions; do
13824  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13825    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13826    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13827    break 2
13828  fi
13829done
13830  done
13831IFS=$as_save_IFS
13832
13833  ;;
13834esac
13835fi
13836PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13837if test -n "$PKG_CONFIG"; then
13838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13839$as_echo "$PKG_CONFIG" >&6; }
13840else
13841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13842$as_echo "no" >&6; }
13843fi
13844
13845
13846fi
13847if test -z "$ac_cv_path_PKG_CONFIG"; then
13848  ac_pt_PKG_CONFIG=$PKG_CONFIG
13849  # Extract the first word of "pkg-config", so it can be a program name with args.
13850set dummy pkg-config; ac_word=$2
13851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13852$as_echo_n "checking for $ac_word... " >&6; }
13853if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13854  $as_echo_n "(cached) " >&6
13855else
13856  case $ac_pt_PKG_CONFIG in
13857  [\\/]* | ?:[\\/]*)
13858  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13859  ;;
13860  *)
13861  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13862for as_dir in $PATH
13863do
13864  IFS=$as_save_IFS
13865  test -z "$as_dir" && as_dir=.
13866    for ac_exec_ext in '' $ac_executable_extensions; do
13867  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13868    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13869    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13870    break 2
13871  fi
13872done
13873  done
13874IFS=$as_save_IFS
13875
13876  ;;
13877esac
13878fi
13879ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13880if test -n "$ac_pt_PKG_CONFIG"; then
13881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13882$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13883else
13884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13885$as_echo "no" >&6; }
13886fi
13887
13888  if test "x$ac_pt_PKG_CONFIG" = x; then
13889    PKG_CONFIG=""
13890  else
13891    case $cross_compiling:$ac_tool_warned in
13892yes:)
13893{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13894$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13895ac_tool_warned=yes ;;
13896esac
13897    PKG_CONFIG=$ac_pt_PKG_CONFIG
13898  fi
13899else
13900  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13901fi
13902
13903fi
13904if test -n "$PKG_CONFIG"; then
13905	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13906	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13907$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13908	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13909		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13910$as_echo "yes" >&6; }
13911	else
13912		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13913$as_echo "no" >&6; }
13914		PKG_CONFIG=""
13915	fi
13916fi
13917
13918      if test x"$PKG_CONFIG" = x""; then
13919        echo
13920        echo "*** Your version of pkg-config is too old. You need atleast"
13921        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13922        echo "*** from the freedesktop.org software repository at"
13923        echo "***"
13924        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
13925        echo "***"
13926        exit 1;
13927      fi
13928
13929
13930
13931  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.24.0" >&5
13932$as_echo_n "checking for gthread-2.0 >= 2.24.0... " >&6; }
13933  if $PKG_CONFIG "--atleast-version=2.24.0" "gthread-2.0" >/dev/null 2>&1; then
13934    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
13935    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
13936$as_echo "$GTHREAD_VERSION" >&6; }
13937
13938    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
13939$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
13940    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
13941    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
13942$as_echo "$GTHREAD_CFLAGS" >&6; }
13943
13944    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
13945$as_echo_n "checking GTHREAD_LIBS... " >&6; }
13946    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
13947    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
13948$as_echo "$GTHREAD_LIBS" >&6; }
13949
13950    GTHREAD_REQUIRED_VERSION=2.24.0
13951
13952
13953
13954
13955
13956
13957
13958  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
13959    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
13960    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13961$as_echo "found, but $xdt_cv_version" >&6; }
13962
13963
13964      echo "*** The required package gthread-2.0 was found on your system,"
13965      echo "*** but the installed version ($xdt_cv_version) is too old."
13966      echo "*** Please upgrade gthread-2.0 to atleast version 2.24.0, or adjust"
13967      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13968      echo "*** the new version of the package in a nonstandard prefix so"
13969      echo "*** pkg-config is able to find it."
13970      exit 1
13971
13972  else
13973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13974$as_echo "not found" >&6; }
13975
13976
13977      echo "*** The required package gthread-2.0 was not found on your system."
13978      echo "*** Please install gthread-2.0 (atleast version 2.24.0) or adjust"
13979      echo "*** the PKG_CONFIG_PATH environment variable if you"
13980      echo "*** installed the package in a nonstandard prefix so that"
13981      echo "*** pkg-config is able to find it."
13982      exit 1
13983
13984  fi
13985
13986
13987
13988  # minimum supported version of pkg-config
13989  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14000	if test -n "$ac_tool_prefix"; then
14001  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14002set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14004$as_echo_n "checking for $ac_word... " >&6; }
14005if ${ac_cv_path_PKG_CONFIG+:} false; then :
14006  $as_echo_n "(cached) " >&6
14007else
14008  case $PKG_CONFIG in
14009  [\\/]* | ?:[\\/]*)
14010  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14011  ;;
14012  *)
14013  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14014for as_dir in $PATH
14015do
14016  IFS=$as_save_IFS
14017  test -z "$as_dir" && as_dir=.
14018    for ac_exec_ext in '' $ac_executable_extensions; do
14019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14020    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14022    break 2
14023  fi
14024done
14025  done
14026IFS=$as_save_IFS
14027
14028  ;;
14029esac
14030fi
14031PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14032if test -n "$PKG_CONFIG"; then
14033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14034$as_echo "$PKG_CONFIG" >&6; }
14035else
14036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037$as_echo "no" >&6; }
14038fi
14039
14040
14041fi
14042if test -z "$ac_cv_path_PKG_CONFIG"; then
14043  ac_pt_PKG_CONFIG=$PKG_CONFIG
14044  # Extract the first word of "pkg-config", so it can be a program name with args.
14045set dummy pkg-config; ac_word=$2
14046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14047$as_echo_n "checking for $ac_word... " >&6; }
14048if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14049  $as_echo_n "(cached) " >&6
14050else
14051  case $ac_pt_PKG_CONFIG in
14052  [\\/]* | ?:[\\/]*)
14053  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14054  ;;
14055  *)
14056  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14057for as_dir in $PATH
14058do
14059  IFS=$as_save_IFS
14060  test -z "$as_dir" && as_dir=.
14061    for ac_exec_ext in '' $ac_executable_extensions; do
14062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14063    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14065    break 2
14066  fi
14067done
14068  done
14069IFS=$as_save_IFS
14070
14071  ;;
14072esac
14073fi
14074ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14075if test -n "$ac_pt_PKG_CONFIG"; then
14076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14077$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14078else
14079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080$as_echo "no" >&6; }
14081fi
14082
14083  if test "x$ac_pt_PKG_CONFIG" = x; then
14084    PKG_CONFIG=""
14085  else
14086    case $cross_compiling:$ac_tool_warned in
14087yes:)
14088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14090ac_tool_warned=yes ;;
14091esac
14092    PKG_CONFIG=$ac_pt_PKG_CONFIG
14093  fi
14094else
14095  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14096fi
14097
14098fi
14099if test -n "$PKG_CONFIG"; then
14100	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14101	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14102$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14103	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14104		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14105$as_echo "yes" >&6; }
14106	else
14107		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14108$as_echo "no" >&6; }
14109		PKG_CONFIG=""
14110	fi
14111fi
14112
14113      if test x"$PKG_CONFIG" = x""; then
14114        echo
14115        echo "*** Your version of pkg-config is too old. You need atleast"
14116        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14117        echo "*** from the freedesktop.org software repository at"
14118        echo "***"
14119        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14120        echo "***"
14121        exit 1;
14122      fi
14123
14124
14125
14126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5
14127$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; }
14128  if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then
14129    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
14130    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
14131$as_echo "$GTK_VERSION" >&6; }
14132
14133    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
14134$as_echo_n "checking GTK_CFLAGS... " >&6; }
14135    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
14136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
14137$as_echo "$GTK_CFLAGS" >&6; }
14138
14139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
14140$as_echo_n "checking GTK_LIBS... " >&6; }
14141    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
14142    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
14143$as_echo "$GTK_LIBS" >&6; }
14144
14145    GTK_REQUIRED_VERSION=3.22.0
14146
14147
14148
14149
14150
14151
14152
14153  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
14154    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
14155    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14156$as_echo "found, but $xdt_cv_version" >&6; }
14157
14158
14159      echo "*** The required package gtk+-3.0 was found on your system,"
14160      echo "*** but the installed version ($xdt_cv_version) is too old."
14161      echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust"
14162      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14163      echo "*** the new version of the package in a nonstandard prefix so"
14164      echo "*** pkg-config is able to find it."
14165      exit 1
14166
14167  else
14168    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14169$as_echo "not found" >&6; }
14170
14171
14172      echo "*** The required package gtk+-3.0 was not found on your system."
14173      echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust"
14174      echo "*** the PKG_CONFIG_PATH environment variable if you"
14175      echo "*** installed the package in a nonstandard prefix so that"
14176      echo "*** pkg-config is able to find it."
14177      exit 1
14178
14179  fi
14180
14181
14182
14183  # minimum supported version of pkg-config
14184  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14195	if test -n "$ac_tool_prefix"; then
14196  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14197set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14199$as_echo_n "checking for $ac_word... " >&6; }
14200if ${ac_cv_path_PKG_CONFIG+:} false; then :
14201  $as_echo_n "(cached) " >&6
14202else
14203  case $PKG_CONFIG in
14204  [\\/]* | ?:[\\/]*)
14205  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14206  ;;
14207  *)
14208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14209for as_dir in $PATH
14210do
14211  IFS=$as_save_IFS
14212  test -z "$as_dir" && as_dir=.
14213    for ac_exec_ext in '' $ac_executable_extensions; do
14214  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14215    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14217    break 2
14218  fi
14219done
14220  done
14221IFS=$as_save_IFS
14222
14223  ;;
14224esac
14225fi
14226PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14227if test -n "$PKG_CONFIG"; then
14228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14229$as_echo "$PKG_CONFIG" >&6; }
14230else
14231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14232$as_echo "no" >&6; }
14233fi
14234
14235
14236fi
14237if test -z "$ac_cv_path_PKG_CONFIG"; then
14238  ac_pt_PKG_CONFIG=$PKG_CONFIG
14239  # Extract the first word of "pkg-config", so it can be a program name with args.
14240set dummy pkg-config; ac_word=$2
14241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14242$as_echo_n "checking for $ac_word... " >&6; }
14243if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14244  $as_echo_n "(cached) " >&6
14245else
14246  case $ac_pt_PKG_CONFIG in
14247  [\\/]* | ?:[\\/]*)
14248  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14249  ;;
14250  *)
14251  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14252for as_dir in $PATH
14253do
14254  IFS=$as_save_IFS
14255  test -z "$as_dir" && as_dir=.
14256    for ac_exec_ext in '' $ac_executable_extensions; do
14257  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14258    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14259    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14260    break 2
14261  fi
14262done
14263  done
14264IFS=$as_save_IFS
14265
14266  ;;
14267esac
14268fi
14269ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14270if test -n "$ac_pt_PKG_CONFIG"; then
14271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14272$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14273else
14274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14275$as_echo "no" >&6; }
14276fi
14277
14278  if test "x$ac_pt_PKG_CONFIG" = x; then
14279    PKG_CONFIG=""
14280  else
14281    case $cross_compiling:$ac_tool_warned in
14282yes:)
14283{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14284$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14285ac_tool_warned=yes ;;
14286esac
14287    PKG_CONFIG=$ac_pt_PKG_CONFIG
14288  fi
14289else
14290  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14291fi
14292
14293fi
14294if test -n "$PKG_CONFIG"; then
14295	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14296	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14297$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14298	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14299		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14300$as_echo "yes" >&6; }
14301	else
14302		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14303$as_echo "no" >&6; }
14304		PKG_CONFIG=""
14305	fi
14306fi
14307
14308      if test x"$PKG_CONFIG" = x""; then
14309        echo
14310        echo "*** Your version of pkg-config is too old. You need atleast"
14311        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14312        echo "*** from the freedesktop.org software repository at"
14313        echo "***"
14314        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14315        echo "***"
14316        exit 1;
14317      fi
14318
14319
14320
14321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5
14322$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; }
14323  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then
14324    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14326$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14327
14328    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14329$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14330    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14331    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14332$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14333
14334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14335$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14336    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14337    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14338$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14339
14340    LIBXFCE4UI_REQUIRED_VERSION=4.12.0
14341
14342
14343
14344
14345
14346
14347
14348  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14349    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14350    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14351$as_echo "found, but $xdt_cv_version" >&6; }
14352
14353
14354      echo "*** The required package libxfce4ui-2 was found on your system,"
14355      echo "*** but the installed version ($xdt_cv_version) is too old."
14356      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust"
14357      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14358      echo "*** the new version of the package in a nonstandard prefix so"
14359      echo "*** pkg-config is able to find it."
14360      exit 1
14361
14362  else
14363    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14364$as_echo "not found" >&6; }
14365
14366
14367      echo "*** The required package libxfce4ui-2 was not found on your system."
14368      echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust"
14369      echo "*** the PKG_CONFIG_PATH environment variable if you"
14370      echo "*** installed the package in a nonstandard prefix so that"
14371      echo "*** pkg-config is able to find it."
14372      exit 1
14373
14374  fi
14375
14376
14377
14378  # minimum supported version of pkg-config
14379  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14390	if test -n "$ac_tool_prefix"; then
14391  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14392set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14394$as_echo_n "checking for $ac_word... " >&6; }
14395if ${ac_cv_path_PKG_CONFIG+:} false; then :
14396  $as_echo_n "(cached) " >&6
14397else
14398  case $PKG_CONFIG in
14399  [\\/]* | ?:[\\/]*)
14400  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14401  ;;
14402  *)
14403  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14404for as_dir in $PATH
14405do
14406  IFS=$as_save_IFS
14407  test -z "$as_dir" && as_dir=.
14408    for ac_exec_ext in '' $ac_executable_extensions; do
14409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14410    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14412    break 2
14413  fi
14414done
14415  done
14416IFS=$as_save_IFS
14417
14418  ;;
14419esac
14420fi
14421PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14422if test -n "$PKG_CONFIG"; then
14423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14424$as_echo "$PKG_CONFIG" >&6; }
14425else
14426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14427$as_echo "no" >&6; }
14428fi
14429
14430
14431fi
14432if test -z "$ac_cv_path_PKG_CONFIG"; then
14433  ac_pt_PKG_CONFIG=$PKG_CONFIG
14434  # Extract the first word of "pkg-config", so it can be a program name with args.
14435set dummy pkg-config; ac_word=$2
14436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14437$as_echo_n "checking for $ac_word... " >&6; }
14438if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14439  $as_echo_n "(cached) " >&6
14440else
14441  case $ac_pt_PKG_CONFIG in
14442  [\\/]* | ?:[\\/]*)
14443  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14444  ;;
14445  *)
14446  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14447for as_dir in $PATH
14448do
14449  IFS=$as_save_IFS
14450  test -z "$as_dir" && as_dir=.
14451    for ac_exec_ext in '' $ac_executable_extensions; do
14452  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14453    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14455    break 2
14456  fi
14457done
14458  done
14459IFS=$as_save_IFS
14460
14461  ;;
14462esac
14463fi
14464ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14465if test -n "$ac_pt_PKG_CONFIG"; then
14466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14467$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14468else
14469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470$as_echo "no" >&6; }
14471fi
14472
14473  if test "x$ac_pt_PKG_CONFIG" = x; then
14474    PKG_CONFIG=""
14475  else
14476    case $cross_compiling:$ac_tool_warned in
14477yes:)
14478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14480ac_tool_warned=yes ;;
14481esac
14482    PKG_CONFIG=$ac_pt_PKG_CONFIG
14483  fi
14484else
14485  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14486fi
14487
14488fi
14489if test -n "$PKG_CONFIG"; then
14490	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14491	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14492$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14493	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14494		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14495$as_echo "yes" >&6; }
14496	else
14497		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14498$as_echo "no" >&6; }
14499		PKG_CONFIG=""
14500	fi
14501fi
14502
14503      if test x"$PKG_CONFIG" = x""; then
14504        echo
14505        echo "*** Your version of pkg-config is too old. You need atleast"
14506        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14507        echo "*** from the freedesktop.org software repository at"
14508        echo "***"
14509        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14510        echo "***"
14511        exit 1;
14512      fi
14513
14514
14515
14516  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.10.0" >&5
14517$as_echo_n "checking for libxfce4util-1.0 >= 4.10.0... " >&6; }
14518  if $PKG_CONFIG "--atleast-version=4.10.0" "libxfce4util-1.0" >/dev/null 2>&1; then
14519    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
14520    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
14521$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
14522
14523    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
14524$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
14525    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
14526    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
14527$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
14528
14529    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
14530$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
14531    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
14532    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
14533$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
14534
14535    LIBXFCE4UTIL_REQUIRED_VERSION=4.10.0
14536
14537
14538
14539
14540
14541
14542
14543  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
14544    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
14545    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14546$as_echo "found, but $xdt_cv_version" >&6; }
14547
14548
14549      echo "*** The required package libxfce4util-1.0 was found on your system,"
14550      echo "*** but the installed version ($xdt_cv_version) is too old."
14551      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.10.0, or adjust"
14552      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14553      echo "*** the new version of the package in a nonstandard prefix so"
14554      echo "*** pkg-config is able to find it."
14555      exit 1
14556
14557  else
14558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14559$as_echo "not found" >&6; }
14560
14561
14562      echo "*** The required package libxfce4util-1.0 was not found on your system."
14563      echo "*** Please install libxfce4util-1.0 (atleast version 4.10.0) or adjust"
14564      echo "*** the PKG_CONFIG_PATH environment variable if you"
14565      echo "*** installed the package in a nonstandard prefix so that"
14566      echo "*** pkg-config is able to find it."
14567      exit 1
14568
14569  fi
14570
14571
14572
14573  # minimum supported version of pkg-config
14574  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14585	if test -n "$ac_tool_prefix"; then
14586  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14587set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14589$as_echo_n "checking for $ac_word... " >&6; }
14590if ${ac_cv_path_PKG_CONFIG+:} false; then :
14591  $as_echo_n "(cached) " >&6
14592else
14593  case $PKG_CONFIG in
14594  [\\/]* | ?:[\\/]*)
14595  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14596  ;;
14597  *)
14598  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14599for as_dir in $PATH
14600do
14601  IFS=$as_save_IFS
14602  test -z "$as_dir" && as_dir=.
14603    for ac_exec_ext in '' $ac_executable_extensions; do
14604  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14605    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14607    break 2
14608  fi
14609done
14610  done
14611IFS=$as_save_IFS
14612
14613  ;;
14614esac
14615fi
14616PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14617if test -n "$PKG_CONFIG"; then
14618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14619$as_echo "$PKG_CONFIG" >&6; }
14620else
14621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14622$as_echo "no" >&6; }
14623fi
14624
14625
14626fi
14627if test -z "$ac_cv_path_PKG_CONFIG"; then
14628  ac_pt_PKG_CONFIG=$PKG_CONFIG
14629  # Extract the first word of "pkg-config", so it can be a program name with args.
14630set dummy pkg-config; ac_word=$2
14631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14632$as_echo_n "checking for $ac_word... " >&6; }
14633if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14634  $as_echo_n "(cached) " >&6
14635else
14636  case $ac_pt_PKG_CONFIG in
14637  [\\/]* | ?:[\\/]*)
14638  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14639  ;;
14640  *)
14641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14642for as_dir in $PATH
14643do
14644  IFS=$as_save_IFS
14645  test -z "$as_dir" && as_dir=.
14646    for ac_exec_ext in '' $ac_executable_extensions; do
14647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14648    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14650    break 2
14651  fi
14652done
14653  done
14654IFS=$as_save_IFS
14655
14656  ;;
14657esac
14658fi
14659ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14660if test -n "$ac_pt_PKG_CONFIG"; then
14661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14662$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14663else
14664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14665$as_echo "no" >&6; }
14666fi
14667
14668  if test "x$ac_pt_PKG_CONFIG" = x; then
14669    PKG_CONFIG=""
14670  else
14671    case $cross_compiling:$ac_tool_warned in
14672yes:)
14673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14675ac_tool_warned=yes ;;
14676esac
14677    PKG_CONFIG=$ac_pt_PKG_CONFIG
14678  fi
14679else
14680  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14681fi
14682
14683fi
14684if test -n "$PKG_CONFIG"; then
14685	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14686	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14687$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14688	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14689		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14690$as_echo "yes" >&6; }
14691	else
14692		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14693$as_echo "no" >&6; }
14694		PKG_CONFIG=""
14695	fi
14696fi
14697
14698      if test x"$PKG_CONFIG" = x""; then
14699        echo
14700        echo "*** Your version of pkg-config is too old. You need atleast"
14701        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14702        echo "*** from the freedesktop.org software repository at"
14703        echo "***"
14704        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14705        echo "***"
14706        exit 1;
14707      fi
14708
14709
14710
14711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.10.0" >&5
14712$as_echo_n "checking for libxfce4panel-2.0 >= 4.10.0... " >&6; }
14713  if $PKG_CONFIG "--atleast-version=4.10.0" "libxfce4panel-2.0" >/dev/null 2>&1; then
14714    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
14716$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
14717
14718    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
14719$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
14720    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"`
14721    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
14722$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
14723
14724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
14725$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
14726    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"`
14727    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
14728$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
14729
14730    LIBXFCE4PANEL_REQUIRED_VERSION=4.10.0
14731
14732
14733
14734
14735
14736
14737
14738  elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
14739    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14740    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14741$as_echo "found, but $xdt_cv_version" >&6; }
14742
14743
14744      echo "*** The required package libxfce4panel-2.0 was found on your system,"
14745      echo "*** but the installed version ($xdt_cv_version) is too old."
14746      echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.10.0, or adjust"
14747      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14748      echo "*** the new version of the package in a nonstandard prefix so"
14749      echo "*** pkg-config is able to find it."
14750      exit 1
14751
14752  else
14753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14754$as_echo "not found" >&6; }
14755
14756
14757      echo "*** The required package libxfce4panel-2.0 was not found on your system."
14758      echo "*** Please install libxfce4panel-2.0 (atleast version 4.10.0) or adjust"
14759      echo "*** the PKG_CONFIG_PATH environment variable if you"
14760      echo "*** installed the package in a nonstandard prefix so that"
14761      echo "*** pkg-config is able to find it."
14762      exit 1
14763
14764  fi
14765
14766
14767
14768  # minimum supported version of pkg-config
14769  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14780	if test -n "$ac_tool_prefix"; then
14781  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14782set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14784$as_echo_n "checking for $ac_word... " >&6; }
14785if ${ac_cv_path_PKG_CONFIG+:} false; then :
14786  $as_echo_n "(cached) " >&6
14787else
14788  case $PKG_CONFIG in
14789  [\\/]* | ?:[\\/]*)
14790  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14791  ;;
14792  *)
14793  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14794for as_dir in $PATH
14795do
14796  IFS=$as_save_IFS
14797  test -z "$as_dir" && as_dir=.
14798    for ac_exec_ext in '' $ac_executable_extensions; do
14799  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14800    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14801    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14802    break 2
14803  fi
14804done
14805  done
14806IFS=$as_save_IFS
14807
14808  ;;
14809esac
14810fi
14811PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14812if test -n "$PKG_CONFIG"; then
14813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14814$as_echo "$PKG_CONFIG" >&6; }
14815else
14816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14817$as_echo "no" >&6; }
14818fi
14819
14820
14821fi
14822if test -z "$ac_cv_path_PKG_CONFIG"; then
14823  ac_pt_PKG_CONFIG=$PKG_CONFIG
14824  # Extract the first word of "pkg-config", so it can be a program name with args.
14825set dummy pkg-config; ac_word=$2
14826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14827$as_echo_n "checking for $ac_word... " >&6; }
14828if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14829  $as_echo_n "(cached) " >&6
14830else
14831  case $ac_pt_PKG_CONFIG in
14832  [\\/]* | ?:[\\/]*)
14833  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14834  ;;
14835  *)
14836  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14837for as_dir in $PATH
14838do
14839  IFS=$as_save_IFS
14840  test -z "$as_dir" && as_dir=.
14841    for ac_exec_ext in '' $ac_executable_extensions; do
14842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14843    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14845    break 2
14846  fi
14847done
14848  done
14849IFS=$as_save_IFS
14850
14851  ;;
14852esac
14853fi
14854ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14855if test -n "$ac_pt_PKG_CONFIG"; then
14856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14857$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14858else
14859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14860$as_echo "no" >&6; }
14861fi
14862
14863  if test "x$ac_pt_PKG_CONFIG" = x; then
14864    PKG_CONFIG=""
14865  else
14866    case $cross_compiling:$ac_tool_warned in
14867yes:)
14868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14870ac_tool_warned=yes ;;
14871esac
14872    PKG_CONFIG=$ac_pt_PKG_CONFIG
14873  fi
14874else
14875  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14876fi
14877
14878fi
14879if test -n "$PKG_CONFIG"; then
14880	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14881	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14882$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14883	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14884		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14885$as_echo "yes" >&6; }
14886	else
14887		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14888$as_echo "no" >&6; }
14889		PKG_CONFIG=""
14890	fi
14891fi
14892
14893      if test x"$PKG_CONFIG" = x""; then
14894        echo
14895        echo "*** Your version of pkg-config is too old. You need atleast"
14896        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14897        echo "*** from the freedesktop.org software repository at"
14898        echo "***"
14899        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14900        echo "***"
14901        exit 1;
14902      fi
14903
14904
14905
14906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x11 >= " >&5
14907$as_echo_n "checking for x11 >= ... " >&6; }
14908  if $PKG_CONFIG "--atleast-version=" "x11" >/dev/null 2>&1; then
14909    X11_VERSION=`$PKG_CONFIG --modversion "x11"`
14910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $X11_VERSION" >&5
14911$as_echo "$X11_VERSION" >&6; }
14912
14913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11_CFLAGS" >&5
14914$as_echo_n "checking X11_CFLAGS... " >&6; }
14915    X11_CFLAGS=`$PKG_CONFIG --cflags "x11"`
14916    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $X11_CFLAGS" >&5
14917$as_echo "$X11_CFLAGS" >&6; }
14918
14919    { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11_LIBS" >&5
14920$as_echo_n "checking X11_LIBS... " >&6; }
14921    X11_LIBS=`$PKG_CONFIG --libs "x11"`
14922    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $X11_LIBS" >&5
14923$as_echo "$X11_LIBS" >&6; }
14924
14925    X11_REQUIRED_VERSION=
14926
14927
14928
14929
14930
14931
14932
14933  elif $PKG_CONFIG --exists "x11" >/dev/null 2>&1; then
14934    xdt_cv_version=`$PKG_CONFIG --modversion "x11"`
14935    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14936$as_echo "found, but $xdt_cv_version" >&6; }
14937
14938
14939      echo "*** The required package x11 was found on your system,"
14940      echo "*** but the installed version ($xdt_cv_version) is too old."
14941      echo "*** Please upgrade x11 to atleast version , or adjust"
14942      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14943      echo "*** the new version of the package in a nonstandard prefix so"
14944      echo "*** pkg-config is able to find it."
14945      exit 1
14946
14947  else
14948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14949$as_echo "not found" >&6; }
14950
14951
14952      echo "*** The required package x11 was not found on your system."
14953      echo "*** Please install x11 (atleast version ) or adjust"
14954      echo "*** the PKG_CONFIG_PATH environment variable if you"
14955      echo "*** installed the package in a nonstandard prefix so that"
14956      echo "*** pkg-config is able to find it."
14957      exit 1
14958
14959  fi
14960
14961
14962# Extract the first word of "gdbus-codegen", so it can be a program name with args.
14963set dummy gdbus-codegen; ac_word=$2
14964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14965$as_echo_n "checking for $ac_word... " >&6; }
14966if ${ac_cv_prog_GDBUS_CODEGEN+:} false; then :
14967  $as_echo_n "(cached) " >&6
14968else
14969  if test -n "$GDBUS_CODEGEN"; then
14970  ac_cv_prog_GDBUS_CODEGEN="$GDBUS_CODEGEN" # Let the user override the test.
14971else
14972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14973for as_dir in $PATH
14974do
14975  IFS=$as_save_IFS
14976  test -z "$as_dir" && as_dir=.
14977    for ac_exec_ext in '' $ac_executable_extensions; do
14978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14979    ac_cv_prog_GDBUS_CODEGEN="gdbus-codegen"
14980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14981    break 2
14982  fi
14983done
14984  done
14985IFS=$as_save_IFS
14986
14987fi
14988fi
14989GDBUS_CODEGEN=$ac_cv_prog_GDBUS_CODEGEN
14990if test -n "$GDBUS_CODEGEN"; then
14991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDBUS_CODEGEN" >&5
14992$as_echo "$GDBUS_CODEGEN" >&6; }
14993else
14994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14995$as_echo "no" >&6; }
14996fi
14997
14998
14999
15000
15001    # Check whether --enable-debug was given.
15002if test "${enable_debug+set}" = set; then :
15003  enableval=$enable_debug; enable_debug=$enableval
15004else
15005  enable_debug=minimum
15006fi
15007
15008
15009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
15010$as_echo_n "checking whether to build with debugging support... " >&6; }
15011  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
15012
15013$as_echo "#define DEBUG 1" >>confdefs.h
15014
15015
15016    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
15017                              -Wall -Wextra \
15018                              -Wno-missing-field-initializers \
15019                              -Wno-unused-parameter -Wold-style-definition \
15020                              -Wdeclaration-after-statement \
15021                              -Wmissing-declarations \
15022                              -Wmissing-noreturn -Wpointer-arith \
15023                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
15024                              -Winit-self -Wmissing-include-dirs -Wundef \
15025                              -Wnested-externs"
15026    CPPFLAGS="$CPPFLAGS"
15027
15028    if test x`uname` = x"Linux"; then
15029      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
15030    fi
15031
15032        if test x`uname` != x"OpenBSD"; then
15033      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
15034    fi
15035
15036    if test x"$enable_debug" = x"full"; then
15037
15038$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
15039
15040      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
15041      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
15042      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
15043$as_echo "full" >&6; }
15044    else
15045      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
15046      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15047$as_echo "yes" >&6; }
15048    fi
15049
15050
15051  for flag in $xdt_cv_additional_CFLAGS; do
15052    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
15053$as_echo_n "checking if $CC supports $flag... " >&6; }
15054    saved_CFLAGS="$CFLAGS"
15055    CFLAGS="$CFLAGS $flag"
15056    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057/* end confdefs.h.  */
15058
15059_ACEOF
15060if ac_fn_c_try_compile "$LINENO"; then :
15061  flag_supported=yes
15062else
15063  flag_supported=no
15064fi
15065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15066    CFLAGS="$saved_CFLAGS"
15067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
15068$as_echo "$flag_supported" >&6; }
15069
15070    if test "x$flag_supported" = "xyes"; then
15071      supported_CFLAGS="$supported_CFLAGS $flag"
15072    fi
15073  done
15074
15075
15076
15077                                                supported_CXXFLAGS="$supported_CFLAGS"
15078
15079
15080    CFLAGS="$CFLAGS $supported_CFLAGS"
15081    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
15082  else
15083    CPPFLAGS="$CPPFLAGS -DNDEBUG"
15084
15085    if test x"$enable_debug" = x"no"; then
15086      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
15087      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15088$as_echo "no" >&6; }
15089    else
15090      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
15091$as_echo "minimum" >&6; }
15092    fi
15093  fi
15094
15095
15096
15097ac_config_files="$ac_config_files Makefile lib/Makefile panel-plugin/Makefile src/Makefile po/Makefile.in icons/Makefile icons/16x16/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/128x128/Makefile icons/scalable/Makefile"
15098
15099cat >confcache <<\_ACEOF
15100# This file is a shell script that caches the results of configure
15101# tests run on this system so they can be shared between configure
15102# scripts and configure runs, see configure's option --config-cache.
15103# It is not useful on other systems.  If it contains results you don't
15104# want to keep, you may remove or edit it.
15105#
15106# config.status only pays attention to the cache file if you give it
15107# the --recheck option to rerun configure.
15108#
15109# `ac_cv_env_foo' variables (set or unset) will be overridden when
15110# loading this file, other *unset* `ac_cv_foo' will be assigned the
15111# following values.
15112
15113_ACEOF
15114
15115# The following way of writing the cache mishandles newlines in values,
15116# but we know of no workaround that is simple, portable, and efficient.
15117# So, we kill variables containing newlines.
15118# Ultrix sh set writes to stderr and can't be redirected directly,
15119# and sets the high bit in the cache file unless we assign to the vars.
15120(
15121  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15122    eval ac_val=\$$ac_var
15123    case $ac_val in #(
15124    *${as_nl}*)
15125      case $ac_var in #(
15126      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15127$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15128      esac
15129      case $ac_var in #(
15130      _ | IFS | as_nl) ;; #(
15131      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15132      *) { eval $ac_var=; unset $ac_var;} ;;
15133      esac ;;
15134    esac
15135  done
15136
15137  (set) 2>&1 |
15138    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15139    *${as_nl}ac_space=\ *)
15140      # `set' does not quote correctly, so add quotes: double-quote
15141      # substitution turns \\\\ into \\, and sed turns \\ into \.
15142      sed -n \
15143	"s/'/'\\\\''/g;
15144	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15145      ;; #(
15146    *)
15147      # `set' quotes correctly as required by POSIX, so do not add quotes.
15148      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15149      ;;
15150    esac |
15151    sort
15152) |
15153  sed '
15154     /^ac_cv_env_/b end
15155     t clear
15156     :clear
15157     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15158     t end
15159     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15160     :end' >>confcache
15161if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15162  if test -w "$cache_file"; then
15163    if test "x$cache_file" != "x/dev/null"; then
15164      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15165$as_echo "$as_me: updating cache $cache_file" >&6;}
15166      if test ! -f "$cache_file" || test -h "$cache_file"; then
15167	cat confcache >"$cache_file"
15168      else
15169        case $cache_file in #(
15170        */* | ?:*)
15171	  mv -f confcache "$cache_file"$$ &&
15172	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15173        *)
15174	  mv -f confcache "$cache_file" ;;
15175	esac
15176      fi
15177    fi
15178  else
15179    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15180$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15181  fi
15182fi
15183rm -f confcache
15184
15185test "x$prefix" = xNONE && prefix=$ac_default_prefix
15186# Let make expand exec_prefix.
15187test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15188
15189DEFS=-DHAVE_CONFIG_H
15190
15191ac_libobjs=
15192ac_ltlibobjs=
15193U=
15194for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15195  # 1. Remove the extension, and $U if already installed.
15196  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15197  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15198  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15199  #    will be set to the directory where LIBOBJS objects are built.
15200  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15201  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15202done
15203LIBOBJS=$ac_libobjs
15204
15205LTLIBOBJS=$ac_ltlibobjs
15206
15207
15208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15209$as_echo_n "checking that generated files are newer than configure... " >&6; }
15210   if test -n "$am_sleep_pid"; then
15211     # Hide warnings about reused PIDs.
15212     wait $am_sleep_pid 2>/dev/null
15213   fi
15214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15215$as_echo "done" >&6; }
15216 if test -n "$EXEEXT"; then
15217  am__EXEEXT_TRUE=
15218  am__EXEEXT_FALSE='#'
15219else
15220  am__EXEEXT_TRUE='#'
15221  am__EXEEXT_FALSE=
15222fi
15223
15224if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15225  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15226Usually this means the macro was only invoked conditionally." "$LINENO" 5
15227fi
15228if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15229  as_fn_error $? "conditional \"AMDEP\" was never defined.
15230Usually this means the macro was only invoked conditionally." "$LINENO" 5
15231fi
15232if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15233  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15234Usually this means the macro was only invoked conditionally." "$LINENO" 5
15235fi
15236
15237  ac_config_commands="$ac_config_commands po/stamp-it"
15238
15239
15240
15241: "${CONFIG_STATUS=./config.status}"
15242ac_write_fail=0
15243ac_clean_files_save=$ac_clean_files
15244ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15245{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15246$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15247as_write_fail=0
15248cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15249#! $SHELL
15250# Generated by $as_me.
15251# Run this file to recreate the current configuration.
15252# Compiler output produced by configure, useful for debugging
15253# configure, is in config.log if it exists.
15254
15255debug=false
15256ac_cs_recheck=false
15257ac_cs_silent=false
15258
15259SHELL=\${CONFIG_SHELL-$SHELL}
15260export SHELL
15261_ASEOF
15262cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15263## -------------------- ##
15264## M4sh Initialization. ##
15265## -------------------- ##
15266
15267# Be more Bourne compatible
15268DUALCASE=1; export DUALCASE # for MKS sh
15269if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15270  emulate sh
15271  NULLCMD=:
15272  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15273  # is contrary to our usage.  Disable this feature.
15274  alias -g '${1+"$@"}'='"$@"'
15275  setopt NO_GLOB_SUBST
15276else
15277  case `(set -o) 2>/dev/null` in #(
15278  *posix*) :
15279    set -o posix ;; #(
15280  *) :
15281     ;;
15282esac
15283fi
15284
15285
15286as_nl='
15287'
15288export as_nl
15289# Printing a long string crashes Solaris 7 /usr/bin/printf.
15290as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15291as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15292as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15293# Prefer a ksh shell builtin over an external printf program on Solaris,
15294# but without wasting forks for bash or zsh.
15295if test -z "$BASH_VERSION$ZSH_VERSION" \
15296    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15297  as_echo='print -r --'
15298  as_echo_n='print -rn --'
15299elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15300  as_echo='printf %s\n'
15301  as_echo_n='printf %s'
15302else
15303  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15304    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15305    as_echo_n='/usr/ucb/echo -n'
15306  else
15307    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15308    as_echo_n_body='eval
15309      arg=$1;
15310      case $arg in #(
15311      *"$as_nl"*)
15312	expr "X$arg" : "X\\(.*\\)$as_nl";
15313	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15314      esac;
15315      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15316    '
15317    export as_echo_n_body
15318    as_echo_n='sh -c $as_echo_n_body as_echo'
15319  fi
15320  export as_echo_body
15321  as_echo='sh -c $as_echo_body as_echo'
15322fi
15323
15324# The user is always right.
15325if test "${PATH_SEPARATOR+set}" != set; then
15326  PATH_SEPARATOR=:
15327  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15328    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15329      PATH_SEPARATOR=';'
15330  }
15331fi
15332
15333
15334# IFS
15335# We need space, tab and new line, in precisely that order.  Quoting is
15336# there to prevent editors from complaining about space-tab.
15337# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15338# splitting by setting IFS to empty value.)
15339IFS=" ""	$as_nl"
15340
15341# Find who we are.  Look in the path if we contain no directory separator.
15342as_myself=
15343case $0 in #((
15344  *[\\/]* ) as_myself=$0 ;;
15345  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15346for as_dir in $PATH
15347do
15348  IFS=$as_save_IFS
15349  test -z "$as_dir" && as_dir=.
15350    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15351  done
15352IFS=$as_save_IFS
15353
15354     ;;
15355esac
15356# We did not find ourselves, most probably we were run as `sh COMMAND'
15357# in which case we are not to be found in the path.
15358if test "x$as_myself" = x; then
15359  as_myself=$0
15360fi
15361if test ! -f "$as_myself"; then
15362  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15363  exit 1
15364fi
15365
15366# Unset variables that we do not need and which cause bugs (e.g. in
15367# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15368# suppresses any "Segmentation fault" message there.  '((' could
15369# trigger a bug in pdksh 5.2.14.
15370for as_var in BASH_ENV ENV MAIL MAILPATH
15371do eval test x\${$as_var+set} = xset \
15372  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15373done
15374PS1='$ '
15375PS2='> '
15376PS4='+ '
15377
15378# NLS nuisances.
15379LC_ALL=C
15380export LC_ALL
15381LANGUAGE=C
15382export LANGUAGE
15383
15384# CDPATH.
15385(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15386
15387
15388# as_fn_error STATUS ERROR [LINENO LOG_FD]
15389# ----------------------------------------
15390# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15391# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15392# script with STATUS, using 1 if that was 0.
15393as_fn_error ()
15394{
15395  as_status=$1; test $as_status -eq 0 && as_status=1
15396  if test "$4"; then
15397    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15398    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15399  fi
15400  $as_echo "$as_me: error: $2" >&2
15401  as_fn_exit $as_status
15402} # as_fn_error
15403
15404
15405# as_fn_set_status STATUS
15406# -----------------------
15407# Set $? to STATUS, without forking.
15408as_fn_set_status ()
15409{
15410  return $1
15411} # as_fn_set_status
15412
15413# as_fn_exit STATUS
15414# -----------------
15415# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15416as_fn_exit ()
15417{
15418  set +e
15419  as_fn_set_status $1
15420  exit $1
15421} # as_fn_exit
15422
15423# as_fn_unset VAR
15424# ---------------
15425# Portably unset VAR.
15426as_fn_unset ()
15427{
15428  { eval $1=; unset $1;}
15429}
15430as_unset=as_fn_unset
15431# as_fn_append VAR VALUE
15432# ----------------------
15433# Append the text in VALUE to the end of the definition contained in VAR. Take
15434# advantage of any shell optimizations that allow amortized linear growth over
15435# repeated appends, instead of the typical quadratic growth present in naive
15436# implementations.
15437if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15438  eval 'as_fn_append ()
15439  {
15440    eval $1+=\$2
15441  }'
15442else
15443  as_fn_append ()
15444  {
15445    eval $1=\$$1\$2
15446  }
15447fi # as_fn_append
15448
15449# as_fn_arith ARG...
15450# ------------------
15451# Perform arithmetic evaluation on the ARGs, and store the result in the
15452# global $as_val. Take advantage of shells that can avoid forks. The arguments
15453# must be portable across $(()) and expr.
15454if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15455  eval 'as_fn_arith ()
15456  {
15457    as_val=$(( $* ))
15458  }'
15459else
15460  as_fn_arith ()
15461  {
15462    as_val=`expr "$@" || test $? -eq 1`
15463  }
15464fi # as_fn_arith
15465
15466
15467if expr a : '\(a\)' >/dev/null 2>&1 &&
15468   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15469  as_expr=expr
15470else
15471  as_expr=false
15472fi
15473
15474if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15475  as_basename=basename
15476else
15477  as_basename=false
15478fi
15479
15480if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15481  as_dirname=dirname
15482else
15483  as_dirname=false
15484fi
15485
15486as_me=`$as_basename -- "$0" ||
15487$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15488	 X"$0" : 'X\(//\)$' \| \
15489	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15490$as_echo X/"$0" |
15491    sed '/^.*\/\([^/][^/]*\)\/*$/{
15492	    s//\1/
15493	    q
15494	  }
15495	  /^X\/\(\/\/\)$/{
15496	    s//\1/
15497	    q
15498	  }
15499	  /^X\/\(\/\).*/{
15500	    s//\1/
15501	    q
15502	  }
15503	  s/.*/./; q'`
15504
15505# Avoid depending upon Character Ranges.
15506as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15507as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15508as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15509as_cr_digits='0123456789'
15510as_cr_alnum=$as_cr_Letters$as_cr_digits
15511
15512ECHO_C= ECHO_N= ECHO_T=
15513case `echo -n x` in #(((((
15514-n*)
15515  case `echo 'xy\c'` in
15516  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15517  xy)  ECHO_C='\c';;
15518  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15519       ECHO_T='	';;
15520  esac;;
15521*)
15522  ECHO_N='-n';;
15523esac
15524
15525rm -f conf$$ conf$$.exe conf$$.file
15526if test -d conf$$.dir; then
15527  rm -f conf$$.dir/conf$$.file
15528else
15529  rm -f conf$$.dir
15530  mkdir conf$$.dir 2>/dev/null
15531fi
15532if (echo >conf$$.file) 2>/dev/null; then
15533  if ln -s conf$$.file conf$$ 2>/dev/null; then
15534    as_ln_s='ln -s'
15535    # ... but there are two gotchas:
15536    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15537    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15538    # In both cases, we have to default to `cp -pR'.
15539    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15540      as_ln_s='cp -pR'
15541  elif ln conf$$.file conf$$ 2>/dev/null; then
15542    as_ln_s=ln
15543  else
15544    as_ln_s='cp -pR'
15545  fi
15546else
15547  as_ln_s='cp -pR'
15548fi
15549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15550rmdir conf$$.dir 2>/dev/null
15551
15552
15553# as_fn_mkdir_p
15554# -------------
15555# Create "$as_dir" as a directory, including parents if necessary.
15556as_fn_mkdir_p ()
15557{
15558
15559  case $as_dir in #(
15560  -*) as_dir=./$as_dir;;
15561  esac
15562  test -d "$as_dir" || eval $as_mkdir_p || {
15563    as_dirs=
15564    while :; do
15565      case $as_dir in #(
15566      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15567      *) as_qdir=$as_dir;;
15568      esac
15569      as_dirs="'$as_qdir' $as_dirs"
15570      as_dir=`$as_dirname -- "$as_dir" ||
15571$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15572	 X"$as_dir" : 'X\(//\)[^/]' \| \
15573	 X"$as_dir" : 'X\(//\)$' \| \
15574	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15575$as_echo X"$as_dir" |
15576    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15577	    s//\1/
15578	    q
15579	  }
15580	  /^X\(\/\/\)[^/].*/{
15581	    s//\1/
15582	    q
15583	  }
15584	  /^X\(\/\/\)$/{
15585	    s//\1/
15586	    q
15587	  }
15588	  /^X\(\/\).*/{
15589	    s//\1/
15590	    q
15591	  }
15592	  s/.*/./; q'`
15593      test -d "$as_dir" && break
15594    done
15595    test -z "$as_dirs" || eval "mkdir $as_dirs"
15596  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15597
15598
15599} # as_fn_mkdir_p
15600if mkdir -p . 2>/dev/null; then
15601  as_mkdir_p='mkdir -p "$as_dir"'
15602else
15603  test -d ./-p && rmdir ./-p
15604  as_mkdir_p=false
15605fi
15606
15607
15608# as_fn_executable_p FILE
15609# -----------------------
15610# Test if FILE is an executable regular file.
15611as_fn_executable_p ()
15612{
15613  test -f "$1" && test -x "$1"
15614} # as_fn_executable_p
15615as_test_x='test -x'
15616as_executable_p=as_fn_executable_p
15617
15618# Sed expression to map a string onto a valid CPP name.
15619as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15620
15621# Sed expression to map a string onto a valid variable name.
15622as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15623
15624
15625exec 6>&1
15626## ----------------------------------- ##
15627## Main body of $CONFIG_STATUS script. ##
15628## ----------------------------------- ##
15629_ASEOF
15630test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15631
15632cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15633# Save the log message, to keep $0 and so on meaningful, and to
15634# report actual input values of CONFIG_FILES etc. instead of their
15635# values after options handling.
15636ac_log="
15637This file was extended by xfce4-dict $as_me 0.8.4, which was
15638generated by GNU Autoconf 2.69.  Invocation command line was
15639
15640  CONFIG_FILES    = $CONFIG_FILES
15641  CONFIG_HEADERS  = $CONFIG_HEADERS
15642  CONFIG_LINKS    = $CONFIG_LINKS
15643  CONFIG_COMMANDS = $CONFIG_COMMANDS
15644  $ $0 $@
15645
15646on `(hostname || uname -n) 2>/dev/null | sed 1q`
15647"
15648
15649_ACEOF
15650
15651case $ac_config_files in *"
15652"*) set x $ac_config_files; shift; ac_config_files=$*;;
15653esac
15654
15655case $ac_config_headers in *"
15656"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15657esac
15658
15659
15660cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15661# Files that config.status was made for.
15662config_files="$ac_config_files"
15663config_headers="$ac_config_headers"
15664config_commands="$ac_config_commands"
15665
15666_ACEOF
15667
15668cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15669ac_cs_usage="\
15670\`$as_me' instantiates files and other configuration actions
15671from templates according to the current configuration.  Unless the files
15672and actions are specified as TAGs, all are instantiated by default.
15673
15674Usage: $0 [OPTION]... [TAG]...
15675
15676  -h, --help       print this help, then exit
15677  -V, --version    print version number and configuration settings, then exit
15678      --config     print configuration, then exit
15679  -q, --quiet, --silent
15680                   do not print progress messages
15681  -d, --debug      don't remove temporary files
15682      --recheck    update $as_me by reconfiguring in the same conditions
15683      --file=FILE[:TEMPLATE]
15684                   instantiate the configuration file FILE
15685      --header=FILE[:TEMPLATE]
15686                   instantiate the configuration header FILE
15687
15688Configuration files:
15689$config_files
15690
15691Configuration headers:
15692$config_headers
15693
15694Configuration commands:
15695$config_commands
15696
15697Report bugs to <https://gitlab.xfce.org/apps/xfce4-dict>."
15698
15699_ACEOF
15700cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15701ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15702ac_cs_version="\\
15703xfce4-dict config.status 0.8.4
15704configured by $0, generated by GNU Autoconf 2.69,
15705  with options \\"\$ac_cs_config\\"
15706
15707Copyright (C) 2012 Free Software Foundation, Inc.
15708This config.status script is free software; the Free Software Foundation
15709gives unlimited permission to copy, distribute and modify it."
15710
15711ac_pwd='$ac_pwd'
15712srcdir='$srcdir'
15713INSTALL='$INSTALL'
15714MKDIR_P='$MKDIR_P'
15715AWK='$AWK'
15716test -n "\$AWK" || AWK=awk
15717_ACEOF
15718
15719cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15720# The default lists apply if the user does not specify any file.
15721ac_need_defaults=:
15722while test $# != 0
15723do
15724  case $1 in
15725  --*=?*)
15726    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15727    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15728    ac_shift=:
15729    ;;
15730  --*=)
15731    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15732    ac_optarg=
15733    ac_shift=:
15734    ;;
15735  *)
15736    ac_option=$1
15737    ac_optarg=$2
15738    ac_shift=shift
15739    ;;
15740  esac
15741
15742  case $ac_option in
15743  # Handling of the options.
15744  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15745    ac_cs_recheck=: ;;
15746  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15747    $as_echo "$ac_cs_version"; exit ;;
15748  --config | --confi | --conf | --con | --co | --c )
15749    $as_echo "$ac_cs_config"; exit ;;
15750  --debug | --debu | --deb | --de | --d | -d )
15751    debug=: ;;
15752  --file | --fil | --fi | --f )
15753    $ac_shift
15754    case $ac_optarg in
15755    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15756    '') as_fn_error $? "missing file argument" ;;
15757    esac
15758    as_fn_append CONFIG_FILES " '$ac_optarg'"
15759    ac_need_defaults=false;;
15760  --header | --heade | --head | --hea )
15761    $ac_shift
15762    case $ac_optarg in
15763    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15764    esac
15765    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15766    ac_need_defaults=false;;
15767  --he | --h)
15768    # Conflict between --help and --header
15769    as_fn_error $? "ambiguous option: \`$1'
15770Try \`$0 --help' for more information.";;
15771  --help | --hel | -h )
15772    $as_echo "$ac_cs_usage"; exit ;;
15773  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15774  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15775    ac_cs_silent=: ;;
15776
15777  # This is an error.
15778  -*) as_fn_error $? "unrecognized option: \`$1'
15779Try \`$0 --help' for more information." ;;
15780
15781  *) as_fn_append ac_config_targets " $1"
15782     ac_need_defaults=false ;;
15783
15784  esac
15785  shift
15786done
15787
15788ac_configure_extra_args=
15789
15790if $ac_cs_silent; then
15791  exec 6>/dev/null
15792  ac_configure_extra_args="$ac_configure_extra_args --silent"
15793fi
15794
15795_ACEOF
15796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15797if \$ac_cs_recheck; then
15798  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15799  shift
15800  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15801  CONFIG_SHELL='$SHELL'
15802  export CONFIG_SHELL
15803  exec "\$@"
15804fi
15805
15806_ACEOF
15807cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15808exec 5>>config.log
15809{
15810  echo
15811  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15812## Running $as_me. ##
15813_ASBOX
15814  $as_echo "$ac_log"
15815} >&5
15816
15817_ACEOF
15818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15819#
15820# INIT-COMMANDS
15821#
15822AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15823
15824
15825# The HP-UX ksh and POSIX shell print the target directory to stdout
15826# if CDPATH is set.
15827(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15828
15829sed_quote_subst='$sed_quote_subst'
15830double_quote_subst='$double_quote_subst'
15831delay_variable_subst='$delay_variable_subst'
15832SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15833Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15834GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15835EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15836FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15837SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15838ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15839LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15840macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15841macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15842enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15843enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15844pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15845enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15846shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15847PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15848host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15849host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15850host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15851build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15852build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15853build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15854NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15855LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15856max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15857ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15858exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15859lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15860lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15861lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15862lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15863lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15864reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15865reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15866OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15867deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15868file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15869file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15870want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15871DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15872sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15873AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15874lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
15875AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15876archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15877STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15878RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15879old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15880old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15881old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15882lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15883CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15884CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15885compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15886GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15887lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15888lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15889lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15890lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15891lt_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"`'
15892lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15893nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15894lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15895lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15896objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15897MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15898lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15899lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15900lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15901lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15902lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15903need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15904MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15905DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15906NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15907LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15908OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15909OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15910libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15911shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15912extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15913archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15914enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15915export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15916whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15917compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15918old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15919old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15920archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15921archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15922module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15923module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15924with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15925allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15926no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15927hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15928hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15929hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15930hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15931hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15932hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15933hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15934inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15935link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15936always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15937export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15938exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15939include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15940prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15941postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15942file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15943variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15944need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15945need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15946version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15947runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15948shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15949shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15950libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15951library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15952soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15953install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15954postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15955postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15956finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15957finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15958hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15959sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15960configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15961configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15962hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15963enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15964enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15965enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15966old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15967striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15968
15969LTCC='$LTCC'
15970LTCFLAGS='$LTCFLAGS'
15971compiler='$compiler_DEFAULT'
15972
15973# A function that is used when there is no print builtin or printf.
15974func_fallback_echo ()
15975{
15976  eval 'cat <<_LTECHO_EOF
15977\$1
15978_LTECHO_EOF'
15979}
15980
15981# Quote evaled strings.
15982for var in SED \
15983GREP \
15984EGREP \
15985FGREP \
15986SHELL \
15987ECHO \
15988LD \
15989PATH_SEPARATOR \
15990NM \
15991LN_S \
15992lt_SP2NL \
15993lt_NL2SP \
15994reload_flag \
15995OBJDUMP \
15996deplibs_check_method \
15997file_magic_cmd \
15998file_magic_glob \
15999want_nocaseglob \
16000DLLTOOL \
16001sharedlib_from_linklib_cmd \
16002AR \
16003archiver_list_spec \
16004STRIP \
16005RANLIB \
16006CC \
16007CFLAGS \
16008compiler \
16009lt_cv_sys_global_symbol_pipe \
16010lt_cv_sys_global_symbol_to_cdecl \
16011lt_cv_sys_global_symbol_to_import \
16012lt_cv_sys_global_symbol_to_c_name_address \
16013lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16014lt_cv_nm_interface \
16015nm_file_list_spec \
16016lt_cv_truncate_bin \
16017lt_prog_compiler_no_builtin_flag \
16018lt_prog_compiler_pic \
16019lt_prog_compiler_wl \
16020lt_prog_compiler_static \
16021lt_cv_prog_compiler_c_o \
16022need_locks \
16023MANIFEST_TOOL \
16024DSYMUTIL \
16025NMEDIT \
16026LIPO \
16027OTOOL \
16028OTOOL64 \
16029shrext_cmds \
16030export_dynamic_flag_spec \
16031whole_archive_flag_spec \
16032compiler_needs_object \
16033with_gnu_ld \
16034allow_undefined_flag \
16035no_undefined_flag \
16036hardcode_libdir_flag_spec \
16037hardcode_libdir_separator \
16038exclude_expsyms \
16039include_expsyms \
16040file_list_spec \
16041variables_saved_for_relink \
16042libname_spec \
16043library_names_spec \
16044soname_spec \
16045install_override_mode \
16046finish_eval \
16047old_striplib \
16048striplib; do
16049    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16050    *[\\\\\\\`\\"\\\$]*)
16051      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16052      ;;
16053    *)
16054      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16055      ;;
16056    esac
16057done
16058
16059# Double-quote double-evaled strings.
16060for var in reload_cmds \
16061old_postinstall_cmds \
16062old_postuninstall_cmds \
16063old_archive_cmds \
16064extract_expsyms_cmds \
16065old_archive_from_new_cmds \
16066old_archive_from_expsyms_cmds \
16067archive_cmds \
16068archive_expsym_cmds \
16069module_cmds \
16070module_expsym_cmds \
16071export_symbols_cmds \
16072prelink_cmds \
16073postlink_cmds \
16074postinstall_cmds \
16075postuninstall_cmds \
16076finish_cmds \
16077sys_lib_search_path_spec \
16078configure_time_dlsearch_path \
16079configure_time_lt_sys_library_path; do
16080    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16081    *[\\\\\\\`\\"\\\$]*)
16082      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16083      ;;
16084    *)
16085      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16086      ;;
16087    esac
16088done
16089
16090ac_aux_dir='$ac_aux_dir'
16091
16092# See if we are running on zsh, and set the options that allow our
16093# commands through without removal of \ escapes INIT.
16094if test -n "\${ZSH_VERSION+set}"; then
16095   setopt NO_GLOB_SUBST
16096fi
16097
16098
16099    PACKAGE='$PACKAGE'
16100    VERSION='$VERSION'
16101    RM='$RM'
16102    ofile='$ofile'
16103
16104
16105
16106
16107
16108_ACEOF
16109
16110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16111
16112# Handling of arguments.
16113for ac_config_target in $ac_config_targets
16114do
16115  case $ac_config_target in
16116    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16117    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16118    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16119    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16120    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16121    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
16122    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
16123    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16124    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16125    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
16126    "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;;
16127    "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;;
16128    "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;;
16129    "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
16130    "icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;;
16131    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
16132    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16133
16134  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16135  esac
16136done
16137
16138
16139# If the user did not use the arguments to specify the items to instantiate,
16140# then the envvar interface is used.  Set only those that are not.
16141# We use the long form for the default assignment because of an extremely
16142# bizarre bug on SunOS 4.1.3.
16143if $ac_need_defaults; then
16144  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16145  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16146  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16147fi
16148
16149# Have a temporary directory for convenience.  Make it in the build tree
16150# simply because there is no reason against having it here, and in addition,
16151# creating and moving files from /tmp can sometimes cause problems.
16152# Hook for its removal unless debugging.
16153# Note that there is a small window in which the directory will not be cleaned:
16154# after its creation but before its name has been assigned to `$tmp'.
16155$debug ||
16156{
16157  tmp= ac_tmp=
16158  trap 'exit_status=$?
16159  : "${ac_tmp:=$tmp}"
16160  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16161' 0
16162  trap 'as_fn_exit 1' 1 2 13 15
16163}
16164# Create a (secure) tmp directory for tmp files.
16165
16166{
16167  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16168  test -d "$tmp"
16169}  ||
16170{
16171  tmp=./conf$$-$RANDOM
16172  (umask 077 && mkdir "$tmp")
16173} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16174ac_tmp=$tmp
16175
16176# Set up the scripts for CONFIG_FILES section.
16177# No need to generate them if there are no CONFIG_FILES.
16178# This happens for instance with `./config.status config.h'.
16179if test -n "$CONFIG_FILES"; then
16180
16181
16182ac_cr=`echo X | tr X '\015'`
16183# On cygwin, bash can eat \r inside `` if the user requested igncr.
16184# But we know of no other shell where ac_cr would be empty at this
16185# point, so we can use a bashism as a fallback.
16186if test "x$ac_cr" = x; then
16187  eval ac_cr=\$\'\\r\'
16188fi
16189ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16190if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16191  ac_cs_awk_cr='\\r'
16192else
16193  ac_cs_awk_cr=$ac_cr
16194fi
16195
16196echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16197_ACEOF
16198
16199
16200{
16201  echo "cat >conf$$subs.awk <<_ACEOF" &&
16202  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16203  echo "_ACEOF"
16204} >conf$$subs.sh ||
16205  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16206ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16207ac_delim='%!_!# '
16208for ac_last_try in false false false false false :; do
16209  . ./conf$$subs.sh ||
16210    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16211
16212  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16213  if test $ac_delim_n = $ac_delim_num; then
16214    break
16215  elif $ac_last_try; then
16216    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16217  else
16218    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16219  fi
16220done
16221rm -f conf$$subs.sh
16222
16223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16224cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16225_ACEOF
16226sed -n '
16227h
16228s/^/S["/; s/!.*/"]=/
16229p
16230g
16231s/^[^!]*!//
16232:repl
16233t repl
16234s/'"$ac_delim"'$//
16235t delim
16236:nl
16237h
16238s/\(.\{148\}\)..*/\1/
16239t more1
16240s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16241p
16242n
16243b repl
16244:more1
16245s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16246p
16247g
16248s/.\{148\}//
16249t nl
16250:delim
16251h
16252s/\(.\{148\}\)..*/\1/
16253t more2
16254s/["\\]/\\&/g; s/^/"/; s/$/"/
16255p
16256b
16257:more2
16258s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16259p
16260g
16261s/.\{148\}//
16262t delim
16263' <conf$$subs.awk | sed '
16264/^[^""]/{
16265  N
16266  s/\n//
16267}
16268' >>$CONFIG_STATUS || ac_write_fail=1
16269rm -f conf$$subs.awk
16270cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271_ACAWK
16272cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16273  for (key in S) S_is_set[key] = 1
16274  FS = ""
16275
16276}
16277{
16278  line = $ 0
16279  nfields = split(line, field, "@")
16280  substed = 0
16281  len = length(field[1])
16282  for (i = 2; i < nfields; i++) {
16283    key = field[i]
16284    keylen = length(key)
16285    if (S_is_set[key]) {
16286      value = S[key]
16287      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16288      len += length(value) + length(field[++i])
16289      substed = 1
16290    } else
16291      len += 1 + keylen
16292  }
16293
16294  print line
16295}
16296
16297_ACAWK
16298_ACEOF
16299cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16300if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16301  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16302else
16303  cat
16304fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16305  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16306_ACEOF
16307
16308# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16309# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16310# trailing colons and then remove the whole line if VPATH becomes empty
16311# (actually we leave an empty line to preserve line numbers).
16312if test "x$srcdir" = x.; then
16313  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16314h
16315s///
16316s/^/:/
16317s/[	 ]*$/:/
16318s/:\$(srcdir):/:/g
16319s/:\${srcdir}:/:/g
16320s/:@srcdir@:/:/g
16321s/^:*//
16322s/:*$//
16323x
16324s/\(=[	 ]*\).*/\1/
16325G
16326s/\n//
16327s/^[^=]*=[	 ]*$//
16328}'
16329fi
16330
16331cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16332fi # test -n "$CONFIG_FILES"
16333
16334# Set up the scripts for CONFIG_HEADERS section.
16335# No need to generate them if there are no CONFIG_HEADERS.
16336# This happens for instance with `./config.status Makefile'.
16337if test -n "$CONFIG_HEADERS"; then
16338cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16339BEGIN {
16340_ACEOF
16341
16342# Transform confdefs.h into an awk script `defines.awk', embedded as
16343# here-document in config.status, that substitutes the proper values into
16344# config.h.in to produce config.h.
16345
16346# Create a delimiter string that does not exist in confdefs.h, to ease
16347# handling of long lines.
16348ac_delim='%!_!# '
16349for ac_last_try in false false :; do
16350  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16351  if test -z "$ac_tt"; then
16352    break
16353  elif $ac_last_try; then
16354    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16355  else
16356    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16357  fi
16358done
16359
16360# For the awk script, D is an array of macro values keyed by name,
16361# likewise P contains macro parameters if any.  Preserve backslash
16362# newline sequences.
16363
16364ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16365sed -n '
16366s/.\{148\}/&'"$ac_delim"'/g
16367t rset
16368:rset
16369s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16370t def
16371d
16372:def
16373s/\\$//
16374t bsnl
16375s/["\\]/\\&/g
16376s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16377D["\1"]=" \3"/p
16378s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16379d
16380:bsnl
16381s/["\\]/\\&/g
16382s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16383D["\1"]=" \3\\\\\\n"\\/p
16384t cont
16385s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16386t cont
16387d
16388:cont
16389n
16390s/.\{148\}/&'"$ac_delim"'/g
16391t clear
16392:clear
16393s/\\$//
16394t bsnlc
16395s/["\\]/\\&/g; s/^/"/; s/$/"/p
16396d
16397:bsnlc
16398s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16399b cont
16400' <confdefs.h | sed '
16401s/'"$ac_delim"'/"\\\
16402"/g' >>$CONFIG_STATUS || ac_write_fail=1
16403
16404cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16405  for (key in D) D_is_set[key] = 1
16406  FS = ""
16407}
16408/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16409  line = \$ 0
16410  split(line, arg, " ")
16411  if (arg[1] == "#") {
16412    defundef = arg[2]
16413    mac1 = arg[3]
16414  } else {
16415    defundef = substr(arg[1], 2)
16416    mac1 = arg[2]
16417  }
16418  split(mac1, mac2, "(") #)
16419  macro = mac2[1]
16420  prefix = substr(line, 1, index(line, defundef) - 1)
16421  if (D_is_set[macro]) {
16422    # Preserve the white space surrounding the "#".
16423    print prefix "define", macro P[macro] D[macro]
16424    next
16425  } else {
16426    # Replace #undef with comments.  This is necessary, for example,
16427    # in the case of _POSIX_SOURCE, which is predefined and required
16428    # on some systems where configure will not decide to define it.
16429    if (defundef == "undef") {
16430      print "/*", prefix defundef, macro, "*/"
16431      next
16432    }
16433  }
16434}
16435{ print }
16436_ACAWK
16437_ACEOF
16438cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16439  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16440fi # test -n "$CONFIG_HEADERS"
16441
16442
16443eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16444shift
16445for ac_tag
16446do
16447  case $ac_tag in
16448  :[FHLC]) ac_mode=$ac_tag; continue;;
16449  esac
16450  case $ac_mode$ac_tag in
16451  :[FHL]*:*);;
16452  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16453  :[FH]-) ac_tag=-:-;;
16454  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16455  esac
16456  ac_save_IFS=$IFS
16457  IFS=:
16458  set x $ac_tag
16459  IFS=$ac_save_IFS
16460  shift
16461  ac_file=$1
16462  shift
16463
16464  case $ac_mode in
16465  :L) ac_source=$1;;
16466  :[FH])
16467    ac_file_inputs=
16468    for ac_f
16469    do
16470      case $ac_f in
16471      -) ac_f="$ac_tmp/stdin";;
16472      *) # Look for the file first in the build tree, then in the source tree
16473	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16474	 # because $ac_f cannot contain `:'.
16475	 test -f "$ac_f" ||
16476	   case $ac_f in
16477	   [\\/$]*) false;;
16478	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16479	   esac ||
16480	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16481      esac
16482      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16483      as_fn_append ac_file_inputs " '$ac_f'"
16484    done
16485
16486    # Let's still pretend it is `configure' which instantiates (i.e., don't
16487    # use $as_me), people would be surprised to read:
16488    #    /* config.h.  Generated by config.status.  */
16489    configure_input='Generated from '`
16490	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16491	`' by configure.'
16492    if test x"$ac_file" != x-; then
16493      configure_input="$ac_file.  $configure_input"
16494      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16495$as_echo "$as_me: creating $ac_file" >&6;}
16496    fi
16497    # Neutralize special characters interpreted by sed in replacement strings.
16498    case $configure_input in #(
16499    *\&* | *\|* | *\\* )
16500       ac_sed_conf_input=`$as_echo "$configure_input" |
16501       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16502    *) ac_sed_conf_input=$configure_input;;
16503    esac
16504
16505    case $ac_tag in
16506    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16507      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16508    esac
16509    ;;
16510  esac
16511
16512  ac_dir=`$as_dirname -- "$ac_file" ||
16513$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16514	 X"$ac_file" : 'X\(//\)[^/]' \| \
16515	 X"$ac_file" : 'X\(//\)$' \| \
16516	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16517$as_echo X"$ac_file" |
16518    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16519	    s//\1/
16520	    q
16521	  }
16522	  /^X\(\/\/\)[^/].*/{
16523	    s//\1/
16524	    q
16525	  }
16526	  /^X\(\/\/\)$/{
16527	    s//\1/
16528	    q
16529	  }
16530	  /^X\(\/\).*/{
16531	    s//\1/
16532	    q
16533	  }
16534	  s/.*/./; q'`
16535  as_dir="$ac_dir"; as_fn_mkdir_p
16536  ac_builddir=.
16537
16538case "$ac_dir" in
16539.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16540*)
16541  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16542  # A ".." for each directory in $ac_dir_suffix.
16543  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16544  case $ac_top_builddir_sub in
16545  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16546  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16547  esac ;;
16548esac
16549ac_abs_top_builddir=$ac_pwd
16550ac_abs_builddir=$ac_pwd$ac_dir_suffix
16551# for backward compatibility:
16552ac_top_builddir=$ac_top_build_prefix
16553
16554case $srcdir in
16555  .)  # We are building in place.
16556    ac_srcdir=.
16557    ac_top_srcdir=$ac_top_builddir_sub
16558    ac_abs_top_srcdir=$ac_pwd ;;
16559  [\\/]* | ?:[\\/]* )  # Absolute name.
16560    ac_srcdir=$srcdir$ac_dir_suffix;
16561    ac_top_srcdir=$srcdir
16562    ac_abs_top_srcdir=$srcdir ;;
16563  *) # Relative name.
16564    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16565    ac_top_srcdir=$ac_top_build_prefix$srcdir
16566    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16567esac
16568ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16569
16570
16571  case $ac_mode in
16572  :F)
16573  #
16574  # CONFIG_FILE
16575  #
16576
16577  case $INSTALL in
16578  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16579  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16580  esac
16581  ac_MKDIR_P=$MKDIR_P
16582  case $MKDIR_P in
16583  [\\/$]* | ?:[\\/]* ) ;;
16584  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16585  esac
16586_ACEOF
16587
16588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16589# If the template does not know about datarootdir, expand it.
16590# FIXME: This hack should be removed a few years after 2.60.
16591ac_datarootdir_hack=; ac_datarootdir_seen=
16592ac_sed_dataroot='
16593/datarootdir/ {
16594  p
16595  q
16596}
16597/@datadir@/p
16598/@docdir@/p
16599/@infodir@/p
16600/@localedir@/p
16601/@mandir@/p'
16602case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16603*datarootdir*) ac_datarootdir_seen=yes;;
16604*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16605  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16606$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16607_ACEOF
16608cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16609  ac_datarootdir_hack='
16610  s&@datadir@&$datadir&g
16611  s&@docdir@&$docdir&g
16612  s&@infodir@&$infodir&g
16613  s&@localedir@&$localedir&g
16614  s&@mandir@&$mandir&g
16615  s&\\\${datarootdir}&$datarootdir&g' ;;
16616esac
16617_ACEOF
16618
16619# Neutralize VPATH when `$srcdir' = `.'.
16620# Shell code in configure.ac might set extrasub.
16621# FIXME: do we really want to maintain this feature?
16622cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16623ac_sed_extra="$ac_vpsub
16624$extrasub
16625_ACEOF
16626cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16627:t
16628/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16629s|@configure_input@|$ac_sed_conf_input|;t t
16630s&@top_builddir@&$ac_top_builddir_sub&;t t
16631s&@top_build_prefix@&$ac_top_build_prefix&;t t
16632s&@srcdir@&$ac_srcdir&;t t
16633s&@abs_srcdir@&$ac_abs_srcdir&;t t
16634s&@top_srcdir@&$ac_top_srcdir&;t t
16635s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16636s&@builddir@&$ac_builddir&;t t
16637s&@abs_builddir@&$ac_abs_builddir&;t t
16638s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16639s&@INSTALL@&$ac_INSTALL&;t t
16640s&@MKDIR_P@&$ac_MKDIR_P&;t t
16641$ac_datarootdir_hack
16642"
16643eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16644  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16645
16646test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16647  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16648  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16649      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16650  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16651which seems to be undefined.  Please make sure it is defined" >&5
16652$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16653which seems to be undefined.  Please make sure it is defined" >&2;}
16654
16655  rm -f "$ac_tmp/stdin"
16656  case $ac_file in
16657  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16658  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16659  esac \
16660  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16661 ;;
16662  :H)
16663  #
16664  # CONFIG_HEADER
16665  #
16666  if test x"$ac_file" != x-; then
16667    {
16668      $as_echo "/* $configure_input  */" \
16669      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16670    } >"$ac_tmp/config.h" \
16671      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16672    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16673      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16674$as_echo "$as_me: $ac_file is unchanged" >&6;}
16675    else
16676      rm -f "$ac_file"
16677      mv "$ac_tmp/config.h" "$ac_file" \
16678	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16679    fi
16680  else
16681    $as_echo "/* $configure_input  */" \
16682      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16683      || as_fn_error $? "could not create -" "$LINENO" 5
16684  fi
16685# Compute "$ac_file"'s index in $config_headers.
16686_am_arg="$ac_file"
16687_am_stamp_count=1
16688for _am_header in $config_headers :; do
16689  case $_am_header in
16690    $_am_arg | $_am_arg:* )
16691      break ;;
16692    * )
16693      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16694  esac
16695done
16696echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16697$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16698	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16699	 X"$_am_arg" : 'X\(//\)$' \| \
16700	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16701$as_echo X"$_am_arg" |
16702    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16703	    s//\1/
16704	    q
16705	  }
16706	  /^X\(\/\/\)[^/].*/{
16707	    s//\1/
16708	    q
16709	  }
16710	  /^X\(\/\/\)$/{
16711	    s//\1/
16712	    q
16713	  }
16714	  /^X\(\/\).*/{
16715	    s//\1/
16716	    q
16717	  }
16718	  s/.*/./; q'`/stamp-h$_am_stamp_count
16719 ;;
16720
16721  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16722$as_echo "$as_me: executing $ac_file commands" >&6;}
16723 ;;
16724  esac
16725
16726
16727  case $ac_file$ac_mode in
16728    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16729  # Older Autoconf quotes --file arguments for eval, but not when files
16730  # are listed without --file.  Let's play safe and only enable the eval
16731  # if we detect the quoting.
16732  # TODO: see whether this extra hack can be removed once we start
16733  # requiring Autoconf 2.70 or later.
16734  case $CONFIG_FILES in #(
16735  *\'*) :
16736    eval set x "$CONFIG_FILES" ;; #(
16737  *) :
16738    set x $CONFIG_FILES ;; #(
16739  *) :
16740     ;;
16741esac
16742  shift
16743  # Used to flag and report bootstrapping failures.
16744  am_rc=0
16745  for am_mf
16746  do
16747    # Strip MF so we end up with the name of the file.
16748    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16749    # Check whether this is an Automake generated Makefile which includes
16750    # dependency-tracking related rules and includes.
16751    # Grep'ing the whole file directly is not great: AIX grep has a line
16752    # limit of 2048, but all sed's we know have understand at least 4000.
16753    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16754      || continue
16755    am_dirpart=`$as_dirname -- "$am_mf" ||
16756$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16757	 X"$am_mf" : 'X\(//\)[^/]' \| \
16758	 X"$am_mf" : 'X\(//\)$' \| \
16759	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16760$as_echo X"$am_mf" |
16761    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16762	    s//\1/
16763	    q
16764	  }
16765	  /^X\(\/\/\)[^/].*/{
16766	    s//\1/
16767	    q
16768	  }
16769	  /^X\(\/\/\)$/{
16770	    s//\1/
16771	    q
16772	  }
16773	  /^X\(\/\).*/{
16774	    s//\1/
16775	    q
16776	  }
16777	  s/.*/./; q'`
16778    am_filepart=`$as_basename -- "$am_mf" ||
16779$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16780	 X"$am_mf" : 'X\(//\)$' \| \
16781	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16782$as_echo X/"$am_mf" |
16783    sed '/^.*\/\([^/][^/]*\)\/*$/{
16784	    s//\1/
16785	    q
16786	  }
16787	  /^X\/\(\/\/\)$/{
16788	    s//\1/
16789	    q
16790	  }
16791	  /^X\/\(\/\).*/{
16792	    s//\1/
16793	    q
16794	  }
16795	  s/.*/./; q'`
16796    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16797      && sed -e '/# am--include-marker/d' "$am_filepart" \
16798        | $MAKE -f - am--depfiles" >&5
16799   (cd "$am_dirpart" \
16800      && sed -e '/# am--include-marker/d' "$am_filepart" \
16801        | $MAKE -f - am--depfiles) >&5 2>&5
16802   ac_status=$?
16803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804   (exit $ac_status); } || am_rc=$?
16805  done
16806  if test $am_rc -ne 0; then
16807    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16808$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16809as_fn_error $? "Something went wrong bootstrapping makefile fragments
16810    for automatic dependency tracking.  If GNU make was not used, consider
16811    re-running the configure script with MAKE=\"gmake\" (or whatever is
16812    necessary).  You can also try re-running configure with the
16813    '--disable-dependency-tracking' option to at least be able to build
16814    the package (albeit without support for automatic dependency tracking).
16815See \`config.log' for more details" "$LINENO" 5; }
16816  fi
16817  { am_dirpart=; unset am_dirpart;}
16818  { am_filepart=; unset am_filepart;}
16819  { am_mf=; unset am_mf;}
16820  { am_rc=; unset am_rc;}
16821  rm -f conftest-deps.mk
16822}
16823 ;;
16824    "libtool":C)
16825
16826    # See if we are running on zsh, and set the options that allow our
16827    # commands through without removal of \ escapes.
16828    if test -n "${ZSH_VERSION+set}"; then
16829      setopt NO_GLOB_SUBST
16830    fi
16831
16832    cfgfile=${ofile}T
16833    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16834    $RM "$cfgfile"
16835
16836    cat <<_LT_EOF >> "$cfgfile"
16837#! $SHELL
16838# Generated automatically by $as_me ($PACKAGE) $VERSION
16839# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16840
16841# Provide generalized library-building support services.
16842# Written by Gordon Matzigkeit, 1996
16843
16844# Copyright (C) 2014 Free Software Foundation, Inc.
16845# This is free software; see the source for copying conditions.  There is NO
16846# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16847
16848# GNU Libtool is free software; you can redistribute it and/or modify
16849# it under the terms of the GNU General Public License as published by
16850# the Free Software Foundation; either version 2 of of the License, or
16851# (at your option) any later version.
16852#
16853# As a special exception to the GNU General Public License, if you
16854# distribute this file as part of a program or library that is built
16855# using GNU Libtool, you may include this file under the  same
16856# distribution terms that you use for the rest of that program.
16857#
16858# GNU Libtool is distributed in the hope that it will be useful, but
16859# WITHOUT ANY WARRANTY; without even the implied warranty of
16860# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16861# GNU General Public License for more details.
16862#
16863# You should have received a copy of the GNU General Public License
16864# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16865
16866
16867# The names of the tagged configurations supported by this script.
16868available_tags=''
16869
16870# Configured defaults for sys_lib_dlsearch_path munging.
16871: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16872
16873# ### BEGIN LIBTOOL CONFIG
16874
16875# A sed program that does not truncate output.
16876SED=$lt_SED
16877
16878# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16879Xsed="\$SED -e 1s/^X//"
16880
16881# A grep program that handles long lines.
16882GREP=$lt_GREP
16883
16884# An ERE matcher.
16885EGREP=$lt_EGREP
16886
16887# A literal string matcher.
16888FGREP=$lt_FGREP
16889
16890# Shell to use when invoking shell scripts.
16891SHELL=$lt_SHELL
16892
16893# An echo program that protects backslashes.
16894ECHO=$lt_ECHO
16895
16896# Which release of libtool.m4 was used?
16897macro_version=$macro_version
16898macro_revision=$macro_revision
16899
16900# Whether or not to build static libraries.
16901build_old_libs=$enable_static
16902
16903# Whether or not to build shared libraries.
16904build_libtool_libs=$enable_shared
16905
16906# What type of objects to build.
16907pic_mode=$pic_mode
16908
16909# Whether or not to optimize for fast installation.
16910fast_install=$enable_fast_install
16911
16912# Shared archive member basename,for filename based shared library versioning on AIX.
16913shared_archive_member_spec=$shared_archive_member_spec
16914
16915# The PATH separator for the build system.
16916PATH_SEPARATOR=$lt_PATH_SEPARATOR
16917
16918# The host system.
16919host_alias=$host_alias
16920host=$host
16921host_os=$host_os
16922
16923# The build system.
16924build_alias=$build_alias
16925build=$build
16926build_os=$build_os
16927
16928# A BSD- or MS-compatible name lister.
16929NM=$lt_NM
16930
16931# Whether we need soft or hard links.
16932LN_S=$lt_LN_S
16933
16934# What is the maximum length of a command?
16935max_cmd_len=$max_cmd_len
16936
16937# Object file suffix (normally "o").
16938objext=$ac_objext
16939
16940# Executable file suffix (normally "").
16941exeext=$exeext
16942
16943# whether the shell understands "unset".
16944lt_unset=$lt_unset
16945
16946# turn spaces into newlines.
16947SP2NL=$lt_lt_SP2NL
16948
16949# turn newlines into spaces.
16950NL2SP=$lt_lt_NL2SP
16951
16952# convert \$build file names to \$host format.
16953to_host_file_cmd=$lt_cv_to_host_file_cmd
16954
16955# convert \$build files to toolchain format.
16956to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16957
16958# An object symbol dumper.
16959OBJDUMP=$lt_OBJDUMP
16960
16961# Method to check whether dependent libraries are shared objects.
16962deplibs_check_method=$lt_deplibs_check_method
16963
16964# Command to use when deplibs_check_method = "file_magic".
16965file_magic_cmd=$lt_file_magic_cmd
16966
16967# How to find potential files when deplibs_check_method = "file_magic".
16968file_magic_glob=$lt_file_magic_glob
16969
16970# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16971want_nocaseglob=$lt_want_nocaseglob
16972
16973# DLL creation program.
16974DLLTOOL=$lt_DLLTOOL
16975
16976# Command to associate shared and link libraries.
16977sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16978
16979# The archiver.
16980AR=$lt_AR
16981
16982# Flags to create an archive (by configure).
16983lt_ar_flags=$lt_ar_flags
16984
16985# Flags to create an archive.
16986AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
16987
16988# How to feed a file listing to the archiver.
16989archiver_list_spec=$lt_archiver_list_spec
16990
16991# A symbol stripping program.
16992STRIP=$lt_STRIP
16993
16994# Commands used to install an old-style archive.
16995RANLIB=$lt_RANLIB
16996old_postinstall_cmds=$lt_old_postinstall_cmds
16997old_postuninstall_cmds=$lt_old_postuninstall_cmds
16998
16999# Whether to use a lock for old archive extraction.
17000lock_old_archive_extraction=$lock_old_archive_extraction
17001
17002# A C compiler.
17003LTCC=$lt_CC
17004
17005# LTCC compiler flags.
17006LTCFLAGS=$lt_CFLAGS
17007
17008# Take the output of nm and produce a listing of raw symbols and C names.
17009global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17010
17011# Transform the output of nm in a proper C declaration.
17012global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17013
17014# Transform the output of nm into a list of symbols to manually relocate.
17015global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17016
17017# Transform the output of nm in a C name address pair.
17018global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17019
17020# Transform the output of nm in a C name address pair when lib prefix is needed.
17021global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17022
17023# The name lister interface.
17024nm_interface=$lt_lt_cv_nm_interface
17025
17026# Specify filename containing input files for \$NM.
17027nm_file_list_spec=$lt_nm_file_list_spec
17028
17029# The root where to search for dependent libraries,and where our libraries should be installed.
17030lt_sysroot=$lt_sysroot
17031
17032# Command to truncate a binary pipe.
17033lt_truncate_bin=$lt_lt_cv_truncate_bin
17034
17035# The name of the directory that contains temporary libtool files.
17036objdir=$objdir
17037
17038# Used to examine libraries when file_magic_cmd begins with "file".
17039MAGIC_CMD=$MAGIC_CMD
17040
17041# Must we lock files when doing compilation?
17042need_locks=$lt_need_locks
17043
17044# Manifest tool.
17045MANIFEST_TOOL=$lt_MANIFEST_TOOL
17046
17047# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17048DSYMUTIL=$lt_DSYMUTIL
17049
17050# Tool to change global to local symbols on Mac OS X.
17051NMEDIT=$lt_NMEDIT
17052
17053# Tool to manipulate fat objects and archives on Mac OS X.
17054LIPO=$lt_LIPO
17055
17056# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17057OTOOL=$lt_OTOOL
17058
17059# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17060OTOOL64=$lt_OTOOL64
17061
17062# Old archive suffix (normally "a").
17063libext=$libext
17064
17065# Shared library suffix (normally ".so").
17066shrext_cmds=$lt_shrext_cmds
17067
17068# The commands to extract the exported symbol list from a shared archive.
17069extract_expsyms_cmds=$lt_extract_expsyms_cmds
17070
17071# Variables whose values should be saved in libtool wrapper scripts and
17072# restored at link time.
17073variables_saved_for_relink=$lt_variables_saved_for_relink
17074
17075# Do we need the "lib" prefix for modules?
17076need_lib_prefix=$need_lib_prefix
17077
17078# Do we need a version for libraries?
17079need_version=$need_version
17080
17081# Library versioning type.
17082version_type=$version_type
17083
17084# Shared library runtime path variable.
17085runpath_var=$runpath_var
17086
17087# Shared library path variable.
17088shlibpath_var=$shlibpath_var
17089
17090# Is shlibpath searched before the hard-coded library search path?
17091shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17092
17093# Format of library name prefix.
17094libname_spec=$lt_libname_spec
17095
17096# List of archive names.  First name is the real one, the rest are links.
17097# The last name is the one that the linker finds with -lNAME
17098library_names_spec=$lt_library_names_spec
17099
17100# The coded name of the library, if different from the real name.
17101soname_spec=$lt_soname_spec
17102
17103# Permission mode override for installation of shared libraries.
17104install_override_mode=$lt_install_override_mode
17105
17106# Command to use after installation of a shared archive.
17107postinstall_cmds=$lt_postinstall_cmds
17108
17109# Command to use after uninstallation of a shared archive.
17110postuninstall_cmds=$lt_postuninstall_cmds
17111
17112# Commands used to finish a libtool library installation in a directory.
17113finish_cmds=$lt_finish_cmds
17114
17115# As "finish_cmds", except a single script fragment to be evaled but
17116# not shown.
17117finish_eval=$lt_finish_eval
17118
17119# Whether we should hardcode library paths into libraries.
17120hardcode_into_libs=$hardcode_into_libs
17121
17122# Compile-time system search path for libraries.
17123sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17124
17125# Detected run-time system search path for libraries.
17126sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17127
17128# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17129configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17130
17131# Whether dlopen is supported.
17132dlopen_support=$enable_dlopen
17133
17134# Whether dlopen of programs is supported.
17135dlopen_self=$enable_dlopen_self
17136
17137# Whether dlopen of statically linked programs is supported.
17138dlopen_self_static=$enable_dlopen_self_static
17139
17140# Commands to strip libraries.
17141old_striplib=$lt_old_striplib
17142striplib=$lt_striplib
17143
17144
17145# The linker used to build libraries.
17146LD=$lt_LD
17147
17148# How to create reloadable object files.
17149reload_flag=$lt_reload_flag
17150reload_cmds=$lt_reload_cmds
17151
17152# Commands used to build an old-style archive.
17153old_archive_cmds=$lt_old_archive_cmds
17154
17155# A language specific compiler.
17156CC=$lt_compiler
17157
17158# Is the compiler the GNU compiler?
17159with_gcc=$GCC
17160
17161# Compiler flag to turn off builtin functions.
17162no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17163
17164# Additional compiler flags for building library objects.
17165pic_flag=$lt_lt_prog_compiler_pic
17166
17167# How to pass a linker flag through the compiler.
17168wl=$lt_lt_prog_compiler_wl
17169
17170# Compiler flag to prevent dynamic linking.
17171link_static_flag=$lt_lt_prog_compiler_static
17172
17173# Does compiler simultaneously support -c and -o options?
17174compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17175
17176# Whether or not to add -lc for building shared libraries.
17177build_libtool_need_lc=$archive_cmds_need_lc
17178
17179# Whether or not to disallow shared libs when runtime libs are static.
17180allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17181
17182# Compiler flag to allow reflexive dlopens.
17183export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17184
17185# Compiler flag to generate shared objects directly from archives.
17186whole_archive_flag_spec=$lt_whole_archive_flag_spec
17187
17188# Whether the compiler copes with passing no objects directly.
17189compiler_needs_object=$lt_compiler_needs_object
17190
17191# Create an old-style archive from a shared archive.
17192old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17193
17194# Create a temporary old-style archive to link instead of a shared archive.
17195old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17196
17197# Commands used to build a shared archive.
17198archive_cmds=$lt_archive_cmds
17199archive_expsym_cmds=$lt_archive_expsym_cmds
17200
17201# Commands used to build a loadable module if different from building
17202# a shared archive.
17203module_cmds=$lt_module_cmds
17204module_expsym_cmds=$lt_module_expsym_cmds
17205
17206# Whether we are building with GNU ld or not.
17207with_gnu_ld=$lt_with_gnu_ld
17208
17209# Flag that allows shared libraries with undefined symbols to be built.
17210allow_undefined_flag=$lt_allow_undefined_flag
17211
17212# Flag that enforces no undefined symbols.
17213no_undefined_flag=$lt_no_undefined_flag
17214
17215# Flag to hardcode \$libdir into a binary during linking.
17216# This must work even if \$libdir does not exist
17217hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17218
17219# Whether we need a single "-rpath" flag with a separated argument.
17220hardcode_libdir_separator=$lt_hardcode_libdir_separator
17221
17222# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17223# DIR into the resulting binary.
17224hardcode_direct=$hardcode_direct
17225
17226# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17227# DIR into the resulting binary and the resulting library dependency is
17228# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17229# library is relocated.
17230hardcode_direct_absolute=$hardcode_direct_absolute
17231
17232# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17233# into the resulting binary.
17234hardcode_minus_L=$hardcode_minus_L
17235
17236# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17237# into the resulting binary.
17238hardcode_shlibpath_var=$hardcode_shlibpath_var
17239
17240# Set to "yes" if building a shared library automatically hardcodes DIR
17241# into the library and all subsequent libraries and executables linked
17242# against it.
17243hardcode_automatic=$hardcode_automatic
17244
17245# Set to yes if linker adds runtime paths of dependent libraries
17246# to runtime path list.
17247inherit_rpath=$inherit_rpath
17248
17249# Whether libtool must link a program against all its dependency libraries.
17250link_all_deplibs=$link_all_deplibs
17251
17252# Set to "yes" if exported symbols are required.
17253always_export_symbols=$always_export_symbols
17254
17255# The commands to list exported symbols.
17256export_symbols_cmds=$lt_export_symbols_cmds
17257
17258# Symbols that should not be listed in the preloaded symbols.
17259exclude_expsyms=$lt_exclude_expsyms
17260
17261# Symbols that must always be exported.
17262include_expsyms=$lt_include_expsyms
17263
17264# Commands necessary for linking programs (against libraries) with templates.
17265prelink_cmds=$lt_prelink_cmds
17266
17267# Commands necessary for finishing linking programs.
17268postlink_cmds=$lt_postlink_cmds
17269
17270# Specify filename containing input files.
17271file_list_spec=$lt_file_list_spec
17272
17273# How to hardcode a shared library path into an executable.
17274hardcode_action=$hardcode_action
17275
17276# ### END LIBTOOL CONFIG
17277
17278_LT_EOF
17279
17280    cat <<'_LT_EOF' >> "$cfgfile"
17281
17282# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17283
17284# func_munge_path_list VARIABLE PATH
17285# -----------------------------------
17286# VARIABLE is name of variable containing _space_ separated list of
17287# directories to be munged by the contents of PATH, which is string
17288# having a format:
17289# "DIR[:DIR]:"
17290#       string "DIR[ DIR]" will be prepended to VARIABLE
17291# ":DIR[:DIR]"
17292#       string "DIR[ DIR]" will be appended to VARIABLE
17293# "DIRP[:DIRP]::[DIRA:]DIRA"
17294#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17295#       "DIRA[ DIRA]" will be appended to VARIABLE
17296# "DIR[:DIR]"
17297#       VARIABLE will be replaced by "DIR[ DIR]"
17298func_munge_path_list ()
17299{
17300    case x$2 in
17301    x)
17302        ;;
17303    *:)
17304        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17305        ;;
17306    x:*)
17307        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17308        ;;
17309    *::*)
17310        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17311        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17312        ;;
17313    *)
17314        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17315        ;;
17316    esac
17317}
17318
17319
17320# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17321func_cc_basename ()
17322{
17323    for cc_temp in $*""; do
17324      case $cc_temp in
17325        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17326        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17327        \-*) ;;
17328        *) break;;
17329      esac
17330    done
17331    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17332}
17333
17334
17335# ### END FUNCTIONS SHARED WITH CONFIGURE
17336
17337_LT_EOF
17338
17339  case $host_os in
17340  aix3*)
17341    cat <<\_LT_EOF >> "$cfgfile"
17342# AIX sometimes has problems with the GCC collect2 program.  For some
17343# reason, if we set the COLLECT_NAMES environment variable, the problems
17344# vanish in a puff of smoke.
17345if test set != "${COLLECT_NAMES+set}"; then
17346  COLLECT_NAMES=
17347  export COLLECT_NAMES
17348fi
17349_LT_EOF
17350    ;;
17351  esac
17352
17353
17354ltmain=$ac_aux_dir/ltmain.sh
17355
17356
17357  # We use sed instead of cat because bash on DJGPP gets confused if
17358  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17359  # text mode, it properly converts lines to CR/LF.  This bash problem
17360  # is reportedly fixed, but why not run on old versions too?
17361  sed '$q' "$ltmain" >> "$cfgfile" \
17362     || (rm -f "$cfgfile"; exit 1)
17363
17364   mv -f "$cfgfile" "$ofile" ||
17365    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17366  chmod +x "$ofile"
17367
17368 ;;
17369    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17370        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17371      esac ;;
17372    "po/stamp-it":C)
17373    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17374       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17375    fi
17376    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17377    >"po/stamp-it.tmp"
17378    sed '/^#/d
17379	 s/^[[].*] *//
17380	 /^[ 	]*$/d
17381	'"s|^|	$ac_top_srcdir/|" \
17382      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17383
17384    sed '/^POTFILES =/,/[^\\]$/ {
17385		/^POTFILES =/!d
17386		r po/POTFILES
17387	  }
17388	 ' "po/Makefile.in" >"po/Makefile"
17389    rm -f "po/Makefile.tmp"
17390    mv "po/stamp-it.tmp" "po/stamp-it"
17391   ;;
17392
17393  esac
17394done # for ac_tag
17395
17396
17397as_fn_exit 0
17398_ACEOF
17399ac_clean_files=$ac_clean_files_save
17400
17401test $ac_write_fail = 0 ||
17402  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17403
17404
17405# configure is writing to config.log, and then calls config.status.
17406# config.status does its own redirection, appending to config.log.
17407# Unfortunately, on DOS this fails, as config.log is still kept open
17408# by configure, so config.status won't be able to write to it; its
17409# output is simply discarded.  So we exec the FD to /dev/null,
17410# effectively closing config.log, so it can be properly (re)opened and
17411# appended to by config.status.  When coming back to configure, we
17412# need to make the FD available again.
17413if test "$no_create" != yes; then
17414  ac_cs_success=:
17415  ac_config_status_args=
17416  test "$silent" = yes &&
17417    ac_config_status_args="$ac_config_status_args --quiet"
17418  exec 5>/dev/null
17419  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17420  exec 5>>config.log
17421  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17422  # would make configure fail if this is the last instruction.
17423  $ac_cs_success || as_fn_exit 1
17424fi
17425if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17426  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17427$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17428fi
17429
17430