1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xfconf 4.16.0.
4#
5# Report bugs to <https://gitlab.xfce.org/xfconf/xfconf>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: https://gitlab.xfce.org/xfconf/xfconf about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='xfconf'
592PACKAGE_TARNAME='xfconf'
593PACKAGE_VERSION='4.16.0'
594PACKAGE_STRING='xfconf 4.16.0'
595PACKAGE_BUGREPORT='https://gitlab.xfce.org/xfconf/xfconf'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638ENABLE_BASH_COMPLETION_FALSE
639ENABLE_BASH_COMPLETION_TRUE
640BASH_COMPLETION_DIR
641ENABLE_PROFILING_FALSE
642ENABLE_PROFILING_TRUE
643HAVE_GNUC_VISIBILITY_FALSE
644HAVE_GNUC_VISIBILITY_TRUE
645GTK_DOC_EXTRA_CFLAGS
646ENABLE_VAPIGEN_FALSE
647ENABLE_VAPIGEN_TRUE
648VAPIGEN_MAKEFILE
649VAPIGEN_VAPIDIR
650VAPIGEN
651HAVE_INTROSPECTION_FALSE
652HAVE_INTROSPECTION_TRUE
653INTROSPECTION_MAKEFILE
654INTROSPECTION_LIBS
655INTROSPECTION_CFLAGS
656INTROSPECTION_TYPELIBDIR
657INTROSPECTION_GIRDIR
658INTROSPECTION_GENERATE
659INTROSPECTION_COMPILER
660INTROSPECTION_SCANNER
661_GI_EXP_LIBDIR
662_GI_EXP_DATADIR
663GIO_MODULE_DIR
664GMODULE_REQUIRED_VERSION
665GMODULE_LIBS
666GMODULE_CFLAGS
667GMODULE_VERSION
668XFCONF_ENABLE_GSETTINGS_BACKEND_FALSE
669XFCONF_ENABLE_GSETTINGS_BACKEND_TRUE
670BUILD_XFCONF_BACKEND_PERCHANNEL_XML_FALSE
671BUILD_XFCONF_BACKEND_PERCHANNEL_XML_TRUE
672GTK_DOC_USE_REBASE_FALSE
673GTK_DOC_USE_REBASE_TRUE
674GTK_DOC_USE_LIBTOOL_FALSE
675GTK_DOC_USE_LIBTOOL_TRUE
676GTK_DOC_BUILD_PDF_FALSE
677GTK_DOC_BUILD_PDF_TRUE
678GTK_DOC_BUILD_HTML_FALSE
679GTK_DOC_BUILD_HTML_TRUE
680ENABLE_GTK_DOC_FALSE
681ENABLE_GTK_DOC_TRUE
682HAVE_GTK_DOC_FALSE
683HAVE_GTK_DOC_TRUE
684GTKDOC_DEPS_LIBS
685GTKDOC_DEPS_CFLAGS
686HTML_DIR
687GTKDOC_MKPDF
688GTKDOC_REBASE
689GTKDOC_CHECK_PATH
690GTKDOC_CHECK
691PERL
692LIBXFCE4UTIL_REQUIRED_VERSION
693LIBXFCE4UTIL_LIBS
694LIBXFCE4UTIL_CFLAGS
695LIBXFCE4UTIL_VERSION
696GTHREAD_REQUIRED_VERSION
697GTHREAD_LIBS
698GTHREAD_CFLAGS
699GTHREAD_VERSION
700GIO_UNIX_REQUIRED_VERSION
701GIO_UNIX_LIBS
702GIO_UNIX_CFLAGS
703GIO_UNIX_VERSION
704GIO_REQUIRED_VERSION
705GIO_LIBS
706GIO_CFLAGS
707GIO_VERSION
708GLIB_REQUIRED_VERSION
709GLIB_LIBS
710GLIB_CFLAGS
711GLIB_VERSION
712PKG_CONFIG_LIBDIR
713PKG_CONFIG_PATH
714PKG_CONFIG
715GDBUS_CODEGEN
716XGETTEXT_ARGS
717MKINSTALLDIRS
718POSUB
719POFILES
720PO_IN_DATADIR_FALSE
721PO_IN_DATADIR_TRUE
722INTLLIBS
723INSTOBJEXT
724GMOFILES
725DATADIRNAME
726CATOBJEXT
727CATALOGS
728MSGFMT_OPTS
729INTL_MACOSX_LIBS
730GETTEXT_PACKAGE
731LIBXFCONF_VERINFO
732LIBXFCONF_VERSION_API
733XFCONF_VERSION
734LT_SYS_LIBRARY_PATH
735OTOOL64
736OTOOL
737LIPO
738NMEDIT
739DSYMUTIL
740MANIFEST_TOOL
741RANLIB
742ac_ct_AR
743AR
744DLLTOOL
745OBJDUMP
746NM
747ac_ct_DUMPBIN
748DUMPBIN
749LD
750FGREP
751SED
752host_os
753host_vendor
754host_cpu
755host
756build_os
757build_vendor
758build_cpu
759build
760LIBTOOL
761ALL_LINGUAS
762INTLTOOL_PERL
763GMSGFMT
764MSGFMT
765MSGMERGE
766XGETTEXT
767INTLTOOL_POLICY_RULE
768INTLTOOL_SERVICE_RULE
769INTLTOOL_THEME_RULE
770INTLTOOL_SCHEMAS_RULE
771INTLTOOL_CAVES_RULE
772INTLTOOL_XML_NOMERGE_RULE
773INTLTOOL_XML_RULE
774INTLTOOL_KBD_RULE
775INTLTOOL_XAM_RULE
776INTLTOOL_UI_RULE
777INTLTOOL_SOUNDLIST_RULE
778INTLTOOL_SHEET_RULE
779INTLTOOL_SERVER_RULE
780INTLTOOL_PONG_RULE
781INTLTOOL_OAF_RULE
782INTLTOOL_PROP_RULE
783INTLTOOL_KEYS_RULE
784INTLTOOL_DIRECTORY_RULE
785INTLTOOL_DESKTOP_RULE
786intltool__v_merge_options_0
787intltool__v_merge_options_
788INTLTOOL_V_MERGE_OPTIONS
789INTLTOOL__v_MERGE_0
790INTLTOOL__v_MERGE_
791INTLTOOL_V_MERGE
792INTLTOOL_EXTRACT
793INTLTOOL_MERGE
794INTLTOOL_UPDATE
795USE_NLS
796LN_S
797EGREP
798GREP
799CPP
800am__fastdepCC_FALSE
801am__fastdepCC_TRUE
802CCDEPMODE
803am__nodep
804AMDEPBACKSLASH
805AMDEP_FALSE
806AMDEP_TRUE
807am__include
808DEPDIR
809OBJEXT
810EXEEXT
811ac_ct_CC
812CPPFLAGS
813LDFLAGS
814CFLAGS
815CC
816HELPER_PATH_PREFIX
817MAINT
818MAINTAINER_MODE_FALSE
819MAINTAINER_MODE_TRUE
820AM_BACKSLASH
821AM_DEFAULT_VERBOSITY
822AM_DEFAULT_V
823AM_V
824am__untar
825am__tar
826AMTAR
827am__leading_dot
828SET_MAKE
829AWK
830mkdir_p
831MKDIR_P
832INSTALL_STRIP_PROGRAM
833STRIP
834install_sh
835MAKEINFO
836AUTOHEADER
837AUTOMAKE
838AUTOCONF
839ACLOCAL
840VERSION
841PACKAGE
842CYGPATH_W
843am__isrc
844INSTALL_DATA
845INSTALL_SCRIPT
846INSTALL_PROGRAM
847target_alias
848host_alias
849build_alias
850LIBS
851ECHO_T
852ECHO_N
853ECHO_C
854DEFS
855mandir
856localedir
857libdir
858psdir
859pdfdir
860dvidir
861htmldir
862infodir
863docdir
864oldincludedir
865includedir
866localstatedir
867sharedstatedir
868sysconfdir
869datadir
870datarootdir
871libexecdir
872sbindir
873bindir
874program_transform_name
875prefix
876exec_prefix
877PACKAGE_URL
878PACKAGE_BUGREPORT
879PACKAGE_STRING
880PACKAGE_VERSION
881PACKAGE_TARNAME
882PACKAGE_NAME
883PATH_SEPARATOR
884SHELL
885am__quote'
886ac_subst_files=''
887ac_user_opts='
888enable_option_checking
889enable_silent_rules
890enable_maintainer_mode
891with_helper_path_prefix
892enable_dependency_tracking
893enable_nls
894enable_static
895enable_shared
896with_pic
897enable_fast_install
898with_aix_soname
899with_gnu_ld
900with_sysroot
901enable_libtool_lock
902with_locales_dir
903with_html_dir
904enable_gtk_doc
905enable_gtk_doc_html
906enable_gtk_doc_pdf
907enable_gsettings_backend
908enable_introspection
909enable_vala
910enable_debug
911enable_checks
912enable_visibility
913enable_linker_opts
914enable_profiling
915with_bash_completion_dir
916'
917      ac_precious_vars='build_alias
918host_alias
919target_alias
920CC
921CFLAGS
922LDFLAGS
923LIBS
924CPPFLAGS
925CPP
926LT_SYS_LIBRARY_PATH
927GDBUS_CODEGEN
928PKG_CONFIG
929PKG_CONFIG_PATH
930PKG_CONFIG_LIBDIR
931GTKDOC_DEPS_CFLAGS
932GTKDOC_DEPS_LIBS'
933
934
935# Initialize some variables set by options.
936ac_init_help=
937ac_init_version=false
938ac_unrecognized_opts=
939ac_unrecognized_sep=
940# The variables have the same names as the options, with
941# dashes changed to underlines.
942cache_file=/dev/null
943exec_prefix=NONE
944no_create=
945no_recursion=
946prefix=NONE
947program_prefix=NONE
948program_suffix=NONE
949program_transform_name=s,x,x,
950silent=
951site=
952srcdir=
953verbose=
954x_includes=NONE
955x_libraries=NONE
956
957# Installation directory options.
958# These are left unexpanded so users can "make install exec_prefix=/foo"
959# and all the variables that are supposed to be based on exec_prefix
960# by default will actually change.
961# Use braces instead of parens because sh, perl, etc. also accept them.
962# (The list follows the same order as the GNU Coding Standards.)
963bindir='${exec_prefix}/bin'
964sbindir='${exec_prefix}/sbin'
965libexecdir='${exec_prefix}/libexec'
966datarootdir='${prefix}/share'
967datadir='${datarootdir}'
968sysconfdir='${prefix}/etc'
969sharedstatedir='${prefix}/com'
970localstatedir='${prefix}/var'
971includedir='${prefix}/include'
972oldincludedir='/usr/include'
973docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974infodir='${datarootdir}/info'
975htmldir='${docdir}'
976dvidir='${docdir}'
977pdfdir='${docdir}'
978psdir='${docdir}'
979libdir='${exec_prefix}/lib'
980localedir='${datarootdir}/locale'
981mandir='${datarootdir}/man'
982
983ac_prev=
984ac_dashdash=
985for ac_option
986do
987  # If the previous option needs an argument, assign it.
988  if test -n "$ac_prev"; then
989    eval $ac_prev=\$ac_option
990    ac_prev=
991    continue
992  fi
993
994  case $ac_option in
995  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996  *=)   ac_optarg= ;;
997  *)    ac_optarg=yes ;;
998  esac
999
1000  # Accept the important Cygnus configure options, so we can diagnose typos.
1001
1002  case $ac_dashdash$ac_option in
1003  --)
1004    ac_dashdash=yes ;;
1005
1006  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1007    ac_prev=bindir ;;
1008  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009    bindir=$ac_optarg ;;
1010
1011  -build | --build | --buil | --bui | --bu)
1012    ac_prev=build_alias ;;
1013  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014    build_alias=$ac_optarg ;;
1015
1016  -cache-file | --cache-file | --cache-fil | --cache-fi \
1017  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018    ac_prev=cache_file ;;
1019  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021    cache_file=$ac_optarg ;;
1022
1023  --config-cache | -C)
1024    cache_file=config.cache ;;
1025
1026  -datadir | --datadir | --datadi | --datad)
1027    ac_prev=datadir ;;
1028  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029    datadir=$ac_optarg ;;
1030
1031  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032  | --dataroo | --dataro | --datar)
1033    ac_prev=datarootdir ;;
1034  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036    datarootdir=$ac_optarg ;;
1037
1038  -disable-* | --disable-*)
1039    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040    # Reject names that are not valid shell variable names.
1041    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042      as_fn_error $? "invalid feature name: $ac_useropt"
1043    ac_useropt_orig=$ac_useropt
1044    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045    case $ac_user_opts in
1046      *"
1047"enable_$ac_useropt"
1048"*) ;;
1049      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050	 ac_unrecognized_sep=', ';;
1051    esac
1052    eval enable_$ac_useropt=no ;;
1053
1054  -docdir | --docdir | --docdi | --doc | --do)
1055    ac_prev=docdir ;;
1056  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057    docdir=$ac_optarg ;;
1058
1059  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060    ac_prev=dvidir ;;
1061  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062    dvidir=$ac_optarg ;;
1063
1064  -enable-* | --enable-*)
1065    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066    # Reject names that are not valid shell variable names.
1067    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068      as_fn_error $? "invalid feature name: $ac_useropt"
1069    ac_useropt_orig=$ac_useropt
1070    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071    case $ac_user_opts in
1072      *"
1073"enable_$ac_useropt"
1074"*) ;;
1075      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076	 ac_unrecognized_sep=', ';;
1077    esac
1078    eval enable_$ac_useropt=\$ac_optarg ;;
1079
1080  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082  | --exec | --exe | --ex)
1083    ac_prev=exec_prefix ;;
1084  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086  | --exec=* | --exe=* | --ex=*)
1087    exec_prefix=$ac_optarg ;;
1088
1089  -gas | --gas | --ga | --g)
1090    # Obsolete; use --with-gas.
1091    with_gas=yes ;;
1092
1093  -help | --help | --hel | --he | -h)
1094    ac_init_help=long ;;
1095  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096    ac_init_help=recursive ;;
1097  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098    ac_init_help=short ;;
1099
1100  -host | --host | --hos | --ho)
1101    ac_prev=host_alias ;;
1102  -host=* | --host=* | --hos=* | --ho=*)
1103    host_alias=$ac_optarg ;;
1104
1105  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1106    ac_prev=htmldir ;;
1107  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1108  | --ht=*)
1109    htmldir=$ac_optarg ;;
1110
1111  -includedir | --includedir | --includedi | --included | --include \
1112  | --includ | --inclu | --incl | --inc)
1113    ac_prev=includedir ;;
1114  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115  | --includ=* | --inclu=* | --incl=* | --inc=*)
1116    includedir=$ac_optarg ;;
1117
1118  -infodir | --infodir | --infodi | --infod | --info | --inf)
1119    ac_prev=infodir ;;
1120  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121    infodir=$ac_optarg ;;
1122
1123  -libdir | --libdir | --libdi | --libd)
1124    ac_prev=libdir ;;
1125  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1126    libdir=$ac_optarg ;;
1127
1128  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129  | --libexe | --libex | --libe)
1130    ac_prev=libexecdir ;;
1131  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132  | --libexe=* | --libex=* | --libe=*)
1133    libexecdir=$ac_optarg ;;
1134
1135  -localedir | --localedir | --localedi | --localed | --locale)
1136    ac_prev=localedir ;;
1137  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138    localedir=$ac_optarg ;;
1139
1140  -localstatedir | --localstatedir | --localstatedi | --localstated \
1141  | --localstate | --localstat | --localsta | --localst | --locals)
1142    ac_prev=localstatedir ;;
1143  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145    localstatedir=$ac_optarg ;;
1146
1147  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1148    ac_prev=mandir ;;
1149  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150    mandir=$ac_optarg ;;
1151
1152  -nfp | --nfp | --nf)
1153    # Obsolete; use --without-fp.
1154    with_fp=no ;;
1155
1156  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157  | --no-cr | --no-c | -n)
1158    no_create=yes ;;
1159
1160  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162    no_recursion=yes ;;
1163
1164  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166  | --oldin | --oldi | --old | --ol | --o)
1167    ac_prev=oldincludedir ;;
1168  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171    oldincludedir=$ac_optarg ;;
1172
1173  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1174    ac_prev=prefix ;;
1175  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176    prefix=$ac_optarg ;;
1177
1178  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1179  | --program-pre | --program-pr | --program-p)
1180    ac_prev=program_prefix ;;
1181  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1182  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183    program_prefix=$ac_optarg ;;
1184
1185  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1186  | --program-suf | --program-su | --program-s)
1187    ac_prev=program_suffix ;;
1188  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1189  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190    program_suffix=$ac_optarg ;;
1191
1192  -program-transform-name | --program-transform-name \
1193  | --program-transform-nam | --program-transform-na \
1194  | --program-transform-n | --program-transform- \
1195  | --program-transform | --program-transfor \
1196  | --program-transfo | --program-transf \
1197  | --program-trans | --program-tran \
1198  | --progr-tra | --program-tr | --program-t)
1199    ac_prev=program_transform_name ;;
1200  -program-transform-name=* | --program-transform-name=* \
1201  | --program-transform-nam=* | --program-transform-na=* \
1202  | --program-transform-n=* | --program-transform-=* \
1203  | --program-transform=* | --program-transfor=* \
1204  | --program-transfo=* | --program-transf=* \
1205  | --program-trans=* | --program-tran=* \
1206  | --progr-tra=* | --program-tr=* | --program-t=*)
1207    program_transform_name=$ac_optarg ;;
1208
1209  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1210    ac_prev=pdfdir ;;
1211  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212    pdfdir=$ac_optarg ;;
1213
1214  -psdir | --psdir | --psdi | --psd | --ps)
1215    ac_prev=psdir ;;
1216  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217    psdir=$ac_optarg ;;
1218
1219  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220  | -silent | --silent | --silen | --sile | --sil)
1221    silent=yes ;;
1222
1223  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1224    ac_prev=sbindir ;;
1225  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1226  | --sbi=* | --sb=*)
1227    sbindir=$ac_optarg ;;
1228
1229  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1230  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231  | --sharedst | --shareds | --shared | --share | --shar \
1232  | --sha | --sh)
1233    ac_prev=sharedstatedir ;;
1234  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1237  | --sha=* | --sh=*)
1238    sharedstatedir=$ac_optarg ;;
1239
1240  -site | --site | --sit)
1241    ac_prev=site ;;
1242  -site=* | --site=* | --sit=*)
1243    site=$ac_optarg ;;
1244
1245  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1246    ac_prev=srcdir ;;
1247  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248    srcdir=$ac_optarg ;;
1249
1250  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251  | --syscon | --sysco | --sysc | --sys | --sy)
1252    ac_prev=sysconfdir ;;
1253  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255    sysconfdir=$ac_optarg ;;
1256
1257  -target | --target | --targe | --targ | --tar | --ta | --t)
1258    ac_prev=target_alias ;;
1259  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260    target_alias=$ac_optarg ;;
1261
1262  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263    verbose=yes ;;
1264
1265  -version | --version | --versio | --versi | --vers | -V)
1266    ac_init_version=: ;;
1267
1268  -with-* | --with-*)
1269    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270    # Reject names that are not valid shell variable names.
1271    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272      as_fn_error $? "invalid package name: $ac_useropt"
1273    ac_useropt_orig=$ac_useropt
1274    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275    case $ac_user_opts in
1276      *"
1277"with_$ac_useropt"
1278"*) ;;
1279      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280	 ac_unrecognized_sep=', ';;
1281    esac
1282    eval with_$ac_useropt=\$ac_optarg ;;
1283
1284  -without-* | --without-*)
1285    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286    # Reject names that are not valid shell variable names.
1287    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288      as_fn_error $? "invalid package name: $ac_useropt"
1289    ac_useropt_orig=$ac_useropt
1290    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291    case $ac_user_opts in
1292      *"
1293"with_$ac_useropt"
1294"*) ;;
1295      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296	 ac_unrecognized_sep=', ';;
1297    esac
1298    eval with_$ac_useropt=no ;;
1299
1300  --x)
1301    # Obsolete; use --with-x.
1302    with_x=yes ;;
1303
1304  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1305  | --x-incl | --x-inc | --x-in | --x-i)
1306    ac_prev=x_includes ;;
1307  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1308  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1309    x_includes=$ac_optarg ;;
1310
1311  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1312  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1313    ac_prev=x_libraries ;;
1314  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1315  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1316    x_libraries=$ac_optarg ;;
1317
1318  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1319Try \`$0 --help' for more information"
1320    ;;
1321
1322  *=*)
1323    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1324    # Reject names that are not valid shell variable names.
1325    case $ac_envvar in #(
1326      '' | [0-9]* | *[!_$as_cr_alnum]* )
1327      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1328    esac
1329    eval $ac_envvar=\$ac_optarg
1330    export $ac_envvar ;;
1331
1332  *)
1333    # FIXME: should be removed in autoconf 3.0.
1334    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1336      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1338    ;;
1339
1340  esac
1341done
1342
1343if test -n "$ac_prev"; then
1344  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1345  as_fn_error $? "missing argument to $ac_option"
1346fi
1347
1348if test -n "$ac_unrecognized_opts"; then
1349  case $enable_option_checking in
1350    no) ;;
1351    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1352    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353  esac
1354fi
1355
1356# Check all directory arguments for consistency.
1357for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358		datadir sysconfdir sharedstatedir localstatedir includedir \
1359		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360		libdir localedir mandir
1361do
1362  eval ac_val=\$$ac_var
1363  # Remove trailing slashes.
1364  case $ac_val in
1365    */ )
1366      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367      eval $ac_var=\$ac_val;;
1368  esac
1369  # Be sure to have absolute directory names.
1370  case $ac_val in
1371    [\\/$]* | ?:[\\/]* )  continue;;
1372    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1373  esac
1374  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1375done
1376
1377# There might be people who depend on the old broken behavior: `$host'
1378# used to hold the argument of --host etc.
1379# FIXME: To remove some day.
1380build=$build_alias
1381host=$host_alias
1382target=$target_alias
1383
1384# FIXME: To remove some day.
1385if test "x$host_alias" != x; then
1386  if test "x$build_alias" = x; then
1387    cross_compiling=maybe
1388  elif test "x$build_alias" != "x$host_alias"; then
1389    cross_compiling=yes
1390  fi
1391fi
1392
1393ac_tool_prefix=
1394test -n "$host_alias" && ac_tool_prefix=$host_alias-
1395
1396test "$silent" = yes && exec 6>/dev/null
1397
1398
1399ac_pwd=`pwd` && test -n "$ac_pwd" &&
1400ac_ls_di=`ls -di .` &&
1401ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1402  as_fn_error $? "working directory cannot be determined"
1403test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1404  as_fn_error $? "pwd does not report name of working directory"
1405
1406
1407# Find the source files, if location was not specified.
1408if test -z "$srcdir"; then
1409  ac_srcdir_defaulted=yes
1410  # Try the directory containing this script, then the parent directory.
1411  ac_confdir=`$as_dirname -- "$as_myself" ||
1412$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1413	 X"$as_myself" : 'X\(//\)[^/]' \| \
1414	 X"$as_myself" : 'X\(//\)$' \| \
1415	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1416$as_echo X"$as_myself" |
1417    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1418	    s//\1/
1419	    q
1420	  }
1421	  /^X\(\/\/\)[^/].*/{
1422	    s//\1/
1423	    q
1424	  }
1425	  /^X\(\/\/\)$/{
1426	    s//\1/
1427	    q
1428	  }
1429	  /^X\(\/\).*/{
1430	    s//\1/
1431	    q
1432	  }
1433	  s/.*/./; q'`
1434  srcdir=$ac_confdir
1435  if test ! -r "$srcdir/$ac_unique_file"; then
1436    srcdir=..
1437  fi
1438else
1439  ac_srcdir_defaulted=no
1440fi
1441if test ! -r "$srcdir/$ac_unique_file"; then
1442  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1443  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1444fi
1445ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1446ac_abs_confdir=`(
1447	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1448	pwd)`
1449# When building in place, set srcdir=.
1450if test "$ac_abs_confdir" = "$ac_pwd"; then
1451  srcdir=.
1452fi
1453# Remove unnecessary trailing slashes from srcdir.
1454# Double slashes in file names in object file debugging info
1455# mess up M-x gdb in Emacs.
1456case $srcdir in
1457*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458esac
1459for ac_var in $ac_precious_vars; do
1460  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1461  eval ac_env_${ac_var}_value=\$${ac_var}
1462  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1463  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1464done
1465
1466#
1467# Report the --help message.
1468#
1469if test "$ac_init_help" = "long"; then
1470  # Omit some internal or obsolete options to make the list less imposing.
1471  # This message is too long to be a string in the A/UX 3.1 sh.
1472  cat <<_ACEOF
1473\`configure' configures xfconf 4.16.0 to adapt to many kinds of systems.
1474
1475Usage: $0 [OPTION]... [VAR=VALUE]...
1476
1477To assign environment variables (e.g., CC, CFLAGS...), specify them as
1478VAR=VALUE.  See below for descriptions of some of the useful variables.
1479
1480Defaults for the options are specified in brackets.
1481
1482Configuration:
1483  -h, --help              display this help and exit
1484      --help=short        display options specific to this package
1485      --help=recursive    display the short help of all the included packages
1486  -V, --version           display version information and exit
1487  -q, --quiet, --silent   do not print \`checking ...' messages
1488      --cache-file=FILE   cache test results in FILE [disabled]
1489  -C, --config-cache      alias for \`--cache-file=config.cache'
1490  -n, --no-create         do not create output files
1491      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1492
1493Installation directories:
1494  --prefix=PREFIX         install architecture-independent files in PREFIX
1495                          [$ac_default_prefix]
1496  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1497                          [PREFIX]
1498
1499By default, \`make install' will install all the files in
1500\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1501an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1502for instance \`--prefix=\$HOME'.
1503
1504For better control, use the options below.
1505
1506Fine tuning of the installation directories:
1507  --bindir=DIR            user executables [EPREFIX/bin]
1508  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1509  --libexecdir=DIR        program executables [EPREFIX/libexec]
1510  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1511  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1512  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1513  --libdir=DIR            object code libraries [EPREFIX/lib]
1514  --includedir=DIR        C header files [PREFIX/include]
1515  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1516  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1517  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1518  --infodir=DIR           info documentation [DATAROOTDIR/info]
1519  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1520  --mandir=DIR            man documentation [DATAROOTDIR/man]
1521  --docdir=DIR            documentation root [DATAROOTDIR/doc/xfconf]
1522  --htmldir=DIR           html documentation [DOCDIR]
1523  --dvidir=DIR            dvi documentation [DOCDIR]
1524  --pdfdir=DIR            pdf documentation [DOCDIR]
1525  --psdir=DIR             ps documentation [DOCDIR]
1526_ACEOF
1527
1528  cat <<\_ACEOF
1529
1530Program names:
1531  --program-prefix=PREFIX            prepend PREFIX to installed program names
1532  --program-suffix=SUFFIX            append SUFFIX to installed program names
1533  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1534
1535System types:
1536  --build=BUILD     configure for building on BUILD [guessed]
1537  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1538_ACEOF
1539fi
1540
1541if test -n "$ac_init_help"; then
1542  case $ac_init_help in
1543     short | recursive ) echo "Configuration of xfconf 4.16.0:";;
1544   esac
1545  cat <<\_ACEOF
1546
1547Optional Features:
1548  --disable-option-checking  ignore unrecognized --enable/--with options
1549  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1550  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1551  --enable-silent-rules   less verbose build output (undo: "make V=1")
1552  --disable-silent-rules  verbose build output (undo: "make V=0")
1553  --enable-maintainer-mode
1554                          enable make rules and dependencies not useful (and
1555                          sometimes confusing) to the casual installer
1556  --enable-dependency-tracking
1557                          do not reject slow dependency extractors
1558  --disable-dependency-tracking
1559                          speeds up one-time build
1560  --disable-nls           do not use Native Language Support
1561  --enable-static[=PKGS]  build static libraries [default=no]
1562  --enable-shared[=PKGS]  build shared libraries [default=yes]
1563  --enable-fast-install[=PKGS]
1564                          optimize for fast installation [default=yes]
1565  --disable-libtool-lock  avoid locking (might break parallel builds)
1566  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1567  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1568  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1569  --disable-gsettings-backend
1570                          Don't build GSettings backend module
1571  --enable-introspection=[no/auto/yes]
1572                          Enable introspection for this build
1573  --enable-vala=[no/auto/yes]
1574                          build Vala bindings [default=auto]
1575  --enable-debug[=no|minimum|yes|full]
1576                          Build with debugging support
1577                          [default=[minimum]]
1578  --disable-debug         Include no debugging support
1579  --enable-checks         Enables some runtime checks for libxfconf that print
1580                          debugging information at a slight cost to library
1581                          code size and speed
1582  --disable-visibility    Don't use ELF visibility attributes
1583  --disable-linker-opts   Disable linker optimizations
1584  --enable-profiling      Enable gprof profiling support
1585
1586Optional Packages:
1587  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1588  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1589  --with-helper-path-prefix=PATH
1590                          Path prefix under which helper executables will be
1591                          installed (default: $libdir)
1592  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1593                          both]
1594  --with-aix-soname=aix|svr4|both
1595                          shared library versioning (aka "SONAME") variant to
1596                          provide on AIX, [default=aix].
1597  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1598  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1599                          compiler's sysroot if not specified).
1600
1601      --with-locales-dir=DIR  Install locales into DIR
1602
1603  --with-html-dir=PATH    path to installed docs
1604  --with-bash-completion-dir=PATH
1605                          Install the bash-completion script in this
1606                          directory. [default=yes]
1607
1608Some influential environment variables:
1609  CC          C compiler command
1610  CFLAGS      C compiler flags
1611  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1612              nonstandard directory <lib dir>
1613  LIBS        libraries to pass to the linker, e.g. -l<library>
1614  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1615              you have headers in a nonstandard directory <include dir>
1616  CPP         C preprocessor
1617  LT_SYS_LIBRARY_PATH
1618              User-defined run-time library search path.
1619  GDBUS_CODEGEN
1620              D-Bus code and documentation generator from XML D-Bus interface
1621              definitions
1622  PKG_CONFIG  path to pkg-config utility
1623  PKG_CONFIG_PATH
1624              directories to add to pkg-config's search path
1625  PKG_CONFIG_LIBDIR
1626              path overriding pkg-config's built-in search path
1627  GTKDOC_DEPS_CFLAGS
1628              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1629  GTKDOC_DEPS_LIBS
1630              linker flags for GTKDOC_DEPS, overriding pkg-config
1631
1632Use these variables to override the choices made by `configure' or to help
1633it to find libraries and programs with nonstandard names/locations.
1634
1635Report bugs to <https://gitlab.xfce.org/xfconf/xfconf>.
1636_ACEOF
1637ac_status=$?
1638fi
1639
1640if test "$ac_init_help" = "recursive"; then
1641  # If there are subdirs, report their specific --help.
1642  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643    test -d "$ac_dir" ||
1644      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645      continue
1646    ac_builddir=.
1647
1648case "$ac_dir" in
1649.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650*)
1651  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652  # A ".." for each directory in $ac_dir_suffix.
1653  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654  case $ac_top_builddir_sub in
1655  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657  esac ;;
1658esac
1659ac_abs_top_builddir=$ac_pwd
1660ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661# for backward compatibility:
1662ac_top_builddir=$ac_top_build_prefix
1663
1664case $srcdir in
1665  .)  # We are building in place.
1666    ac_srcdir=.
1667    ac_top_srcdir=$ac_top_builddir_sub
1668    ac_abs_top_srcdir=$ac_pwd ;;
1669  [\\/]* | ?:[\\/]* )  # Absolute name.
1670    ac_srcdir=$srcdir$ac_dir_suffix;
1671    ac_top_srcdir=$srcdir
1672    ac_abs_top_srcdir=$srcdir ;;
1673  *) # Relative name.
1674    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675    ac_top_srcdir=$ac_top_build_prefix$srcdir
1676    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677esac
1678ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679
1680    cd "$ac_dir" || { ac_status=$?; continue; }
1681    # Check for guested configure.
1682    if test -f "$ac_srcdir/configure.gnu"; then
1683      echo &&
1684      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685    elif test -f "$ac_srcdir/configure"; then
1686      echo &&
1687      $SHELL "$ac_srcdir/configure" --help=recursive
1688    else
1689      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690    fi || ac_status=$?
1691    cd "$ac_pwd" || { ac_status=$?; break; }
1692  done
1693fi
1694
1695test -n "$ac_init_help" && exit $ac_status
1696if $ac_init_version; then
1697  cat <<\_ACEOF
1698xfconf configure 4.16.0
1699generated by GNU Autoconf 2.69
1700
1701Copyright (C) 2012 Free Software Foundation, Inc.
1702This configure script is free software; the Free Software Foundation
1703gives unlimited permission to copy, distribute and modify it.
1704_ACEOF
1705  exit
1706fi
1707
1708## ------------------------ ##
1709## Autoconf initialization. ##
1710## ------------------------ ##
1711
1712# ac_fn_c_try_compile LINENO
1713# --------------------------
1714# Try to compile conftest.$ac_ext, and return whether this succeeded.
1715ac_fn_c_try_compile ()
1716{
1717  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718  rm -f conftest.$ac_objext
1719  if { { ac_try="$ac_compile"
1720case "(($ac_try" in
1721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722  *) ac_try_echo=$ac_try;;
1723esac
1724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725$as_echo "$ac_try_echo"; } >&5
1726  (eval "$ac_compile") 2>conftest.err
1727  ac_status=$?
1728  if test -s conftest.err; then
1729    grep -v '^ *+' conftest.err >conftest.er1
1730    cat conftest.er1 >&5
1731    mv -f conftest.er1 conftest.err
1732  fi
1733  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734  test $ac_status = 0; } && {
1735	 test -z "$ac_c_werror_flag" ||
1736	 test ! -s conftest.err
1737       } && test -s conftest.$ac_objext; then :
1738  ac_retval=0
1739else
1740  $as_echo "$as_me: failed program was:" >&5
1741sed 's/^/| /' conftest.$ac_ext >&5
1742
1743	ac_retval=1
1744fi
1745  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746  as_fn_set_status $ac_retval
1747
1748} # ac_fn_c_try_compile
1749
1750# ac_fn_c_try_cpp LINENO
1751# ----------------------
1752# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753ac_fn_c_try_cpp ()
1754{
1755  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756  if { { ac_try="$ac_cpp conftest.$ac_ext"
1757case "(($ac_try" in
1758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759  *) ac_try_echo=$ac_try;;
1760esac
1761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762$as_echo "$ac_try_echo"; } >&5
1763  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764  ac_status=$?
1765  if test -s conftest.err; then
1766    grep -v '^ *+' conftest.err >conftest.er1
1767    cat conftest.er1 >&5
1768    mv -f conftest.er1 conftest.err
1769  fi
1770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771  test $ac_status = 0; } > conftest.i && {
1772	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773	 test ! -s conftest.err
1774       }; then :
1775  ac_retval=0
1776else
1777  $as_echo "$as_me: failed program was:" >&5
1778sed 's/^/| /' conftest.$ac_ext >&5
1779
1780    ac_retval=1
1781fi
1782  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783  as_fn_set_status $ac_retval
1784
1785} # ac_fn_c_try_cpp
1786
1787# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1788# -------------------------------------------------------
1789# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1790# the include files in INCLUDES and setting the cache variable VAR
1791# accordingly.
1792ac_fn_c_check_header_mongrel ()
1793{
1794  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795  if eval \${$3+:} false; then :
1796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797$as_echo_n "checking for $2... " >&6; }
1798if eval \${$3+:} false; then :
1799  $as_echo_n "(cached) " >&6
1800fi
1801eval ac_res=\$$3
1802	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803$as_echo "$ac_res" >&6; }
1804else
1805  # Is the header compilable?
1806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1807$as_echo_n "checking $2 usability... " >&6; }
1808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809/* end confdefs.h.  */
1810$4
1811#include <$2>
1812_ACEOF
1813if ac_fn_c_try_compile "$LINENO"; then :
1814  ac_header_compiler=yes
1815else
1816  ac_header_compiler=no
1817fi
1818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1820$as_echo "$ac_header_compiler" >&6; }
1821
1822# Is the header present?
1823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1824$as_echo_n "checking $2 presence... " >&6; }
1825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826/* end confdefs.h.  */
1827#include <$2>
1828_ACEOF
1829if ac_fn_c_try_cpp "$LINENO"; then :
1830  ac_header_preproc=yes
1831else
1832  ac_header_preproc=no
1833fi
1834rm -f conftest.err conftest.i conftest.$ac_ext
1835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1836$as_echo "$ac_header_preproc" >&6; }
1837
1838# So?  What about this header?
1839case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1840  yes:no: )
1841    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1842$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1844$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1845    ;;
1846  no:yes:* )
1847    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1848$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1850$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1852$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1854$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1856$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1857( $as_echo "## ---------------------------------------------------- ##
1858## Report this to https://gitlab.xfce.org/xfconf/xfconf ##
1859## ---------------------------------------------------- ##"
1860     ) | sed "s/^/$as_me: WARNING:     /" >&2
1861    ;;
1862esac
1863  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864$as_echo_n "checking for $2... " >&6; }
1865if eval \${$3+:} false; then :
1866  $as_echo_n "(cached) " >&6
1867else
1868  eval "$3=\$ac_header_compiler"
1869fi
1870eval ac_res=\$$3
1871	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872$as_echo "$ac_res" >&6; }
1873fi
1874  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875
1876} # ac_fn_c_check_header_mongrel
1877
1878# ac_fn_c_try_run LINENO
1879# ----------------------
1880# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1881# that executables *can* be run.
1882ac_fn_c_try_run ()
1883{
1884  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885  if { { ac_try="$ac_link"
1886case "(($ac_try" in
1887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888  *) ac_try_echo=$ac_try;;
1889esac
1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891$as_echo "$ac_try_echo"; } >&5
1892  (eval "$ac_link") 2>&5
1893  ac_status=$?
1894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1896  { { case "(($ac_try" in
1897  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898  *) ac_try_echo=$ac_try;;
1899esac
1900eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901$as_echo "$ac_try_echo"; } >&5
1902  (eval "$ac_try") 2>&5
1903  ac_status=$?
1904  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905  test $ac_status = 0; }; }; then :
1906  ac_retval=0
1907else
1908  $as_echo "$as_me: program exited with status $ac_status" >&5
1909       $as_echo "$as_me: failed program was:" >&5
1910sed 's/^/| /' conftest.$ac_ext >&5
1911
1912       ac_retval=$ac_status
1913fi
1914  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916  as_fn_set_status $ac_retval
1917
1918} # ac_fn_c_try_run
1919
1920# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1921# -------------------------------------------------------
1922# Tests whether HEADER exists and can be compiled using the include files in
1923# INCLUDES, setting the cache variable VAR accordingly.
1924ac_fn_c_check_header_compile ()
1925{
1926  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928$as_echo_n "checking for $2... " >&6; }
1929if eval \${$3+:} false; then :
1930  $as_echo_n "(cached) " >&6
1931else
1932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933/* end confdefs.h.  */
1934$4
1935#include <$2>
1936_ACEOF
1937if ac_fn_c_try_compile "$LINENO"; then :
1938  eval "$3=yes"
1939else
1940  eval "$3=no"
1941fi
1942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943fi
1944eval ac_res=\$$3
1945	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946$as_echo "$ac_res" >&6; }
1947  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948
1949} # ac_fn_c_check_header_compile
1950
1951# ac_fn_c_try_link LINENO
1952# -----------------------
1953# Try to link conftest.$ac_ext, and return whether this succeeded.
1954ac_fn_c_try_link ()
1955{
1956  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957  rm -f conftest.$ac_objext conftest$ac_exeext
1958  if { { ac_try="$ac_link"
1959case "(($ac_try" in
1960  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961  *) ac_try_echo=$ac_try;;
1962esac
1963eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964$as_echo "$ac_try_echo"; } >&5
1965  (eval "$ac_link") 2>conftest.err
1966  ac_status=$?
1967  if test -s conftest.err; then
1968    grep -v '^ *+' conftest.err >conftest.er1
1969    cat conftest.er1 >&5
1970    mv -f conftest.er1 conftest.err
1971  fi
1972  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973  test $ac_status = 0; } && {
1974	 test -z "$ac_c_werror_flag" ||
1975	 test ! -s conftest.err
1976       } && test -s conftest$ac_exeext && {
1977	 test "$cross_compiling" = yes ||
1978	 test -x conftest$ac_exeext
1979       }; then :
1980  ac_retval=0
1981else
1982  $as_echo "$as_me: failed program was:" >&5
1983sed 's/^/| /' conftest.$ac_ext >&5
1984
1985	ac_retval=1
1986fi
1987  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1988  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1989  # interfere with the next link command; also delete a directory that is
1990  # left behind by Apple's compiler.  We do this before executing the actions.
1991  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1992  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993  as_fn_set_status $ac_retval
1994
1995} # ac_fn_c_try_link
1996
1997# ac_fn_c_check_func LINENO FUNC VAR
1998# ----------------------------------
1999# Tests whether FUNC exists, setting the cache variable VAR accordingly
2000ac_fn_c_check_func ()
2001{
2002  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004$as_echo_n "checking for $2... " >&6; }
2005if eval \${$3+:} false; then :
2006  $as_echo_n "(cached) " >&6
2007else
2008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009/* end confdefs.h.  */
2010/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2011   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2012#define $2 innocuous_$2
2013
2014/* System header to define __stub macros and hopefully few prototypes,
2015    which can conflict with char $2 (); below.
2016    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2017    <limits.h> exists even on freestanding compilers.  */
2018
2019#ifdef __STDC__
2020# include <limits.h>
2021#else
2022# include <assert.h>
2023#endif
2024
2025#undef $2
2026
2027/* Override any GCC internal prototype to avoid an error.
2028   Use char because int might match the return type of a GCC
2029   builtin and then its argument prototype would still apply.  */
2030#ifdef __cplusplus
2031extern "C"
2032#endif
2033char $2 ();
2034/* The GNU C library defines this for functions which it implements
2035    to always fail with ENOSYS.  Some functions are actually named
2036    something starting with __ and the normal name is an alias.  */
2037#if defined __stub_$2 || defined __stub___$2
2038choke me
2039#endif
2040
2041int
2042main ()
2043{
2044return $2 ();
2045  ;
2046  return 0;
2047}
2048_ACEOF
2049if ac_fn_c_try_link "$LINENO"; then :
2050  eval "$3=yes"
2051else
2052  eval "$3=no"
2053fi
2054rm -f core conftest.err conftest.$ac_objext \
2055    conftest$ac_exeext conftest.$ac_ext
2056fi
2057eval ac_res=\$$3
2058	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059$as_echo "$ac_res" >&6; }
2060  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061
2062} # ac_fn_c_check_func
2063
2064# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2065# --------------------------------------------
2066# Tries to find the compile-time value of EXPR in a program that includes
2067# INCLUDES, setting VAR accordingly. Returns whether the value could be
2068# computed
2069ac_fn_c_compute_int ()
2070{
2071  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072  if test "$cross_compiling" = yes; then
2073    # Depending upon the size, compute the lo and hi bounds.
2074cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075/* end confdefs.h.  */
2076$4
2077int
2078main ()
2079{
2080static int test_array [1 - 2 * !(($2) >= 0)];
2081test_array [0] = 0;
2082return test_array [0];
2083
2084  ;
2085  return 0;
2086}
2087_ACEOF
2088if ac_fn_c_try_compile "$LINENO"; then :
2089  ac_lo=0 ac_mid=0
2090  while :; do
2091    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092/* end confdefs.h.  */
2093$4
2094int
2095main ()
2096{
2097static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2098test_array [0] = 0;
2099return test_array [0];
2100
2101  ;
2102  return 0;
2103}
2104_ACEOF
2105if ac_fn_c_try_compile "$LINENO"; then :
2106  ac_hi=$ac_mid; break
2107else
2108  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2109			if test $ac_lo -le $ac_mid; then
2110			  ac_lo= ac_hi=
2111			  break
2112			fi
2113			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2114fi
2115rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116  done
2117else
2118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119/* end confdefs.h.  */
2120$4
2121int
2122main ()
2123{
2124static int test_array [1 - 2 * !(($2) < 0)];
2125test_array [0] = 0;
2126return test_array [0];
2127
2128  ;
2129  return 0;
2130}
2131_ACEOF
2132if ac_fn_c_try_compile "$LINENO"; then :
2133  ac_hi=-1 ac_mid=-1
2134  while :; do
2135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136/* end confdefs.h.  */
2137$4
2138int
2139main ()
2140{
2141static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2142test_array [0] = 0;
2143return test_array [0];
2144
2145  ;
2146  return 0;
2147}
2148_ACEOF
2149if ac_fn_c_try_compile "$LINENO"; then :
2150  ac_lo=$ac_mid; break
2151else
2152  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2153			if test $ac_mid -le $ac_hi; then
2154			  ac_lo= ac_hi=
2155			  break
2156			fi
2157			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2158fi
2159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160  done
2161else
2162  ac_lo= ac_hi=
2163fi
2164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2165fi
2166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167# Binary search between lo and hi bounds.
2168while test "x$ac_lo" != "x$ac_hi"; do
2169  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171/* end confdefs.h.  */
2172$4
2173int
2174main ()
2175{
2176static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2177test_array [0] = 0;
2178return test_array [0];
2179
2180  ;
2181  return 0;
2182}
2183_ACEOF
2184if ac_fn_c_try_compile "$LINENO"; then :
2185  ac_hi=$ac_mid
2186else
2187  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2188fi
2189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190done
2191case $ac_lo in #((
2192?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2193'') ac_retval=1 ;;
2194esac
2195  else
2196    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197/* end confdefs.h.  */
2198$4
2199static long int longval () { return $2; }
2200static unsigned long int ulongval () { return $2; }
2201#include <stdio.h>
2202#include <stdlib.h>
2203int
2204main ()
2205{
2206
2207  FILE *f = fopen ("conftest.val", "w");
2208  if (! f)
2209    return 1;
2210  if (($2) < 0)
2211    {
2212      long int i = longval ();
2213      if (i != ($2))
2214	return 1;
2215      fprintf (f, "%ld", i);
2216    }
2217  else
2218    {
2219      unsigned long int i = ulongval ();
2220      if (i != ($2))
2221	return 1;
2222      fprintf (f, "%lu", i);
2223    }
2224  /* Do not output a trailing newline, as this causes \r\n confusion
2225     on some platforms.  */
2226  return ferror (f) || fclose (f) != 0;
2227
2228  ;
2229  return 0;
2230}
2231_ACEOF
2232if ac_fn_c_try_run "$LINENO"; then :
2233  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2234else
2235  ac_retval=1
2236fi
2237rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2238  conftest.$ac_objext conftest.beam conftest.$ac_ext
2239rm -f conftest.val
2240
2241  fi
2242  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243  as_fn_set_status $ac_retval
2244
2245} # ac_fn_c_compute_int
2246cat >config.log <<_ACEOF
2247This file contains any messages produced by compilers while
2248running configure, to aid debugging if configure makes a mistake.
2249
2250It was created by xfconf $as_me 4.16.0, which was
2251generated by GNU Autoconf 2.69.  Invocation command line was
2252
2253  $ $0 $@
2254
2255_ACEOF
2256exec 5>>config.log
2257{
2258cat <<_ASUNAME
2259## --------- ##
2260## Platform. ##
2261## --------- ##
2262
2263hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2264uname -m = `(uname -m) 2>/dev/null || echo unknown`
2265uname -r = `(uname -r) 2>/dev/null || echo unknown`
2266uname -s = `(uname -s) 2>/dev/null || echo unknown`
2267uname -v = `(uname -v) 2>/dev/null || echo unknown`
2268
2269/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2270/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2271
2272/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2273/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2274/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2275/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2276/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2277/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2278/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2279
2280_ASUNAME
2281
2282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283for as_dir in $PATH
2284do
2285  IFS=$as_save_IFS
2286  test -z "$as_dir" && as_dir=.
2287    $as_echo "PATH: $as_dir"
2288  done
2289IFS=$as_save_IFS
2290
2291} >&5
2292
2293cat >&5 <<_ACEOF
2294
2295
2296## ----------- ##
2297## Core tests. ##
2298## ----------- ##
2299
2300_ACEOF
2301
2302
2303# Keep a trace of the command line.
2304# Strip out --no-create and --no-recursion so they do not pile up.
2305# Strip out --silent because we don't want to record it for future runs.
2306# Also quote any args containing shell meta-characters.
2307# Make two passes to allow for proper duplicate-argument suppression.
2308ac_configure_args=
2309ac_configure_args0=
2310ac_configure_args1=
2311ac_must_keep_next=false
2312for ac_pass in 1 2
2313do
2314  for ac_arg
2315  do
2316    case $ac_arg in
2317    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2318    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2319    | -silent | --silent | --silen | --sile | --sil)
2320      continue ;;
2321    *\'*)
2322      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2323    esac
2324    case $ac_pass in
2325    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2326    2)
2327      as_fn_append ac_configure_args1 " '$ac_arg'"
2328      if test $ac_must_keep_next = true; then
2329	ac_must_keep_next=false # Got value, back to normal.
2330      else
2331	case $ac_arg in
2332	  *=* | --config-cache | -C | -disable-* | --disable-* \
2333	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2334	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2335	  | -with-* | --with-* | -without-* | --without-* | --x)
2336	    case "$ac_configure_args0 " in
2337	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2338	    esac
2339	    ;;
2340	  -* ) ac_must_keep_next=true ;;
2341	esac
2342      fi
2343      as_fn_append ac_configure_args " '$ac_arg'"
2344      ;;
2345    esac
2346  done
2347done
2348{ ac_configure_args0=; unset ac_configure_args0;}
2349{ ac_configure_args1=; unset ac_configure_args1;}
2350
2351# When interrupted or exit'd, cleanup temporary files, and complete
2352# config.log.  We remove comments because anyway the quotes in there
2353# would cause problems or look ugly.
2354# WARNING: Use '\'' to represent an apostrophe within the trap.
2355# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2356trap 'exit_status=$?
2357  # Save into config.log some information that might help in debugging.
2358  {
2359    echo
2360
2361    $as_echo "## ---------------- ##
2362## Cache variables. ##
2363## ---------------- ##"
2364    echo
2365    # The following way of writing the cache mishandles newlines in values,
2366(
2367  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2368    eval ac_val=\$$ac_var
2369    case $ac_val in #(
2370    *${as_nl}*)
2371      case $ac_var in #(
2372      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2373$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2374      esac
2375      case $ac_var in #(
2376      _ | IFS | as_nl) ;; #(
2377      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2378      *) { eval $ac_var=; unset $ac_var;} ;;
2379      esac ;;
2380    esac
2381  done
2382  (set) 2>&1 |
2383    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2384    *${as_nl}ac_space=\ *)
2385      sed -n \
2386	"s/'\''/'\''\\\\'\'''\''/g;
2387	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2388      ;; #(
2389    *)
2390      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2391      ;;
2392    esac |
2393    sort
2394)
2395    echo
2396
2397    $as_echo "## ----------------- ##
2398## Output variables. ##
2399## ----------------- ##"
2400    echo
2401    for ac_var in $ac_subst_vars
2402    do
2403      eval ac_val=\$$ac_var
2404      case $ac_val in
2405      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2406      esac
2407      $as_echo "$ac_var='\''$ac_val'\''"
2408    done | sort
2409    echo
2410
2411    if test -n "$ac_subst_files"; then
2412      $as_echo "## ------------------- ##
2413## File substitutions. ##
2414## ------------------- ##"
2415      echo
2416      for ac_var in $ac_subst_files
2417      do
2418	eval ac_val=\$$ac_var
2419	case $ac_val in
2420	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2421	esac
2422	$as_echo "$ac_var='\''$ac_val'\''"
2423      done | sort
2424      echo
2425    fi
2426
2427    if test -s confdefs.h; then
2428      $as_echo "## ----------- ##
2429## confdefs.h. ##
2430## ----------- ##"
2431      echo
2432      cat confdefs.h
2433      echo
2434    fi
2435    test "$ac_signal" != 0 &&
2436      $as_echo "$as_me: caught signal $ac_signal"
2437    $as_echo "$as_me: exit $exit_status"
2438  } >&5
2439  rm -f core *.core core.conftest.* &&
2440    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2441    exit $exit_status
2442' 0
2443for ac_signal in 1 2 13 15; do
2444  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2445done
2446ac_signal=0
2447
2448# confdefs.h avoids OS command line length limits that DEFS can exceed.
2449rm -f -r conftest* confdefs.h
2450
2451$as_echo "/* confdefs.h */" > confdefs.h
2452
2453# Predefined preprocessor variables.
2454
2455cat >>confdefs.h <<_ACEOF
2456#define PACKAGE_NAME "$PACKAGE_NAME"
2457_ACEOF
2458
2459cat >>confdefs.h <<_ACEOF
2460#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2461_ACEOF
2462
2463cat >>confdefs.h <<_ACEOF
2464#define PACKAGE_VERSION "$PACKAGE_VERSION"
2465_ACEOF
2466
2467cat >>confdefs.h <<_ACEOF
2468#define PACKAGE_STRING "$PACKAGE_STRING"
2469_ACEOF
2470
2471cat >>confdefs.h <<_ACEOF
2472#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2473_ACEOF
2474
2475cat >>confdefs.h <<_ACEOF
2476#define PACKAGE_URL "$PACKAGE_URL"
2477_ACEOF
2478
2479
2480# Let the site file select an alternate cache file if it wants to.
2481# Prefer an explicitly selected file to automatically selected ones.
2482ac_site_file1=NONE
2483ac_site_file2=NONE
2484if test -n "$CONFIG_SITE"; then
2485  # We do not want a PATH search for config.site.
2486  case $CONFIG_SITE in #((
2487    -*)  ac_site_file1=./$CONFIG_SITE;;
2488    */*) ac_site_file1=$CONFIG_SITE;;
2489    *)   ac_site_file1=./$CONFIG_SITE;;
2490  esac
2491elif test "x$prefix" != xNONE; then
2492  ac_site_file1=$prefix/share/config.site
2493  ac_site_file2=$prefix/etc/config.site
2494else
2495  ac_site_file1=$ac_default_prefix/share/config.site
2496  ac_site_file2=$ac_default_prefix/etc/config.site
2497fi
2498for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2499do
2500  test "x$ac_site_file" = xNONE && continue
2501  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2502    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2503$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2504    sed 's/^/| /' "$ac_site_file" >&5
2505    . "$ac_site_file" \
2506      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2508as_fn_error $? "failed to load site script $ac_site_file
2509See \`config.log' for more details" "$LINENO" 5; }
2510  fi
2511done
2512
2513if test -r "$cache_file"; then
2514  # Some versions of bash will fail to source /dev/null (special files
2515  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2516  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2517    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2518$as_echo "$as_me: loading cache $cache_file" >&6;}
2519    case $cache_file in
2520      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2521      *)                      . "./$cache_file";;
2522    esac
2523  fi
2524else
2525  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2526$as_echo "$as_me: creating cache $cache_file" >&6;}
2527  >$cache_file
2528fi
2529
2530# Check that the precious variables saved in the cache have kept the same
2531# value.
2532ac_cache_corrupted=false
2533for ac_var in $ac_precious_vars; do
2534  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2535  eval ac_new_set=\$ac_env_${ac_var}_set
2536  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2537  eval ac_new_val=\$ac_env_${ac_var}_value
2538  case $ac_old_set,$ac_new_set in
2539    set,)
2540      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2541$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2542      ac_cache_corrupted=: ;;
2543    ,set)
2544      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2545$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2546      ac_cache_corrupted=: ;;
2547    ,);;
2548    *)
2549      if test "x$ac_old_val" != "x$ac_new_val"; then
2550	# differences in whitespace do not lead to failure.
2551	ac_old_val_w=`echo x $ac_old_val`
2552	ac_new_val_w=`echo x $ac_new_val`
2553	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2554	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2555$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2556	  ac_cache_corrupted=:
2557	else
2558	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2559$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2560	  eval $ac_var=\$ac_old_val
2561	fi
2562	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2563$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2564	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2565$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2566      fi;;
2567  esac
2568  # Pass precious variables to config.status.
2569  if test "$ac_new_set" = set; then
2570    case $ac_new_val in
2571    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2572    *) ac_arg=$ac_var=$ac_new_val ;;
2573    esac
2574    case " $ac_configure_args " in
2575      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2576      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2577    esac
2578  fi
2579done
2580if $ac_cache_corrupted; then
2581  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2583  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2584$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2585  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2586fi
2587## -------------------- ##
2588## Main body of script. ##
2589## -------------------- ##
2590
2591ac_ext=c
2592ac_cpp='$CPP $CPPFLAGS'
2593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595ac_compiler_gnu=$ac_cv_c_compiler_gnu
2596
2597
2598
2599
2600
2601am__api_version='1.16'
2602
2603ac_aux_dir=
2604for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2605  if test -f "$ac_dir/install-sh"; then
2606    ac_aux_dir=$ac_dir
2607    ac_install_sh="$ac_aux_dir/install-sh -c"
2608    break
2609  elif test -f "$ac_dir/install.sh"; then
2610    ac_aux_dir=$ac_dir
2611    ac_install_sh="$ac_aux_dir/install.sh -c"
2612    break
2613  elif test -f "$ac_dir/shtool"; then
2614    ac_aux_dir=$ac_dir
2615    ac_install_sh="$ac_aux_dir/shtool install -c"
2616    break
2617  fi
2618done
2619if test -z "$ac_aux_dir"; then
2620  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2621fi
2622
2623# These three variables are undocumented and unsupported,
2624# and are intended to be withdrawn in a future Autoconf release.
2625# They can cause serious problems if a builder's source tree is in a directory
2626# whose full name contains unusual characters.
2627ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2628ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2629ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2630
2631
2632# Find a good install program.  We prefer a C program (faster),
2633# so one script is as good as another.  But avoid the broken or
2634# incompatible versions:
2635# SysV /etc/install, /usr/sbin/install
2636# SunOS /usr/etc/install
2637# IRIX /sbin/install
2638# AIX /bin/install
2639# AmigaOS /C/install, which installs bootblocks on floppy discs
2640# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2641# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2642# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2643# OS/2's system install, which has a completely different semantic
2644# ./install, which can be erroneously created by make from ./install.sh.
2645# Reject install programs that cannot install multiple files.
2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2647$as_echo_n "checking for a BSD-compatible install... " >&6; }
2648if test -z "$INSTALL"; then
2649if ${ac_cv_path_install+:} false; then :
2650  $as_echo_n "(cached) " >&6
2651else
2652  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653for as_dir in $PATH
2654do
2655  IFS=$as_save_IFS
2656  test -z "$as_dir" && as_dir=.
2657    # Account for people who put trailing slashes in PATH elements.
2658case $as_dir/ in #((
2659  ./ | .// | /[cC]/* | \
2660  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2661  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2662  /usr/ucb/* ) ;;
2663  *)
2664    # OSF1 and SCO ODT 3.0 have their own names for install.
2665    # Don't use installbsd from OSF since it installs stuff as root
2666    # by default.
2667    for ac_prog in ginstall scoinst install; do
2668      for ac_exec_ext in '' $ac_executable_extensions; do
2669	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2670	  if test $ac_prog = install &&
2671	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2672	    # AIX install.  It has an incompatible calling convention.
2673	    :
2674	  elif test $ac_prog = install &&
2675	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2676	    # program-specific install script used by HP pwplus--don't use.
2677	    :
2678	  else
2679	    rm -rf conftest.one conftest.two conftest.dir
2680	    echo one > conftest.one
2681	    echo two > conftest.two
2682	    mkdir conftest.dir
2683	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2684	      test -s conftest.one && test -s conftest.two &&
2685	      test -s conftest.dir/conftest.one &&
2686	      test -s conftest.dir/conftest.two
2687	    then
2688	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2689	      break 3
2690	    fi
2691	  fi
2692	fi
2693      done
2694    done
2695    ;;
2696esac
2697
2698  done
2699IFS=$as_save_IFS
2700
2701rm -rf conftest.one conftest.two conftest.dir
2702
2703fi
2704  if test "${ac_cv_path_install+set}" = set; then
2705    INSTALL=$ac_cv_path_install
2706  else
2707    # As a last resort, use the slow shell script.  Don't cache a
2708    # value for INSTALL within a source directory, because that will
2709    # break other packages using the cache if that directory is
2710    # removed, or if the value is a relative name.
2711    INSTALL=$ac_install_sh
2712  fi
2713fi
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2715$as_echo "$INSTALL" >&6; }
2716
2717# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2718# It thinks the first close brace ends the variable substitution.
2719test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2720
2721test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2722
2723test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2724
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2726$as_echo_n "checking whether build environment is sane... " >&6; }
2727# Reject unsafe characters in $srcdir or the absolute working directory
2728# name.  Accept space and tab only in the latter.
2729am_lf='
2730'
2731case `pwd` in
2732  *[\\\"\#\$\&\'\`$am_lf]*)
2733    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2734esac
2735case $srcdir in
2736  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2737    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2738esac
2739
2740# Do 'set' in a subshell so we don't clobber the current shell's
2741# arguments.  Must try -L first in case configure is actually a
2742# symlink; some systems play weird games with the mod time of symlinks
2743# (eg FreeBSD returns the mod time of the symlink's containing
2744# directory).
2745if (
2746   am_has_slept=no
2747   for am_try in 1 2; do
2748     echo "timestamp, slept: $am_has_slept" > conftest.file
2749     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2750     if test "$*" = "X"; then
2751	# -L didn't work.
2752	set X `ls -t "$srcdir/configure" conftest.file`
2753     fi
2754     if test "$*" != "X $srcdir/configure conftest.file" \
2755	&& test "$*" != "X conftest.file $srcdir/configure"; then
2756
2757	# If neither matched, then we have a broken ls.  This can happen
2758	# if, for instance, CONFIG_SHELL is bash and it inherits a
2759	# broken ls alias from the environment.  This has actually
2760	# happened.  Such a system could not be considered "sane".
2761	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2762  alias in your environment" "$LINENO" 5
2763     fi
2764     if test "$2" = conftest.file || test $am_try -eq 2; then
2765       break
2766     fi
2767     # Just in case.
2768     sleep 1
2769     am_has_slept=yes
2770   done
2771   test "$2" = conftest.file
2772   )
2773then
2774   # Ok.
2775   :
2776else
2777   as_fn_error $? "newly created file is older than distributed files!
2778Check your system clock" "$LINENO" 5
2779fi
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781$as_echo "yes" >&6; }
2782# If we didn't sleep, we still need to ensure time stamps of config.status and
2783# generated files are strictly newer.
2784am_sleep_pid=
2785if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2786  ( sleep 1 ) &
2787  am_sleep_pid=$!
2788fi
2789
2790rm -f conftest.file
2791
2792test "$program_prefix" != NONE &&
2793  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2794# Use a double $ so make ignores it.
2795test "$program_suffix" != NONE &&
2796  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2797# Double any \ or $.
2798# By default was `s,x,x', remove it if useless.
2799ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2800program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2801
2802# Expand $ac_aux_dir to an absolute path.
2803am_aux_dir=`cd "$ac_aux_dir" && pwd`
2804
2805if test x"${MISSING+set}" != xset; then
2806  case $am_aux_dir in
2807  *\ * | *\	*)
2808    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2809  *)
2810    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2811  esac
2812fi
2813# Use eval to expand $SHELL
2814if eval "$MISSING --is-lightweight"; then
2815  am_missing_run="$MISSING "
2816else
2817  am_missing_run=
2818  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2819$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2820fi
2821
2822if test x"${install_sh+set}" != xset; then
2823  case $am_aux_dir in
2824  *\ * | *\	*)
2825    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2826  *)
2827    install_sh="\${SHELL} $am_aux_dir/install-sh"
2828  esac
2829fi
2830
2831# Installed binaries are usually stripped using 'strip' when the user
2832# run "make install-strip".  However 'strip' might not be the right
2833# tool to use in cross-compilation environments, therefore Automake
2834# will honor the 'STRIP' environment variable to overrule this program.
2835if test "$cross_compiling" != no; then
2836  if test -n "$ac_tool_prefix"; then
2837  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2838set dummy ${ac_tool_prefix}strip; ac_word=$2
2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840$as_echo_n "checking for $ac_word... " >&6; }
2841if ${ac_cv_prog_STRIP+:} false; then :
2842  $as_echo_n "(cached) " >&6
2843else
2844  if test -n "$STRIP"; then
2845  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2846else
2847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848for as_dir in $PATH
2849do
2850  IFS=$as_save_IFS
2851  test -z "$as_dir" && as_dir=.
2852    for ac_exec_ext in '' $ac_executable_extensions; do
2853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2856    break 2
2857  fi
2858done
2859  done
2860IFS=$as_save_IFS
2861
2862fi
2863fi
2864STRIP=$ac_cv_prog_STRIP
2865if test -n "$STRIP"; then
2866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2867$as_echo "$STRIP" >&6; }
2868else
2869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870$as_echo "no" >&6; }
2871fi
2872
2873
2874fi
2875if test -z "$ac_cv_prog_STRIP"; then
2876  ac_ct_STRIP=$STRIP
2877  # Extract the first word of "strip", so it can be a program name with args.
2878set dummy strip; ac_word=$2
2879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880$as_echo_n "checking for $ac_word... " >&6; }
2881if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2882  $as_echo_n "(cached) " >&6
2883else
2884  if test -n "$ac_ct_STRIP"; then
2885  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2886else
2887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888for as_dir in $PATH
2889do
2890  IFS=$as_save_IFS
2891  test -z "$as_dir" && as_dir=.
2892    for ac_exec_ext in '' $ac_executable_extensions; do
2893  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2894    ac_cv_prog_ac_ct_STRIP="strip"
2895    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896    break 2
2897  fi
2898done
2899  done
2900IFS=$as_save_IFS
2901
2902fi
2903fi
2904ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2905if test -n "$ac_ct_STRIP"; then
2906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2907$as_echo "$ac_ct_STRIP" >&6; }
2908else
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910$as_echo "no" >&6; }
2911fi
2912
2913  if test "x$ac_ct_STRIP" = x; then
2914    STRIP=":"
2915  else
2916    case $cross_compiling:$ac_tool_warned in
2917yes:)
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2919$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2920ac_tool_warned=yes ;;
2921esac
2922    STRIP=$ac_ct_STRIP
2923  fi
2924else
2925  STRIP="$ac_cv_prog_STRIP"
2926fi
2927
2928fi
2929INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2930
2931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2932$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2933if test -z "$MKDIR_P"; then
2934  if ${ac_cv_path_mkdir+:} false; then :
2935  $as_echo_n "(cached) " >&6
2936else
2937  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2939do
2940  IFS=$as_save_IFS
2941  test -z "$as_dir" && as_dir=.
2942    for ac_prog in mkdir gmkdir; do
2943	 for ac_exec_ext in '' $ac_executable_extensions; do
2944	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2945	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2946	     'mkdir (GNU coreutils) '* | \
2947	     'mkdir (coreutils) '* | \
2948	     'mkdir (fileutils) '4.1*)
2949	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2950	       break 3;;
2951	   esac
2952	 done
2953       done
2954  done
2955IFS=$as_save_IFS
2956
2957fi
2958
2959  test -d ./--version && rmdir ./--version
2960  if test "${ac_cv_path_mkdir+set}" = set; then
2961    MKDIR_P="$ac_cv_path_mkdir -p"
2962  else
2963    # As a last resort, use the slow shell script.  Don't cache a
2964    # value for MKDIR_P within a source directory, because that will
2965    # break other packages using the cache if that directory is
2966    # removed, or if the value is a relative name.
2967    MKDIR_P="$ac_install_sh -d"
2968  fi
2969fi
2970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2971$as_echo "$MKDIR_P" >&6; }
2972
2973for ac_prog in gawk mawk nawk awk
2974do
2975  # Extract the first word of "$ac_prog", so it can be a program name with args.
2976set dummy $ac_prog; ac_word=$2
2977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978$as_echo_n "checking for $ac_word... " >&6; }
2979if ${ac_cv_prog_AWK+:} false; then :
2980  $as_echo_n "(cached) " >&6
2981else
2982  if test -n "$AWK"; then
2983  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2984else
2985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986for as_dir in $PATH
2987do
2988  IFS=$as_save_IFS
2989  test -z "$as_dir" && as_dir=.
2990    for ac_exec_ext in '' $ac_executable_extensions; do
2991  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992    ac_cv_prog_AWK="$ac_prog"
2993    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994    break 2
2995  fi
2996done
2997  done
2998IFS=$as_save_IFS
2999
3000fi
3001fi
3002AWK=$ac_cv_prog_AWK
3003if test -n "$AWK"; then
3004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3005$as_echo "$AWK" >&6; }
3006else
3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008$as_echo "no" >&6; }
3009fi
3010
3011
3012  test -n "$AWK" && break
3013done
3014
3015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3016$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3017set x ${MAKE-make}
3018ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3019if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3020  $as_echo_n "(cached) " >&6
3021else
3022  cat >conftest.make <<\_ACEOF
3023SHELL = /bin/sh
3024all:
3025	@echo '@@@%%%=$(MAKE)=@@@%%%'
3026_ACEOF
3027# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3028case `${MAKE-make} -f conftest.make 2>/dev/null` in
3029  *@@@%%%=?*=@@@%%%*)
3030    eval ac_cv_prog_make_${ac_make}_set=yes;;
3031  *)
3032    eval ac_cv_prog_make_${ac_make}_set=no;;
3033esac
3034rm -f conftest.make
3035fi
3036if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3038$as_echo "yes" >&6; }
3039  SET_MAKE=
3040else
3041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042$as_echo "no" >&6; }
3043  SET_MAKE="MAKE=${MAKE-make}"
3044fi
3045
3046rm -rf .tst 2>/dev/null
3047mkdir .tst 2>/dev/null
3048if test -d .tst; then
3049  am__leading_dot=.
3050else
3051  am__leading_dot=_
3052fi
3053rmdir .tst 2>/dev/null
3054
3055# Check whether --enable-silent-rules was given.
3056if test "${enable_silent_rules+set}" = set; then :
3057  enableval=$enable_silent_rules;
3058fi
3059
3060case $enable_silent_rules in # (((
3061  yes) AM_DEFAULT_VERBOSITY=0;;
3062   no) AM_DEFAULT_VERBOSITY=1;;
3063    *) AM_DEFAULT_VERBOSITY=1;;
3064esac
3065am_make=${MAKE-make}
3066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3067$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3068if ${am_cv_make_support_nested_variables+:} false; then :
3069  $as_echo_n "(cached) " >&6
3070else
3071  if $as_echo 'TRUE=$(BAR$(V))
3072BAR0=false
3073BAR1=true
3074V=1
3075am__doit:
3076	@$(TRUE)
3077.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3078  am_cv_make_support_nested_variables=yes
3079else
3080  am_cv_make_support_nested_variables=no
3081fi
3082fi
3083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3084$as_echo "$am_cv_make_support_nested_variables" >&6; }
3085if test $am_cv_make_support_nested_variables = yes; then
3086    AM_V='$(V)'
3087  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3088else
3089  AM_V=$AM_DEFAULT_VERBOSITY
3090  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3091fi
3092AM_BACKSLASH='\'
3093
3094if test "`cd $srcdir && pwd`" != "`pwd`"; then
3095  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3096  # is not polluted with repeated "-I."
3097  am__isrc=' -I$(srcdir)'
3098  # test to see if srcdir already configured
3099  if test -f $srcdir/config.status; then
3100    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3101  fi
3102fi
3103
3104# test whether we have cygpath
3105if test -z "$CYGPATH_W"; then
3106  if (cygpath --version) >/dev/null 2>/dev/null; then
3107    CYGPATH_W='cygpath -w'
3108  else
3109    CYGPATH_W=echo
3110  fi
3111fi
3112
3113
3114# Define the identity of the package.
3115 PACKAGE='xfconf'
3116 VERSION='4.16.0'
3117
3118
3119cat >>confdefs.h <<_ACEOF
3120#define PACKAGE "$PACKAGE"
3121_ACEOF
3122
3123
3124cat >>confdefs.h <<_ACEOF
3125#define VERSION "$VERSION"
3126_ACEOF
3127
3128# Some tools Automake needs.
3129
3130ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3131
3132
3133AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3134
3135
3136AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3137
3138
3139AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3140
3141
3142MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3143
3144# For better backward compatibility.  To be removed once Automake 1.9.x
3145# dies out for good.  For more background, see:
3146# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3147# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3148mkdir_p='$(MKDIR_P)'
3149
3150# We need awk for the "check" target (and possibly the TAP driver).  The
3151# system "awk" is bad on some platforms.
3152# Always define AMTAR for backward compatibility.  Yes, it's still used
3153# in the wild :-(  We should find a proper way to deprecate it ...
3154AMTAR='$${TAR-tar}'
3155
3156
3157# We'll loop over all known methods to create a tar archive until one works.
3158_am_tools='gnutar plaintar pax cpio none'
3159
3160# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3161      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3162      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3163      # and bug#13588).
3164      am_max_uid=2097151 # 2^21 - 1
3165      am_max_gid=$am_max_uid
3166      # The $UID and $GID variables are not portable, so we need to resort
3167      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3168      # below are definitely unexpected, so allow the users to see them
3169      # (that is, avoid stderr redirection).
3170      am_uid=`id -u || echo unknown`
3171      am_gid=`id -g || echo unknown`
3172      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3173$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3174      if test $am_uid -le $am_max_uid; then
3175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176$as_echo "yes" >&6; }
3177      else
3178         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179$as_echo "no" >&6; }
3180         _am_tools=none
3181      fi
3182      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3183$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3184      if test $am_gid -le $am_max_gid; then
3185         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3186$as_echo "yes" >&6; }
3187      else
3188        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189$as_echo "no" >&6; }
3190        _am_tools=none
3191      fi
3192
3193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3194$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3195
3196  # Go ahead even if we have the value already cached.  We do so because we
3197  # need to set the values for the 'am__tar' and 'am__untar' variables.
3198  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3199
3200  for _am_tool in $_am_tools; do
3201    case $_am_tool in
3202    gnutar)
3203      for _am_tar in tar gnutar gtar; do
3204        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3205   ($_am_tar --version) >&5 2>&5
3206   ac_status=$?
3207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208   (exit $ac_status); } && break
3209      done
3210      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3211      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3212      am__untar="$_am_tar -xf -"
3213      ;;
3214    plaintar)
3215      # Must skip GNU tar: if it does not support --format= it doesn't create
3216      # ustar tarball either.
3217      (tar --version) >/dev/null 2>&1 && continue
3218      am__tar='tar chf - "$$tardir"'
3219      am__tar_='tar chf - "$tardir"'
3220      am__untar='tar xf -'
3221      ;;
3222    pax)
3223      am__tar='pax -L -x ustar -w "$$tardir"'
3224      am__tar_='pax -L -x ustar -w "$tardir"'
3225      am__untar='pax -r'
3226      ;;
3227    cpio)
3228      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3229      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3230      am__untar='cpio -i -H ustar -d'
3231      ;;
3232    none)
3233      am__tar=false
3234      am__tar_=false
3235      am__untar=false
3236      ;;
3237    esac
3238
3239    # If the value was cached, stop now.  We just wanted to have am__tar
3240    # and am__untar set.
3241    test -n "${am_cv_prog_tar_ustar}" && break
3242
3243    # tar/untar a dummy directory, and stop if the command works.
3244    rm -rf conftest.dir
3245    mkdir conftest.dir
3246    echo GrepMe > conftest.dir/file
3247    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3248   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3249   ac_status=$?
3250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251   (exit $ac_status); }
3252    rm -rf conftest.dir
3253    if test -s conftest.tar; then
3254      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3255   ($am__untar <conftest.tar) >&5 2>&5
3256   ac_status=$?
3257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258   (exit $ac_status); }
3259      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3260   (cat conftest.dir/file) >&5 2>&5
3261   ac_status=$?
3262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263   (exit $ac_status); }
3264      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3265    fi
3266  done
3267  rm -rf conftest.dir
3268
3269  if ${am_cv_prog_tar_ustar+:} false; then :
3270  $as_echo_n "(cached) " >&6
3271else
3272  am_cv_prog_tar_ustar=$_am_tool
3273fi
3274
3275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3276$as_echo "$am_cv_prog_tar_ustar" >&6; }
3277
3278
3279
3280
3281
3282
3283# POSIX will say in a future version that running "rm -f" with no argument
3284# is OK; and we want to be able to make that assumption in our Makefile
3285# recipes.  So use an aggressive probe to check that the usage we want is
3286# actually supported "in the wild" to an acceptable degree.
3287# See automake bug#10828.
3288# To make any issue more visible, cause the running configure to be aborted
3289# by default if the 'rm' program in use doesn't match our expectations; the
3290# user can still override this though.
3291if rm -f && rm -fr && rm -rf; then : OK; else
3292  cat >&2 <<'END'
3293Oops!
3294
3295Your 'rm' program seems unable to run without file operands specified
3296on the command line, even when the '-f' option is present.  This is contrary
3297to the behaviour of most rm programs out there, and not conforming with
3298the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3299
3300Please tell bug-automake@gnu.org about your system, including the value
3301of your $PATH and any error possibly output before this message.  This
3302can help us improve future automake versions.
3303
3304END
3305  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3306    echo 'Configuration will proceed anyway, since you have set the' >&2
3307    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3308    echo >&2
3309  else
3310    cat >&2 <<'END'
3311Aborting the configuration process, to ensure you take notice of the issue.
3312
3313You can download and install GNU coreutils to get an 'rm' implementation
3314that behaves properly: <https://www.gnu.org/software/coreutils/>.
3315
3316If you want to complete the configuration process using your problematic
3317'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3318to "yes", and re-run configure.
3319
3320END
3321    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3322  fi
3323fi
3324
3325ac_config_headers="$ac_config_headers config.h"
3326
3327
3328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3329$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3330    # Check whether --enable-maintainer-mode was given.
3331if test "${enable_maintainer_mode+set}" = set; then :
3332  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3333else
3334  USE_MAINTAINER_MODE=no
3335fi
3336
3337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3338$as_echo "$USE_MAINTAINER_MODE" >&6; }
3339   if test $USE_MAINTAINER_MODE = yes; then
3340  MAINTAINER_MODE_TRUE=
3341  MAINTAINER_MODE_FALSE='#'
3342else
3343  MAINTAINER_MODE_TRUE='#'
3344  MAINTAINER_MODE_FALSE=
3345fi
3346
3347  MAINT=$MAINTAINER_MODE_TRUE
3348
3349
3350# Check whether --enable-silent-rules was given.
3351if test "${enable_silent_rules+set}" = set; then :
3352  enableval=$enable_silent_rules;
3353fi
3354
3355case $enable_silent_rules in # (((
3356  yes) AM_DEFAULT_VERBOSITY=0;;
3357   no) AM_DEFAULT_VERBOSITY=1;;
3358    *) AM_DEFAULT_VERBOSITY=0;;
3359esac
3360am_make=${MAKE-make}
3361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3362$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3363if ${am_cv_make_support_nested_variables+:} false; then :
3364  $as_echo_n "(cached) " >&6
3365else
3366  if $as_echo 'TRUE=$(BAR$(V))
3367BAR0=false
3368BAR1=true
3369V=1
3370am__doit:
3371	@$(TRUE)
3372.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3373  am_cv_make_support_nested_variables=yes
3374else
3375  am_cv_make_support_nested_variables=no
3376fi
3377fi
3378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3379$as_echo "$am_cv_make_support_nested_variables" >&6; }
3380if test $am_cv_make_support_nested_variables = yes; then
3381    AM_V='$(V)'
3382  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3383else
3384  AM_V=$AM_DEFAULT_VERBOSITY
3385  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3386fi
3387AM_BACKSLASH='\'
3388
3389
3390
3391# Check whether --with-helper-path-prefix was given.
3392if test "${with_helper_path_prefix+set}" = set; then :
3393  withval=$with_helper_path_prefix; HELPER_PATH_PREFIX="$withval"
3394else
3395  HELPER_PATH_PREFIX="$libdir"
3396fi
3397
3398
3399
3400DEPDIR="${am__leading_dot}deps"
3401
3402ac_config_commands="$ac_config_commands depfiles"
3403
3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3405$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3406cat > confinc.mk << 'END'
3407am__doit:
3408	@echo this is the am__doit target >confinc.out
3409.PHONY: am__doit
3410END
3411am__include="#"
3412am__quote=
3413# BSD make does it like this.
3414echo '.include "confinc.mk" # ignored' > confmf.BSD
3415# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3416echo 'include confinc.mk # ignored' > confmf.GNU
3417_am_result=no
3418for s in GNU BSD; do
3419  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3420   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3421   ac_status=$?
3422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423   (exit $ac_status); }
3424  case $?:`cat confinc.out 2>/dev/null` in #(
3425  '0:this is the am__doit target') :
3426    case $s in #(
3427  BSD) :
3428    am__include='.include' am__quote='"' ;; #(
3429  *) :
3430    am__include='include' am__quote='' ;;
3431esac ;; #(
3432  *) :
3433     ;;
3434esac
3435  if test "$am__include" != "#"; then
3436    _am_result="yes ($s style)"
3437    break
3438  fi
3439done
3440rm -f confinc.* confmf.*
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3442$as_echo "${_am_result}" >&6; }
3443
3444# Check whether --enable-dependency-tracking was given.
3445if test "${enable_dependency_tracking+set}" = set; then :
3446  enableval=$enable_dependency_tracking;
3447fi
3448
3449if test "x$enable_dependency_tracking" != xno; then
3450  am_depcomp="$ac_aux_dir/depcomp"
3451  AMDEPBACKSLASH='\'
3452  am__nodep='_no'
3453fi
3454 if test "x$enable_dependency_tracking" != xno; then
3455  AMDEP_TRUE=
3456  AMDEP_FALSE='#'
3457else
3458  AMDEP_TRUE='#'
3459  AMDEP_FALSE=
3460fi
3461
3462
3463ac_ext=c
3464ac_cpp='$CPP $CPPFLAGS'
3465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468if test -n "$ac_tool_prefix"; then
3469  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3470set dummy ${ac_tool_prefix}gcc; ac_word=$2
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3472$as_echo_n "checking for $ac_word... " >&6; }
3473if ${ac_cv_prog_CC+:} false; then :
3474  $as_echo_n "(cached) " >&6
3475else
3476  if test -n "$CC"; then
3477  ac_cv_prog_CC="$CC" # Let the user override the test.
3478else
3479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480for as_dir in $PATH
3481do
3482  IFS=$as_save_IFS
3483  test -z "$as_dir" && as_dir=.
3484    for ac_exec_ext in '' $ac_executable_extensions; do
3485  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3486    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3487    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488    break 2
3489  fi
3490done
3491  done
3492IFS=$as_save_IFS
3493
3494fi
3495fi
3496CC=$ac_cv_prog_CC
3497if test -n "$CC"; then
3498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3499$as_echo "$CC" >&6; }
3500else
3501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502$as_echo "no" >&6; }
3503fi
3504
3505
3506fi
3507if test -z "$ac_cv_prog_CC"; then
3508  ac_ct_CC=$CC
3509  # Extract the first word of "gcc", so it can be a program name with args.
3510set dummy gcc; ac_word=$2
3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512$as_echo_n "checking for $ac_word... " >&6; }
3513if ${ac_cv_prog_ac_ct_CC+:} false; then :
3514  $as_echo_n "(cached) " >&6
3515else
3516  if test -n "$ac_ct_CC"; then
3517  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3518else
3519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520for as_dir in $PATH
3521do
3522  IFS=$as_save_IFS
3523  test -z "$as_dir" && as_dir=.
3524    for ac_exec_ext in '' $ac_executable_extensions; do
3525  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3526    ac_cv_prog_ac_ct_CC="gcc"
3527    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3528    break 2
3529  fi
3530done
3531  done
3532IFS=$as_save_IFS
3533
3534fi
3535fi
3536ac_ct_CC=$ac_cv_prog_ac_ct_CC
3537if test -n "$ac_ct_CC"; then
3538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3539$as_echo "$ac_ct_CC" >&6; }
3540else
3541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542$as_echo "no" >&6; }
3543fi
3544
3545  if test "x$ac_ct_CC" = x; then
3546    CC=""
3547  else
3548    case $cross_compiling:$ac_tool_warned in
3549yes:)
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3551$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3552ac_tool_warned=yes ;;
3553esac
3554    CC=$ac_ct_CC
3555  fi
3556else
3557  CC="$ac_cv_prog_CC"
3558fi
3559
3560if test -z "$CC"; then
3561          if test -n "$ac_tool_prefix"; then
3562    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3563set dummy ${ac_tool_prefix}cc; ac_word=$2
3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565$as_echo_n "checking for $ac_word... " >&6; }
3566if ${ac_cv_prog_CC+:} false; then :
3567  $as_echo_n "(cached) " >&6
3568else
3569  if test -n "$CC"; then
3570  ac_cv_prog_CC="$CC" # Let the user override the test.
3571else
3572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573for as_dir in $PATH
3574do
3575  IFS=$as_save_IFS
3576  test -z "$as_dir" && as_dir=.
3577    for ac_exec_ext in '' $ac_executable_extensions; do
3578  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579    ac_cv_prog_CC="${ac_tool_prefix}cc"
3580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581    break 2
3582  fi
3583done
3584  done
3585IFS=$as_save_IFS
3586
3587fi
3588fi
3589CC=$ac_cv_prog_CC
3590if test -n "$CC"; then
3591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3592$as_echo "$CC" >&6; }
3593else
3594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595$as_echo "no" >&6; }
3596fi
3597
3598
3599  fi
3600fi
3601if test -z "$CC"; then
3602  # Extract the first word of "cc", so it can be a program name with args.
3603set dummy cc; ac_word=$2
3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605$as_echo_n "checking for $ac_word... " >&6; }
3606if ${ac_cv_prog_CC+:} false; then :
3607  $as_echo_n "(cached) " >&6
3608else
3609  if test -n "$CC"; then
3610  ac_cv_prog_CC="$CC" # Let the user override the test.
3611else
3612  ac_prog_rejected=no
3613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614for as_dir in $PATH
3615do
3616  IFS=$as_save_IFS
3617  test -z "$as_dir" && as_dir=.
3618    for ac_exec_ext in '' $ac_executable_extensions; do
3619  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3621       ac_prog_rejected=yes
3622       continue
3623     fi
3624    ac_cv_prog_CC="cc"
3625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626    break 2
3627  fi
3628done
3629  done
3630IFS=$as_save_IFS
3631
3632if test $ac_prog_rejected = yes; then
3633  # We found a bogon in the path, so make sure we never use it.
3634  set dummy $ac_cv_prog_CC
3635  shift
3636  if test $# != 0; then
3637    # We chose a different compiler from the bogus one.
3638    # However, it has the same basename, so the bogon will be chosen
3639    # first if we set CC to just the basename; use the full file name.
3640    shift
3641    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3642  fi
3643fi
3644fi
3645fi
3646CC=$ac_cv_prog_CC
3647if test -n "$CC"; then
3648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3649$as_echo "$CC" >&6; }
3650else
3651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652$as_echo "no" >&6; }
3653fi
3654
3655
3656fi
3657if test -z "$CC"; then
3658  if test -n "$ac_tool_prefix"; then
3659  for ac_prog in cl.exe
3660  do
3661    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3662set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664$as_echo_n "checking for $ac_word... " >&6; }
3665if ${ac_cv_prog_CC+:} false; then :
3666  $as_echo_n "(cached) " >&6
3667else
3668  if test -n "$CC"; then
3669  ac_cv_prog_CC="$CC" # Let the user override the test.
3670else
3671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672for as_dir in $PATH
3673do
3674  IFS=$as_save_IFS
3675  test -z "$as_dir" && as_dir=.
3676    for ac_exec_ext in '' $ac_executable_extensions; do
3677  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3678    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680    break 2
3681  fi
3682done
3683  done
3684IFS=$as_save_IFS
3685
3686fi
3687fi
3688CC=$ac_cv_prog_CC
3689if test -n "$CC"; then
3690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3691$as_echo "$CC" >&6; }
3692else
3693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694$as_echo "no" >&6; }
3695fi
3696
3697
3698    test -n "$CC" && break
3699  done
3700fi
3701if test -z "$CC"; then
3702  ac_ct_CC=$CC
3703  for ac_prog in cl.exe
3704do
3705  # Extract the first word of "$ac_prog", so it can be a program name with args.
3706set dummy $ac_prog; ac_word=$2
3707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708$as_echo_n "checking for $ac_word... " >&6; }
3709if ${ac_cv_prog_ac_ct_CC+:} false; then :
3710  $as_echo_n "(cached) " >&6
3711else
3712  if test -n "$ac_ct_CC"; then
3713  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3714else
3715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716for as_dir in $PATH
3717do
3718  IFS=$as_save_IFS
3719  test -z "$as_dir" && as_dir=.
3720    for ac_exec_ext in '' $ac_executable_extensions; do
3721  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722    ac_cv_prog_ac_ct_CC="$ac_prog"
3723    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724    break 2
3725  fi
3726done
3727  done
3728IFS=$as_save_IFS
3729
3730fi
3731fi
3732ac_ct_CC=$ac_cv_prog_ac_ct_CC
3733if test -n "$ac_ct_CC"; then
3734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3735$as_echo "$ac_ct_CC" >&6; }
3736else
3737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738$as_echo "no" >&6; }
3739fi
3740
3741
3742  test -n "$ac_ct_CC" && break
3743done
3744
3745  if test "x$ac_ct_CC" = x; then
3746    CC=""
3747  else
3748    case $cross_compiling:$ac_tool_warned in
3749yes:)
3750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3752ac_tool_warned=yes ;;
3753esac
3754    CC=$ac_ct_CC
3755  fi
3756fi
3757
3758fi
3759
3760
3761test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3762$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3763as_fn_error $? "no acceptable C compiler found in \$PATH
3764See \`config.log' for more details" "$LINENO" 5; }
3765
3766# Provide some information about the compiler.
3767$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3768set X $ac_compile
3769ac_compiler=$2
3770for ac_option in --version -v -V -qversion; do
3771  { { ac_try="$ac_compiler $ac_option >&5"
3772case "(($ac_try" in
3773  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774  *) ac_try_echo=$ac_try;;
3775esac
3776eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3777$as_echo "$ac_try_echo"; } >&5
3778  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3779  ac_status=$?
3780  if test -s conftest.err; then
3781    sed '10a\
3782... rest of stderr output deleted ...
3783         10q' conftest.err >conftest.er1
3784    cat conftest.er1 >&5
3785  fi
3786  rm -f conftest.er1 conftest.err
3787  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3788  test $ac_status = 0; }
3789done
3790
3791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792/* end confdefs.h.  */
3793
3794int
3795main ()
3796{
3797
3798  ;
3799  return 0;
3800}
3801_ACEOF
3802ac_clean_files_save=$ac_clean_files
3803ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3804# Try to create an executable without -o first, disregard a.out.
3805# It will help us diagnose broken compilers, and finding out an intuition
3806# of exeext.
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3808$as_echo_n "checking whether the C compiler works... " >&6; }
3809ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3810
3811# The possible output files:
3812ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3813
3814ac_rmfiles=
3815for ac_file in $ac_files
3816do
3817  case $ac_file in
3818    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3819    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3820  esac
3821done
3822rm -f $ac_rmfiles
3823
3824if { { ac_try="$ac_link_default"
3825case "(($ac_try" in
3826  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827  *) ac_try_echo=$ac_try;;
3828esac
3829eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830$as_echo "$ac_try_echo"; } >&5
3831  (eval "$ac_link_default") 2>&5
3832  ac_status=$?
3833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834  test $ac_status = 0; }; then :
3835  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3836# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3837# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3838# so that the user can short-circuit this test for compilers unknown to
3839# Autoconf.
3840for ac_file in $ac_files ''
3841do
3842  test -f "$ac_file" || continue
3843  case $ac_file in
3844    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3845	;;
3846    [ab].out )
3847	# We found the default executable, but exeext='' is most
3848	# certainly right.
3849	break;;
3850    *.* )
3851	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3852	then :; else
3853	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3854	fi
3855	# We set ac_cv_exeext here because the later test for it is not
3856	# safe: cross compilers may not add the suffix if given an `-o'
3857	# argument, so we may need to know it at that point already.
3858	# Even if this section looks crufty: it has the advantage of
3859	# actually working.
3860	break;;
3861    * )
3862	break;;
3863  esac
3864done
3865test "$ac_cv_exeext" = no && ac_cv_exeext=
3866
3867else
3868  ac_file=''
3869fi
3870if test -z "$ac_file"; then :
3871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872$as_echo "no" >&6; }
3873$as_echo "$as_me: failed program was:" >&5
3874sed 's/^/| /' conftest.$ac_ext >&5
3875
3876{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3878as_fn_error 77 "C compiler cannot create executables
3879See \`config.log' for more details" "$LINENO" 5; }
3880else
3881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3882$as_echo "yes" >&6; }
3883fi
3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3885$as_echo_n "checking for C compiler default output file name... " >&6; }
3886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3887$as_echo "$ac_file" >&6; }
3888ac_exeext=$ac_cv_exeext
3889
3890rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3891ac_clean_files=$ac_clean_files_save
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3893$as_echo_n "checking for suffix of executables... " >&6; }
3894if { { ac_try="$ac_link"
3895case "(($ac_try" in
3896  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897  *) ac_try_echo=$ac_try;;
3898esac
3899eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900$as_echo "$ac_try_echo"; } >&5
3901  (eval "$ac_link") 2>&5
3902  ac_status=$?
3903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904  test $ac_status = 0; }; then :
3905  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3906# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3907# work properly (i.e., refer to `conftest.exe'), while it won't with
3908# `rm'.
3909for ac_file in conftest.exe conftest conftest.*; do
3910  test -f "$ac_file" || continue
3911  case $ac_file in
3912    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3913    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3914	  break;;
3915    * ) break;;
3916  esac
3917done
3918else
3919  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3920$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3921as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3922See \`config.log' for more details" "$LINENO" 5; }
3923fi
3924rm -f conftest conftest$ac_cv_exeext
3925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3926$as_echo "$ac_cv_exeext" >&6; }
3927
3928rm -f conftest.$ac_ext
3929EXEEXT=$ac_cv_exeext
3930ac_exeext=$EXEEXT
3931cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932/* end confdefs.h.  */
3933#include <stdio.h>
3934int
3935main ()
3936{
3937FILE *f = fopen ("conftest.out", "w");
3938 return ferror (f) || fclose (f) != 0;
3939
3940  ;
3941  return 0;
3942}
3943_ACEOF
3944ac_clean_files="$ac_clean_files conftest.out"
3945# Check that the compiler produces executables we can run.  If not, either
3946# the compiler is broken, or we cross compile.
3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3948$as_echo_n "checking whether we are cross compiling... " >&6; }
3949if test "$cross_compiling" != yes; then
3950  { { ac_try="$ac_link"
3951case "(($ac_try" in
3952  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953  *) ac_try_echo=$ac_try;;
3954esac
3955eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3956$as_echo "$ac_try_echo"; } >&5
3957  (eval "$ac_link") 2>&5
3958  ac_status=$?
3959  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3960  test $ac_status = 0; }
3961  if { ac_try='./conftest$ac_cv_exeext'
3962  { { case "(($ac_try" in
3963  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964  *) ac_try_echo=$ac_try;;
3965esac
3966eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3967$as_echo "$ac_try_echo"; } >&5
3968  (eval "$ac_try") 2>&5
3969  ac_status=$?
3970  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971  test $ac_status = 0; }; }; then
3972    cross_compiling=no
3973  else
3974    if test "$cross_compiling" = maybe; then
3975	cross_compiling=yes
3976    else
3977	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979as_fn_error $? "cannot run C compiled programs.
3980If you meant to cross compile, use \`--host'.
3981See \`config.log' for more details" "$LINENO" 5; }
3982    fi
3983  fi
3984fi
3985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3986$as_echo "$cross_compiling" >&6; }
3987
3988rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3989ac_clean_files=$ac_clean_files_save
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3991$as_echo_n "checking for suffix of object files... " >&6; }
3992if ${ac_cv_objext+:} false; then :
3993  $as_echo_n "(cached) " >&6
3994else
3995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996/* end confdefs.h.  */
3997
3998int
3999main ()
4000{
4001
4002  ;
4003  return 0;
4004}
4005_ACEOF
4006rm -f conftest.o conftest.obj
4007if { { ac_try="$ac_compile"
4008case "(($ac_try" in
4009  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010  *) ac_try_echo=$ac_try;;
4011esac
4012eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013$as_echo "$ac_try_echo"; } >&5
4014  (eval "$ac_compile") 2>&5
4015  ac_status=$?
4016  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017  test $ac_status = 0; }; then :
4018  for ac_file in conftest.o conftest.obj conftest.*; do
4019  test -f "$ac_file" || continue;
4020  case $ac_file in
4021    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4022    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4023       break;;
4024  esac
4025done
4026else
4027  $as_echo "$as_me: failed program was:" >&5
4028sed 's/^/| /' conftest.$ac_ext >&5
4029
4030{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032as_fn_error $? "cannot compute suffix of object files: cannot compile
4033See \`config.log' for more details" "$LINENO" 5; }
4034fi
4035rm -f conftest.$ac_cv_objext conftest.$ac_ext
4036fi
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4038$as_echo "$ac_cv_objext" >&6; }
4039OBJEXT=$ac_cv_objext
4040ac_objext=$OBJEXT
4041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4042$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4043if ${ac_cv_c_compiler_gnu+:} false; then :
4044  $as_echo_n "(cached) " >&6
4045else
4046  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047/* end confdefs.h.  */
4048
4049int
4050main ()
4051{
4052#ifndef __GNUC__
4053       choke me
4054#endif
4055
4056  ;
4057  return 0;
4058}
4059_ACEOF
4060if ac_fn_c_try_compile "$LINENO"; then :
4061  ac_compiler_gnu=yes
4062else
4063  ac_compiler_gnu=no
4064fi
4065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066ac_cv_c_compiler_gnu=$ac_compiler_gnu
4067
4068fi
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4070$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4071if test $ac_compiler_gnu = yes; then
4072  GCC=yes
4073else
4074  GCC=
4075fi
4076ac_test_CFLAGS=${CFLAGS+set}
4077ac_save_CFLAGS=$CFLAGS
4078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4079$as_echo_n "checking whether $CC accepts -g... " >&6; }
4080if ${ac_cv_prog_cc_g+:} false; then :
4081  $as_echo_n "(cached) " >&6
4082else
4083  ac_save_c_werror_flag=$ac_c_werror_flag
4084   ac_c_werror_flag=yes
4085   ac_cv_prog_cc_g=no
4086   CFLAGS="-g"
4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088/* end confdefs.h.  */
4089
4090int
4091main ()
4092{
4093
4094  ;
4095  return 0;
4096}
4097_ACEOF
4098if ac_fn_c_try_compile "$LINENO"; then :
4099  ac_cv_prog_cc_g=yes
4100else
4101  CFLAGS=""
4102      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103/* end confdefs.h.  */
4104
4105int
4106main ()
4107{
4108
4109  ;
4110  return 0;
4111}
4112_ACEOF
4113if ac_fn_c_try_compile "$LINENO"; then :
4114
4115else
4116  ac_c_werror_flag=$ac_save_c_werror_flag
4117	 CFLAGS="-g"
4118	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119/* end confdefs.h.  */
4120
4121int
4122main ()
4123{
4124
4125  ;
4126  return 0;
4127}
4128_ACEOF
4129if ac_fn_c_try_compile "$LINENO"; then :
4130  ac_cv_prog_cc_g=yes
4131fi
4132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133fi
4134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4135fi
4136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137   ac_c_werror_flag=$ac_save_c_werror_flag
4138fi
4139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4140$as_echo "$ac_cv_prog_cc_g" >&6; }
4141if test "$ac_test_CFLAGS" = set; then
4142  CFLAGS=$ac_save_CFLAGS
4143elif test $ac_cv_prog_cc_g = yes; then
4144  if test "$GCC" = yes; then
4145    CFLAGS="-g -O2"
4146  else
4147    CFLAGS="-g"
4148  fi
4149else
4150  if test "$GCC" = yes; then
4151    CFLAGS="-O2"
4152  else
4153    CFLAGS=
4154  fi
4155fi
4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4157$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4158if ${ac_cv_prog_cc_c89+:} false; then :
4159  $as_echo_n "(cached) " >&6
4160else
4161  ac_cv_prog_cc_c89=no
4162ac_save_CC=$CC
4163cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164/* end confdefs.h.  */
4165#include <stdarg.h>
4166#include <stdio.h>
4167struct stat;
4168/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4169struct buf { int x; };
4170FILE * (*rcsopen) (struct buf *, struct stat *, int);
4171static char *e (p, i)
4172     char **p;
4173     int i;
4174{
4175  return p[i];
4176}
4177static char *f (char * (*g) (char **, int), char **p, ...)
4178{
4179  char *s;
4180  va_list v;
4181  va_start (v,p);
4182  s = g (p, va_arg (v,int));
4183  va_end (v);
4184  return s;
4185}
4186
4187/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4188   function prototypes and stuff, but not '\xHH' hex character constants.
4189   These don't provoke an error unfortunately, instead are silently treated
4190   as 'x'.  The following induces an error, until -std is added to get
4191   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4192   array size at least.  It's necessary to write '\x00'==0 to get something
4193   that's true only with -std.  */
4194int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4195
4196/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4197   inside strings and character constants.  */
4198#define FOO(x) 'x'
4199int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4200
4201int test (int i, double x);
4202struct s1 {int (*f) (int a);};
4203struct s2 {int (*f) (double a);};
4204int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4205int argc;
4206char **argv;
4207int
4208main ()
4209{
4210return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4211  ;
4212  return 0;
4213}
4214_ACEOF
4215for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4216	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4217do
4218  CC="$ac_save_CC $ac_arg"
4219  if ac_fn_c_try_compile "$LINENO"; then :
4220  ac_cv_prog_cc_c89=$ac_arg
4221fi
4222rm -f core conftest.err conftest.$ac_objext
4223  test "x$ac_cv_prog_cc_c89" != "xno" && break
4224done
4225rm -f conftest.$ac_ext
4226CC=$ac_save_CC
4227
4228fi
4229# AC_CACHE_VAL
4230case "x$ac_cv_prog_cc_c89" in
4231  x)
4232    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4233$as_echo "none needed" >&6; } ;;
4234  xno)
4235    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4236$as_echo "unsupported" >&6; } ;;
4237  *)
4238    CC="$CC $ac_cv_prog_cc_c89"
4239    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4240$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4241esac
4242if test "x$ac_cv_prog_cc_c89" != xno; then :
4243
4244fi
4245
4246ac_ext=c
4247ac_cpp='$CPP $CPPFLAGS'
4248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250ac_compiler_gnu=$ac_cv_c_compiler_gnu
4251
4252ac_ext=c
4253ac_cpp='$CPP $CPPFLAGS'
4254ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256ac_compiler_gnu=$ac_cv_c_compiler_gnu
4257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4258$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4259if ${am_cv_prog_cc_c_o+:} false; then :
4260  $as_echo_n "(cached) " >&6
4261else
4262  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263/* end confdefs.h.  */
4264
4265int
4266main ()
4267{
4268
4269  ;
4270  return 0;
4271}
4272_ACEOF
4273  # Make sure it works both with $CC and with simple cc.
4274  # Following AC_PROG_CC_C_O, we do the test twice because some
4275  # compilers refuse to overwrite an existing .o file with -o,
4276  # though they will create one.
4277  am_cv_prog_cc_c_o=yes
4278  for am_i in 1 2; do
4279    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4280   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4281   ac_status=$?
4282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283   (exit $ac_status); } \
4284         && test -f conftest2.$ac_objext; then
4285      : OK
4286    else
4287      am_cv_prog_cc_c_o=no
4288      break
4289    fi
4290  done
4291  rm -f core conftest*
4292  unset am_i
4293fi
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4295$as_echo "$am_cv_prog_cc_c_o" >&6; }
4296if test "$am_cv_prog_cc_c_o" != yes; then
4297   # Losing compiler, so override with the script.
4298   # FIXME: It is wrong to rewrite CC.
4299   # But if we don't then we get into trouble of one sort or another.
4300   # A longer-term fix would be to have automake use am__CC in this case,
4301   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4302   CC="$am_aux_dir/compile $CC"
4303fi
4304ac_ext=c
4305ac_cpp='$CPP $CPPFLAGS'
4306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308ac_compiler_gnu=$ac_cv_c_compiler_gnu
4309
4310
4311depcc="$CC"   am_compiler_list=
4312
4313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4314$as_echo_n "checking dependency style of $depcc... " >&6; }
4315if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4316  $as_echo_n "(cached) " >&6
4317else
4318  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4319  # We make a subdir and do the tests there.  Otherwise we can end up
4320  # making bogus files that we don't know about and never remove.  For
4321  # instance it was reported that on HP-UX the gcc test will end up
4322  # making a dummy file named 'D' -- because '-MD' means "put the output
4323  # in D".
4324  rm -rf conftest.dir
4325  mkdir conftest.dir
4326  # Copy depcomp to subdir because otherwise we won't find it if we're
4327  # using a relative directory.
4328  cp "$am_depcomp" conftest.dir
4329  cd conftest.dir
4330  # We will build objects and dependencies in a subdirectory because
4331  # it helps to detect inapplicable dependency modes.  For instance
4332  # both Tru64's cc and ICC support -MD to output dependencies as a
4333  # side effect of compilation, but ICC will put the dependencies in
4334  # the current directory while Tru64 will put them in the object
4335  # directory.
4336  mkdir sub
4337
4338  am_cv_CC_dependencies_compiler_type=none
4339  if test "$am_compiler_list" = ""; then
4340     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4341  fi
4342  am__universal=false
4343  case " $depcc " in #(
4344     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4345     esac
4346
4347  for depmode in $am_compiler_list; do
4348    # Setup a source with many dependencies, because some compilers
4349    # like to wrap large dependency lists on column 80 (with \), and
4350    # we should not choose a depcomp mode which is confused by this.
4351    #
4352    # We need to recreate these files for each test, as the compiler may
4353    # overwrite some of them when testing with obscure command lines.
4354    # This happens at least with the AIX C compiler.
4355    : > sub/conftest.c
4356    for i in 1 2 3 4 5 6; do
4357      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4358      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4359      # Solaris 10 /bin/sh.
4360      echo '/* dummy */' > sub/conftst$i.h
4361    done
4362    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4363
4364    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4365    # mode.  It turns out that the SunPro C++ compiler does not properly
4366    # handle '-M -o', and we need to detect this.  Also, some Intel
4367    # versions had trouble with output in subdirs.
4368    am__obj=sub/conftest.${OBJEXT-o}
4369    am__minus_obj="-o $am__obj"
4370    case $depmode in
4371    gcc)
4372      # This depmode causes a compiler race in universal mode.
4373      test "$am__universal" = false || continue
4374      ;;
4375    nosideeffect)
4376      # After this tag, mechanisms are not by side-effect, so they'll
4377      # only be used when explicitly requested.
4378      if test "x$enable_dependency_tracking" = xyes; then
4379	continue
4380      else
4381	break
4382      fi
4383      ;;
4384    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4385      # This compiler won't grok '-c -o', but also, the minuso test has
4386      # not run yet.  These depmodes are late enough in the game, and
4387      # so weak that their functioning should not be impacted.
4388      am__obj=conftest.${OBJEXT-o}
4389      am__minus_obj=
4390      ;;
4391    none) break ;;
4392    esac
4393    if depmode=$depmode \
4394       source=sub/conftest.c object=$am__obj \
4395       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4396       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4397         >/dev/null 2>conftest.err &&
4398       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4399       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4400       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4401       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4402      # icc doesn't choke on unknown options, it will just issue warnings
4403      # or remarks (even with -Werror).  So we grep stderr for any message
4404      # that says an option was ignored or not supported.
4405      # When given -MP, icc 7.0 and 7.1 complain thusly:
4406      #   icc: Command line warning: ignoring option '-M'; no argument required
4407      # The diagnosis changed in icc 8.0:
4408      #   icc: Command line remark: option '-MP' not supported
4409      if (grep 'ignoring option' conftest.err ||
4410          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4411        am_cv_CC_dependencies_compiler_type=$depmode
4412        break
4413      fi
4414    fi
4415  done
4416
4417  cd ..
4418  rm -rf conftest.dir
4419else
4420  am_cv_CC_dependencies_compiler_type=none
4421fi
4422
4423fi
4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4425$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4426CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4427
4428 if
4429  test "x$enable_dependency_tracking" != xno \
4430  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4431  am__fastdepCC_TRUE=
4432  am__fastdepCC_FALSE='#'
4433else
4434  am__fastdepCC_TRUE='#'
4435  am__fastdepCC_FALSE=
4436fi
4437
4438
4439
4440ac_ext=c
4441ac_cpp='$CPP $CPPFLAGS'
4442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4444ac_compiler_gnu=$ac_cv_c_compiler_gnu
4445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4446$as_echo_n "checking how to run the C preprocessor... " >&6; }
4447# On Suns, sometimes $CPP names a directory.
4448if test -n "$CPP" && test -d "$CPP"; then
4449  CPP=
4450fi
4451if test -z "$CPP"; then
4452  if ${ac_cv_prog_CPP+:} false; then :
4453  $as_echo_n "(cached) " >&6
4454else
4455      # Double quotes because CPP needs to be expanded
4456    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4457    do
4458      ac_preproc_ok=false
4459for ac_c_preproc_warn_flag in '' yes
4460do
4461  # Use a header file that comes with gcc, so configuring glibc
4462  # with a fresh cross-compiler works.
4463  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4464  # <limits.h> exists even on freestanding compilers.
4465  # On the NeXT, cc -E runs the code through the compiler's parser,
4466  # not just through cpp. "Syntax error" is here to catch this case.
4467  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468/* end confdefs.h.  */
4469#ifdef __STDC__
4470# include <limits.h>
4471#else
4472# include <assert.h>
4473#endif
4474		     Syntax error
4475_ACEOF
4476if ac_fn_c_try_cpp "$LINENO"; then :
4477
4478else
4479  # Broken: fails on valid input.
4480continue
4481fi
4482rm -f conftest.err conftest.i conftest.$ac_ext
4483
4484  # OK, works on sane cases.  Now check whether nonexistent headers
4485  # can be detected and how.
4486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487/* end confdefs.h.  */
4488#include <ac_nonexistent.h>
4489_ACEOF
4490if ac_fn_c_try_cpp "$LINENO"; then :
4491  # Broken: success on invalid input.
4492continue
4493else
4494  # Passes both tests.
4495ac_preproc_ok=:
4496break
4497fi
4498rm -f conftest.err conftest.i conftest.$ac_ext
4499
4500done
4501# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4502rm -f conftest.i conftest.err conftest.$ac_ext
4503if $ac_preproc_ok; then :
4504  break
4505fi
4506
4507    done
4508    ac_cv_prog_CPP=$CPP
4509
4510fi
4511  CPP=$ac_cv_prog_CPP
4512else
4513  ac_cv_prog_CPP=$CPP
4514fi
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4516$as_echo "$CPP" >&6; }
4517ac_preproc_ok=false
4518for ac_c_preproc_warn_flag in '' yes
4519do
4520  # Use a header file that comes with gcc, so configuring glibc
4521  # with a fresh cross-compiler works.
4522  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4523  # <limits.h> exists even on freestanding compilers.
4524  # On the NeXT, cc -E runs the code through the compiler's parser,
4525  # not just through cpp. "Syntax error" is here to catch this case.
4526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527/* end confdefs.h.  */
4528#ifdef __STDC__
4529# include <limits.h>
4530#else
4531# include <assert.h>
4532#endif
4533		     Syntax error
4534_ACEOF
4535if ac_fn_c_try_cpp "$LINENO"; then :
4536
4537else
4538  # Broken: fails on valid input.
4539continue
4540fi
4541rm -f conftest.err conftest.i conftest.$ac_ext
4542
4543  # OK, works on sane cases.  Now check whether nonexistent headers
4544  # can be detected and how.
4545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546/* end confdefs.h.  */
4547#include <ac_nonexistent.h>
4548_ACEOF
4549if ac_fn_c_try_cpp "$LINENO"; then :
4550  # Broken: success on invalid input.
4551continue
4552else
4553  # Passes both tests.
4554ac_preproc_ok=:
4555break
4556fi
4557rm -f conftest.err conftest.i conftest.$ac_ext
4558
4559done
4560# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4561rm -f conftest.i conftest.err conftest.$ac_ext
4562if $ac_preproc_ok; then :
4563
4564else
4565  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4566$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4567as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4568See \`config.log' for more details" "$LINENO" 5; }
4569fi
4570
4571ac_ext=c
4572ac_cpp='$CPP $CPPFLAGS'
4573ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576
4577
4578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4579$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4580if ${ac_cv_path_GREP+:} false; then :
4581  $as_echo_n "(cached) " >&6
4582else
4583  if test -z "$GREP"; then
4584  ac_path_GREP_found=false
4585  # Loop through the user's path and test for each of PROGNAME-LIST
4586  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588do
4589  IFS=$as_save_IFS
4590  test -z "$as_dir" && as_dir=.
4591    for ac_prog in grep ggrep; do
4592    for ac_exec_ext in '' $ac_executable_extensions; do
4593      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4594      as_fn_executable_p "$ac_path_GREP" || continue
4595# Check for GNU ac_path_GREP and select it if it is found.
4596  # Check for GNU $ac_path_GREP
4597case `"$ac_path_GREP" --version 2>&1` in
4598*GNU*)
4599  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4600*)
4601  ac_count=0
4602  $as_echo_n 0123456789 >"conftest.in"
4603  while :
4604  do
4605    cat "conftest.in" "conftest.in" >"conftest.tmp"
4606    mv "conftest.tmp" "conftest.in"
4607    cp "conftest.in" "conftest.nl"
4608    $as_echo 'GREP' >> "conftest.nl"
4609    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4610    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4611    as_fn_arith $ac_count + 1 && ac_count=$as_val
4612    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4613      # Best one so far, save it but keep looking for a better one
4614      ac_cv_path_GREP="$ac_path_GREP"
4615      ac_path_GREP_max=$ac_count
4616    fi
4617    # 10*(2^10) chars as input seems more than enough
4618    test $ac_count -gt 10 && break
4619  done
4620  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621esac
4622
4623      $ac_path_GREP_found && break 3
4624    done
4625  done
4626  done
4627IFS=$as_save_IFS
4628  if test -z "$ac_cv_path_GREP"; then
4629    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630  fi
4631else
4632  ac_cv_path_GREP=$GREP
4633fi
4634
4635fi
4636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4637$as_echo "$ac_cv_path_GREP" >&6; }
4638 GREP="$ac_cv_path_GREP"
4639
4640
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4642$as_echo_n "checking for egrep... " >&6; }
4643if ${ac_cv_path_EGREP+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4647   then ac_cv_path_EGREP="$GREP -E"
4648   else
4649     if test -z "$EGREP"; then
4650  ac_path_EGREP_found=false
4651  # Loop through the user's path and test for each of PROGNAME-LIST
4652  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4654do
4655  IFS=$as_save_IFS
4656  test -z "$as_dir" && as_dir=.
4657    for ac_prog in egrep; do
4658    for ac_exec_ext in '' $ac_executable_extensions; do
4659      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4660      as_fn_executable_p "$ac_path_EGREP" || continue
4661# Check for GNU ac_path_EGREP and select it if it is found.
4662  # Check for GNU $ac_path_EGREP
4663case `"$ac_path_EGREP" --version 2>&1` in
4664*GNU*)
4665  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4666*)
4667  ac_count=0
4668  $as_echo_n 0123456789 >"conftest.in"
4669  while :
4670  do
4671    cat "conftest.in" "conftest.in" >"conftest.tmp"
4672    mv "conftest.tmp" "conftest.in"
4673    cp "conftest.in" "conftest.nl"
4674    $as_echo 'EGREP' >> "conftest.nl"
4675    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4676    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4677    as_fn_arith $ac_count + 1 && ac_count=$as_val
4678    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4679      # Best one so far, save it but keep looking for a better one
4680      ac_cv_path_EGREP="$ac_path_EGREP"
4681      ac_path_EGREP_max=$ac_count
4682    fi
4683    # 10*(2^10) chars as input seems more than enough
4684    test $ac_count -gt 10 && break
4685  done
4686  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687esac
4688
4689      $ac_path_EGREP_found && break 3
4690    done
4691  done
4692  done
4693IFS=$as_save_IFS
4694  if test -z "$ac_cv_path_EGREP"; then
4695    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696  fi
4697else
4698  ac_cv_path_EGREP=$EGREP
4699fi
4700
4701   fi
4702fi
4703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4704$as_echo "$ac_cv_path_EGREP" >&6; }
4705 EGREP="$ac_cv_path_EGREP"
4706
4707
4708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4709$as_echo_n "checking for ANSI C header files... " >&6; }
4710if ${ac_cv_header_stdc+:} false; then :
4711  $as_echo_n "(cached) " >&6
4712else
4713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714/* end confdefs.h.  */
4715#include <stdlib.h>
4716#include <stdarg.h>
4717#include <string.h>
4718#include <float.h>
4719
4720int
4721main ()
4722{
4723
4724  ;
4725  return 0;
4726}
4727_ACEOF
4728if ac_fn_c_try_compile "$LINENO"; then :
4729  ac_cv_header_stdc=yes
4730else
4731  ac_cv_header_stdc=no
4732fi
4733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734
4735if test $ac_cv_header_stdc = yes; then
4736  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738/* end confdefs.h.  */
4739#include <string.h>
4740
4741_ACEOF
4742if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4743  $EGREP "memchr" >/dev/null 2>&1; then :
4744
4745else
4746  ac_cv_header_stdc=no
4747fi
4748rm -f conftest*
4749
4750fi
4751
4752if test $ac_cv_header_stdc = yes; then
4753  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755/* end confdefs.h.  */
4756#include <stdlib.h>
4757
4758_ACEOF
4759if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4760  $EGREP "free" >/dev/null 2>&1; then :
4761
4762else
4763  ac_cv_header_stdc=no
4764fi
4765rm -f conftest*
4766
4767fi
4768
4769if test $ac_cv_header_stdc = yes; then
4770  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4771  if test "$cross_compiling" = yes; then :
4772  :
4773else
4774  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775/* end confdefs.h.  */
4776#include <ctype.h>
4777#include <stdlib.h>
4778#if ((' ' & 0x0FF) == 0x020)
4779# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4780# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4781#else
4782# define ISLOWER(c) \
4783		   (('a' <= (c) && (c) <= 'i') \
4784		     || ('j' <= (c) && (c) <= 'r') \
4785		     || ('s' <= (c) && (c) <= 'z'))
4786# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4787#endif
4788
4789#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4790int
4791main ()
4792{
4793  int i;
4794  for (i = 0; i < 256; i++)
4795    if (XOR (islower (i), ISLOWER (i))
4796	|| toupper (i) != TOUPPER (i))
4797      return 2;
4798  return 0;
4799}
4800_ACEOF
4801if ac_fn_c_try_run "$LINENO"; then :
4802
4803else
4804  ac_cv_header_stdc=no
4805fi
4806rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4807  conftest.$ac_objext conftest.beam conftest.$ac_ext
4808fi
4809
4810fi
4811fi
4812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4813$as_echo "$ac_cv_header_stdc" >&6; }
4814if test $ac_cv_header_stdc = yes; then
4815
4816$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4817
4818fi
4819
4820# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4821for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4822		  inttypes.h stdint.h unistd.h
4823do :
4824  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4825ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4826"
4827if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4828  cat >>confdefs.h <<_ACEOF
4829#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4830_ACEOF
4831
4832fi
4833
4834done
4835
4836
4837
4838  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4839if test "x$ac_cv_header_minix_config_h" = xyes; then :
4840  MINIX=yes
4841else
4842  MINIX=
4843fi
4844
4845
4846  if test "$MINIX" = yes; then
4847
4848$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4849
4850
4851$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4852
4853
4854$as_echo "#define _MINIX 1" >>confdefs.h
4855
4856  fi
4857
4858
4859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4860$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4861if ${ac_cv_safe_to_define___extensions__+:} false; then :
4862  $as_echo_n "(cached) " >&6
4863else
4864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865/* end confdefs.h.  */
4866
4867#         define __EXTENSIONS__ 1
4868          $ac_includes_default
4869int
4870main ()
4871{
4872
4873  ;
4874  return 0;
4875}
4876_ACEOF
4877if ac_fn_c_try_compile "$LINENO"; then :
4878  ac_cv_safe_to_define___extensions__=yes
4879else
4880  ac_cv_safe_to_define___extensions__=no
4881fi
4882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883fi
4884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4885$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4886  test $ac_cv_safe_to_define___extensions__ = yes &&
4887    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4888
4889  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4890
4891  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4892
4893  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4894
4895  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4896
4897
4898
4899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4900$as_echo_n "checking for library containing strerror... " >&6; }
4901if ${ac_cv_search_strerror+:} false; then :
4902  $as_echo_n "(cached) " >&6
4903else
4904  ac_func_search_save_LIBS=$LIBS
4905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906/* end confdefs.h.  */
4907
4908/* Override any GCC internal prototype to avoid an error.
4909   Use char because int might match the return type of a GCC
4910   builtin and then its argument prototype would still apply.  */
4911#ifdef __cplusplus
4912extern "C"
4913#endif
4914char strerror ();
4915int
4916main ()
4917{
4918return strerror ();
4919  ;
4920  return 0;
4921}
4922_ACEOF
4923for ac_lib in '' cposix; do
4924  if test -z "$ac_lib"; then
4925    ac_res="none required"
4926  else
4927    ac_res=-l$ac_lib
4928    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4929  fi
4930  if ac_fn_c_try_link "$LINENO"; then :
4931  ac_cv_search_strerror=$ac_res
4932fi
4933rm -f core conftest.err conftest.$ac_objext \
4934    conftest$ac_exeext
4935  if ${ac_cv_search_strerror+:} false; then :
4936  break
4937fi
4938done
4939if ${ac_cv_search_strerror+:} false; then :
4940
4941else
4942  ac_cv_search_strerror=no
4943fi
4944rm conftest.$ac_ext
4945LIBS=$ac_func_search_save_LIBS
4946fi
4947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4948$as_echo "$ac_cv_search_strerror" >&6; }
4949ac_res=$ac_cv_search_strerror
4950if test "$ac_res" != no; then :
4951  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4952
4953fi
4954
4955
4956
4957ac_ext=c
4958ac_cpp='$CPP $CPPFLAGS'
4959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4961ac_compiler_gnu=$ac_cv_c_compiler_gnu
4962if test -n "$ac_tool_prefix"; then
4963  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4964set dummy ${ac_tool_prefix}gcc; ac_word=$2
4965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966$as_echo_n "checking for $ac_word... " >&6; }
4967if ${ac_cv_prog_CC+:} false; then :
4968  $as_echo_n "(cached) " >&6
4969else
4970  if test -n "$CC"; then
4971  ac_cv_prog_CC="$CC" # Let the user override the test.
4972else
4973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974for as_dir in $PATH
4975do
4976  IFS=$as_save_IFS
4977  test -z "$as_dir" && as_dir=.
4978    for ac_exec_ext in '' $ac_executable_extensions; do
4979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4980    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982    break 2
4983  fi
4984done
4985  done
4986IFS=$as_save_IFS
4987
4988fi
4989fi
4990CC=$ac_cv_prog_CC
4991if test -n "$CC"; then
4992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4993$as_echo "$CC" >&6; }
4994else
4995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996$as_echo "no" >&6; }
4997fi
4998
4999
5000fi
5001if test -z "$ac_cv_prog_CC"; then
5002  ac_ct_CC=$CC
5003  # Extract the first word of "gcc", so it can be a program name with args.
5004set dummy gcc; ac_word=$2
5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006$as_echo_n "checking for $ac_word... " >&6; }
5007if ${ac_cv_prog_ac_ct_CC+:} false; then :
5008  $as_echo_n "(cached) " >&6
5009else
5010  if test -n "$ac_ct_CC"; then
5011  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5012else
5013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014for as_dir in $PATH
5015do
5016  IFS=$as_save_IFS
5017  test -z "$as_dir" && as_dir=.
5018    for ac_exec_ext in '' $ac_executable_extensions; do
5019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020    ac_cv_prog_ac_ct_CC="gcc"
5021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022    break 2
5023  fi
5024done
5025  done
5026IFS=$as_save_IFS
5027
5028fi
5029fi
5030ac_ct_CC=$ac_cv_prog_ac_ct_CC
5031if test -n "$ac_ct_CC"; then
5032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5033$as_echo "$ac_ct_CC" >&6; }
5034else
5035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036$as_echo "no" >&6; }
5037fi
5038
5039  if test "x$ac_ct_CC" = x; then
5040    CC=""
5041  else
5042    case $cross_compiling:$ac_tool_warned in
5043yes:)
5044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5046ac_tool_warned=yes ;;
5047esac
5048    CC=$ac_ct_CC
5049  fi
5050else
5051  CC="$ac_cv_prog_CC"
5052fi
5053
5054if test -z "$CC"; then
5055          if test -n "$ac_tool_prefix"; then
5056    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5057set dummy ${ac_tool_prefix}cc; ac_word=$2
5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059$as_echo_n "checking for $ac_word... " >&6; }
5060if ${ac_cv_prog_CC+:} false; then :
5061  $as_echo_n "(cached) " >&6
5062else
5063  if test -n "$CC"; then
5064  ac_cv_prog_CC="$CC" # Let the user override the test.
5065else
5066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067for as_dir in $PATH
5068do
5069  IFS=$as_save_IFS
5070  test -z "$as_dir" && as_dir=.
5071    for ac_exec_ext in '' $ac_executable_extensions; do
5072  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073    ac_cv_prog_CC="${ac_tool_prefix}cc"
5074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075    break 2
5076  fi
5077done
5078  done
5079IFS=$as_save_IFS
5080
5081fi
5082fi
5083CC=$ac_cv_prog_CC
5084if test -n "$CC"; then
5085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5086$as_echo "$CC" >&6; }
5087else
5088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089$as_echo "no" >&6; }
5090fi
5091
5092
5093  fi
5094fi
5095if test -z "$CC"; then
5096  # Extract the first word of "cc", so it can be a program name with args.
5097set dummy cc; ac_word=$2
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099$as_echo_n "checking for $ac_word... " >&6; }
5100if ${ac_cv_prog_CC+:} false; then :
5101  $as_echo_n "(cached) " >&6
5102else
5103  if test -n "$CC"; then
5104  ac_cv_prog_CC="$CC" # Let the user override the test.
5105else
5106  ac_prog_rejected=no
5107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108for as_dir in $PATH
5109do
5110  IFS=$as_save_IFS
5111  test -z "$as_dir" && as_dir=.
5112    for ac_exec_ext in '' $ac_executable_extensions; do
5113  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5114    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5115       ac_prog_rejected=yes
5116       continue
5117     fi
5118    ac_cv_prog_CC="cc"
5119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120    break 2
5121  fi
5122done
5123  done
5124IFS=$as_save_IFS
5125
5126if test $ac_prog_rejected = yes; then
5127  # We found a bogon in the path, so make sure we never use it.
5128  set dummy $ac_cv_prog_CC
5129  shift
5130  if test $# != 0; then
5131    # We chose a different compiler from the bogus one.
5132    # However, it has the same basename, so the bogon will be chosen
5133    # first if we set CC to just the basename; use the full file name.
5134    shift
5135    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5136  fi
5137fi
5138fi
5139fi
5140CC=$ac_cv_prog_CC
5141if test -n "$CC"; then
5142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5143$as_echo "$CC" >&6; }
5144else
5145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146$as_echo "no" >&6; }
5147fi
5148
5149
5150fi
5151if test -z "$CC"; then
5152  if test -n "$ac_tool_prefix"; then
5153  for ac_prog in cl.exe
5154  do
5155    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5156set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158$as_echo_n "checking for $ac_word... " >&6; }
5159if ${ac_cv_prog_CC+:} false; then :
5160  $as_echo_n "(cached) " >&6
5161else
5162  if test -n "$CC"; then
5163  ac_cv_prog_CC="$CC" # Let the user override the test.
5164else
5165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166for as_dir in $PATH
5167do
5168  IFS=$as_save_IFS
5169  test -z "$as_dir" && as_dir=.
5170    for ac_exec_ext in '' $ac_executable_extensions; do
5171  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174    break 2
5175  fi
5176done
5177  done
5178IFS=$as_save_IFS
5179
5180fi
5181fi
5182CC=$ac_cv_prog_CC
5183if test -n "$CC"; then
5184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5185$as_echo "$CC" >&6; }
5186else
5187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188$as_echo "no" >&6; }
5189fi
5190
5191
5192    test -n "$CC" && break
5193  done
5194fi
5195if test -z "$CC"; then
5196  ac_ct_CC=$CC
5197  for ac_prog in cl.exe
5198do
5199  # Extract the first word of "$ac_prog", so it can be a program name with args.
5200set dummy $ac_prog; ac_word=$2
5201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202$as_echo_n "checking for $ac_word... " >&6; }
5203if ${ac_cv_prog_ac_ct_CC+:} false; then :
5204  $as_echo_n "(cached) " >&6
5205else
5206  if test -n "$ac_ct_CC"; then
5207  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5208else
5209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210for as_dir in $PATH
5211do
5212  IFS=$as_save_IFS
5213  test -z "$as_dir" && as_dir=.
5214    for ac_exec_ext in '' $ac_executable_extensions; do
5215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216    ac_cv_prog_ac_ct_CC="$ac_prog"
5217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218    break 2
5219  fi
5220done
5221  done
5222IFS=$as_save_IFS
5223
5224fi
5225fi
5226ac_ct_CC=$ac_cv_prog_ac_ct_CC
5227if test -n "$ac_ct_CC"; then
5228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5229$as_echo "$ac_ct_CC" >&6; }
5230else
5231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232$as_echo "no" >&6; }
5233fi
5234
5235
5236  test -n "$ac_ct_CC" && break
5237done
5238
5239  if test "x$ac_ct_CC" = x; then
5240    CC=""
5241  else
5242    case $cross_compiling:$ac_tool_warned in
5243yes:)
5244{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5245$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5246ac_tool_warned=yes ;;
5247esac
5248    CC=$ac_ct_CC
5249  fi
5250fi
5251
5252fi
5253
5254
5255test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5257as_fn_error $? "no acceptable C compiler found in \$PATH
5258See \`config.log' for more details" "$LINENO" 5; }
5259
5260# Provide some information about the compiler.
5261$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5262set X $ac_compile
5263ac_compiler=$2
5264for ac_option in --version -v -V -qversion; do
5265  { { ac_try="$ac_compiler $ac_option >&5"
5266case "(($ac_try" in
5267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268  *) ac_try_echo=$ac_try;;
5269esac
5270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5271$as_echo "$ac_try_echo"; } >&5
5272  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5273  ac_status=$?
5274  if test -s conftest.err; then
5275    sed '10a\
5276... rest of stderr output deleted ...
5277         10q' conftest.err >conftest.er1
5278    cat conftest.er1 >&5
5279  fi
5280  rm -f conftest.er1 conftest.err
5281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282  test $ac_status = 0; }
5283done
5284
5285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5286$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5287if ${ac_cv_c_compiler_gnu+:} false; then :
5288  $as_echo_n "(cached) " >&6
5289else
5290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291/* end confdefs.h.  */
5292
5293int
5294main ()
5295{
5296#ifndef __GNUC__
5297       choke me
5298#endif
5299
5300  ;
5301  return 0;
5302}
5303_ACEOF
5304if ac_fn_c_try_compile "$LINENO"; then :
5305  ac_compiler_gnu=yes
5306else
5307  ac_compiler_gnu=no
5308fi
5309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310ac_cv_c_compiler_gnu=$ac_compiler_gnu
5311
5312fi
5313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5314$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5315if test $ac_compiler_gnu = yes; then
5316  GCC=yes
5317else
5318  GCC=
5319fi
5320ac_test_CFLAGS=${CFLAGS+set}
5321ac_save_CFLAGS=$CFLAGS
5322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5323$as_echo_n "checking whether $CC accepts -g... " >&6; }
5324if ${ac_cv_prog_cc_g+:} false; then :
5325  $as_echo_n "(cached) " >&6
5326else
5327  ac_save_c_werror_flag=$ac_c_werror_flag
5328   ac_c_werror_flag=yes
5329   ac_cv_prog_cc_g=no
5330   CFLAGS="-g"
5331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332/* end confdefs.h.  */
5333
5334int
5335main ()
5336{
5337
5338  ;
5339  return 0;
5340}
5341_ACEOF
5342if ac_fn_c_try_compile "$LINENO"; then :
5343  ac_cv_prog_cc_g=yes
5344else
5345  CFLAGS=""
5346      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347/* end confdefs.h.  */
5348
5349int
5350main ()
5351{
5352
5353  ;
5354  return 0;
5355}
5356_ACEOF
5357if ac_fn_c_try_compile "$LINENO"; then :
5358
5359else
5360  ac_c_werror_flag=$ac_save_c_werror_flag
5361	 CFLAGS="-g"
5362	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363/* end confdefs.h.  */
5364
5365int
5366main ()
5367{
5368
5369  ;
5370  return 0;
5371}
5372_ACEOF
5373if ac_fn_c_try_compile "$LINENO"; then :
5374  ac_cv_prog_cc_g=yes
5375fi
5376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5377fi
5378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5379fi
5380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5381   ac_c_werror_flag=$ac_save_c_werror_flag
5382fi
5383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5384$as_echo "$ac_cv_prog_cc_g" >&6; }
5385if test "$ac_test_CFLAGS" = set; then
5386  CFLAGS=$ac_save_CFLAGS
5387elif test $ac_cv_prog_cc_g = yes; then
5388  if test "$GCC" = yes; then
5389    CFLAGS="-g -O2"
5390  else
5391    CFLAGS="-g"
5392  fi
5393else
5394  if test "$GCC" = yes; then
5395    CFLAGS="-O2"
5396  else
5397    CFLAGS=
5398  fi
5399fi
5400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5401$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5402if ${ac_cv_prog_cc_c89+:} false; then :
5403  $as_echo_n "(cached) " >&6
5404else
5405  ac_cv_prog_cc_c89=no
5406ac_save_CC=$CC
5407cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408/* end confdefs.h.  */
5409#include <stdarg.h>
5410#include <stdio.h>
5411struct stat;
5412/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5413struct buf { int x; };
5414FILE * (*rcsopen) (struct buf *, struct stat *, int);
5415static char *e (p, i)
5416     char **p;
5417     int i;
5418{
5419  return p[i];
5420}
5421static char *f (char * (*g) (char **, int), char **p, ...)
5422{
5423  char *s;
5424  va_list v;
5425  va_start (v,p);
5426  s = g (p, va_arg (v,int));
5427  va_end (v);
5428  return s;
5429}
5430
5431/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5432   function prototypes and stuff, but not '\xHH' hex character constants.
5433   These don't provoke an error unfortunately, instead are silently treated
5434   as 'x'.  The following induces an error, until -std is added to get
5435   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5436   array size at least.  It's necessary to write '\x00'==0 to get something
5437   that's true only with -std.  */
5438int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5439
5440/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5441   inside strings and character constants.  */
5442#define FOO(x) 'x'
5443int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5444
5445int test (int i, double x);
5446struct s1 {int (*f) (int a);};
5447struct s2 {int (*f) (double a);};
5448int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5449int argc;
5450char **argv;
5451int
5452main ()
5453{
5454return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5455  ;
5456  return 0;
5457}
5458_ACEOF
5459for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5460	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5461do
5462  CC="$ac_save_CC $ac_arg"
5463  if ac_fn_c_try_compile "$LINENO"; then :
5464  ac_cv_prog_cc_c89=$ac_arg
5465fi
5466rm -f core conftest.err conftest.$ac_objext
5467  test "x$ac_cv_prog_cc_c89" != "xno" && break
5468done
5469rm -f conftest.$ac_ext
5470CC=$ac_save_CC
5471
5472fi
5473# AC_CACHE_VAL
5474case "x$ac_cv_prog_cc_c89" in
5475  x)
5476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5477$as_echo "none needed" >&6; } ;;
5478  xno)
5479    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5480$as_echo "unsupported" >&6; } ;;
5481  *)
5482    CC="$CC $ac_cv_prog_cc_c89"
5483    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5484$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5485esac
5486if test "x$ac_cv_prog_cc_c89" != xno; then :
5487
5488fi
5489
5490ac_ext=c
5491ac_cpp='$CPP $CPPFLAGS'
5492ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5494ac_compiler_gnu=$ac_cv_c_compiler_gnu
5495
5496ac_ext=c
5497ac_cpp='$CPP $CPPFLAGS'
5498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5500ac_compiler_gnu=$ac_cv_c_compiler_gnu
5501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5502$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5503if ${am_cv_prog_cc_c_o+:} false; then :
5504  $as_echo_n "(cached) " >&6
5505else
5506  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507/* end confdefs.h.  */
5508
5509int
5510main ()
5511{
5512
5513  ;
5514  return 0;
5515}
5516_ACEOF
5517  # Make sure it works both with $CC and with simple cc.
5518  # Following AC_PROG_CC_C_O, we do the test twice because some
5519  # compilers refuse to overwrite an existing .o file with -o,
5520  # though they will create one.
5521  am_cv_prog_cc_c_o=yes
5522  for am_i in 1 2; do
5523    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5524   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5525   ac_status=$?
5526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527   (exit $ac_status); } \
5528         && test -f conftest2.$ac_objext; then
5529      : OK
5530    else
5531      am_cv_prog_cc_c_o=no
5532      break
5533    fi
5534  done
5535  rm -f core conftest*
5536  unset am_i
5537fi
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5539$as_echo "$am_cv_prog_cc_c_o" >&6; }
5540if test "$am_cv_prog_cc_c_o" != yes; then
5541   # Losing compiler, so override with the script.
5542   # FIXME: It is wrong to rewrite CC.
5543   # But if we don't then we get into trouble of one sort or another.
5544   # A longer-term fix would be to have automake use am__CC in this case,
5545   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5546   CC="$am_aux_dir/compile $CC"
5547fi
5548ac_ext=c
5549ac_cpp='$CPP $CPPFLAGS'
5550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552ac_compiler_gnu=$ac_cv_c_compiler_gnu
5553
5554
5555depcc="$CC"   am_compiler_list=
5556
5557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5558$as_echo_n "checking dependency style of $depcc... " >&6; }
5559if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5560  $as_echo_n "(cached) " >&6
5561else
5562  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5563  # We make a subdir and do the tests there.  Otherwise we can end up
5564  # making bogus files that we don't know about and never remove.  For
5565  # instance it was reported that on HP-UX the gcc test will end up
5566  # making a dummy file named 'D' -- because '-MD' means "put the output
5567  # in D".
5568  rm -rf conftest.dir
5569  mkdir conftest.dir
5570  # Copy depcomp to subdir because otherwise we won't find it if we're
5571  # using a relative directory.
5572  cp "$am_depcomp" conftest.dir
5573  cd conftest.dir
5574  # We will build objects and dependencies in a subdirectory because
5575  # it helps to detect inapplicable dependency modes.  For instance
5576  # both Tru64's cc and ICC support -MD to output dependencies as a
5577  # side effect of compilation, but ICC will put the dependencies in
5578  # the current directory while Tru64 will put them in the object
5579  # directory.
5580  mkdir sub
5581
5582  am_cv_CC_dependencies_compiler_type=none
5583  if test "$am_compiler_list" = ""; then
5584     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5585  fi
5586  am__universal=false
5587  case " $depcc " in #(
5588     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5589     esac
5590
5591  for depmode in $am_compiler_list; do
5592    # Setup a source with many dependencies, because some compilers
5593    # like to wrap large dependency lists on column 80 (with \), and
5594    # we should not choose a depcomp mode which is confused by this.
5595    #
5596    # We need to recreate these files for each test, as the compiler may
5597    # overwrite some of them when testing with obscure command lines.
5598    # This happens at least with the AIX C compiler.
5599    : > sub/conftest.c
5600    for i in 1 2 3 4 5 6; do
5601      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5602      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5603      # Solaris 10 /bin/sh.
5604      echo '/* dummy */' > sub/conftst$i.h
5605    done
5606    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5607
5608    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5609    # mode.  It turns out that the SunPro C++ compiler does not properly
5610    # handle '-M -o', and we need to detect this.  Also, some Intel
5611    # versions had trouble with output in subdirs.
5612    am__obj=sub/conftest.${OBJEXT-o}
5613    am__minus_obj="-o $am__obj"
5614    case $depmode in
5615    gcc)
5616      # This depmode causes a compiler race in universal mode.
5617      test "$am__universal" = false || continue
5618      ;;
5619    nosideeffect)
5620      # After this tag, mechanisms are not by side-effect, so they'll
5621      # only be used when explicitly requested.
5622      if test "x$enable_dependency_tracking" = xyes; then
5623	continue
5624      else
5625	break
5626      fi
5627      ;;
5628    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5629      # This compiler won't grok '-c -o', but also, the minuso test has
5630      # not run yet.  These depmodes are late enough in the game, and
5631      # so weak that their functioning should not be impacted.
5632      am__obj=conftest.${OBJEXT-o}
5633      am__minus_obj=
5634      ;;
5635    none) break ;;
5636    esac
5637    if depmode=$depmode \
5638       source=sub/conftest.c object=$am__obj \
5639       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5640       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5641         >/dev/null 2>conftest.err &&
5642       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5643       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5644       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5645       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5646      # icc doesn't choke on unknown options, it will just issue warnings
5647      # or remarks (even with -Werror).  So we grep stderr for any message
5648      # that says an option was ignored or not supported.
5649      # When given -MP, icc 7.0 and 7.1 complain thusly:
5650      #   icc: Command line warning: ignoring option '-M'; no argument required
5651      # The diagnosis changed in icc 8.0:
5652      #   icc: Command line remark: option '-MP' not supported
5653      if (grep 'ignoring option' conftest.err ||
5654          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5655        am_cv_CC_dependencies_compiler_type=$depmode
5656        break
5657      fi
5658    fi
5659  done
5660
5661  cd ..
5662  rm -rf conftest.dir
5663else
5664  am_cv_CC_dependencies_compiler_type=none
5665fi
5666
5667fi
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5669$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5670CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5671
5672 if
5673  test "x$enable_dependency_tracking" != xno \
5674  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5675  am__fastdepCC_TRUE=
5676  am__fastdepCC_FALSE='#'
5677else
5678  am__fastdepCC_TRUE='#'
5679  am__fastdepCC_FALSE=
5680fi
5681
5682
5683
5684
5685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5686$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5687set x ${MAKE-make}
5688ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5689if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5690  $as_echo_n "(cached) " >&6
5691else
5692  cat >conftest.make <<\_ACEOF
5693SHELL = /bin/sh
5694all:
5695	@echo '@@@%%%=$(MAKE)=@@@%%%'
5696_ACEOF
5697# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5698case `${MAKE-make} -f conftest.make 2>/dev/null` in
5699  *@@@%%%=?*=@@@%%%*)
5700    eval ac_cv_prog_make_${ac_make}_set=yes;;
5701  *)
5702    eval ac_cv_prog_make_${ac_make}_set=no;;
5703esac
5704rm -f conftest.make
5705fi
5706if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5708$as_echo "yes" >&6; }
5709  SET_MAKE=
5710else
5711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712$as_echo "no" >&6; }
5713  SET_MAKE="MAKE=${MAKE-make}"
5714fi
5715
5716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5717$as_echo_n "checking whether ln -s works... " >&6; }
5718LN_S=$as_ln_s
5719if test "$LN_S" = "ln -s"; then
5720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5721$as_echo "yes" >&6; }
5722else
5723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5724$as_echo "no, using $LN_S" >&6; }
5725fi
5726
5727
5728
5729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5730$as_echo_n "checking whether NLS is requested... " >&6; }
5731    # Check whether --enable-nls was given.
5732if test "${enable_nls+set}" = set; then :
5733  enableval=$enable_nls; USE_NLS=$enableval
5734else
5735  USE_NLS=yes
5736fi
5737
5738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5739$as_echo "$USE_NLS" >&6; }
5740
5741
5742
5743
5744case "$am__api_version" in
5745    1.01234)
5746	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5747    ;;
5748    *)
5749    ;;
5750esac
5751
5752INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5753INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5754INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5755if test -n "0.35.0"; then
5756    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
5757$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
5758    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5759$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5760    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5761	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
5762fi
5763
5764# Extract the first word of "intltool-update", so it can be a program name with args.
5765set dummy intltool-update; ac_word=$2
5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767$as_echo_n "checking for $ac_word... " >&6; }
5768if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
5769  $as_echo_n "(cached) " >&6
5770else
5771  case $INTLTOOL_UPDATE in
5772  [\\/]* | ?:[\\/]*)
5773  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5774  ;;
5775  *)
5776  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777for as_dir in $PATH
5778do
5779  IFS=$as_save_IFS
5780  test -z "$as_dir" && as_dir=.
5781    for ac_exec_ext in '' $ac_executable_extensions; do
5782  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5784    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785    break 2
5786  fi
5787done
5788  done
5789IFS=$as_save_IFS
5790
5791  ;;
5792esac
5793fi
5794INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5795if test -n "$INTLTOOL_UPDATE"; then
5796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5797$as_echo "$INTLTOOL_UPDATE" >&6; }
5798else
5799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800$as_echo "no" >&6; }
5801fi
5802
5803
5804# Extract the first word of "intltool-merge", so it can be a program name with args.
5805set dummy intltool-merge; ac_word=$2
5806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807$as_echo_n "checking for $ac_word... " >&6; }
5808if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
5809  $as_echo_n "(cached) " >&6
5810else
5811  case $INTLTOOL_MERGE in
5812  [\\/]* | ?:[\\/]*)
5813  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5814  ;;
5815  *)
5816  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817for as_dir in $PATH
5818do
5819  IFS=$as_save_IFS
5820  test -z "$as_dir" && as_dir=.
5821    for ac_exec_ext in '' $ac_executable_extensions; do
5822  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5824    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825    break 2
5826  fi
5827done
5828  done
5829IFS=$as_save_IFS
5830
5831  ;;
5832esac
5833fi
5834INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5835if test -n "$INTLTOOL_MERGE"; then
5836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5837$as_echo "$INTLTOOL_MERGE" >&6; }
5838else
5839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840$as_echo "no" >&6; }
5841fi
5842
5843
5844# Extract the first word of "intltool-extract", so it can be a program name with args.
5845set dummy intltool-extract; ac_word=$2
5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847$as_echo_n "checking for $ac_word... " >&6; }
5848if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5849  $as_echo_n "(cached) " >&6
5850else
5851  case $INTLTOOL_EXTRACT in
5852  [\\/]* | ?:[\\/]*)
5853  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5854  ;;
5855  *)
5856  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857for as_dir in $PATH
5858do
5859  IFS=$as_save_IFS
5860  test -z "$as_dir" && as_dir=.
5861    for ac_exec_ext in '' $ac_executable_extensions; do
5862  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865    break 2
5866  fi
5867done
5868  done
5869IFS=$as_save_IFS
5870
5871  ;;
5872esac
5873fi
5874INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5875if test -n "$INTLTOOL_EXTRACT"; then
5876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5877$as_echo "$INTLTOOL_EXTRACT" >&6; }
5878else
5879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880$as_echo "no" >&6; }
5881fi
5882
5883
5884if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5885    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5886fi
5887
5888if test -z "$AM_DEFAULT_VERBOSITY"; then
5889  AM_DEFAULT_VERBOSITY=1
5890fi
5891
5892
5893INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
5894INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
5895INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
5896
5897
5898
5899
5900INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
5901intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
5902intltool__v_merge_options_0='-q'
5903
5904
5905
5906
5907  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 $< $@'
5908INTLTOOL_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 $< $@'
5909     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 $< $@'
5910     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 $< $@'
5911      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 $< $@'
5912     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 $< $@'
5913   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 $< $@'
5914    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 $< $@'
5915INTLTOOL_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 $< $@'
5916       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 $< $@'
5917      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 $< $@'
5918if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5919      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 $< $@'
5920else
5921      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'
5922fi
5923      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 $< $@'
5924      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 $< $@'
5925    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 $< $@'
5926  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 $< $@'
5927    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 $< $@'
5928    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 $< $@'
5929   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 $< $@'
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027# Check the gettext tools to make sure they are GNU
6028# Extract the first word of "xgettext", so it can be a program name with args.
6029set dummy xgettext; ac_word=$2
6030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031$as_echo_n "checking for $ac_word... " >&6; }
6032if ${ac_cv_path_XGETTEXT+:} false; then :
6033  $as_echo_n "(cached) " >&6
6034else
6035  case $XGETTEXT in
6036  [\\/]* | ?:[\\/]*)
6037  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6038  ;;
6039  *)
6040  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041for as_dir in $PATH
6042do
6043  IFS=$as_save_IFS
6044  test -z "$as_dir" && as_dir=.
6045    for ac_exec_ext in '' $ac_executable_extensions; do
6046  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6047    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049    break 2
6050  fi
6051done
6052  done
6053IFS=$as_save_IFS
6054
6055  ;;
6056esac
6057fi
6058XGETTEXT=$ac_cv_path_XGETTEXT
6059if test -n "$XGETTEXT"; then
6060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6061$as_echo "$XGETTEXT" >&6; }
6062else
6063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064$as_echo "no" >&6; }
6065fi
6066
6067
6068# Extract the first word of "msgmerge", so it can be a program name with args.
6069set dummy msgmerge; ac_word=$2
6070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071$as_echo_n "checking for $ac_word... " >&6; }
6072if ${ac_cv_path_MSGMERGE+:} false; then :
6073  $as_echo_n "(cached) " >&6
6074else
6075  case $MSGMERGE in
6076  [\\/]* | ?:[\\/]*)
6077  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6078  ;;
6079  *)
6080  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081for as_dir in $PATH
6082do
6083  IFS=$as_save_IFS
6084  test -z "$as_dir" && as_dir=.
6085    for ac_exec_ext in '' $ac_executable_extensions; do
6086  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6087    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089    break 2
6090  fi
6091done
6092  done
6093IFS=$as_save_IFS
6094
6095  ;;
6096esac
6097fi
6098MSGMERGE=$ac_cv_path_MSGMERGE
6099if test -n "$MSGMERGE"; then
6100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6101$as_echo "$MSGMERGE" >&6; }
6102else
6103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104$as_echo "no" >&6; }
6105fi
6106
6107
6108# Extract the first word of "msgfmt", so it can be a program name with args.
6109set dummy msgfmt; ac_word=$2
6110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111$as_echo_n "checking for $ac_word... " >&6; }
6112if ${ac_cv_path_MSGFMT+:} false; then :
6113  $as_echo_n "(cached) " >&6
6114else
6115  case $MSGFMT in
6116  [\\/]* | ?:[\\/]*)
6117  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6118  ;;
6119  *)
6120  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121for as_dir in $PATH
6122do
6123  IFS=$as_save_IFS
6124  test -z "$as_dir" && as_dir=.
6125    for ac_exec_ext in '' $ac_executable_extensions; do
6126  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129    break 2
6130  fi
6131done
6132  done
6133IFS=$as_save_IFS
6134
6135  ;;
6136esac
6137fi
6138MSGFMT=$ac_cv_path_MSGFMT
6139if test -n "$MSGFMT"; then
6140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6141$as_echo "$MSGFMT" >&6; }
6142else
6143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144$as_echo "no" >&6; }
6145fi
6146
6147
6148# Extract the first word of "gmsgfmt", so it can be a program name with args.
6149set dummy gmsgfmt; ac_word=$2
6150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151$as_echo_n "checking for $ac_word... " >&6; }
6152if ${ac_cv_path_GMSGFMT+:} false; then :
6153  $as_echo_n "(cached) " >&6
6154else
6155  case $GMSGFMT in
6156  [\\/]* | ?:[\\/]*)
6157  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6158  ;;
6159  *)
6160  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161for as_dir in $PATH
6162do
6163  IFS=$as_save_IFS
6164  test -z "$as_dir" && as_dir=.
6165    for ac_exec_ext in '' $ac_executable_extensions; do
6166  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6168    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169    break 2
6170  fi
6171done
6172  done
6173IFS=$as_save_IFS
6174
6175  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6176  ;;
6177esac
6178fi
6179GMSGFMT=$ac_cv_path_GMSGFMT
6180if test -n "$GMSGFMT"; then
6181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6182$as_echo "$GMSGFMT" >&6; }
6183else
6184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185$as_echo "no" >&6; }
6186fi
6187
6188
6189if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6190    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6191fi
6192xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6193mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6194mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6195if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6196    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6197fi
6198
6199# Extract the first word of "perl", so it can be a program name with args.
6200set dummy perl; ac_word=$2
6201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202$as_echo_n "checking for $ac_word... " >&6; }
6203if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
6204  $as_echo_n "(cached) " >&6
6205else
6206  case $INTLTOOL_PERL in
6207  [\\/]* | ?:[\\/]*)
6208  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6209  ;;
6210  *)
6211  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212for as_dir in $PATH
6213do
6214  IFS=$as_save_IFS
6215  test -z "$as_dir" && as_dir=.
6216    for ac_exec_ext in '' $ac_executable_extensions; do
6217  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6218    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6219    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220    break 2
6221  fi
6222done
6223  done
6224IFS=$as_save_IFS
6225
6226  ;;
6227esac
6228fi
6229INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6230if test -n "$INTLTOOL_PERL"; then
6231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6232$as_echo "$INTLTOOL_PERL" >&6; }
6233else
6234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235$as_echo "no" >&6; }
6236fi
6237
6238
6239if test -z "$INTLTOOL_PERL"; then
6240   as_fn_error $? "perl not found" "$LINENO" 5
6241fi
6242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6243$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6244$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6245if test $? -ne 0; then
6246   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
6247else
6248   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6250$as_echo "$IT_PERL_VERSION" >&6; }
6251fi
6252if test "x" != "xno-xml"; then
6253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6254$as_echo_n "checking for XML::Parser... " >&6; }
6255   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6256       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6257$as_echo "ok" >&6; }
6258   else
6259       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
6260   fi
6261fi
6262
6263# Substitute ALL_LINGUAS so we can use it in po/Makefile
6264
6265
6266
6267
6268
6269
6270
6271case `pwd` in
6272  *\ * | *\	*)
6273    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6274$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6275esac
6276
6277
6278
6279macro_version='2.4.6.42-b88ce-dirty'
6280macro_revision='2.4.6.42'
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294ltmain=$ac_aux_dir/ltmain.sh
6295
6296# Make sure we can run config.sub.
6297$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6298  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6299
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6301$as_echo_n "checking build system type... " >&6; }
6302if ${ac_cv_build+:} false; then :
6303  $as_echo_n "(cached) " >&6
6304else
6305  ac_build_alias=$build_alias
6306test "x$ac_build_alias" = x &&
6307  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6308test "x$ac_build_alias" = x &&
6309  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6310ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6311  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6312
6313fi
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6315$as_echo "$ac_cv_build" >&6; }
6316case $ac_cv_build in
6317*-*-*) ;;
6318*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6319esac
6320build=$ac_cv_build
6321ac_save_IFS=$IFS; IFS='-'
6322set x $ac_cv_build
6323shift
6324build_cpu=$1
6325build_vendor=$2
6326shift; shift
6327# Remember, the first character of IFS is used to create $*,
6328# except with old shells:
6329build_os=$*
6330IFS=$ac_save_IFS
6331case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6332
6333
6334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6335$as_echo_n "checking host system type... " >&6; }
6336if ${ac_cv_host+:} false; then :
6337  $as_echo_n "(cached) " >&6
6338else
6339  if test "x$host_alias" = x; then
6340  ac_cv_host=$ac_cv_build
6341else
6342  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6343    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6344fi
6345
6346fi
6347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6348$as_echo "$ac_cv_host" >&6; }
6349case $ac_cv_host in
6350*-*-*) ;;
6351*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6352esac
6353host=$ac_cv_host
6354ac_save_IFS=$IFS; IFS='-'
6355set x $ac_cv_host
6356shift
6357host_cpu=$1
6358host_vendor=$2
6359shift; shift
6360# Remember, the first character of IFS is used to create $*,
6361# except with old shells:
6362host_os=$*
6363IFS=$ac_save_IFS
6364case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6365
6366
6367# Backslashify metacharacters that are still active within
6368# double-quoted strings.
6369sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6370
6371# Same as above, but do not quote variable references.
6372double_quote_subst='s/\(["`\\]\)/\\\1/g'
6373
6374# Sed substitution to delay expansion of an escaped shell variable in a
6375# double_quote_subst'ed string.
6376delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6377
6378# Sed substitution to delay expansion of an escaped single quote.
6379delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6380
6381# Sed substitution to avoid accidental globbing in evaled expressions
6382no_glob_subst='s/\*/\\\*/g'
6383
6384ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6385ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6386ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6387
6388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6389$as_echo_n "checking how to print strings... " >&6; }
6390# Test print first, because it will be a builtin if present.
6391if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6392   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6393  ECHO='print -r --'
6394elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6395  ECHO='printf %s\n'
6396else
6397  # Use this function as a fallback that always works.
6398  func_fallback_echo ()
6399  {
6400    eval 'cat <<_LTECHO_EOF
6401$1
6402_LTECHO_EOF'
6403  }
6404  ECHO='func_fallback_echo'
6405fi
6406
6407# func_echo_all arg...
6408# Invoke $ECHO with all args, space-separated.
6409func_echo_all ()
6410{
6411    $ECHO ""
6412}
6413
6414case $ECHO in
6415  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6416$as_echo "printf" >&6; } ;;
6417  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6418$as_echo "print -r" >&6; } ;;
6419  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6420$as_echo "cat" >&6; } ;;
6421esac
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6437$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6438if ${ac_cv_path_SED+:} false; then :
6439  $as_echo_n "(cached) " >&6
6440else
6441            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6442     for ac_i in 1 2 3 4 5 6 7; do
6443       ac_script="$ac_script$as_nl$ac_script"
6444     done
6445     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6446     { ac_script=; unset ac_script;}
6447     if test -z "$SED"; then
6448  ac_path_SED_found=false
6449  # Loop through the user's path and test for each of PROGNAME-LIST
6450  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451for as_dir in $PATH
6452do
6453  IFS=$as_save_IFS
6454  test -z "$as_dir" && as_dir=.
6455    for ac_prog in sed gsed; do
6456    for ac_exec_ext in '' $ac_executable_extensions; do
6457      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6458      as_fn_executable_p "$ac_path_SED" || continue
6459# Check for GNU ac_path_SED and select it if it is found.
6460  # Check for GNU $ac_path_SED
6461case `"$ac_path_SED" --version 2>&1` in
6462*GNU*)
6463  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6464*)
6465  ac_count=0
6466  $as_echo_n 0123456789 >"conftest.in"
6467  while :
6468  do
6469    cat "conftest.in" "conftest.in" >"conftest.tmp"
6470    mv "conftest.tmp" "conftest.in"
6471    cp "conftest.in" "conftest.nl"
6472    $as_echo '' >> "conftest.nl"
6473    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6474    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6475    as_fn_arith $ac_count + 1 && ac_count=$as_val
6476    if test $ac_count -gt ${ac_path_SED_max-0}; then
6477      # Best one so far, save it but keep looking for a better one
6478      ac_cv_path_SED="$ac_path_SED"
6479      ac_path_SED_max=$ac_count
6480    fi
6481    # 10*(2^10) chars as input seems more than enough
6482    test $ac_count -gt 10 && break
6483  done
6484  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6485esac
6486
6487      $ac_path_SED_found && break 3
6488    done
6489  done
6490  done
6491IFS=$as_save_IFS
6492  if test -z "$ac_cv_path_SED"; then
6493    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6494  fi
6495else
6496  ac_cv_path_SED=$SED
6497fi
6498
6499fi
6500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6501$as_echo "$ac_cv_path_SED" >&6; }
6502 SED="$ac_cv_path_SED"
6503  rm -f conftest.sed
6504
6505test -z "$SED" && SED=sed
6506Xsed="$SED -e 1s/^X//"
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6519$as_echo_n "checking for fgrep... " >&6; }
6520if ${ac_cv_path_FGREP+:} false; then :
6521  $as_echo_n "(cached) " >&6
6522else
6523  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6524   then ac_cv_path_FGREP="$GREP -F"
6525   else
6526     if test -z "$FGREP"; then
6527  ac_path_FGREP_found=false
6528  # Loop through the user's path and test for each of PROGNAME-LIST
6529  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6531do
6532  IFS=$as_save_IFS
6533  test -z "$as_dir" && as_dir=.
6534    for ac_prog in fgrep; do
6535    for ac_exec_ext in '' $ac_executable_extensions; do
6536      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6537      as_fn_executable_p "$ac_path_FGREP" || continue
6538# Check for GNU ac_path_FGREP and select it if it is found.
6539  # Check for GNU $ac_path_FGREP
6540case `"$ac_path_FGREP" --version 2>&1` in
6541*GNU*)
6542  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6543*)
6544  ac_count=0
6545  $as_echo_n 0123456789 >"conftest.in"
6546  while :
6547  do
6548    cat "conftest.in" "conftest.in" >"conftest.tmp"
6549    mv "conftest.tmp" "conftest.in"
6550    cp "conftest.in" "conftest.nl"
6551    $as_echo 'FGREP' >> "conftest.nl"
6552    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6553    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6554    as_fn_arith $ac_count + 1 && ac_count=$as_val
6555    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6556      # Best one so far, save it but keep looking for a better one
6557      ac_cv_path_FGREP="$ac_path_FGREP"
6558      ac_path_FGREP_max=$ac_count
6559    fi
6560    # 10*(2^10) chars as input seems more than enough
6561    test $ac_count -gt 10 && break
6562  done
6563  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6564esac
6565
6566      $ac_path_FGREP_found && break 3
6567    done
6568  done
6569  done
6570IFS=$as_save_IFS
6571  if test -z "$ac_cv_path_FGREP"; then
6572    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6573  fi
6574else
6575  ac_cv_path_FGREP=$FGREP
6576fi
6577
6578   fi
6579fi
6580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6581$as_echo "$ac_cv_path_FGREP" >&6; }
6582 FGREP="$ac_cv_path_FGREP"
6583
6584
6585test -z "$GREP" && GREP=grep
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605# Check whether --with-gnu-ld was given.
6606if test "${with_gnu_ld+set}" = set; then :
6607  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6608else
6609  with_gnu_ld=no
6610fi
6611
6612ac_prog=ld
6613if test yes = "$GCC"; then
6614  # Check if gcc -print-prog-name=ld gives a path.
6615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6616$as_echo_n "checking for ld used by $CC... " >&6; }
6617  case $host in
6618  *-*-mingw*)
6619    # gcc leaves a trailing carriage return, which upsets mingw
6620    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6621  *)
6622    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6623  esac
6624  case $ac_prog in
6625    # Accept absolute paths.
6626    [\\/]* | ?:[\\/]*)
6627      re_direlt='/[^/][^/]*/\.\./'
6628      # Canonicalize the pathname of ld
6629      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6630      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6631	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6632      done
6633      test -z "$LD" && LD=$ac_prog
6634      ;;
6635  "")
6636    # If it fails, then pretend we aren't using GCC.
6637    ac_prog=ld
6638    ;;
6639  *)
6640    # If it is relative, then search for the first ld in PATH.
6641    with_gnu_ld=unknown
6642    ;;
6643  esac
6644elif test yes = "$with_gnu_ld"; then
6645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6646$as_echo_n "checking for GNU ld... " >&6; }
6647else
6648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6649$as_echo_n "checking for non-GNU ld... " >&6; }
6650fi
6651if ${lt_cv_path_LD+:} false; then :
6652  $as_echo_n "(cached) " >&6
6653else
6654  if test -z "$LD"; then
6655  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6656  for ac_dir in $PATH; do
6657    IFS=$lt_save_ifs
6658    test -z "$ac_dir" && ac_dir=.
6659    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6660      lt_cv_path_LD=$ac_dir/$ac_prog
6661      # Check to see if the program is GNU ld.  I'd rather use --version,
6662      # but apparently some variants of GNU ld only accept -v.
6663      # Break only if it was the GNU/non-GNU ld that we prefer.
6664      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6665      *GNU* | *'with BFD'*)
6666	test no != "$with_gnu_ld" && break
6667	;;
6668      *)
6669	test yes != "$with_gnu_ld" && break
6670	;;
6671      esac
6672    fi
6673  done
6674  IFS=$lt_save_ifs
6675else
6676  lt_cv_path_LD=$LD # Let the user override the test with a path.
6677fi
6678fi
6679
6680LD=$lt_cv_path_LD
6681if test -n "$LD"; then
6682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6683$as_echo "$LD" >&6; }
6684else
6685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686$as_echo "no" >&6; }
6687fi
6688test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6690$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6691if ${lt_cv_prog_gnu_ld+:} false; then :
6692  $as_echo_n "(cached) " >&6
6693else
6694  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6695case `$LD -v 2>&1 </dev/null` in
6696*GNU* | *'with BFD'*)
6697  lt_cv_prog_gnu_ld=yes
6698  ;;
6699*)
6700  lt_cv_prog_gnu_ld=no
6701  ;;
6702esac
6703fi
6704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6705$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6706with_gnu_ld=$lt_cv_prog_gnu_ld
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6717$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6718if ${lt_cv_path_NM+:} false; then :
6719  $as_echo_n "(cached) " >&6
6720else
6721  if test -n "$NM"; then
6722  # Let the user override the test.
6723  lt_cv_path_NM=$NM
6724else
6725  lt_nm_to_check=${ac_tool_prefix}nm
6726  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6727    lt_nm_to_check="$lt_nm_to_check nm"
6728  fi
6729  for lt_tmp_nm in $lt_nm_to_check; do
6730    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6731    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6732      IFS=$lt_save_ifs
6733      test -z "$ac_dir" && ac_dir=.
6734      tmp_nm=$ac_dir/$lt_tmp_nm
6735      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6736	# Check to see if the nm accepts a BSD-compat flag.
6737	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6738	#   nm: unknown option "B" ignored
6739	# Tru64's nm complains that /dev/null is an invalid object file
6740	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6741	case $build_os in
6742	mingw*) lt_bad_file=conftest.nm/nofile ;;
6743	*) lt_bad_file=/dev/null ;;
6744	esac
6745	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6746	*$lt_bad_file* | *'Invalid file or object type'*)
6747	  lt_cv_path_NM="$tmp_nm -B"
6748	  break 2
6749	  ;;
6750	*)
6751	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6752	  */dev/null*)
6753	    lt_cv_path_NM="$tmp_nm -p"
6754	    break 2
6755	    ;;
6756	  *)
6757	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6758	    continue # so that we can try to find one that supports BSD flags
6759	    ;;
6760	  esac
6761	  ;;
6762	esac
6763      fi
6764    done
6765    IFS=$lt_save_ifs
6766  done
6767  : ${lt_cv_path_NM=no}
6768fi
6769fi
6770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6771$as_echo "$lt_cv_path_NM" >&6; }
6772if test no != "$lt_cv_path_NM"; then
6773  NM=$lt_cv_path_NM
6774else
6775  # Didn't find any BSD compatible name lister, look for dumpbin.
6776  if test -n "$DUMPBIN"; then :
6777    # Let the user override the test.
6778  else
6779    if test -n "$ac_tool_prefix"; then
6780  for ac_prog in dumpbin "link -dump"
6781  do
6782    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6783set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785$as_echo_n "checking for $ac_word... " >&6; }
6786if ${ac_cv_prog_DUMPBIN+:} false; then :
6787  $as_echo_n "(cached) " >&6
6788else
6789  if test -n "$DUMPBIN"; then
6790  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6791else
6792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793for as_dir in $PATH
6794do
6795  IFS=$as_save_IFS
6796  test -z "$as_dir" && as_dir=.
6797    for ac_exec_ext in '' $ac_executable_extensions; do
6798  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801    break 2
6802  fi
6803done
6804  done
6805IFS=$as_save_IFS
6806
6807fi
6808fi
6809DUMPBIN=$ac_cv_prog_DUMPBIN
6810if test -n "$DUMPBIN"; then
6811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6812$as_echo "$DUMPBIN" >&6; }
6813else
6814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815$as_echo "no" >&6; }
6816fi
6817
6818
6819    test -n "$DUMPBIN" && break
6820  done
6821fi
6822if test -z "$DUMPBIN"; then
6823  ac_ct_DUMPBIN=$DUMPBIN
6824  for ac_prog in dumpbin "link -dump"
6825do
6826  # Extract the first word of "$ac_prog", so it can be a program name with args.
6827set dummy $ac_prog; ac_word=$2
6828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829$as_echo_n "checking for $ac_word... " >&6; }
6830if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6831  $as_echo_n "(cached) " >&6
6832else
6833  if test -n "$ac_ct_DUMPBIN"; then
6834  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6835else
6836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837for as_dir in $PATH
6838do
6839  IFS=$as_save_IFS
6840  test -z "$as_dir" && as_dir=.
6841    for ac_exec_ext in '' $ac_executable_extensions; do
6842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845    break 2
6846  fi
6847done
6848  done
6849IFS=$as_save_IFS
6850
6851fi
6852fi
6853ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6854if test -n "$ac_ct_DUMPBIN"; then
6855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6856$as_echo "$ac_ct_DUMPBIN" >&6; }
6857else
6858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859$as_echo "no" >&6; }
6860fi
6861
6862
6863  test -n "$ac_ct_DUMPBIN" && break
6864done
6865
6866  if test "x$ac_ct_DUMPBIN" = x; then
6867    DUMPBIN=":"
6868  else
6869    case $cross_compiling:$ac_tool_warned in
6870yes:)
6871{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6873ac_tool_warned=yes ;;
6874esac
6875    DUMPBIN=$ac_ct_DUMPBIN
6876  fi
6877fi
6878
6879    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6880    *COFF*)
6881      DUMPBIN="$DUMPBIN -symbols -headers"
6882      ;;
6883    *)
6884      DUMPBIN=:
6885      ;;
6886    esac
6887  fi
6888
6889  if test : != "$DUMPBIN"; then
6890    NM=$DUMPBIN
6891  fi
6892fi
6893test -z "$NM" && NM=nm
6894
6895
6896
6897
6898
6899
6900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6901$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6902if ${lt_cv_nm_interface+:} false; then :
6903  $as_echo_n "(cached) " >&6
6904else
6905  lt_cv_nm_interface="BSD nm"
6906  echo "int some_variable = 0;" > conftest.$ac_ext
6907  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6908  (eval "$ac_compile" 2>conftest.err)
6909  cat conftest.err >&5
6910  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6911  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6912  cat conftest.err >&5
6913  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6914  cat conftest.out >&5
6915  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6916    lt_cv_nm_interface="MS dumpbin"
6917  fi
6918  rm -f conftest*
6919fi
6920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6921$as_echo "$lt_cv_nm_interface" >&6; }
6922
6923# find the maximum length of command line arguments
6924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6925$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6926if ${lt_cv_sys_max_cmd_len+:} false; then :
6927  $as_echo_n "(cached) " >&6
6928else
6929    i=0
6930  teststring=ABCD
6931
6932  case $build_os in
6933  msdosdjgpp*)
6934    # On DJGPP, this test can blow up pretty badly due to problems in libc
6935    # (any single argument exceeding 2000 bytes causes a buffer overrun
6936    # during glob expansion).  Even if it were fixed, the result of this
6937    # check would be larger than it should be.
6938    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6939    ;;
6940
6941  gnu*)
6942    # Under GNU Hurd, this test is not required because there is
6943    # no limit to the length of command line arguments.
6944    # Libtool will interpret -1 as no limit whatsoever
6945    lt_cv_sys_max_cmd_len=-1;
6946    ;;
6947
6948  cygwin* | mingw* | cegcc*)
6949    # On Win9x/ME, this test blows up -- it succeeds, but takes
6950    # about 5 minutes as the teststring grows exponentially.
6951    # Worse, since 9x/ME are not pre-emptively multitasking,
6952    # you end up with a "frozen" computer, even though with patience
6953    # the test eventually succeeds (with a max line length of 256k).
6954    # Instead, let's just punt: use the minimum linelength reported by
6955    # all of the supported platforms: 8192 (on NT/2K/XP).
6956    lt_cv_sys_max_cmd_len=8192;
6957    ;;
6958
6959  mint*)
6960    # On MiNT this can take a long time and run out of memory.
6961    lt_cv_sys_max_cmd_len=8192;
6962    ;;
6963
6964  amigaos*)
6965    # On AmigaOS with pdksh, this test takes hours, literally.
6966    # So we just punt and use a minimum line length of 8192.
6967    lt_cv_sys_max_cmd_len=8192;
6968    ;;
6969
6970  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6971    # This has been around since 386BSD, at least.  Likely further.
6972    if test -x /sbin/sysctl; then
6973      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6974    elif test -x /usr/sbin/sysctl; then
6975      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6976    else
6977      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6978    fi
6979    # And add a safety zone
6980    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6981    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6982    ;;
6983
6984  interix*)
6985    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6986    lt_cv_sys_max_cmd_len=196608
6987    ;;
6988
6989  os2*)
6990    # The test takes a long time on OS/2.
6991    lt_cv_sys_max_cmd_len=8192
6992    ;;
6993
6994  osf*)
6995    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6996    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6997    # nice to cause kernel panics so lets avoid the loop below.
6998    # First set a reasonable default.
6999    lt_cv_sys_max_cmd_len=16384
7000    #
7001    if test -x /sbin/sysconfig; then
7002      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7003        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7004      esac
7005    fi
7006    ;;
7007  sco3.2v5*)
7008    lt_cv_sys_max_cmd_len=102400
7009    ;;
7010  sysv5* | sco5v6* | sysv4.2uw2*)
7011    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7012    if test -n "$kargmax"; then
7013      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7014    else
7015      lt_cv_sys_max_cmd_len=32768
7016    fi
7017    ;;
7018  *)
7019    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7020    if test -n "$lt_cv_sys_max_cmd_len" && \
7021       test undefined != "$lt_cv_sys_max_cmd_len"; then
7022      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7023      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7024    else
7025      # Make teststring a little bigger before we do anything with it.
7026      # a 1K string should be a reasonable start.
7027      for i in 1 2 3 4 5 6 7 8; do
7028        teststring=$teststring$teststring
7029      done
7030      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7031      # If test is not a shell built-in, we'll probably end up computing a
7032      # maximum length that is only half of the actual maximum length, but
7033      # we can't tell.
7034      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7035	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7036	      test 17 != "$i" # 1/2 MB should be enough
7037      do
7038        i=`expr $i + 1`
7039        teststring=$teststring$teststring
7040      done
7041      # Only check the string length outside the loop.
7042      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7043      teststring=
7044      # Add a significant safety factor because C++ compilers can tack on
7045      # massive amounts of additional arguments before passing them to the
7046      # linker.  It appears as though 1/2 is a usable value.
7047      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7048    fi
7049    ;;
7050  esac
7051
7052fi
7053
7054if test -n "$lt_cv_sys_max_cmd_len"; then
7055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7056$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7057else
7058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7059$as_echo "none" >&6; }
7060fi
7061max_cmd_len=$lt_cv_sys_max_cmd_len
7062
7063
7064
7065
7066
7067
7068: ${CP="cp -f"}
7069: ${MV="mv -f"}
7070: ${RM="rm -f"}
7071
7072if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7073  lt_unset=unset
7074else
7075  lt_unset=false
7076fi
7077
7078
7079
7080
7081
7082# test EBCDIC or ASCII
7083case `echo X|tr X '\101'` in
7084 A) # ASCII based system
7085    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7086  lt_SP2NL='tr \040 \012'
7087  lt_NL2SP='tr \015\012 \040\040'
7088  ;;
7089 *) # EBCDIC based system
7090  lt_SP2NL='tr \100 \n'
7091  lt_NL2SP='tr \r\n \100\100'
7092  ;;
7093esac
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7104$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7105if ${lt_cv_to_host_file_cmd+:} false; then :
7106  $as_echo_n "(cached) " >&6
7107else
7108  case $host in
7109  *-*-mingw* )
7110    case $build in
7111      *-*-mingw* ) # actually msys
7112        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7113        ;;
7114      *-*-cygwin* )
7115        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7116        ;;
7117      * ) # otherwise, assume *nix
7118        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7119        ;;
7120    esac
7121    ;;
7122  *-*-cygwin* )
7123    case $build in
7124      *-*-mingw* ) # actually msys
7125        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7126        ;;
7127      *-*-cygwin* )
7128        lt_cv_to_host_file_cmd=func_convert_file_noop
7129        ;;
7130      * ) # otherwise, assume *nix
7131        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7132        ;;
7133    esac
7134    ;;
7135  * ) # unhandled hosts (and "normal" native builds)
7136    lt_cv_to_host_file_cmd=func_convert_file_noop
7137    ;;
7138esac
7139
7140fi
7141
7142to_host_file_cmd=$lt_cv_to_host_file_cmd
7143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7144$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7145
7146
7147
7148
7149
7150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7151$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7152if ${lt_cv_to_tool_file_cmd+:} false; then :
7153  $as_echo_n "(cached) " >&6
7154else
7155  #assume ordinary cross tools, or native build.
7156lt_cv_to_tool_file_cmd=func_convert_file_noop
7157case $host in
7158  *-*-mingw* )
7159    case $build in
7160      *-*-mingw* ) # actually msys
7161        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7162        ;;
7163    esac
7164    ;;
7165esac
7166
7167fi
7168
7169to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7171$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7172
7173
7174
7175
7176
7177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7178$as_echo_n "checking for $LD option to reload object files... " >&6; }
7179if ${lt_cv_ld_reload_flag+:} false; then :
7180  $as_echo_n "(cached) " >&6
7181else
7182  lt_cv_ld_reload_flag='-r'
7183fi
7184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7185$as_echo "$lt_cv_ld_reload_flag" >&6; }
7186reload_flag=$lt_cv_ld_reload_flag
7187case $reload_flag in
7188"" | " "*) ;;
7189*) reload_flag=" $reload_flag" ;;
7190esac
7191reload_cmds='$LD$reload_flag -o $output$reload_objs'
7192case $host_os in
7193  cygwin* | mingw* | pw32* | cegcc*)
7194    if test yes != "$GCC"; then
7195      reload_cmds=false
7196    fi
7197    ;;
7198  darwin*)
7199    if test yes = "$GCC"; then
7200      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7201    else
7202      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7203    fi
7204    ;;
7205esac
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215if test -n "$ac_tool_prefix"; then
7216  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7217set dummy ${ac_tool_prefix}objdump; ac_word=$2
7218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219$as_echo_n "checking for $ac_word... " >&6; }
7220if ${ac_cv_prog_OBJDUMP+:} false; then :
7221  $as_echo_n "(cached) " >&6
7222else
7223  if test -n "$OBJDUMP"; then
7224  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7225else
7226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227for as_dir in $PATH
7228do
7229  IFS=$as_save_IFS
7230  test -z "$as_dir" && as_dir=.
7231    for ac_exec_ext in '' $ac_executable_extensions; do
7232  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7234    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235    break 2
7236  fi
7237done
7238  done
7239IFS=$as_save_IFS
7240
7241fi
7242fi
7243OBJDUMP=$ac_cv_prog_OBJDUMP
7244if test -n "$OBJDUMP"; then
7245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7246$as_echo "$OBJDUMP" >&6; }
7247else
7248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249$as_echo "no" >&6; }
7250fi
7251
7252
7253fi
7254if test -z "$ac_cv_prog_OBJDUMP"; then
7255  ac_ct_OBJDUMP=$OBJDUMP
7256  # Extract the first word of "objdump", so it can be a program name with args.
7257set dummy objdump; ac_word=$2
7258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259$as_echo_n "checking for $ac_word... " >&6; }
7260if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7261  $as_echo_n "(cached) " >&6
7262else
7263  if test -n "$ac_ct_OBJDUMP"; then
7264  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7265else
7266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267for as_dir in $PATH
7268do
7269  IFS=$as_save_IFS
7270  test -z "$as_dir" && as_dir=.
7271    for ac_exec_ext in '' $ac_executable_extensions; do
7272  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7274    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275    break 2
7276  fi
7277done
7278  done
7279IFS=$as_save_IFS
7280
7281fi
7282fi
7283ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7284if test -n "$ac_ct_OBJDUMP"; then
7285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7286$as_echo "$ac_ct_OBJDUMP" >&6; }
7287else
7288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289$as_echo "no" >&6; }
7290fi
7291
7292  if test "x$ac_ct_OBJDUMP" = x; then
7293    OBJDUMP="false"
7294  else
7295    case $cross_compiling:$ac_tool_warned in
7296yes:)
7297{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7298$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7299ac_tool_warned=yes ;;
7300esac
7301    OBJDUMP=$ac_ct_OBJDUMP
7302  fi
7303else
7304  OBJDUMP="$ac_cv_prog_OBJDUMP"
7305fi
7306
7307test -z "$OBJDUMP" && OBJDUMP=objdump
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7318$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7319if ${lt_cv_deplibs_check_method+:} false; then :
7320  $as_echo_n "(cached) " >&6
7321else
7322  lt_cv_file_magic_cmd='$MAGIC_CMD'
7323lt_cv_file_magic_test_file=
7324lt_cv_deplibs_check_method='unknown'
7325# Need to set the preceding variable on all platforms that support
7326# interlibrary dependencies.
7327# 'none' -- dependencies not supported.
7328# 'unknown' -- same as none, but documents that we really don't know.
7329# 'pass_all' -- all dependencies passed with no checks.
7330# 'test_compile' -- check by making test program.
7331# 'file_magic [[regex]]' -- check by looking for files in library path
7332# that responds to the $file_magic_cmd with a given extended regex.
7333# If you have 'file' or equivalent on your system and you're not sure
7334# whether 'pass_all' will *always* work, you probably want this one.
7335
7336case $host_os in
7337aix[4-9]*)
7338  lt_cv_deplibs_check_method=pass_all
7339  ;;
7340
7341beos*)
7342  lt_cv_deplibs_check_method=pass_all
7343  ;;
7344
7345bsdi[45]*)
7346  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7347  lt_cv_file_magic_cmd='/usr/bin/file -L'
7348  lt_cv_file_magic_test_file=/shlib/libc.so
7349  ;;
7350
7351cygwin*)
7352  # func_win32_libid is a shell function defined in ltmain.sh
7353  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7354  lt_cv_file_magic_cmd='func_win32_libid'
7355  ;;
7356
7357mingw* | pw32*)
7358  # Base MSYS/MinGW do not provide the 'file' command needed by
7359  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7360  # unless we find 'file', for example because we are cross-compiling.
7361  if ( file / ) >/dev/null 2>&1; then
7362    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7363    lt_cv_file_magic_cmd='func_win32_libid'
7364  else
7365    # Keep this pattern in sync with the one in func_win32_libid.
7366    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7367    lt_cv_file_magic_cmd='$OBJDUMP -f'
7368  fi
7369  ;;
7370
7371cegcc*)
7372  # use the weaker test based on 'objdump'. See mingw*.
7373  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7374  lt_cv_file_magic_cmd='$OBJDUMP -f'
7375  ;;
7376
7377darwin* | rhapsody*)
7378  lt_cv_deplibs_check_method=pass_all
7379  ;;
7380
7381freebsd* | dragonfly*)
7382  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7383    case $host_cpu in
7384    i*86 )
7385      # Not sure whether the presence of OpenBSD here was a mistake.
7386      # Let's accept both of them until this is cleared up.
7387      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7388      lt_cv_file_magic_cmd=/usr/bin/file
7389      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7390      ;;
7391    esac
7392  else
7393    lt_cv_deplibs_check_method=pass_all
7394  fi
7395  ;;
7396
7397haiku*)
7398  lt_cv_deplibs_check_method=pass_all
7399  ;;
7400
7401hpux10.20* | hpux11*)
7402  lt_cv_file_magic_cmd=/usr/bin/file
7403  case $host_cpu in
7404  ia64*)
7405    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7406    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7407    ;;
7408  hppa*64*)
7409    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]'
7410    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7411    ;;
7412  *)
7413    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7414    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7415    ;;
7416  esac
7417  ;;
7418
7419interix[3-9]*)
7420  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7421  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7422  ;;
7423
7424irix5* | irix6* | nonstopux*)
7425  case $LD in
7426  *-32|*"-32 ") libmagic=32-bit;;
7427  *-n32|*"-n32 ") libmagic=N32;;
7428  *-64|*"-64 ") libmagic=64-bit;;
7429  *) libmagic=never-match;;
7430  esac
7431  lt_cv_deplibs_check_method=pass_all
7432  ;;
7433
7434# This must be glibc/ELF.
7435linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7436  lt_cv_deplibs_check_method=pass_all
7437  ;;
7438
7439netbsd*)
7440  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7441    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7442  else
7443    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7444  fi
7445  ;;
7446
7447newos6*)
7448  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7449  lt_cv_file_magic_cmd=/usr/bin/file
7450  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7451  ;;
7452
7453*nto* | *qnx*)
7454  lt_cv_deplibs_check_method=pass_all
7455  ;;
7456
7457openbsd* | bitrig*)
7458  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7459    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7460  else
7461    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7462  fi
7463  ;;
7464
7465osf3* | osf4* | osf5*)
7466  lt_cv_deplibs_check_method=pass_all
7467  ;;
7468
7469rdos*)
7470  lt_cv_deplibs_check_method=pass_all
7471  ;;
7472
7473solaris*)
7474  lt_cv_deplibs_check_method=pass_all
7475  ;;
7476
7477sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7478  lt_cv_deplibs_check_method=pass_all
7479  ;;
7480
7481sysv4 | sysv4.3*)
7482  case $host_vendor in
7483  motorola)
7484    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]'
7485    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7486    ;;
7487  ncr)
7488    lt_cv_deplibs_check_method=pass_all
7489    ;;
7490  sequent)
7491    lt_cv_file_magic_cmd='/bin/file'
7492    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7493    ;;
7494  sni)
7495    lt_cv_file_magic_cmd='/bin/file'
7496    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7497    lt_cv_file_magic_test_file=/lib/libc.so
7498    ;;
7499  siemens)
7500    lt_cv_deplibs_check_method=pass_all
7501    ;;
7502  pc)
7503    lt_cv_deplibs_check_method=pass_all
7504    ;;
7505  esac
7506  ;;
7507
7508tpf*)
7509  lt_cv_deplibs_check_method=pass_all
7510  ;;
7511os2*)
7512  lt_cv_deplibs_check_method=pass_all
7513  ;;
7514esac
7515
7516fi
7517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7518$as_echo "$lt_cv_deplibs_check_method" >&6; }
7519
7520file_magic_glob=
7521want_nocaseglob=no
7522if test "$build" = "$host"; then
7523  case $host_os in
7524  mingw* | pw32*)
7525    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7526      want_nocaseglob=yes
7527    else
7528      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7529    fi
7530    ;;
7531  esac
7532fi
7533
7534file_magic_cmd=$lt_cv_file_magic_cmd
7535deplibs_check_method=$lt_cv_deplibs_check_method
7536test -z "$deplibs_check_method" && deplibs_check_method=unknown
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559if test -n "$ac_tool_prefix"; then
7560  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7561set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563$as_echo_n "checking for $ac_word... " >&6; }
7564if ${ac_cv_prog_DLLTOOL+:} false; then :
7565  $as_echo_n "(cached) " >&6
7566else
7567  if test -n "$DLLTOOL"; then
7568  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7569else
7570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571for as_dir in $PATH
7572do
7573  IFS=$as_save_IFS
7574  test -z "$as_dir" && as_dir=.
7575    for ac_exec_ext in '' $ac_executable_extensions; do
7576  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7577    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579    break 2
7580  fi
7581done
7582  done
7583IFS=$as_save_IFS
7584
7585fi
7586fi
7587DLLTOOL=$ac_cv_prog_DLLTOOL
7588if test -n "$DLLTOOL"; then
7589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7590$as_echo "$DLLTOOL" >&6; }
7591else
7592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593$as_echo "no" >&6; }
7594fi
7595
7596
7597fi
7598if test -z "$ac_cv_prog_DLLTOOL"; then
7599  ac_ct_DLLTOOL=$DLLTOOL
7600  # Extract the first word of "dlltool", so it can be a program name with args.
7601set dummy dlltool; ac_word=$2
7602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603$as_echo_n "checking for $ac_word... " >&6; }
7604if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7605  $as_echo_n "(cached) " >&6
7606else
7607  if test -n "$ac_ct_DLLTOOL"; then
7608  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7609else
7610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611for as_dir in $PATH
7612do
7613  IFS=$as_save_IFS
7614  test -z "$as_dir" && as_dir=.
7615    for ac_exec_ext in '' $ac_executable_extensions; do
7616  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7618    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619    break 2
7620  fi
7621done
7622  done
7623IFS=$as_save_IFS
7624
7625fi
7626fi
7627ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7628if test -n "$ac_ct_DLLTOOL"; then
7629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7630$as_echo "$ac_ct_DLLTOOL" >&6; }
7631else
7632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633$as_echo "no" >&6; }
7634fi
7635
7636  if test "x$ac_ct_DLLTOOL" = x; then
7637    DLLTOOL="false"
7638  else
7639    case $cross_compiling:$ac_tool_warned in
7640yes:)
7641{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7642$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7643ac_tool_warned=yes ;;
7644esac
7645    DLLTOOL=$ac_ct_DLLTOOL
7646  fi
7647else
7648  DLLTOOL="$ac_cv_prog_DLLTOOL"
7649fi
7650
7651test -z "$DLLTOOL" && DLLTOOL=dlltool
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7663$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7664if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7665  $as_echo_n "(cached) " >&6
7666else
7667  lt_cv_sharedlib_from_linklib_cmd='unknown'
7668
7669case $host_os in
7670cygwin* | mingw* | pw32* | cegcc*)
7671  # two different shell functions defined in ltmain.sh;
7672  # decide which one to use based on capabilities of $DLLTOOL
7673  case `$DLLTOOL --help 2>&1` in
7674  *--identify-strict*)
7675    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7676    ;;
7677  *)
7678    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7679    ;;
7680  esac
7681  ;;
7682*)
7683  # fallback: assume linklib IS sharedlib
7684  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7685  ;;
7686esac
7687
7688fi
7689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7690$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7691sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7692test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7693
7694
7695
7696
7697
7698
7699
7700if test -n "$ac_tool_prefix"; then
7701  for ac_prog in ar
7702  do
7703    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7704set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7706$as_echo_n "checking for $ac_word... " >&6; }
7707if ${ac_cv_prog_AR+:} false; then :
7708  $as_echo_n "(cached) " >&6
7709else
7710  if test -n "$AR"; then
7711  ac_cv_prog_AR="$AR" # Let the user override the test.
7712else
7713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714for as_dir in $PATH
7715do
7716  IFS=$as_save_IFS
7717  test -z "$as_dir" && as_dir=.
7718    for ac_exec_ext in '' $ac_executable_extensions; do
7719  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7720    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7722    break 2
7723  fi
7724done
7725  done
7726IFS=$as_save_IFS
7727
7728fi
7729fi
7730AR=$ac_cv_prog_AR
7731if test -n "$AR"; then
7732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7733$as_echo "$AR" >&6; }
7734else
7735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736$as_echo "no" >&6; }
7737fi
7738
7739
7740    test -n "$AR" && break
7741  done
7742fi
7743if test -z "$AR"; then
7744  ac_ct_AR=$AR
7745  for ac_prog in ar
7746do
7747  # Extract the first word of "$ac_prog", so it can be a program name with args.
7748set dummy $ac_prog; ac_word=$2
7749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750$as_echo_n "checking for $ac_word... " >&6; }
7751if ${ac_cv_prog_ac_ct_AR+:} false; then :
7752  $as_echo_n "(cached) " >&6
7753else
7754  if test -n "$ac_ct_AR"; then
7755  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7756else
7757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758for as_dir in $PATH
7759do
7760  IFS=$as_save_IFS
7761  test -z "$as_dir" && as_dir=.
7762    for ac_exec_ext in '' $ac_executable_extensions; do
7763  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7764    ac_cv_prog_ac_ct_AR="$ac_prog"
7765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766    break 2
7767  fi
7768done
7769  done
7770IFS=$as_save_IFS
7771
7772fi
7773fi
7774ac_ct_AR=$ac_cv_prog_ac_ct_AR
7775if test -n "$ac_ct_AR"; then
7776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7777$as_echo "$ac_ct_AR" >&6; }
7778else
7779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780$as_echo "no" >&6; }
7781fi
7782
7783
7784  test -n "$ac_ct_AR" && break
7785done
7786
7787  if test "x$ac_ct_AR" = x; then
7788    AR="false"
7789  else
7790    case $cross_compiling:$ac_tool_warned in
7791yes:)
7792{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7793$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7794ac_tool_warned=yes ;;
7795esac
7796    AR=$ac_ct_AR
7797  fi
7798fi
7799
7800: ${AR=ar}
7801
7802
7803
7804
7805
7806
7807# Use ARFLAGS variable as AR's operation code to sync the variable naming with
7808# Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
7809# higher priority because thats what people were doing historically (setting
7810# ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
7811# variable obsoleted/removed.
7812
7813test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
7814lt_ar_flags=$AR_FLAGS
7815
7816
7817
7818
7819
7820
7821# Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
7822# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
7823
7824
7825
7826
7827
7828
7829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7830$as_echo_n "checking for archiver @FILE support... " >&6; }
7831if ${lt_cv_ar_at_file+:} false; then :
7832  $as_echo_n "(cached) " >&6
7833else
7834  lt_cv_ar_at_file=no
7835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836/* end confdefs.h.  */
7837
7838int
7839main ()
7840{
7841
7842  ;
7843  return 0;
7844}
7845_ACEOF
7846if ac_fn_c_try_compile "$LINENO"; then :
7847  echo conftest.$ac_objext > conftest.lst
7848      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7849      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7850  (eval $lt_ar_try) 2>&5
7851  ac_status=$?
7852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7853  test $ac_status = 0; }
7854      if test 0 -eq "$ac_status"; then
7855	# Ensure the archiver fails upon bogus file names.
7856	rm -f conftest.$ac_objext libconftest.a
7857	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7858  (eval $lt_ar_try) 2>&5
7859  ac_status=$?
7860  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7861  test $ac_status = 0; }
7862	if test 0 -ne "$ac_status"; then
7863          lt_cv_ar_at_file=@
7864        fi
7865      fi
7866      rm -f conftest.* libconftest.a
7867
7868fi
7869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7870
7871fi
7872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7873$as_echo "$lt_cv_ar_at_file" >&6; }
7874
7875if test no = "$lt_cv_ar_at_file"; then
7876  archiver_list_spec=
7877else
7878  archiver_list_spec=$lt_cv_ar_at_file
7879fi
7880
7881
7882
7883
7884
7885
7886
7887if test -n "$ac_tool_prefix"; then
7888  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7889set dummy ${ac_tool_prefix}strip; ac_word=$2
7890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891$as_echo_n "checking for $ac_word... " >&6; }
7892if ${ac_cv_prog_STRIP+:} false; then :
7893  $as_echo_n "(cached) " >&6
7894else
7895  if test -n "$STRIP"; then
7896  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7897else
7898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899for as_dir in $PATH
7900do
7901  IFS=$as_save_IFS
7902  test -z "$as_dir" && as_dir=.
7903    for ac_exec_ext in '' $ac_executable_extensions; do
7904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907    break 2
7908  fi
7909done
7910  done
7911IFS=$as_save_IFS
7912
7913fi
7914fi
7915STRIP=$ac_cv_prog_STRIP
7916if test -n "$STRIP"; then
7917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7918$as_echo "$STRIP" >&6; }
7919else
7920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7921$as_echo "no" >&6; }
7922fi
7923
7924
7925fi
7926if test -z "$ac_cv_prog_STRIP"; then
7927  ac_ct_STRIP=$STRIP
7928  # Extract the first word of "strip", so it can be a program name with args.
7929set dummy strip; ac_word=$2
7930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931$as_echo_n "checking for $ac_word... " >&6; }
7932if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7933  $as_echo_n "(cached) " >&6
7934else
7935  if test -n "$ac_ct_STRIP"; then
7936  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7937else
7938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939for as_dir in $PATH
7940do
7941  IFS=$as_save_IFS
7942  test -z "$as_dir" && as_dir=.
7943    for ac_exec_ext in '' $ac_executable_extensions; do
7944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945    ac_cv_prog_ac_ct_STRIP="strip"
7946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947    break 2
7948  fi
7949done
7950  done
7951IFS=$as_save_IFS
7952
7953fi
7954fi
7955ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7956if test -n "$ac_ct_STRIP"; then
7957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7958$as_echo "$ac_ct_STRIP" >&6; }
7959else
7960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7961$as_echo "no" >&6; }
7962fi
7963
7964  if test "x$ac_ct_STRIP" = x; then
7965    STRIP=":"
7966  else
7967    case $cross_compiling:$ac_tool_warned in
7968yes:)
7969{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7970$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7971ac_tool_warned=yes ;;
7972esac
7973    STRIP=$ac_ct_STRIP
7974  fi
7975else
7976  STRIP="$ac_cv_prog_STRIP"
7977fi
7978
7979test -z "$STRIP" && STRIP=:
7980
7981
7982
7983
7984
7985
7986if test -n "$ac_tool_prefix"; then
7987  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7988set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990$as_echo_n "checking for $ac_word... " >&6; }
7991if ${ac_cv_prog_RANLIB+:} false; then :
7992  $as_echo_n "(cached) " >&6
7993else
7994  if test -n "$RANLIB"; then
7995  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7996else
7997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998for as_dir in $PATH
7999do
8000  IFS=$as_save_IFS
8001  test -z "$as_dir" && as_dir=.
8002    for ac_exec_ext in '' $ac_executable_extensions; do
8003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006    break 2
8007  fi
8008done
8009  done
8010IFS=$as_save_IFS
8011
8012fi
8013fi
8014RANLIB=$ac_cv_prog_RANLIB
8015if test -n "$RANLIB"; then
8016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8017$as_echo "$RANLIB" >&6; }
8018else
8019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020$as_echo "no" >&6; }
8021fi
8022
8023
8024fi
8025if test -z "$ac_cv_prog_RANLIB"; then
8026  ac_ct_RANLIB=$RANLIB
8027  # Extract the first word of "ranlib", so it can be a program name with args.
8028set dummy ranlib; ac_word=$2
8029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030$as_echo_n "checking for $ac_word... " >&6; }
8031if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8032  $as_echo_n "(cached) " >&6
8033else
8034  if test -n "$ac_ct_RANLIB"; then
8035  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8036else
8037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038for as_dir in $PATH
8039do
8040  IFS=$as_save_IFS
8041  test -z "$as_dir" && as_dir=.
8042    for ac_exec_ext in '' $ac_executable_extensions; do
8043  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044    ac_cv_prog_ac_ct_RANLIB="ranlib"
8045    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046    break 2
8047  fi
8048done
8049  done
8050IFS=$as_save_IFS
8051
8052fi
8053fi
8054ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8055if test -n "$ac_ct_RANLIB"; then
8056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8057$as_echo "$ac_ct_RANLIB" >&6; }
8058else
8059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060$as_echo "no" >&6; }
8061fi
8062
8063  if test "x$ac_ct_RANLIB" = x; then
8064    RANLIB=":"
8065  else
8066    case $cross_compiling:$ac_tool_warned in
8067yes:)
8068{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8069$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8070ac_tool_warned=yes ;;
8071esac
8072    RANLIB=$ac_ct_RANLIB
8073  fi
8074else
8075  RANLIB="$ac_cv_prog_RANLIB"
8076fi
8077
8078test -z "$RANLIB" && RANLIB=:
8079
8080
8081
8082
8083
8084
8085# Determine commands to create old-style static archives.
8086old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8087old_postinstall_cmds='chmod 644 $oldlib'
8088old_postuninstall_cmds=
8089
8090if test -n "$RANLIB"; then
8091  case $host_os in
8092  bitrig* | openbsd*)
8093    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8094    ;;
8095  *)
8096    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8097    ;;
8098  esac
8099  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8100fi
8101
8102case $host_os in
8103  darwin*)
8104    lock_old_archive_extraction=yes ;;
8105  *)
8106    lock_old_archive_extraction=no ;;
8107esac
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147# If no C compiler was specified, use CC.
8148LTCC=${LTCC-"$CC"}
8149
8150# If no C compiler flags were specified, use CFLAGS.
8151LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8152
8153# Allow CC to be a program name with arguments.
8154compiler=$CC
8155
8156
8157# Check for command to grab the raw symbol name followed by C symbol from nm.
8158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8159$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8160if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8161  $as_echo_n "(cached) " >&6
8162else
8163
8164# These are sane defaults that work on at least a few old systems.
8165# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8166
8167# Character class describing NM global symbol codes.
8168symcode='[BCDEGRST]'
8169
8170# Regexp to match symbols that can be accessed directly from C.
8171sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8172
8173# Define system-specific variables.
8174case $host_os in
8175aix*)
8176  symcode='[BCDT]'
8177  ;;
8178cygwin* | mingw* | pw32* | cegcc*)
8179  symcode='[ABCDGISTW]'
8180  ;;
8181hpux*)
8182  if test ia64 = "$host_cpu"; then
8183    symcode='[ABCDEGRST]'
8184  fi
8185  ;;
8186irix* | nonstopux*)
8187  symcode='[BCDEGRST]'
8188  ;;
8189osf*)
8190  symcode='[BCDEGQRST]'
8191  ;;
8192solaris*)
8193  symcode='[BDRT]'
8194  ;;
8195sco3.2v5*)
8196  symcode='[DT]'
8197  ;;
8198sysv4.2uw2*)
8199  symcode='[DT]'
8200  ;;
8201sysv5* | sco5v6* | unixware* | OpenUNIX*)
8202  symcode='[ABDT]'
8203  ;;
8204sysv4)
8205  symcode='[DFNSTU]'
8206  ;;
8207esac
8208
8209# If we're using GNU nm, then use its standard symbol codes.
8210case `$NM -V 2>&1` in
8211*GNU* | *'with BFD'*)
8212  symcode='[ABCDGIRSTW]' ;;
8213esac
8214
8215if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8216  # Gets list of data symbols to import.
8217  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8218  # Adjust the below global symbol transforms to fixup imported variables.
8219  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8220  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8221  lt_c_name_lib_hook="\
8222  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8223  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8224else
8225  # Disable hooks by default.
8226  lt_cv_sys_global_symbol_to_import=
8227  lt_cdecl_hook=
8228  lt_c_name_hook=
8229  lt_c_name_lib_hook=
8230fi
8231
8232# Transform an extracted symbol line into a proper C declaration.
8233# Some systems (esp. on ia64) link data and code symbols differently,
8234# so use this general approach.
8235lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8236$lt_cdecl_hook\
8237" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8238" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8239
8240# Transform an extracted symbol line into symbol name and symbol address
8241lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8242$lt_c_name_hook\
8243" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8244" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8245
8246# Transform an extracted symbol line into symbol name with lib prefix and
8247# symbol address.
8248lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8249$lt_c_name_lib_hook\
8250" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8251" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8252" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8253
8254# Handle CRLF in mingw tool chain
8255opt_cr=
8256case $build_os in
8257mingw*)
8258  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8259  ;;
8260esac
8261
8262# Try without a prefix underscore, then with it.
8263for ac_symprfx in "" "_"; do
8264
8265  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8266  symxfrm="\\1 $ac_symprfx\\2 \\2"
8267
8268  # Write the raw and C identifiers.
8269  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8270    # Fake it for dumpbin and say T for any non-static function,
8271    # D for any global variable and I for any imported variable.
8272    # Also find C++ and __fastcall symbols from MSVC++ or ICC,
8273    # which start with @ or ?.
8274    lt_cv_sys_global_symbol_pipe="$AWK '"\
8275"     {last_section=section; section=\$ 3};"\
8276"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8277"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8278"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8279"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8280"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8281"     \$ 0!~/External *\|/{next};"\
8282"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8283"     {if(hide[section]) next};"\
8284"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8285"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8286"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8287"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8288"     ' prfx=^$ac_symprfx"
8289  else
8290    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8291  fi
8292  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8293
8294  # Check to see that the pipe works correctly.
8295  pipe_works=no
8296
8297  rm -f conftest*
8298  cat > conftest.$ac_ext <<_LT_EOF
8299#ifdef __cplusplus
8300extern "C" {
8301#endif
8302char nm_test_var;
8303void nm_test_func(void);
8304void nm_test_func(void){}
8305#ifdef __cplusplus
8306}
8307#endif
8308int main(){nm_test_var='a';nm_test_func();return(0);}
8309_LT_EOF
8310
8311  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8312  (eval $ac_compile) 2>&5
8313  ac_status=$?
8314  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8315  test $ac_status = 0; }; then
8316    # Now try to grab the symbols.
8317    nlist=conftest.nm
8318    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8319  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8320  ac_status=$?
8321  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8322  test $ac_status = 0; } && test -s "$nlist"; then
8323      # Try sorting and uniquifying the output.
8324      if sort "$nlist" | uniq > "$nlist"T; then
8325	mv -f "$nlist"T "$nlist"
8326      else
8327	rm -f "$nlist"T
8328      fi
8329
8330      # Make sure that we snagged all the symbols we need.
8331      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8332	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8333	  cat <<_LT_EOF > conftest.$ac_ext
8334/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8335#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8336/* DATA imports from DLLs on WIN32 can't be const, because runtime
8337   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8338# define LT_DLSYM_CONST
8339#elif defined __osf__
8340/* This system does not cope well with relocations in const data.  */
8341# define LT_DLSYM_CONST
8342#else
8343# define LT_DLSYM_CONST const
8344#endif
8345
8346#ifdef __cplusplus
8347extern "C" {
8348#endif
8349
8350_LT_EOF
8351	  # Now generate the symbol file.
8352	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8353
8354	  cat <<_LT_EOF >> conftest.$ac_ext
8355
8356/* The mapping between symbol names and symbols.  */
8357LT_DLSYM_CONST struct {
8358  const char *name;
8359  void       *address;
8360}
8361lt__PROGRAM__LTX_preloaded_symbols[] =
8362{
8363  { "@PROGRAM@", (void *) 0 },
8364_LT_EOF
8365	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8366	  cat <<\_LT_EOF >> conftest.$ac_ext
8367  {0, (void *) 0}
8368};
8369
8370/* This works around a problem in FreeBSD linker */
8371#ifdef FREEBSD_WORKAROUND
8372static const void *lt_preloaded_setup() {
8373  return lt__PROGRAM__LTX_preloaded_symbols;
8374}
8375#endif
8376
8377#ifdef __cplusplus
8378}
8379#endif
8380_LT_EOF
8381	  # Now try linking the two files.
8382	  mv conftest.$ac_objext conftstm.$ac_objext
8383	  lt_globsym_save_LIBS=$LIBS
8384	  lt_globsym_save_CFLAGS=$CFLAGS
8385	  LIBS=conftstm.$ac_objext
8386	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8387	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8388  (eval $ac_link) 2>&5
8389  ac_status=$?
8390  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8391  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8392	    pipe_works=yes
8393	  fi
8394	  LIBS=$lt_globsym_save_LIBS
8395	  CFLAGS=$lt_globsym_save_CFLAGS
8396	else
8397	  echo "cannot find nm_test_func in $nlist" >&5
8398	fi
8399      else
8400	echo "cannot find nm_test_var in $nlist" >&5
8401      fi
8402    else
8403      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8404    fi
8405  else
8406    echo "$progname: failed program was:" >&5
8407    cat conftest.$ac_ext >&5
8408  fi
8409  rm -rf conftest* conftst*
8410
8411  # Do not use the global_symbol_pipe unless it works.
8412  if test yes = "$pipe_works"; then
8413    break
8414  else
8415    lt_cv_sys_global_symbol_pipe=
8416  fi
8417done
8418
8419fi
8420
8421if test -z "$lt_cv_sys_global_symbol_pipe"; then
8422  lt_cv_sys_global_symbol_to_cdecl=
8423fi
8424if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8426$as_echo "failed" >&6; }
8427else
8428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8429$as_echo "ok" >&6; }
8430fi
8431
8432# Response file support.
8433if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8434  nm_file_list_spec='@'
8435elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8436  nm_file_list_spec='@'
8437fi
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8476$as_echo_n "checking for sysroot... " >&6; }
8477
8478# Check whether --with-sysroot was given.
8479if test "${with_sysroot+set}" = set; then :
8480  withval=$with_sysroot;
8481else
8482  with_sysroot=no
8483fi
8484
8485
8486lt_sysroot=
8487case $with_sysroot in #(
8488 yes)
8489   if test yes = "$GCC"; then
8490     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8491   fi
8492   ;; #(
8493 /*)
8494   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8495   ;; #(
8496 no|'')
8497   ;; #(
8498 *)
8499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8500$as_echo "$with_sysroot" >&6; }
8501   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8502   ;;
8503esac
8504
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8506$as_echo "${lt_sysroot:-no}" >&6; }
8507
8508
8509
8510
8511
8512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8513$as_echo_n "checking for a working dd... " >&6; }
8514if ${ac_cv_path_lt_DD+:} false; then :
8515  $as_echo_n "(cached) " >&6
8516else
8517  printf 0123456789abcdef0123456789abcdef >conftest.i
8518cat conftest.i conftest.i >conftest2.i
8519: ${lt_DD:=$DD}
8520if test -z "$lt_DD"; then
8521  ac_path_lt_DD_found=false
8522  # Loop through the user's path and test for each of PROGNAME-LIST
8523  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8524for as_dir in $PATH
8525do
8526  IFS=$as_save_IFS
8527  test -z "$as_dir" && as_dir=.
8528    for ac_prog in dd; do
8529    for ac_exec_ext in '' $ac_executable_extensions; do
8530      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8531      as_fn_executable_p "$ac_path_lt_DD" || continue
8532if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8533  cmp -s conftest.i conftest.out \
8534  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8535fi
8536      $ac_path_lt_DD_found && break 3
8537    done
8538  done
8539  done
8540IFS=$as_save_IFS
8541  if test -z "$ac_cv_path_lt_DD"; then
8542    :
8543  fi
8544else
8545  ac_cv_path_lt_DD=$lt_DD
8546fi
8547
8548rm -f conftest.i conftest2.i conftest.out
8549fi
8550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8551$as_echo "$ac_cv_path_lt_DD" >&6; }
8552
8553
8554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8555$as_echo_n "checking how to truncate binary pipes... " >&6; }
8556if ${lt_cv_truncate_bin+:} false; then :
8557  $as_echo_n "(cached) " >&6
8558else
8559  printf 0123456789abcdef0123456789abcdef >conftest.i
8560cat conftest.i conftest.i >conftest2.i
8561lt_cv_truncate_bin=
8562if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8563  cmp -s conftest.i conftest.out \
8564  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8565fi
8566rm -f conftest.i conftest2.i conftest.out
8567test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8568fi
8569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8570$as_echo "$lt_cv_truncate_bin" >&6; }
8571
8572
8573
8574
8575
8576
8577
8578# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8579func_cc_basename ()
8580{
8581    for cc_temp in $*""; do
8582      case $cc_temp in
8583        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8584        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8585        \-*) ;;
8586        *) break;;
8587      esac
8588    done
8589    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8590}
8591
8592# Check whether --enable-libtool-lock was given.
8593if test "${enable_libtool_lock+set}" = set; then :
8594  enableval=$enable_libtool_lock;
8595fi
8596
8597test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8598
8599# Some flags need to be propagated to the compiler or linker for good
8600# libtool support.
8601case $host in
8602ia64-*-hpux*)
8603  # Find out what ABI is being produced by ac_compile, and set mode
8604  # options accordingly.
8605  echo 'int i;' > conftest.$ac_ext
8606  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8607  (eval $ac_compile) 2>&5
8608  ac_status=$?
8609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8610  test $ac_status = 0; }; then
8611    case `/usr/bin/file conftest.$ac_objext` in
8612      *ELF-32*)
8613	HPUX_IA64_MODE=32
8614	;;
8615      *ELF-64*)
8616	HPUX_IA64_MODE=64
8617	;;
8618    esac
8619  fi
8620  rm -rf conftest*
8621  ;;
8622*-*-irix6*)
8623  # Find out what ABI is being produced by ac_compile, and set linker
8624  # options accordingly.
8625  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8626  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8627  (eval $ac_compile) 2>&5
8628  ac_status=$?
8629  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8630  test $ac_status = 0; }; then
8631    if test yes = "$lt_cv_prog_gnu_ld"; then
8632      case `/usr/bin/file conftest.$ac_objext` in
8633	*32-bit*)
8634	  LD="${LD-ld} -melf32bsmip"
8635	  ;;
8636	*N32*)
8637	  LD="${LD-ld} -melf32bmipn32"
8638	  ;;
8639	*64-bit*)
8640	  LD="${LD-ld} -melf64bmip"
8641	;;
8642      esac
8643    else
8644      case `/usr/bin/file conftest.$ac_objext` in
8645	*32-bit*)
8646	  LD="${LD-ld} -32"
8647	  ;;
8648	*N32*)
8649	  LD="${LD-ld} -n32"
8650	  ;;
8651	*64-bit*)
8652	  LD="${LD-ld} -64"
8653	  ;;
8654      esac
8655    fi
8656  fi
8657  rm -rf conftest*
8658  ;;
8659
8660mips64*-*linux*)
8661  # Find out what ABI is being produced by ac_compile, and set linker
8662  # options accordingly.
8663  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8664  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8665  (eval $ac_compile) 2>&5
8666  ac_status=$?
8667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8668  test $ac_status = 0; }; then
8669    emul=elf
8670    case `/usr/bin/file conftest.$ac_objext` in
8671      *32-bit*)
8672	emul="${emul}32"
8673	;;
8674      *64-bit*)
8675	emul="${emul}64"
8676	;;
8677    esac
8678    case `/usr/bin/file conftest.$ac_objext` in
8679      *MSB*)
8680	emul="${emul}btsmip"
8681	;;
8682      *LSB*)
8683	emul="${emul}ltsmip"
8684	;;
8685    esac
8686    case `/usr/bin/file conftest.$ac_objext` in
8687      *N32*)
8688	emul="${emul}n32"
8689	;;
8690    esac
8691    LD="${LD-ld} -m $emul"
8692  fi
8693  rm -rf conftest*
8694  ;;
8695
8696x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8697s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8698  # Find out what ABI is being produced by ac_compile, and set linker
8699  # options accordingly.  Note that the listed cases only cover the
8700  # situations where additional linker options are needed (such as when
8701  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8702  # vice versa); the common cases where no linker options are needed do
8703  # not appear in the list.
8704  echo 'int i;' > conftest.$ac_ext
8705  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8706  (eval $ac_compile) 2>&5
8707  ac_status=$?
8708  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8709  test $ac_status = 0; }; then
8710    case `/usr/bin/file conftest.o` in
8711      *32-bit*)
8712	case $host in
8713	  x86_64-*kfreebsd*-gnu)
8714	    LD="${LD-ld} -m elf_i386_fbsd"
8715	    ;;
8716	  x86_64-*linux*)
8717	    case `/usr/bin/file conftest.o` in
8718	      *x86-64*)
8719		LD="${LD-ld} -m elf32_x86_64"
8720		;;
8721	      *)
8722		LD="${LD-ld} -m elf_i386"
8723		;;
8724	    esac
8725	    ;;
8726	  powerpc64le-*linux*)
8727	    LD="${LD-ld} -m elf32lppclinux"
8728	    ;;
8729	  powerpc64-*linux*)
8730	    LD="${LD-ld} -m elf32ppclinux"
8731	    ;;
8732	  s390x-*linux*)
8733	    LD="${LD-ld} -m elf_s390"
8734	    ;;
8735	  sparc64-*linux*)
8736	    LD="${LD-ld} -m elf32_sparc"
8737	    ;;
8738	esac
8739	;;
8740      *64-bit*)
8741	case $host in
8742	  x86_64-*kfreebsd*-gnu)
8743	    LD="${LD-ld} -m elf_x86_64_fbsd"
8744	    ;;
8745	  x86_64-*linux*)
8746	    LD="${LD-ld} -m elf_x86_64"
8747	    ;;
8748	  powerpcle-*linux*)
8749	    LD="${LD-ld} -m elf64lppc"
8750	    ;;
8751	  powerpc-*linux*)
8752	    LD="${LD-ld} -m elf64ppc"
8753	    ;;
8754	  s390*-*linux*|s390*-*tpf*)
8755	    LD="${LD-ld} -m elf64_s390"
8756	    ;;
8757	  sparc*-*linux*)
8758	    LD="${LD-ld} -m elf64_sparc"
8759	    ;;
8760	esac
8761	;;
8762    esac
8763  fi
8764  rm -rf conftest*
8765  ;;
8766
8767*-*-sco3.2v5*)
8768  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8769  SAVE_CFLAGS=$CFLAGS
8770  CFLAGS="$CFLAGS -belf"
8771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8772$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8773if ${lt_cv_cc_needs_belf+:} false; then :
8774  $as_echo_n "(cached) " >&6
8775else
8776  ac_ext=c
8777ac_cpp='$CPP $CPPFLAGS'
8778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8780ac_compiler_gnu=$ac_cv_c_compiler_gnu
8781
8782     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783/* end confdefs.h.  */
8784
8785int
8786main ()
8787{
8788
8789  ;
8790  return 0;
8791}
8792_ACEOF
8793if ac_fn_c_try_link "$LINENO"; then :
8794  lt_cv_cc_needs_belf=yes
8795else
8796  lt_cv_cc_needs_belf=no
8797fi
8798rm -f core conftest.err conftest.$ac_objext \
8799    conftest$ac_exeext conftest.$ac_ext
8800     ac_ext=c
8801ac_cpp='$CPP $CPPFLAGS'
8802ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8803ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8804ac_compiler_gnu=$ac_cv_c_compiler_gnu
8805
8806fi
8807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8808$as_echo "$lt_cv_cc_needs_belf" >&6; }
8809  if test yes != "$lt_cv_cc_needs_belf"; then
8810    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8811    CFLAGS=$SAVE_CFLAGS
8812  fi
8813  ;;
8814*-*solaris*)
8815  # Find out what ABI is being produced by ac_compile, and set linker
8816  # options accordingly.
8817  echo 'int i;' > conftest.$ac_ext
8818  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8819  (eval $ac_compile) 2>&5
8820  ac_status=$?
8821  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8822  test $ac_status = 0; }; then
8823    case `/usr/bin/file conftest.o` in
8824    *64-bit*)
8825      case $lt_cv_prog_gnu_ld in
8826      yes*)
8827        case $host in
8828        i?86-*-solaris*|x86_64-*-solaris*)
8829          LD="${LD-ld} -m elf_x86_64"
8830          ;;
8831        sparc*-*-solaris*)
8832          LD="${LD-ld} -m elf64_sparc"
8833          ;;
8834        esac
8835        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8836        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8837          LD=${LD-ld}_sol2
8838        fi
8839        ;;
8840      *)
8841	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8842	  LD="${LD-ld} -64"
8843	fi
8844	;;
8845      esac
8846      ;;
8847    esac
8848  fi
8849  rm -rf conftest*
8850  ;;
8851esac
8852
8853need_locks=$enable_libtool_lock
8854
8855if test -n "$ac_tool_prefix"; then
8856  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8857set dummy ${ac_tool_prefix}mt; ac_word=$2
8858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8859$as_echo_n "checking for $ac_word... " >&6; }
8860if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8861  $as_echo_n "(cached) " >&6
8862else
8863  if test -n "$MANIFEST_TOOL"; then
8864  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8865else
8866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867for as_dir in $PATH
8868do
8869  IFS=$as_save_IFS
8870  test -z "$as_dir" && as_dir=.
8871    for ac_exec_ext in '' $ac_executable_extensions; do
8872  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8873    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8875    break 2
8876  fi
8877done
8878  done
8879IFS=$as_save_IFS
8880
8881fi
8882fi
8883MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8884if test -n "$MANIFEST_TOOL"; then
8885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8886$as_echo "$MANIFEST_TOOL" >&6; }
8887else
8888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889$as_echo "no" >&6; }
8890fi
8891
8892
8893fi
8894if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8895  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8896  # Extract the first word of "mt", so it can be a program name with args.
8897set dummy mt; ac_word=$2
8898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8899$as_echo_n "checking for $ac_word... " >&6; }
8900if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8901  $as_echo_n "(cached) " >&6
8902else
8903  if test -n "$ac_ct_MANIFEST_TOOL"; then
8904  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8905else
8906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8907for as_dir in $PATH
8908do
8909  IFS=$as_save_IFS
8910  test -z "$as_dir" && as_dir=.
8911    for ac_exec_ext in '' $ac_executable_extensions; do
8912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8913    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8915    break 2
8916  fi
8917done
8918  done
8919IFS=$as_save_IFS
8920
8921fi
8922fi
8923ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8924if test -n "$ac_ct_MANIFEST_TOOL"; then
8925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8926$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8927else
8928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929$as_echo "no" >&6; }
8930fi
8931
8932  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8933    MANIFEST_TOOL=":"
8934  else
8935    case $cross_compiling:$ac_tool_warned in
8936yes:)
8937{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8938$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8939ac_tool_warned=yes ;;
8940esac
8941    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8942  fi
8943else
8944  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8945fi
8946
8947test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8949$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8950if ${lt_cv_path_mainfest_tool+:} false; then :
8951  $as_echo_n "(cached) " >&6
8952else
8953  lt_cv_path_mainfest_tool=no
8954  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8955  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8956  cat conftest.err >&5
8957  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8958    lt_cv_path_mainfest_tool=yes
8959  fi
8960  rm -f conftest*
8961fi
8962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8963$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8964if test yes != "$lt_cv_path_mainfest_tool"; then
8965  MANIFEST_TOOL=:
8966fi
8967
8968
8969
8970
8971
8972
8973  case $host_os in
8974    rhapsody* | darwin*)
8975    if test -n "$ac_tool_prefix"; then
8976  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8977set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8979$as_echo_n "checking for $ac_word... " >&6; }
8980if ${ac_cv_prog_DSYMUTIL+:} false; then :
8981  $as_echo_n "(cached) " >&6
8982else
8983  if test -n "$DSYMUTIL"; then
8984  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8985else
8986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8987for as_dir in $PATH
8988do
8989  IFS=$as_save_IFS
8990  test -z "$as_dir" && as_dir=.
8991    for ac_exec_ext in '' $ac_executable_extensions; do
8992  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8993    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8995    break 2
8996  fi
8997done
8998  done
8999IFS=$as_save_IFS
9000
9001fi
9002fi
9003DSYMUTIL=$ac_cv_prog_DSYMUTIL
9004if test -n "$DSYMUTIL"; then
9005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9006$as_echo "$DSYMUTIL" >&6; }
9007else
9008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9009$as_echo "no" >&6; }
9010fi
9011
9012
9013fi
9014if test -z "$ac_cv_prog_DSYMUTIL"; then
9015  ac_ct_DSYMUTIL=$DSYMUTIL
9016  # Extract the first word of "dsymutil", so it can be a program name with args.
9017set dummy dsymutil; ac_word=$2
9018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9019$as_echo_n "checking for $ac_word... " >&6; }
9020if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9021  $as_echo_n "(cached) " >&6
9022else
9023  if test -n "$ac_ct_DSYMUTIL"; then
9024  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9025else
9026as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9027for as_dir in $PATH
9028do
9029  IFS=$as_save_IFS
9030  test -z "$as_dir" && as_dir=.
9031    for ac_exec_ext in '' $ac_executable_extensions; do
9032  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9033    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9035    break 2
9036  fi
9037done
9038  done
9039IFS=$as_save_IFS
9040
9041fi
9042fi
9043ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9044if test -n "$ac_ct_DSYMUTIL"; then
9045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9046$as_echo "$ac_ct_DSYMUTIL" >&6; }
9047else
9048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9049$as_echo "no" >&6; }
9050fi
9051
9052  if test "x$ac_ct_DSYMUTIL" = x; then
9053    DSYMUTIL=":"
9054  else
9055    case $cross_compiling:$ac_tool_warned in
9056yes:)
9057{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9058$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9059ac_tool_warned=yes ;;
9060esac
9061    DSYMUTIL=$ac_ct_DSYMUTIL
9062  fi
9063else
9064  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9065fi
9066
9067    if test -n "$ac_tool_prefix"; then
9068  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9069set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071$as_echo_n "checking for $ac_word... " >&6; }
9072if ${ac_cv_prog_NMEDIT+:} false; then :
9073  $as_echo_n "(cached) " >&6
9074else
9075  if test -n "$NMEDIT"; then
9076  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9077else
9078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9079for as_dir in $PATH
9080do
9081  IFS=$as_save_IFS
9082  test -z "$as_dir" && as_dir=.
9083    for ac_exec_ext in '' $ac_executable_extensions; do
9084  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9085    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9087    break 2
9088  fi
9089done
9090  done
9091IFS=$as_save_IFS
9092
9093fi
9094fi
9095NMEDIT=$ac_cv_prog_NMEDIT
9096if test -n "$NMEDIT"; then
9097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9098$as_echo "$NMEDIT" >&6; }
9099else
9100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9101$as_echo "no" >&6; }
9102fi
9103
9104
9105fi
9106if test -z "$ac_cv_prog_NMEDIT"; then
9107  ac_ct_NMEDIT=$NMEDIT
9108  # Extract the first word of "nmedit", so it can be a program name with args.
9109set dummy nmedit; ac_word=$2
9110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9111$as_echo_n "checking for $ac_word... " >&6; }
9112if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9113  $as_echo_n "(cached) " >&6
9114else
9115  if test -n "$ac_ct_NMEDIT"; then
9116  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9117else
9118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9119for as_dir in $PATH
9120do
9121  IFS=$as_save_IFS
9122  test -z "$as_dir" && as_dir=.
9123    for ac_exec_ext in '' $ac_executable_extensions; do
9124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9125    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9127    break 2
9128  fi
9129done
9130  done
9131IFS=$as_save_IFS
9132
9133fi
9134fi
9135ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9136if test -n "$ac_ct_NMEDIT"; then
9137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9138$as_echo "$ac_ct_NMEDIT" >&6; }
9139else
9140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9141$as_echo "no" >&6; }
9142fi
9143
9144  if test "x$ac_ct_NMEDIT" = x; then
9145    NMEDIT=":"
9146  else
9147    case $cross_compiling:$ac_tool_warned in
9148yes:)
9149{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9150$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9151ac_tool_warned=yes ;;
9152esac
9153    NMEDIT=$ac_ct_NMEDIT
9154  fi
9155else
9156  NMEDIT="$ac_cv_prog_NMEDIT"
9157fi
9158
9159    if test -n "$ac_tool_prefix"; then
9160  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9161set dummy ${ac_tool_prefix}lipo; ac_word=$2
9162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163$as_echo_n "checking for $ac_word... " >&6; }
9164if ${ac_cv_prog_LIPO+:} false; then :
9165  $as_echo_n "(cached) " >&6
9166else
9167  if test -n "$LIPO"; then
9168  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9169else
9170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9171for as_dir in $PATH
9172do
9173  IFS=$as_save_IFS
9174  test -z "$as_dir" && as_dir=.
9175    for ac_exec_ext in '' $ac_executable_extensions; do
9176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9177    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9179    break 2
9180  fi
9181done
9182  done
9183IFS=$as_save_IFS
9184
9185fi
9186fi
9187LIPO=$ac_cv_prog_LIPO
9188if test -n "$LIPO"; then
9189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9190$as_echo "$LIPO" >&6; }
9191else
9192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193$as_echo "no" >&6; }
9194fi
9195
9196
9197fi
9198if test -z "$ac_cv_prog_LIPO"; then
9199  ac_ct_LIPO=$LIPO
9200  # Extract the first word of "lipo", so it can be a program name with args.
9201set dummy lipo; ac_word=$2
9202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9203$as_echo_n "checking for $ac_word... " >&6; }
9204if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9205  $as_echo_n "(cached) " >&6
9206else
9207  if test -n "$ac_ct_LIPO"; then
9208  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9209else
9210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9211for as_dir in $PATH
9212do
9213  IFS=$as_save_IFS
9214  test -z "$as_dir" && as_dir=.
9215    for ac_exec_ext in '' $ac_executable_extensions; do
9216  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9217    ac_cv_prog_ac_ct_LIPO="lipo"
9218    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9219    break 2
9220  fi
9221done
9222  done
9223IFS=$as_save_IFS
9224
9225fi
9226fi
9227ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9228if test -n "$ac_ct_LIPO"; then
9229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9230$as_echo "$ac_ct_LIPO" >&6; }
9231else
9232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233$as_echo "no" >&6; }
9234fi
9235
9236  if test "x$ac_ct_LIPO" = x; then
9237    LIPO=":"
9238  else
9239    case $cross_compiling:$ac_tool_warned in
9240yes:)
9241{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9242$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9243ac_tool_warned=yes ;;
9244esac
9245    LIPO=$ac_ct_LIPO
9246  fi
9247else
9248  LIPO="$ac_cv_prog_LIPO"
9249fi
9250
9251    if test -n "$ac_tool_prefix"; then
9252  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9253set dummy ${ac_tool_prefix}otool; ac_word=$2
9254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9255$as_echo_n "checking for $ac_word... " >&6; }
9256if ${ac_cv_prog_OTOOL+:} false; then :
9257  $as_echo_n "(cached) " >&6
9258else
9259  if test -n "$OTOOL"; then
9260  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9261else
9262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9263for as_dir in $PATH
9264do
9265  IFS=$as_save_IFS
9266  test -z "$as_dir" && as_dir=.
9267    for ac_exec_ext in '' $ac_executable_extensions; do
9268  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9269    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9270    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9271    break 2
9272  fi
9273done
9274  done
9275IFS=$as_save_IFS
9276
9277fi
9278fi
9279OTOOL=$ac_cv_prog_OTOOL
9280if test -n "$OTOOL"; then
9281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9282$as_echo "$OTOOL" >&6; }
9283else
9284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9285$as_echo "no" >&6; }
9286fi
9287
9288
9289fi
9290if test -z "$ac_cv_prog_OTOOL"; then
9291  ac_ct_OTOOL=$OTOOL
9292  # Extract the first word of "otool", so it can be a program name with args.
9293set dummy otool; ac_word=$2
9294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9295$as_echo_n "checking for $ac_word... " >&6; }
9296if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9297  $as_echo_n "(cached) " >&6
9298else
9299  if test -n "$ac_ct_OTOOL"; then
9300  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9301else
9302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303for as_dir in $PATH
9304do
9305  IFS=$as_save_IFS
9306  test -z "$as_dir" && as_dir=.
9307    for ac_exec_ext in '' $ac_executable_extensions; do
9308  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9309    ac_cv_prog_ac_ct_OTOOL="otool"
9310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9311    break 2
9312  fi
9313done
9314  done
9315IFS=$as_save_IFS
9316
9317fi
9318fi
9319ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9320if test -n "$ac_ct_OTOOL"; then
9321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9322$as_echo "$ac_ct_OTOOL" >&6; }
9323else
9324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325$as_echo "no" >&6; }
9326fi
9327
9328  if test "x$ac_ct_OTOOL" = x; then
9329    OTOOL=":"
9330  else
9331    case $cross_compiling:$ac_tool_warned in
9332yes:)
9333{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9334$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9335ac_tool_warned=yes ;;
9336esac
9337    OTOOL=$ac_ct_OTOOL
9338  fi
9339else
9340  OTOOL="$ac_cv_prog_OTOOL"
9341fi
9342
9343    if test -n "$ac_tool_prefix"; then
9344  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9345set dummy ${ac_tool_prefix}otool64; ac_word=$2
9346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9347$as_echo_n "checking for $ac_word... " >&6; }
9348if ${ac_cv_prog_OTOOL64+:} false; then :
9349  $as_echo_n "(cached) " >&6
9350else
9351  if test -n "$OTOOL64"; then
9352  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9353else
9354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9355for as_dir in $PATH
9356do
9357  IFS=$as_save_IFS
9358  test -z "$as_dir" && as_dir=.
9359    for ac_exec_ext in '' $ac_executable_extensions; do
9360  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9361    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9363    break 2
9364  fi
9365done
9366  done
9367IFS=$as_save_IFS
9368
9369fi
9370fi
9371OTOOL64=$ac_cv_prog_OTOOL64
9372if test -n "$OTOOL64"; then
9373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9374$as_echo "$OTOOL64" >&6; }
9375else
9376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9377$as_echo "no" >&6; }
9378fi
9379
9380
9381fi
9382if test -z "$ac_cv_prog_OTOOL64"; then
9383  ac_ct_OTOOL64=$OTOOL64
9384  # Extract the first word of "otool64", so it can be a program name with args.
9385set dummy otool64; ac_word=$2
9386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9387$as_echo_n "checking for $ac_word... " >&6; }
9388if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9389  $as_echo_n "(cached) " >&6
9390else
9391  if test -n "$ac_ct_OTOOL64"; then
9392  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9393else
9394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9395for as_dir in $PATH
9396do
9397  IFS=$as_save_IFS
9398  test -z "$as_dir" && as_dir=.
9399    for ac_exec_ext in '' $ac_executable_extensions; do
9400  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9401    ac_cv_prog_ac_ct_OTOOL64="otool64"
9402    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9403    break 2
9404  fi
9405done
9406  done
9407IFS=$as_save_IFS
9408
9409fi
9410fi
9411ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9412if test -n "$ac_ct_OTOOL64"; then
9413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9414$as_echo "$ac_ct_OTOOL64" >&6; }
9415else
9416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9417$as_echo "no" >&6; }
9418fi
9419
9420  if test "x$ac_ct_OTOOL64" = x; then
9421    OTOOL64=":"
9422  else
9423    case $cross_compiling:$ac_tool_warned in
9424yes:)
9425{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9426$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9427ac_tool_warned=yes ;;
9428esac
9429    OTOOL64=$ac_ct_OTOOL64
9430  fi
9431else
9432  OTOOL64="$ac_cv_prog_OTOOL64"
9433fi
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9462$as_echo_n "checking for -single_module linker flag... " >&6; }
9463if ${lt_cv_apple_cc_single_mod+:} false; then :
9464  $as_echo_n "(cached) " >&6
9465else
9466  lt_cv_apple_cc_single_mod=no
9467      if test -z "$LT_MULTI_MODULE"; then
9468	# By default we will add the -single_module flag. You can override
9469	# by either setting the environment variable LT_MULTI_MODULE
9470	# non-empty at configure time, or by adding -multi_module to the
9471	# link flags.
9472	rm -rf libconftest.dylib*
9473	echo "int foo(void){return 1;}" > conftest.c
9474	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9475-dynamiclib -Wl,-single_module conftest.c" >&5
9476	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9477	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9478        _lt_result=$?
9479	# If there is a non-empty error log, and "single_module"
9480	# appears in it, assume the flag caused a linker warning
9481        if test -s conftest.err && $GREP single_module conftest.err; then
9482	  cat conftest.err >&5
9483	# Otherwise, if the output was created with a 0 exit code from
9484	# the compiler, it worked.
9485	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9486	  lt_cv_apple_cc_single_mod=yes
9487	else
9488	  cat conftest.err >&5
9489	fi
9490	rm -rf libconftest.dylib*
9491	rm -f conftest.*
9492      fi
9493fi
9494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9495$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9496
9497    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9498$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9499if ${lt_cv_ld_exported_symbols_list+:} false; then :
9500  $as_echo_n "(cached) " >&6
9501else
9502  lt_cv_ld_exported_symbols_list=no
9503      save_LDFLAGS=$LDFLAGS
9504      echo "_main" > conftest.sym
9505      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9506      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507/* end confdefs.h.  */
9508
9509int
9510main ()
9511{
9512
9513  ;
9514  return 0;
9515}
9516_ACEOF
9517if ac_fn_c_try_link "$LINENO"; then :
9518  lt_cv_ld_exported_symbols_list=yes
9519else
9520  lt_cv_ld_exported_symbols_list=no
9521fi
9522rm -f core conftest.err conftest.$ac_objext \
9523    conftest$ac_exeext conftest.$ac_ext
9524	LDFLAGS=$save_LDFLAGS
9525
9526fi
9527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9528$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9529
9530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9531$as_echo_n "checking for -force_load linker flag... " >&6; }
9532if ${lt_cv_ld_force_load+:} false; then :
9533  $as_echo_n "(cached) " >&6
9534else
9535  lt_cv_ld_force_load=no
9536      cat > conftest.c << _LT_EOF
9537int forced_loaded() { return 2;}
9538_LT_EOF
9539      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9540      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9541      echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
9542      $AR $AR_FLAGS libconftest.a conftest.o 2>&5
9543      echo "$RANLIB libconftest.a" >&5
9544      $RANLIB libconftest.a 2>&5
9545      cat > conftest.c << _LT_EOF
9546int main() { return 0;}
9547_LT_EOF
9548      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9549      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9550      _lt_result=$?
9551      if test -s conftest.err && $GREP force_load conftest.err; then
9552	cat conftest.err >&5
9553      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9554	lt_cv_ld_force_load=yes
9555      else
9556	cat conftest.err >&5
9557      fi
9558        rm -f conftest.err libconftest.a conftest conftest.c
9559        rm -rf conftest.dSYM
9560
9561fi
9562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9563$as_echo "$lt_cv_ld_force_load" >&6; }
9564    case $host_os in
9565    rhapsody* | darwin1.[012])
9566      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9567    darwin1.*)
9568      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9569    darwin*) # darwin 5.x on
9570      # if running on 10.5 or later, the deployment target defaults
9571      # to the OS version, if on x86, and 10.4, the deployment
9572      # target defaults to 10.4. Don't you love it?
9573      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9574	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9575	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9576	10.[012][,.]*)
9577	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9578	10.*)
9579	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9580      esac
9581    ;;
9582  esac
9583    if test yes = "$lt_cv_apple_cc_single_mod"; then
9584      _lt_dar_single_mod='$single_module'
9585    fi
9586    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9587      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9588    else
9589      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9590    fi
9591    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9592      _lt_dsymutil='~$DSYMUTIL $lib || :'
9593    else
9594      _lt_dsymutil=
9595    fi
9596    ;;
9597  esac
9598
9599# func_munge_path_list VARIABLE PATH
9600# -----------------------------------
9601# VARIABLE is name of variable containing _space_ separated list of
9602# directories to be munged by the contents of PATH, which is string
9603# having a format:
9604# "DIR[:DIR]:"
9605#       string "DIR[ DIR]" will be prepended to VARIABLE
9606# ":DIR[:DIR]"
9607#       string "DIR[ DIR]" will be appended to VARIABLE
9608# "DIRP[:DIRP]::[DIRA:]DIRA"
9609#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9610#       "DIRA[ DIRA]" will be appended to VARIABLE
9611# "DIR[:DIR]"
9612#       VARIABLE will be replaced by "DIR[ DIR]"
9613func_munge_path_list ()
9614{
9615    case x$2 in
9616    x)
9617        ;;
9618    *:)
9619        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9620        ;;
9621    x:*)
9622        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9623        ;;
9624    *::*)
9625        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9626        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9627        ;;
9628    *)
9629        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9630        ;;
9631    esac
9632}
9633
9634for ac_header in dlfcn.h
9635do :
9636  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9637"
9638if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9639  cat >>confdefs.h <<_ACEOF
9640#define HAVE_DLFCN_H 1
9641_ACEOF
9642
9643fi
9644
9645done
9646
9647
9648
9649
9650
9651# Set options
9652# Check whether --enable-static was given.
9653if test "${enable_static+set}" = set; then :
9654  enableval=$enable_static; p=${PACKAGE-default}
9655    case $enableval in
9656    yes) enable_static=yes ;;
9657    no) enable_static=no ;;
9658    *)
9659     enable_static=no
9660      # Look at the argument we got.  We use all the common list separators.
9661      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9662      for pkg in $enableval; do
9663	IFS=$lt_save_ifs
9664	if test "X$pkg" = "X$p"; then
9665	  enable_static=yes
9666	fi
9667      done
9668      IFS=$lt_save_ifs
9669      ;;
9670    esac
9671else
9672  enable_static=no
9673fi
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684        enable_dlopen=no
9685
9686
9687  enable_win32_dll=no
9688
9689
9690            # Check whether --enable-shared was given.
9691if test "${enable_shared+set}" = set; then :
9692  enableval=$enable_shared; p=${PACKAGE-default}
9693    case $enableval in
9694    yes) enable_shared=yes ;;
9695    no) enable_shared=no ;;
9696    *)
9697      enable_shared=no
9698      # Look at the argument we got.  We use all the common list separators.
9699      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9700      for pkg in $enableval; do
9701	IFS=$lt_save_ifs
9702	if test "X$pkg" = "X$p"; then
9703	  enable_shared=yes
9704	fi
9705      done
9706      IFS=$lt_save_ifs
9707      ;;
9708    esac
9709else
9710  enable_shared=yes
9711fi
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723# Check whether --with-pic was given.
9724if test "${with_pic+set}" = set; then :
9725  withval=$with_pic; lt_p=${PACKAGE-default}
9726    case $withval in
9727    yes|no) pic_mode=$withval ;;
9728    *)
9729      pic_mode=default
9730      # Look at the argument we got.  We use all the common list separators.
9731      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9732      for lt_pkg in $withval; do
9733	IFS=$lt_save_ifs
9734	if test "X$lt_pkg" = "X$lt_p"; then
9735	  pic_mode=yes
9736	fi
9737      done
9738      IFS=$lt_save_ifs
9739      ;;
9740    esac
9741else
9742  pic_mode=default
9743fi
9744
9745
9746
9747
9748
9749
9750
9751
9752  # Check whether --enable-fast-install was given.
9753if test "${enable_fast_install+set}" = set; then :
9754  enableval=$enable_fast_install; p=${PACKAGE-default}
9755    case $enableval in
9756    yes) enable_fast_install=yes ;;
9757    no) enable_fast_install=no ;;
9758    *)
9759      enable_fast_install=no
9760      # Look at the argument we got.  We use all the common list separators.
9761      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9762      for pkg in $enableval; do
9763	IFS=$lt_save_ifs
9764	if test "X$pkg" = "X$p"; then
9765	  enable_fast_install=yes
9766	fi
9767      done
9768      IFS=$lt_save_ifs
9769      ;;
9770    esac
9771else
9772  enable_fast_install=yes
9773fi
9774
9775
9776
9777
9778
9779
9780
9781
9782  shared_archive_member_spec=
9783case $host,$enable_shared in
9784power*-*-aix[5-9]*,yes)
9785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9786$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9787
9788# Check whether --with-aix-soname was given.
9789if test "${with_aix_soname+set}" = set; then :
9790  withval=$with_aix_soname; case $withval in
9791    aix|svr4|both)
9792      ;;
9793    *)
9794      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9795      ;;
9796    esac
9797    lt_cv_with_aix_soname=$with_aix_soname
9798else
9799  if ${lt_cv_with_aix_soname+:} false; then :
9800  $as_echo_n "(cached) " >&6
9801else
9802  lt_cv_with_aix_soname=aix
9803fi
9804
9805    with_aix_soname=$lt_cv_with_aix_soname
9806fi
9807
9808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9809$as_echo "$with_aix_soname" >&6; }
9810  if test aix != "$with_aix_soname"; then
9811    # For the AIX way of multilib, we name the shared archive member
9812    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9813    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9814    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9815    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9816    if test 64 = "${OBJECT_MODE-32}"; then
9817      shared_archive_member_spec=shr_64
9818    else
9819      shared_archive_member_spec=shr
9820    fi
9821  fi
9822  ;;
9823*)
9824  with_aix_soname=aix
9825  ;;
9826esac
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837# This can be used to rebuild libtool when needed
9838LIBTOOL_DEPS=$ltmain
9839
9840# Always use our own libtool.
9841LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872test -z "$LN_S" && LN_S="ln -s"
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887if test -n "${ZSH_VERSION+set}"; then
9888   setopt NO_GLOB_SUBST
9889fi
9890
9891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9892$as_echo_n "checking for objdir... " >&6; }
9893if ${lt_cv_objdir+:} false; then :
9894  $as_echo_n "(cached) " >&6
9895else
9896  rm -f .libs 2>/dev/null
9897mkdir .libs 2>/dev/null
9898if test -d .libs; then
9899  lt_cv_objdir=.libs
9900else
9901  # MS-DOS does not allow filenames that begin with a dot.
9902  lt_cv_objdir=_libs
9903fi
9904rmdir .libs 2>/dev/null
9905fi
9906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9907$as_echo "$lt_cv_objdir" >&6; }
9908objdir=$lt_cv_objdir
9909
9910
9911
9912
9913
9914cat >>confdefs.h <<_ACEOF
9915#define LT_OBJDIR "$lt_cv_objdir/"
9916_ACEOF
9917
9918
9919
9920
9921case $host_os in
9922aix3*)
9923  # AIX sometimes has problems with the GCC collect2 program.  For some
9924  # reason, if we set the COLLECT_NAMES environment variable, the problems
9925  # vanish in a puff of smoke.
9926  if test set != "${COLLECT_NAMES+set}"; then
9927    COLLECT_NAMES=
9928    export COLLECT_NAMES
9929  fi
9930  ;;
9931esac
9932
9933# Global variables:
9934ofile=libtool
9935can_build_shared=yes
9936
9937# All known linkers require a '.a' archive for static linking (except MSVC and
9938# ICC, which need '.lib').
9939libext=a
9940
9941with_gnu_ld=$lt_cv_prog_gnu_ld
9942
9943old_CC=$CC
9944old_CFLAGS=$CFLAGS
9945
9946# Set sane defaults for various variables
9947test -z "$CC" && CC=cc
9948test -z "$LTCC" && LTCC=$CC
9949test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9950test -z "$LD" && LD=ld
9951test -z "$ac_objext" && ac_objext=o
9952
9953func_cc_basename $compiler
9954cc_basename=$func_cc_basename_result
9955
9956
9957# Only perform the check for file, if the check method requires it
9958test -z "$MAGIC_CMD" && MAGIC_CMD=file
9959case $deplibs_check_method in
9960file_magic*)
9961  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9962    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9963$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9964if ${lt_cv_path_MAGIC_CMD+:} false; then :
9965  $as_echo_n "(cached) " >&6
9966else
9967  case $MAGIC_CMD in
9968[\\/*] |  ?:[\\/]*)
9969  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9970  ;;
9971*)
9972  lt_save_MAGIC_CMD=$MAGIC_CMD
9973  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9974  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9975  for ac_dir in $ac_dummy; do
9976    IFS=$lt_save_ifs
9977    test -z "$ac_dir" && ac_dir=.
9978    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9979      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9980      if test -n "$file_magic_test_file"; then
9981	case $deplibs_check_method in
9982	"file_magic "*)
9983	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9984	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9985	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9986	    $EGREP "$file_magic_regex" > /dev/null; then
9987	    :
9988	  else
9989	    cat <<_LT_EOF 1>&2
9990
9991*** Warning: the command libtool uses to detect shared libraries,
9992*** $file_magic_cmd, produces output that libtool cannot recognize.
9993*** The result is that libtool may fail to recognize shared libraries
9994*** as such.  This will affect the creation of libtool libraries that
9995*** depend on shared libraries, but programs linked with such libtool
9996*** libraries will work regardless of this problem.  Nevertheless, you
9997*** may want to report the problem to your system manager and/or to
9998*** bug-libtool@gnu.org
9999
10000_LT_EOF
10001	  fi ;;
10002	esac
10003      fi
10004      break
10005    fi
10006  done
10007  IFS=$lt_save_ifs
10008  MAGIC_CMD=$lt_save_MAGIC_CMD
10009  ;;
10010esac
10011fi
10012
10013MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10014if test -n "$MAGIC_CMD"; then
10015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10016$as_echo "$MAGIC_CMD" >&6; }
10017else
10018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019$as_echo "no" >&6; }
10020fi
10021
10022
10023
10024
10025
10026if test -z "$lt_cv_path_MAGIC_CMD"; then
10027  if test -n "$ac_tool_prefix"; then
10028    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10029$as_echo_n "checking for file... " >&6; }
10030if ${lt_cv_path_MAGIC_CMD+:} false; then :
10031  $as_echo_n "(cached) " >&6
10032else
10033  case $MAGIC_CMD in
10034[\\/*] |  ?:[\\/]*)
10035  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10036  ;;
10037*)
10038  lt_save_MAGIC_CMD=$MAGIC_CMD
10039  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10040  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10041  for ac_dir in $ac_dummy; do
10042    IFS=$lt_save_ifs
10043    test -z "$ac_dir" && ac_dir=.
10044    if test -f "$ac_dir/file"; then
10045      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10046      if test -n "$file_magic_test_file"; then
10047	case $deplibs_check_method in
10048	"file_magic "*)
10049	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10050	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10051	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10052	    $EGREP "$file_magic_regex" > /dev/null; then
10053	    :
10054	  else
10055	    cat <<_LT_EOF 1>&2
10056
10057*** Warning: the command libtool uses to detect shared libraries,
10058*** $file_magic_cmd, produces output that libtool cannot recognize.
10059*** The result is that libtool may fail to recognize shared libraries
10060*** as such.  This will affect the creation of libtool libraries that
10061*** depend on shared libraries, but programs linked with such libtool
10062*** libraries will work regardless of this problem.  Nevertheless, you
10063*** may want to report the problem to your system manager and/or to
10064*** bug-libtool@gnu.org
10065
10066_LT_EOF
10067	  fi ;;
10068	esac
10069      fi
10070      break
10071    fi
10072  done
10073  IFS=$lt_save_ifs
10074  MAGIC_CMD=$lt_save_MAGIC_CMD
10075  ;;
10076esac
10077fi
10078
10079MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10080if test -n "$MAGIC_CMD"; then
10081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10082$as_echo "$MAGIC_CMD" >&6; }
10083else
10084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10085$as_echo "no" >&6; }
10086fi
10087
10088
10089  else
10090    MAGIC_CMD=:
10091  fi
10092fi
10093
10094  fi
10095  ;;
10096esac
10097
10098# Use C for the default configuration in the libtool script
10099
10100lt_save_CC=$CC
10101ac_ext=c
10102ac_cpp='$CPP $CPPFLAGS'
10103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10105ac_compiler_gnu=$ac_cv_c_compiler_gnu
10106
10107
10108# Source file extension for C test sources.
10109ac_ext=c
10110
10111# Object file extension for compiled C test sources.
10112objext=o
10113objext=$objext
10114
10115# Code to be used in simple compile tests
10116lt_simple_compile_test_code="int some_variable = 0;"
10117
10118# Code to be used in simple link tests
10119lt_simple_link_test_code='int main(){return(0);}'
10120
10121
10122
10123
10124
10125
10126
10127# If no C compiler was specified, use CC.
10128LTCC=${LTCC-"$CC"}
10129
10130# If no C compiler flags were specified, use CFLAGS.
10131LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10132
10133# Allow CC to be a program name with arguments.
10134compiler=$CC
10135
10136# Save the default compiler, since it gets overwritten when the other
10137# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10138compiler_DEFAULT=$CC
10139
10140# save warnings/boilerplate of simple test code
10141ac_outfile=conftest.$ac_objext
10142echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10143eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10144_lt_compiler_boilerplate=`cat conftest.err`
10145$RM conftest*
10146
10147ac_outfile=conftest.$ac_objext
10148echo "$lt_simple_link_test_code" >conftest.$ac_ext
10149eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10150_lt_linker_boilerplate=`cat conftest.err`
10151$RM -r conftest*
10152
10153
10154if test -n "$compiler"; then
10155
10156lt_prog_compiler_no_builtin_flag=
10157
10158if test yes = "$GCC"; then
10159  case $cc_basename in
10160  nvcc*)
10161    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10162  *)
10163    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10164  esac
10165
10166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10167$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10168if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10169  $as_echo_n "(cached) " >&6
10170else
10171  lt_cv_prog_compiler_rtti_exceptions=no
10172   ac_outfile=conftest.$ac_objext
10173   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10174   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10175   # Insert the option either (1) after the last *FLAGS variable, or
10176   # (2) before a word containing "conftest.", or (3) at the end.
10177   # Note that $ac_compile itself does not contain backslashes and begins
10178   # with a dollar sign (not a hyphen), so the echo should work correctly.
10179   # The option is referenced via a variable to avoid confusing sed.
10180   lt_compile=`echo "$ac_compile" | $SED \
10181   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10182   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10183   -e 's:$: $lt_compiler_flag:'`
10184   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10185   (eval "$lt_compile" 2>conftest.err)
10186   ac_status=$?
10187   cat conftest.err >&5
10188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189   if (exit $ac_status) && test -s "$ac_outfile"; then
10190     # The compiler can only warn and ignore the option if not recognized
10191     # So say no if there are warnings other than the usual output.
10192     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10193     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10194     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10195       lt_cv_prog_compiler_rtti_exceptions=yes
10196     fi
10197   fi
10198   $RM conftest*
10199
10200fi
10201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10202$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10203
10204if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10205    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10206else
10207    :
10208fi
10209
10210fi
10211
10212
10213
10214
10215
10216
10217  lt_prog_compiler_wl=
10218lt_prog_compiler_pic=
10219lt_prog_compiler_static=
10220
10221
10222  if test yes = "$GCC"; then
10223    lt_prog_compiler_wl='-Wl,'
10224    lt_prog_compiler_static='-static'
10225
10226    case $host_os in
10227      aix*)
10228      # All AIX code is PIC.
10229      if test ia64 = "$host_cpu"; then
10230	# AIX 5 now supports IA64 processor
10231	lt_prog_compiler_static='-Bstatic'
10232      fi
10233      lt_prog_compiler_pic='-fPIC'
10234      ;;
10235
10236    amigaos*)
10237      case $host_cpu in
10238      powerpc)
10239            # see comment about AmigaOS4 .so support
10240            lt_prog_compiler_pic='-fPIC'
10241        ;;
10242      m68k)
10243            # FIXME: we need at least 68020 code to build shared libraries, but
10244            # adding the '-m68020' flag to GCC prevents building anything better,
10245            # like '-m68040'.
10246            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10247        ;;
10248      esac
10249      ;;
10250
10251    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10252      # PIC is the default for these OSes.
10253      ;;
10254
10255    mingw* | cygwin* | pw32* | os2* | cegcc*)
10256      # This hack is so that the source file can tell whether it is being
10257      # built for inclusion in a dll (and should export symbols for example).
10258      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10259      # (--disable-auto-import) libraries
10260      lt_prog_compiler_pic='-DDLL_EXPORT'
10261      case $host_os in
10262      os2*)
10263	lt_prog_compiler_static='$wl-static'
10264	;;
10265      esac
10266      ;;
10267
10268    darwin* | rhapsody*)
10269      # PIC is the default on this platform
10270      # Common symbols not allowed in MH_DYLIB files
10271      lt_prog_compiler_pic='-fno-common'
10272      ;;
10273
10274    haiku*)
10275      # PIC is the default for Haiku.
10276      # The "-static" flag exists, but is broken.
10277      lt_prog_compiler_static=
10278      ;;
10279
10280    hpux*)
10281      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10282      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10283      # sets the default TLS model and affects inlining.
10284      case $host_cpu in
10285      hppa*64*)
10286	# +Z the default
10287	;;
10288      *)
10289	lt_prog_compiler_pic='-fPIC'
10290	;;
10291      esac
10292      ;;
10293
10294    interix[3-9]*)
10295      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10296      # Instead, we relocate shared libraries at runtime.
10297      ;;
10298
10299    msdosdjgpp*)
10300      # Just because we use GCC doesn't mean we suddenly get shared libraries
10301      # on systems that don't support them.
10302      lt_prog_compiler_can_build_shared=no
10303      enable_shared=no
10304      ;;
10305
10306    *nto* | *qnx*)
10307      # QNX uses GNU C++, but need to define -shared option too, otherwise
10308      # it will coredump.
10309      lt_prog_compiler_pic='-fPIC -shared'
10310      ;;
10311
10312    sysv4*MP*)
10313      if test -d /usr/nec; then
10314	lt_prog_compiler_pic=-Kconform_pic
10315      fi
10316      ;;
10317
10318    *)
10319      lt_prog_compiler_pic='-fPIC'
10320      ;;
10321    esac
10322
10323    case $cc_basename in
10324    nvcc*) # Cuda Compiler Driver 2.2
10325      lt_prog_compiler_wl='-Xlinker '
10326      if test -n "$lt_prog_compiler_pic"; then
10327        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10328      fi
10329      ;;
10330    esac
10331  else
10332    # PORTME Check for flag to pass linker flags through the system compiler.
10333    case $host_os in
10334    aix*)
10335      lt_prog_compiler_wl='-Wl,'
10336      if test ia64 = "$host_cpu"; then
10337	# AIX 5 now supports IA64 processor
10338	lt_prog_compiler_static='-Bstatic'
10339      else
10340	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10341      fi
10342      ;;
10343
10344    darwin* | rhapsody*)
10345      # PIC is the default on this platform
10346      # Common symbols not allowed in MH_DYLIB files
10347      lt_prog_compiler_pic='-fno-common'
10348      case $cc_basename in
10349      nagfor*)
10350        # NAG Fortran compiler
10351        lt_prog_compiler_wl='-Wl,-Wl,,'
10352        lt_prog_compiler_pic='-PIC'
10353        lt_prog_compiler_static='-Bstatic'
10354        ;;
10355      esac
10356      ;;
10357
10358    mingw* | cygwin* | pw32* | os2* | cegcc*)
10359      # This hack is so that the source file can tell whether it is being
10360      # built for inclusion in a dll (and should export symbols for example).
10361      lt_prog_compiler_pic='-DDLL_EXPORT'
10362      case $host_os in
10363      os2*)
10364	lt_prog_compiler_static='$wl-static'
10365	;;
10366      esac
10367      ;;
10368
10369    hpux9* | hpux10* | hpux11*)
10370      lt_prog_compiler_wl='-Wl,'
10371      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10372      # not for PA HP-UX.
10373      case $host_cpu in
10374      hppa*64*|ia64*)
10375	# +Z the default
10376	;;
10377      *)
10378	lt_prog_compiler_pic='+Z'
10379	;;
10380      esac
10381      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10382      lt_prog_compiler_static='$wl-a ${wl}archive'
10383      ;;
10384
10385    irix5* | irix6* | nonstopux*)
10386      lt_prog_compiler_wl='-Wl,'
10387      # PIC (with -KPIC) is the default.
10388      lt_prog_compiler_static='-non_shared'
10389      ;;
10390
10391    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10392      case $cc_basename in
10393      # old Intel for x86_64, which still supported -KPIC.
10394      ecc*)
10395	lt_prog_compiler_wl='-Wl,'
10396	lt_prog_compiler_pic='-KPIC'
10397	lt_prog_compiler_static='-static'
10398        ;;
10399      # icc used to be incompatible with GCC.
10400      # ICC 10 doesn't accept -KPIC any more.
10401      icc* | ifort*)
10402	lt_prog_compiler_wl='-Wl,'
10403	lt_prog_compiler_pic='-fPIC'
10404	lt_prog_compiler_static='-static'
10405        ;;
10406      # Lahey Fortran 8.1.
10407      lf95*)
10408	lt_prog_compiler_wl='-Wl,'
10409	lt_prog_compiler_pic='--shared'
10410	lt_prog_compiler_static='--static'
10411	;;
10412      nagfor*)
10413	# NAG Fortran compiler
10414	lt_prog_compiler_wl='-Wl,-Wl,,'
10415	lt_prog_compiler_pic='-PIC'
10416	lt_prog_compiler_static='-Bstatic'
10417	;;
10418      tcc*)
10419	# Fabrice Bellard et al's Tiny C Compiler
10420	lt_prog_compiler_wl='-Wl,'
10421	lt_prog_compiler_pic='-fPIC'
10422	lt_prog_compiler_static='-static'
10423	;;
10424      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10425        # Portland Group compilers (*not* the Pentium gcc compiler,
10426	# which looks to be a dead project)
10427	lt_prog_compiler_wl='-Wl,'
10428	lt_prog_compiler_pic='-fpic'
10429	lt_prog_compiler_static='-Bstatic'
10430        ;;
10431      ccc*)
10432        lt_prog_compiler_wl='-Wl,'
10433        # All Alpha code is PIC.
10434        lt_prog_compiler_static='-non_shared'
10435        ;;
10436      xl* | bgxl* | bgf* | mpixl*)
10437	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10438	lt_prog_compiler_wl='-Wl,'
10439	lt_prog_compiler_pic='-qpic'
10440	lt_prog_compiler_static='-qstaticlink'
10441	;;
10442      *)
10443	case `$CC -V 2>&1 | sed 5q` in
10444	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10445	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10446	  lt_prog_compiler_pic='-KPIC'
10447	  lt_prog_compiler_static='-Bstatic'
10448	  lt_prog_compiler_wl=''
10449	  ;;
10450	*Sun\ F* | *Sun*Fortran*)
10451	  lt_prog_compiler_pic='-KPIC'
10452	  lt_prog_compiler_static='-Bstatic'
10453	  lt_prog_compiler_wl='-Qoption ld '
10454	  ;;
10455	*Sun\ C*)
10456	  # Sun C 5.9
10457	  lt_prog_compiler_pic='-KPIC'
10458	  lt_prog_compiler_static='-Bstatic'
10459	  lt_prog_compiler_wl='-Wl,'
10460	  ;;
10461        *Intel*\ [CF]*Compiler*)
10462	  lt_prog_compiler_wl='-Wl,'
10463	  lt_prog_compiler_pic='-fPIC'
10464	  lt_prog_compiler_static='-static'
10465	  ;;
10466	*Portland\ Group*)
10467	  lt_prog_compiler_wl='-Wl,'
10468	  lt_prog_compiler_pic='-fpic'
10469	  lt_prog_compiler_static='-Bstatic'
10470	  ;;
10471	esac
10472	;;
10473      esac
10474      ;;
10475
10476    newsos6)
10477      lt_prog_compiler_pic='-KPIC'
10478      lt_prog_compiler_static='-Bstatic'
10479      ;;
10480
10481    *nto* | *qnx*)
10482      # QNX uses GNU C++, but need to define -shared option too, otherwise
10483      # it will coredump.
10484      lt_prog_compiler_pic='-fPIC -shared'
10485      ;;
10486
10487    osf3* | osf4* | osf5*)
10488      lt_prog_compiler_wl='-Wl,'
10489      # All OSF/1 code is PIC.
10490      lt_prog_compiler_static='-non_shared'
10491      ;;
10492
10493    rdos*)
10494      lt_prog_compiler_static='-non_shared'
10495      ;;
10496
10497    solaris*)
10498      lt_prog_compiler_pic='-KPIC'
10499      lt_prog_compiler_static='-Bstatic'
10500      case $cc_basename in
10501      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10502	lt_prog_compiler_wl='-Qoption ld ';;
10503      *)
10504	lt_prog_compiler_wl='-Wl,';;
10505      esac
10506      ;;
10507
10508    sunos4*)
10509      lt_prog_compiler_wl='-Qoption ld '
10510      lt_prog_compiler_pic='-PIC'
10511      lt_prog_compiler_static='-Bstatic'
10512      ;;
10513
10514    sysv4 | sysv4.2uw2* | sysv4.3*)
10515      lt_prog_compiler_wl='-Wl,'
10516      lt_prog_compiler_pic='-KPIC'
10517      lt_prog_compiler_static='-Bstatic'
10518      ;;
10519
10520    sysv4*MP*)
10521      if test -d /usr/nec; then
10522	lt_prog_compiler_pic='-Kconform_pic'
10523	lt_prog_compiler_static='-Bstatic'
10524      fi
10525      ;;
10526
10527    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10528      lt_prog_compiler_wl='-Wl,'
10529      lt_prog_compiler_pic='-KPIC'
10530      lt_prog_compiler_static='-Bstatic'
10531      ;;
10532
10533    unicos*)
10534      lt_prog_compiler_wl='-Wl,'
10535      lt_prog_compiler_can_build_shared=no
10536      ;;
10537
10538    uts4*)
10539      lt_prog_compiler_pic='-pic'
10540      lt_prog_compiler_static='-Bstatic'
10541      ;;
10542
10543    *)
10544      lt_prog_compiler_can_build_shared=no
10545      ;;
10546    esac
10547  fi
10548
10549case $host_os in
10550  # For platforms that do not support PIC, -DPIC is meaningless:
10551  *djgpp*)
10552    lt_prog_compiler_pic=
10553    ;;
10554  *)
10555    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10556    ;;
10557esac
10558
10559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10560$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10561if ${lt_cv_prog_compiler_pic+:} false; then :
10562  $as_echo_n "(cached) " >&6
10563else
10564  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10565fi
10566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10567$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10568lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10569
10570#
10571# Check to make sure the PIC flag actually works.
10572#
10573if test -n "$lt_prog_compiler_pic"; then
10574  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10575$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10576if ${lt_cv_prog_compiler_pic_works+:} false; then :
10577  $as_echo_n "(cached) " >&6
10578else
10579  lt_cv_prog_compiler_pic_works=no
10580   ac_outfile=conftest.$ac_objext
10581   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10582   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10583   # Insert the option either (1) after the last *FLAGS variable, or
10584   # (2) before a word containing "conftest.", or (3) at the end.
10585   # Note that $ac_compile itself does not contain backslashes and begins
10586   # with a dollar sign (not a hyphen), so the echo should work correctly.
10587   # The option is referenced via a variable to avoid confusing sed.
10588   lt_compile=`echo "$ac_compile" | $SED \
10589   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10590   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10591   -e 's:$: $lt_compiler_flag:'`
10592   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10593   (eval "$lt_compile" 2>conftest.err)
10594   ac_status=$?
10595   cat conftest.err >&5
10596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597   if (exit $ac_status) && test -s "$ac_outfile"; then
10598     # The compiler can only warn and ignore the option if not recognized
10599     # So say no if there are warnings other than the usual output.
10600     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10601     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10602     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10603       lt_cv_prog_compiler_pic_works=yes
10604     fi
10605   fi
10606   $RM conftest*
10607
10608fi
10609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10610$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10611
10612if test yes = "$lt_cv_prog_compiler_pic_works"; then
10613    case $lt_prog_compiler_pic in
10614     "" | " "*) ;;
10615     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10616     esac
10617else
10618    lt_prog_compiler_pic=
10619     lt_prog_compiler_can_build_shared=no
10620fi
10621
10622fi
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634#
10635# Check to make sure the static flag actually works.
10636#
10637wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10639$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10640if ${lt_cv_prog_compiler_static_works+:} false; then :
10641  $as_echo_n "(cached) " >&6
10642else
10643  lt_cv_prog_compiler_static_works=no
10644   save_LDFLAGS=$LDFLAGS
10645   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10646   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10647   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10648     # The linker can only warn and ignore the option if not recognized
10649     # So say no if there are warnings
10650     if test -s conftest.err; then
10651       # Append any errors to the config.log.
10652       cat conftest.err 1>&5
10653       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10654       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10655       if diff conftest.exp conftest.er2 >/dev/null; then
10656         lt_cv_prog_compiler_static_works=yes
10657       fi
10658     else
10659       lt_cv_prog_compiler_static_works=yes
10660     fi
10661   fi
10662   $RM -r conftest*
10663   LDFLAGS=$save_LDFLAGS
10664
10665fi
10666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10667$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10668
10669if test yes = "$lt_cv_prog_compiler_static_works"; then
10670    :
10671else
10672    lt_prog_compiler_static=
10673fi
10674
10675
10676
10677
10678
10679
10680
10681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10682$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10683if ${lt_cv_prog_compiler_c_o+:} false; then :
10684  $as_echo_n "(cached) " >&6
10685else
10686  lt_cv_prog_compiler_c_o=no
10687   $RM -r conftest 2>/dev/null
10688   mkdir conftest
10689   cd conftest
10690   mkdir out
10691   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10692
10693   lt_compiler_flag="-o out/conftest2.$ac_objext"
10694   # Insert the option either (1) after the last *FLAGS variable, or
10695   # (2) before a word containing "conftest.", or (3) at the end.
10696   # Note that $ac_compile itself does not contain backslashes and begins
10697   # with a dollar sign (not a hyphen), so the echo should work correctly.
10698   lt_compile=`echo "$ac_compile" | $SED \
10699   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10700   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10701   -e 's:$: $lt_compiler_flag:'`
10702   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10703   (eval "$lt_compile" 2>out/conftest.err)
10704   ac_status=$?
10705   cat out/conftest.err >&5
10706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10708   then
10709     # The compiler can only warn and ignore the option if not recognized
10710     # So say no if there are warnings
10711     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10712     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10713     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10714       lt_cv_prog_compiler_c_o=yes
10715     fi
10716   fi
10717   chmod u+w . 2>&5
10718   $RM conftest*
10719   # SGI C++ compiler will create directory out/ii_files/ for
10720   # template instantiation
10721   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10722   $RM out/* && rmdir out
10723   cd ..
10724   $RM -r conftest
10725   $RM conftest*
10726
10727fi
10728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10729$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10730
10731
10732
10733
10734
10735
10736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10737$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10738if ${lt_cv_prog_compiler_c_o+:} false; then :
10739  $as_echo_n "(cached) " >&6
10740else
10741  lt_cv_prog_compiler_c_o=no
10742   $RM -r conftest 2>/dev/null
10743   mkdir conftest
10744   cd conftest
10745   mkdir out
10746   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10747
10748   lt_compiler_flag="-o out/conftest2.$ac_objext"
10749   # Insert the option either (1) after the last *FLAGS variable, or
10750   # (2) before a word containing "conftest.", or (3) at the end.
10751   # Note that $ac_compile itself does not contain backslashes and begins
10752   # with a dollar sign (not a hyphen), so the echo should work correctly.
10753   lt_compile=`echo "$ac_compile" | $SED \
10754   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10755   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10756   -e 's:$: $lt_compiler_flag:'`
10757   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10758   (eval "$lt_compile" 2>out/conftest.err)
10759   ac_status=$?
10760   cat out/conftest.err >&5
10761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10763   then
10764     # The compiler can only warn and ignore the option if not recognized
10765     # So say no if there are warnings
10766     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10767     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10768     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10769       lt_cv_prog_compiler_c_o=yes
10770     fi
10771   fi
10772   chmod u+w . 2>&5
10773   $RM conftest*
10774   # SGI C++ compiler will create directory out/ii_files/ for
10775   # template instantiation
10776   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10777   $RM out/* && rmdir out
10778   cd ..
10779   $RM -r conftest
10780   $RM conftest*
10781
10782fi
10783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10784$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10785
10786
10787
10788
10789hard_links=nottested
10790if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10791  # do not overwrite the value of need_locks provided by the user
10792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10793$as_echo_n "checking if we can lock with hard links... " >&6; }
10794  hard_links=yes
10795  $RM conftest*
10796  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10797  touch conftest.a
10798  ln conftest.a conftest.b 2>&5 || hard_links=no
10799  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10801$as_echo "$hard_links" >&6; }
10802  if test no = "$hard_links"; then
10803    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10804$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10805    need_locks=warn
10806  fi
10807else
10808  need_locks=no
10809fi
10810
10811
10812
10813
10814
10815
10816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10817$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10818
10819  runpath_var=
10820  allow_undefined_flag=
10821  always_export_symbols=no
10822  archive_cmds=
10823  archive_expsym_cmds=
10824  compiler_needs_object=no
10825  enable_shared_with_static_runtimes=no
10826  export_dynamic_flag_spec=
10827  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10828  hardcode_automatic=no
10829  hardcode_direct=no
10830  hardcode_direct_absolute=no
10831  hardcode_libdir_flag_spec=
10832  hardcode_libdir_separator=
10833  hardcode_minus_L=no
10834  hardcode_shlibpath_var=unsupported
10835  inherit_rpath=no
10836  link_all_deplibs=unknown
10837  module_cmds=
10838  module_expsym_cmds=
10839  old_archive_from_new_cmds=
10840  old_archive_from_expsyms_cmds=
10841  thread_safe_flag_spec=
10842  whole_archive_flag_spec=
10843  # include_expsyms should be a list of space-separated symbols to be *always*
10844  # included in the symbol list
10845  include_expsyms=
10846  # exclude_expsyms can be an extended regexp of symbols to exclude
10847  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10848  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10849  # as well as any symbol that contains 'd'.
10850  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10851  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10852  # platforms (ab)use it in PIC code, but their linkers get confused if
10853  # the symbol is explicitly referenced.  Since portable code cannot
10854  # rely on this symbol name, it's probably fine to never include it in
10855  # preloaded symbol tables.
10856  # Exclude shared library initialization/finalization symbols.
10857  extract_expsyms_cmds=
10858
10859  case $host_os in
10860  cygwin* | mingw* | pw32* | cegcc*)
10861    # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
10862    # When not using gcc, we currently assume that we are using
10863    # Microsoft Visual C++ or Intel C++ Compiler.
10864    if test yes != "$GCC"; then
10865      with_gnu_ld=no
10866    fi
10867    ;;
10868  interix*)
10869    # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
10870    with_gnu_ld=yes
10871    ;;
10872  openbsd* | bitrig*)
10873    with_gnu_ld=no
10874    ;;
10875  esac
10876
10877  ld_shlibs=yes
10878
10879  # On some targets, GNU ld is compatible enough with the native linker
10880  # that we're better off using the native interface for both.
10881  lt_use_gnu_ld_interface=no
10882  if test yes = "$with_gnu_ld"; then
10883    case $host_os in
10884      aix*)
10885	# The AIX port of GNU ld has always aspired to compatibility
10886	# with the native linker.  However, as the warning in the GNU ld
10887	# block says, versions before 2.19.5* couldn't really create working
10888	# shared libraries, regardless of the interface used.
10889	case `$LD -v 2>&1` in
10890	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10891	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10892	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10893	  *)
10894	    lt_use_gnu_ld_interface=yes
10895	    ;;
10896	esac
10897	;;
10898      *)
10899	lt_use_gnu_ld_interface=yes
10900	;;
10901    esac
10902  fi
10903
10904  if test yes = "$lt_use_gnu_ld_interface"; then
10905    # If archive_cmds runs LD, not CC, wlarc should be empty
10906    wlarc='$wl'
10907
10908    # Set some defaults for GNU ld with shared library support. These
10909    # are reset later if shared libraries are not supported. Putting them
10910    # here allows them to be overridden if necessary.
10911    runpath_var=LD_RUN_PATH
10912    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10913    export_dynamic_flag_spec='$wl--export-dynamic'
10914    # ancient GNU ld didn't support --whole-archive et. al.
10915    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10916      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10917    else
10918      whole_archive_flag_spec=
10919    fi
10920    supports_anon_versioning=no
10921    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10922      *GNU\ gold*) supports_anon_versioning=yes ;;
10923      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10924      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10925      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10926      *\ 2.11.*) ;; # other 2.11 versions
10927      *) supports_anon_versioning=yes ;;
10928    esac
10929
10930    # See if GNU ld supports shared libraries.
10931    case $host_os in
10932    aix[3-9]*)
10933      # On AIX/PPC, the GNU linker is very broken
10934      if test ia64 != "$host_cpu"; then
10935	ld_shlibs=no
10936	cat <<_LT_EOF 1>&2
10937
10938*** Warning: the GNU linker, at least up to release 2.19, is reported
10939*** to be unable to reliably create shared libraries on AIX.
10940*** Therefore, libtool is disabling shared libraries support.  If you
10941*** really care for shared libraries, you may want to install binutils
10942*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10943*** You will then need to restart the configuration process.
10944
10945_LT_EOF
10946      fi
10947      ;;
10948
10949    amigaos*)
10950      case $host_cpu in
10951      powerpc)
10952            # see comment about AmigaOS4 .so support
10953            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10954            archive_expsym_cmds=''
10955        ;;
10956      m68k)
10957            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)'
10958            hardcode_libdir_flag_spec='-L$libdir'
10959            hardcode_minus_L=yes
10960        ;;
10961      esac
10962      ;;
10963
10964    beos*)
10965      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10966	allow_undefined_flag=unsupported
10967	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10968	# support --undefined.  This deserves some investigation.  FIXME
10969	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10970      else
10971	ld_shlibs=no
10972      fi
10973      ;;
10974
10975    cygwin* | mingw* | pw32* | cegcc*)
10976      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10977      # as there is no search path for DLLs.
10978      hardcode_libdir_flag_spec='-L$libdir'
10979      export_dynamic_flag_spec='$wl--export-all-symbols'
10980      allow_undefined_flag=unsupported
10981      always_export_symbols=no
10982      enable_shared_with_static_runtimes=yes
10983      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'
10984      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10985
10986      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10987        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10988	# If the export-symbols file already is a .def file, use it as
10989	# is; otherwise, prepend EXPORTS...
10990	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10991          cp $export_symbols $output_objdir/$soname.def;
10992        else
10993          echo EXPORTS > $output_objdir/$soname.def;
10994          cat $export_symbols >> $output_objdir/$soname.def;
10995        fi~
10996        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10997      else
10998	ld_shlibs=no
10999      fi
11000      ;;
11001
11002    haiku*)
11003      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11004      link_all_deplibs=yes
11005      ;;
11006
11007    os2*)
11008      hardcode_libdir_flag_spec='-L$libdir'
11009      hardcode_minus_L=yes
11010      allow_undefined_flag=unsupported
11011      shrext_cmds=.dll
11012      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11013	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11014	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11015	$ECHO EXPORTS >> $output_objdir/$libname.def~
11016	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11017	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11018	emximp -o $lib $output_objdir/$libname.def'
11019      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11020	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11021	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11022	$ECHO EXPORTS >> $output_objdir/$libname.def~
11023	prefix_cmds="$SED"~
11024	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11025	  prefix_cmds="$prefix_cmds -e 1d";
11026	fi~
11027	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11028	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11029	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11030	emximp -o $lib $output_objdir/$libname.def'
11031      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11032      enable_shared_with_static_runtimes=yes
11033      file_list_spec='@'
11034      ;;
11035
11036    interix[3-9]*)
11037      hardcode_direct=no
11038      hardcode_shlibpath_var=no
11039      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11040      export_dynamic_flag_spec='$wl-E'
11041      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11042      # Instead, shared libraries are loaded at an image base (0x10000000 by
11043      # default) and relocated if they conflict, which is a slow very memory
11044      # consuming and fragmenting process.  To avoid this, we pick a random,
11045      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11046      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11047      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11048      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'
11049      ;;
11050
11051    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11052      tmp_diet=no
11053      if test linux-dietlibc = "$host_os"; then
11054	case $cc_basename in
11055	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11056	esac
11057      fi
11058      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11059	 && test no = "$tmp_diet"
11060      then
11061	tmp_addflag=' $pic_flag'
11062	tmp_sharedflag='-shared'
11063	case $cc_basename,$host_cpu in
11064        pgcc*)				# Portland Group C compiler
11065	  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'
11066	  tmp_addflag=' $pic_flag'
11067	  ;;
11068	pgf77* | pgf90* | pgf95* | pgfortran*)
11069					# Portland Group f77 and f90 compilers
11070	  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'
11071	  tmp_addflag=' $pic_flag -Mnomain' ;;
11072	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11073	  tmp_addflag=' -i_dynamic' ;;
11074	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11075	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11076	ifc* | ifort*)			# Intel Fortran compiler
11077	  tmp_addflag=' -nofor_main' ;;
11078	lf95*)				# Lahey Fortran 8.1
11079	  whole_archive_flag_spec=
11080	  tmp_sharedflag='--shared' ;;
11081        nagfor*)                        # NAGFOR 5.3
11082          tmp_sharedflag='-Wl,-shared' ;;
11083	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11084	  tmp_sharedflag='-qmkshrobj'
11085	  tmp_addflag= ;;
11086	nvcc*)	# Cuda Compiler Driver 2.2
11087	  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'
11088	  compiler_needs_object=yes
11089	  ;;
11090	esac
11091	case `$CC -V 2>&1 | sed 5q` in
11092	*Sun\ C*)			# Sun C 5.9
11093	  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'
11094	  compiler_needs_object=yes
11095	  tmp_sharedflag='-G' ;;
11096	*Sun\ F*)			# Sun Fortran 8.3
11097	  tmp_sharedflag='-G' ;;
11098	esac
11099	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11100
11101        if test yes = "$supports_anon_versioning"; then
11102          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11103            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11104            echo "local: *; };" >> $output_objdir/$libname.ver~
11105            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11106        fi
11107
11108	case $cc_basename in
11109	tcc*)
11110	  export_dynamic_flag_spec='-rdynamic'
11111	  ;;
11112	xlf* | bgf* | bgxlf* | mpixlf*)
11113	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11114	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11115	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11116	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11117	  if test yes = "$supports_anon_versioning"; then
11118	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11119              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11120              echo "local: *; };" >> $output_objdir/$libname.ver~
11121              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11122	  fi
11123	  ;;
11124	esac
11125      else
11126        ld_shlibs=no
11127      fi
11128      ;;
11129
11130    netbsd*)
11131      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11132	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11133	wlarc=
11134      else
11135	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11136	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11137      fi
11138      ;;
11139
11140    solaris*)
11141      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11142	ld_shlibs=no
11143	cat <<_LT_EOF 1>&2
11144
11145*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11146*** create shared libraries on Solaris systems.  Therefore, libtool
11147*** is disabling shared libraries support.  We urge you to upgrade GNU
11148*** binutils to release 2.9.1 or newer.  Another option is to modify
11149*** your PATH or compiler configuration so that the native linker is
11150*** used, and then restart.
11151
11152_LT_EOF
11153      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11154	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11155	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11156      else
11157	ld_shlibs=no
11158      fi
11159      ;;
11160
11161    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11162      case `$LD -v 2>&1` in
11163        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11164	ld_shlibs=no
11165	cat <<_LT_EOF 1>&2
11166
11167*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11168*** reliably create shared libraries on SCO systems.  Therefore, libtool
11169*** is disabling shared libraries support.  We urge you to upgrade GNU
11170*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11171*** your PATH or compiler configuration so that the native linker is
11172*** used, and then restart.
11173
11174_LT_EOF
11175	;;
11176	*)
11177	  # For security reasons, it is highly recommended that you always
11178	  # use absolute paths for naming shared libraries, and exclude the
11179	  # DT_RUNPATH tag from executables and libraries.  But doing so
11180	  # requires that you compile everything twice, which is a pain.
11181	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11182	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11183	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11184	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11185	  else
11186	    ld_shlibs=no
11187	  fi
11188	;;
11189      esac
11190      ;;
11191
11192    sunos4*)
11193      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11194      wlarc=
11195      hardcode_direct=yes
11196      hardcode_shlibpath_var=no
11197      ;;
11198
11199    *)
11200      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11201	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11202	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11203      else
11204	ld_shlibs=no
11205      fi
11206      ;;
11207    esac
11208
11209    if test no = "$ld_shlibs"; then
11210      runpath_var=
11211      hardcode_libdir_flag_spec=
11212      export_dynamic_flag_spec=
11213      whole_archive_flag_spec=
11214    fi
11215  else
11216    # PORTME fill in a description of your system's linker (not GNU ld)
11217    case $host_os in
11218    aix3*)
11219      allow_undefined_flag=unsupported
11220      always_export_symbols=yes
11221      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'
11222      # Note: this linker hardcodes the directories in LIBPATH if there
11223      # are no directories specified by -L.
11224      hardcode_minus_L=yes
11225      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11226	# Neither direct hardcoding nor static linking is supported with a
11227	# broken collect2.
11228	hardcode_direct=unsupported
11229      fi
11230      ;;
11231
11232    aix[4-9]*)
11233      if test ia64 = "$host_cpu"; then
11234	# On IA64, the linker does run time linking by default, so we don't
11235	# have to do anything special.
11236	aix_use_runtimelinking=no
11237	exp_sym_flag='-Bexport'
11238	no_entry_flag=
11239      else
11240	# If we're using GNU nm, then we don't want the "-C" option.
11241	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11242	# Without the "-l" option, or with the "-B" option, AIX nm treats
11243	# weak defined symbols like other global defined symbols, whereas
11244	# GNU nm marks them as "W".
11245	# While the 'weak' keyword is ignored in the Export File, we need
11246	# it in the Import File for the 'aix-soname' feature, so we have
11247	# to replace the "-B" option with "-P" for AIX nm.
11248	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11249	  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'
11250	else
11251	  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'
11252	fi
11253	aix_use_runtimelinking=no
11254
11255	# Test if we are trying to use run time linking or normal
11256	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11257	# have runtime linking enabled, and use it for executables.
11258	# For shared libraries, we enable/disable runtime linking
11259	# depending on the kind of the shared library created -
11260	# when "with_aix_soname,aix_use_runtimelinking" is:
11261	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11262	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11263	#            lib.a           static archive
11264	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11265	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11266	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11267	#            lib.a(lib.so.V) shared, rtl:no
11268	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11269	#            lib.a           static archive
11270	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11271	  for ld_flag in $LDFLAGS; do
11272	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11273	    aix_use_runtimelinking=yes
11274	    break
11275	  fi
11276	  done
11277	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11278	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11279	    # so we don't have lib.a shared libs to link our executables.
11280	    # We have to force runtime linking in this case.
11281	    aix_use_runtimelinking=yes
11282	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11283	  fi
11284	  ;;
11285	esac
11286
11287	exp_sym_flag='-bexport'
11288	no_entry_flag='-bnoentry'
11289      fi
11290
11291      # When large executables or shared objects are built, AIX ld can
11292      # have problems creating the table of contents.  If linking a library
11293      # or program results in "error TOC overflow" add -mminimal-toc to
11294      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11295      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11296
11297      archive_cmds=''
11298      hardcode_direct=yes
11299      hardcode_direct_absolute=yes
11300      hardcode_libdir_separator=':'
11301      link_all_deplibs=yes
11302      file_list_spec='$wl-f,'
11303      case $with_aix_soname,$aix_use_runtimelinking in
11304      aix,*) ;; # traditional, no import file
11305      svr4,* | *,yes) # use import file
11306	# The Import File defines what to hardcode.
11307	hardcode_direct=no
11308	hardcode_direct_absolute=no
11309	;;
11310      esac
11311
11312      if test yes = "$GCC"; then
11313	case $host_os in aix4.[012]|aix4.[012].*)
11314	# We only want to do this on AIX 4.2 and lower, the check
11315	# below for broken collect2 doesn't work under 4.3+
11316	  collect2name=`$CC -print-prog-name=collect2`
11317	  if test -f "$collect2name" &&
11318	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11319	  then
11320	  # We have reworked collect2
11321	  :
11322	  else
11323	  # We have old collect2
11324	  hardcode_direct=unsupported
11325	  # It fails to find uninstalled libraries when the uninstalled
11326	  # path is not listed in the libpath.  Setting hardcode_minus_L
11327	  # to unsupported forces relinking
11328	  hardcode_minus_L=yes
11329	  hardcode_libdir_flag_spec='-L$libdir'
11330	  hardcode_libdir_separator=
11331	  fi
11332	  ;;
11333	esac
11334	shared_flag='-shared'
11335	if test yes = "$aix_use_runtimelinking"; then
11336	  shared_flag="$shared_flag "'$wl-G'
11337	fi
11338	# Need to ensure runtime linking is disabled for the traditional
11339	# shared library, or the linker may eventually find shared libraries
11340	# /with/ Import File - we do not want to mix them.
11341	shared_flag_aix='-shared'
11342	shared_flag_svr4='-shared $wl-G'
11343      else
11344	# not using gcc
11345	if test ia64 = "$host_cpu"; then
11346	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11347	# chokes on -Wl,-G. The following line is correct:
11348	  shared_flag='-G'
11349	else
11350	  if test yes = "$aix_use_runtimelinking"; then
11351	    shared_flag='$wl-G'
11352	  else
11353	    shared_flag='$wl-bM:SRE'
11354	  fi
11355	  shared_flag_aix='$wl-bM:SRE'
11356	  shared_flag_svr4='$wl-G'
11357	fi
11358      fi
11359
11360      export_dynamic_flag_spec='$wl-bexpall'
11361      # It seems that -bexpall does not export symbols beginning with
11362      # underscore (_), so it is better to generate a list of symbols to export.
11363      always_export_symbols=yes
11364      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11365	# Warning - without using the other runtime loading flags (-brtl),
11366	# -berok will link without error, but may produce a broken library.
11367	allow_undefined_flag='-berok'
11368        # Determine the default libpath from the value encoded in an
11369        # empty executable.
11370        if test set = "${lt_cv_aix_libpath+set}"; then
11371  aix_libpath=$lt_cv_aix_libpath
11372else
11373  if ${lt_cv_aix_libpath_+:} false; then :
11374  $as_echo_n "(cached) " >&6
11375else
11376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377/* end confdefs.h.  */
11378
11379int
11380main ()
11381{
11382
11383  ;
11384  return 0;
11385}
11386_ACEOF
11387if ac_fn_c_try_link "$LINENO"; then :
11388
11389  lt_aix_libpath_sed='
11390      /Import File Strings/,/^$/ {
11391	  /^0/ {
11392	      s/^0  *\([^ ]*\) *$/\1/
11393	      p
11394	  }
11395      }'
11396  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11397  # Check for a 64-bit object if we didn't find anything.
11398  if test -z "$lt_cv_aix_libpath_"; then
11399    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11400  fi
11401fi
11402rm -f core conftest.err conftest.$ac_objext \
11403    conftest$ac_exeext conftest.$ac_ext
11404  if test -z "$lt_cv_aix_libpath_"; then
11405    lt_cv_aix_libpath_=/usr/lib:/lib
11406  fi
11407
11408fi
11409
11410  aix_libpath=$lt_cv_aix_libpath_
11411fi
11412
11413        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11414        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
11415      else
11416	if test ia64 = "$host_cpu"; then
11417	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11418	  allow_undefined_flag="-z nodefs"
11419	  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"
11420	else
11421	 # Determine the default libpath from the value encoded in an
11422	 # empty executable.
11423	 if test set = "${lt_cv_aix_libpath+set}"; then
11424  aix_libpath=$lt_cv_aix_libpath
11425else
11426  if ${lt_cv_aix_libpath_+:} false; then :
11427  $as_echo_n "(cached) " >&6
11428else
11429  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430/* end confdefs.h.  */
11431
11432int
11433main ()
11434{
11435
11436  ;
11437  return 0;
11438}
11439_ACEOF
11440if ac_fn_c_try_link "$LINENO"; then :
11441
11442  lt_aix_libpath_sed='
11443      /Import File Strings/,/^$/ {
11444	  /^0/ {
11445	      s/^0  *\([^ ]*\) *$/\1/
11446	      p
11447	  }
11448      }'
11449  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11450  # Check for a 64-bit object if we didn't find anything.
11451  if test -z "$lt_cv_aix_libpath_"; then
11452    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11453  fi
11454fi
11455rm -f core conftest.err conftest.$ac_objext \
11456    conftest$ac_exeext conftest.$ac_ext
11457  if test -z "$lt_cv_aix_libpath_"; then
11458    lt_cv_aix_libpath_=/usr/lib:/lib
11459  fi
11460
11461fi
11462
11463  aix_libpath=$lt_cv_aix_libpath_
11464fi
11465
11466	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11467	  # Warning - without using the other run time loading flags,
11468	  # -berok will link without error, but may produce a broken library.
11469	  no_undefined_flag=' $wl-bernotok'
11470	  allow_undefined_flag=' $wl-berok'
11471	  if test yes = "$with_gnu_ld"; then
11472	    # We only use this code for GNU lds that support --whole-archive.
11473	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11474	  else
11475	    # Exported symbols can be pulled into shared objects from archives
11476	    whole_archive_flag_spec='$convenience'
11477	  fi
11478	  archive_cmds_need_lc=yes
11479	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11480	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11481	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11482	  if test svr4 != "$with_aix_soname"; then
11483	    # This is similar to how AIX traditionally builds its shared libraries.
11484	    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'
11485	  fi
11486	  if test aix != "$with_aix_soname"; then
11487	    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'
11488	  else
11489	    # used by -dlpreopen to get the symbols
11490	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11491	  fi
11492	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11493	fi
11494      fi
11495      ;;
11496
11497    amigaos*)
11498      case $host_cpu in
11499      powerpc)
11500            # see comment about AmigaOS4 .so support
11501            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11502            archive_expsym_cmds=''
11503        ;;
11504      m68k)
11505            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)'
11506            hardcode_libdir_flag_spec='-L$libdir'
11507            hardcode_minus_L=yes
11508        ;;
11509      esac
11510      ;;
11511
11512    bsdi[45]*)
11513      export_dynamic_flag_spec=-rdynamic
11514      ;;
11515
11516    cygwin* | mingw* | pw32* | cegcc*)
11517      # When not using gcc, we currently assume that we are using
11518      # Microsoft Visual C++ or Intel C++ Compiler.
11519      # hardcode_libdir_flag_spec is actually meaningless, as there is
11520      # no search path for DLLs.
11521      case $cc_basename in
11522      cl* | icl*)
11523	# Native MSVC or ICC
11524	hardcode_libdir_flag_spec=' '
11525	allow_undefined_flag=unsupported
11526	always_export_symbols=yes
11527	file_list_spec='@'
11528	# Tell ltmain to make .lib files, not .a files.
11529	libext=lib
11530	# Tell ltmain to make .dll files, not .so files.
11531	shrext_cmds=.dll
11532	# FIXME: Setting linknames here is a bad hack.
11533	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11534	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11535            cp "$export_symbols" "$output_objdir/$soname.def";
11536            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11537          else
11538            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11539          fi~
11540          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11541          linknames='
11542	# The linker will not automatically build a static lib if we build a DLL.
11543	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11544	enable_shared_with_static_runtimes=yes
11545	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11546	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11547	# Don't use ranlib
11548	old_postinstall_cmds='chmod 644 $oldlib'
11549	postlink_cmds='lt_outputfile="@OUTPUT@"~
11550          lt_tool_outputfile="@TOOL_OUTPUT@"~
11551          case $lt_outputfile in
11552            *.exe|*.EXE) ;;
11553            *)
11554              lt_outputfile=$lt_outputfile.exe
11555              lt_tool_outputfile=$lt_tool_outputfile.exe
11556              ;;
11557          esac~
11558          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11559            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11560            $RM "$lt_outputfile.manifest";
11561          fi'
11562	;;
11563      *)
11564	# Assume MSVC and ICC wrapper
11565	hardcode_libdir_flag_spec=' '
11566	allow_undefined_flag=unsupported
11567	# Tell ltmain to make .lib files, not .a files.
11568	libext=lib
11569	# Tell ltmain to make .dll files, not .so files.
11570	shrext_cmds=.dll
11571	# FIXME: Setting linknames here is a bad hack.
11572	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11573	# The linker will automatically build a .lib file if we build a DLL.
11574	old_archive_from_new_cmds='true'
11575	# FIXME: Should let the user specify the lib program.
11576	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11577	enable_shared_with_static_runtimes=yes
11578	;;
11579      esac
11580      ;;
11581
11582    darwin* | rhapsody*)
11583
11584
11585  archive_cmds_need_lc=no
11586  hardcode_direct=no
11587  hardcode_automatic=yes
11588  hardcode_shlibpath_var=unsupported
11589  if test yes = "$lt_cv_ld_force_load"; then
11590    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\"`'
11591
11592  else
11593    whole_archive_flag_spec=''
11594  fi
11595  link_all_deplibs=yes
11596  allow_undefined_flag=$_lt_dar_allow_undefined
11597  case $cc_basename in
11598     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11599     *) _lt_dar_can_shared=$GCC ;;
11600  esac
11601  if test yes = "$_lt_dar_can_shared"; then
11602    output_verbose_link_cmd=func_echo_all
11603    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11604    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11605    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"
11606    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"
11607
11608  else
11609  ld_shlibs=no
11610  fi
11611
11612      ;;
11613
11614    dgux*)
11615      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11616      hardcode_libdir_flag_spec='-L$libdir'
11617      hardcode_shlibpath_var=no
11618      ;;
11619
11620    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11621    # support.  Future versions do this automatically, but an explicit c++rt0.o
11622    # does not break anything, and helps significantly (at the cost of a little
11623    # extra space).
11624    freebsd2.2*)
11625      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11626      hardcode_libdir_flag_spec='-R$libdir'
11627      hardcode_direct=yes
11628      hardcode_shlibpath_var=no
11629      ;;
11630
11631    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11632    freebsd2.*)
11633      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11634      hardcode_direct=yes
11635      hardcode_minus_L=yes
11636      hardcode_shlibpath_var=no
11637      ;;
11638
11639    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11640    freebsd* | dragonfly*)
11641      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11642      hardcode_libdir_flag_spec='-R$libdir'
11643      hardcode_direct=yes
11644      hardcode_shlibpath_var=no
11645      ;;
11646
11647    hpux9*)
11648      if test yes = "$GCC"; then
11649	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'
11650      else
11651	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'
11652      fi
11653      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11654      hardcode_libdir_separator=:
11655      hardcode_direct=yes
11656
11657      # hardcode_minus_L: Not really in the search PATH,
11658      # but as the default location of the library.
11659      hardcode_minus_L=yes
11660      export_dynamic_flag_spec='$wl-E'
11661      ;;
11662
11663    hpux10*)
11664      if test yes,no = "$GCC,$with_gnu_ld"; then
11665	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11666      else
11667	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11668      fi
11669      if test no = "$with_gnu_ld"; then
11670	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11671	hardcode_libdir_separator=:
11672	hardcode_direct=yes
11673	hardcode_direct_absolute=yes
11674	export_dynamic_flag_spec='$wl-E'
11675	# hardcode_minus_L: Not really in the search PATH,
11676	# but as the default location of the library.
11677	hardcode_minus_L=yes
11678      fi
11679      ;;
11680
11681    hpux11*)
11682      if test yes,no = "$GCC,$with_gnu_ld"; then
11683	case $host_cpu in
11684	hppa*64*)
11685	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11686	  ;;
11687	ia64*)
11688	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11689	  ;;
11690	*)
11691	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11692	  ;;
11693	esac
11694      else
11695	case $host_cpu in
11696	hppa*64*)
11697	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11698	  ;;
11699	ia64*)
11700	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11701	  ;;
11702	*)
11703
11704	  # Older versions of the 11.00 compiler do not understand -b yet
11705	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11706	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11707$as_echo_n "checking if $CC understands -b... " >&6; }
11708if ${lt_cv_prog_compiler__b+:} false; then :
11709  $as_echo_n "(cached) " >&6
11710else
11711  lt_cv_prog_compiler__b=no
11712   save_LDFLAGS=$LDFLAGS
11713   LDFLAGS="$LDFLAGS -b"
11714   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11715   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11716     # The linker can only warn and ignore the option if not recognized
11717     # So say no if there are warnings
11718     if test -s conftest.err; then
11719       # Append any errors to the config.log.
11720       cat conftest.err 1>&5
11721       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11722       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11723       if diff conftest.exp conftest.er2 >/dev/null; then
11724         lt_cv_prog_compiler__b=yes
11725       fi
11726     else
11727       lt_cv_prog_compiler__b=yes
11728     fi
11729   fi
11730   $RM -r conftest*
11731   LDFLAGS=$save_LDFLAGS
11732
11733fi
11734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11735$as_echo "$lt_cv_prog_compiler__b" >&6; }
11736
11737if test yes = "$lt_cv_prog_compiler__b"; then
11738    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11739else
11740    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11741fi
11742
11743	  ;;
11744	esac
11745      fi
11746      if test no = "$with_gnu_ld"; then
11747	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11748	hardcode_libdir_separator=:
11749
11750	case $host_cpu in
11751	hppa*64*|ia64*)
11752	  hardcode_direct=no
11753	  hardcode_shlibpath_var=no
11754	  ;;
11755	*)
11756	  hardcode_direct=yes
11757	  hardcode_direct_absolute=yes
11758	  export_dynamic_flag_spec='$wl-E'
11759
11760	  # hardcode_minus_L: Not really in the search PATH,
11761	  # but as the default location of the library.
11762	  hardcode_minus_L=yes
11763	  ;;
11764	esac
11765      fi
11766      ;;
11767
11768    irix5* | irix6* | nonstopux*)
11769      if test yes = "$GCC"; then
11770	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'
11771	# Try to use the -exported_symbol ld option, if it does not
11772	# work, assume that -exports_file does not work either and
11773	# implicitly export all symbols.
11774	# This should be the same for all languages, so no per-tag cache variable.
11775	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11776$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11777if ${lt_cv_irix_exported_symbol+:} false; then :
11778  $as_echo_n "(cached) " >&6
11779else
11780  save_LDFLAGS=$LDFLAGS
11781	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11782	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783/* end confdefs.h.  */
11784int foo (void) { return 0; }
11785_ACEOF
11786if ac_fn_c_try_link "$LINENO"; then :
11787  lt_cv_irix_exported_symbol=yes
11788else
11789  lt_cv_irix_exported_symbol=no
11790fi
11791rm -f core conftest.err conftest.$ac_objext \
11792    conftest$ac_exeext conftest.$ac_ext
11793           LDFLAGS=$save_LDFLAGS
11794fi
11795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11796$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11797	if test yes = "$lt_cv_irix_exported_symbol"; then
11798          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'
11799	fi
11800      else
11801	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'
11802	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'
11803      fi
11804      archive_cmds_need_lc='no'
11805      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11806      hardcode_libdir_separator=:
11807      inherit_rpath=yes
11808      link_all_deplibs=yes
11809      ;;
11810
11811    linux*)
11812      case $cc_basename in
11813      tcc*)
11814	# Fabrice Bellard et al's Tiny C Compiler
11815	ld_shlibs=yes
11816	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11817	;;
11818      esac
11819      ;;
11820
11821    netbsd*)
11822      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11823	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11824      else
11825	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11826      fi
11827      hardcode_libdir_flag_spec='-R$libdir'
11828      hardcode_direct=yes
11829      hardcode_shlibpath_var=no
11830      ;;
11831
11832    newsos6)
11833      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11834      hardcode_direct=yes
11835      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11836      hardcode_libdir_separator=:
11837      hardcode_shlibpath_var=no
11838      ;;
11839
11840    *nto* | *qnx*)
11841      ;;
11842
11843    openbsd* | bitrig*)
11844      if test -f /usr/libexec/ld.so; then
11845	hardcode_direct=yes
11846	hardcode_shlibpath_var=no
11847	hardcode_direct_absolute=yes
11848	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11849	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11850	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11851	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11852	  export_dynamic_flag_spec='$wl-E'
11853	else
11854	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11855	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11856	fi
11857      else
11858	ld_shlibs=no
11859      fi
11860      ;;
11861
11862    os2*)
11863      hardcode_libdir_flag_spec='-L$libdir'
11864      hardcode_minus_L=yes
11865      allow_undefined_flag=unsupported
11866      shrext_cmds=.dll
11867      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11868	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11869	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11870	$ECHO EXPORTS >> $output_objdir/$libname.def~
11871	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11872	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11873	emximp -o $lib $output_objdir/$libname.def'
11874      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11875	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11876	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11877	$ECHO EXPORTS >> $output_objdir/$libname.def~
11878	prefix_cmds="$SED"~
11879	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11880	  prefix_cmds="$prefix_cmds -e 1d";
11881	fi~
11882	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11883	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11884	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11885	emximp -o $lib $output_objdir/$libname.def'
11886      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11887      enable_shared_with_static_runtimes=yes
11888      file_list_spec='@'
11889      ;;
11890
11891    osf3*)
11892      if test yes = "$GCC"; then
11893	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11894	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'
11895      else
11896	allow_undefined_flag=' -expect_unresolved \*'
11897	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'
11898      fi
11899      archive_cmds_need_lc='no'
11900      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11901      hardcode_libdir_separator=:
11902      ;;
11903
11904    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11905      if test yes = "$GCC"; then
11906	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11907	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'
11908	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11909      else
11910	allow_undefined_flag=' -expect_unresolved \*'
11911	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'
11912	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~
11913          $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'
11914
11915	# Both c and cxx compiler support -rpath directly
11916	hardcode_libdir_flag_spec='-rpath $libdir'
11917      fi
11918      archive_cmds_need_lc='no'
11919      hardcode_libdir_separator=:
11920      ;;
11921
11922    solaris*)
11923      no_undefined_flag=' -z defs'
11924      if test yes = "$GCC"; then
11925	wlarc='$wl'
11926	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11927	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11928          $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'
11929      else
11930	case `$CC -V 2>&1` in
11931	*"Compilers 5.0"*)
11932	  wlarc=''
11933	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11934	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11935            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11936	  ;;
11937	*)
11938	  wlarc='$wl'
11939	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11940	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11941            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11942	  ;;
11943	esac
11944      fi
11945      hardcode_libdir_flag_spec='-R$libdir'
11946      hardcode_shlibpath_var=no
11947      case $host_os in
11948      solaris2.[0-5] | solaris2.[0-5].*) ;;
11949      *)
11950	# The compiler driver will combine and reorder linker options,
11951	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11952	# but is careful enough not to reorder.
11953	# Supported since Solaris 2.6 (maybe 2.5.1?)
11954	if test yes = "$GCC"; then
11955	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11956	else
11957	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11958	fi
11959	;;
11960      esac
11961      link_all_deplibs=yes
11962      ;;
11963
11964    sunos4*)
11965      if test sequent = "$host_vendor"; then
11966	# Use $CC to link under sequent, because it throws in some extra .o
11967	# files that make .init and .fini sections work.
11968	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11969      else
11970	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11971      fi
11972      hardcode_libdir_flag_spec='-L$libdir'
11973      hardcode_direct=yes
11974      hardcode_minus_L=yes
11975      hardcode_shlibpath_var=no
11976      ;;
11977
11978    sysv4)
11979      case $host_vendor in
11980	sni)
11981	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11982	  hardcode_direct=yes # is this really true???
11983	;;
11984	siemens)
11985	  ## LD is ld it makes a PLAMLIB
11986	  ## CC just makes a GrossModule.
11987	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11988	  reload_cmds='$CC -r -o $output$reload_objs'
11989	  hardcode_direct=no
11990        ;;
11991	motorola)
11992	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11993	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11994	;;
11995      esac
11996      runpath_var='LD_RUN_PATH'
11997      hardcode_shlibpath_var=no
11998      ;;
11999
12000    sysv4.3*)
12001      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12002      hardcode_shlibpath_var=no
12003      export_dynamic_flag_spec='-Bexport'
12004      ;;
12005
12006    sysv4*MP*)
12007      if test -d /usr/nec; then
12008	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12009	hardcode_shlibpath_var=no
12010	runpath_var=LD_RUN_PATH
12011	hardcode_runpath_var=yes
12012	ld_shlibs=yes
12013      fi
12014      ;;
12015
12016    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12017      no_undefined_flag='$wl-z,text'
12018      archive_cmds_need_lc=no
12019      hardcode_shlibpath_var=no
12020      runpath_var='LD_RUN_PATH'
12021
12022      if test yes = "$GCC"; then
12023	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12024	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12025      else
12026	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12027	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12028      fi
12029      ;;
12030
12031    sysv5* | sco3.2v5* | sco5v6*)
12032      # Note: We CANNOT use -z defs as we might desire, because we do not
12033      # link with -lc, and that would cause any symbols used from libc to
12034      # always be unresolved, which means just about no library would
12035      # ever link correctly.  If we're not using GNU ld we use -z text
12036      # though, which does catch some bad symbols but isn't as heavy-handed
12037      # as -z defs.
12038      no_undefined_flag='$wl-z,text'
12039      allow_undefined_flag='$wl-z,nodefs'
12040      archive_cmds_need_lc=no
12041      hardcode_shlibpath_var=no
12042      hardcode_libdir_flag_spec='$wl-R,$libdir'
12043      hardcode_libdir_separator=':'
12044      link_all_deplibs=yes
12045      export_dynamic_flag_spec='$wl-Bexport'
12046      runpath_var='LD_RUN_PATH'
12047
12048      if test yes = "$GCC"; then
12049	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12050	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12051      else
12052	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12053	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12054      fi
12055      ;;
12056
12057    uts4*)
12058      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12059      hardcode_libdir_flag_spec='-L$libdir'
12060      hardcode_shlibpath_var=no
12061      ;;
12062
12063    *)
12064      ld_shlibs=no
12065      ;;
12066    esac
12067
12068    if test sni = "$host_vendor"; then
12069      case $host in
12070      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12071	export_dynamic_flag_spec='$wl-Blargedynsym'
12072	;;
12073      esac
12074    fi
12075  fi
12076
12077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12078$as_echo "$ld_shlibs" >&6; }
12079test no = "$ld_shlibs" && can_build_shared=no
12080
12081with_gnu_ld=$with_gnu_ld
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097#
12098# Do we need to explicitly link libc?
12099#
12100case "x$archive_cmds_need_lc" in
12101x|xyes)
12102  # Assume -lc should be added
12103  archive_cmds_need_lc=yes
12104
12105  if test yes,yes = "$GCC,$enable_shared"; then
12106    case $archive_cmds in
12107    *'~'*)
12108      # FIXME: we may have to deal with multi-command sequences.
12109      ;;
12110    '$CC '*)
12111      # Test whether the compiler implicitly links with -lc since on some
12112      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12113      # to ld, don't add -lc before -lgcc.
12114      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12115$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12116if ${lt_cv_archive_cmds_need_lc+:} false; then :
12117  $as_echo_n "(cached) " >&6
12118else
12119  $RM conftest*
12120	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12121
12122	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12123  (eval $ac_compile) 2>&5
12124  ac_status=$?
12125  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126  test $ac_status = 0; } 2>conftest.err; then
12127	  soname=conftest
12128	  lib=conftest
12129	  libobjs=conftest.$ac_objext
12130	  deplibs=
12131	  wl=$lt_prog_compiler_wl
12132	  pic_flag=$lt_prog_compiler_pic
12133	  compiler_flags=-v
12134	  linker_flags=-v
12135	  verstring=
12136	  output_objdir=.
12137	  libname=conftest
12138	  lt_save_allow_undefined_flag=$allow_undefined_flag
12139	  allow_undefined_flag=
12140	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12141  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12142  ac_status=$?
12143  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12144  test $ac_status = 0; }
12145	  then
12146	    lt_cv_archive_cmds_need_lc=no
12147	  else
12148	    lt_cv_archive_cmds_need_lc=yes
12149	  fi
12150	  allow_undefined_flag=$lt_save_allow_undefined_flag
12151	else
12152	  cat conftest.err 1>&5
12153	fi
12154	$RM conftest*
12155
12156fi
12157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12158$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12159      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12160      ;;
12161    esac
12162  fi
12163  ;;
12164esac
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12318$as_echo_n "checking dynamic linker characteristics... " >&6; }
12319
12320if test yes = "$GCC"; then
12321  case $host_os in
12322    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12323    *) lt_awk_arg='/^libraries:/' ;;
12324  esac
12325  case $host_os in
12326    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12327    *) lt_sed_strip_eq='s|=/|/|g' ;;
12328  esac
12329  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12330  case $lt_search_path_spec in
12331  *\;*)
12332    # if the path contains ";" then we assume it to be the separator
12333    # otherwise default to the standard path separator (i.e. ":") - it is
12334    # assumed that no part of a normal pathname contains ";" but that should
12335    # okay in the real world where ";" in dirpaths is itself problematic.
12336    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12337    ;;
12338  *)
12339    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12340    ;;
12341  esac
12342  # Ok, now we have the path, separated by spaces, we can step through it
12343  # and add multilib dir if necessary...
12344  lt_tmp_lt_search_path_spec=
12345  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12346  # ...but if some path component already ends with the multilib dir we assume
12347  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12348  case "$lt_multi_os_dir; $lt_search_path_spec " in
12349  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12350    lt_multi_os_dir=
12351    ;;
12352  esac
12353  for lt_sys_path in $lt_search_path_spec; do
12354    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12355      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12356    elif test -n "$lt_multi_os_dir"; then
12357      test -d "$lt_sys_path" && \
12358	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12359    fi
12360  done
12361  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12362BEGIN {RS = " "; FS = "/|\n";} {
12363  lt_foo = "";
12364  lt_count = 0;
12365  for (lt_i = NF; lt_i > 0; lt_i--) {
12366    if ($lt_i != "" && $lt_i != ".") {
12367      if ($lt_i == "..") {
12368        lt_count++;
12369      } else {
12370        if (lt_count == 0) {
12371          lt_foo = "/" $lt_i lt_foo;
12372        } else {
12373          lt_count--;
12374        }
12375      }
12376    }
12377  }
12378  if (lt_foo != "") { lt_freq[lt_foo]++; }
12379  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12380}'`
12381  # AWK program above erroneously prepends '/' to C:/dos/paths
12382  # for these hosts.
12383  case $host_os in
12384    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12385      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12386  esac
12387  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12388else
12389  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12390fi
12391library_names_spec=
12392libname_spec='lib$name'
12393soname_spec=
12394shrext_cmds=.so
12395postinstall_cmds=
12396postuninstall_cmds=
12397finish_cmds=
12398finish_eval=
12399shlibpath_var=
12400shlibpath_overrides_runpath=unknown
12401version_type=none
12402dynamic_linker="$host_os ld.so"
12403sys_lib_dlsearch_path_spec="/lib /usr/lib"
12404need_lib_prefix=unknown
12405hardcode_into_libs=no
12406
12407# when you set need_version to no, make sure it does not cause -set_version
12408# flags to be left without arguments
12409need_version=unknown
12410
12411
12412
12413case $host_os in
12414aix3*)
12415  version_type=linux # correct to gnu/linux during the next big refactor
12416  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12417  shlibpath_var=LIBPATH
12418
12419  # AIX 3 has no versioning support, so we append a major version to the name.
12420  soname_spec='$libname$release$shared_ext$major'
12421  ;;
12422
12423aix[4-9]*)
12424  version_type=linux # correct to gnu/linux during the next big refactor
12425  need_lib_prefix=no
12426  need_version=no
12427  hardcode_into_libs=yes
12428  if test ia64 = "$host_cpu"; then
12429    # AIX 5 supports IA64
12430    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12431    shlibpath_var=LD_LIBRARY_PATH
12432  else
12433    # With GCC up to 2.95.x, collect2 would create an import file
12434    # for dependence libraries.  The import file would start with
12435    # the line '#! .'.  This would cause the generated library to
12436    # depend on '.', always an invalid library.  This was fixed in
12437    # development snapshots of GCC prior to 3.0.
12438    case $host_os in
12439      aix4 | aix4.[01] | aix4.[01].*)
12440      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12441	   echo ' yes '
12442	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12443	:
12444      else
12445	can_build_shared=no
12446      fi
12447      ;;
12448    esac
12449    # Using Import Files as archive members, it is possible to support
12450    # filename-based versioning of shared library archives on AIX. While
12451    # this would work for both with and without runtime linking, it will
12452    # prevent static linking of such archives. So we do filename-based
12453    # shared library versioning with .so extension only, which is used
12454    # when both runtime linking and shared linking is enabled.
12455    # Unfortunately, runtime linking may impact performance, so we do
12456    # not want this to be the default eventually. Also, we use the
12457    # versioned .so libs for executables only if there is the -brtl
12458    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12459    # To allow for filename-based versioning support, we need to create
12460    # libNAME.so.V as an archive file, containing:
12461    # *) an Import File, referring to the versioned filename of the
12462    #    archive as well as the shared archive member, telling the
12463    #    bitwidth (32 or 64) of that shared object, and providing the
12464    #    list of exported symbols of that shared object, eventually
12465    #    decorated with the 'weak' keyword
12466    # *) the shared object with the F_LOADONLY flag set, to really avoid
12467    #    it being seen by the linker.
12468    # At run time we better use the real file rather than another symlink,
12469    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12470
12471    case $with_aix_soname,$aix_use_runtimelinking in
12472    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12473    # soname into executable. Probably we can add versioning support to
12474    # collect2, so additional links can be useful in future.
12475    aix,yes) # traditional libtool
12476      dynamic_linker='AIX unversionable lib.so'
12477      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12478      # instead of lib<name>.a to let people know that these are not
12479      # typical AIX shared libraries.
12480      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12481      ;;
12482    aix,no) # traditional AIX only
12483      dynamic_linker='AIX lib.a(lib.so.V)'
12484      # We preserve .a as extension for shared libraries through AIX4.2
12485      # and later when we are not doing run time linking.
12486      library_names_spec='$libname$release.a $libname.a'
12487      soname_spec='$libname$release$shared_ext$major'
12488      ;;
12489    svr4,*) # full svr4 only
12490      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12491      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12492      # We do not specify a path in Import Files, so LIBPATH fires.
12493      shlibpath_overrides_runpath=yes
12494      ;;
12495    *,yes) # both, prefer svr4
12496      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12497      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12498      # unpreferred sharedlib libNAME.a needs extra handling
12499      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"'
12500      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"'
12501      # We do not specify a path in Import Files, so LIBPATH fires.
12502      shlibpath_overrides_runpath=yes
12503      ;;
12504    *,no) # both, prefer aix
12505      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12506      library_names_spec='$libname$release.a $libname.a'
12507      soname_spec='$libname$release$shared_ext$major'
12508      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12509      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)'
12510      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"'
12511      ;;
12512    esac
12513    shlibpath_var=LIBPATH
12514  fi
12515  ;;
12516
12517amigaos*)
12518  case $host_cpu in
12519  powerpc)
12520    # Since July 2007 AmigaOS4 officially supports .so libraries.
12521    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12522    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12523    ;;
12524  m68k)
12525    library_names_spec='$libname.ixlibrary $libname.a'
12526    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12527    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'
12528    ;;
12529  esac
12530  ;;
12531
12532beos*)
12533  library_names_spec='$libname$shared_ext'
12534  dynamic_linker="$host_os ld.so"
12535  shlibpath_var=LIBRARY_PATH
12536  ;;
12537
12538bsdi[45]*)
12539  version_type=linux # correct to gnu/linux during the next big refactor
12540  need_version=no
12541  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12542  soname_spec='$libname$release$shared_ext$major'
12543  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12544  shlibpath_var=LD_LIBRARY_PATH
12545  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12546  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12547  # the default ld.so.conf also contains /usr/contrib/lib and
12548  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12549  # libtool to hard-code these into programs
12550  ;;
12551
12552cygwin* | mingw* | pw32* | cegcc*)
12553  version_type=windows
12554  shrext_cmds=.dll
12555  need_version=no
12556  need_lib_prefix=no
12557
12558  case $GCC,$cc_basename in
12559  yes,*)
12560    # gcc
12561    library_names_spec='$libname.dll.a'
12562    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12563    postinstall_cmds='base_file=`basename \$file`~
12564      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12565      dldir=$destdir/`dirname \$dlpath`~
12566      test -d \$dldir || mkdir -p \$dldir~
12567      $install_prog $dir/$dlname \$dldir/$dlname~
12568      chmod a+x \$dldir/$dlname~
12569      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12570        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12571      fi'
12572    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12573      dlpath=$dir/\$dldll~
12574       $RM \$dlpath'
12575    shlibpath_overrides_runpath=yes
12576
12577    case $host_os in
12578    cygwin*)
12579      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12580      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12581
12582      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12583      ;;
12584    mingw* | cegcc*)
12585      # MinGW DLLs use traditional 'lib' prefix
12586      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12587      ;;
12588    pw32*)
12589      # pw32 DLLs use 'pw' prefix rather than 'lib'
12590      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12591      ;;
12592    esac
12593    dynamic_linker='Win32 ld.exe'
12594    ;;
12595
12596  *,cl* | *,icl*)
12597    # Native MSVC or ICC
12598    libname_spec='$name'
12599    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12600    library_names_spec='$libname.dll.lib'
12601
12602    case $build_os in
12603    mingw*)
12604      sys_lib_search_path_spec=
12605      lt_save_ifs=$IFS
12606      IFS=';'
12607      for lt_path in $LIB
12608      do
12609        IFS=$lt_save_ifs
12610        # Let DOS variable expansion print the short 8.3 style file name.
12611        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12612        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12613      done
12614      IFS=$lt_save_ifs
12615      # Convert to MSYS style.
12616      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12617      ;;
12618    cygwin*)
12619      # Convert to unix form, then to dos form, then back to unix form
12620      # but this time dos style (no spaces!) so that the unix form looks
12621      # like /cygdrive/c/PROGRA~1:/cygdr...
12622      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12623      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12624      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12625      ;;
12626    *)
12627      sys_lib_search_path_spec=$LIB
12628      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12629        # It is most probably a Windows format PATH.
12630        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12631      else
12632        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12633      fi
12634      # FIXME: find the short name or the path components, as spaces are
12635      # common. (e.g. "Program Files" -> "PROGRA~1")
12636      ;;
12637    esac
12638
12639    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12640    postinstall_cmds='base_file=`basename \$file`~
12641      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12642      dldir=$destdir/`dirname \$dlpath`~
12643      test -d \$dldir || mkdir -p \$dldir~
12644      $install_prog $dir/$dlname \$dldir/$dlname'
12645    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12646      dlpath=$dir/\$dldll~
12647       $RM \$dlpath'
12648    shlibpath_overrides_runpath=yes
12649    dynamic_linker='Win32 link.exe'
12650    ;;
12651
12652  *)
12653    # Assume MSVC and ICC wrapper
12654    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12655    dynamic_linker='Win32 ld.exe'
12656    ;;
12657  esac
12658  # FIXME: first we should search . and the directory the executable is in
12659  shlibpath_var=PATH
12660  ;;
12661
12662darwin* | rhapsody*)
12663  dynamic_linker="$host_os dyld"
12664  version_type=darwin
12665  need_lib_prefix=no
12666  need_version=no
12667  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12668  soname_spec='$libname$release$major$shared_ext'
12669  shlibpath_overrides_runpath=yes
12670  shlibpath_var=DYLD_LIBRARY_PATH
12671  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12672
12673  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12674  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12675  ;;
12676
12677dgux*)
12678  version_type=linux # correct to gnu/linux during the next big refactor
12679  need_lib_prefix=no
12680  need_version=no
12681  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12682  soname_spec='$libname$release$shared_ext$major'
12683  shlibpath_var=LD_LIBRARY_PATH
12684  ;;
12685
12686freebsd* | dragonfly*)
12687  # DragonFly does not have aout.  When/if they implement a new
12688  # versioning mechanism, adjust this.
12689  if test -x /usr/bin/objformat; then
12690    objformat=`/usr/bin/objformat`
12691  else
12692    case $host_os in
12693    freebsd[23].*) objformat=aout ;;
12694    *) objformat=elf ;;
12695    esac
12696  fi
12697  version_type=freebsd-$objformat
12698  case $version_type in
12699    freebsd-elf*)
12700      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12701      soname_spec='$libname$release$shared_ext$major'
12702      need_version=no
12703      need_lib_prefix=no
12704      ;;
12705    freebsd-*)
12706      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12707      need_version=yes
12708      ;;
12709  esac
12710  shlibpath_var=LD_LIBRARY_PATH
12711  case $host_os in
12712  freebsd2.*)
12713    shlibpath_overrides_runpath=yes
12714    ;;
12715  freebsd3.[01]* | freebsdelf3.[01]*)
12716    shlibpath_overrides_runpath=yes
12717    hardcode_into_libs=yes
12718    ;;
12719  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12720  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12721    shlibpath_overrides_runpath=no
12722    hardcode_into_libs=yes
12723    ;;
12724  *) # from 4.6 on, and DragonFly
12725    shlibpath_overrides_runpath=yes
12726    hardcode_into_libs=yes
12727    ;;
12728  esac
12729  ;;
12730
12731haiku*)
12732  version_type=linux # correct to gnu/linux during the next big refactor
12733  need_lib_prefix=no
12734  need_version=no
12735  dynamic_linker="$host_os runtime_loader"
12736  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12737  soname_spec='$libname$release$shared_ext$major'
12738  shlibpath_var=LIBRARY_PATH
12739  shlibpath_overrides_runpath=no
12740  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12741  hardcode_into_libs=yes
12742  ;;
12743
12744hpux9* | hpux10* | hpux11*)
12745  # Give a soname corresponding to the major version so that dld.sl refuses to
12746  # link against other versions.
12747  version_type=sunos
12748  need_lib_prefix=no
12749  need_version=no
12750  case $host_cpu in
12751  ia64*)
12752    shrext_cmds='.so'
12753    hardcode_into_libs=yes
12754    dynamic_linker="$host_os dld.so"
12755    shlibpath_var=LD_LIBRARY_PATH
12756    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12757    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12758    soname_spec='$libname$release$shared_ext$major'
12759    if test 32 = "$HPUX_IA64_MODE"; then
12760      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12761      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12762    else
12763      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12764      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12765    fi
12766    ;;
12767  hppa*64*)
12768    shrext_cmds='.sl'
12769    hardcode_into_libs=yes
12770    dynamic_linker="$host_os dld.sl"
12771    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12772    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12773    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12774    soname_spec='$libname$release$shared_ext$major'
12775    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12776    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12777    ;;
12778  *)
12779    shrext_cmds='.sl'
12780    dynamic_linker="$host_os dld.sl"
12781    shlibpath_var=SHLIB_PATH
12782    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12783    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12784    soname_spec='$libname$release$shared_ext$major'
12785    ;;
12786  esac
12787  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12788  postinstall_cmds='chmod 555 $lib'
12789  # or fails outright, so override atomically:
12790  install_override_mode=555
12791  ;;
12792
12793interix[3-9]*)
12794  version_type=linux # correct to gnu/linux during the next big refactor
12795  need_lib_prefix=no
12796  need_version=no
12797  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12798  soname_spec='$libname$release$shared_ext$major'
12799  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12800  shlibpath_var=LD_LIBRARY_PATH
12801  shlibpath_overrides_runpath=no
12802  hardcode_into_libs=yes
12803  ;;
12804
12805irix5* | irix6* | nonstopux*)
12806  case $host_os in
12807    nonstopux*) version_type=nonstopux ;;
12808    *)
12809	if test yes = "$lt_cv_prog_gnu_ld"; then
12810		version_type=linux # correct to gnu/linux during the next big refactor
12811	else
12812		version_type=irix
12813	fi ;;
12814  esac
12815  need_lib_prefix=no
12816  need_version=no
12817  soname_spec='$libname$release$shared_ext$major'
12818  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12819  case $host_os in
12820  irix5* | nonstopux*)
12821    libsuff= shlibsuff=
12822    ;;
12823  *)
12824    case $LD in # libtool.m4 will add one of these switches to LD
12825    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12826      libsuff= shlibsuff= libmagic=32-bit;;
12827    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12828      libsuff=32 shlibsuff=N32 libmagic=N32;;
12829    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12830      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12831    *) libsuff= shlibsuff= libmagic=never-match;;
12832    esac
12833    ;;
12834  esac
12835  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12836  shlibpath_overrides_runpath=no
12837  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12838  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12839  hardcode_into_libs=yes
12840  ;;
12841
12842# No shared lib support for Linux oldld, aout, or coff.
12843linux*oldld* | linux*aout* | linux*coff*)
12844  dynamic_linker=no
12845  ;;
12846
12847linux*android*)
12848  version_type=none # Android doesn't support versioned libraries.
12849  need_lib_prefix=no
12850  need_version=no
12851  library_names_spec='$libname$release$shared_ext'
12852  soname_spec='$libname$release$shared_ext'
12853  finish_cmds=
12854  shlibpath_var=LD_LIBRARY_PATH
12855  shlibpath_overrides_runpath=yes
12856
12857  # This implies no fast_install, which is unacceptable.
12858  # Some rework will be needed to allow for fast_install
12859  # before this can be enabled.
12860  hardcode_into_libs=yes
12861
12862  dynamic_linker='Android linker'
12863  # Don't embed -rpath directories since the linker doesn't support them.
12864  hardcode_libdir_flag_spec='-L$libdir'
12865  ;;
12866
12867# This must be glibc/ELF.
12868linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12869  version_type=linux # correct to gnu/linux during the next big refactor
12870  need_lib_prefix=no
12871  need_version=no
12872  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12873  soname_spec='$libname$release$shared_ext$major'
12874  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12875  shlibpath_var=LD_LIBRARY_PATH
12876  shlibpath_overrides_runpath=no
12877
12878  # Some binutils ld are patched to set DT_RUNPATH
12879  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12880  $as_echo_n "(cached) " >&6
12881else
12882  lt_cv_shlibpath_overrides_runpath=no
12883    save_LDFLAGS=$LDFLAGS
12884    save_libdir=$libdir
12885    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12886	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12887    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888/* end confdefs.h.  */
12889
12890int
12891main ()
12892{
12893
12894  ;
12895  return 0;
12896}
12897_ACEOF
12898if ac_fn_c_try_link "$LINENO"; then :
12899  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12900  lt_cv_shlibpath_overrides_runpath=yes
12901fi
12902fi
12903rm -f core conftest.err conftest.$ac_objext \
12904    conftest$ac_exeext conftest.$ac_ext
12905    LDFLAGS=$save_LDFLAGS
12906    libdir=$save_libdir
12907
12908fi
12909
12910  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12911
12912  # This implies no fast_install, which is unacceptable.
12913  # Some rework will be needed to allow for fast_install
12914  # before this can be enabled.
12915  hardcode_into_libs=yes
12916
12917  # Ideally, we could use ldconfig to report *all* directores which are
12918  # searched for libraries, however this is still not possible.  Aside from not
12919  # being certain /sbin/ldconfig is available, command
12920  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12921  # even though it is searched at run-time.  Try to do the best guess by
12922  # appending ld.so.conf contents (and includes) to the search path.
12923  if test -f /etc/ld.so.conf; then
12924    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' ' '`
12925    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12926  fi
12927
12928  # We used to test for /lib/ld.so.1 and disable shared libraries on
12929  # powerpc, because MkLinux only supported shared libraries with the
12930  # GNU dynamic linker.  Since this was broken with cross compilers,
12931  # most powerpc-linux boxes support dynamic linking these days and
12932  # people can always --disable-shared, the test was removed, and we
12933  # assume the GNU/Linux dynamic linker is in use.
12934  dynamic_linker='GNU/Linux ld.so'
12935  ;;
12936
12937netbsd*)
12938  version_type=sunos
12939  need_lib_prefix=no
12940  need_version=no
12941  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12942    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12943    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12944    dynamic_linker='NetBSD (a.out) ld.so'
12945  else
12946    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12947    soname_spec='$libname$release$shared_ext$major'
12948    dynamic_linker='NetBSD ld.elf_so'
12949  fi
12950  shlibpath_var=LD_LIBRARY_PATH
12951  shlibpath_overrides_runpath=yes
12952  hardcode_into_libs=yes
12953  ;;
12954
12955newsos6)
12956  version_type=linux # correct to gnu/linux during the next big refactor
12957  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12958  shlibpath_var=LD_LIBRARY_PATH
12959  shlibpath_overrides_runpath=yes
12960  ;;
12961
12962*nto* | *qnx*)
12963  version_type=qnx
12964  need_lib_prefix=no
12965  need_version=no
12966  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12967  soname_spec='$libname$release$shared_ext$major'
12968  shlibpath_var=LD_LIBRARY_PATH
12969  shlibpath_overrides_runpath=no
12970  hardcode_into_libs=yes
12971  dynamic_linker='ldqnx.so'
12972  ;;
12973
12974openbsd* | bitrig*)
12975  version_type=sunos
12976  sys_lib_dlsearch_path_spec=/usr/lib
12977  need_lib_prefix=no
12978  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12979    need_version=no
12980  else
12981    need_version=yes
12982  fi
12983  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12984  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12985  shlibpath_var=LD_LIBRARY_PATH
12986  shlibpath_overrides_runpath=yes
12987  ;;
12988
12989os2*)
12990  libname_spec='$name'
12991  version_type=windows
12992  shrext_cmds=.dll
12993  need_version=no
12994  need_lib_prefix=no
12995  # OS/2 can only load a DLL with a base name of 8 characters or less.
12996  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12997    v=$($ECHO $release$versuffix | tr -d .-);
12998    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12999    $ECHO $n$v`$shared_ext'
13000  library_names_spec='${libname}_dll.$libext'
13001  dynamic_linker='OS/2 ld.exe'
13002  shlibpath_var=BEGINLIBPATH
13003  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13004  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13005  postinstall_cmds='base_file=`basename \$file`~
13006    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13007    dldir=$destdir/`dirname \$dlpath`~
13008    test -d \$dldir || mkdir -p \$dldir~
13009    $install_prog $dir/$dlname \$dldir/$dlname~
13010    chmod a+x \$dldir/$dlname~
13011    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13012      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13013    fi'
13014  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13015    dlpath=$dir/\$dldll~
13016    $RM \$dlpath'
13017  ;;
13018
13019osf3* | osf4* | osf5*)
13020  version_type=osf
13021  need_lib_prefix=no
13022  need_version=no
13023  soname_spec='$libname$release$shared_ext$major'
13024  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13025  shlibpath_var=LD_LIBRARY_PATH
13026  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13027  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13028  ;;
13029
13030rdos*)
13031  dynamic_linker=no
13032  ;;
13033
13034solaris*)
13035  version_type=linux # correct to gnu/linux during the next big refactor
13036  need_lib_prefix=no
13037  need_version=no
13038  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13039  soname_spec='$libname$release$shared_ext$major'
13040  shlibpath_var=LD_LIBRARY_PATH
13041  shlibpath_overrides_runpath=yes
13042  hardcode_into_libs=yes
13043  # ldd complains unless libraries are executable
13044  postinstall_cmds='chmod +x $lib'
13045  ;;
13046
13047sunos4*)
13048  version_type=sunos
13049  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13050  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13051  shlibpath_var=LD_LIBRARY_PATH
13052  shlibpath_overrides_runpath=yes
13053  if test yes = "$with_gnu_ld"; then
13054    need_lib_prefix=no
13055  fi
13056  need_version=yes
13057  ;;
13058
13059sysv4 | sysv4.3*)
13060  version_type=linux # correct to gnu/linux during the next big refactor
13061  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13062  soname_spec='$libname$release$shared_ext$major'
13063  shlibpath_var=LD_LIBRARY_PATH
13064  case $host_vendor in
13065    sni)
13066      shlibpath_overrides_runpath=no
13067      need_lib_prefix=no
13068      runpath_var=LD_RUN_PATH
13069      ;;
13070    siemens)
13071      need_lib_prefix=no
13072      ;;
13073    motorola)
13074      need_lib_prefix=no
13075      need_version=no
13076      shlibpath_overrides_runpath=no
13077      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13078      ;;
13079  esac
13080  ;;
13081
13082sysv4*MP*)
13083  if test -d /usr/nec; then
13084    version_type=linux # correct to gnu/linux during the next big refactor
13085    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13086    soname_spec='$libname$shared_ext.$major'
13087    shlibpath_var=LD_LIBRARY_PATH
13088  fi
13089  ;;
13090
13091sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13092  version_type=sco
13093  need_lib_prefix=no
13094  need_version=no
13095  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13096  soname_spec='$libname$release$shared_ext$major'
13097  shlibpath_var=LD_LIBRARY_PATH
13098  shlibpath_overrides_runpath=yes
13099  hardcode_into_libs=yes
13100  if test yes = "$with_gnu_ld"; then
13101    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13102  else
13103    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13104    case $host_os in
13105      sco3.2v5*)
13106        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13107	;;
13108    esac
13109  fi
13110  sys_lib_dlsearch_path_spec='/usr/lib'
13111  ;;
13112
13113tpf*)
13114  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13115  version_type=linux # correct to gnu/linux during the next big refactor
13116  need_lib_prefix=no
13117  need_version=no
13118  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13119  shlibpath_var=LD_LIBRARY_PATH
13120  shlibpath_overrides_runpath=no
13121  hardcode_into_libs=yes
13122  ;;
13123
13124uts4*)
13125  version_type=linux # correct to gnu/linux during the next big refactor
13126  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13127  soname_spec='$libname$release$shared_ext$major'
13128  shlibpath_var=LD_LIBRARY_PATH
13129  ;;
13130
13131*)
13132  dynamic_linker=no
13133  ;;
13134esac
13135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13136$as_echo "$dynamic_linker" >&6; }
13137test no = "$dynamic_linker" && can_build_shared=no
13138
13139variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13140if test yes = "$GCC"; then
13141  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13142fi
13143
13144if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13145  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13146fi
13147
13148if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13149  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13150fi
13151
13152# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13153configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13154
13155# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13156func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13157
13158# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13159configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13258$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13259hardcode_action=
13260if test -n "$hardcode_libdir_flag_spec" ||
13261   test -n "$runpath_var" ||
13262   test yes = "$hardcode_automatic"; then
13263
13264  # We can hardcode non-existent directories.
13265  if test no != "$hardcode_direct" &&
13266     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13267     # have to relink, otherwise we might link with an installed library
13268     # when we should be linking with a yet-to-be-installed one
13269     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13270     test no != "$hardcode_minus_L"; then
13271    # Linking always hardcodes the temporary library directory.
13272    hardcode_action=relink
13273  else
13274    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13275    hardcode_action=immediate
13276  fi
13277else
13278  # We cannot hardcode anything, or else we can only hardcode existing
13279  # directories.
13280  hardcode_action=unsupported
13281fi
13282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13283$as_echo "$hardcode_action" >&6; }
13284
13285if test relink = "$hardcode_action" ||
13286   test yes = "$inherit_rpath"; then
13287  # Fast installation is not supported
13288  enable_fast_install=no
13289elif test yes = "$shlibpath_overrides_runpath" ||
13290     test no = "$enable_shared"; then
13291  # Fast installation is not necessary
13292  enable_fast_install=needless
13293fi
13294
13295
13296
13297
13298
13299
13300  if test yes != "$enable_dlopen"; then
13301  enable_dlopen=unknown
13302  enable_dlopen_self=unknown
13303  enable_dlopen_self_static=unknown
13304else
13305  lt_cv_dlopen=no
13306  lt_cv_dlopen_libs=
13307
13308  case $host_os in
13309  beos*)
13310    lt_cv_dlopen=load_add_on
13311    lt_cv_dlopen_libs=
13312    lt_cv_dlopen_self=yes
13313    ;;
13314
13315  mingw* | pw32* | cegcc*)
13316    lt_cv_dlopen=LoadLibrary
13317    lt_cv_dlopen_libs=
13318    ;;
13319
13320  cygwin*)
13321    lt_cv_dlopen=dlopen
13322    lt_cv_dlopen_libs=
13323    ;;
13324
13325  darwin*)
13326    # if libdl is installed we need to link against it
13327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13328$as_echo_n "checking for dlopen in -ldl... " >&6; }
13329if ${ac_cv_lib_dl_dlopen+:} false; then :
13330  $as_echo_n "(cached) " >&6
13331else
13332  ac_check_lib_save_LIBS=$LIBS
13333LIBS="-ldl  $LIBS"
13334cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335/* end confdefs.h.  */
13336
13337/* Override any GCC internal prototype to avoid an error.
13338   Use char because int might match the return type of a GCC
13339   builtin and then its argument prototype would still apply.  */
13340#ifdef __cplusplus
13341extern "C"
13342#endif
13343char dlopen ();
13344int
13345main ()
13346{
13347return dlopen ();
13348  ;
13349  return 0;
13350}
13351_ACEOF
13352if ac_fn_c_try_link "$LINENO"; then :
13353  ac_cv_lib_dl_dlopen=yes
13354else
13355  ac_cv_lib_dl_dlopen=no
13356fi
13357rm -f core conftest.err conftest.$ac_objext \
13358    conftest$ac_exeext conftest.$ac_ext
13359LIBS=$ac_check_lib_save_LIBS
13360fi
13361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13362$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13363if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13364  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13365else
13366
13367    lt_cv_dlopen=dyld
13368    lt_cv_dlopen_libs=
13369    lt_cv_dlopen_self=yes
13370
13371fi
13372
13373    ;;
13374
13375  tpf*)
13376    # Don't try to run any link tests for TPF.  We know it's impossible
13377    # because TPF is a cross-compiler, and we know how we open DSOs.
13378    lt_cv_dlopen=dlopen
13379    lt_cv_dlopen_libs=
13380    lt_cv_dlopen_self=no
13381    ;;
13382
13383  *)
13384    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13385if test "x$ac_cv_func_shl_load" = xyes; then :
13386  lt_cv_dlopen=shl_load
13387else
13388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13389$as_echo_n "checking for shl_load in -ldld... " >&6; }
13390if ${ac_cv_lib_dld_shl_load+:} false; then :
13391  $as_echo_n "(cached) " >&6
13392else
13393  ac_check_lib_save_LIBS=$LIBS
13394LIBS="-ldld  $LIBS"
13395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396/* end confdefs.h.  */
13397
13398/* Override any GCC internal prototype to avoid an error.
13399   Use char because int might match the return type of a GCC
13400   builtin and then its argument prototype would still apply.  */
13401#ifdef __cplusplus
13402extern "C"
13403#endif
13404char shl_load ();
13405int
13406main ()
13407{
13408return shl_load ();
13409  ;
13410  return 0;
13411}
13412_ACEOF
13413if ac_fn_c_try_link "$LINENO"; then :
13414  ac_cv_lib_dld_shl_load=yes
13415else
13416  ac_cv_lib_dld_shl_load=no
13417fi
13418rm -f core conftest.err conftest.$ac_objext \
13419    conftest$ac_exeext conftest.$ac_ext
13420LIBS=$ac_check_lib_save_LIBS
13421fi
13422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13423$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13424if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13425  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13426else
13427  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13428if test "x$ac_cv_func_dlopen" = xyes; then :
13429  lt_cv_dlopen=dlopen
13430else
13431  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13432$as_echo_n "checking for dlopen in -ldl... " >&6; }
13433if ${ac_cv_lib_dl_dlopen+:} false; then :
13434  $as_echo_n "(cached) " >&6
13435else
13436  ac_check_lib_save_LIBS=$LIBS
13437LIBS="-ldl  $LIBS"
13438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439/* end confdefs.h.  */
13440
13441/* Override any GCC internal prototype to avoid an error.
13442   Use char because int might match the return type of a GCC
13443   builtin and then its argument prototype would still apply.  */
13444#ifdef __cplusplus
13445extern "C"
13446#endif
13447char dlopen ();
13448int
13449main ()
13450{
13451return dlopen ();
13452  ;
13453  return 0;
13454}
13455_ACEOF
13456if ac_fn_c_try_link "$LINENO"; then :
13457  ac_cv_lib_dl_dlopen=yes
13458else
13459  ac_cv_lib_dl_dlopen=no
13460fi
13461rm -f core conftest.err conftest.$ac_objext \
13462    conftest$ac_exeext conftest.$ac_ext
13463LIBS=$ac_check_lib_save_LIBS
13464fi
13465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13466$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13467if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13468  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13469else
13470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13471$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13472if ${ac_cv_lib_svld_dlopen+:} false; then :
13473  $as_echo_n "(cached) " >&6
13474else
13475  ac_check_lib_save_LIBS=$LIBS
13476LIBS="-lsvld  $LIBS"
13477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478/* end confdefs.h.  */
13479
13480/* Override any GCC internal prototype to avoid an error.
13481   Use char because int might match the return type of a GCC
13482   builtin and then its argument prototype would still apply.  */
13483#ifdef __cplusplus
13484extern "C"
13485#endif
13486char dlopen ();
13487int
13488main ()
13489{
13490return dlopen ();
13491  ;
13492  return 0;
13493}
13494_ACEOF
13495if ac_fn_c_try_link "$LINENO"; then :
13496  ac_cv_lib_svld_dlopen=yes
13497else
13498  ac_cv_lib_svld_dlopen=no
13499fi
13500rm -f core conftest.err conftest.$ac_objext \
13501    conftest$ac_exeext conftest.$ac_ext
13502LIBS=$ac_check_lib_save_LIBS
13503fi
13504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13505$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13506if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13507  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13508else
13509  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13510$as_echo_n "checking for dld_link in -ldld... " >&6; }
13511if ${ac_cv_lib_dld_dld_link+:} false; then :
13512  $as_echo_n "(cached) " >&6
13513else
13514  ac_check_lib_save_LIBS=$LIBS
13515LIBS="-ldld  $LIBS"
13516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517/* end confdefs.h.  */
13518
13519/* Override any GCC internal prototype to avoid an error.
13520   Use char because int might match the return type of a GCC
13521   builtin and then its argument prototype would still apply.  */
13522#ifdef __cplusplus
13523extern "C"
13524#endif
13525char dld_link ();
13526int
13527main ()
13528{
13529return dld_link ();
13530  ;
13531  return 0;
13532}
13533_ACEOF
13534if ac_fn_c_try_link "$LINENO"; then :
13535  ac_cv_lib_dld_dld_link=yes
13536else
13537  ac_cv_lib_dld_dld_link=no
13538fi
13539rm -f core conftest.err conftest.$ac_objext \
13540    conftest$ac_exeext conftest.$ac_ext
13541LIBS=$ac_check_lib_save_LIBS
13542fi
13543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13544$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13545if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13546  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13547fi
13548
13549
13550fi
13551
13552
13553fi
13554
13555
13556fi
13557
13558
13559fi
13560
13561
13562fi
13563
13564    ;;
13565  esac
13566
13567  if test no = "$lt_cv_dlopen"; then
13568    enable_dlopen=no
13569  else
13570    enable_dlopen=yes
13571  fi
13572
13573  case $lt_cv_dlopen in
13574  dlopen)
13575    save_CPPFLAGS=$CPPFLAGS
13576    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13577
13578    save_LDFLAGS=$LDFLAGS
13579    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13580
13581    save_LIBS=$LIBS
13582    LIBS="$lt_cv_dlopen_libs $LIBS"
13583
13584    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13585$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13586if ${lt_cv_dlopen_self+:} false; then :
13587  $as_echo_n "(cached) " >&6
13588else
13589  	  if test yes = "$cross_compiling"; then :
13590  lt_cv_dlopen_self=cross
13591else
13592  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13593  lt_status=$lt_dlunknown
13594  cat > conftest.$ac_ext <<_LT_EOF
13595#line $LINENO "configure"
13596#include "confdefs.h"
13597
13598#if HAVE_DLFCN_H
13599#include <dlfcn.h>
13600#endif
13601
13602#include <stdio.h>
13603
13604#ifdef RTLD_GLOBAL
13605#  define LT_DLGLOBAL		RTLD_GLOBAL
13606#else
13607#  ifdef DL_GLOBAL
13608#    define LT_DLGLOBAL		DL_GLOBAL
13609#  else
13610#    define LT_DLGLOBAL		0
13611#  endif
13612#endif
13613
13614/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13615   find out it does not work in some platform. */
13616#ifndef LT_DLLAZY_OR_NOW
13617#  ifdef RTLD_LAZY
13618#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13619#  else
13620#    ifdef DL_LAZY
13621#      define LT_DLLAZY_OR_NOW		DL_LAZY
13622#    else
13623#      ifdef RTLD_NOW
13624#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13625#      else
13626#        ifdef DL_NOW
13627#          define LT_DLLAZY_OR_NOW	DL_NOW
13628#        else
13629#          define LT_DLLAZY_OR_NOW	0
13630#        endif
13631#      endif
13632#    endif
13633#  endif
13634#endif
13635
13636/* When -fvisibility=hidden is used, assume the code has been annotated
13637   correspondingly for the symbols needed.  */
13638#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13639int fnord () __attribute__((visibility("default")));
13640#endif
13641
13642int fnord () { return 42; }
13643int main ()
13644{
13645  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13646  int status = $lt_dlunknown;
13647
13648  if (self)
13649    {
13650      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13651      else
13652        {
13653	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13654          else puts (dlerror ());
13655	}
13656      /* dlclose (self); */
13657    }
13658  else
13659    puts (dlerror ());
13660
13661  return status;
13662}
13663_LT_EOF
13664  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13665  (eval $ac_link) 2>&5
13666  ac_status=$?
13667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13668  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13669    (./conftest; exit; ) >&5 2>/dev/null
13670    lt_status=$?
13671    case x$lt_status in
13672      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13673      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13674      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13675    esac
13676  else :
13677    # compilation failed
13678    lt_cv_dlopen_self=no
13679  fi
13680fi
13681rm -fr conftest*
13682
13683
13684fi
13685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13686$as_echo "$lt_cv_dlopen_self" >&6; }
13687
13688    if test yes = "$lt_cv_dlopen_self"; then
13689      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13690      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13691$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13692if ${lt_cv_dlopen_self_static+:} false; then :
13693  $as_echo_n "(cached) " >&6
13694else
13695  	  if test yes = "$cross_compiling"; then :
13696  lt_cv_dlopen_self_static=cross
13697else
13698  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13699  lt_status=$lt_dlunknown
13700  cat > conftest.$ac_ext <<_LT_EOF
13701#line $LINENO "configure"
13702#include "confdefs.h"
13703
13704#if HAVE_DLFCN_H
13705#include <dlfcn.h>
13706#endif
13707
13708#include <stdio.h>
13709
13710#ifdef RTLD_GLOBAL
13711#  define LT_DLGLOBAL		RTLD_GLOBAL
13712#else
13713#  ifdef DL_GLOBAL
13714#    define LT_DLGLOBAL		DL_GLOBAL
13715#  else
13716#    define LT_DLGLOBAL		0
13717#  endif
13718#endif
13719
13720/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13721   find out it does not work in some platform. */
13722#ifndef LT_DLLAZY_OR_NOW
13723#  ifdef RTLD_LAZY
13724#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13725#  else
13726#    ifdef DL_LAZY
13727#      define LT_DLLAZY_OR_NOW		DL_LAZY
13728#    else
13729#      ifdef RTLD_NOW
13730#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13731#      else
13732#        ifdef DL_NOW
13733#          define LT_DLLAZY_OR_NOW	DL_NOW
13734#        else
13735#          define LT_DLLAZY_OR_NOW	0
13736#        endif
13737#      endif
13738#    endif
13739#  endif
13740#endif
13741
13742/* When -fvisibility=hidden is used, assume the code has been annotated
13743   correspondingly for the symbols needed.  */
13744#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13745int fnord () __attribute__((visibility("default")));
13746#endif
13747
13748int fnord () { return 42; }
13749int main ()
13750{
13751  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13752  int status = $lt_dlunknown;
13753
13754  if (self)
13755    {
13756      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13757      else
13758        {
13759	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13760          else puts (dlerror ());
13761	}
13762      /* dlclose (self); */
13763    }
13764  else
13765    puts (dlerror ());
13766
13767  return status;
13768}
13769_LT_EOF
13770  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13771  (eval $ac_link) 2>&5
13772  ac_status=$?
13773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13774  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13775    (./conftest; exit; ) >&5 2>/dev/null
13776    lt_status=$?
13777    case x$lt_status in
13778      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13779      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13780      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13781    esac
13782  else :
13783    # compilation failed
13784    lt_cv_dlopen_self_static=no
13785  fi
13786fi
13787rm -fr conftest*
13788
13789
13790fi
13791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13792$as_echo "$lt_cv_dlopen_self_static" >&6; }
13793    fi
13794
13795    CPPFLAGS=$save_CPPFLAGS
13796    LDFLAGS=$save_LDFLAGS
13797    LIBS=$save_LIBS
13798    ;;
13799  esac
13800
13801  case $lt_cv_dlopen_self in
13802  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13803  *) enable_dlopen_self=unknown ;;
13804  esac
13805
13806  case $lt_cv_dlopen_self_static in
13807  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13808  *) enable_dlopen_self_static=unknown ;;
13809  esac
13810fi
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828striplib=
13829old_striplib=
13830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13831$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13832if test -z "$STRIP"; then
13833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13834$as_echo "no" >&6; }
13835else
13836  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13837    old_striplib="$STRIP --strip-debug"
13838    striplib="$STRIP --strip-unneeded"
13839    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13840$as_echo "yes" >&6; }
13841  else
13842    case $host_os in
13843    darwin*)
13844      # FIXME - insert some real tests, host_os isn't really good enough
13845      striplib="$STRIP -x"
13846      old_striplib="$STRIP -S"
13847      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13848$as_echo "yes" >&6; }
13849      ;;
13850    freebsd*)
13851      if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
13852        old_striplib="$STRIP --strip-debug"
13853        striplib="$STRIP --strip-unneeded"
13854        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13855$as_echo "yes" >&6; }
13856      else
13857        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13858$as_echo "no" >&6; }
13859      fi
13860      ;;
13861    *)
13862      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13863$as_echo "no" >&6; }
13864      ;;
13865    esac
13866  fi
13867fi
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880  # Report what library types will actually be built
13881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13882$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13884$as_echo "$can_build_shared" >&6; }
13885
13886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13887$as_echo_n "checking whether to build shared libraries... " >&6; }
13888  test no = "$can_build_shared" && enable_shared=no
13889
13890  # On AIX, shared libraries and static libraries use the same namespace, and
13891  # are all built from PIC.
13892  case $host_os in
13893  aix3*)
13894    test yes = "$enable_shared" && enable_static=no
13895    if test -n "$RANLIB"; then
13896      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13897      postinstall_cmds='$RANLIB $lib'
13898    fi
13899    ;;
13900
13901  aix[4-9]*)
13902    if test ia64 != "$host_cpu"; then
13903      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13904      yes,aix,yes) ;;			# shared object as lib.so file only
13905      yes,svr4,*) ;;			# shared object as lib.so archive member only
13906      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13907      esac
13908    fi
13909    ;;
13910  esac
13911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13912$as_echo "$enable_shared" >&6; }
13913
13914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13915$as_echo_n "checking whether to build static libraries... " >&6; }
13916  # Make sure either enable_shared or enable_static is yes.
13917  test yes = "$enable_shared" || enable_static=yes
13918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13919$as_echo "$enable_static" >&6; }
13920
13921
13922
13923
13924fi
13925ac_ext=c
13926ac_cpp='$CPP $CPPFLAGS'
13927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13929ac_compiler_gnu=$ac_cv_c_compiler_gnu
13930
13931CC=$lt_save_CC
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947        ac_config_commands="$ac_config_commands libtool"
13948
13949
13950
13951
13952# Only expand once:
13953
13954
13955
13956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13957$as_echo_n "checking for ANSI C header files... " >&6; }
13958if ${ac_cv_header_stdc+:} false; then :
13959  $as_echo_n "(cached) " >&6
13960else
13961  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962/* end confdefs.h.  */
13963#include <stdlib.h>
13964#include <stdarg.h>
13965#include <string.h>
13966#include <float.h>
13967
13968int
13969main ()
13970{
13971
13972  ;
13973  return 0;
13974}
13975_ACEOF
13976if ac_fn_c_try_compile "$LINENO"; then :
13977  ac_cv_header_stdc=yes
13978else
13979  ac_cv_header_stdc=no
13980fi
13981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13982
13983if test $ac_cv_header_stdc = yes; then
13984  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13985  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986/* end confdefs.h.  */
13987#include <string.h>
13988
13989_ACEOF
13990if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13991  $EGREP "memchr" >/dev/null 2>&1; then :
13992
13993else
13994  ac_cv_header_stdc=no
13995fi
13996rm -f conftest*
13997
13998fi
13999
14000if test $ac_cv_header_stdc = yes; then
14001  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003/* end confdefs.h.  */
14004#include <stdlib.h>
14005
14006_ACEOF
14007if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14008  $EGREP "free" >/dev/null 2>&1; then :
14009
14010else
14011  ac_cv_header_stdc=no
14012fi
14013rm -f conftest*
14014
14015fi
14016
14017if test $ac_cv_header_stdc = yes; then
14018  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14019  if test "$cross_compiling" = yes; then :
14020  :
14021else
14022  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023/* end confdefs.h.  */
14024#include <ctype.h>
14025#include <stdlib.h>
14026#if ((' ' & 0x0FF) == 0x020)
14027# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14028# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14029#else
14030# define ISLOWER(c) \
14031		   (('a' <= (c) && (c) <= 'i') \
14032		     || ('j' <= (c) && (c) <= 'r') \
14033		     || ('s' <= (c) && (c) <= 'z'))
14034# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14035#endif
14036
14037#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14038int
14039main ()
14040{
14041  int i;
14042  for (i = 0; i < 256; i++)
14043    if (XOR (islower (i), ISLOWER (i))
14044	|| toupper (i) != TOUPPER (i))
14045      return 2;
14046  return 0;
14047}
14048_ACEOF
14049if ac_fn_c_try_run "$LINENO"; then :
14050
14051else
14052  ac_cv_header_stdc=no
14053fi
14054rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14055  conftest.$ac_objext conftest.beam conftest.$ac_ext
14056fi
14057
14058fi
14059fi
14060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14061$as_echo "$ac_cv_header_stdc" >&6; }
14062if test $ac_cv_header_stdc = yes; then
14063
14064$as_echo "#define STDC_HEADERS 1" >>confdefs.h
14065
14066fi
14067
14068for ac_header in errno.h fcntl.h  grp.h locale.h \
14069                  signal.h stdlib.h string.h \
14070                  sys/stat.h sys/time.h sys/types.h sys/wait.h \
14071                  unistd.h
14072do :
14073  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14074ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14075if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14076  cat >>confdefs.h <<_ACEOF
14077#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14078_ACEOF
14079
14080fi
14081
14082done
14083
14084for ac_func in fdatasync fsync setlocale
14085do :
14086  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14087ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14088if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14089  cat >>confdefs.h <<_ACEOF
14090#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14091_ACEOF
14092
14093fi
14094done
14095
14096
14097XFCONF_VERSION=4.16.0
14098LIBXFCONF_VERSION_API=0
14099LIBXFCONF_VERINFO=3:0:0
14100
14101
14102
14103
14104
14105    GETTEXT_PACKAGE=xfconf
14106
14107cat >>confdefs.h <<_ACEOF
14108#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14109_ACEOF
14110
14111
14112
14113    ALL_LINGUAS="ar ast be bg bn ca cs da de el en_AU en_CA en_GB es eu fi fr gl he hr hu hy_AM hye id is it ja kk ko lt lv ms nb nl nn oc pa pl pt pt_BR ro ru si sk sl sq sr sv te th tr ug uk ur ur_PK zh_CN zh_HK zh_TW"
14114
14115   for ac_header in locale.h
14116do :
14117  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14118if test "x$ac_cv_header_locale_h" = xyes; then :
14119  cat >>confdefs.h <<_ACEOF
14120#define HAVE_LOCALE_H 1
14121_ACEOF
14122
14123fi
14124
14125done
14126
14127    if test $ac_cv_header_locale_h = yes; then
14128    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14129$as_echo_n "checking for LC_MESSAGES... " >&6; }
14130if ${am_cv_val_LC_MESSAGES+:} false; then :
14131  $as_echo_n "(cached) " >&6
14132else
14133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134/* end confdefs.h.  */
14135#include <locale.h>
14136int
14137main ()
14138{
14139return LC_MESSAGES
14140  ;
14141  return 0;
14142}
14143_ACEOF
14144if ac_fn_c_try_link "$LINENO"; then :
14145  am_cv_val_LC_MESSAGES=yes
14146else
14147  am_cv_val_LC_MESSAGES=no
14148fi
14149rm -f core conftest.err conftest.$ac_objext \
14150    conftest$ac_exeext conftest.$ac_ext
14151fi
14152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14153$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14154    if test $am_cv_val_LC_MESSAGES = yes; then
14155
14156$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14157
14158    fi
14159  fi
14160     USE_NLS=yes
14161
14162
14163    gt_cv_have_gettext=no
14164
14165    CATOBJEXT=NONE
14166    XGETTEXT=:
14167    INTLLIBS=
14168
14169
14170    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14171$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14172if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14173  $as_echo_n "(cached) " >&6
14174else
14175  gt_save_LIBS="$LIBS"
14176     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14177     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178/* end confdefs.h.  */
14179#include <CoreFoundation/CFPreferences.h>
14180int
14181main ()
14182{
14183CFPreferencesCopyAppValue(NULL, NULL)
14184  ;
14185  return 0;
14186}
14187_ACEOF
14188if ac_fn_c_try_link "$LINENO"; then :
14189  gt_cv_func_CFPreferencesCopyAppValue=yes
14190else
14191  gt_cv_func_CFPreferencesCopyAppValue=no
14192fi
14193rm -f core conftest.err conftest.$ac_objext \
14194    conftest$ac_exeext conftest.$ac_ext
14195     LIBS="$gt_save_LIBS"
14196fi
14197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14198$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14199  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14200
14201$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14202
14203  fi
14204    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14205$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14206if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14207  $as_echo_n "(cached) " >&6
14208else
14209  gt_save_LIBS="$LIBS"
14210     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14211     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212/* end confdefs.h.  */
14213#include <CoreFoundation/CFLocale.h>
14214int
14215main ()
14216{
14217CFLocaleCopyCurrent();
14218  ;
14219  return 0;
14220}
14221_ACEOF
14222if ac_fn_c_try_link "$LINENO"; then :
14223  gt_cv_func_CFLocaleCopyCurrent=yes
14224else
14225  gt_cv_func_CFLocaleCopyCurrent=no
14226fi
14227rm -f core conftest.err conftest.$ac_objext \
14228    conftest$ac_exeext conftest.$ac_ext
14229     LIBS="$gt_save_LIBS"
14230fi
14231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14232$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14233  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14234
14235$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14236
14237  fi
14238  INTL_MACOSX_LIBS=
14239  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14240    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14241  fi
14242
14243
14244
14245    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14246if test "x$ac_cv_header_libintl_h" = xyes; then :
14247  gt_cv_func_dgettext_libintl="no"
14248      libintl_extra_libs=""
14249
14250      #
14251      # First check in libc
14252      #
14253      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14254$as_echo_n "checking for ngettext in libc... " >&6; }
14255if ${gt_cv_func_ngettext_libc+:} false; then :
14256  $as_echo_n "(cached) " >&6
14257else
14258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259/* end confdefs.h.  */
14260
14261#include <libintl.h>
14262
14263int
14264main ()
14265{
14266return !ngettext ("","", 1)
14267  ;
14268  return 0;
14269}
14270_ACEOF
14271if ac_fn_c_try_link "$LINENO"; then :
14272  gt_cv_func_ngettext_libc=yes
14273else
14274  gt_cv_func_ngettext_libc=no
14275fi
14276rm -f core conftest.err conftest.$ac_objext \
14277    conftest$ac_exeext conftest.$ac_ext
14278
14279fi
14280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14281$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14282
14283      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14284	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14285$as_echo_n "checking for dgettext in libc... " >&6; }
14286if ${gt_cv_func_dgettext_libc+:} false; then :
14287  $as_echo_n "(cached) " >&6
14288else
14289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290/* end confdefs.h.  */
14291
14292#include <libintl.h>
14293
14294int
14295main ()
14296{
14297return !dgettext ("","")
14298  ;
14299  return 0;
14300}
14301_ACEOF
14302if ac_fn_c_try_link "$LINENO"; then :
14303  gt_cv_func_dgettext_libc=yes
14304else
14305  gt_cv_func_dgettext_libc=no
14306fi
14307rm -f core conftest.err conftest.$ac_objext \
14308    conftest$ac_exeext conftest.$ac_ext
14309
14310fi
14311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14312$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14313      fi
14314
14315      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14316        for ac_func in bind_textdomain_codeset
14317do :
14318  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14319if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14320  cat >>confdefs.h <<_ACEOF
14321#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14322_ACEOF
14323
14324fi
14325done
14326
14327      fi
14328
14329      #
14330      # If we don't have everything we want, check in libintl
14331      #
14332      if test "$gt_cv_func_dgettext_libc" != "yes" \
14333	 || test "$gt_cv_func_ngettext_libc" != "yes" \
14334         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14335
14336        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14337$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14338if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14339  $as_echo_n "(cached) " >&6
14340else
14341  ac_check_lib_save_LIBS=$LIBS
14342LIBS="-lintl  $LIBS"
14343cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344/* end confdefs.h.  */
14345
14346/* Override any GCC internal prototype to avoid an error.
14347   Use char because int might match the return type of a GCC
14348   builtin and then its argument prototype would still apply.  */
14349#ifdef __cplusplus
14350extern "C"
14351#endif
14352char bindtextdomain ();
14353int
14354main ()
14355{
14356return bindtextdomain ();
14357  ;
14358  return 0;
14359}
14360_ACEOF
14361if ac_fn_c_try_link "$LINENO"; then :
14362  ac_cv_lib_intl_bindtextdomain=yes
14363else
14364  ac_cv_lib_intl_bindtextdomain=no
14365fi
14366rm -f core conftest.err conftest.$ac_objext \
14367    conftest$ac_exeext conftest.$ac_ext
14368LIBS=$ac_check_lib_save_LIBS
14369fi
14370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14371$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14372if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14374$as_echo_n "checking for ngettext in -lintl... " >&6; }
14375if ${ac_cv_lib_intl_ngettext+:} false; then :
14376  $as_echo_n "(cached) " >&6
14377else
14378  ac_check_lib_save_LIBS=$LIBS
14379LIBS="-lintl  $LIBS"
14380cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381/* end confdefs.h.  */
14382
14383/* Override any GCC internal prototype to avoid an error.
14384   Use char because int might match the return type of a GCC
14385   builtin and then its argument prototype would still apply.  */
14386#ifdef __cplusplus
14387extern "C"
14388#endif
14389char ngettext ();
14390int
14391main ()
14392{
14393return ngettext ();
14394  ;
14395  return 0;
14396}
14397_ACEOF
14398if ac_fn_c_try_link "$LINENO"; then :
14399  ac_cv_lib_intl_ngettext=yes
14400else
14401  ac_cv_lib_intl_ngettext=no
14402fi
14403rm -f core conftest.err conftest.$ac_objext \
14404    conftest$ac_exeext conftest.$ac_ext
14405LIBS=$ac_check_lib_save_LIBS
14406fi
14407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14408$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14409if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14410  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14411$as_echo_n "checking for dgettext in -lintl... " >&6; }
14412if ${ac_cv_lib_intl_dgettext+:} false; then :
14413  $as_echo_n "(cached) " >&6
14414else
14415  ac_check_lib_save_LIBS=$LIBS
14416LIBS="-lintl  $LIBS"
14417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14418/* end confdefs.h.  */
14419
14420/* Override any GCC internal prototype to avoid an error.
14421   Use char because int might match the return type of a GCC
14422   builtin and then its argument prototype would still apply.  */
14423#ifdef __cplusplus
14424extern "C"
14425#endif
14426char dgettext ();
14427int
14428main ()
14429{
14430return dgettext ();
14431  ;
14432  return 0;
14433}
14434_ACEOF
14435if ac_fn_c_try_link "$LINENO"; then :
14436  ac_cv_lib_intl_dgettext=yes
14437else
14438  ac_cv_lib_intl_dgettext=no
14439fi
14440rm -f core conftest.err conftest.$ac_objext \
14441    conftest$ac_exeext conftest.$ac_ext
14442LIBS=$ac_check_lib_save_LIBS
14443fi
14444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14445$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14446if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14447  gt_cv_func_dgettext_libintl=yes
14448fi
14449
14450fi
14451
14452fi
14453
14454
14455	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14456	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14457$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14458	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14459$as_echo "" >&6; }
14460  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14461$as_echo_n "checking for ngettext in -lintl... " >&6; }
14462if ${ac_cv_lib_intl_ngettext+:} false; then :
14463  $as_echo_n "(cached) " >&6
14464else
14465  ac_check_lib_save_LIBS=$LIBS
14466LIBS="-lintl -liconv $LIBS"
14467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468/* end confdefs.h.  */
14469
14470/* Override any GCC internal prototype to avoid an error.
14471   Use char because int might match the return type of a GCC
14472   builtin and then its argument prototype would still apply.  */
14473#ifdef __cplusplus
14474extern "C"
14475#endif
14476char ngettext ();
14477int
14478main ()
14479{
14480return ngettext ();
14481  ;
14482  return 0;
14483}
14484_ACEOF
14485if ac_fn_c_try_link "$LINENO"; then :
14486  ac_cv_lib_intl_ngettext=yes
14487else
14488  ac_cv_lib_intl_ngettext=no
14489fi
14490rm -f core conftest.err conftest.$ac_objext \
14491    conftest$ac_exeext conftest.$ac_ext
14492LIBS=$ac_check_lib_save_LIBS
14493fi
14494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14495$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14496if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14498$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14499if ${ac_cv_lib_intl_dcgettext+:} false; then :
14500  $as_echo_n "(cached) " >&6
14501else
14502  ac_check_lib_save_LIBS=$LIBS
14503LIBS="-lintl -liconv $LIBS"
14504cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505/* end confdefs.h.  */
14506
14507/* Override any GCC internal prototype to avoid an error.
14508   Use char because int might match the return type of a GCC
14509   builtin and then its argument prototype would still apply.  */
14510#ifdef __cplusplus
14511extern "C"
14512#endif
14513char dcgettext ();
14514int
14515main ()
14516{
14517return dcgettext ();
14518  ;
14519  return 0;
14520}
14521_ACEOF
14522if ac_fn_c_try_link "$LINENO"; then :
14523  ac_cv_lib_intl_dcgettext=yes
14524else
14525  ac_cv_lib_intl_dcgettext=no
14526fi
14527rm -f core conftest.err conftest.$ac_objext \
14528    conftest$ac_exeext conftest.$ac_ext
14529LIBS=$ac_check_lib_save_LIBS
14530fi
14531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14532$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14533if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14534  gt_cv_func_dgettext_libintl=yes
14535			libintl_extra_libs=-liconv
14536else
14537  :
14538fi
14539
14540else
14541  :
14542fi
14543
14544        fi
14545
14546        #
14547        # If we found libintl, then check in it for bind_textdomain_codeset();
14548        # we'll prefer libc if neither have bind_textdomain_codeset(),
14549        # and both have dgettext and ngettext
14550        #
14551        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14552          glib_save_LIBS="$LIBS"
14553          LIBS="$LIBS -lintl $libintl_extra_libs"
14554          unset ac_cv_func_bind_textdomain_codeset
14555          for ac_func in bind_textdomain_codeset
14556do :
14557  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14558if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14559  cat >>confdefs.h <<_ACEOF
14560#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14561_ACEOF
14562
14563fi
14564done
14565
14566          LIBS="$glib_save_LIBS"
14567
14568          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14569            gt_cv_func_dgettext_libc=no
14570          else
14571            if test "$gt_cv_func_dgettext_libc" = "yes" \
14572		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14573              gt_cv_func_dgettext_libintl=no
14574            fi
14575          fi
14576        fi
14577      fi
14578
14579      if test "$gt_cv_func_dgettext_libc" = "yes" \
14580	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14581        gt_cv_have_gettext=yes
14582      fi
14583
14584      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14585        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
14586      fi
14587
14588      if test "$gt_cv_have_gettext" = "yes"; then
14589
14590$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14591
14592	# Extract the first word of "msgfmt", so it can be a program name with args.
14593set dummy msgfmt; ac_word=$2
14594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14595$as_echo_n "checking for $ac_word... " >&6; }
14596if ${ac_cv_path_MSGFMT+:} false; then :
14597  $as_echo_n "(cached) " >&6
14598else
14599  case "$MSGFMT" in
14600  /*)
14601  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14602  ;;
14603  *)
14604  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14605  for ac_dir in $PATH; do
14606    test -z "$ac_dir" && ac_dir=.
14607    if test -f $ac_dir/$ac_word; then
14608      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14609	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14610	break
14611      fi
14612    fi
14613  done
14614  IFS="$ac_save_ifs"
14615  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14616  ;;
14617esac
14618fi
14619MSGFMT="$ac_cv_path_MSGFMT"
14620if test "$MSGFMT" != "no"; then
14621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14622$as_echo "$MSGFMT" >&6; }
14623else
14624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14625$as_echo "no" >&6; }
14626fi
14627	if test "$MSGFMT" != "no"; then
14628          glib_save_LIBS="$LIBS"
14629          LIBS="$LIBS $INTLLIBS"
14630	  for ac_func in dcgettext
14631do :
14632  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14633if test "x$ac_cv_func_dcgettext" = xyes; then :
14634  cat >>confdefs.h <<_ACEOF
14635#define HAVE_DCGETTEXT 1
14636_ACEOF
14637
14638fi
14639done
14640
14641	  MSGFMT_OPTS=
14642	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14643$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14644	  cat >conftest.foo <<_ACEOF
14645
14646msgid ""
14647msgstr ""
14648"Content-Type: text/plain; charset=UTF-8\n"
14649"Project-Id-Version: test 1.0\n"
14650"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14651"Last-Translator: test <foo@bar.xx>\n"
14652"Language-Team: C <LL@li.org>\n"
14653"MIME-Version: 1.0\n"
14654"Content-Transfer-Encoding: 8bit\n"
14655
14656_ACEOF
14657if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14658  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14659  ac_status=$?
14660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14661  test $ac_status = 0; }; then
14662  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14663$as_echo "yes" >&6; }
14664else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14665$as_echo "no" >&6; }
14666echo "$as_me: failed input was:" >&5
14667sed 's/^/| /' conftest.foo >&5
14668fi
14669
14670	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14671set dummy gmsgfmt; ac_word=$2
14672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14673$as_echo_n "checking for $ac_word... " >&6; }
14674if ${ac_cv_path_GMSGFMT+:} false; then :
14675  $as_echo_n "(cached) " >&6
14676else
14677  case $GMSGFMT in
14678  [\\/]* | ?:[\\/]*)
14679  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14680  ;;
14681  *)
14682  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14683for as_dir in $PATH
14684do
14685  IFS=$as_save_IFS
14686  test -z "$as_dir" && as_dir=.
14687    for ac_exec_ext in '' $ac_executable_extensions; do
14688  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14689    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14690    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14691    break 2
14692  fi
14693done
14694  done
14695IFS=$as_save_IFS
14696
14697  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14698  ;;
14699esac
14700fi
14701GMSGFMT=$ac_cv_path_GMSGFMT
14702if test -n "$GMSGFMT"; then
14703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14704$as_echo "$GMSGFMT" >&6; }
14705else
14706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707$as_echo "no" >&6; }
14708fi
14709
14710
14711	  # Extract the first word of "xgettext", so it can be a program name with args.
14712set dummy xgettext; ac_word=$2
14713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14714$as_echo_n "checking for $ac_word... " >&6; }
14715if ${ac_cv_path_XGETTEXT+:} false; then :
14716  $as_echo_n "(cached) " >&6
14717else
14718  case "$XGETTEXT" in
14719  /*)
14720  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14721  ;;
14722  *)
14723  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14724  for ac_dir in $PATH; do
14725    test -z "$ac_dir" && ac_dir=.
14726    if test -f $ac_dir/$ac_word; then
14727      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14728	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14729	break
14730      fi
14731    fi
14732  done
14733  IFS="$ac_save_ifs"
14734  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14735  ;;
14736esac
14737fi
14738XGETTEXT="$ac_cv_path_XGETTEXT"
14739if test "$XGETTEXT" != ":"; then
14740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14741$as_echo "$XGETTEXT" >&6; }
14742else
14743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14744$as_echo "no" >&6; }
14745fi
14746
14747	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748/* end confdefs.h.  */
14749
14750int
14751main ()
14752{
14753extern int _nl_msg_cat_cntr;
14754			 return _nl_msg_cat_cntr
14755  ;
14756  return 0;
14757}
14758_ACEOF
14759if ac_fn_c_try_link "$LINENO"; then :
14760  CATOBJEXT=.gmo
14761             DATADIRNAME=share
14762else
14763  case $host in
14764	    *-*-solaris*)
14765	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14766if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14767  CATOBJEXT=.gmo
14768               DATADIRNAME=share
14769else
14770  CATOBJEXT=.mo
14771               DATADIRNAME=lib
14772fi
14773
14774	    ;;
14775	    *-*-openbsd*)
14776	    CATOBJEXT=.mo
14777            DATADIRNAME=share
14778	    ;;
14779	    *)
14780	    CATOBJEXT=.mo
14781            DATADIRNAME=lib
14782	    ;;
14783	    esac
14784fi
14785rm -f core conftest.err conftest.$ac_objext \
14786    conftest$ac_exeext conftest.$ac_ext
14787          LIBS="$glib_save_LIBS"
14788	  INSTOBJEXT=.mo
14789	else
14790	  gt_cv_have_gettext=no
14791	fi
14792      fi
14793
14794fi
14795
14796
14797
14798    if test "$gt_cv_have_gettext" = "yes" ; then
14799
14800$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14801
14802    fi
14803
14804        if test "$XGETTEXT" != ":"; then
14805                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14806        : ;
14807      else
14808        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14809$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14810        XGETTEXT=":"
14811      fi
14812    fi
14813
14814    # We need to process the po/ directory.
14815    POSUB=po
14816
14817    ac_config_commands="$ac_config_commands default-1"
14818
14819
14820                for lang in $ALL_LINGUAS; do
14821      GMOFILES="$GMOFILES $lang.gmo"
14822      POFILES="$POFILES $lang.po"
14823    done
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837   if test "$gt_cv_have_gettext" = "yes"; then
14838     if test "x$ALL_LINGUAS" = "x"; then
14839       LINGUAS=
14840     else
14841       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14842$as_echo_n "checking for catalogs to be installed... " >&6; }
14843       NEW_LINGUAS=
14844       for presentlang in $ALL_LINGUAS; do
14845         useit=no
14846         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14847           desiredlanguages="$LINGUAS"
14848         else
14849           desiredlanguages="$ALL_LINGUAS"
14850         fi
14851         for desiredlang in $desiredlanguages; do
14852 	   # Use the presentlang catalog if desiredlang is
14853           #   a. equal to presentlang, or
14854           #   b. a variant of presentlang (because in this case,
14855           #      presentlang can be used as a fallback for messages
14856           #      which are not translated in the desiredlang catalog).
14857           case "$desiredlang" in
14858             "$presentlang"*) useit=yes;;
14859           esac
14860         done
14861         if test $useit = yes; then
14862           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14863         fi
14864       done
14865       LINGUAS=$NEW_LINGUAS
14866       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14867$as_echo "$LINGUAS" >&6; }
14868     fi
14869
14870          if test -n "$LINGUAS"; then
14871       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14872     fi
14873   fi
14874
14875            MKINSTALLDIRS=
14876   if test -n "$ac_aux_dir"; then
14877     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14878   fi
14879   if test -z "$MKINSTALLDIRS"; then
14880     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14881   fi
14882
14883
14884         test -d po || mkdir po
14885   if test "x$srcdir" != "x."; then
14886     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14887       posrcprefix="$srcdir/"
14888     else
14889       posrcprefix="../$srcdir/"
14890     fi
14891   else
14892     posrcprefix="../"
14893   fi
14894   rm -f po/POTFILES
14895   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14896	< $srcdir/po/POTFILES.in > po/POTFILES
14897
14898
14899    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14900if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14901
14902fi
14903
14904
14905    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
14906$as_echo_n "checking for locales directory... " >&6; }
14907
14908# Check whether --with-locales-dir was given.
14909if test "${with_locales_dir+set}" = set; then :
14910  withval=$with_locales_dir; localedir=$withval
14911else
14912
14913    if test x"$CATOBJEXT" = x".mo"; then
14914      localedir=$libdir/locale
14915    else
14916      localedir=$datarootdir/locale
14917    fi
14918
14919fi
14920
14921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
14922$as_echo "$localedir" >&6; }
14923
14924
14925    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
14926$as_echo_n "checking for additional xgettext flags... " >&6; }
14927  if test x"$XGETTEXT_ARGS" = x""; then
14928    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
14929  else
14930    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
14931  fi
14932
14933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
14934$as_echo "$XGETTEXT_ARGS" >&6; }
14935
14936
14937
14938# Extract the first word of "gdbus-codegen", so it can be a program name with args.
14939set dummy gdbus-codegen; ac_word=$2
14940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14941$as_echo_n "checking for $ac_word... " >&6; }
14942if ${ac_cv_path_GDBUS_CODEGEN+:} false; then :
14943  $as_echo_n "(cached) " >&6
14944else
14945  case $GDBUS_CODEGEN in
14946  [\\/]* | ?:[\\/]*)
14947  ac_cv_path_GDBUS_CODEGEN="$GDBUS_CODEGEN" # Let the user override the test with a path.
14948  ;;
14949  *)
14950  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14951for as_dir in $PATH
14952do
14953  IFS=$as_save_IFS
14954  test -z "$as_dir" && as_dir=.
14955    for ac_exec_ext in '' $ac_executable_extensions; do
14956  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14957    ac_cv_path_GDBUS_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
14958    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14959    break 2
14960  fi
14961done
14962  done
14963IFS=$as_save_IFS
14964
14965  test -z "$ac_cv_path_GDBUS_CODEGEN" && ac_cv_path_GDBUS_CODEGEN="no"
14966  ;;
14967esac
14968fi
14969GDBUS_CODEGEN=$ac_cv_path_GDBUS_CODEGEN
14970if test -n "$GDBUS_CODEGEN"; then
14971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDBUS_CODEGEN" >&5
14972$as_echo "$GDBUS_CODEGEN" >&6; }
14973else
14974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14975$as_echo "no" >&6; }
14976fi
14977
14978
14979if test x"$GDBUS_CODEGEN" = x"no"; then
14980  as_fn_error $? "could not find gdbus-codegen in \$PATH. You can run
14981  ./configure GDBUS_CODEGEN=/path/to/gdbus-codegen to define
14982  a custom location for it." "$LINENO" 5
14983fi
14984
14985
14986
14987
14988  # minimum supported version of pkg-config
14989  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15000	if test -n "$ac_tool_prefix"; then
15001  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15002set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15004$as_echo_n "checking for $ac_word... " >&6; }
15005if ${ac_cv_path_PKG_CONFIG+:} false; then :
15006  $as_echo_n "(cached) " >&6
15007else
15008  case $PKG_CONFIG in
15009  [\\/]* | ?:[\\/]*)
15010  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15011  ;;
15012  *)
15013  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15014for as_dir in $PATH
15015do
15016  IFS=$as_save_IFS
15017  test -z "$as_dir" && as_dir=.
15018    for ac_exec_ext in '' $ac_executable_extensions; do
15019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15020    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15022    break 2
15023  fi
15024done
15025  done
15026IFS=$as_save_IFS
15027
15028  ;;
15029esac
15030fi
15031PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15032if test -n "$PKG_CONFIG"; then
15033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15034$as_echo "$PKG_CONFIG" >&6; }
15035else
15036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15037$as_echo "no" >&6; }
15038fi
15039
15040
15041fi
15042if test -z "$ac_cv_path_PKG_CONFIG"; then
15043  ac_pt_PKG_CONFIG=$PKG_CONFIG
15044  # Extract the first word of "pkg-config", so it can be a program name with args.
15045set dummy pkg-config; ac_word=$2
15046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15047$as_echo_n "checking for $ac_word... " >&6; }
15048if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15049  $as_echo_n "(cached) " >&6
15050else
15051  case $ac_pt_PKG_CONFIG in
15052  [\\/]* | ?:[\\/]*)
15053  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15054  ;;
15055  *)
15056  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15057for as_dir in $PATH
15058do
15059  IFS=$as_save_IFS
15060  test -z "$as_dir" && as_dir=.
15061    for ac_exec_ext in '' $ac_executable_extensions; do
15062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15063    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15065    break 2
15066  fi
15067done
15068  done
15069IFS=$as_save_IFS
15070
15071  ;;
15072esac
15073fi
15074ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15075if test -n "$ac_pt_PKG_CONFIG"; then
15076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15077$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15078else
15079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15080$as_echo "no" >&6; }
15081fi
15082
15083  if test "x$ac_pt_PKG_CONFIG" = x; then
15084    PKG_CONFIG=""
15085  else
15086    case $cross_compiling:$ac_tool_warned in
15087yes:)
15088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15090ac_tool_warned=yes ;;
15091esac
15092    PKG_CONFIG=$ac_pt_PKG_CONFIG
15093  fi
15094else
15095  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15096fi
15097
15098fi
15099if test -n "$PKG_CONFIG"; then
15100	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15101	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15102$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15103	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15104		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15105$as_echo "yes" >&6; }
15106	else
15107		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15108$as_echo "no" >&6; }
15109		PKG_CONFIG=""
15110	fi
15111fi
15112
15113      if test x"$PKG_CONFIG" = x""; then
15114        echo
15115        echo "*** Your version of pkg-config is too old. You need atleast"
15116        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15117        echo "*** from the freedesktop.org software repository at"
15118        echo "***"
15119        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15120        echo "***"
15121        exit 1;
15122      fi
15123
15124
15125
15126  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-2.0 >= 2.50.0" >&5
15127$as_echo_n "checking for gobject-2.0 >= 2.50.0... " >&6; }
15128  if $PKG_CONFIG "--atleast-version=2.50.0" "gobject-2.0" >/dev/null 2>&1; then
15129    GLIB_VERSION=`$PKG_CONFIG --modversion "gobject-2.0"`
15130    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
15131$as_echo "$GLIB_VERSION" >&6; }
15132
15133    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
15134$as_echo_n "checking GLIB_CFLAGS... " >&6; }
15135    GLIB_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0"`
15136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
15137$as_echo "$GLIB_CFLAGS" >&6; }
15138
15139    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
15140$as_echo_n "checking GLIB_LIBS... " >&6; }
15141    GLIB_LIBS=`$PKG_CONFIG --libs "gobject-2.0"`
15142    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
15143$as_echo "$GLIB_LIBS" >&6; }
15144
15145    GLIB_REQUIRED_VERSION=2.50.0
15146
15147
15148
15149
15150
15151
15152
15153  elif $PKG_CONFIG --exists "gobject-2.0" >/dev/null 2>&1; then
15154    xdt_cv_version=`$PKG_CONFIG --modversion "gobject-2.0"`
15155    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15156$as_echo "found, but $xdt_cv_version" >&6; }
15157
15158
15159      echo "*** The required package gobject-2.0 was found on your system,"
15160      echo "*** but the installed version ($xdt_cv_version) is too old."
15161      echo "*** Please upgrade gobject-2.0 to atleast version 2.50.0, or adjust"
15162      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15163      echo "*** the new version of the package in a nonstandard prefix so"
15164      echo "*** pkg-config is able to find it."
15165      exit 1
15166
15167  else
15168    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15169$as_echo "not found" >&6; }
15170
15171
15172      echo "*** The required package gobject-2.0 was not found on your system."
15173      echo "*** Please install gobject-2.0 (atleast version 2.50.0) or adjust"
15174      echo "*** the PKG_CONFIG_PATH environment variable if you"
15175      echo "*** installed the package in a nonstandard prefix so that"
15176      echo "*** pkg-config is able to find it."
15177      exit 1
15178
15179  fi
15180
15181
15182
15183  # minimum supported version of pkg-config
15184  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15195	if test -n "$ac_tool_prefix"; then
15196  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15197set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15199$as_echo_n "checking for $ac_word... " >&6; }
15200if ${ac_cv_path_PKG_CONFIG+:} false; then :
15201  $as_echo_n "(cached) " >&6
15202else
15203  case $PKG_CONFIG in
15204  [\\/]* | ?:[\\/]*)
15205  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15206  ;;
15207  *)
15208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15209for as_dir in $PATH
15210do
15211  IFS=$as_save_IFS
15212  test -z "$as_dir" && as_dir=.
15213    for ac_exec_ext in '' $ac_executable_extensions; do
15214  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15215    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15217    break 2
15218  fi
15219done
15220  done
15221IFS=$as_save_IFS
15222
15223  ;;
15224esac
15225fi
15226PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15227if test -n "$PKG_CONFIG"; then
15228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15229$as_echo "$PKG_CONFIG" >&6; }
15230else
15231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15232$as_echo "no" >&6; }
15233fi
15234
15235
15236fi
15237if test -z "$ac_cv_path_PKG_CONFIG"; then
15238  ac_pt_PKG_CONFIG=$PKG_CONFIG
15239  # Extract the first word of "pkg-config", so it can be a program name with args.
15240set dummy pkg-config; ac_word=$2
15241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15242$as_echo_n "checking for $ac_word... " >&6; }
15243if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15244  $as_echo_n "(cached) " >&6
15245else
15246  case $ac_pt_PKG_CONFIG in
15247  [\\/]* | ?:[\\/]*)
15248  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15249  ;;
15250  *)
15251  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15252for as_dir in $PATH
15253do
15254  IFS=$as_save_IFS
15255  test -z "$as_dir" && as_dir=.
15256    for ac_exec_ext in '' $ac_executable_extensions; do
15257  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15258    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15259    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15260    break 2
15261  fi
15262done
15263  done
15264IFS=$as_save_IFS
15265
15266  ;;
15267esac
15268fi
15269ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15270if test -n "$ac_pt_PKG_CONFIG"; then
15271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15272$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15273else
15274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15275$as_echo "no" >&6; }
15276fi
15277
15278  if test "x$ac_pt_PKG_CONFIG" = x; then
15279    PKG_CONFIG=""
15280  else
15281    case $cross_compiling:$ac_tool_warned in
15282yes:)
15283{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15284$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15285ac_tool_warned=yes ;;
15286esac
15287    PKG_CONFIG=$ac_pt_PKG_CONFIG
15288  fi
15289else
15290  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15291fi
15292
15293fi
15294if test -n "$PKG_CONFIG"; then
15295	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15296	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15297$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15298	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15299		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15300$as_echo "yes" >&6; }
15301	else
15302		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15303$as_echo "no" >&6; }
15304		PKG_CONFIG=""
15305	fi
15306fi
15307
15308      if test x"$PKG_CONFIG" = x""; then
15309        echo
15310        echo "*** Your version of pkg-config is too old. You need atleast"
15311        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15312        echo "*** from the freedesktop.org software repository at"
15313        echo "***"
15314        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15315        echo "***"
15316        exit 1;
15317      fi
15318
15319
15320
15321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.50.0" >&5
15322$as_echo_n "checking for gio-2.0 >= 2.50.0... " >&6; }
15323  if $PKG_CONFIG "--atleast-version=2.50.0" "gio-2.0" >/dev/null 2>&1; then
15324    GIO_VERSION=`$PKG_CONFIG --modversion "gio-2.0"`
15325    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_VERSION" >&5
15326$as_echo "$GIO_VERSION" >&6; }
15327
15328    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_CFLAGS" >&5
15329$as_echo_n "checking GIO_CFLAGS... " >&6; }
15330    GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0"`
15331    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_CFLAGS" >&5
15332$as_echo "$GIO_CFLAGS" >&6; }
15333
15334    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_LIBS" >&5
15335$as_echo_n "checking GIO_LIBS... " >&6; }
15336    GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0"`
15337    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_LIBS" >&5
15338$as_echo "$GIO_LIBS" >&6; }
15339
15340    GIO_REQUIRED_VERSION=2.50.0
15341
15342
15343
15344
15345
15346
15347
15348  elif $PKG_CONFIG --exists "gio-2.0" >/dev/null 2>&1; then
15349    xdt_cv_version=`$PKG_CONFIG --modversion "gio-2.0"`
15350    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15351$as_echo "found, but $xdt_cv_version" >&6; }
15352
15353
15354      echo "*** The required package gio-2.0 was found on your system,"
15355      echo "*** but the installed version ($xdt_cv_version) is too old."
15356      echo "*** Please upgrade gio-2.0 to atleast version 2.50.0, or adjust"
15357      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15358      echo "*** the new version of the package in a nonstandard prefix so"
15359      echo "*** pkg-config is able to find it."
15360      exit 1
15361
15362  else
15363    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15364$as_echo "not found" >&6; }
15365
15366
15367      echo "*** The required package gio-2.0 was not found on your system."
15368      echo "*** Please install gio-2.0 (atleast version 2.50.0) or adjust"
15369      echo "*** the PKG_CONFIG_PATH environment variable if you"
15370      echo "*** installed the package in a nonstandard prefix so that"
15371      echo "*** pkg-config is able to find it."
15372      exit 1
15373
15374  fi
15375
15376
15377
15378  # minimum supported version of pkg-config
15379  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15390	if test -n "$ac_tool_prefix"; then
15391  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15392set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15394$as_echo_n "checking for $ac_word... " >&6; }
15395if ${ac_cv_path_PKG_CONFIG+:} false; then :
15396  $as_echo_n "(cached) " >&6
15397else
15398  case $PKG_CONFIG in
15399  [\\/]* | ?:[\\/]*)
15400  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15401  ;;
15402  *)
15403  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15404for as_dir in $PATH
15405do
15406  IFS=$as_save_IFS
15407  test -z "$as_dir" && as_dir=.
15408    for ac_exec_ext in '' $ac_executable_extensions; do
15409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15410    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15411    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15412    break 2
15413  fi
15414done
15415  done
15416IFS=$as_save_IFS
15417
15418  ;;
15419esac
15420fi
15421PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15422if test -n "$PKG_CONFIG"; then
15423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15424$as_echo "$PKG_CONFIG" >&6; }
15425else
15426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15427$as_echo "no" >&6; }
15428fi
15429
15430
15431fi
15432if test -z "$ac_cv_path_PKG_CONFIG"; then
15433  ac_pt_PKG_CONFIG=$PKG_CONFIG
15434  # Extract the first word of "pkg-config", so it can be a program name with args.
15435set dummy pkg-config; ac_word=$2
15436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15437$as_echo_n "checking for $ac_word... " >&6; }
15438if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15439  $as_echo_n "(cached) " >&6
15440else
15441  case $ac_pt_PKG_CONFIG in
15442  [\\/]* | ?:[\\/]*)
15443  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15444  ;;
15445  *)
15446  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15447for as_dir in $PATH
15448do
15449  IFS=$as_save_IFS
15450  test -z "$as_dir" && as_dir=.
15451    for ac_exec_ext in '' $ac_executable_extensions; do
15452  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15453    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15455    break 2
15456  fi
15457done
15458  done
15459IFS=$as_save_IFS
15460
15461  ;;
15462esac
15463fi
15464ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15465if test -n "$ac_pt_PKG_CONFIG"; then
15466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15467$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15468else
15469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15470$as_echo "no" >&6; }
15471fi
15472
15473  if test "x$ac_pt_PKG_CONFIG" = x; then
15474    PKG_CONFIG=""
15475  else
15476    case $cross_compiling:$ac_tool_warned in
15477yes:)
15478{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15479$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15480ac_tool_warned=yes ;;
15481esac
15482    PKG_CONFIG=$ac_pt_PKG_CONFIG
15483  fi
15484else
15485  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15486fi
15487
15488fi
15489if test -n "$PKG_CONFIG"; then
15490	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15491	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15492$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15493	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15494		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15495$as_echo "yes" >&6; }
15496	else
15497		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15498$as_echo "no" >&6; }
15499		PKG_CONFIG=""
15500	fi
15501fi
15502
15503      if test x"$PKG_CONFIG" = x""; then
15504        echo
15505        echo "*** Your version of pkg-config is too old. You need atleast"
15506        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15507        echo "*** from the freedesktop.org software repository at"
15508        echo "***"
15509        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15510        echo "***"
15511        exit 1;
15512      fi
15513
15514
15515
15516  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-unix-2.0 >= 2.50.0" >&5
15517$as_echo_n "checking for gio-unix-2.0 >= 2.50.0... " >&6; }
15518  if $PKG_CONFIG "--atleast-version=2.50.0" "gio-unix-2.0" >/dev/null 2>&1; then
15519    GIO_UNIX_VERSION=`$PKG_CONFIG --modversion "gio-unix-2.0"`
15520    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_UNIX_VERSION" >&5
15521$as_echo "$GIO_UNIX_VERSION" >&6; }
15522
15523    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_UNIX_CFLAGS" >&5
15524$as_echo_n "checking GIO_UNIX_CFLAGS... " >&6; }
15525    GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0"`
15526    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_UNIX_CFLAGS" >&5
15527$as_echo "$GIO_UNIX_CFLAGS" >&6; }
15528
15529    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_UNIX_LIBS" >&5
15530$as_echo_n "checking GIO_UNIX_LIBS... " >&6; }
15531    GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0"`
15532    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_UNIX_LIBS" >&5
15533$as_echo "$GIO_UNIX_LIBS" >&6; }
15534
15535    GIO_UNIX_REQUIRED_VERSION=2.50.0
15536
15537
15538
15539
15540
15541
15542
15543  elif $PKG_CONFIG --exists "gio-unix-2.0" >/dev/null 2>&1; then
15544    xdt_cv_version=`$PKG_CONFIG --modversion "gio-unix-2.0"`
15545    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15546$as_echo "found, but $xdt_cv_version" >&6; }
15547
15548
15549      echo "*** The required package gio-unix-2.0 was found on your system,"
15550      echo "*** but the installed version ($xdt_cv_version) is too old."
15551      echo "*** Please upgrade gio-unix-2.0 to atleast version 2.50.0, or adjust"
15552      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15553      echo "*** the new version of the package in a nonstandard prefix so"
15554      echo "*** pkg-config is able to find it."
15555      exit 1
15556
15557  else
15558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15559$as_echo "not found" >&6; }
15560
15561
15562      echo "*** The required package gio-unix-2.0 was not found on your system."
15563      echo "*** Please install gio-unix-2.0 (atleast version 2.50.0) or adjust"
15564      echo "*** the PKG_CONFIG_PATH environment variable if you"
15565      echo "*** installed the package in a nonstandard prefix so that"
15566      echo "*** pkg-config is able to find it."
15567      exit 1
15568
15569  fi
15570
15571
15572
15573  # minimum supported version of pkg-config
15574  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15585	if test -n "$ac_tool_prefix"; then
15586  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15587set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15589$as_echo_n "checking for $ac_word... " >&6; }
15590if ${ac_cv_path_PKG_CONFIG+:} false; then :
15591  $as_echo_n "(cached) " >&6
15592else
15593  case $PKG_CONFIG in
15594  [\\/]* | ?:[\\/]*)
15595  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15596  ;;
15597  *)
15598  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15599for as_dir in $PATH
15600do
15601  IFS=$as_save_IFS
15602  test -z "$as_dir" && as_dir=.
15603    for ac_exec_ext in '' $ac_executable_extensions; do
15604  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15605    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15607    break 2
15608  fi
15609done
15610  done
15611IFS=$as_save_IFS
15612
15613  ;;
15614esac
15615fi
15616PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15617if test -n "$PKG_CONFIG"; then
15618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15619$as_echo "$PKG_CONFIG" >&6; }
15620else
15621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15622$as_echo "no" >&6; }
15623fi
15624
15625
15626fi
15627if test -z "$ac_cv_path_PKG_CONFIG"; then
15628  ac_pt_PKG_CONFIG=$PKG_CONFIG
15629  # Extract the first word of "pkg-config", so it can be a program name with args.
15630set dummy pkg-config; ac_word=$2
15631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15632$as_echo_n "checking for $ac_word... " >&6; }
15633if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15634  $as_echo_n "(cached) " >&6
15635else
15636  case $ac_pt_PKG_CONFIG in
15637  [\\/]* | ?:[\\/]*)
15638  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15639  ;;
15640  *)
15641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15642for as_dir in $PATH
15643do
15644  IFS=$as_save_IFS
15645  test -z "$as_dir" && as_dir=.
15646    for ac_exec_ext in '' $ac_executable_extensions; do
15647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15648    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15650    break 2
15651  fi
15652done
15653  done
15654IFS=$as_save_IFS
15655
15656  ;;
15657esac
15658fi
15659ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15660if test -n "$ac_pt_PKG_CONFIG"; then
15661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15662$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15663else
15664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15665$as_echo "no" >&6; }
15666fi
15667
15668  if test "x$ac_pt_PKG_CONFIG" = x; then
15669    PKG_CONFIG=""
15670  else
15671    case $cross_compiling:$ac_tool_warned in
15672yes:)
15673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15675ac_tool_warned=yes ;;
15676esac
15677    PKG_CONFIG=$ac_pt_PKG_CONFIG
15678  fi
15679else
15680  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15681fi
15682
15683fi
15684if test -n "$PKG_CONFIG"; then
15685	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15686	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15687$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15688	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15689		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15690$as_echo "yes" >&6; }
15691	else
15692		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15693$as_echo "no" >&6; }
15694		PKG_CONFIG=""
15695	fi
15696fi
15697
15698      if test x"$PKG_CONFIG" = x""; then
15699        echo
15700        echo "*** Your version of pkg-config is too old. You need atleast"
15701        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15702        echo "*** from the freedesktop.org software repository at"
15703        echo "***"
15704        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15705        echo "***"
15706        exit 1;
15707      fi
15708
15709
15710
15711  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.50.0" >&5
15712$as_echo_n "checking for gthread-2.0 >= 2.50.0... " >&6; }
15713  if $PKG_CONFIG "--atleast-version=2.50.0" "gthread-2.0" >/dev/null 2>&1; then
15714    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
15715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
15716$as_echo "$GTHREAD_VERSION" >&6; }
15717
15718    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
15719$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
15720    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
15721    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
15722$as_echo "$GTHREAD_CFLAGS" >&6; }
15723
15724    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
15725$as_echo_n "checking GTHREAD_LIBS... " >&6; }
15726    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
15727    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
15728$as_echo "$GTHREAD_LIBS" >&6; }
15729
15730    GTHREAD_REQUIRED_VERSION=2.50.0
15731
15732
15733
15734
15735
15736
15737
15738  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
15739    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
15740    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15741$as_echo "found, but $xdt_cv_version" >&6; }
15742
15743
15744      echo "*** The required package gthread-2.0 was found on your system,"
15745      echo "*** but the installed version ($xdt_cv_version) is too old."
15746      echo "*** Please upgrade gthread-2.0 to atleast version 2.50.0, or adjust"
15747      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15748      echo "*** the new version of the package in a nonstandard prefix so"
15749      echo "*** pkg-config is able to find it."
15750      exit 1
15751
15752  else
15753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15754$as_echo "not found" >&6; }
15755
15756
15757      echo "*** The required package gthread-2.0 was not found on your system."
15758      echo "*** Please install gthread-2.0 (atleast version 2.50.0) or adjust"
15759      echo "*** the PKG_CONFIG_PATH environment variable if you"
15760      echo "*** installed the package in a nonstandard prefix so that"
15761      echo "*** pkg-config is able to find it."
15762      exit 1
15763
15764  fi
15765
15766
15767
15768  # minimum supported version of pkg-config
15769  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15780	if test -n "$ac_tool_prefix"; then
15781  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15782set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15784$as_echo_n "checking for $ac_word... " >&6; }
15785if ${ac_cv_path_PKG_CONFIG+:} false; then :
15786  $as_echo_n "(cached) " >&6
15787else
15788  case $PKG_CONFIG in
15789  [\\/]* | ?:[\\/]*)
15790  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15791  ;;
15792  *)
15793  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15794for as_dir in $PATH
15795do
15796  IFS=$as_save_IFS
15797  test -z "$as_dir" && as_dir=.
15798    for ac_exec_ext in '' $ac_executable_extensions; do
15799  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15800    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15801    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15802    break 2
15803  fi
15804done
15805  done
15806IFS=$as_save_IFS
15807
15808  ;;
15809esac
15810fi
15811PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15812if test -n "$PKG_CONFIG"; then
15813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15814$as_echo "$PKG_CONFIG" >&6; }
15815else
15816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15817$as_echo "no" >&6; }
15818fi
15819
15820
15821fi
15822if test -z "$ac_cv_path_PKG_CONFIG"; then
15823  ac_pt_PKG_CONFIG=$PKG_CONFIG
15824  # Extract the first word of "pkg-config", so it can be a program name with args.
15825set dummy pkg-config; ac_word=$2
15826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15827$as_echo_n "checking for $ac_word... " >&6; }
15828if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15829  $as_echo_n "(cached) " >&6
15830else
15831  case $ac_pt_PKG_CONFIG in
15832  [\\/]* | ?:[\\/]*)
15833  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15834  ;;
15835  *)
15836  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15837for as_dir in $PATH
15838do
15839  IFS=$as_save_IFS
15840  test -z "$as_dir" && as_dir=.
15841    for ac_exec_ext in '' $ac_executable_extensions; do
15842  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15843    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15845    break 2
15846  fi
15847done
15848  done
15849IFS=$as_save_IFS
15850
15851  ;;
15852esac
15853fi
15854ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15855if test -n "$ac_pt_PKG_CONFIG"; then
15856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15857$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15858else
15859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15860$as_echo "no" >&6; }
15861fi
15862
15863  if test "x$ac_pt_PKG_CONFIG" = x; then
15864    PKG_CONFIG=""
15865  else
15866    case $cross_compiling:$ac_tool_warned in
15867yes:)
15868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15870ac_tool_warned=yes ;;
15871esac
15872    PKG_CONFIG=$ac_pt_PKG_CONFIG
15873  fi
15874else
15875  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15876fi
15877
15878fi
15879if test -n "$PKG_CONFIG"; then
15880	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
15881	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15882$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15883	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15884		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15885$as_echo "yes" >&6; }
15886	else
15887		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15888$as_echo "no" >&6; }
15889		PKG_CONFIG=""
15890	fi
15891fi
15892
15893      if test x"$PKG_CONFIG" = x""; then
15894        echo
15895        echo "*** Your version of pkg-config is too old. You need atleast"
15896        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
15897        echo "*** from the freedesktop.org software repository at"
15898        echo "***"
15899        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
15900        echo "***"
15901        exit 1;
15902      fi
15903
15904
15905
15906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.14.0" >&5
15907$as_echo_n "checking for libxfce4util-1.0 >= 4.14.0... " >&6; }
15908  if $PKG_CONFIG "--atleast-version=4.14.0" "libxfce4util-1.0" >/dev/null 2>&1; then
15909    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
15910    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
15911$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
15912
15913    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
15914$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
15915    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
15916    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
15917$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
15918
15919    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
15920$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
15921    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
15922    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
15923$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
15924
15925    LIBXFCE4UTIL_REQUIRED_VERSION=4.14.0
15926
15927
15928
15929
15930
15931
15932
15933  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
15934    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
15935    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15936$as_echo "found, but $xdt_cv_version" >&6; }
15937
15938
15939      echo "*** The required package libxfce4util-1.0 was found on your system,"
15940      echo "*** but the installed version ($xdt_cv_version) is too old."
15941      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.14.0, or adjust"
15942      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15943      echo "*** the new version of the package in a nonstandard prefix so"
15944      echo "*** pkg-config is able to find it."
15945      exit 1
15946
15947  else
15948    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15949$as_echo "not found" >&6; }
15950
15951
15952      echo "*** The required package libxfce4util-1.0 was not found on your system."
15953      echo "*** Please install libxfce4util-1.0 (atleast version 4.14.0) or adjust"
15954      echo "*** the PKG_CONFIG_PATH environment variable if you"
15955      echo "*** installed the package in a nonstandard prefix so that"
15956      echo "*** pkg-config is able to find it."
15957      exit 1
15958
15959  fi
15960
15961
15962for ac_prog in perl5.8 perl5.6 perl5 perl
15963do
15964  # Extract the first word of "$ac_prog", so it can be a program name with args.
15965set dummy $ac_prog; ac_word=$2
15966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15967$as_echo_n "checking for $ac_word... " >&6; }
15968if ${ac_cv_path_PERL+:} false; then :
15969  $as_echo_n "(cached) " >&6
15970else
15971  case $PERL in
15972  [\\/]* | ?:[\\/]*)
15973  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15974  ;;
15975  *)
15976  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15977for as_dir in $PATH
15978do
15979  IFS=$as_save_IFS
15980  test -z "$as_dir" && as_dir=.
15981    for ac_exec_ext in '' $ac_executable_extensions; do
15982  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15983    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15984    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15985    break 2
15986  fi
15987done
15988  done
15989IFS=$as_save_IFS
15990
15991  ;;
15992esac
15993fi
15994PERL=$ac_cv_path_PERL
15995if test -n "$PERL"; then
15996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15997$as_echo "$PERL" >&6; }
15998else
15999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16000$as_echo "no" >&6; }
16001fi
16002
16003
16004  test -n "$PERL" && break
16005done
16006
16007
16008
16009
16010    saved_CFLAGS="$CFLAGS"
16011    saved_LIBS="$LIBS"
16012    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16013    LIBS="$LIBS $GLIB_LIBS"
16014    # The cast to long int works around a bug in the HP C Compiler,
16015# see AC_CHECK_SIZEOF for more information.
16016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of guchar" >&5
16017$as_echo_n "checking alignment of guchar... " >&6; }
16018if ${ac_cv_alignof_guchar+:} false; then :
16019  $as_echo_n "(cached) " >&6
16020else
16021  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_guchar"        "#include <glib.h>
16022
16023#ifndef offsetof
16024# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16025#endif
16026typedef struct { char x; guchar y; } ac__type_alignof_;"; then :
16027
16028else
16029  if test "$ac_cv_type_guchar" = yes; then
16030     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16032as_fn_error 77 "cannot compute alignment of guchar
16033See \`config.log' for more details" "$LINENO" 5; }
16034   else
16035     ac_cv_alignof_guchar=0
16036   fi
16037fi
16038
16039fi
16040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_guchar" >&5
16041$as_echo "$ac_cv_alignof_guchar" >&6; }
16042
16043
16044
16045cat >>confdefs.h <<_ACEOF
16046#define ALIGNOF_GUCHAR $ac_cv_alignof_guchar
16047_ACEOF
16048
16049
16050    CFLAGS="$saved_CFLAGS"
16051    LIBS="$saved_LIBS"
16052
16053
16054    saved_CFLAGS="$CFLAGS"
16055    saved_LIBS="$LIBS"
16056    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16057    LIBS="$LIBS $GLIB_LIBS"
16058    # The cast to long int works around a bug in the HP C Compiler,
16059# see AC_CHECK_SIZEOF for more information.
16060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gchar" >&5
16061$as_echo_n "checking alignment of gchar... " >&6; }
16062if ${ac_cv_alignof_gchar+:} false; then :
16063  $as_echo_n "(cached) " >&6
16064else
16065  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gchar"        "#include <glib.h>
16066
16067#ifndef offsetof
16068# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16069#endif
16070typedef struct { char x; gchar y; } ac__type_alignof_;"; then :
16071
16072else
16073  if test "$ac_cv_type_gchar" = yes; then
16074     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16076as_fn_error 77 "cannot compute alignment of gchar
16077See \`config.log' for more details" "$LINENO" 5; }
16078   else
16079     ac_cv_alignof_gchar=0
16080   fi
16081fi
16082
16083fi
16084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gchar" >&5
16085$as_echo "$ac_cv_alignof_gchar" >&6; }
16086
16087
16088
16089cat >>confdefs.h <<_ACEOF
16090#define ALIGNOF_GCHAR $ac_cv_alignof_gchar
16091_ACEOF
16092
16093
16094    CFLAGS="$saved_CFLAGS"
16095    LIBS="$saved_LIBS"
16096
16097
16098    saved_CFLAGS="$CFLAGS"
16099    saved_LIBS="$LIBS"
16100    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16101    LIBS="$LIBS $GLIB_LIBS"
16102    # The cast to long int works around a bug in the HP C Compiler,
16103# see AC_CHECK_SIZEOF for more information.
16104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of guint16" >&5
16105$as_echo_n "checking alignment of guint16... " >&6; }
16106if ${ac_cv_alignof_guint16+:} false; then :
16107  $as_echo_n "(cached) " >&6
16108else
16109  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_guint16"        "#include <glib.h>
16110
16111#ifndef offsetof
16112# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16113#endif
16114typedef struct { char x; guint16 y; } ac__type_alignof_;"; then :
16115
16116else
16117  if test "$ac_cv_type_guint16" = yes; then
16118     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16120as_fn_error 77 "cannot compute alignment of guint16
16121See \`config.log' for more details" "$LINENO" 5; }
16122   else
16123     ac_cv_alignof_guint16=0
16124   fi
16125fi
16126
16127fi
16128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_guint16" >&5
16129$as_echo "$ac_cv_alignof_guint16" >&6; }
16130
16131
16132
16133cat >>confdefs.h <<_ACEOF
16134#define ALIGNOF_GUINT16 $ac_cv_alignof_guint16
16135_ACEOF
16136
16137
16138    CFLAGS="$saved_CFLAGS"
16139    LIBS="$saved_LIBS"
16140
16141
16142    saved_CFLAGS="$CFLAGS"
16143    saved_LIBS="$LIBS"
16144    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16145    LIBS="$LIBS $GLIB_LIBS"
16146    # The cast to long int works around a bug in the HP C Compiler,
16147# see AC_CHECK_SIZEOF for more information.
16148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gint16" >&5
16149$as_echo_n "checking alignment of gint16... " >&6; }
16150if ${ac_cv_alignof_gint16+:} false; then :
16151  $as_echo_n "(cached) " >&6
16152else
16153  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gint16"        "#include <glib.h>
16154
16155#ifndef offsetof
16156# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16157#endif
16158typedef struct { char x; gint16 y; } ac__type_alignof_;"; then :
16159
16160else
16161  if test "$ac_cv_type_gint16" = yes; then
16162     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16163$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16164as_fn_error 77 "cannot compute alignment of gint16
16165See \`config.log' for more details" "$LINENO" 5; }
16166   else
16167     ac_cv_alignof_gint16=0
16168   fi
16169fi
16170
16171fi
16172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gint16" >&5
16173$as_echo "$ac_cv_alignof_gint16" >&6; }
16174
16175
16176
16177cat >>confdefs.h <<_ACEOF
16178#define ALIGNOF_GINT16 $ac_cv_alignof_gint16
16179_ACEOF
16180
16181
16182    CFLAGS="$saved_CFLAGS"
16183    LIBS="$saved_LIBS"
16184
16185
16186    saved_CFLAGS="$CFLAGS"
16187    saved_LIBS="$LIBS"
16188    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16189    LIBS="$LIBS $GLIB_LIBS"
16190    # The cast to long int works around a bug in the HP C Compiler,
16191# see AC_CHECK_SIZEOF for more information.
16192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of guint32" >&5
16193$as_echo_n "checking alignment of guint32... " >&6; }
16194if ${ac_cv_alignof_guint32+:} false; then :
16195  $as_echo_n "(cached) " >&6
16196else
16197  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_guint32"        "#include <glib.h>
16198
16199#ifndef offsetof
16200# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16201#endif
16202typedef struct { char x; guint32 y; } ac__type_alignof_;"; then :
16203
16204else
16205  if test "$ac_cv_type_guint32" = yes; then
16206     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16208as_fn_error 77 "cannot compute alignment of guint32
16209See \`config.log' for more details" "$LINENO" 5; }
16210   else
16211     ac_cv_alignof_guint32=0
16212   fi
16213fi
16214
16215fi
16216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_guint32" >&5
16217$as_echo "$ac_cv_alignof_guint32" >&6; }
16218
16219
16220
16221cat >>confdefs.h <<_ACEOF
16222#define ALIGNOF_GUINT32 $ac_cv_alignof_guint32
16223_ACEOF
16224
16225
16226    CFLAGS="$saved_CFLAGS"
16227    LIBS="$saved_LIBS"
16228
16229
16230    saved_CFLAGS="$CFLAGS"
16231    saved_LIBS="$LIBS"
16232    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16233    LIBS="$LIBS $GLIB_LIBS"
16234    # The cast to long int works around a bug in the HP C Compiler,
16235# see AC_CHECK_SIZEOF for more information.
16236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gint32" >&5
16237$as_echo_n "checking alignment of gint32... " >&6; }
16238if ${ac_cv_alignof_gint32+:} false; then :
16239  $as_echo_n "(cached) " >&6
16240else
16241  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gint32"        "#include <glib.h>
16242
16243#ifndef offsetof
16244# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16245#endif
16246typedef struct { char x; gint32 y; } ac__type_alignof_;"; then :
16247
16248else
16249  if test "$ac_cv_type_gint32" = yes; then
16250     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16252as_fn_error 77 "cannot compute alignment of gint32
16253See \`config.log' for more details" "$LINENO" 5; }
16254   else
16255     ac_cv_alignof_gint32=0
16256   fi
16257fi
16258
16259fi
16260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gint32" >&5
16261$as_echo "$ac_cv_alignof_gint32" >&6; }
16262
16263
16264
16265cat >>confdefs.h <<_ACEOF
16266#define ALIGNOF_GINT32 $ac_cv_alignof_gint32
16267_ACEOF
16268
16269
16270    CFLAGS="$saved_CFLAGS"
16271    LIBS="$saved_LIBS"
16272
16273
16274    saved_CFLAGS="$CFLAGS"
16275    saved_LIBS="$LIBS"
16276    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16277    LIBS="$LIBS $GLIB_LIBS"
16278    # The cast to long int works around a bug in the HP C Compiler,
16279# see AC_CHECK_SIZEOF for more information.
16280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of guint64" >&5
16281$as_echo_n "checking alignment of guint64... " >&6; }
16282if ${ac_cv_alignof_guint64+:} false; then :
16283  $as_echo_n "(cached) " >&6
16284else
16285  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_guint64"        "#include <glib.h>
16286
16287#ifndef offsetof
16288# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16289#endif
16290typedef struct { char x; guint64 y; } ac__type_alignof_;"; then :
16291
16292else
16293  if test "$ac_cv_type_guint64" = yes; then
16294     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16295$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16296as_fn_error 77 "cannot compute alignment of guint64
16297See \`config.log' for more details" "$LINENO" 5; }
16298   else
16299     ac_cv_alignof_guint64=0
16300   fi
16301fi
16302
16303fi
16304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_guint64" >&5
16305$as_echo "$ac_cv_alignof_guint64" >&6; }
16306
16307
16308
16309cat >>confdefs.h <<_ACEOF
16310#define ALIGNOF_GUINT64 $ac_cv_alignof_guint64
16311_ACEOF
16312
16313
16314    CFLAGS="$saved_CFLAGS"
16315    LIBS="$saved_LIBS"
16316
16317
16318    saved_CFLAGS="$CFLAGS"
16319    saved_LIBS="$LIBS"
16320    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16321    LIBS="$LIBS $GLIB_LIBS"
16322    # The cast to long int works around a bug in the HP C Compiler,
16323# see AC_CHECK_SIZEOF for more information.
16324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gint64" >&5
16325$as_echo_n "checking alignment of gint64... " >&6; }
16326if ${ac_cv_alignof_gint64+:} false; then :
16327  $as_echo_n "(cached) " >&6
16328else
16329  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gint64"        "#include <glib.h>
16330
16331#ifndef offsetof
16332# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16333#endif
16334typedef struct { char x; gint64 y; } ac__type_alignof_;"; then :
16335
16336else
16337  if test "$ac_cv_type_gint64" = yes; then
16338     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16340as_fn_error 77 "cannot compute alignment of gint64
16341See \`config.log' for more details" "$LINENO" 5; }
16342   else
16343     ac_cv_alignof_gint64=0
16344   fi
16345fi
16346
16347fi
16348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gint64" >&5
16349$as_echo "$ac_cv_alignof_gint64" >&6; }
16350
16351
16352
16353cat >>confdefs.h <<_ACEOF
16354#define ALIGNOF_GINT64 $ac_cv_alignof_gint64
16355_ACEOF
16356
16357
16358    CFLAGS="$saved_CFLAGS"
16359    LIBS="$saved_LIBS"
16360
16361
16362    saved_CFLAGS="$CFLAGS"
16363    saved_LIBS="$LIBS"
16364    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16365    LIBS="$LIBS $GLIB_LIBS"
16366    # The cast to long int works around a bug in the HP C Compiler,
16367# see AC_CHECK_SIZEOF for more information.
16368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gfloat" >&5
16369$as_echo_n "checking alignment of gfloat... " >&6; }
16370if ${ac_cv_alignof_gfloat+:} false; then :
16371  $as_echo_n "(cached) " >&6
16372else
16373  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gfloat"        "#include <glib.h>
16374
16375#ifndef offsetof
16376# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16377#endif
16378typedef struct { char x; gfloat y; } ac__type_alignof_;"; then :
16379
16380else
16381  if test "$ac_cv_type_gfloat" = yes; then
16382     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16384as_fn_error 77 "cannot compute alignment of gfloat
16385See \`config.log' for more details" "$LINENO" 5; }
16386   else
16387     ac_cv_alignof_gfloat=0
16388   fi
16389fi
16390
16391fi
16392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gfloat" >&5
16393$as_echo "$ac_cv_alignof_gfloat" >&6; }
16394
16395
16396
16397cat >>confdefs.h <<_ACEOF
16398#define ALIGNOF_GFLOAT $ac_cv_alignof_gfloat
16399_ACEOF
16400
16401
16402    CFLAGS="$saved_CFLAGS"
16403    LIBS="$saved_LIBS"
16404
16405
16406    saved_CFLAGS="$CFLAGS"
16407    saved_LIBS="$LIBS"
16408    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16409    LIBS="$LIBS $GLIB_LIBS"
16410    # The cast to long int works around a bug in the HP C Compiler,
16411# see AC_CHECK_SIZEOF for more information.
16412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gdouble" >&5
16413$as_echo_n "checking alignment of gdouble... " >&6; }
16414if ${ac_cv_alignof_gdouble+:} false; then :
16415  $as_echo_n "(cached) " >&6
16416else
16417  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gdouble"        "#include <glib.h>
16418
16419#ifndef offsetof
16420# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16421#endif
16422typedef struct { char x; gdouble y; } ac__type_alignof_;"; then :
16423
16424else
16425  if test "$ac_cv_type_gdouble" = yes; then
16426     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16427$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16428as_fn_error 77 "cannot compute alignment of gdouble
16429See \`config.log' for more details" "$LINENO" 5; }
16430   else
16431     ac_cv_alignof_gdouble=0
16432   fi
16433fi
16434
16435fi
16436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gdouble" >&5
16437$as_echo "$ac_cv_alignof_gdouble" >&6; }
16438
16439
16440
16441cat >>confdefs.h <<_ACEOF
16442#define ALIGNOF_GDOUBLE $ac_cv_alignof_gdouble
16443_ACEOF
16444
16445
16446    CFLAGS="$saved_CFLAGS"
16447    LIBS="$saved_LIBS"
16448
16449
16450    saved_CFLAGS="$CFLAGS"
16451    saved_LIBS="$LIBS"
16452    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16453    LIBS="$LIBS $GLIB_LIBS"
16454    # The cast to long int works around a bug in the HP C Compiler,
16455# see AC_CHECK_SIZEOF for more information.
16456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gboolean" >&5
16457$as_echo_n "checking alignment of gboolean... " >&6; }
16458if ${ac_cv_alignof_gboolean+:} false; then :
16459  $as_echo_n "(cached) " >&6
16460else
16461  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gboolean"        "#include <glib.h>
16462
16463#ifndef offsetof
16464# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16465#endif
16466typedef struct { char x; gboolean y; } ac__type_alignof_;"; then :
16467
16468else
16469  if test "$ac_cv_type_gboolean" = yes; then
16470     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16472as_fn_error 77 "cannot compute alignment of gboolean
16473See \`config.log' for more details" "$LINENO" 5; }
16474   else
16475     ac_cv_alignof_gboolean=0
16476   fi
16477fi
16478
16479fi
16480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gboolean" >&5
16481$as_echo "$ac_cv_alignof_gboolean" >&6; }
16482
16483
16484
16485cat >>confdefs.h <<_ACEOF
16486#define ALIGNOF_GBOOLEAN $ac_cv_alignof_gboolean
16487_ACEOF
16488
16489
16490    CFLAGS="$saved_CFLAGS"
16491    LIBS="$saved_LIBS"
16492
16493
16494    saved_CFLAGS="$CFLAGS"
16495    saved_LIBS="$LIBS"
16496    CFLAGS="$CFLAGS $GLIB_CFLAGS"
16497    LIBS="$LIBS $GLIB_LIBS"
16498    # The cast to long int works around a bug in the HP C Compiler,
16499# see AC_CHECK_SIZEOF for more information.
16500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of gpointer" >&5
16501$as_echo_n "checking alignment of gpointer... " >&6; }
16502if ${ac_cv_alignof_gpointer+:} false; then :
16503  $as_echo_n "(cached) " >&6
16504else
16505  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_gpointer"        "#include <glib.h>
16506
16507#ifndef offsetof
16508# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
16509#endif
16510typedef struct { char x; gpointer y; } ac__type_alignof_;"; then :
16511
16512else
16513  if test "$ac_cv_type_gpointer" = yes; then
16514     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16515$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16516as_fn_error 77 "cannot compute alignment of gpointer
16517See \`config.log' for more details" "$LINENO" 5; }
16518   else
16519     ac_cv_alignof_gpointer=0
16520   fi
16521fi
16522
16523fi
16524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_gpointer" >&5
16525$as_echo "$ac_cv_alignof_gpointer" >&6; }
16526
16527
16528
16529cat >>confdefs.h <<_ACEOF
16530#define ALIGNOF_GPOINTER $ac_cv_alignof_gpointer
16531_ACEOF
16532
16533
16534    CFLAGS="$saved_CFLAGS"
16535    LIBS="$saved_LIBS"
16536
16537
16538
16539
16540
16541  gtk_doc_requires="gtk-doc >= 1.0"
16542  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
16543$as_echo_n "checking for gtk-doc... " >&6; }
16544  if test -n "$PKG_CONFIG" && \
16545    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
16546  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
16547  ac_status=$?
16548  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16549  test $ac_status = 0; }; then
16550  have_gtk_doc=yes
16551else
16552  have_gtk_doc=no
16553fi
16554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
16555$as_echo "$have_gtk_doc" >&6; }
16556
16557  if test "$have_gtk_doc" = "no"; then
16558      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16559  You will not be able to create source packages with 'make dist'
16560  because $gtk_doc_requires is not found." >&5
16561$as_echo "$as_me: WARNING:
16562  You will not be able to create source packages with 'make dist'
16563  because $gtk_doc_requires is not found." >&2;}
16564  fi
16565
16566            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16567set dummy gtkdoc-check; ac_word=$2
16568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16569$as_echo_n "checking for $ac_word... " >&6; }
16570if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
16571  $as_echo_n "(cached) " >&6
16572else
16573  if test -n "$GTKDOC_CHECK"; then
16574  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
16575else
16576as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16577for as_dir in $PATH
16578do
16579  IFS=$as_save_IFS
16580  test -z "$as_dir" && as_dir=.
16581    for ac_exec_ext in '' $ac_executable_extensions; do
16582  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16583    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
16584    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16585    break 2
16586  fi
16587done
16588  done
16589IFS=$as_save_IFS
16590
16591fi
16592fi
16593GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
16594if test -n "$GTKDOC_CHECK"; then
16595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
16596$as_echo "$GTKDOC_CHECK" >&6; }
16597else
16598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16599$as_echo "no" >&6; }
16600fi
16601
16602
16603  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
16604set dummy gtkdoc-check; ac_word=$2
16605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16606$as_echo_n "checking for $ac_word... " >&6; }
16607if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
16608  $as_echo_n "(cached) " >&6
16609else
16610  case $GTKDOC_CHECK_PATH in
16611  [\\/]* | ?:[\\/]*)
16612  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
16613  ;;
16614  *)
16615  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16616for as_dir in $PATH
16617do
16618  IFS=$as_save_IFS
16619  test -z "$as_dir" && as_dir=.
16620    for ac_exec_ext in '' $ac_executable_extensions; do
16621  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16622    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
16623    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16624    break 2
16625  fi
16626done
16627  done
16628IFS=$as_save_IFS
16629
16630  ;;
16631esac
16632fi
16633GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
16634if test -n "$GTKDOC_CHECK_PATH"; then
16635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
16636$as_echo "$GTKDOC_CHECK_PATH" >&6; }
16637else
16638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16639$as_echo "no" >&6; }
16640fi
16641
16642
16643  for ac_prog in gtkdoc-rebase
16644do
16645  # Extract the first word of "$ac_prog", so it can be a program name with args.
16646set dummy $ac_prog; ac_word=$2
16647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16648$as_echo_n "checking for $ac_word... " >&6; }
16649if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
16650  $as_echo_n "(cached) " >&6
16651else
16652  case $GTKDOC_REBASE in
16653  [\\/]* | ?:[\\/]*)
16654  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
16655  ;;
16656  *)
16657  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16658for as_dir in $PATH
16659do
16660  IFS=$as_save_IFS
16661  test -z "$as_dir" && as_dir=.
16662    for ac_exec_ext in '' $ac_executable_extensions; do
16663  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16664    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
16665    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16666    break 2
16667  fi
16668done
16669  done
16670IFS=$as_save_IFS
16671
16672  ;;
16673esac
16674fi
16675GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
16676if test -n "$GTKDOC_REBASE"; then
16677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
16678$as_echo "$GTKDOC_REBASE" >&6; }
16679else
16680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16681$as_echo "no" >&6; }
16682fi
16683
16684
16685  test -n "$GTKDOC_REBASE" && break
16686done
16687test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
16688
16689  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
16690set dummy gtkdoc-mkpdf; ac_word=$2
16691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16692$as_echo_n "checking for $ac_word... " >&6; }
16693if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
16694  $as_echo_n "(cached) " >&6
16695else
16696  case $GTKDOC_MKPDF in
16697  [\\/]* | ?:[\\/]*)
16698  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
16699  ;;
16700  *)
16701  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702for as_dir in $PATH
16703do
16704  IFS=$as_save_IFS
16705  test -z "$as_dir" && as_dir=.
16706    for ac_exec_ext in '' $ac_executable_extensions; do
16707  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16708    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
16709    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16710    break 2
16711  fi
16712done
16713  done
16714IFS=$as_save_IFS
16715
16716  ;;
16717esac
16718fi
16719GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
16720if test -n "$GTKDOC_MKPDF"; then
16721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
16722$as_echo "$GTKDOC_MKPDF" >&6; }
16723else
16724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16725$as_echo "no" >&6; }
16726fi
16727
16728
16729
16730
16731# Check whether --with-html-dir was given.
16732if test "${with_html_dir+set}" = set; then :
16733  withval=$with_html_dir;
16734else
16735  with_html_dir='${datadir}/gtk-doc/html'
16736fi
16737
16738  HTML_DIR="$with_html_dir"
16739
16740
16741    # Check whether --enable-gtk-doc was given.
16742if test "${enable_gtk_doc+set}" = set; then :
16743  enableval=$enable_gtk_doc;
16744else
16745  enable_gtk_doc=no
16746fi
16747
16748
16749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
16750$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
16751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
16752$as_echo "$enable_gtk_doc" >&6; }
16753
16754  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
16755    as_fn_error $? "
16756  You must have $gtk_doc_requires installed to build documentation for
16757  $PACKAGE_NAME. Please install gtk-doc or disable building the
16758  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
16759  fi
16760
16761    if test "x$PACKAGE_NAME" != "xglib"; then
16762
16763pkg_failed=no
16764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
16765$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
16766
16767if test -n "$GTKDOC_DEPS_CFLAGS"; then
16768    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
16769 elif test -n "$PKG_CONFIG"; then
16770    if test -n "$PKG_CONFIG" && \
16771    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
16772  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
16773  ac_status=$?
16774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775  test $ac_status = 0; }; then
16776  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
16777		      test "x$?" != "x0" && pkg_failed=yes
16778else
16779  pkg_failed=yes
16780fi
16781 else
16782    pkg_failed=untried
16783fi
16784if test -n "$GTKDOC_DEPS_LIBS"; then
16785    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
16786 elif test -n "$PKG_CONFIG"; then
16787    if test -n "$PKG_CONFIG" && \
16788    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
16789  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
16790  ac_status=$?
16791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16792  test $ac_status = 0; }; then
16793  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
16794		      test "x$?" != "x0" && pkg_failed=yes
16795else
16796  pkg_failed=yes
16797fi
16798 else
16799    pkg_failed=untried
16800fi
16801
16802
16803
16804if test $pkg_failed = yes; then
16805   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16806$as_echo "no" >&6; }
16807
16808if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16809        _pkg_short_errors_supported=yes
16810else
16811        _pkg_short_errors_supported=no
16812fi
16813        if test $_pkg_short_errors_supported = yes; then
16814	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
16815        else
16816	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
16817        fi
16818	# Put the nasty error message in config.log where it belongs
16819	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
16820
16821	:
16822elif test $pkg_failed = untried; then
16823     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16824$as_echo "no" >&6; }
16825	:
16826else
16827	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
16828	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
16829        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16830$as_echo "yes" >&6; }
16831
16832fi
16833  fi
16834
16835    # Check whether --enable-gtk-doc-html was given.
16836if test "${enable_gtk_doc_html+set}" = set; then :
16837  enableval=$enable_gtk_doc_html;
16838else
16839  enable_gtk_doc_html=yes
16840fi
16841
16842    # Check whether --enable-gtk-doc-pdf was given.
16843if test "${enable_gtk_doc_pdf+set}" = set; then :
16844  enableval=$enable_gtk_doc_pdf;
16845else
16846  enable_gtk_doc_pdf=no
16847fi
16848
16849
16850  if test -z "$GTKDOC_MKPDF"; then
16851    enable_gtk_doc_pdf=no
16852  fi
16853
16854  if test -z "$AM_DEFAULT_VERBOSITY"; then
16855    AM_DEFAULT_VERBOSITY=1
16856  fi
16857
16858
16859   if test x$have_gtk_doc = xyes; then
16860  HAVE_GTK_DOC_TRUE=
16861  HAVE_GTK_DOC_FALSE='#'
16862else
16863  HAVE_GTK_DOC_TRUE='#'
16864  HAVE_GTK_DOC_FALSE=
16865fi
16866
16867   if test x$enable_gtk_doc = xyes; then
16868  ENABLE_GTK_DOC_TRUE=
16869  ENABLE_GTK_DOC_FALSE='#'
16870else
16871  ENABLE_GTK_DOC_TRUE='#'
16872  ENABLE_GTK_DOC_FALSE=
16873fi
16874
16875   if test x$enable_gtk_doc_html = xyes; then
16876  GTK_DOC_BUILD_HTML_TRUE=
16877  GTK_DOC_BUILD_HTML_FALSE='#'
16878else
16879  GTK_DOC_BUILD_HTML_TRUE='#'
16880  GTK_DOC_BUILD_HTML_FALSE=
16881fi
16882
16883   if test x$enable_gtk_doc_pdf = xyes; then
16884  GTK_DOC_BUILD_PDF_TRUE=
16885  GTK_DOC_BUILD_PDF_FALSE='#'
16886else
16887  GTK_DOC_BUILD_PDF_TRUE='#'
16888  GTK_DOC_BUILD_PDF_FALSE=
16889fi
16890
16891   if test -n "$LIBTOOL"; then
16892  GTK_DOC_USE_LIBTOOL_TRUE=
16893  GTK_DOC_USE_LIBTOOL_FALSE='#'
16894else
16895  GTK_DOC_USE_LIBTOOL_TRUE='#'
16896  GTK_DOC_USE_LIBTOOL_FALSE=
16897fi
16898
16899   if test -n "$GTKDOC_REBASE"; then
16900  GTK_DOC_USE_REBASE_TRUE=
16901  GTK_DOC_USE_REBASE_FALSE='#'
16902else
16903  GTK_DOC_USE_REBASE_TRUE='#'
16904  GTK_DOC_USE_REBASE_FALSE=
16905fi
16906
16907
16908
16909
16910xfconf_backend_perchannel_xml=yes
16911 if test "x$xfconf_backend_perchannel_xml" = "xyes"; then
16912  BUILD_XFCONF_BACKEND_PERCHANNEL_XML_TRUE=
16913  BUILD_XFCONF_BACKEND_PERCHANNEL_XML_FALSE='#'
16914else
16915  BUILD_XFCONF_BACKEND_PERCHANNEL_XML_TRUE='#'
16916  BUILD_XFCONF_BACKEND_PERCHANNEL_XML_FALSE=
16917fi
16918
16919if test "x$xfconf_backend_perchannel_xml" = "xyes"; then
16920
16921$as_echo "#define BUILD_XFCONF_BACKEND_PERCHANNEL_XML 1" >>confdefs.h
16922
16923fi
16924
16925# Check whether --enable-gsettings_backend was given.
16926if test "${enable_gsettings_backend+set}" = set; then :
16927  enableval=$enable_gsettings_backend; ac_gsettings_backend=$enableval
16928else
16929  ac_gsettings_backend=yes
16930fi
16931
16932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the GSettings backend module" >&5
16933$as_echo_n "checking whether to build the GSettings backend module... " >&6; }
16934 if test x"$ac_gsettings_backend" = x"yes"; then
16935  XFCONF_ENABLE_GSETTINGS_BACKEND_TRUE=
16936  XFCONF_ENABLE_GSETTINGS_BACKEND_FALSE='#'
16937else
16938  XFCONF_ENABLE_GSETTINGS_BACKEND_TRUE='#'
16939  XFCONF_ENABLE_GSETTINGS_BACKEND_FALSE=
16940fi
16941
16942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gsettings_backend" >&5
16943$as_echo "$ac_gsettings_backend" >&6; }
16944
16945if test "x$ac_gsettings_backend"; then
16946
16947
16948  # minimum supported version of pkg-config
16949  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16960	if test -n "$ac_tool_prefix"; then
16961  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16962set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16964$as_echo_n "checking for $ac_word... " >&6; }
16965if ${ac_cv_path_PKG_CONFIG+:} false; then :
16966  $as_echo_n "(cached) " >&6
16967else
16968  case $PKG_CONFIG in
16969  [\\/]* | ?:[\\/]*)
16970  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16971  ;;
16972  *)
16973  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16974for as_dir in $PATH
16975do
16976  IFS=$as_save_IFS
16977  test -z "$as_dir" && as_dir=.
16978    for ac_exec_ext in '' $ac_executable_extensions; do
16979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16980    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16982    break 2
16983  fi
16984done
16985  done
16986IFS=$as_save_IFS
16987
16988  ;;
16989esac
16990fi
16991PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16992if test -n "$PKG_CONFIG"; then
16993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16994$as_echo "$PKG_CONFIG" >&6; }
16995else
16996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16997$as_echo "no" >&6; }
16998fi
16999
17000
17001fi
17002if test -z "$ac_cv_path_PKG_CONFIG"; then
17003  ac_pt_PKG_CONFIG=$PKG_CONFIG
17004  # Extract the first word of "pkg-config", so it can be a program name with args.
17005set dummy pkg-config; ac_word=$2
17006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17007$as_echo_n "checking for $ac_word... " >&6; }
17008if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17009  $as_echo_n "(cached) " >&6
17010else
17011  case $ac_pt_PKG_CONFIG in
17012  [\\/]* | ?:[\\/]*)
17013  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17014  ;;
17015  *)
17016  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17017for as_dir in $PATH
17018do
17019  IFS=$as_save_IFS
17020  test -z "$as_dir" && as_dir=.
17021    for ac_exec_ext in '' $ac_executable_extensions; do
17022  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17023    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17024    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17025    break 2
17026  fi
17027done
17028  done
17029IFS=$as_save_IFS
17030
17031  ;;
17032esac
17033fi
17034ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17035if test -n "$ac_pt_PKG_CONFIG"; then
17036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17037$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17038else
17039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17040$as_echo "no" >&6; }
17041fi
17042
17043  if test "x$ac_pt_PKG_CONFIG" = x; then
17044    PKG_CONFIG=""
17045  else
17046    case $cross_compiling:$ac_tool_warned in
17047yes:)
17048{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17049$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17050ac_tool_warned=yes ;;
17051esac
17052    PKG_CONFIG=$ac_pt_PKG_CONFIG
17053  fi
17054else
17055  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17056fi
17057
17058fi
17059if test -n "$PKG_CONFIG"; then
17060	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
17061	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17062$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17063	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17064		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17065$as_echo "yes" >&6; }
17066	else
17067		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17068$as_echo "no" >&6; }
17069		PKG_CONFIG=""
17070	fi
17071fi
17072
17073      if test x"$PKG_CONFIG" = x""; then
17074        echo
17075        echo "*** Your version of pkg-config is too old. You need atleast"
17076        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
17077        echo "*** from the freedesktop.org software repository at"
17078        echo "***"
17079        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
17080        echo "***"
17081        exit 1;
17082      fi
17083
17084
17085
17086  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= 2.50.0" >&5
17087$as_echo_n "checking for gmodule-2.0 >= 2.50.0... " >&6; }
17088  if $PKG_CONFIG "--atleast-version=2.50.0" "gmodule-2.0" >/dev/null 2>&1; then
17089    GMODULE_VERSION=`$PKG_CONFIG --modversion "gmodule-2.0"`
17090    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_VERSION" >&5
17091$as_echo "$GMODULE_VERSION" >&6; }
17092
17093    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_CFLAGS" >&5
17094$as_echo_n "checking GMODULE_CFLAGS... " >&6; }
17095    GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0"`
17096    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_CFLAGS" >&5
17097$as_echo "$GMODULE_CFLAGS" >&6; }
17098
17099    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_LIBS" >&5
17100$as_echo_n "checking GMODULE_LIBS... " >&6; }
17101    GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0"`
17102    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_LIBS" >&5
17103$as_echo "$GMODULE_LIBS" >&6; }
17104
17105    GMODULE_REQUIRED_VERSION=2.50.0
17106
17107
17108
17109
17110
17111
17112
17113  elif $PKG_CONFIG --exists "gmodule-2.0" >/dev/null 2>&1; then
17114    xdt_cv_version=`$PKG_CONFIG --modversion "gmodule-2.0"`
17115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
17116$as_echo "found, but $xdt_cv_version" >&6; }
17117
17118
17119      echo "*** The required package gmodule-2.0 was found on your system,"
17120      echo "*** but the installed version ($xdt_cv_version) is too old."
17121      echo "*** Please upgrade gmodule-2.0 to atleast version 2.50.0, or adjust"
17122      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
17123      echo "*** the new version of the package in a nonstandard prefix so"
17124      echo "*** pkg-config is able to find it."
17125      exit 1
17126
17127  else
17128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17129$as_echo "not found" >&6; }
17130
17131
17132      echo "*** The required package gmodule-2.0 was not found on your system."
17133      echo "*** Please install gmodule-2.0 (atleast version 2.50.0) or adjust"
17134      echo "*** the PKG_CONFIG_PATH environment variable if you"
17135      echo "*** installed the package in a nonstandard prefix so that"
17136      echo "*** pkg-config is able to find it."
17137      exit 1
17138
17139  fi
17140
17141	GIO_MODULE_DIR=$libdir/gio/modules
17142
17143fi
17144
17145
17146
17147
17148                # Check whether --enable-introspection was given.
17149if test "${enable_introspection+set}" = set; then :
17150  enableval=$enable_introspection;
17151else
17152  enable_introspection=auto
17153fi
17154
17155
17156    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
17157$as_echo_n "checking for gobject-introspection... " >&6; }
17158
17159        case $enable_introspection in #(
17160  no) :
17161            found_introspection="no (disabled, use --enable-introspection to enable)"
17162     ;; #(
17163      yes) :
17164            if test -n "$PKG_CONFIG" && \
17165    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
17166  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
17167  ac_status=$?
17168  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17169  test $ac_status = 0; }; then
17170  :
17171else
17172  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
17173fi
17174        if test -n "$PKG_CONFIG" && \
17175    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
17176  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
17177  ac_status=$?
17178  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17179  test $ac_status = 0; }; then
17180  found_introspection=yes
17181else
17182  as_fn_error $? "You need to have gobject-introspection >= 1.30.0 installed to build xfconf" "$LINENO" 5
17183fi
17184     ;; #(
17185      auto) :
17186            if test -n "$PKG_CONFIG" && \
17187    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.30.0\""; } >&5
17188  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.30.0") 2>&5
17189  ac_status=$?
17190  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17191  test $ac_status = 0; }; then
17192  found_introspection=yes
17193else
17194  found_introspection=no
17195fi
17196		enable_introspection=$found_introspection
17197     ;; #(
17198  *) :
17199                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
17200     ;;
17201esac
17202    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
17203$as_echo "$found_introspection" >&6; }
17204
17205
17206  EXP_VAR=_GI_EXP_DATADIR
17207  FROM_VAR="$datadir"
17208
17209    prefix_save=$prefix
17210  exec_prefix_save=$exec_prefix
17211
17212    if test "x$prefix" = "xNONE"; then
17213    prefix="$ac_default_prefix"
17214  fi
17215    if test "x$exec_prefix" = "xNONE"; then
17216    exec_prefix=$prefix
17217  fi
17218
17219  full_var="$FROM_VAR"
17220    while true; do
17221    new_full_var="`eval echo $full_var`"
17222    if test "x$new_full_var" = "x$full_var"; then break; fi
17223    full_var=$new_full_var
17224  done
17225
17226    full_var=$new_full_var
17227  _GI_EXP_DATADIR="$full_var"
17228
17229
17230    prefix=$prefix_save
17231  exec_prefix=$exec_prefix_save
17232
17233
17234  EXP_VAR=_GI_EXP_LIBDIR
17235  FROM_VAR="$libdir"
17236
17237    prefix_save=$prefix
17238  exec_prefix_save=$exec_prefix
17239
17240    if test "x$prefix" = "xNONE"; then
17241    prefix="$ac_default_prefix"
17242  fi
17243    if test "x$exec_prefix" = "xNONE"; then
17244    exec_prefix=$prefix
17245  fi
17246
17247  full_var="$FROM_VAR"
17248    while true; do
17249    new_full_var="`eval echo $full_var`"
17250    if test "x$new_full_var" = "x$full_var"; then break; fi
17251    full_var=$new_full_var
17252  done
17253
17254    full_var=$new_full_var
17255  _GI_EXP_LIBDIR="$full_var"
17256
17257
17258    prefix=$prefix_save
17259  exec_prefix=$exec_prefix_save
17260
17261
17262    INTROSPECTION_SCANNER=
17263    INTROSPECTION_COMPILER=
17264    INTROSPECTION_GENERATE=
17265    INTROSPECTION_GIRDIR=
17266    INTROSPECTION_TYPELIBDIR=
17267    if test "x$found_introspection" = "xyes"; then
17268       INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
17269       INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
17270       INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
17271       INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0`
17272       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)"
17273       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
17274       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
17275       INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
17276    fi
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286     if test "x$found_introspection" = "xyes"; then
17287  HAVE_INTROSPECTION_TRUE=
17288  HAVE_INTROSPECTION_FALSE='#'
17289else
17290  HAVE_INTROSPECTION_TRUE='#'
17291  HAVE_INTROSPECTION_FALSE=
17292fi
17293
17294
17295
17296
17297
17298  if test "x" != "xyes"; then :
17299
17300
17301
17302fi
17303
17304  # Check whether --enable-vala was given.
17305if test "${enable_vala+set}" = set; then :
17306  enableval=$enable_vala;
17307else
17308
17309      if test "x" = "x"; then :
17310
17311          enable_vala=auto
17312
17313else
17314
17315          enable_vala=
17316
17317fi
17318
17319fi
17320
17321
17322  case $enable_vala in #(
17323  no) :
17324    enable_vala=no ;; #(
17325  yes) :
17326
17327        if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
17328
17329            as_fn_error $? "Vala bindings require GObject Introspection" "$LINENO" 5
17330
17331fi
17332       ;; #(
17333  auto) :
17334
17335        if test "x" != "xyes" -a "x$found_introspection" != "xyes"; then :
17336
17337            enable_vala=no
17338
17339fi
17340       ;; #(
17341  *) :
17342
17343        as_fn_error $? "Invalid argument passed to --enable-vala, should be one of [no/auto/yes]" "$LINENO" 5
17344       ;;
17345esac
17346
17347  if test "x" = "x"; then :
17348
17349      vapigen_pkg_name=vapigen
17350
17351else
17352
17353      vapigen_pkg_name=vapigen-
17354
17355fi
17356  if test "x" = "x"; then :
17357
17358      vapigen_pkg="$vapigen_pkg_name"
17359
17360else
17361
17362      vapigen_pkg="$vapigen_pkg_name >= "
17363
17364fi
17365
17366
17367
17368
17369
17370
17371
17372
17373if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17374	if test -n "$ac_tool_prefix"; then
17375  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17376set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17378$as_echo_n "checking for $ac_word... " >&6; }
17379if ${ac_cv_path_PKG_CONFIG+:} false; then :
17380  $as_echo_n "(cached) " >&6
17381else
17382  case $PKG_CONFIG in
17383  [\\/]* | ?:[\\/]*)
17384  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17385  ;;
17386  *)
17387  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17388for as_dir in $PATH
17389do
17390  IFS=$as_save_IFS
17391  test -z "$as_dir" && as_dir=.
17392    for ac_exec_ext in '' $ac_executable_extensions; do
17393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17394    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17396    break 2
17397  fi
17398done
17399  done
17400IFS=$as_save_IFS
17401
17402  ;;
17403esac
17404fi
17405PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17406if test -n "$PKG_CONFIG"; then
17407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17408$as_echo "$PKG_CONFIG" >&6; }
17409else
17410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17411$as_echo "no" >&6; }
17412fi
17413
17414
17415fi
17416if test -z "$ac_cv_path_PKG_CONFIG"; then
17417  ac_pt_PKG_CONFIG=$PKG_CONFIG
17418  # Extract the first word of "pkg-config", so it can be a program name with args.
17419set dummy pkg-config; ac_word=$2
17420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17421$as_echo_n "checking for $ac_word... " >&6; }
17422if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17423  $as_echo_n "(cached) " >&6
17424else
17425  case $ac_pt_PKG_CONFIG in
17426  [\\/]* | ?:[\\/]*)
17427  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17428  ;;
17429  *)
17430  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17431for as_dir in $PATH
17432do
17433  IFS=$as_save_IFS
17434  test -z "$as_dir" && as_dir=.
17435    for ac_exec_ext in '' $ac_executable_extensions; do
17436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17437    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17439    break 2
17440  fi
17441done
17442  done
17443IFS=$as_save_IFS
17444
17445  ;;
17446esac
17447fi
17448ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17449if test -n "$ac_pt_PKG_CONFIG"; then
17450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17451$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17452else
17453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17454$as_echo "no" >&6; }
17455fi
17456
17457  if test "x$ac_pt_PKG_CONFIG" = x; then
17458    PKG_CONFIG=""
17459  else
17460    case $cross_compiling:$ac_tool_warned in
17461yes:)
17462{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17463$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17464ac_tool_warned=yes ;;
17465esac
17466    PKG_CONFIG=$ac_pt_PKG_CONFIG
17467  fi
17468else
17469  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17470fi
17471
17472fi
17473if test -n "$PKG_CONFIG"; then
17474	_pkg_min_version=0.9.0
17475	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17476$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17477	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17478		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17479$as_echo "yes" >&6; }
17480	else
17481		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17482$as_echo "no" >&6; }
17483		PKG_CONFIG=""
17484	fi
17485fi
17486
17487  if test -n "$PKG_CONFIG" && \
17488    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vapigen_pkg\""; } >&5
17489  ($PKG_CONFIG --exists --print-errors "$vapigen_pkg") 2>&5
17490  ac_status=$?
17491  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17492  test $ac_status = 0; }; then
17493
17494      if test "$enable_vala" = "auto"; then :
17495
17496          enable_vala=yes
17497
17498fi
17499
17500else
17501
17502      case $enable_vala in #(
17503  yes) :
17504
17505          as_fn_error $? "$vapigen_pkg not found" "$LINENO" 5
17506         ;; #(
17507  auto) :
17508
17509          enable_vala=no
17510         ;; #(
17511  *) :
17512     ;;
17513esac
17514
17515fi
17516
17517  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vapigen" >&5
17518$as_echo_n "checking for vapigen... " >&6; }
17519
17520  case $enable_vala in #(
17521  yes) :
17522
17523      VAPIGEN=`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
17524      VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen
17525      if test "x" = "x"; then :
17526
17527          VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
17528
17529else
17530
17531          VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name`
17532
17533fi
17534     ;; #(
17535  *) :
17536     ;;
17537esac
17538
17539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vala" >&5
17540$as_echo "$enable_vala" >&6; }
17541
17542
17543
17544
17545
17546   if test "x$enable_vala" = "xyes"; then
17547  ENABLE_VAPIGEN_TRUE=
17548  ENABLE_VAPIGEN_FALSE='#'
17549else
17550  ENABLE_VAPIGEN_TRUE='#'
17551  ENABLE_VAPIGEN_FALSE=
17552fi
17553
17554
17555
17556
17557    # Check whether --enable-debug was given.
17558if test "${enable_debug+set}" = set; then :
17559  enableval=$enable_debug; enable_debug=$enableval
17560else
17561  enable_debug=minimum
17562fi
17563
17564
17565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
17566$as_echo_n "checking whether to build with debugging support... " >&6; }
17567  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
17568
17569$as_echo "#define DEBUG 1" >>confdefs.h
17570
17571
17572    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
17573                              -Wall -Wextra \
17574                              -Wno-missing-field-initializers \
17575                              -Wno-unused-parameter -Wold-style-definition \
17576                              -Wdeclaration-after-statement \
17577                              -Wmissing-declarations \
17578                              -Wmissing-noreturn -Wpointer-arith \
17579                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
17580                              -Winit-self -Wmissing-include-dirs -Wundef \
17581                              -Wnested-externs"
17582    CPPFLAGS="$CPPFLAGS"
17583
17584    if test x`uname` = x"Linux"; then
17585      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
17586    fi
17587
17588        if test x`uname` != x"OpenBSD"; then
17589      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
17590    fi
17591
17592    if test x"$enable_debug" = x"full"; then
17593
17594$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
17595
17596      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
17597      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
17598      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
17599$as_echo "full" >&6; }
17600    else
17601      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
17602      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17603$as_echo "yes" >&6; }
17604    fi
17605
17606
17607  for flag in $xdt_cv_additional_CFLAGS; do
17608    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17609$as_echo_n "checking if $CC supports $flag... " >&6; }
17610    saved_CFLAGS="$CFLAGS"
17611    CFLAGS="$CFLAGS $flag"
17612    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613/* end confdefs.h.  */
17614
17615_ACEOF
17616if ac_fn_c_try_compile "$LINENO"; then :
17617  flag_supported=yes
17618else
17619  flag_supported=no
17620fi
17621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622    CFLAGS="$saved_CFLAGS"
17623    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17624$as_echo "$flag_supported" >&6; }
17625
17626    if test "x$flag_supported" = "xyes"; then
17627      supported_CFLAGS="$supported_CFLAGS $flag"
17628    fi
17629  done
17630
17631
17632
17633                                                supported_CXXFLAGS="$supported_CFLAGS"
17634
17635
17636    CFLAGS="$CFLAGS $supported_CFLAGS"
17637    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
17638  else
17639    CPPFLAGS="$CPPFLAGS -DNDEBUG"
17640
17641    if test x"$enable_debug" = x"no"; then
17642      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
17643      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17644$as_echo "no" >&6; }
17645    else
17646      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
17647$as_echo "minimum" >&6; }
17648    fi
17649  fi
17650
17651
17652  for flag in -Wno-sign-compare; do
17653    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17654$as_echo_n "checking if $CC supports $flag... " >&6; }
17655    saved_CFLAGS="$CFLAGS"
17656    CFLAGS="$CFLAGS $flag"
17657    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658/* end confdefs.h.  */
17659
17660_ACEOF
17661if ac_fn_c_try_compile "$LINENO"; then :
17662  flag_supported=yes
17663else
17664  flag_supported=no
17665fi
17666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667    CFLAGS="$saved_CFLAGS"
17668    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17669$as_echo "$flag_supported" >&6; }
17670
17671    if test "x$flag_supported" = "xyes"; then
17672      GTK_DOC_EXTRA_CFLAGS="$GTK_DOC_EXTRA_CFLAGS $flag"
17673    fi
17674  done
17675
17676
17677
17678# Check whether --enable-checks was given.
17679if test "${enable_checks+set}" = set; then :
17680  enableval=$enable_checks; enable_checks=$enableval
17681fi
17682
17683if test "x$enable_checks" = "xyes"; then
17684
17685$as_echo "#define XFCONF_ENABLE_CHECKS 1" >>confdefs.h
17686
17687fi
17688
17689
17690  # Check whether --enable-visibility was given.
17691if test "${enable_visibility+set}" = set; then :
17692  enableval=$enable_visibility; enable_visibility=$enableval
17693else
17694  enable_visibility=yes
17695fi
17696
17697  have_gnuc_visibility=no
17698  if test "x$enable_visibility" != "xno"; then
17699
17700  for flag in -Wall -Werror -Wno-unused-parameter; do
17701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17702$as_echo_n "checking if $CC supports $flag... " >&6; }
17703    saved_CFLAGS="$CFLAGS"
17704    CFLAGS="$CFLAGS $flag"
17705    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706/* end confdefs.h.  */
17707
17708_ACEOF
17709if ac_fn_c_try_compile "$LINENO"; then :
17710  flag_supported=yes
17711else
17712  flag_supported=no
17713fi
17714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715    CFLAGS="$saved_CFLAGS"
17716    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17717$as_echo "$flag_supported" >&6; }
17718
17719    if test "x$flag_supported" = "xyes"; then
17720      xdt_vis_test_cflags="$xdt_vis_test_cflags $flag"
17721    fi
17722  done
17723
17724    saved_CFLAGS="$CFLAGS"
17725    CFLAGS="$CFLAGS $xdt_vis_test_cflags"
17726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the GNUC visibility attribute" >&5
17727$as_echo_n "checking whether $CC supports the GNUC visibility attribute... " >&6; }
17728    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729/* end confdefs.h.  */
17730
17731      void test_default (void);
17732      void test_hidden (void);
17733
17734      void __attribute__ ((visibility("default"))) test_default (void) {}
17735      void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
17736
17737      int main (int argc, char **argv) {
17738        test_default ();
17739        test_hidden ();
17740        return 0;
17741      }
17742
17743_ACEOF
17744if ac_fn_c_try_compile "$LINENO"; then :
17745
17746      have_gnuc_visibility=yes
17747      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17748$as_echo "yes" >&6; }
17749
17750else
17751
17752      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17753$as_echo "no" >&6; }
17754
17755fi
17756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757    CFLAGS="$saved_CFLAGS"
17758  fi
17759
17760  if test "x$have_gnuc_visibility" = "xyes"; then
17761    CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
17762    xdt_vis_hidden_cflags=""
17763
17764  for flag in -xldscope=hidden; do
17765    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17766$as_echo_n "checking if $CC supports $flag... " >&6; }
17767    saved_CFLAGS="$CFLAGS"
17768    CFLAGS="$CFLAGS $flag"
17769    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770/* end confdefs.h.  */
17771
17772_ACEOF
17773if ac_fn_c_try_compile "$LINENO"; then :
17774  flag_supported=yes
17775else
17776  flag_supported=no
17777fi
17778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779    CFLAGS="$saved_CFLAGS"
17780    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17781$as_echo "$flag_supported" >&6; }
17782
17783    if test "x$flag_supported" = "xyes"; then
17784      xdt_vis_hidden_cflags="$xdt_vis_hidden_cflags $flag"
17785    fi
17786  done
17787
17788    if test "x$xdt_vis_hidden_cflags" = "x"; then
17789
17790  for flag in -fvisibility=hidden; do
17791    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17792$as_echo_n "checking if $CC supports $flag... " >&6; }
17793    saved_CFLAGS="$CFLAGS"
17794    CFLAGS="$CFLAGS $flag"
17795    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796/* end confdefs.h.  */
17797
17798_ACEOF
17799if ac_fn_c_try_compile "$LINENO"; then :
17800  flag_supported=yes
17801else
17802  flag_supported=no
17803fi
17804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805    CFLAGS="$saved_CFLAGS"
17806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17807$as_echo "$flag_supported" >&6; }
17808
17809    if test "x$flag_supported" = "xyes"; then
17810      xdt_vis_hidden_cflags="$xdt_vis_hidden_cflags $flag"
17811    fi
17812  done
17813
17814    fi
17815    CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"
17816  fi
17817
17818   if test "x$have_gnuc_visibility" = "xyes"; then
17819  HAVE_GNUC_VISIBILITY_TRUE=
17820  HAVE_GNUC_VISIBILITY_FALSE='#'
17821else
17822  HAVE_GNUC_VISIBILITY_TRUE='#'
17823  HAVE_GNUC_VISIBILITY_FALSE=
17824fi
17825
17826
17827
17828if test "x$have_gnuc_visibility" = "xyes"; then
17829
17830$as_echo "#define XFCONF_EXPORT __attribute__((visibility(\"default\")))" >>confdefs.h
17831
17832else
17833
17834$as_echo "#define XFCONF_EXPORT /**/" >>confdefs.h
17835
17836fi
17837
17838
17839  # Check whether --enable-linker-opts was given.
17840if test "${enable_linker_opts+set}" = set; then :
17841  enableval=$enable_linker_opts; enable_linker_opts=$enableval
17842else
17843  enable_linker_opts=yes
17844fi
17845
17846
17847  if test "x$enable_linker_opts" != "xno"; then
17848    if test x`uname` != x"OpenBSD"; then
17849      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
17850$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
17851      case `$LD --as-needed -v 2>&1 </dev/null` in
17852      *GNU* | *'with BFD'*)
17853        LDFLAGS="$LDFLAGS -Wl,--as-needed"
17854        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17855$as_echo "yes" >&6; }
17856        ;;
17857      *)
17858        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17859$as_echo "no" >&6; }
17860        ;;
17861      esac
17862    fi
17863    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
17864$as_echo_n "checking whether $LD accepts -O1... " >&6; }
17865    case `$LD -O1 -v 2>&1 </dev/null` in
17866    *GNU* | *'with BFD'*)
17867      LDFLAGS="$LDFLAGS -Wl,-O1"
17868      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17869$as_echo "yes" >&6; }
17870      ;;
17871    *)
17872      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17873$as_echo "no" >&6; }
17874      ;;
17875    esac
17876  fi
17877
17878
17879# Check whether --enable-profiling was given.
17880if test "${enable_profiling+set}" = set; then :
17881  enableval=$enable_profiling; enable_profiling=$enableval
17882fi
17883
17884if test "x$enable_profiling" = "xyes"; then
17885
17886$as_echo "#define XFCONF_ENABLE_PROFILING 1" >>confdefs.h
17887
17888fi
17889 if test "x$enable_profiling" = "xyes"; then
17890  ENABLE_PROFILING_TRUE=
17891  ENABLE_PROFILING_FALSE='#'
17892else
17893  ENABLE_PROFILING_TRUE='#'
17894  ENABLE_PROFILING_FALSE=
17895fi
17896
17897
17898
17899# Check whether --with-bash-completion-dir was given.
17900if test "${with_bash_completion_dir+set}" = set; then :
17901  withval=$with_bash_completion_dir;
17902else
17903  with_bash_completion_dir=yes
17904fi
17905
17906if test "x$with_bash_completion_dir" = xyes; then :
17907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bash-completion directory" >&5
17908$as_echo_n "checking for bash-completion directory... " >&6; }
17909           if test "x$PKG_CONFIG" != x \
17910              && bash_completion_prefix=`$PKG_CONFIG --print-errors --variable=prefix bash-completion 2>&5` \
17911              && bash_completion_dir=`$PKG_CONFIG --print-errors --variable=completionsdir bash-completion 2>&5`; then :
17912  bash_completion_dir="${bash_completion_dir#"$bash_completion_prefix"}"
17913              bash_completion_dir="${bash_completion_dir#/}"
17914              BASH_COMPLETION_DIR='${prefix}'/"$bash_completion_dir"
17915else
17916  BASH_COMPLETION_DIR='${datadir}/bash-completion/completions'
17917fi
17918           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH_COMPLETION_DIR" >&5
17919$as_echo "$BASH_COMPLETION_DIR" >&6; }
17920else
17921  BASH_COMPLETION_DIR="$with_bash_completion_dir"
17922fi
17923
17924 if test "x$with_bash_completion_dir" != xno; then
17925  ENABLE_BASH_COMPLETION_TRUE=
17926  ENABLE_BASH_COMPLETION_FALSE='#'
17927else
17928  ENABLE_BASH_COMPLETION_TRUE='#'
17929  ENABLE_BASH_COMPLETION_FALSE=
17930fi
17931
17932
17933ac_config_files="$ac_config_files Makefile common/Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml docs/spec/Makefile po/Makefile.in tests/Makefile tests/set-properties/Makefile tests/has-properties/Makefile tests/get-properties/Makefile tests/reset-properties/Makefile tests/object-bindings/Makefile tests/property-changed-signal/Makefile tests/others/Makefile tests/tests-end/Makefile xfconf/Makefile xfconf/libxfconf-0.pc xfconf-query/Makefile xfconfd/Makefile gsettings-backend/Makefile completions/Makefile"
17934
17935cat >confcache <<\_ACEOF
17936# This file is a shell script that caches the results of configure
17937# tests run on this system so they can be shared between configure
17938# scripts and configure runs, see configure's option --config-cache.
17939# It is not useful on other systems.  If it contains results you don't
17940# want to keep, you may remove or edit it.
17941#
17942# config.status only pays attention to the cache file if you give it
17943# the --recheck option to rerun configure.
17944#
17945# `ac_cv_env_foo' variables (set or unset) will be overridden when
17946# loading this file, other *unset* `ac_cv_foo' will be assigned the
17947# following values.
17948
17949_ACEOF
17950
17951# The following way of writing the cache mishandles newlines in values,
17952# but we know of no workaround that is simple, portable, and efficient.
17953# So, we kill variables containing newlines.
17954# Ultrix sh set writes to stderr and can't be redirected directly,
17955# and sets the high bit in the cache file unless we assign to the vars.
17956(
17957  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17958    eval ac_val=\$$ac_var
17959    case $ac_val in #(
17960    *${as_nl}*)
17961      case $ac_var in #(
17962      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17963$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17964      esac
17965      case $ac_var in #(
17966      _ | IFS | as_nl) ;; #(
17967      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17968      *) { eval $ac_var=; unset $ac_var;} ;;
17969      esac ;;
17970    esac
17971  done
17972
17973  (set) 2>&1 |
17974    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17975    *${as_nl}ac_space=\ *)
17976      # `set' does not quote correctly, so add quotes: double-quote
17977      # substitution turns \\\\ into \\, and sed turns \\ into \.
17978      sed -n \
17979	"s/'/'\\\\''/g;
17980	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17981      ;; #(
17982    *)
17983      # `set' quotes correctly as required by POSIX, so do not add quotes.
17984      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17985      ;;
17986    esac |
17987    sort
17988) |
17989  sed '
17990     /^ac_cv_env_/b end
17991     t clear
17992     :clear
17993     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17994     t end
17995     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17996     :end' >>confcache
17997if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17998  if test -w "$cache_file"; then
17999    if test "x$cache_file" != "x/dev/null"; then
18000      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18001$as_echo "$as_me: updating cache $cache_file" >&6;}
18002      if test ! -f "$cache_file" || test -h "$cache_file"; then
18003	cat confcache >"$cache_file"
18004      else
18005        case $cache_file in #(
18006        */* | ?:*)
18007	  mv -f confcache "$cache_file"$$ &&
18008	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18009        *)
18010	  mv -f confcache "$cache_file" ;;
18011	esac
18012      fi
18013    fi
18014  else
18015    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18016$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18017  fi
18018fi
18019rm -f confcache
18020
18021test "x$prefix" = xNONE && prefix=$ac_default_prefix
18022# Let make expand exec_prefix.
18023test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18024
18025DEFS=-DHAVE_CONFIG_H
18026
18027ac_libobjs=
18028ac_ltlibobjs=
18029U=
18030for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18031  # 1. Remove the extension, and $U if already installed.
18032  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18033  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18034  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18035  #    will be set to the directory where LIBOBJS objects are built.
18036  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18037  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18038done
18039LIBOBJS=$ac_libobjs
18040
18041LTLIBOBJS=$ac_ltlibobjs
18042
18043
18044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18045$as_echo_n "checking that generated files are newer than configure... " >&6; }
18046   if test -n "$am_sleep_pid"; then
18047     # Hide warnings about reused PIDs.
18048     wait $am_sleep_pid 2>/dev/null
18049   fi
18050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18051$as_echo "done" >&6; }
18052 if test -n "$EXEEXT"; then
18053  am__EXEEXT_TRUE=
18054  am__EXEEXT_FALSE='#'
18055else
18056  am__EXEEXT_TRUE='#'
18057  am__EXEEXT_FALSE=
18058fi
18059
18060if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18061  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18062Usually this means the macro was only invoked conditionally." "$LINENO" 5
18063fi
18064if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18065  as_fn_error $? "conditional \"AMDEP\" was never defined.
18066Usually this means the macro was only invoked conditionally." "$LINENO" 5
18067fi
18068if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18069  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18070Usually this means the macro was only invoked conditionally." "$LINENO" 5
18071fi
18072if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18073  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18074Usually this means the macro was only invoked conditionally." "$LINENO" 5
18075fi
18076
18077  ac_config_commands="$ac_config_commands po/stamp-it"
18078
18079
18080if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
18081  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
18082Usually this means the macro was only invoked conditionally." "$LINENO" 5
18083fi
18084if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
18085  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
18086Usually this means the macro was only invoked conditionally." "$LINENO" 5
18087fi
18088if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
18089  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
18090Usually this means the macro was only invoked conditionally." "$LINENO" 5
18091fi
18092if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
18093  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
18094Usually this means the macro was only invoked conditionally." "$LINENO" 5
18095fi
18096if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
18097  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
18098Usually this means the macro was only invoked conditionally." "$LINENO" 5
18099fi
18100if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
18101  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
18102Usually this means the macro was only invoked conditionally." "$LINENO" 5
18103fi
18104if test -z "${BUILD_XFCONF_BACKEND_PERCHANNEL_XML_TRUE}" && test -z "${BUILD_XFCONF_BACKEND_PERCHANNEL_XML_FALSE}"; then
18105  as_fn_error $? "conditional \"BUILD_XFCONF_BACKEND_PERCHANNEL_XML\" was never defined.
18106Usually this means the macro was only invoked conditionally." "$LINENO" 5
18107fi
18108if test -z "${XFCONF_ENABLE_GSETTINGS_BACKEND_TRUE}" && test -z "${XFCONF_ENABLE_GSETTINGS_BACKEND_FALSE}"; then
18109  as_fn_error $? "conditional \"XFCONF_ENABLE_GSETTINGS_BACKEND\" was never defined.
18110Usually this means the macro was only invoked conditionally." "$LINENO" 5
18111fi
18112if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
18113  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
18114Usually this means the macro was only invoked conditionally." "$LINENO" 5
18115fi
18116if test -z "${ENABLE_VAPIGEN_TRUE}" && test -z "${ENABLE_VAPIGEN_FALSE}"; then
18117  as_fn_error $? "conditional \"ENABLE_VAPIGEN\" was never defined.
18118Usually this means the macro was only invoked conditionally." "$LINENO" 5
18119fi
18120if test -z "${HAVE_GNUC_VISIBILITY_TRUE}" && test -z "${HAVE_GNUC_VISIBILITY_FALSE}"; then
18121  as_fn_error $? "conditional \"HAVE_GNUC_VISIBILITY\" was never defined.
18122Usually this means the macro was only invoked conditionally." "$LINENO" 5
18123fi
18124if test -z "${ENABLE_PROFILING_TRUE}" && test -z "${ENABLE_PROFILING_FALSE}"; then
18125  as_fn_error $? "conditional \"ENABLE_PROFILING\" was never defined.
18126Usually this means the macro was only invoked conditionally." "$LINENO" 5
18127fi
18128if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then
18129  as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined.
18130Usually this means the macro was only invoked conditionally." "$LINENO" 5
18131fi
18132
18133: "${CONFIG_STATUS=./config.status}"
18134ac_write_fail=0
18135ac_clean_files_save=$ac_clean_files
18136ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18137{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18138$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18139as_write_fail=0
18140cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18141#! $SHELL
18142# Generated by $as_me.
18143# Run this file to recreate the current configuration.
18144# Compiler output produced by configure, useful for debugging
18145# configure, is in config.log if it exists.
18146
18147debug=false
18148ac_cs_recheck=false
18149ac_cs_silent=false
18150
18151SHELL=\${CONFIG_SHELL-$SHELL}
18152export SHELL
18153_ASEOF
18154cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18155## -------------------- ##
18156## M4sh Initialization. ##
18157## -------------------- ##
18158
18159# Be more Bourne compatible
18160DUALCASE=1; export DUALCASE # for MKS sh
18161if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18162  emulate sh
18163  NULLCMD=:
18164  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18165  # is contrary to our usage.  Disable this feature.
18166  alias -g '${1+"$@"}'='"$@"'
18167  setopt NO_GLOB_SUBST
18168else
18169  case `(set -o) 2>/dev/null` in #(
18170  *posix*) :
18171    set -o posix ;; #(
18172  *) :
18173     ;;
18174esac
18175fi
18176
18177
18178as_nl='
18179'
18180export as_nl
18181# Printing a long string crashes Solaris 7 /usr/bin/printf.
18182as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18183as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18184as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18185# Prefer a ksh shell builtin over an external printf program on Solaris,
18186# but without wasting forks for bash or zsh.
18187if test -z "$BASH_VERSION$ZSH_VERSION" \
18188    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18189  as_echo='print -r --'
18190  as_echo_n='print -rn --'
18191elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18192  as_echo='printf %s\n'
18193  as_echo_n='printf %s'
18194else
18195  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18196    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18197    as_echo_n='/usr/ucb/echo -n'
18198  else
18199    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18200    as_echo_n_body='eval
18201      arg=$1;
18202      case $arg in #(
18203      *"$as_nl"*)
18204	expr "X$arg" : "X\\(.*\\)$as_nl";
18205	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18206      esac;
18207      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18208    '
18209    export as_echo_n_body
18210    as_echo_n='sh -c $as_echo_n_body as_echo'
18211  fi
18212  export as_echo_body
18213  as_echo='sh -c $as_echo_body as_echo'
18214fi
18215
18216# The user is always right.
18217if test "${PATH_SEPARATOR+set}" != set; then
18218  PATH_SEPARATOR=:
18219  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18220    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18221      PATH_SEPARATOR=';'
18222  }
18223fi
18224
18225
18226# IFS
18227# We need space, tab and new line, in precisely that order.  Quoting is
18228# there to prevent editors from complaining about space-tab.
18229# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18230# splitting by setting IFS to empty value.)
18231IFS=" ""	$as_nl"
18232
18233# Find who we are.  Look in the path if we contain no directory separator.
18234as_myself=
18235case $0 in #((
18236  *[\\/]* ) as_myself=$0 ;;
18237  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18238for as_dir in $PATH
18239do
18240  IFS=$as_save_IFS
18241  test -z "$as_dir" && as_dir=.
18242    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18243  done
18244IFS=$as_save_IFS
18245
18246     ;;
18247esac
18248# We did not find ourselves, most probably we were run as `sh COMMAND'
18249# in which case we are not to be found in the path.
18250if test "x$as_myself" = x; then
18251  as_myself=$0
18252fi
18253if test ! -f "$as_myself"; then
18254  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18255  exit 1
18256fi
18257
18258# Unset variables that we do not need and which cause bugs (e.g. in
18259# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18260# suppresses any "Segmentation fault" message there.  '((' could
18261# trigger a bug in pdksh 5.2.14.
18262for as_var in BASH_ENV ENV MAIL MAILPATH
18263do eval test x\${$as_var+set} = xset \
18264  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18265done
18266PS1='$ '
18267PS2='> '
18268PS4='+ '
18269
18270# NLS nuisances.
18271LC_ALL=C
18272export LC_ALL
18273LANGUAGE=C
18274export LANGUAGE
18275
18276# CDPATH.
18277(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18278
18279
18280# as_fn_error STATUS ERROR [LINENO LOG_FD]
18281# ----------------------------------------
18282# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18283# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18284# script with STATUS, using 1 if that was 0.
18285as_fn_error ()
18286{
18287  as_status=$1; test $as_status -eq 0 && as_status=1
18288  if test "$4"; then
18289    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18290    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18291  fi
18292  $as_echo "$as_me: error: $2" >&2
18293  as_fn_exit $as_status
18294} # as_fn_error
18295
18296
18297# as_fn_set_status STATUS
18298# -----------------------
18299# Set $? to STATUS, without forking.
18300as_fn_set_status ()
18301{
18302  return $1
18303} # as_fn_set_status
18304
18305# as_fn_exit STATUS
18306# -----------------
18307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18308as_fn_exit ()
18309{
18310  set +e
18311  as_fn_set_status $1
18312  exit $1
18313} # as_fn_exit
18314
18315# as_fn_unset VAR
18316# ---------------
18317# Portably unset VAR.
18318as_fn_unset ()
18319{
18320  { eval $1=; unset $1;}
18321}
18322as_unset=as_fn_unset
18323# as_fn_append VAR VALUE
18324# ----------------------
18325# Append the text in VALUE to the end of the definition contained in VAR. Take
18326# advantage of any shell optimizations that allow amortized linear growth over
18327# repeated appends, instead of the typical quadratic growth present in naive
18328# implementations.
18329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18330  eval 'as_fn_append ()
18331  {
18332    eval $1+=\$2
18333  }'
18334else
18335  as_fn_append ()
18336  {
18337    eval $1=\$$1\$2
18338  }
18339fi # as_fn_append
18340
18341# as_fn_arith ARG...
18342# ------------------
18343# Perform arithmetic evaluation on the ARGs, and store the result in the
18344# global $as_val. Take advantage of shells that can avoid forks. The arguments
18345# must be portable across $(()) and expr.
18346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18347  eval 'as_fn_arith ()
18348  {
18349    as_val=$(( $* ))
18350  }'
18351else
18352  as_fn_arith ()
18353  {
18354    as_val=`expr "$@" || test $? -eq 1`
18355  }
18356fi # as_fn_arith
18357
18358
18359if expr a : '\(a\)' >/dev/null 2>&1 &&
18360   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18361  as_expr=expr
18362else
18363  as_expr=false
18364fi
18365
18366if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18367  as_basename=basename
18368else
18369  as_basename=false
18370fi
18371
18372if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18373  as_dirname=dirname
18374else
18375  as_dirname=false
18376fi
18377
18378as_me=`$as_basename -- "$0" ||
18379$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18380	 X"$0" : 'X\(//\)$' \| \
18381	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18382$as_echo X/"$0" |
18383    sed '/^.*\/\([^/][^/]*\)\/*$/{
18384	    s//\1/
18385	    q
18386	  }
18387	  /^X\/\(\/\/\)$/{
18388	    s//\1/
18389	    q
18390	  }
18391	  /^X\/\(\/\).*/{
18392	    s//\1/
18393	    q
18394	  }
18395	  s/.*/./; q'`
18396
18397# Avoid depending upon Character Ranges.
18398as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18399as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18400as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18401as_cr_digits='0123456789'
18402as_cr_alnum=$as_cr_Letters$as_cr_digits
18403
18404ECHO_C= ECHO_N= ECHO_T=
18405case `echo -n x` in #(((((
18406-n*)
18407  case `echo 'xy\c'` in
18408  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18409  xy)  ECHO_C='\c';;
18410  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18411       ECHO_T='	';;
18412  esac;;
18413*)
18414  ECHO_N='-n';;
18415esac
18416
18417rm -f conf$$ conf$$.exe conf$$.file
18418if test -d conf$$.dir; then
18419  rm -f conf$$.dir/conf$$.file
18420else
18421  rm -f conf$$.dir
18422  mkdir conf$$.dir 2>/dev/null
18423fi
18424if (echo >conf$$.file) 2>/dev/null; then
18425  if ln -s conf$$.file conf$$ 2>/dev/null; then
18426    as_ln_s='ln -s'
18427    # ... but there are two gotchas:
18428    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18429    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18430    # In both cases, we have to default to `cp -pR'.
18431    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18432      as_ln_s='cp -pR'
18433  elif ln conf$$.file conf$$ 2>/dev/null; then
18434    as_ln_s=ln
18435  else
18436    as_ln_s='cp -pR'
18437  fi
18438else
18439  as_ln_s='cp -pR'
18440fi
18441rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18442rmdir conf$$.dir 2>/dev/null
18443
18444
18445# as_fn_mkdir_p
18446# -------------
18447# Create "$as_dir" as a directory, including parents if necessary.
18448as_fn_mkdir_p ()
18449{
18450
18451  case $as_dir in #(
18452  -*) as_dir=./$as_dir;;
18453  esac
18454  test -d "$as_dir" || eval $as_mkdir_p || {
18455    as_dirs=
18456    while :; do
18457      case $as_dir in #(
18458      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18459      *) as_qdir=$as_dir;;
18460      esac
18461      as_dirs="'$as_qdir' $as_dirs"
18462      as_dir=`$as_dirname -- "$as_dir" ||
18463$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18464	 X"$as_dir" : 'X\(//\)[^/]' \| \
18465	 X"$as_dir" : 'X\(//\)$' \| \
18466	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18467$as_echo X"$as_dir" |
18468    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18469	    s//\1/
18470	    q
18471	  }
18472	  /^X\(\/\/\)[^/].*/{
18473	    s//\1/
18474	    q
18475	  }
18476	  /^X\(\/\/\)$/{
18477	    s//\1/
18478	    q
18479	  }
18480	  /^X\(\/\).*/{
18481	    s//\1/
18482	    q
18483	  }
18484	  s/.*/./; q'`
18485      test -d "$as_dir" && break
18486    done
18487    test -z "$as_dirs" || eval "mkdir $as_dirs"
18488  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18489
18490
18491} # as_fn_mkdir_p
18492if mkdir -p . 2>/dev/null; then
18493  as_mkdir_p='mkdir -p "$as_dir"'
18494else
18495  test -d ./-p && rmdir ./-p
18496  as_mkdir_p=false
18497fi
18498
18499
18500# as_fn_executable_p FILE
18501# -----------------------
18502# Test if FILE is an executable regular file.
18503as_fn_executable_p ()
18504{
18505  test -f "$1" && test -x "$1"
18506} # as_fn_executable_p
18507as_test_x='test -x'
18508as_executable_p=as_fn_executable_p
18509
18510# Sed expression to map a string onto a valid CPP name.
18511as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18512
18513# Sed expression to map a string onto a valid variable name.
18514as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18515
18516
18517exec 6>&1
18518## ----------------------------------- ##
18519## Main body of $CONFIG_STATUS script. ##
18520## ----------------------------------- ##
18521_ASEOF
18522test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18523
18524cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18525# Save the log message, to keep $0 and so on meaningful, and to
18526# report actual input values of CONFIG_FILES etc. instead of their
18527# values after options handling.
18528ac_log="
18529This file was extended by xfconf $as_me 4.16.0, which was
18530generated by GNU Autoconf 2.69.  Invocation command line was
18531
18532  CONFIG_FILES    = $CONFIG_FILES
18533  CONFIG_HEADERS  = $CONFIG_HEADERS
18534  CONFIG_LINKS    = $CONFIG_LINKS
18535  CONFIG_COMMANDS = $CONFIG_COMMANDS
18536  $ $0 $@
18537
18538on `(hostname || uname -n) 2>/dev/null | sed 1q`
18539"
18540
18541_ACEOF
18542
18543case $ac_config_files in *"
18544"*) set x $ac_config_files; shift; ac_config_files=$*;;
18545esac
18546
18547case $ac_config_headers in *"
18548"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18549esac
18550
18551
18552cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18553# Files that config.status was made for.
18554config_files="$ac_config_files"
18555config_headers="$ac_config_headers"
18556config_commands="$ac_config_commands"
18557
18558_ACEOF
18559
18560cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18561ac_cs_usage="\
18562\`$as_me' instantiates files and other configuration actions
18563from templates according to the current configuration.  Unless the files
18564and actions are specified as TAGs, all are instantiated by default.
18565
18566Usage: $0 [OPTION]... [TAG]...
18567
18568  -h, --help       print this help, then exit
18569  -V, --version    print version number and configuration settings, then exit
18570      --config     print configuration, then exit
18571  -q, --quiet, --silent
18572                   do not print progress messages
18573  -d, --debug      don't remove temporary files
18574      --recheck    update $as_me by reconfiguring in the same conditions
18575      --file=FILE[:TEMPLATE]
18576                   instantiate the configuration file FILE
18577      --header=FILE[:TEMPLATE]
18578                   instantiate the configuration header FILE
18579
18580Configuration files:
18581$config_files
18582
18583Configuration headers:
18584$config_headers
18585
18586Configuration commands:
18587$config_commands
18588
18589Report bugs to <https://gitlab.xfce.org/xfconf/xfconf>."
18590
18591_ACEOF
18592cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18593ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18594ac_cs_version="\\
18595xfconf config.status 4.16.0
18596configured by $0, generated by GNU Autoconf 2.69,
18597  with options \\"\$ac_cs_config\\"
18598
18599Copyright (C) 2012 Free Software Foundation, Inc.
18600This config.status script is free software; the Free Software Foundation
18601gives unlimited permission to copy, distribute and modify it."
18602
18603ac_pwd='$ac_pwd'
18604srcdir='$srcdir'
18605INSTALL='$INSTALL'
18606MKDIR_P='$MKDIR_P'
18607AWK='$AWK'
18608test -n "\$AWK" || AWK=awk
18609_ACEOF
18610
18611cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18612# The default lists apply if the user does not specify any file.
18613ac_need_defaults=:
18614while test $# != 0
18615do
18616  case $1 in
18617  --*=?*)
18618    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18619    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18620    ac_shift=:
18621    ;;
18622  --*=)
18623    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18624    ac_optarg=
18625    ac_shift=:
18626    ;;
18627  *)
18628    ac_option=$1
18629    ac_optarg=$2
18630    ac_shift=shift
18631    ;;
18632  esac
18633
18634  case $ac_option in
18635  # Handling of the options.
18636  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18637    ac_cs_recheck=: ;;
18638  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18639    $as_echo "$ac_cs_version"; exit ;;
18640  --config | --confi | --conf | --con | --co | --c )
18641    $as_echo "$ac_cs_config"; exit ;;
18642  --debug | --debu | --deb | --de | --d | -d )
18643    debug=: ;;
18644  --file | --fil | --fi | --f )
18645    $ac_shift
18646    case $ac_optarg in
18647    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18648    '') as_fn_error $? "missing file argument" ;;
18649    esac
18650    as_fn_append CONFIG_FILES " '$ac_optarg'"
18651    ac_need_defaults=false;;
18652  --header | --heade | --head | --hea )
18653    $ac_shift
18654    case $ac_optarg in
18655    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18656    esac
18657    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18658    ac_need_defaults=false;;
18659  --he | --h)
18660    # Conflict between --help and --header
18661    as_fn_error $? "ambiguous option: \`$1'
18662Try \`$0 --help' for more information.";;
18663  --help | --hel | -h )
18664    $as_echo "$ac_cs_usage"; exit ;;
18665  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18666  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18667    ac_cs_silent=: ;;
18668
18669  # This is an error.
18670  -*) as_fn_error $? "unrecognized option: \`$1'
18671Try \`$0 --help' for more information." ;;
18672
18673  *) as_fn_append ac_config_targets " $1"
18674     ac_need_defaults=false ;;
18675
18676  esac
18677  shift
18678done
18679
18680ac_configure_extra_args=
18681
18682if $ac_cs_silent; then
18683  exec 6>/dev/null
18684  ac_configure_extra_args="$ac_configure_extra_args --silent"
18685fi
18686
18687_ACEOF
18688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18689if \$ac_cs_recheck; then
18690  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18691  shift
18692  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18693  CONFIG_SHELL='$SHELL'
18694  export CONFIG_SHELL
18695  exec "\$@"
18696fi
18697
18698_ACEOF
18699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18700exec 5>>config.log
18701{
18702  echo
18703  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18704## Running $as_me. ##
18705_ASBOX
18706  $as_echo "$ac_log"
18707} >&5
18708
18709_ACEOF
18710cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18711#
18712# INIT-COMMANDS
18713#
18714AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18715
18716
18717# The HP-UX ksh and POSIX shell print the target directory to stdout
18718# if CDPATH is set.
18719(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18720
18721sed_quote_subst='$sed_quote_subst'
18722double_quote_subst='$double_quote_subst'
18723delay_variable_subst='$delay_variable_subst'
18724macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18725macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18726enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18727enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18728pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18729enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18730shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18731SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18732ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18733PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18734host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18735host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18736host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18737build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18738build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18739build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18740SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18741Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18742GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18743EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18744FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18745LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18746NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18747LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18748max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18749ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18750exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18751lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18752lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18753lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18754lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18755lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18756reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18757reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18758OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18759deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18760file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18761file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18762want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18763DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18764sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18765AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18766lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
18767AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18768archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18769STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18770RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18771old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18772old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18773old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18774lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18775CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18776CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18777compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18778GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18779lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18780lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18781lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18782lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18783lt_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"`'
18784lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18785nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18786lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18787lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18788objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18789MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18790lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18791lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18792lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18793lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18794lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18795need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18796MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18797DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18798NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18799LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18800OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18801OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18802libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18803shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18804extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18805archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18806enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18807export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18808whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18809compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18810old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18811old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18812archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18813archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18814module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18815module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18816with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18817allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18818no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18819hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18820hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18821hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18822hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18823hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18824hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18825hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18826inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18827link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18828always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18829export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18830exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18831include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18832prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18833postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18834file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18835variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18836need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18837need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18838version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18839runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18840shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18841shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18842libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18843library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18844soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18845install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18846postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18847postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18848finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18849finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18850hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18851sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18852configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18853configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18854hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18855enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18856enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18857enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18858old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18859striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18860
18861LTCC='$LTCC'
18862LTCFLAGS='$LTCFLAGS'
18863compiler='$compiler_DEFAULT'
18864
18865# A function that is used when there is no print builtin or printf.
18866func_fallback_echo ()
18867{
18868  eval 'cat <<_LTECHO_EOF
18869\$1
18870_LTECHO_EOF'
18871}
18872
18873# Quote evaled strings.
18874for var in SHELL \
18875ECHO \
18876PATH_SEPARATOR \
18877SED \
18878GREP \
18879EGREP \
18880FGREP \
18881LD \
18882NM \
18883LN_S \
18884lt_SP2NL \
18885lt_NL2SP \
18886reload_flag \
18887OBJDUMP \
18888deplibs_check_method \
18889file_magic_cmd \
18890file_magic_glob \
18891want_nocaseglob \
18892DLLTOOL \
18893sharedlib_from_linklib_cmd \
18894AR \
18895archiver_list_spec \
18896STRIP \
18897RANLIB \
18898CC \
18899CFLAGS \
18900compiler \
18901lt_cv_sys_global_symbol_pipe \
18902lt_cv_sys_global_symbol_to_cdecl \
18903lt_cv_sys_global_symbol_to_import \
18904lt_cv_sys_global_symbol_to_c_name_address \
18905lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18906lt_cv_nm_interface \
18907nm_file_list_spec \
18908lt_cv_truncate_bin \
18909lt_prog_compiler_no_builtin_flag \
18910lt_prog_compiler_pic \
18911lt_prog_compiler_wl \
18912lt_prog_compiler_static \
18913lt_cv_prog_compiler_c_o \
18914need_locks \
18915MANIFEST_TOOL \
18916DSYMUTIL \
18917NMEDIT \
18918LIPO \
18919OTOOL \
18920OTOOL64 \
18921shrext_cmds \
18922export_dynamic_flag_spec \
18923whole_archive_flag_spec \
18924compiler_needs_object \
18925with_gnu_ld \
18926allow_undefined_flag \
18927no_undefined_flag \
18928hardcode_libdir_flag_spec \
18929hardcode_libdir_separator \
18930exclude_expsyms \
18931include_expsyms \
18932file_list_spec \
18933variables_saved_for_relink \
18934libname_spec \
18935library_names_spec \
18936soname_spec \
18937install_override_mode \
18938finish_eval \
18939old_striplib \
18940striplib; do
18941    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18942    *[\\\\\\\`\\"\\\$]*)
18943      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18944      ;;
18945    *)
18946      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18947      ;;
18948    esac
18949done
18950
18951# Double-quote double-evaled strings.
18952for var in reload_cmds \
18953old_postinstall_cmds \
18954old_postuninstall_cmds \
18955old_archive_cmds \
18956extract_expsyms_cmds \
18957old_archive_from_new_cmds \
18958old_archive_from_expsyms_cmds \
18959archive_cmds \
18960archive_expsym_cmds \
18961module_cmds \
18962module_expsym_cmds \
18963export_symbols_cmds \
18964prelink_cmds \
18965postlink_cmds \
18966postinstall_cmds \
18967postuninstall_cmds \
18968finish_cmds \
18969sys_lib_search_path_spec \
18970configure_time_dlsearch_path \
18971configure_time_lt_sys_library_path; do
18972    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18973    *[\\\\\\\`\\"\\\$]*)
18974      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18975      ;;
18976    *)
18977      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18978      ;;
18979    esac
18980done
18981
18982ac_aux_dir='$ac_aux_dir'
18983
18984# See if we are running on zsh, and set the options that allow our
18985# commands through without removal of \ escapes INIT.
18986if test -n "\${ZSH_VERSION+set}"; then
18987   setopt NO_GLOB_SUBST
18988fi
18989
18990
18991    PACKAGE='$PACKAGE'
18992    VERSION='$VERSION'
18993    RM='$RM'
18994    ofile='$ofile'
18995
18996
18997
18998
18999
19000_ACEOF
19001
19002cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19003
19004# Handling of arguments.
19005for ac_config_target in $ac_config_targets
19006do
19007  case $ac_config_target in
19008    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19009    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19010    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19011    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19012    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19013    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
19014    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
19015    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
19016    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
19017    "docs/spec/Makefile") CONFIG_FILES="$CONFIG_FILES docs/spec/Makefile" ;;
19018    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19019    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19020    "tests/set-properties/Makefile") CONFIG_FILES="$CONFIG_FILES tests/set-properties/Makefile" ;;
19021    "tests/has-properties/Makefile") CONFIG_FILES="$CONFIG_FILES tests/has-properties/Makefile" ;;
19022    "tests/get-properties/Makefile") CONFIG_FILES="$CONFIG_FILES tests/get-properties/Makefile" ;;
19023    "tests/reset-properties/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reset-properties/Makefile" ;;
19024    "tests/object-bindings/Makefile") CONFIG_FILES="$CONFIG_FILES tests/object-bindings/Makefile" ;;
19025    "tests/property-changed-signal/Makefile") CONFIG_FILES="$CONFIG_FILES tests/property-changed-signal/Makefile" ;;
19026    "tests/others/Makefile") CONFIG_FILES="$CONFIG_FILES tests/others/Makefile" ;;
19027    "tests/tests-end/Makefile") CONFIG_FILES="$CONFIG_FILES tests/tests-end/Makefile" ;;
19028    "xfconf/Makefile") CONFIG_FILES="$CONFIG_FILES xfconf/Makefile" ;;
19029    "xfconf/libxfconf-0.pc") CONFIG_FILES="$CONFIG_FILES xfconf/libxfconf-0.pc" ;;
19030    "xfconf-query/Makefile") CONFIG_FILES="$CONFIG_FILES xfconf-query/Makefile" ;;
19031    "xfconfd/Makefile") CONFIG_FILES="$CONFIG_FILES xfconfd/Makefile" ;;
19032    "gsettings-backend/Makefile") CONFIG_FILES="$CONFIG_FILES gsettings-backend/Makefile" ;;
19033    "completions/Makefile") CONFIG_FILES="$CONFIG_FILES completions/Makefile" ;;
19034    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19035
19036  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19037  esac
19038done
19039
19040
19041# If the user did not use the arguments to specify the items to instantiate,
19042# then the envvar interface is used.  Set only those that are not.
19043# We use the long form for the default assignment because of an extremely
19044# bizarre bug on SunOS 4.1.3.
19045if $ac_need_defaults; then
19046  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19047  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19048  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19049fi
19050
19051# Have a temporary directory for convenience.  Make it in the build tree
19052# simply because there is no reason against having it here, and in addition,
19053# creating and moving files from /tmp can sometimes cause problems.
19054# Hook for its removal unless debugging.
19055# Note that there is a small window in which the directory will not be cleaned:
19056# after its creation but before its name has been assigned to `$tmp'.
19057$debug ||
19058{
19059  tmp= ac_tmp=
19060  trap 'exit_status=$?
19061  : "${ac_tmp:=$tmp}"
19062  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19063' 0
19064  trap 'as_fn_exit 1' 1 2 13 15
19065}
19066# Create a (secure) tmp directory for tmp files.
19067
19068{
19069  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19070  test -d "$tmp"
19071}  ||
19072{
19073  tmp=./conf$$-$RANDOM
19074  (umask 077 && mkdir "$tmp")
19075} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19076ac_tmp=$tmp
19077
19078# Set up the scripts for CONFIG_FILES section.
19079# No need to generate them if there are no CONFIG_FILES.
19080# This happens for instance with `./config.status config.h'.
19081if test -n "$CONFIG_FILES"; then
19082
19083
19084ac_cr=`echo X | tr X '\015'`
19085# On cygwin, bash can eat \r inside `` if the user requested igncr.
19086# But we know of no other shell where ac_cr would be empty at this
19087# point, so we can use a bashism as a fallback.
19088if test "x$ac_cr" = x; then
19089  eval ac_cr=\$\'\\r\'
19090fi
19091ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19092if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19093  ac_cs_awk_cr='\\r'
19094else
19095  ac_cs_awk_cr=$ac_cr
19096fi
19097
19098echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19099_ACEOF
19100
19101
19102{
19103  echo "cat >conf$$subs.awk <<_ACEOF" &&
19104  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19105  echo "_ACEOF"
19106} >conf$$subs.sh ||
19107  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19108ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19109ac_delim='%!_!# '
19110for ac_last_try in false false false false false :; do
19111  . ./conf$$subs.sh ||
19112    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19113
19114  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19115  if test $ac_delim_n = $ac_delim_num; then
19116    break
19117  elif $ac_last_try; then
19118    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19119  else
19120    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19121  fi
19122done
19123rm -f conf$$subs.sh
19124
19125cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19126cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19127_ACEOF
19128sed -n '
19129h
19130s/^/S["/; s/!.*/"]=/
19131p
19132g
19133s/^[^!]*!//
19134:repl
19135t repl
19136s/'"$ac_delim"'$//
19137t delim
19138:nl
19139h
19140s/\(.\{148\}\)..*/\1/
19141t more1
19142s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19143p
19144n
19145b repl
19146:more1
19147s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19148p
19149g
19150s/.\{148\}//
19151t nl
19152:delim
19153h
19154s/\(.\{148\}\)..*/\1/
19155t more2
19156s/["\\]/\\&/g; s/^/"/; s/$/"/
19157p
19158b
19159:more2
19160s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19161p
19162g
19163s/.\{148\}//
19164t delim
19165' <conf$$subs.awk | sed '
19166/^[^""]/{
19167  N
19168  s/\n//
19169}
19170' >>$CONFIG_STATUS || ac_write_fail=1
19171rm -f conf$$subs.awk
19172cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19173_ACAWK
19174cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19175  for (key in S) S_is_set[key] = 1
19176  FS = ""
19177
19178}
19179{
19180  line = $ 0
19181  nfields = split(line, field, "@")
19182  substed = 0
19183  len = length(field[1])
19184  for (i = 2; i < nfields; i++) {
19185    key = field[i]
19186    keylen = length(key)
19187    if (S_is_set[key]) {
19188      value = S[key]
19189      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19190      len += length(value) + length(field[++i])
19191      substed = 1
19192    } else
19193      len += 1 + keylen
19194  }
19195
19196  print line
19197}
19198
19199_ACAWK
19200_ACEOF
19201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19202if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19203  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19204else
19205  cat
19206fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19207  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19208_ACEOF
19209
19210# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19211# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19212# trailing colons and then remove the whole line if VPATH becomes empty
19213# (actually we leave an empty line to preserve line numbers).
19214if test "x$srcdir" = x.; then
19215  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19216h
19217s///
19218s/^/:/
19219s/[	 ]*$/:/
19220s/:\$(srcdir):/:/g
19221s/:\${srcdir}:/:/g
19222s/:@srcdir@:/:/g
19223s/^:*//
19224s/:*$//
19225x
19226s/\(=[	 ]*\).*/\1/
19227G
19228s/\n//
19229s/^[^=]*=[	 ]*$//
19230}'
19231fi
19232
19233cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19234fi # test -n "$CONFIG_FILES"
19235
19236# Set up the scripts for CONFIG_HEADERS section.
19237# No need to generate them if there are no CONFIG_HEADERS.
19238# This happens for instance with `./config.status Makefile'.
19239if test -n "$CONFIG_HEADERS"; then
19240cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19241BEGIN {
19242_ACEOF
19243
19244# Transform confdefs.h into an awk script `defines.awk', embedded as
19245# here-document in config.status, that substitutes the proper values into
19246# config.h.in to produce config.h.
19247
19248# Create a delimiter string that does not exist in confdefs.h, to ease
19249# handling of long lines.
19250ac_delim='%!_!# '
19251for ac_last_try in false false :; do
19252  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19253  if test -z "$ac_tt"; then
19254    break
19255  elif $ac_last_try; then
19256    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19257  else
19258    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19259  fi
19260done
19261
19262# For the awk script, D is an array of macro values keyed by name,
19263# likewise P contains macro parameters if any.  Preserve backslash
19264# newline sequences.
19265
19266ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19267sed -n '
19268s/.\{148\}/&'"$ac_delim"'/g
19269t rset
19270:rset
19271s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19272t def
19273d
19274:def
19275s/\\$//
19276t bsnl
19277s/["\\]/\\&/g
19278s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19279D["\1"]=" \3"/p
19280s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19281d
19282:bsnl
19283s/["\\]/\\&/g
19284s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19285D["\1"]=" \3\\\\\\n"\\/p
19286t cont
19287s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19288t cont
19289d
19290:cont
19291n
19292s/.\{148\}/&'"$ac_delim"'/g
19293t clear
19294:clear
19295s/\\$//
19296t bsnlc
19297s/["\\]/\\&/g; s/^/"/; s/$/"/p
19298d
19299:bsnlc
19300s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19301b cont
19302' <confdefs.h | sed '
19303s/'"$ac_delim"'/"\\\
19304"/g' >>$CONFIG_STATUS || ac_write_fail=1
19305
19306cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19307  for (key in D) D_is_set[key] = 1
19308  FS = ""
19309}
19310/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19311  line = \$ 0
19312  split(line, arg, " ")
19313  if (arg[1] == "#") {
19314    defundef = arg[2]
19315    mac1 = arg[3]
19316  } else {
19317    defundef = substr(arg[1], 2)
19318    mac1 = arg[2]
19319  }
19320  split(mac1, mac2, "(") #)
19321  macro = mac2[1]
19322  prefix = substr(line, 1, index(line, defundef) - 1)
19323  if (D_is_set[macro]) {
19324    # Preserve the white space surrounding the "#".
19325    print prefix "define", macro P[macro] D[macro]
19326    next
19327  } else {
19328    # Replace #undef with comments.  This is necessary, for example,
19329    # in the case of _POSIX_SOURCE, which is predefined and required
19330    # on some systems where configure will not decide to define it.
19331    if (defundef == "undef") {
19332      print "/*", prefix defundef, macro, "*/"
19333      next
19334    }
19335  }
19336}
19337{ print }
19338_ACAWK
19339_ACEOF
19340cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19341  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19342fi # test -n "$CONFIG_HEADERS"
19343
19344
19345eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19346shift
19347for ac_tag
19348do
19349  case $ac_tag in
19350  :[FHLC]) ac_mode=$ac_tag; continue;;
19351  esac
19352  case $ac_mode$ac_tag in
19353  :[FHL]*:*);;
19354  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19355  :[FH]-) ac_tag=-:-;;
19356  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19357  esac
19358  ac_save_IFS=$IFS
19359  IFS=:
19360  set x $ac_tag
19361  IFS=$ac_save_IFS
19362  shift
19363  ac_file=$1
19364  shift
19365
19366  case $ac_mode in
19367  :L) ac_source=$1;;
19368  :[FH])
19369    ac_file_inputs=
19370    for ac_f
19371    do
19372      case $ac_f in
19373      -) ac_f="$ac_tmp/stdin";;
19374      *) # Look for the file first in the build tree, then in the source tree
19375	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19376	 # because $ac_f cannot contain `:'.
19377	 test -f "$ac_f" ||
19378	   case $ac_f in
19379	   [\\/$]*) false;;
19380	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19381	   esac ||
19382	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19383      esac
19384      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19385      as_fn_append ac_file_inputs " '$ac_f'"
19386    done
19387
19388    # Let's still pretend it is `configure' which instantiates (i.e., don't
19389    # use $as_me), people would be surprised to read:
19390    #    /* config.h.  Generated by config.status.  */
19391    configure_input='Generated from '`
19392	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19393	`' by configure.'
19394    if test x"$ac_file" != x-; then
19395      configure_input="$ac_file.  $configure_input"
19396      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19397$as_echo "$as_me: creating $ac_file" >&6;}
19398    fi
19399    # Neutralize special characters interpreted by sed in replacement strings.
19400    case $configure_input in #(
19401    *\&* | *\|* | *\\* )
19402       ac_sed_conf_input=`$as_echo "$configure_input" |
19403       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19404    *) ac_sed_conf_input=$configure_input;;
19405    esac
19406
19407    case $ac_tag in
19408    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19409      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19410    esac
19411    ;;
19412  esac
19413
19414  ac_dir=`$as_dirname -- "$ac_file" ||
19415$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19416	 X"$ac_file" : 'X\(//\)[^/]' \| \
19417	 X"$ac_file" : 'X\(//\)$' \| \
19418	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19419$as_echo X"$ac_file" |
19420    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19421	    s//\1/
19422	    q
19423	  }
19424	  /^X\(\/\/\)[^/].*/{
19425	    s//\1/
19426	    q
19427	  }
19428	  /^X\(\/\/\)$/{
19429	    s//\1/
19430	    q
19431	  }
19432	  /^X\(\/\).*/{
19433	    s//\1/
19434	    q
19435	  }
19436	  s/.*/./; q'`
19437  as_dir="$ac_dir"; as_fn_mkdir_p
19438  ac_builddir=.
19439
19440case "$ac_dir" in
19441.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19442*)
19443  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19444  # A ".." for each directory in $ac_dir_suffix.
19445  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19446  case $ac_top_builddir_sub in
19447  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19448  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19449  esac ;;
19450esac
19451ac_abs_top_builddir=$ac_pwd
19452ac_abs_builddir=$ac_pwd$ac_dir_suffix
19453# for backward compatibility:
19454ac_top_builddir=$ac_top_build_prefix
19455
19456case $srcdir in
19457  .)  # We are building in place.
19458    ac_srcdir=.
19459    ac_top_srcdir=$ac_top_builddir_sub
19460    ac_abs_top_srcdir=$ac_pwd ;;
19461  [\\/]* | ?:[\\/]* )  # Absolute name.
19462    ac_srcdir=$srcdir$ac_dir_suffix;
19463    ac_top_srcdir=$srcdir
19464    ac_abs_top_srcdir=$srcdir ;;
19465  *) # Relative name.
19466    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19467    ac_top_srcdir=$ac_top_build_prefix$srcdir
19468    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19469esac
19470ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19471
19472
19473  case $ac_mode in
19474  :F)
19475  #
19476  # CONFIG_FILE
19477  #
19478
19479  case $INSTALL in
19480  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19481  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19482  esac
19483  ac_MKDIR_P=$MKDIR_P
19484  case $MKDIR_P in
19485  [\\/$]* | ?:[\\/]* ) ;;
19486  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19487  esac
19488_ACEOF
19489
19490cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19491# If the template does not know about datarootdir, expand it.
19492# FIXME: This hack should be removed a few years after 2.60.
19493ac_datarootdir_hack=; ac_datarootdir_seen=
19494ac_sed_dataroot='
19495/datarootdir/ {
19496  p
19497  q
19498}
19499/@datadir@/p
19500/@docdir@/p
19501/@infodir@/p
19502/@localedir@/p
19503/@mandir@/p'
19504case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19505*datarootdir*) ac_datarootdir_seen=yes;;
19506*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19507  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19508$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19509_ACEOF
19510cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19511  ac_datarootdir_hack='
19512  s&@datadir@&$datadir&g
19513  s&@docdir@&$docdir&g
19514  s&@infodir@&$infodir&g
19515  s&@localedir@&$localedir&g
19516  s&@mandir@&$mandir&g
19517  s&\\\${datarootdir}&$datarootdir&g' ;;
19518esac
19519_ACEOF
19520
19521# Neutralize VPATH when `$srcdir' = `.'.
19522# Shell code in configure.ac might set extrasub.
19523# FIXME: do we really want to maintain this feature?
19524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19525ac_sed_extra="$ac_vpsub
19526$extrasub
19527_ACEOF
19528cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19529:t
19530/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19531s|@configure_input@|$ac_sed_conf_input|;t t
19532s&@top_builddir@&$ac_top_builddir_sub&;t t
19533s&@top_build_prefix@&$ac_top_build_prefix&;t t
19534s&@srcdir@&$ac_srcdir&;t t
19535s&@abs_srcdir@&$ac_abs_srcdir&;t t
19536s&@top_srcdir@&$ac_top_srcdir&;t t
19537s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19538s&@builddir@&$ac_builddir&;t t
19539s&@abs_builddir@&$ac_abs_builddir&;t t
19540s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19541s&@INSTALL@&$ac_INSTALL&;t t
19542s&@MKDIR_P@&$ac_MKDIR_P&;t t
19543$ac_datarootdir_hack
19544"
19545eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19546  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19547
19548test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19549  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19550  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19551      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19552  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19553which seems to be undefined.  Please make sure it is defined" >&5
19554$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19555which seems to be undefined.  Please make sure it is defined" >&2;}
19556
19557  rm -f "$ac_tmp/stdin"
19558  case $ac_file in
19559  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19560  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19561  esac \
19562  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19563 ;;
19564  :H)
19565  #
19566  # CONFIG_HEADER
19567  #
19568  if test x"$ac_file" != x-; then
19569    {
19570      $as_echo "/* $configure_input  */" \
19571      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19572    } >"$ac_tmp/config.h" \
19573      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19574    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19575      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19576$as_echo "$as_me: $ac_file is unchanged" >&6;}
19577    else
19578      rm -f "$ac_file"
19579      mv "$ac_tmp/config.h" "$ac_file" \
19580	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19581    fi
19582  else
19583    $as_echo "/* $configure_input  */" \
19584      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19585      || as_fn_error $? "could not create -" "$LINENO" 5
19586  fi
19587# Compute "$ac_file"'s index in $config_headers.
19588_am_arg="$ac_file"
19589_am_stamp_count=1
19590for _am_header in $config_headers :; do
19591  case $_am_header in
19592    $_am_arg | $_am_arg:* )
19593      break ;;
19594    * )
19595      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19596  esac
19597done
19598echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19599$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19600	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19601	 X"$_am_arg" : 'X\(//\)$' \| \
19602	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19603$as_echo X"$_am_arg" |
19604    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19605	    s//\1/
19606	    q
19607	  }
19608	  /^X\(\/\/\)[^/].*/{
19609	    s//\1/
19610	    q
19611	  }
19612	  /^X\(\/\/\)$/{
19613	    s//\1/
19614	    q
19615	  }
19616	  /^X\(\/\).*/{
19617	    s//\1/
19618	    q
19619	  }
19620	  s/.*/./; q'`/stamp-h$_am_stamp_count
19621 ;;
19622
19623  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19624$as_echo "$as_me: executing $ac_file commands" >&6;}
19625 ;;
19626  esac
19627
19628
19629  case $ac_file$ac_mode in
19630    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19631  # Older Autoconf quotes --file arguments for eval, but not when files
19632  # are listed without --file.  Let's play safe and only enable the eval
19633  # if we detect the quoting.
19634  # TODO: see whether this extra hack can be removed once we start
19635  # requiring Autoconf 2.70 or later.
19636  case $CONFIG_FILES in #(
19637  *\'*) :
19638    eval set x "$CONFIG_FILES" ;; #(
19639  *) :
19640    set x $CONFIG_FILES ;; #(
19641  *) :
19642     ;;
19643esac
19644  shift
19645  # Used to flag and report bootstrapping failures.
19646  am_rc=0
19647  for am_mf
19648  do
19649    # Strip MF so we end up with the name of the file.
19650    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
19651    # Check whether this is an Automake generated Makefile which includes
19652    # dependency-tracking related rules and includes.
19653    # Grep'ing the whole file directly is not great: AIX grep has a line
19654    # limit of 2048, but all sed's we know have understand at least 4000.
19655    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19656      || continue
19657    am_dirpart=`$as_dirname -- "$am_mf" ||
19658$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19659	 X"$am_mf" : 'X\(//\)[^/]' \| \
19660	 X"$am_mf" : 'X\(//\)$' \| \
19661	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19662$as_echo X"$am_mf" |
19663    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19664	    s//\1/
19665	    q
19666	  }
19667	  /^X\(\/\/\)[^/].*/{
19668	    s//\1/
19669	    q
19670	  }
19671	  /^X\(\/\/\)$/{
19672	    s//\1/
19673	    q
19674	  }
19675	  /^X\(\/\).*/{
19676	    s//\1/
19677	    q
19678	  }
19679	  s/.*/./; q'`
19680    am_filepart=`$as_basename -- "$am_mf" ||
19681$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19682	 X"$am_mf" : 'X\(//\)$' \| \
19683	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19684$as_echo X/"$am_mf" |
19685    sed '/^.*\/\([^/][^/]*\)\/*$/{
19686	    s//\1/
19687	    q
19688	  }
19689	  /^X\/\(\/\/\)$/{
19690	    s//\1/
19691	    q
19692	  }
19693	  /^X\/\(\/\).*/{
19694	    s//\1/
19695	    q
19696	  }
19697	  s/.*/./; q'`
19698    { echo "$as_me:$LINENO: cd "$am_dirpart" \
19699      && sed -e '/# am--include-marker/d' "$am_filepart" \
19700        | $MAKE -f - am--depfiles" >&5
19701   (cd "$am_dirpart" \
19702      && sed -e '/# am--include-marker/d' "$am_filepart" \
19703        | $MAKE -f - am--depfiles) >&5 2>&5
19704   ac_status=$?
19705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706   (exit $ac_status); } || am_rc=$?
19707  done
19708  if test $am_rc -ne 0; then
19709    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19711as_fn_error $? "Something went wrong bootstrapping makefile fragments
19712    for automatic dependency tracking.  If GNU make was not used, consider
19713    re-running the configure script with MAKE=\"gmake\" (or whatever is
19714    necessary).  You can also try re-running configure with the
19715    '--disable-dependency-tracking' option to at least be able to build
19716    the package (albeit without support for automatic dependency tracking).
19717See \`config.log' for more details" "$LINENO" 5; }
19718  fi
19719  { am_dirpart=; unset am_dirpart;}
19720  { am_filepart=; unset am_filepart;}
19721  { am_mf=; unset am_mf;}
19722  { am_rc=; unset am_rc;}
19723  rm -f conftest-deps.mk
19724}
19725 ;;
19726    "libtool":C)
19727
19728    # See if we are running on zsh, and set the options that allow our
19729    # commands through without removal of \ escapes.
19730    if test -n "${ZSH_VERSION+set}"; then
19731      setopt NO_GLOB_SUBST
19732    fi
19733
19734    cfgfile=${ofile}T
19735    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19736    $RM "$cfgfile"
19737
19738    cat <<_LT_EOF >> "$cfgfile"
19739#! $SHELL
19740# Generated automatically by $as_me ($PACKAGE) $VERSION
19741# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19742
19743# Provide generalized library-building support services.
19744# Written by Gordon Matzigkeit, 1996
19745
19746# Copyright (C) 2014 Free Software Foundation, Inc.
19747# This is free software; see the source for copying conditions.  There is NO
19748# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19749
19750# GNU Libtool is free software; you can redistribute it and/or modify
19751# it under the terms of the GNU General Public License as published by
19752# the Free Software Foundation; either version 2 of of the License, or
19753# (at your option) any later version.
19754#
19755# As a special exception to the GNU General Public License, if you
19756# distribute this file as part of a program or library that is built
19757# using GNU Libtool, you may include this file under the  same
19758# distribution terms that you use for the rest of that program.
19759#
19760# GNU Libtool is distributed in the hope that it will be useful, but
19761# WITHOUT ANY WARRANTY; without even the implied warranty of
19762# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19763# GNU General Public License for more details.
19764#
19765# You should have received a copy of the GNU General Public License
19766# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19767
19768
19769# The names of the tagged configurations supported by this script.
19770available_tags=''
19771
19772# Configured defaults for sys_lib_dlsearch_path munging.
19773: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19774
19775# ### BEGIN LIBTOOL CONFIG
19776
19777# Which release of libtool.m4 was used?
19778macro_version=$macro_version
19779macro_revision=$macro_revision
19780
19781# Whether or not to build static libraries.
19782build_old_libs=$enable_static
19783
19784# Whether or not to build shared libraries.
19785build_libtool_libs=$enable_shared
19786
19787# What type of objects to build.
19788pic_mode=$pic_mode
19789
19790# Whether or not to optimize for fast installation.
19791fast_install=$enable_fast_install
19792
19793# Shared archive member basename,for filename based shared library versioning on AIX.
19794shared_archive_member_spec=$shared_archive_member_spec
19795
19796# Shell to use when invoking shell scripts.
19797SHELL=$lt_SHELL
19798
19799# An echo program that protects backslashes.
19800ECHO=$lt_ECHO
19801
19802# The PATH separator for the build system.
19803PATH_SEPARATOR=$lt_PATH_SEPARATOR
19804
19805# The host system.
19806host_alias=$host_alias
19807host=$host
19808host_os=$host_os
19809
19810# The build system.
19811build_alias=$build_alias
19812build=$build
19813build_os=$build_os
19814
19815# A sed program that does not truncate output.
19816SED=$lt_SED
19817
19818# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19819Xsed="\$SED -e 1s/^X//"
19820
19821# A grep program that handles long lines.
19822GREP=$lt_GREP
19823
19824# An ERE matcher.
19825EGREP=$lt_EGREP
19826
19827# A literal string matcher.
19828FGREP=$lt_FGREP
19829
19830# A BSD- or MS-compatible name lister.
19831NM=$lt_NM
19832
19833# Whether we need soft or hard links.
19834LN_S=$lt_LN_S
19835
19836# What is the maximum length of a command?
19837max_cmd_len=$max_cmd_len
19838
19839# Object file suffix (normally "o").
19840objext=$ac_objext
19841
19842# Executable file suffix (normally "").
19843exeext=$exeext
19844
19845# whether the shell understands "unset".
19846lt_unset=$lt_unset
19847
19848# turn spaces into newlines.
19849SP2NL=$lt_lt_SP2NL
19850
19851# turn newlines into spaces.
19852NL2SP=$lt_lt_NL2SP
19853
19854# convert \$build file names to \$host format.
19855to_host_file_cmd=$lt_cv_to_host_file_cmd
19856
19857# convert \$build files to toolchain format.
19858to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19859
19860# An object symbol dumper.
19861OBJDUMP=$lt_OBJDUMP
19862
19863# Method to check whether dependent libraries are shared objects.
19864deplibs_check_method=$lt_deplibs_check_method
19865
19866# Command to use when deplibs_check_method = "file_magic".
19867file_magic_cmd=$lt_file_magic_cmd
19868
19869# How to find potential files when deplibs_check_method = "file_magic".
19870file_magic_glob=$lt_file_magic_glob
19871
19872# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19873want_nocaseglob=$lt_want_nocaseglob
19874
19875# DLL creation program.
19876DLLTOOL=$lt_DLLTOOL
19877
19878# Command to associate shared and link libraries.
19879sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19880
19881# The archiver.
19882AR=$lt_AR
19883
19884# Flags to create an archive (by configure).
19885lt_ar_flags=$lt_ar_flags
19886
19887# Flags to create an archive.
19888AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
19889
19890# How to feed a file listing to the archiver.
19891archiver_list_spec=$lt_archiver_list_spec
19892
19893# A symbol stripping program.
19894STRIP=$lt_STRIP
19895
19896# Commands used to install an old-style archive.
19897RANLIB=$lt_RANLIB
19898old_postinstall_cmds=$lt_old_postinstall_cmds
19899old_postuninstall_cmds=$lt_old_postuninstall_cmds
19900
19901# Whether to use a lock for old archive extraction.
19902lock_old_archive_extraction=$lock_old_archive_extraction
19903
19904# A C compiler.
19905LTCC=$lt_CC
19906
19907# LTCC compiler flags.
19908LTCFLAGS=$lt_CFLAGS
19909
19910# Take the output of nm and produce a listing of raw symbols and C names.
19911global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19912
19913# Transform the output of nm in a proper C declaration.
19914global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19915
19916# Transform the output of nm into a list of symbols to manually relocate.
19917global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19918
19919# Transform the output of nm in a C name address pair.
19920global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19921
19922# Transform the output of nm in a C name address pair when lib prefix is needed.
19923global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19924
19925# The name lister interface.
19926nm_interface=$lt_lt_cv_nm_interface
19927
19928# Specify filename containing input files for \$NM.
19929nm_file_list_spec=$lt_nm_file_list_spec
19930
19931# The root where to search for dependent libraries,and where our libraries should be installed.
19932lt_sysroot=$lt_sysroot
19933
19934# Command to truncate a binary pipe.
19935lt_truncate_bin=$lt_lt_cv_truncate_bin
19936
19937# The name of the directory that contains temporary libtool files.
19938objdir=$objdir
19939
19940# Used to examine libraries when file_magic_cmd begins with "file".
19941MAGIC_CMD=$MAGIC_CMD
19942
19943# Must we lock files when doing compilation?
19944need_locks=$lt_need_locks
19945
19946# Manifest tool.
19947MANIFEST_TOOL=$lt_MANIFEST_TOOL
19948
19949# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19950DSYMUTIL=$lt_DSYMUTIL
19951
19952# Tool to change global to local symbols on Mac OS X.
19953NMEDIT=$lt_NMEDIT
19954
19955# Tool to manipulate fat objects and archives on Mac OS X.
19956LIPO=$lt_LIPO
19957
19958# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19959OTOOL=$lt_OTOOL
19960
19961# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19962OTOOL64=$lt_OTOOL64
19963
19964# Old archive suffix (normally "a").
19965libext=$libext
19966
19967# Shared library suffix (normally ".so").
19968shrext_cmds=$lt_shrext_cmds
19969
19970# The commands to extract the exported symbol list from a shared archive.
19971extract_expsyms_cmds=$lt_extract_expsyms_cmds
19972
19973# Variables whose values should be saved in libtool wrapper scripts and
19974# restored at link time.
19975variables_saved_for_relink=$lt_variables_saved_for_relink
19976
19977# Do we need the "lib" prefix for modules?
19978need_lib_prefix=$need_lib_prefix
19979
19980# Do we need a version for libraries?
19981need_version=$need_version
19982
19983# Library versioning type.
19984version_type=$version_type
19985
19986# Shared library runtime path variable.
19987runpath_var=$runpath_var
19988
19989# Shared library path variable.
19990shlibpath_var=$shlibpath_var
19991
19992# Is shlibpath searched before the hard-coded library search path?
19993shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19994
19995# Format of library name prefix.
19996libname_spec=$lt_libname_spec
19997
19998# List of archive names.  First name is the real one, the rest are links.
19999# The last name is the one that the linker finds with -lNAME
20000library_names_spec=$lt_library_names_spec
20001
20002# The coded name of the library, if different from the real name.
20003soname_spec=$lt_soname_spec
20004
20005# Permission mode override for installation of shared libraries.
20006install_override_mode=$lt_install_override_mode
20007
20008# Command to use after installation of a shared archive.
20009postinstall_cmds=$lt_postinstall_cmds
20010
20011# Command to use after uninstallation of a shared archive.
20012postuninstall_cmds=$lt_postuninstall_cmds
20013
20014# Commands used to finish a libtool library installation in a directory.
20015finish_cmds=$lt_finish_cmds
20016
20017# As "finish_cmds", except a single script fragment to be evaled but
20018# not shown.
20019finish_eval=$lt_finish_eval
20020
20021# Whether we should hardcode library paths into libraries.
20022hardcode_into_libs=$hardcode_into_libs
20023
20024# Compile-time system search path for libraries.
20025sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20026
20027# Detected run-time system search path for libraries.
20028sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20029
20030# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20031configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20032
20033# Whether dlopen is supported.
20034dlopen_support=$enable_dlopen
20035
20036# Whether dlopen of programs is supported.
20037dlopen_self=$enable_dlopen_self
20038
20039# Whether dlopen of statically linked programs is supported.
20040dlopen_self_static=$enable_dlopen_self_static
20041
20042# Commands to strip libraries.
20043old_striplib=$lt_old_striplib
20044striplib=$lt_striplib
20045
20046
20047# The linker used to build libraries.
20048LD=$lt_LD
20049
20050# How to create reloadable object files.
20051reload_flag=$lt_reload_flag
20052reload_cmds=$lt_reload_cmds
20053
20054# Commands used to build an old-style archive.
20055old_archive_cmds=$lt_old_archive_cmds
20056
20057# A language specific compiler.
20058CC=$lt_compiler
20059
20060# Is the compiler the GNU compiler?
20061with_gcc=$GCC
20062
20063# Compiler flag to turn off builtin functions.
20064no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20065
20066# Additional compiler flags for building library objects.
20067pic_flag=$lt_lt_prog_compiler_pic
20068
20069# How to pass a linker flag through the compiler.
20070wl=$lt_lt_prog_compiler_wl
20071
20072# Compiler flag to prevent dynamic linking.
20073link_static_flag=$lt_lt_prog_compiler_static
20074
20075# Does compiler simultaneously support -c and -o options?
20076compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20077
20078# Whether or not to add -lc for building shared libraries.
20079build_libtool_need_lc=$archive_cmds_need_lc
20080
20081# Whether or not to disallow shared libs when runtime libs are static.
20082allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20083
20084# Compiler flag to allow reflexive dlopens.
20085export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20086
20087# Compiler flag to generate shared objects directly from archives.
20088whole_archive_flag_spec=$lt_whole_archive_flag_spec
20089
20090# Whether the compiler copes with passing no objects directly.
20091compiler_needs_object=$lt_compiler_needs_object
20092
20093# Create an old-style archive from a shared archive.
20094old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20095
20096# Create a temporary old-style archive to link instead of a shared archive.
20097old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20098
20099# Commands used to build a shared archive.
20100archive_cmds=$lt_archive_cmds
20101archive_expsym_cmds=$lt_archive_expsym_cmds
20102
20103# Commands used to build a loadable module if different from building
20104# a shared archive.
20105module_cmds=$lt_module_cmds
20106module_expsym_cmds=$lt_module_expsym_cmds
20107
20108# Whether we are building with GNU ld or not.
20109with_gnu_ld=$lt_with_gnu_ld
20110
20111# Flag that allows shared libraries with undefined symbols to be built.
20112allow_undefined_flag=$lt_allow_undefined_flag
20113
20114# Flag that enforces no undefined symbols.
20115no_undefined_flag=$lt_no_undefined_flag
20116
20117# Flag to hardcode \$libdir into a binary during linking.
20118# This must work even if \$libdir does not exist
20119hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20120
20121# Whether we need a single "-rpath" flag with a separated argument.
20122hardcode_libdir_separator=$lt_hardcode_libdir_separator
20123
20124# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20125# DIR into the resulting binary.
20126hardcode_direct=$hardcode_direct
20127
20128# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20129# DIR into the resulting binary and the resulting library dependency is
20130# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20131# library is relocated.
20132hardcode_direct_absolute=$hardcode_direct_absolute
20133
20134# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20135# into the resulting binary.
20136hardcode_minus_L=$hardcode_minus_L
20137
20138# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20139# into the resulting binary.
20140hardcode_shlibpath_var=$hardcode_shlibpath_var
20141
20142# Set to "yes" if building a shared library automatically hardcodes DIR
20143# into the library and all subsequent libraries and executables linked
20144# against it.
20145hardcode_automatic=$hardcode_automatic
20146
20147# Set to yes if linker adds runtime paths of dependent libraries
20148# to runtime path list.
20149inherit_rpath=$inherit_rpath
20150
20151# Whether libtool must link a program against all its dependency libraries.
20152link_all_deplibs=$link_all_deplibs
20153
20154# Set to "yes" if exported symbols are required.
20155always_export_symbols=$always_export_symbols
20156
20157# The commands to list exported symbols.
20158export_symbols_cmds=$lt_export_symbols_cmds
20159
20160# Symbols that should not be listed in the preloaded symbols.
20161exclude_expsyms=$lt_exclude_expsyms
20162
20163# Symbols that must always be exported.
20164include_expsyms=$lt_include_expsyms
20165
20166# Commands necessary for linking programs (against libraries) with templates.
20167prelink_cmds=$lt_prelink_cmds
20168
20169# Commands necessary for finishing linking programs.
20170postlink_cmds=$lt_postlink_cmds
20171
20172# Specify filename containing input files.
20173file_list_spec=$lt_file_list_spec
20174
20175# How to hardcode a shared library path into an executable.
20176hardcode_action=$hardcode_action
20177
20178# ### END LIBTOOL CONFIG
20179
20180_LT_EOF
20181
20182    cat <<'_LT_EOF' >> "$cfgfile"
20183
20184# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20185
20186# func_munge_path_list VARIABLE PATH
20187# -----------------------------------
20188# VARIABLE is name of variable containing _space_ separated list of
20189# directories to be munged by the contents of PATH, which is string
20190# having a format:
20191# "DIR[:DIR]:"
20192#       string "DIR[ DIR]" will be prepended to VARIABLE
20193# ":DIR[:DIR]"
20194#       string "DIR[ DIR]" will be appended to VARIABLE
20195# "DIRP[:DIRP]::[DIRA:]DIRA"
20196#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20197#       "DIRA[ DIRA]" will be appended to VARIABLE
20198# "DIR[:DIR]"
20199#       VARIABLE will be replaced by "DIR[ DIR]"
20200func_munge_path_list ()
20201{
20202    case x$2 in
20203    x)
20204        ;;
20205    *:)
20206        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20207        ;;
20208    x:*)
20209        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20210        ;;
20211    *::*)
20212        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20213        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20214        ;;
20215    *)
20216        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20217        ;;
20218    esac
20219}
20220
20221
20222# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20223func_cc_basename ()
20224{
20225    for cc_temp in $*""; do
20226      case $cc_temp in
20227        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20228        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20229        \-*) ;;
20230        *) break;;
20231      esac
20232    done
20233    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20234}
20235
20236
20237# ### END FUNCTIONS SHARED WITH CONFIGURE
20238
20239_LT_EOF
20240
20241  case $host_os in
20242  aix3*)
20243    cat <<\_LT_EOF >> "$cfgfile"
20244# AIX sometimes has problems with the GCC collect2 program.  For some
20245# reason, if we set the COLLECT_NAMES environment variable, the problems
20246# vanish in a puff of smoke.
20247if test set != "${COLLECT_NAMES+set}"; then
20248  COLLECT_NAMES=
20249  export COLLECT_NAMES
20250fi
20251_LT_EOF
20252    ;;
20253  esac
20254
20255
20256ltmain=$ac_aux_dir/ltmain.sh
20257
20258
20259  # We use sed instead of cat because bash on DJGPP gets confused if
20260  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20261  # text mode, it properly converts lines to CR/LF.  This bash problem
20262  # is reportedly fixed, but why not run on old versions too?
20263  sed '$q' "$ltmain" >> "$cfgfile" \
20264     || (rm -f "$cfgfile"; exit 1)
20265
20266   mv -f "$cfgfile" "$ofile" ||
20267    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20268  chmod +x "$ofile"
20269
20270 ;;
20271    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
20272        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
20273      esac ;;
20274    "po/stamp-it":C)
20275    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20276       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20277    fi
20278    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20279    >"po/stamp-it.tmp"
20280    sed '/^#/d
20281	 s/^[[].*] *//
20282	 /^[ 	]*$/d
20283	'"s|^|	$ac_top_srcdir/|" \
20284      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20285
20286    sed '/^POTFILES =/,/[^\\]$/ {
20287		/^POTFILES =/!d
20288		r po/POTFILES
20289	  }
20290	 ' "po/Makefile.in" >"po/Makefile"
20291    rm -f "po/Makefile.tmp"
20292    mv "po/stamp-it.tmp" "po/stamp-it"
20293   ;;
20294
20295  esac
20296done # for ac_tag
20297
20298
20299as_fn_exit 0
20300_ACEOF
20301ac_clean_files=$ac_clean_files_save
20302
20303test $ac_write_fail = 0 ||
20304  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20305
20306
20307# configure is writing to config.log, and then calls config.status.
20308# config.status does its own redirection, appending to config.log.
20309# Unfortunately, on DOS this fails, as config.log is still kept open
20310# by configure, so config.status won't be able to write to it; its
20311# output is simply discarded.  So we exec the FD to /dev/null,
20312# effectively closing config.log, so it can be properly (re)opened and
20313# appended to by config.status.  When coming back to configure, we
20314# need to make the FD available again.
20315if test "$no_create" != yes; then
20316  ac_cs_success=:
20317  ac_config_status_args=
20318  test "$silent" = yes &&
20319    ac_config_status_args="$ac_config_status_args --quiet"
20320  exec 5>/dev/null
20321  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20322  exec 5>>config.log
20323  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20324  # would make configure fail if this is the last instruction.
20325  $ac_cs_success || as_fn_exit 1
20326fi
20327if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20328  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20329$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20330fi
20331
20332
20333echo
20334echo "Build Configuration:"
20335echo
20336echo "  * GSettings Backend:         $ac_gsettings_backend"
20337echo "  * GObject Introspection:     $enable_introspection"
20338echo "  * Vala support:              $enable_vala"
20339if test "x$with_bash_completion_dir" != "xno"; then
20340echo "  * Bash completion path:      $BASH_COMPLETION_DIR"
20341else
20342echo "  * Bash completion:           no"
20343fi
20344echo
20345echo "  * Debug:                     $enable_debug"
20346echo
20347