1#! /bin/sh
2# From configure.ac Id.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.69 for xfce4-session 4.16.0.
5#
6# Report bugs to <https://bugzilla.xfce.org/>.
7#
8# Copyright (c) 2003-2019
9#         The Xfce development team. All rights reserved.
10#
11# Written for Xfce by Benedikt Meurer <benny@xfce.org>.
12#
13#
14# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
15#
16#
17# This configure script is free software; the Free Software Foundation
18# gives unlimited permission to copy, distribute and modify it.
19## -------------------- ##
20## M4sh Initialization. ##
21## -------------------- ##
22
23# Be more Bourne compatible
24DUALCASE=1; export DUALCASE # for MKS sh
25if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26  emulate sh
27  NULLCMD=:
28  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29  # is contrary to our usage.  Disable this feature.
30  alias -g '${1+"$@"}'='"$@"'
31  setopt NO_GLOB_SUBST
32else
33  case `(set -o) 2>/dev/null` in #(
34  *posix*) :
35    set -o posix ;; #(
36  *) :
37     ;;
38esac
39fi
40
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49# Prefer a ksh shell builtin over an external printf program on Solaris,
50# but without wasting forks for bash or zsh.
51if test -z "$BASH_VERSION$ZSH_VERSION" \
52    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
53  as_echo='print -r --'
54  as_echo_n='print -rn --'
55elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56  as_echo='printf %s\n'
57  as_echo_n='printf %s'
58else
59  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
60    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
61    as_echo_n='/usr/ucb/echo -n'
62  else
63    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64    as_echo_n_body='eval
65      arg=$1;
66      case $arg in #(
67      *"$as_nl"*)
68	expr "X$arg" : "X\\(.*\\)$as_nl";
69	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70      esac;
71      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72    '
73    export as_echo_n_body
74    as_echo_n='sh -c $as_echo_n_body as_echo'
75  fi
76  export as_echo_body
77  as_echo='sh -c $as_echo_body as_echo'
78fi
79
80# The user is always right.
81if test "${PATH_SEPARATOR+set}" != set; then
82  PATH_SEPARATOR=:
83  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
84    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85      PATH_SEPARATOR=';'
86  }
87fi
88
89
90# IFS
91# We need space, tab and new line, in precisely that order.  Quoting is
92# there to prevent editors from complaining about space-tab.
93# (If _AS_PATH_WALK were called with IFS unset, it would disable word
94# splitting by setting IFS to empty value.)
95IFS=" ""	$as_nl"
96
97# Find who we are.  Look in the path if we contain no directory separator.
98as_myself=
99case $0 in #((
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107  done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  exit 1
120fi
121
122# Unset variables that we do not need and which cause bugs (e.g. in
123# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
124# suppresses any "Segmentation fault" message there.  '((' could
125# trigger a bug in pdksh 5.2.14.
126for as_var in BASH_ENV ENV MAIL MAILPATH
127do eval test x\${$as_var+set} = xset \
128  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
129done
130PS1='$ '
131PS2='> '
132PS4='+ '
133
134# NLS nuisances.
135LC_ALL=C
136export LC_ALL
137LANGUAGE=C
138export LANGUAGE
139
140# CDPATH.
141(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
142
143# Use a proper internal environment variable to ensure we don't fall
144  # into an infinite loop, continuously re-executing ourselves.
145  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
146    _as_can_reexec=no; export _as_can_reexec;
147    # We cannot yet assume a decent shell, so we have to provide a
148# neutralization value for shells without unset; and this also
149# works around shells that cannot unset nonexistent variables.
150# Preserve -v and -x to the replacement shell.
151BASH_ENV=/dev/null
152ENV=/dev/null
153(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
154case $- in # ((((
155  *v*x* | *x*v* ) as_opts=-vx ;;
156  *v* ) as_opts=-v ;;
157  *x* ) as_opts=-x ;;
158  * ) as_opts= ;;
159esac
160exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
161# Admittedly, this is quite paranoid, since all the known shells bail
162# out after a failed `exec'.
163$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
164as_fn_exit 255
165  fi
166  # We don't want this to propagate to other subprocesses.
167          { _as_can_reexec=; unset _as_can_reexec;}
168if test "x$CONFIG_SHELL" = x; then
169  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
170  emulate sh
171  NULLCMD=:
172  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
173  # is contrary to our usage.  Disable this feature.
174  alias -g '\${1+\"\$@\"}'='\"\$@\"'
175  setopt NO_GLOB_SUBST
176else
177  case \`(set -o) 2>/dev/null\` in #(
178  *posix*) :
179    set -o posix ;; #(
180  *) :
181     ;;
182esac
183fi
184"
185  as_required="as_fn_return () { (exit \$1); }
186as_fn_success () { as_fn_return 0; }
187as_fn_failure () { as_fn_return 1; }
188as_fn_ret_success () { return 0; }
189as_fn_ret_failure () { return 1; }
190
191exitcode=0
192as_fn_success || { exitcode=1; echo as_fn_success failed.; }
193as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
194as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
195as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
196if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
197
198else
199  exitcode=1; echo positional parameters were not saved.
200fi
201test x\$exitcode = x0 || exit 1
202test -x / || exit 1"
203  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
204  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
205  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
206  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
207test \$(( 1 + 1 )) = 2 || exit 1
208
209  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
210    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
211    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
212    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
213    PATH=/empty FPATH=/empty; export PATH FPATH
214    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
215      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
216  if (eval "$as_required") 2>/dev/null; then :
217  as_have_required=yes
218else
219  as_have_required=no
220fi
221  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
222
223else
224  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225as_found=false
226for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227do
228  IFS=$as_save_IFS
229  test -z "$as_dir" && as_dir=.
230  as_found=:
231  case $as_dir in #(
232	 /*)
233	   for as_base in sh bash ksh sh5; do
234	     # Try only shells that exist, to save several forks.
235	     as_shell=$as_dir/$as_base
236	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
238  CONFIG_SHELL=$as_shell as_have_required=yes
239		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
240  break 2
241fi
242fi
243	   done;;
244       esac
245  as_found=false
246done
247$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
248	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
249  CONFIG_SHELL=$SHELL as_have_required=yes
250fi; }
251IFS=$as_save_IFS
252
253
254      if test "x$CONFIG_SHELL" != x; then :
255  export CONFIG_SHELL
256             # We cannot yet assume a decent shell, so we have to provide a
257# neutralization value for shells without unset; and this also
258# works around shells that cannot unset nonexistent variables.
259# Preserve -v and -x to the replacement shell.
260BASH_ENV=/dev/null
261ENV=/dev/null
262(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
263case $- in # ((((
264  *v*x* | *x*v* ) as_opts=-vx ;;
265  *v* ) as_opts=-v ;;
266  *x* ) as_opts=-x ;;
267  * ) as_opts= ;;
268esac
269exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
270# Admittedly, this is quite paranoid, since all the known shells bail
271# out after a failed `exec'.
272$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
273exit 255
274fi
275
276    if test x$as_have_required = xno; then :
277  $as_echo "$0: This script requires a shell more modern than all"
278  $as_echo "$0: the shells that I found on your system."
279  if test x${ZSH_VERSION+set} = xset ; then
280    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
281    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
282  else
283    $as_echo "$0: Please tell bug-autoconf@gnu.org and
284$0: https://bugzilla.xfce.org/ about your system, including
285$0: any error possibly output before this message. Then
286$0: install a modern shell, or manually run the script
287$0: under such a shell if you do have one."
288  fi
289  exit 1
290fi
291fi
292fi
293SHELL=${CONFIG_SHELL-/bin/sh}
294export SHELL
295# Unset more variables known to interfere with behavior of common tools.
296CLICOLOR_FORCE= GREP_OPTIONS=
297unset CLICOLOR_FORCE GREP_OPTIONS
298
299## --------------------- ##
300## M4sh Shell Functions. ##
301## --------------------- ##
302# as_fn_unset VAR
303# ---------------
304# Portably unset VAR.
305as_fn_unset ()
306{
307  { eval $1=; unset $1;}
308}
309as_unset=as_fn_unset
310
311# as_fn_set_status STATUS
312# -----------------------
313# Set $? to STATUS, without forking.
314as_fn_set_status ()
315{
316  return $1
317} # as_fn_set_status
318
319# as_fn_exit STATUS
320# -----------------
321# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322as_fn_exit ()
323{
324  set +e
325  as_fn_set_status $1
326  exit $1
327} # as_fn_exit
328
329# as_fn_mkdir_p
330# -------------
331# Create "$as_dir" as a directory, including parents if necessary.
332as_fn_mkdir_p ()
333{
334
335  case $as_dir in #(
336  -*) as_dir=./$as_dir;;
337  esac
338  test -d "$as_dir" || eval $as_mkdir_p || {
339    as_dirs=
340    while :; do
341      case $as_dir in #(
342      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
343      *) as_qdir=$as_dir;;
344      esac
345      as_dirs="'$as_qdir' $as_dirs"
346      as_dir=`$as_dirname -- "$as_dir" ||
347$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
348	 X"$as_dir" : 'X\(//\)[^/]' \| \
349	 X"$as_dir" : 'X\(//\)$' \| \
350	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
351$as_echo X"$as_dir" |
352    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
353	    s//\1/
354	    q
355	  }
356	  /^X\(\/\/\)[^/].*/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\/\)$/{
361	    s//\1/
362	    q
363	  }
364	  /^X\(\/\).*/{
365	    s//\1/
366	    q
367	  }
368	  s/.*/./; q'`
369      test -d "$as_dir" && break
370    done
371    test -z "$as_dirs" || eval "mkdir $as_dirs"
372  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
373
374
375} # as_fn_mkdir_p
376
377# as_fn_executable_p FILE
378# -----------------------
379# Test if FILE is an executable regular file.
380as_fn_executable_p ()
381{
382  test -f "$1" && test -x "$1"
383} # as_fn_executable_p
384# as_fn_append VAR VALUE
385# ----------------------
386# Append the text in VALUE to the end of the definition contained in VAR. Take
387# advantage of any shell optimizations that allow amortized linear growth over
388# repeated appends, instead of the typical quadratic growth present in naive
389# implementations.
390if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
391  eval 'as_fn_append ()
392  {
393    eval $1+=\$2
394  }'
395else
396  as_fn_append ()
397  {
398    eval $1=\$$1\$2
399  }
400fi # as_fn_append
401
402# as_fn_arith ARG...
403# ------------------
404# Perform arithmetic evaluation on the ARGs, and store the result in the
405# global $as_val. Take advantage of shells that can avoid forks. The arguments
406# must be portable across $(()) and expr.
407if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
408  eval 'as_fn_arith ()
409  {
410    as_val=$(( $* ))
411  }'
412else
413  as_fn_arith ()
414  {
415    as_val=`expr "$@" || test $? -eq 1`
416  }
417fi # as_fn_arith
418
419
420# as_fn_error STATUS ERROR [LINENO LOG_FD]
421# ----------------------------------------
422# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
423# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
424# script with STATUS, using 1 if that was 0.
425as_fn_error ()
426{
427  as_status=$1; test $as_status -eq 0 && as_status=1
428  if test "$4"; then
429    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
430    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
431  fi
432  $as_echo "$as_me: error: $2" >&2
433  as_fn_exit $as_status
434} # as_fn_error
435
436if expr a : '\(a\)' >/dev/null 2>&1 &&
437   test "X`expr 00001 : '.*\(...\)'`" = X001; then
438  as_expr=expr
439else
440  as_expr=false
441fi
442
443if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444  as_basename=basename
445else
446  as_basename=false
447fi
448
449if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450  as_dirname=dirname
451else
452  as_dirname=false
453fi
454
455as_me=`$as_basename -- "$0" ||
456$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
457	 X"$0" : 'X\(//\)$' \| \
458	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
459$as_echo X/"$0" |
460    sed '/^.*\/\([^/][^/]*\)\/*$/{
461	    s//\1/
462	    q
463	  }
464	  /^X\/\(\/\/\)$/{
465	    s//\1/
466	    q
467	  }
468	  /^X\/\(\/\).*/{
469	    s//\1/
470	    q
471	  }
472	  s/.*/./; q'`
473
474# Avoid depending upon Character Ranges.
475as_cr_letters='abcdefghijklmnopqrstuvwxyz'
476as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
477as_cr_Letters=$as_cr_letters$as_cr_LETTERS
478as_cr_digits='0123456789'
479as_cr_alnum=$as_cr_Letters$as_cr_digits
480
481
482  as_lineno_1=$LINENO as_lineno_1a=$LINENO
483  as_lineno_2=$LINENO as_lineno_2a=$LINENO
484  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
485  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
486  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
487  sed -n '
488    p
489    /[$]LINENO/=
490  ' <$as_myself |
491    sed '
492      s/[$]LINENO.*/&-/
493      t lineno
494      b
495      :lineno
496      N
497      :loop
498      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
499      t loop
500      s/-\n.*//
501    ' >$as_me.lineno &&
502  chmod +x "$as_me.lineno" ||
503    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
504
505  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
506  # already done that, so ensure we don't try to do so again and fall
507  # in an infinite loop.  This has already happened in practice.
508  _as_can_reexec=no; export _as_can_reexec
509  # Don't try to exec as it changes $[0], causing all sort of problems
510  # (the dirname of $[0] is not the place where we might find the
511  # original and so on.  Autoconf is especially sensitive to this).
512  . "./$as_me.lineno"
513  # Exit status is that of the last command.
514  exit
515}
516
517ECHO_C= ECHO_N= ECHO_T=
518case `echo -n x` in #(((((
519-n*)
520  case `echo 'xy\c'` in
521  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
522  xy)  ECHO_C='\c';;
523  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
524       ECHO_T='	';;
525  esac;;
526*)
527  ECHO_N='-n';;
528esac
529
530rm -f conf$$ conf$$.exe conf$$.file
531if test -d conf$$.dir; then
532  rm -f conf$$.dir/conf$$.file
533else
534  rm -f conf$$.dir
535  mkdir conf$$.dir 2>/dev/null
536fi
537if (echo >conf$$.file) 2>/dev/null; then
538  if ln -s conf$$.file conf$$ 2>/dev/null; then
539    as_ln_s='ln -s'
540    # ... but there are two gotchas:
541    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
542    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
543    # In both cases, we have to default to `cp -pR'.
544    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
545      as_ln_s='cp -pR'
546  elif ln conf$$.file conf$$ 2>/dev/null; then
547    as_ln_s=ln
548  else
549    as_ln_s='cp -pR'
550  fi
551else
552  as_ln_s='cp -pR'
553fi
554rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
555rmdir conf$$.dir 2>/dev/null
556
557if mkdir -p . 2>/dev/null; then
558  as_mkdir_p='mkdir -p "$as_dir"'
559else
560  test -d ./-p && rmdir ./-p
561  as_mkdir_p=false
562fi
563
564as_test_x='test -x'
565as_executable_p=as_fn_executable_p
566
567# Sed expression to map a string onto a valid CPP name.
568as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
570# Sed expression to map a string onto a valid variable name.
571as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573SHELL=${CONFIG_SHELL-/bin/sh}
574
575
576test -n "$DJDIR" || exec 7<&0 </dev/null
577exec 6>&1
578
579# Name of the host.
580# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
581# so uname gets run too.
582ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
583
584#
585# Initializations.
586#
587ac_default_prefix=/usr/local
588ac_clean_files=
589ac_config_libobj_dir=.
590LIBOBJS=
591cross_compiling=no
592subdirs=
593MFLAGS=
594MAKEFLAGS=
595
596# Identity of this package.
597PACKAGE_NAME='xfce4-session'
598PACKAGE_TARNAME='xfce4-session'
599PACKAGE_VERSION='4.16.0'
600PACKAGE_STRING='xfce4-session 4.16.0'
601PACKAGE_BUGREPORT='https://bugzilla.xfce.org/'
602PACKAGE_URL=''
603
604# Factoring default headers for most tests.
605ac_includes_default="\
606#include <stdio.h>
607#ifdef HAVE_SYS_TYPES_H
608# include <sys/types.h>
609#endif
610#ifdef HAVE_SYS_STAT_H
611# include <sys/stat.h>
612#endif
613#ifdef STDC_HEADERS
614# include <stdlib.h>
615# include <stddef.h>
616#else
617# ifdef HAVE_STDLIB_H
618#  include <stdlib.h>
619# endif
620#endif
621#ifdef HAVE_STRING_H
622# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623#  include <memory.h>
624# endif
625# include <string.h>
626#endif
627#ifdef HAVE_STRINGS_H
628# include <strings.h>
629#endif
630#ifdef HAVE_INTTYPES_H
631# include <inttypes.h>
632#endif
633#ifdef HAVE_STDINT_H
634# include <stdint.h>
635#endif
636#ifdef HAVE_UNISTD_H
637# include <unistd.h>
638#endif"
639
640ac_subst_vars='am__EXEEXT_FALSE
641am__EXEEXT_TRUE
642LTLIBOBJS
643BACKEND
644XSESSION_PREFIX
645ICEAUTH
646HAVE_POLKIT_FALSE
647HAVE_POLKIT_TRUE
648POLKIT_REQUIRED_VERSION
649POLKIT_LIBS
650POLKIT_CFLAGS
651POLKIT_VERSION
652XFCONF_REQUIRED_VERSION
653XFCONF_LIBS
654XFCONF_CFLAGS
655XFCONF_VERSION
656LIBWNCK_REQUIRED_VERSION
657LIBWNCK_LIBS
658LIBWNCK_CFLAGS
659LIBWNCK_VERSION
660GMODULE_REQUIRED_VERSION
661GMODULE_LIBS
662GMODULE_CFLAGS
663GMODULE_VERSION
664GIO_REQUIRED_VERSION
665GIO_LIBS
666GIO_CFLAGS
667GIO_VERSION
668GTK_REQUIRED_VERSION
669GTK_LIBS
670GTK_CFLAGS
671GTK_VERSION
672LIBXFCE4UI_REQUIRED_VERSION
673LIBXFCE4UI_LIBS
674LIBXFCE4UI_CFLAGS
675LIBXFCE4UI_VERSION
676LIBXFCE4UTIL_REQUIRED_VERSION
677LIBXFCE4UTIL_LIBS
678LIBXFCE4UTIL_CFLAGS
679LIBXFCE4UTIL_VERSION
680PKG_CONFIG_LIBDIR
681PKG_CONFIG_PATH
682PKG_CONFIG
683XGETTEXT_ARGS
684MKINSTALLDIRS
685POSUB
686POFILES
687PO_IN_DATADIR_FALSE
688PO_IN_DATADIR_TRUE
689INTLLIBS
690INSTOBJEXT
691GMOFILES
692DATADIRNAME
693CATOBJEXT
694CATALOGS
695MSGFMT_OPTS
696INTL_MACOSX_LIBS
697GETTEXT_PACKAGE
698LIBSM_LIBS
699LIBSM_LDFLAGS
700LIBSM_CFLAGS
701LIBX11_LIBS
702LIBX11_LDFLAGS
703LIBX11_CFLAGS
704X_EXTRA_LIBS
705X_LIBS
706X_PRE_LIBS
707X_CFLAGS
708XMKMF
709LIBM
710LIBOBJS
711LT_SYS_LIBRARY_PATH
712OTOOL64
713OTOOL
714LIPO
715NMEDIT
716DSYMUTIL
717MANIFEST_TOOL
718RANLIB
719ac_ct_AR
720AR
721DLLTOOL
722OBJDUMP
723NM
724ac_ct_DUMPBIN
725DUMPBIN
726LD
727FGREP
728host_os
729host_vendor
730host_cpu
731host
732build_os
733build_vendor
734build_cpu
735build
736LIBTOOL
737SED
738ALL_LINGUAS
739INTLTOOL_PERL
740GMSGFMT
741MSGFMT
742MSGMERGE
743XGETTEXT
744INTLTOOL_POLICY_RULE
745INTLTOOL_SERVICE_RULE
746INTLTOOL_THEME_RULE
747INTLTOOL_SCHEMAS_RULE
748INTLTOOL_CAVES_RULE
749INTLTOOL_XML_NOMERGE_RULE
750INTLTOOL_XML_RULE
751INTLTOOL_KBD_RULE
752INTLTOOL_XAM_RULE
753INTLTOOL_UI_RULE
754INTLTOOL_SOUNDLIST_RULE
755INTLTOOL_SHEET_RULE
756INTLTOOL_SERVER_RULE
757INTLTOOL_PONG_RULE
758INTLTOOL_OAF_RULE
759INTLTOOL_PROP_RULE
760INTLTOOL_KEYS_RULE
761INTLTOOL_DIRECTORY_RULE
762INTLTOOL_DESKTOP_RULE
763intltool__v_merge_options_0
764intltool__v_merge_options_
765INTLTOOL_V_MERGE_OPTIONS
766INTLTOOL__v_MERGE_0
767INTLTOOL__v_MERGE_
768INTLTOOL_V_MERGE
769INTLTOOL_EXTRACT
770INTLTOOL_MERGE
771INTLTOOL_UPDATE
772USE_NLS
773LN_S
774HAVE_OS_CYGWIN_FALSE
775HAVE_OS_CYGWIN_TRUE
776EGREP
777GREP
778CPP
779am__fastdepCC_FALSE
780am__fastdepCC_TRUE
781CCDEPMODE
782am__nodep
783AMDEPBACKSLASH
784AMDEP_FALSE
785AMDEP_TRUE
786am__include
787DEPDIR
788OBJEXT
789EXEEXT
790ac_ct_CC
791CPPFLAGS
792LDFLAGS
793CFLAGS
794CC
795HELPER_PATH_PREFIX
796MAINT
797MAINTAINER_MODE_FALSE
798MAINTAINER_MODE_TRUE
799AM_BACKSLASH
800AM_DEFAULT_VERBOSITY
801AM_DEFAULT_V
802AM_V
803am__untar
804am__tar
805AMTAR
806am__leading_dot
807AWK
808mkdir_p
809MKDIR_P
810INSTALL_STRIP_PROGRAM
811STRIP
812install_sh
813MAKEINFO
814AUTOHEADER
815AUTOMAKE
816AUTOCONF
817ACLOCAL
818VERSION
819PACKAGE
820CYGPATH_W
821am__isrc
822INSTALL_DATA
823INSTALL_SCRIPT
824INSTALL_PROGRAM
825SET_MAKE
826target_alias
827host_alias
828build_alias
829LIBS
830ECHO_T
831ECHO_N
832ECHO_C
833DEFS
834mandir
835localedir
836libdir
837psdir
838pdfdir
839dvidir
840htmldir
841infodir
842docdir
843oldincludedir
844includedir
845runstatedir
846localstatedir
847sharedstatedir
848sysconfdir
849datadir
850datarootdir
851libexecdir
852sbindir
853bindir
854program_transform_name
855prefix
856exec_prefix
857PACKAGE_URL
858PACKAGE_BUGREPORT
859PACKAGE_STRING
860PACKAGE_VERSION
861PACKAGE_TARNAME
862PACKAGE_NAME
863PATH_SEPARATOR
864SHELL
865am__quote'
866ac_subst_files=''
867ac_user_opts='
868enable_option_checking
869enable_silent_rules
870enable_maintainer_mode
871with_helper_path_prefix
872enable_dependency_tracking
873enable_nls
874enable_static
875enable_shared
876with_pic
877enable_fast_install
878with_aix_soname
879with_gnu_ld
880with_sysroot
881enable_libtool_lock
882with_x
883with_locales_dir
884enable_polkit
885enable_debug
886enable_linker_opts
887with_xsession_prefix
888enable_legacy_sm
889with_backend
890'
891      ac_precious_vars='build_alias
892host_alias
893target_alias
894CC
895CFLAGS
896LDFLAGS
897LIBS
898CPPFLAGS
899CPP
900LT_SYS_LIBRARY_PATH
901XMKMF
902PKG_CONFIG
903PKG_CONFIG_PATH
904PKG_CONFIG_LIBDIR'
905
906
907# Initialize some variables set by options.
908ac_init_help=
909ac_init_version=false
910ac_unrecognized_opts=
911ac_unrecognized_sep=
912# The variables have the same names as the options, with
913# dashes changed to underlines.
914cache_file=/dev/null
915exec_prefix=NONE
916no_create=
917no_recursion=
918prefix=NONE
919program_prefix=NONE
920program_suffix=NONE
921program_transform_name=s,x,x,
922silent=
923site=
924srcdir=
925verbose=
926x_includes=NONE
927x_libraries=NONE
928
929# Installation directory options.
930# These are left unexpanded so users can "make install exec_prefix=/foo"
931# and all the variables that are supposed to be based on exec_prefix
932# by default will actually change.
933# Use braces instead of parens because sh, perl, etc. also accept them.
934# (The list follows the same order as the GNU Coding Standards.)
935bindir='${exec_prefix}/bin'
936sbindir='${exec_prefix}/sbin'
937libexecdir='${exec_prefix}/libexec'
938datarootdir='${prefix}/share'
939datadir='${datarootdir}'
940sysconfdir='${prefix}/etc'
941sharedstatedir='${prefix}/com'
942localstatedir='${prefix}/var'
943runstatedir='${localstatedir}/run'
944includedir='${prefix}/include'
945oldincludedir='/usr/include'
946docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
947infodir='${datarootdir}/info'
948htmldir='${docdir}'
949dvidir='${docdir}'
950pdfdir='${docdir}'
951psdir='${docdir}'
952libdir='${exec_prefix}/lib'
953localedir='${datarootdir}/locale'
954mandir='${datarootdir}/man'
955
956ac_prev=
957ac_dashdash=
958for ac_option
959do
960  # If the previous option needs an argument, assign it.
961  if test -n "$ac_prev"; then
962    eval $ac_prev=\$ac_option
963    ac_prev=
964    continue
965  fi
966
967  case $ac_option in
968  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
969  *=)   ac_optarg= ;;
970  *)    ac_optarg=yes ;;
971  esac
972
973  # Accept the important Cygnus configure options, so we can diagnose typos.
974
975  case $ac_dashdash$ac_option in
976  --)
977    ac_dashdash=yes ;;
978
979  -bindir | --bindir | --bindi | --bind | --bin | --bi)
980    ac_prev=bindir ;;
981  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
982    bindir=$ac_optarg ;;
983
984  -build | --build | --buil | --bui | --bu)
985    ac_prev=build_alias ;;
986  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
987    build_alias=$ac_optarg ;;
988
989  -cache-file | --cache-file | --cache-fil | --cache-fi \
990  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
991    ac_prev=cache_file ;;
992  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
993  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
994    cache_file=$ac_optarg ;;
995
996  --config-cache | -C)
997    cache_file=config.cache ;;
998
999  -datadir | --datadir | --datadi | --datad)
1000    ac_prev=datadir ;;
1001  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1002    datadir=$ac_optarg ;;
1003
1004  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1005  | --dataroo | --dataro | --datar)
1006    ac_prev=datarootdir ;;
1007  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1008  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1009    datarootdir=$ac_optarg ;;
1010
1011  -disable-* | --disable-*)
1012    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013    # Reject names that are not valid shell variable names.
1014    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015      as_fn_error $? "invalid feature name: $ac_useropt"
1016    ac_useropt_orig=$ac_useropt
1017    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018    case $ac_user_opts in
1019      *"
1020"enable_$ac_useropt"
1021"*) ;;
1022      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1023	 ac_unrecognized_sep=', ';;
1024    esac
1025    eval enable_$ac_useropt=no ;;
1026
1027  -docdir | --docdir | --docdi | --doc | --do)
1028    ac_prev=docdir ;;
1029  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1030    docdir=$ac_optarg ;;
1031
1032  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1033    ac_prev=dvidir ;;
1034  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1035    dvidir=$ac_optarg ;;
1036
1037  -enable-* | --enable-*)
1038    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039    # Reject names that are not valid shell variable names.
1040    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041      as_fn_error $? "invalid feature name: $ac_useropt"
1042    ac_useropt_orig=$ac_useropt
1043    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044    case $ac_user_opts in
1045      *"
1046"enable_$ac_useropt"
1047"*) ;;
1048      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1049	 ac_unrecognized_sep=', ';;
1050    esac
1051    eval enable_$ac_useropt=\$ac_optarg ;;
1052
1053  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1054  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1055  | --exec | --exe | --ex)
1056    ac_prev=exec_prefix ;;
1057  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1058  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1059  | --exec=* | --exe=* | --ex=*)
1060    exec_prefix=$ac_optarg ;;
1061
1062  -gas | --gas | --ga | --g)
1063    # Obsolete; use --with-gas.
1064    with_gas=yes ;;
1065
1066  -help | --help | --hel | --he | -h)
1067    ac_init_help=long ;;
1068  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1069    ac_init_help=recursive ;;
1070  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1071    ac_init_help=short ;;
1072
1073  -host | --host | --hos | --ho)
1074    ac_prev=host_alias ;;
1075  -host=* | --host=* | --hos=* | --ho=*)
1076    host_alias=$ac_optarg ;;
1077
1078  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1079    ac_prev=htmldir ;;
1080  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1081  | --ht=*)
1082    htmldir=$ac_optarg ;;
1083
1084  -includedir | --includedir | --includedi | --included | --include \
1085  | --includ | --inclu | --incl | --inc)
1086    ac_prev=includedir ;;
1087  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1088  | --includ=* | --inclu=* | --incl=* | --inc=*)
1089    includedir=$ac_optarg ;;
1090
1091  -infodir | --infodir | --infodi | --infod | --info | --inf)
1092    ac_prev=infodir ;;
1093  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1094    infodir=$ac_optarg ;;
1095
1096  -libdir | --libdir | --libdi | --libd)
1097    ac_prev=libdir ;;
1098  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1099    libdir=$ac_optarg ;;
1100
1101  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1102  | --libexe | --libex | --libe)
1103    ac_prev=libexecdir ;;
1104  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1105  | --libexe=* | --libex=* | --libe=*)
1106    libexecdir=$ac_optarg ;;
1107
1108  -localedir | --localedir | --localedi | --localed | --locale)
1109    ac_prev=localedir ;;
1110  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1111    localedir=$ac_optarg ;;
1112
1113  -localstatedir | --localstatedir | --localstatedi | --localstated \
1114  | --localstate | --localstat | --localsta | --localst | --locals)
1115    ac_prev=localstatedir ;;
1116  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1117  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1118    localstatedir=$ac_optarg ;;
1119
1120  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1121    ac_prev=mandir ;;
1122  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1123    mandir=$ac_optarg ;;
1124
1125  -nfp | --nfp | --nf)
1126    # Obsolete; use --without-fp.
1127    with_fp=no ;;
1128
1129  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1130  | --no-cr | --no-c | -n)
1131    no_create=yes ;;
1132
1133  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1134  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1135    no_recursion=yes ;;
1136
1137  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1138  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1139  | --oldin | --oldi | --old | --ol | --o)
1140    ac_prev=oldincludedir ;;
1141  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1142  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1143  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1144    oldincludedir=$ac_optarg ;;
1145
1146  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1147    ac_prev=prefix ;;
1148  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1149    prefix=$ac_optarg ;;
1150
1151  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1152  | --program-pre | --program-pr | --program-p)
1153    ac_prev=program_prefix ;;
1154  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1155  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1156    program_prefix=$ac_optarg ;;
1157
1158  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1159  | --program-suf | --program-su | --program-s)
1160    ac_prev=program_suffix ;;
1161  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1162  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1163    program_suffix=$ac_optarg ;;
1164
1165  -program-transform-name | --program-transform-name \
1166  | --program-transform-nam | --program-transform-na \
1167  | --program-transform-n | --program-transform- \
1168  | --program-transform | --program-transfor \
1169  | --program-transfo | --program-transf \
1170  | --program-trans | --program-tran \
1171  | --progr-tra | --program-tr | --program-t)
1172    ac_prev=program_transform_name ;;
1173  -program-transform-name=* | --program-transform-name=* \
1174  | --program-transform-nam=* | --program-transform-na=* \
1175  | --program-transform-n=* | --program-transform-=* \
1176  | --program-transform=* | --program-transfor=* \
1177  | --program-transfo=* | --program-transf=* \
1178  | --program-trans=* | --program-tran=* \
1179  | --progr-tra=* | --program-tr=* | --program-t=*)
1180    program_transform_name=$ac_optarg ;;
1181
1182  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1183    ac_prev=pdfdir ;;
1184  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1185    pdfdir=$ac_optarg ;;
1186
1187  -psdir | --psdir | --psdi | --psd | --ps)
1188    ac_prev=psdir ;;
1189  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1190    psdir=$ac_optarg ;;
1191
1192  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1193  | -silent | --silent | --silen | --sile | --sil)
1194    silent=yes ;;
1195
1196  -runstatedir | --runstatedir | --runstatedi | --runstated \
1197  | --runstate | --runstat | --runsta | --runst | --runs \
1198  | --run | --ru | --r)
1199    ac_prev=runstatedir ;;
1200  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1201  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1202  | --run=* | --ru=* | --r=*)
1203    runstatedir=$ac_optarg ;;
1204
1205  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1206    ac_prev=sbindir ;;
1207  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1208  | --sbi=* | --sb=*)
1209    sbindir=$ac_optarg ;;
1210
1211  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1212  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213  | --sharedst | --shareds | --shared | --share | --shar \
1214  | --sha | --sh)
1215    ac_prev=sharedstatedir ;;
1216  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1219  | --sha=* | --sh=*)
1220    sharedstatedir=$ac_optarg ;;
1221
1222  -site | --site | --sit)
1223    ac_prev=site ;;
1224  -site=* | --site=* | --sit=*)
1225    site=$ac_optarg ;;
1226
1227  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1228    ac_prev=srcdir ;;
1229  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230    srcdir=$ac_optarg ;;
1231
1232  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233  | --syscon | --sysco | --sysc | --sys | --sy)
1234    ac_prev=sysconfdir ;;
1235  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237    sysconfdir=$ac_optarg ;;
1238
1239  -target | --target | --targe | --targ | --tar | --ta | --t)
1240    ac_prev=target_alias ;;
1241  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242    target_alias=$ac_optarg ;;
1243
1244  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1245    verbose=yes ;;
1246
1247  -version | --version | --versio | --versi | --vers | -V)
1248    ac_init_version=: ;;
1249
1250  -with-* | --with-*)
1251    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252    # Reject names that are not valid shell variable names.
1253    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254      as_fn_error $? "invalid package name: $ac_useropt"
1255    ac_useropt_orig=$ac_useropt
1256    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257    case $ac_user_opts in
1258      *"
1259"with_$ac_useropt"
1260"*) ;;
1261      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262	 ac_unrecognized_sep=', ';;
1263    esac
1264    eval with_$ac_useropt=\$ac_optarg ;;
1265
1266  -without-* | --without-*)
1267    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268    # Reject names that are not valid shell variable names.
1269    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270      as_fn_error $? "invalid package name: $ac_useropt"
1271    ac_useropt_orig=$ac_useropt
1272    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273    case $ac_user_opts in
1274      *"
1275"with_$ac_useropt"
1276"*) ;;
1277      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1278	 ac_unrecognized_sep=', ';;
1279    esac
1280    eval with_$ac_useropt=no ;;
1281
1282  --x)
1283    # Obsolete; use --with-x.
1284    with_x=yes ;;
1285
1286  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1287  | --x-incl | --x-inc | --x-in | --x-i)
1288    ac_prev=x_includes ;;
1289  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1290  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1291    x_includes=$ac_optarg ;;
1292
1293  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1294  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1295    ac_prev=x_libraries ;;
1296  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1297  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298    x_libraries=$ac_optarg ;;
1299
1300  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1301Try \`$0 --help' for more information"
1302    ;;
1303
1304  *=*)
1305    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1306    # Reject names that are not valid shell variable names.
1307    case $ac_envvar in #(
1308      '' | [0-9]* | *[!_$as_cr_alnum]* )
1309      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310    esac
1311    eval $ac_envvar=\$ac_optarg
1312    export $ac_envvar ;;
1313
1314  *)
1315    # FIXME: should be removed in autoconf 3.0.
1316    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1318      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1319    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1320    ;;
1321
1322  esac
1323done
1324
1325if test -n "$ac_prev"; then
1326  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327  as_fn_error $? "missing argument to $ac_option"
1328fi
1329
1330if test -n "$ac_unrecognized_opts"; then
1331  case $enable_option_checking in
1332    no) ;;
1333    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335  esac
1336fi
1337
1338# Check all directory arguments for consistency.
1339for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1340		datadir sysconfdir sharedstatedir localstatedir includedir \
1341		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1342		libdir localedir mandir runstatedir
1343do
1344  eval ac_val=\$$ac_var
1345  # Remove trailing slashes.
1346  case $ac_val in
1347    */ )
1348      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1349      eval $ac_var=\$ac_val;;
1350  esac
1351  # Be sure to have absolute directory names.
1352  case $ac_val in
1353    [\\/$]* | ?:[\\/]* )  continue;;
1354    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355  esac
1356  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357done
1358
1359# There might be people who depend on the old broken behavior: `$host'
1360# used to hold the argument of --host etc.
1361# FIXME: To remove some day.
1362build=$build_alias
1363host=$host_alias
1364target=$target_alias
1365
1366# FIXME: To remove some day.
1367if test "x$host_alias" != x; then
1368  if test "x$build_alias" = x; then
1369    cross_compiling=maybe
1370  elif test "x$build_alias" != "x$host_alias"; then
1371    cross_compiling=yes
1372  fi
1373fi
1374
1375ac_tool_prefix=
1376test -n "$host_alias" && ac_tool_prefix=$host_alias-
1377
1378test "$silent" = yes && exec 6>/dev/null
1379
1380
1381ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382ac_ls_di=`ls -di .` &&
1383ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384  as_fn_error $? "working directory cannot be determined"
1385test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386  as_fn_error $? "pwd does not report name of working directory"
1387
1388
1389# Find the source files, if location was not specified.
1390if test -z "$srcdir"; then
1391  ac_srcdir_defaulted=yes
1392  # Try the directory containing this script, then the parent directory.
1393  ac_confdir=`$as_dirname -- "$as_myself" ||
1394$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395	 X"$as_myself" : 'X\(//\)[^/]' \| \
1396	 X"$as_myself" : 'X\(//\)$' \| \
1397	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398$as_echo X"$as_myself" |
1399    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400	    s//\1/
1401	    q
1402	  }
1403	  /^X\(\/\/\)[^/].*/{
1404	    s//\1/
1405	    q
1406	  }
1407	  /^X\(\/\/\)$/{
1408	    s//\1/
1409	    q
1410	  }
1411	  /^X\(\/\).*/{
1412	    s//\1/
1413	    q
1414	  }
1415	  s/.*/./; q'`
1416  srcdir=$ac_confdir
1417  if test ! -r "$srcdir/$ac_unique_file"; then
1418    srcdir=..
1419  fi
1420else
1421  ac_srcdir_defaulted=no
1422fi
1423if test ! -r "$srcdir/$ac_unique_file"; then
1424  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1426fi
1427ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428ac_abs_confdir=`(
1429	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1430	pwd)`
1431# When building in place, set srcdir=.
1432if test "$ac_abs_confdir" = "$ac_pwd"; then
1433  srcdir=.
1434fi
1435# Remove unnecessary trailing slashes from srcdir.
1436# Double slashes in file names in object file debugging info
1437# mess up M-x gdb in Emacs.
1438case $srcdir in
1439*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440esac
1441for ac_var in $ac_precious_vars; do
1442  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443  eval ac_env_${ac_var}_value=\$${ac_var}
1444  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446done
1447
1448#
1449# Report the --help message.
1450#
1451if test "$ac_init_help" = "long"; then
1452  # Omit some internal or obsolete options to make the list less imposing.
1453  # This message is too long to be a string in the A/UX 3.1 sh.
1454  cat <<_ACEOF
1455\`configure' configures xfce4-session 4.16.0 to adapt to many kinds of systems.
1456
1457Usage: $0 [OPTION]... [VAR=VALUE]...
1458
1459To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460VAR=VALUE.  See below for descriptions of some of the useful variables.
1461
1462Defaults for the options are specified in brackets.
1463
1464Configuration:
1465  -h, --help              display this help and exit
1466      --help=short        display options specific to this package
1467      --help=recursive    display the short help of all the included packages
1468  -V, --version           display version information and exit
1469  -q, --quiet, --silent   do not print \`checking ...' messages
1470      --cache-file=FILE   cache test results in FILE [disabled]
1471  -C, --config-cache      alias for \`--cache-file=config.cache'
1472  -n, --no-create         do not create output files
1473      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1474
1475Installation directories:
1476  --prefix=PREFIX         install architecture-independent files in PREFIX
1477                          [$ac_default_prefix]
1478  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1479                          [PREFIX]
1480
1481By default, \`make install' will install all the files in
1482\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1483an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484for instance \`--prefix=\$HOME'.
1485
1486For better control, use the options below.
1487
1488Fine tuning of the installation directories:
1489  --bindir=DIR            user executables [EPREFIX/bin]
1490  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1491  --libexecdir=DIR        program executables [EPREFIX/libexec]
1492  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1493  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1494  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1495  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1496  --libdir=DIR            object code libraries [EPREFIX/lib]
1497  --includedir=DIR        C header files [PREFIX/include]
1498  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1499  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1500  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1501  --infodir=DIR           info documentation [DATAROOTDIR/info]
1502  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1503  --mandir=DIR            man documentation [DATAROOTDIR/man]
1504  --docdir=DIR            documentation root [DATAROOTDIR/doc/xfce4-session]
1505  --htmldir=DIR           html documentation [DOCDIR]
1506  --dvidir=DIR            dvi documentation [DOCDIR]
1507  --pdfdir=DIR            pdf documentation [DOCDIR]
1508  --psdir=DIR             ps documentation [DOCDIR]
1509_ACEOF
1510
1511  cat <<\_ACEOF
1512
1513Program names:
1514  --program-prefix=PREFIX            prepend PREFIX to installed program names
1515  --program-suffix=SUFFIX            append SUFFIX to installed program names
1516  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1517
1518X features:
1519  --x-includes=DIR    X include files are in DIR
1520  --x-libraries=DIR   X library files are in DIR
1521
1522System types:
1523  --build=BUILD     configure for building on BUILD [guessed]
1524  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1525_ACEOF
1526fi
1527
1528if test -n "$ac_init_help"; then
1529  case $ac_init_help in
1530     short | recursive ) echo "Configuration of xfce4-session 4.16.0:";;
1531   esac
1532  cat <<\_ACEOF
1533
1534Optional Features:
1535  --disable-option-checking  ignore unrecognized --enable/--with options
1536  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1537  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1538  --enable-silent-rules   less verbose build output (undo: "make V=1")
1539  --disable-silent-rules  verbose build output (undo: "make V=0")
1540  --enable-maintainer-mode
1541                          enable make rules and dependencies not useful (and
1542                          sometimes confusing) to the casual installer
1543  --enable-dependency-tracking
1544                          do not reject slow dependency extractors
1545  --disable-dependency-tracking
1546                          speeds up one-time build
1547  --disable-nls           do not use Native Language Support
1548  --enable-static[=PKGS]  build static libraries [default=no]
1549  --enable-shared[=PKGS]  build shared libraries [default=yes]
1550  --enable-fast-install[=PKGS]
1551                          optimize for fast installation [default=yes]
1552  --disable-libtool-lock  avoid locking (might break parallel builds)
1553  --enable-polkit         Enable checking for Polkit support
1554                          (default=[])
1555  --disable-polkit        Disable checking for Polkit support
1556  --enable-debug[=no|minimum|yes|full]
1557                          Build with debugging support
1558                          [default=[minimum]]
1559  --disable-debug         Include no debugging support
1560  --disable-linker-opts   Disable linker optimizations
1561  --enable-legacy-sm      Enable X11R5 session management
1562  --disable-legacy-sm     Disable X11R5 session management
1563
1564Optional Packages:
1565  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1566  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1567  --with-helper-path-prefix=PATH
1568                          Path prefix under which helper executables will be
1569                          installed (default: $libdir)
1570  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1571                          both]
1572  --with-aix-soname=aix|svr4|both
1573                          shared library versioning (aka "SONAME") variant to
1574                          provide on AIX, [default=aix].
1575  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1576  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1577                          compiler's sysroot if not specified).
1578  --with-x                use the X Window System
1579
1580      --with-locales-dir=DIR  Install locales into DIR
1581
1582  --with-xsession-prefix=XSESSION_PREFIX
1583                          What should be the prefix for the xsession .desktop
1584                          file?
1585  --with-backend=<option> Default backend to use linux, freebsd, openbsd
1586
1587Some influential environment variables:
1588  CC          C compiler command
1589  CFLAGS      C compiler flags
1590  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1591              nonstandard directory <lib dir>
1592  LIBS        libraries to pass to the linker, e.g. -l<library>
1593  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1594              you have headers in a nonstandard directory <include dir>
1595  CPP         C preprocessor
1596  LT_SYS_LIBRARY_PATH
1597              User-defined run-time library search path.
1598  XMKMF       Path to xmkmf, Makefile generator for X Window System
1599  PKG_CONFIG  path to pkg-config utility
1600  PKG_CONFIG_PATH
1601              directories to add to pkg-config's search path
1602  PKG_CONFIG_LIBDIR
1603              path overriding pkg-config's built-in search path
1604
1605Use these variables to override the choices made by `configure' or to help
1606it to find libraries and programs with nonstandard names/locations.
1607
1608Report bugs to <https://bugzilla.xfce.org/>.
1609_ACEOF
1610ac_status=$?
1611fi
1612
1613if test "$ac_init_help" = "recursive"; then
1614  # If there are subdirs, report their specific --help.
1615  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1616    test -d "$ac_dir" ||
1617      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1618      continue
1619    ac_builddir=.
1620
1621case "$ac_dir" in
1622.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623*)
1624  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1625  # A ".." for each directory in $ac_dir_suffix.
1626  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1627  case $ac_top_builddir_sub in
1628  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630  esac ;;
1631esac
1632ac_abs_top_builddir=$ac_pwd
1633ac_abs_builddir=$ac_pwd$ac_dir_suffix
1634# for backward compatibility:
1635ac_top_builddir=$ac_top_build_prefix
1636
1637case $srcdir in
1638  .)  # We are building in place.
1639    ac_srcdir=.
1640    ac_top_srcdir=$ac_top_builddir_sub
1641    ac_abs_top_srcdir=$ac_pwd ;;
1642  [\\/]* | ?:[\\/]* )  # Absolute name.
1643    ac_srcdir=$srcdir$ac_dir_suffix;
1644    ac_top_srcdir=$srcdir
1645    ac_abs_top_srcdir=$srcdir ;;
1646  *) # Relative name.
1647    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648    ac_top_srcdir=$ac_top_build_prefix$srcdir
1649    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1650esac
1651ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652
1653    cd "$ac_dir" || { ac_status=$?; continue; }
1654    # Check for guested configure.
1655    if test -f "$ac_srcdir/configure.gnu"; then
1656      echo &&
1657      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658    elif test -f "$ac_srcdir/configure"; then
1659      echo &&
1660      $SHELL "$ac_srcdir/configure" --help=recursive
1661    else
1662      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663    fi || ac_status=$?
1664    cd "$ac_pwd" || { ac_status=$?; break; }
1665  done
1666fi
1667
1668test -n "$ac_init_help" && exit $ac_status
1669if $ac_init_version; then
1670  cat <<\_ACEOF
1671xfce4-session configure 4.16.0
1672generated by GNU Autoconf 2.69
1673
1674Copyright (C) 2012 Free Software Foundation, Inc.
1675This configure script is free software; the Free Software Foundation
1676gives unlimited permission to copy, distribute and modify it.
1677
1678Copyright (c) 2003-2019
1679        The Xfce development team. All rights reserved.
1680
1681Written for Xfce by Benedikt Meurer <benny@xfce.org>.
1682_ACEOF
1683  exit
1684fi
1685
1686## ------------------------ ##
1687## Autoconf initialization. ##
1688## ------------------------ ##
1689
1690# ac_fn_c_try_compile LINENO
1691# --------------------------
1692# Try to compile conftest.$ac_ext, and return whether this succeeded.
1693ac_fn_c_try_compile ()
1694{
1695  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696  rm -f conftest.$ac_objext
1697  if { { ac_try="$ac_compile"
1698case "(($ac_try" in
1699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700  *) ac_try_echo=$ac_try;;
1701esac
1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703$as_echo "$ac_try_echo"; } >&5
1704  (eval "$ac_compile") 2>conftest.err
1705  ac_status=$?
1706  if test -s conftest.err; then
1707    grep -v '^ *+' conftest.err >conftest.er1
1708    cat conftest.er1 >&5
1709    mv -f conftest.er1 conftest.err
1710  fi
1711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712  test $ac_status = 0; } && {
1713	 test -z "$ac_c_werror_flag" ||
1714	 test ! -s conftest.err
1715       } && test -s conftest.$ac_objext; then :
1716  ac_retval=0
1717else
1718  $as_echo "$as_me: failed program was:" >&5
1719sed 's/^/| /' conftest.$ac_ext >&5
1720
1721	ac_retval=1
1722fi
1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724  as_fn_set_status $ac_retval
1725
1726} # ac_fn_c_try_compile
1727
1728# ac_fn_c_try_cpp LINENO
1729# ----------------------
1730# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731ac_fn_c_try_cpp ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  if { { ac_try="$ac_cpp conftest.$ac_ext"
1735case "(($ac_try" in
1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737  *) ac_try_echo=$ac_try;;
1738esac
1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740$as_echo "$ac_try_echo"; } >&5
1741  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1742  ac_status=$?
1743  if test -s conftest.err; then
1744    grep -v '^ *+' conftest.err >conftest.er1
1745    cat conftest.er1 >&5
1746    mv -f conftest.er1 conftest.err
1747  fi
1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749  test $ac_status = 0; } > conftest.i && {
1750	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1751	 test ! -s conftest.err
1752       }; then :
1753  ac_retval=0
1754else
1755  $as_echo "$as_me: failed program was:" >&5
1756sed 's/^/| /' conftest.$ac_ext >&5
1757
1758    ac_retval=1
1759fi
1760  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761  as_fn_set_status $ac_retval
1762
1763} # ac_fn_c_try_cpp
1764
1765# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1766# -------------------------------------------------------
1767# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1768# the include files in INCLUDES and setting the cache variable VAR
1769# accordingly.
1770ac_fn_c_check_header_mongrel ()
1771{
1772  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773  if eval \${$3+:} false; then :
1774  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775$as_echo_n "checking for $2... " >&6; }
1776if eval \${$3+:} false; then :
1777  $as_echo_n "(cached) " >&6
1778fi
1779eval ac_res=\$$3
1780	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781$as_echo "$ac_res" >&6; }
1782else
1783  # Is the header compilable?
1784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1785$as_echo_n "checking $2 usability... " >&6; }
1786cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787/* end confdefs.h.  */
1788$4
1789#include <$2>
1790_ACEOF
1791if ac_fn_c_try_compile "$LINENO"; then :
1792  ac_header_compiler=yes
1793else
1794  ac_header_compiler=no
1795fi
1796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1798$as_echo "$ac_header_compiler" >&6; }
1799
1800# Is the header present?
1801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1802$as_echo_n "checking $2 presence... " >&6; }
1803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804/* end confdefs.h.  */
1805#include <$2>
1806_ACEOF
1807if ac_fn_c_try_cpp "$LINENO"; then :
1808  ac_header_preproc=yes
1809else
1810  ac_header_preproc=no
1811fi
1812rm -f conftest.err conftest.i conftest.$ac_ext
1813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1814$as_echo "$ac_header_preproc" >&6; }
1815
1816# So?  What about this header?
1817case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1818  yes:no: )
1819    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1820$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1821    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1822$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823    ;;
1824  no:yes:* )
1825    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1826$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1827    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1828$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1829    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1830$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1831    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1832$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1833    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1834$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1835( $as_echo "## ----------------------------------------- ##
1836## Report this to https://bugzilla.xfce.org/ ##
1837## ----------------------------------------- ##"
1838     ) | sed "s/^/$as_me: WARNING:     /" >&2
1839    ;;
1840esac
1841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842$as_echo_n "checking for $2... " >&6; }
1843if eval \${$3+:} false; then :
1844  $as_echo_n "(cached) " >&6
1845else
1846  eval "$3=\$ac_header_compiler"
1847fi
1848eval ac_res=\$$3
1849	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850$as_echo "$ac_res" >&6; }
1851fi
1852  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
1854} # ac_fn_c_check_header_mongrel
1855
1856# ac_fn_c_try_run LINENO
1857# ----------------------
1858# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1859# that executables *can* be run.
1860ac_fn_c_try_run ()
1861{
1862  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863  if { { ac_try="$ac_link"
1864case "(($ac_try" in
1865  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866  *) ac_try_echo=$ac_try;;
1867esac
1868eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869$as_echo "$ac_try_echo"; } >&5
1870  (eval "$ac_link") 2>&5
1871  ac_status=$?
1872  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1874  { { case "(($ac_try" in
1875  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876  *) ac_try_echo=$ac_try;;
1877esac
1878eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879$as_echo "$ac_try_echo"; } >&5
1880  (eval "$ac_try") 2>&5
1881  ac_status=$?
1882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883  test $ac_status = 0; }; }; then :
1884  ac_retval=0
1885else
1886  $as_echo "$as_me: program exited with status $ac_status" >&5
1887       $as_echo "$as_me: failed program was:" >&5
1888sed 's/^/| /' conftest.$ac_ext >&5
1889
1890       ac_retval=$ac_status
1891fi
1892  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894  as_fn_set_status $ac_retval
1895
1896} # ac_fn_c_try_run
1897
1898# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1899# -------------------------------------------------------
1900# Tests whether HEADER exists and can be compiled using the include files in
1901# INCLUDES, setting the cache variable VAR accordingly.
1902ac_fn_c_check_header_compile ()
1903{
1904  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906$as_echo_n "checking for $2... " >&6; }
1907if eval \${$3+:} false; then :
1908  $as_echo_n "(cached) " >&6
1909else
1910  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911/* end confdefs.h.  */
1912$4
1913#include <$2>
1914_ACEOF
1915if ac_fn_c_try_compile "$LINENO"; then :
1916  eval "$3=yes"
1917else
1918  eval "$3=no"
1919fi
1920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921fi
1922eval ac_res=\$$3
1923	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924$as_echo "$ac_res" >&6; }
1925  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926
1927} # ac_fn_c_check_header_compile
1928
1929# ac_fn_c_try_link LINENO
1930# -----------------------
1931# Try to link conftest.$ac_ext, and return whether this succeeded.
1932ac_fn_c_try_link ()
1933{
1934  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935  rm -f conftest.$ac_objext conftest$ac_exeext
1936  if { { ac_try="$ac_link"
1937case "(($ac_try" in
1938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939  *) ac_try_echo=$ac_try;;
1940esac
1941eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942$as_echo "$ac_try_echo"; } >&5
1943  (eval "$ac_link") 2>conftest.err
1944  ac_status=$?
1945  if test -s conftest.err; then
1946    grep -v '^ *+' conftest.err >conftest.er1
1947    cat conftest.er1 >&5
1948    mv -f conftest.er1 conftest.err
1949  fi
1950  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951  test $ac_status = 0; } && {
1952	 test -z "$ac_c_werror_flag" ||
1953	 test ! -s conftest.err
1954       } && test -s conftest$ac_exeext && {
1955	 test "$cross_compiling" = yes ||
1956	 test -x conftest$ac_exeext
1957       }; then :
1958  ac_retval=0
1959else
1960  $as_echo "$as_me: failed program was:" >&5
1961sed 's/^/| /' conftest.$ac_ext >&5
1962
1963	ac_retval=1
1964fi
1965  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1966  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1967  # interfere with the next link command; also delete a directory that is
1968  # left behind by Apple's compiler.  We do this before executing the actions.
1969  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1970  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971  as_fn_set_status $ac_retval
1972
1973} # ac_fn_c_try_link
1974
1975# ac_fn_c_check_func LINENO FUNC VAR
1976# ----------------------------------
1977# Tests whether FUNC exists, setting the cache variable VAR accordingly
1978ac_fn_c_check_func ()
1979{
1980  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982$as_echo_n "checking for $2... " >&6; }
1983if eval \${$3+:} false; then :
1984  $as_echo_n "(cached) " >&6
1985else
1986  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987/* end confdefs.h.  */
1988/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1989   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1990#define $2 innocuous_$2
1991
1992/* System header to define __stub macros and hopefully few prototypes,
1993    which can conflict with char $2 (); below.
1994    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1995    <limits.h> exists even on freestanding compilers.  */
1996
1997#ifdef __STDC__
1998# include <limits.h>
1999#else
2000# include <assert.h>
2001#endif
2002
2003#undef $2
2004
2005/* Override any GCC internal prototype to avoid an error.
2006   Use char because int might match the return type of a GCC
2007   builtin and then its argument prototype would still apply.  */
2008#ifdef __cplusplus
2009extern "C"
2010#endif
2011char $2 ();
2012/* The GNU C library defines this for functions which it implements
2013    to always fail with ENOSYS.  Some functions are actually named
2014    something starting with __ and the normal name is an alias.  */
2015#if defined __stub_$2 || defined __stub___$2
2016choke me
2017#endif
2018
2019int
2020main ()
2021{
2022return $2 ();
2023  ;
2024  return 0;
2025}
2026_ACEOF
2027if ac_fn_c_try_link "$LINENO"; then :
2028  eval "$3=yes"
2029else
2030  eval "$3=no"
2031fi
2032rm -f core conftest.err conftest.$ac_objext \
2033    conftest$ac_exeext conftest.$ac_ext
2034fi
2035eval ac_res=\$$3
2036	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037$as_echo "$ac_res" >&6; }
2038  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039
2040} # ac_fn_c_check_func
2041
2042# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2043# -------------------------------------------
2044# Tests whether TYPE exists after having included INCLUDES, setting cache
2045# variable VAR accordingly.
2046ac_fn_c_check_type ()
2047{
2048  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2050$as_echo_n "checking for $2... " >&6; }
2051if eval \${$3+:} false; then :
2052  $as_echo_n "(cached) " >&6
2053else
2054  eval "$3=no"
2055  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056/* end confdefs.h.  */
2057$4
2058int
2059main ()
2060{
2061if (sizeof ($2))
2062	 return 0;
2063  ;
2064  return 0;
2065}
2066_ACEOF
2067if ac_fn_c_try_compile "$LINENO"; then :
2068  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069/* end confdefs.h.  */
2070$4
2071int
2072main ()
2073{
2074if (sizeof (($2)))
2075	    return 0;
2076  ;
2077  return 0;
2078}
2079_ACEOF
2080if ac_fn_c_try_compile "$LINENO"; then :
2081
2082else
2083  eval "$3=yes"
2084fi
2085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086fi
2087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088fi
2089eval ac_res=\$$3
2090	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091$as_echo "$ac_res" >&6; }
2092  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2093
2094} # ac_fn_c_check_type
2095cat >config.log <<_ACEOF
2096This file contains any messages produced by compilers while
2097running configure, to aid debugging if configure makes a mistake.
2098
2099It was created by xfce4-session $as_me 4.16.0, which was
2100generated by GNU Autoconf 2.69.  Invocation command line was
2101
2102  $ $0 $@
2103
2104_ACEOF
2105exec 5>>config.log
2106{
2107cat <<_ASUNAME
2108## --------- ##
2109## Platform. ##
2110## --------- ##
2111
2112hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2113uname -m = `(uname -m) 2>/dev/null || echo unknown`
2114uname -r = `(uname -r) 2>/dev/null || echo unknown`
2115uname -s = `(uname -s) 2>/dev/null || echo unknown`
2116uname -v = `(uname -v) 2>/dev/null || echo unknown`
2117
2118/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2119/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2120
2121/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2122/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2123/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2124/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2125/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2126/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2127/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2128
2129_ASUNAME
2130
2131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132for as_dir in $PATH
2133do
2134  IFS=$as_save_IFS
2135  test -z "$as_dir" && as_dir=.
2136    $as_echo "PATH: $as_dir"
2137  done
2138IFS=$as_save_IFS
2139
2140} >&5
2141
2142cat >&5 <<_ACEOF
2143
2144
2145## ----------- ##
2146## Core tests. ##
2147## ----------- ##
2148
2149_ACEOF
2150
2151
2152# Keep a trace of the command line.
2153# Strip out --no-create and --no-recursion so they do not pile up.
2154# Strip out --silent because we don't want to record it for future runs.
2155# Also quote any args containing shell meta-characters.
2156# Make two passes to allow for proper duplicate-argument suppression.
2157ac_configure_args=
2158ac_configure_args0=
2159ac_configure_args1=
2160ac_must_keep_next=false
2161for ac_pass in 1 2
2162do
2163  for ac_arg
2164  do
2165    case $ac_arg in
2166    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2167    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2168    | -silent | --silent | --silen | --sile | --sil)
2169      continue ;;
2170    *\'*)
2171      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2172    esac
2173    case $ac_pass in
2174    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2175    2)
2176      as_fn_append ac_configure_args1 " '$ac_arg'"
2177      if test $ac_must_keep_next = true; then
2178	ac_must_keep_next=false # Got value, back to normal.
2179      else
2180	case $ac_arg in
2181	  *=* | --config-cache | -C | -disable-* | --disable-* \
2182	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2183	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2184	  | -with-* | --with-* | -without-* | --without-* | --x)
2185	    case "$ac_configure_args0 " in
2186	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2187	    esac
2188	    ;;
2189	  -* ) ac_must_keep_next=true ;;
2190	esac
2191      fi
2192      as_fn_append ac_configure_args " '$ac_arg'"
2193      ;;
2194    esac
2195  done
2196done
2197{ ac_configure_args0=; unset ac_configure_args0;}
2198{ ac_configure_args1=; unset ac_configure_args1;}
2199
2200# When interrupted or exit'd, cleanup temporary files, and complete
2201# config.log.  We remove comments because anyway the quotes in there
2202# would cause problems or look ugly.
2203# WARNING: Use '\'' to represent an apostrophe within the trap.
2204# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2205trap 'exit_status=$?
2206  # Save into config.log some information that might help in debugging.
2207  {
2208    echo
2209
2210    $as_echo "## ---------------- ##
2211## Cache variables. ##
2212## ---------------- ##"
2213    echo
2214    # The following way of writing the cache mishandles newlines in values,
2215(
2216  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2217    eval ac_val=\$$ac_var
2218    case $ac_val in #(
2219    *${as_nl}*)
2220      case $ac_var in #(
2221      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2222$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2223      esac
2224      case $ac_var in #(
2225      _ | IFS | as_nl) ;; #(
2226      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2227      *) { eval $ac_var=; unset $ac_var;} ;;
2228      esac ;;
2229    esac
2230  done
2231  (set) 2>&1 |
2232    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2233    *${as_nl}ac_space=\ *)
2234      sed -n \
2235	"s/'\''/'\''\\\\'\'''\''/g;
2236	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2237      ;; #(
2238    *)
2239      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2240      ;;
2241    esac |
2242    sort
2243)
2244    echo
2245
2246    $as_echo "## ----------------- ##
2247## Output variables. ##
2248## ----------------- ##"
2249    echo
2250    for ac_var in $ac_subst_vars
2251    do
2252      eval ac_val=\$$ac_var
2253      case $ac_val in
2254      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255      esac
2256      $as_echo "$ac_var='\''$ac_val'\''"
2257    done | sort
2258    echo
2259
2260    if test -n "$ac_subst_files"; then
2261      $as_echo "## ------------------- ##
2262## File substitutions. ##
2263## ------------------- ##"
2264      echo
2265      for ac_var in $ac_subst_files
2266      do
2267	eval ac_val=\$$ac_var
2268	case $ac_val in
2269	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270	esac
2271	$as_echo "$ac_var='\''$ac_val'\''"
2272      done | sort
2273      echo
2274    fi
2275
2276    if test -s confdefs.h; then
2277      $as_echo "## ----------- ##
2278## confdefs.h. ##
2279## ----------- ##"
2280      echo
2281      cat confdefs.h
2282      echo
2283    fi
2284    test "$ac_signal" != 0 &&
2285      $as_echo "$as_me: caught signal $ac_signal"
2286    $as_echo "$as_me: exit $exit_status"
2287  } >&5
2288  rm -f core *.core core.conftest.* &&
2289    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2290    exit $exit_status
2291' 0
2292for ac_signal in 1 2 13 15; do
2293  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2294done
2295ac_signal=0
2296
2297# confdefs.h avoids OS command line length limits that DEFS can exceed.
2298rm -f -r conftest* confdefs.h
2299
2300$as_echo "/* confdefs.h */" > confdefs.h
2301
2302# Predefined preprocessor variables.
2303
2304cat >>confdefs.h <<_ACEOF
2305#define PACKAGE_NAME "$PACKAGE_NAME"
2306_ACEOF
2307
2308cat >>confdefs.h <<_ACEOF
2309#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2310_ACEOF
2311
2312cat >>confdefs.h <<_ACEOF
2313#define PACKAGE_VERSION "$PACKAGE_VERSION"
2314_ACEOF
2315
2316cat >>confdefs.h <<_ACEOF
2317#define PACKAGE_STRING "$PACKAGE_STRING"
2318_ACEOF
2319
2320cat >>confdefs.h <<_ACEOF
2321#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2322_ACEOF
2323
2324cat >>confdefs.h <<_ACEOF
2325#define PACKAGE_URL "$PACKAGE_URL"
2326_ACEOF
2327
2328
2329# Let the site file select an alternate cache file if it wants to.
2330# Prefer an explicitly selected file to automatically selected ones.
2331ac_site_file1=NONE
2332ac_site_file2=NONE
2333if test -n "$CONFIG_SITE"; then
2334  # We do not want a PATH search for config.site.
2335  case $CONFIG_SITE in #((
2336    -*)  ac_site_file1=./$CONFIG_SITE;;
2337    */*) ac_site_file1=$CONFIG_SITE;;
2338    *)   ac_site_file1=./$CONFIG_SITE;;
2339  esac
2340elif test "x$prefix" != xNONE; then
2341  ac_site_file1=$prefix/share/config.site
2342  ac_site_file2=$prefix/etc/config.site
2343else
2344  ac_site_file1=$ac_default_prefix/share/config.site
2345  ac_site_file2=$ac_default_prefix/etc/config.site
2346fi
2347for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2348do
2349  test "x$ac_site_file" = xNONE && continue
2350  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2351    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2352$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2353    sed 's/^/| /' "$ac_site_file" >&5
2354    . "$ac_site_file" \
2355      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2357as_fn_error $? "failed to load site script $ac_site_file
2358See \`config.log' for more details" "$LINENO" 5; }
2359  fi
2360done
2361
2362if test -r "$cache_file"; then
2363  # Some versions of bash will fail to source /dev/null (special files
2364  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2365  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2366    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2367$as_echo "$as_me: loading cache $cache_file" >&6;}
2368    case $cache_file in
2369      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2370      *)                      . "./$cache_file";;
2371    esac
2372  fi
2373else
2374  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2375$as_echo "$as_me: creating cache $cache_file" >&6;}
2376  >$cache_file
2377fi
2378
2379# Check that the precious variables saved in the cache have kept the same
2380# value.
2381ac_cache_corrupted=false
2382for ac_var in $ac_precious_vars; do
2383  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2384  eval ac_new_set=\$ac_env_${ac_var}_set
2385  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2386  eval ac_new_val=\$ac_env_${ac_var}_value
2387  case $ac_old_set,$ac_new_set in
2388    set,)
2389      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2390$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391      ac_cache_corrupted=: ;;
2392    ,set)
2393      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2394$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2395      ac_cache_corrupted=: ;;
2396    ,);;
2397    *)
2398      if test "x$ac_old_val" != "x$ac_new_val"; then
2399	# differences in whitespace do not lead to failure.
2400	ac_old_val_w=`echo x $ac_old_val`
2401	ac_new_val_w=`echo x $ac_new_val`
2402	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2403	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2404$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2405	  ac_cache_corrupted=:
2406	else
2407	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2408$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2409	  eval $ac_var=\$ac_old_val
2410	fi
2411	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2412$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2413	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2414$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2415      fi;;
2416  esac
2417  # Pass precious variables to config.status.
2418  if test "$ac_new_set" = set; then
2419    case $ac_new_val in
2420    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2421    *) ac_arg=$ac_var=$ac_new_val ;;
2422    esac
2423    case " $ac_configure_args " in
2424      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2425      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2426    esac
2427  fi
2428done
2429if $ac_cache_corrupted; then
2430  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2433$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2434  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2435fi
2436## -------------------- ##
2437## Main body of script. ##
2438## -------------------- ##
2439
2440ac_ext=c
2441ac_cpp='$CPP $CPPFLAGS'
2442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444ac_compiler_gnu=$ac_cv_c_compiler_gnu
2445
2446
2447
2448
2449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2450$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2451set x ${MAKE-make}
2452ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2453if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2454  $as_echo_n "(cached) " >&6
2455else
2456  cat >conftest.make <<\_ACEOF
2457SHELL = /bin/sh
2458all:
2459	@echo '@@@%%%=$(MAKE)=@@@%%%'
2460_ACEOF
2461# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2462case `${MAKE-make} -f conftest.make 2>/dev/null` in
2463  *@@@%%%=?*=@@@%%%*)
2464    eval ac_cv_prog_make_${ac_make}_set=yes;;
2465  *)
2466    eval ac_cv_prog_make_${ac_make}_set=no;;
2467esac
2468rm -f conftest.make
2469fi
2470if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2472$as_echo "yes" >&6; }
2473  SET_MAKE=
2474else
2475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476$as_echo "no" >&6; }
2477  SET_MAKE="MAKE=${MAKE-make}"
2478fi
2479
2480
2481am__api_version='1.16'
2482
2483ac_aux_dir=
2484for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2485  if test -f "$ac_dir/install-sh"; then
2486    ac_aux_dir=$ac_dir
2487    ac_install_sh="$ac_aux_dir/install-sh -c"
2488    break
2489  elif test -f "$ac_dir/install.sh"; then
2490    ac_aux_dir=$ac_dir
2491    ac_install_sh="$ac_aux_dir/install.sh -c"
2492    break
2493  elif test -f "$ac_dir/shtool"; then
2494    ac_aux_dir=$ac_dir
2495    ac_install_sh="$ac_aux_dir/shtool install -c"
2496    break
2497  fi
2498done
2499if test -z "$ac_aux_dir"; then
2500  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2501fi
2502
2503# These three variables are undocumented and unsupported,
2504# and are intended to be withdrawn in a future Autoconf release.
2505# They can cause serious problems if a builder's source tree is in a directory
2506# whose full name contains unusual characters.
2507ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2508ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2509ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2510
2511
2512# Find a good install program.  We prefer a C program (faster),
2513# so one script is as good as another.  But avoid the broken or
2514# incompatible versions:
2515# SysV /etc/install, /usr/sbin/install
2516# SunOS /usr/etc/install
2517# IRIX /sbin/install
2518# AIX /bin/install
2519# AmigaOS /C/install, which installs bootblocks on floppy discs
2520# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2521# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2522# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2523# OS/2's system install, which has a completely different semantic
2524# ./install, which can be erroneously created by make from ./install.sh.
2525# Reject install programs that cannot install multiple files.
2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2527$as_echo_n "checking for a BSD-compatible install... " >&6; }
2528if test -z "$INSTALL"; then
2529if ${ac_cv_path_install+:} false; then :
2530  $as_echo_n "(cached) " >&6
2531else
2532  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533for as_dir in $PATH
2534do
2535  IFS=$as_save_IFS
2536  test -z "$as_dir" && as_dir=.
2537    # Account for people who put trailing slashes in PATH elements.
2538case $as_dir/ in #((
2539  ./ | .// | /[cC]/* | \
2540  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2541  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2542  /usr/ucb/* ) ;;
2543  *)
2544    # OSF1 and SCO ODT 3.0 have their own names for install.
2545    # Don't use installbsd from OSF since it installs stuff as root
2546    # by default.
2547    for ac_prog in ginstall scoinst install; do
2548      for ac_exec_ext in '' $ac_executable_extensions; do
2549	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2550	  if test $ac_prog = install &&
2551	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2552	    # AIX install.  It has an incompatible calling convention.
2553	    :
2554	  elif test $ac_prog = install &&
2555	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2556	    # program-specific install script used by HP pwplus--don't use.
2557	    :
2558	  else
2559	    rm -rf conftest.one conftest.two conftest.dir
2560	    echo one > conftest.one
2561	    echo two > conftest.two
2562	    mkdir conftest.dir
2563	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2564	      test -s conftest.one && test -s conftest.two &&
2565	      test -s conftest.dir/conftest.one &&
2566	      test -s conftest.dir/conftest.two
2567	    then
2568	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2569	      break 3
2570	    fi
2571	  fi
2572	fi
2573      done
2574    done
2575    ;;
2576esac
2577
2578  done
2579IFS=$as_save_IFS
2580
2581rm -rf conftest.one conftest.two conftest.dir
2582
2583fi
2584  if test "${ac_cv_path_install+set}" = set; then
2585    INSTALL=$ac_cv_path_install
2586  else
2587    # As a last resort, use the slow shell script.  Don't cache a
2588    # value for INSTALL within a source directory, because that will
2589    # break other packages using the cache if that directory is
2590    # removed, or if the value is a relative name.
2591    INSTALL=$ac_install_sh
2592  fi
2593fi
2594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2595$as_echo "$INSTALL" >&6; }
2596
2597# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2598# It thinks the first close brace ends the variable substitution.
2599test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2600
2601test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2602
2603test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2604
2605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2606$as_echo_n "checking whether build environment is sane... " >&6; }
2607# Reject unsafe characters in $srcdir or the absolute working directory
2608# name.  Accept space and tab only in the latter.
2609am_lf='
2610'
2611case `pwd` in
2612  *[\\\"\#\$\&\'\`$am_lf]*)
2613    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2614esac
2615case $srcdir in
2616  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2617    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2618esac
2619
2620# Do 'set' in a subshell so we don't clobber the current shell's
2621# arguments.  Must try -L first in case configure is actually a
2622# symlink; some systems play weird games with the mod time of symlinks
2623# (eg FreeBSD returns the mod time of the symlink's containing
2624# directory).
2625if (
2626   am_has_slept=no
2627   for am_try in 1 2; do
2628     echo "timestamp, slept: $am_has_slept" > conftest.file
2629     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2630     if test "$*" = "X"; then
2631	# -L didn't work.
2632	set X `ls -t "$srcdir/configure" conftest.file`
2633     fi
2634     if test "$*" != "X $srcdir/configure conftest.file" \
2635	&& test "$*" != "X conftest.file $srcdir/configure"; then
2636
2637	# If neither matched, then we have a broken ls.  This can happen
2638	# if, for instance, CONFIG_SHELL is bash and it inherits a
2639	# broken ls alias from the environment.  This has actually
2640	# happened.  Such a system could not be considered "sane".
2641	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2642  alias in your environment" "$LINENO" 5
2643     fi
2644     if test "$2" = conftest.file || test $am_try -eq 2; then
2645       break
2646     fi
2647     # Just in case.
2648     sleep 1
2649     am_has_slept=yes
2650   done
2651   test "$2" = conftest.file
2652   )
2653then
2654   # Ok.
2655   :
2656else
2657   as_fn_error $? "newly created file is older than distributed files!
2658Check your system clock" "$LINENO" 5
2659fi
2660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2661$as_echo "yes" >&6; }
2662# If we didn't sleep, we still need to ensure time stamps of config.status and
2663# generated files are strictly newer.
2664am_sleep_pid=
2665if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2666  ( sleep 1 ) &
2667  am_sleep_pid=$!
2668fi
2669
2670rm -f conftest.file
2671
2672test "$program_prefix" != NONE &&
2673  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2674# Use a double $ so make ignores it.
2675test "$program_suffix" != NONE &&
2676  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2677# Double any \ or $.
2678# By default was `s,x,x', remove it if useless.
2679ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2680program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2681
2682# Expand $ac_aux_dir to an absolute path.
2683am_aux_dir=`cd "$ac_aux_dir" && pwd`
2684
2685if test x"${MISSING+set}" != xset; then
2686  case $am_aux_dir in
2687  *\ * | *\	*)
2688    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2689  *)
2690    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2691  esac
2692fi
2693# Use eval to expand $SHELL
2694if eval "$MISSING --is-lightweight"; then
2695  am_missing_run="$MISSING "
2696else
2697  am_missing_run=
2698  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2699$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2700fi
2701
2702if test x"${install_sh+set}" != xset; then
2703  case $am_aux_dir in
2704  *\ * | *\	*)
2705    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2706  *)
2707    install_sh="\${SHELL} $am_aux_dir/install-sh"
2708  esac
2709fi
2710
2711# Installed binaries are usually stripped using 'strip' when the user
2712# run "make install-strip".  However 'strip' might not be the right
2713# tool to use in cross-compilation environments, therefore Automake
2714# will honor the 'STRIP' environment variable to overrule this program.
2715if test "$cross_compiling" != no; then
2716  if test -n "$ac_tool_prefix"; then
2717  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2718set dummy ${ac_tool_prefix}strip; ac_word=$2
2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720$as_echo_n "checking for $ac_word... " >&6; }
2721if ${ac_cv_prog_STRIP+:} false; then :
2722  $as_echo_n "(cached) " >&6
2723else
2724  if test -n "$STRIP"; then
2725  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2726else
2727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728for as_dir in $PATH
2729do
2730  IFS=$as_save_IFS
2731  test -z "$as_dir" && as_dir=.
2732    for ac_exec_ext in '' $ac_executable_extensions; do
2733  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2734    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736    break 2
2737  fi
2738done
2739  done
2740IFS=$as_save_IFS
2741
2742fi
2743fi
2744STRIP=$ac_cv_prog_STRIP
2745if test -n "$STRIP"; then
2746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2747$as_echo "$STRIP" >&6; }
2748else
2749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750$as_echo "no" >&6; }
2751fi
2752
2753
2754fi
2755if test -z "$ac_cv_prog_STRIP"; then
2756  ac_ct_STRIP=$STRIP
2757  # Extract the first word of "strip", so it can be a program name with args.
2758set dummy strip; ac_word=$2
2759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760$as_echo_n "checking for $ac_word... " >&6; }
2761if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2762  $as_echo_n "(cached) " >&6
2763else
2764  if test -n "$ac_ct_STRIP"; then
2765  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2766else
2767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768for as_dir in $PATH
2769do
2770  IFS=$as_save_IFS
2771  test -z "$as_dir" && as_dir=.
2772    for ac_exec_ext in '' $ac_executable_extensions; do
2773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774    ac_cv_prog_ac_ct_STRIP="strip"
2775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776    break 2
2777  fi
2778done
2779  done
2780IFS=$as_save_IFS
2781
2782fi
2783fi
2784ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2785if test -n "$ac_ct_STRIP"; then
2786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2787$as_echo "$ac_ct_STRIP" >&6; }
2788else
2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790$as_echo "no" >&6; }
2791fi
2792
2793  if test "x$ac_ct_STRIP" = x; then
2794    STRIP=":"
2795  else
2796    case $cross_compiling:$ac_tool_warned in
2797yes:)
2798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800ac_tool_warned=yes ;;
2801esac
2802    STRIP=$ac_ct_STRIP
2803  fi
2804else
2805  STRIP="$ac_cv_prog_STRIP"
2806fi
2807
2808fi
2809INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2810
2811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2812$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2813if test -z "$MKDIR_P"; then
2814  if ${ac_cv_path_mkdir+:} false; then :
2815  $as_echo_n "(cached) " >&6
2816else
2817  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2819do
2820  IFS=$as_save_IFS
2821  test -z "$as_dir" && as_dir=.
2822    for ac_prog in mkdir gmkdir; do
2823	 for ac_exec_ext in '' $ac_executable_extensions; do
2824	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2825	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2826	     'mkdir (GNU coreutils) '* | \
2827	     'mkdir (coreutils) '* | \
2828	     'mkdir (fileutils) '4.1*)
2829	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2830	       break 3;;
2831	   esac
2832	 done
2833       done
2834  done
2835IFS=$as_save_IFS
2836
2837fi
2838
2839  test -d ./--version && rmdir ./--version
2840  if test "${ac_cv_path_mkdir+set}" = set; then
2841    MKDIR_P="$ac_cv_path_mkdir -p"
2842  else
2843    # As a last resort, use the slow shell script.  Don't cache a
2844    # value for MKDIR_P within a source directory, because that will
2845    # break other packages using the cache if that directory is
2846    # removed, or if the value is a relative name.
2847    MKDIR_P="$ac_install_sh -d"
2848  fi
2849fi
2850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2851$as_echo "$MKDIR_P" >&6; }
2852
2853for ac_prog in gawk mawk nawk awk
2854do
2855  # Extract the first word of "$ac_prog", so it can be a program name with args.
2856set dummy $ac_prog; ac_word=$2
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858$as_echo_n "checking for $ac_word... " >&6; }
2859if ${ac_cv_prog_AWK+:} false; then :
2860  $as_echo_n "(cached) " >&6
2861else
2862  if test -n "$AWK"; then
2863  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2864else
2865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866for as_dir in $PATH
2867do
2868  IFS=$as_save_IFS
2869  test -z "$as_dir" && as_dir=.
2870    for ac_exec_ext in '' $ac_executable_extensions; do
2871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872    ac_cv_prog_AWK="$ac_prog"
2873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874    break 2
2875  fi
2876done
2877  done
2878IFS=$as_save_IFS
2879
2880fi
2881fi
2882AWK=$ac_cv_prog_AWK
2883if test -n "$AWK"; then
2884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2885$as_echo "$AWK" >&6; }
2886else
2887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888$as_echo "no" >&6; }
2889fi
2890
2891
2892  test -n "$AWK" && break
2893done
2894
2895rm -rf .tst 2>/dev/null
2896mkdir .tst 2>/dev/null
2897if test -d .tst; then
2898  am__leading_dot=.
2899else
2900  am__leading_dot=_
2901fi
2902rmdir .tst 2>/dev/null
2903
2904# Check whether --enable-silent-rules was given.
2905if test "${enable_silent_rules+set}" = set; then :
2906  enableval=$enable_silent_rules;
2907fi
2908
2909case $enable_silent_rules in # (((
2910  yes) AM_DEFAULT_VERBOSITY=0;;
2911   no) AM_DEFAULT_VERBOSITY=1;;
2912    *) AM_DEFAULT_VERBOSITY=1;;
2913esac
2914am_make=${MAKE-make}
2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2916$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2917if ${am_cv_make_support_nested_variables+:} false; then :
2918  $as_echo_n "(cached) " >&6
2919else
2920  if $as_echo 'TRUE=$(BAR$(V))
2921BAR0=false
2922BAR1=true
2923V=1
2924am__doit:
2925	@$(TRUE)
2926.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2927  am_cv_make_support_nested_variables=yes
2928else
2929  am_cv_make_support_nested_variables=no
2930fi
2931fi
2932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2933$as_echo "$am_cv_make_support_nested_variables" >&6; }
2934if test $am_cv_make_support_nested_variables = yes; then
2935    AM_V='$(V)'
2936  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2937else
2938  AM_V=$AM_DEFAULT_VERBOSITY
2939  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2940fi
2941AM_BACKSLASH='\'
2942
2943if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945  # is not polluted with repeated "-I."
2946  am__isrc=' -I$(srcdir)'
2947  # test to see if srcdir already configured
2948  if test -f $srcdir/config.status; then
2949    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2950  fi
2951fi
2952
2953# test whether we have cygpath
2954if test -z "$CYGPATH_W"; then
2955  if (cygpath --version) >/dev/null 2>/dev/null; then
2956    CYGPATH_W='cygpath -w'
2957  else
2958    CYGPATH_W=echo
2959  fi
2960fi
2961
2962
2963# Define the identity of the package.
2964 PACKAGE='xfce4-session'
2965 VERSION='4.16.0'
2966
2967
2968cat >>confdefs.h <<_ACEOF
2969#define PACKAGE "$PACKAGE"
2970_ACEOF
2971
2972
2973cat >>confdefs.h <<_ACEOF
2974#define VERSION "$VERSION"
2975_ACEOF
2976
2977# Some tools Automake needs.
2978
2979ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2980
2981
2982AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2983
2984
2985AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2986
2987
2988AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2989
2990
2991MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2992
2993# For better backward compatibility.  To be removed once Automake 1.9.x
2994# dies out for good.  For more background, see:
2995# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2996# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2997mkdir_p='$(MKDIR_P)'
2998
2999# We need awk for the "check" target (and possibly the TAP driver).  The
3000# system "awk" is bad on some platforms.
3001# Always define AMTAR for backward compatibility.  Yes, it's still used
3002# in the wild :-(  We should find a proper way to deprecate it ...
3003AMTAR='$${TAR-tar}'
3004
3005
3006# We'll loop over all known methods to create a tar archive until one works.
3007_am_tools='gnutar plaintar pax cpio none'
3008
3009# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3010      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3011      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3012      # and bug#13588).
3013      am_max_uid=2097151 # 2^21 - 1
3014      am_max_gid=$am_max_uid
3015      # The $UID and $GID variables are not portable, so we need to resort
3016      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3017      # below are definitely unexpected, so allow the users to see them
3018      # (that is, avoid stderr redirection).
3019      am_uid=`id -u || echo unknown`
3020      am_gid=`id -g || echo unknown`
3021      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3022$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3023      if test $am_uid -le $am_max_uid; then
3024         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3025$as_echo "yes" >&6; }
3026      else
3027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028$as_echo "no" >&6; }
3029         _am_tools=none
3030      fi
3031      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3032$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3033      if test $am_gid -le $am_max_gid; then
3034         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3035$as_echo "yes" >&6; }
3036      else
3037        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038$as_echo "no" >&6; }
3039        _am_tools=none
3040      fi
3041
3042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3043$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3044
3045  # Go ahead even if we have the value already cached.  We do so because we
3046  # need to set the values for the 'am__tar' and 'am__untar' variables.
3047  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3048
3049  for _am_tool in $_am_tools; do
3050    case $_am_tool in
3051    gnutar)
3052      for _am_tar in tar gnutar gtar; do
3053        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3054   ($_am_tar --version) >&5 2>&5
3055   ac_status=$?
3056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057   (exit $ac_status); } && break
3058      done
3059      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3060      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3061      am__untar="$_am_tar -xf -"
3062      ;;
3063    plaintar)
3064      # Must skip GNU tar: if it does not support --format= it doesn't create
3065      # ustar tarball either.
3066      (tar --version) >/dev/null 2>&1 && continue
3067      am__tar='tar chf - "$$tardir"'
3068      am__tar_='tar chf - "$tardir"'
3069      am__untar='tar xf -'
3070      ;;
3071    pax)
3072      am__tar='pax -L -x ustar -w "$$tardir"'
3073      am__tar_='pax -L -x ustar -w "$tardir"'
3074      am__untar='pax -r'
3075      ;;
3076    cpio)
3077      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3078      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3079      am__untar='cpio -i -H ustar -d'
3080      ;;
3081    none)
3082      am__tar=false
3083      am__tar_=false
3084      am__untar=false
3085      ;;
3086    esac
3087
3088    # If the value was cached, stop now.  We just wanted to have am__tar
3089    # and am__untar set.
3090    test -n "${am_cv_prog_tar_ustar}" && break
3091
3092    # tar/untar a dummy directory, and stop if the command works.
3093    rm -rf conftest.dir
3094    mkdir conftest.dir
3095    echo GrepMe > conftest.dir/file
3096    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3097   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3098   ac_status=$?
3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100   (exit $ac_status); }
3101    rm -rf conftest.dir
3102    if test -s conftest.tar; then
3103      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3104   ($am__untar <conftest.tar) >&5 2>&5
3105   ac_status=$?
3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107   (exit $ac_status); }
3108      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3109   (cat conftest.dir/file) >&5 2>&5
3110   ac_status=$?
3111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112   (exit $ac_status); }
3113      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3114    fi
3115  done
3116  rm -rf conftest.dir
3117
3118  if ${am_cv_prog_tar_ustar+:} false; then :
3119  $as_echo_n "(cached) " >&6
3120else
3121  am_cv_prog_tar_ustar=$_am_tool
3122fi
3123
3124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3125$as_echo "$am_cv_prog_tar_ustar" >&6; }
3126
3127
3128
3129
3130
3131
3132# POSIX will say in a future version that running "rm -f" with no argument
3133# is OK; and we want to be able to make that assumption in our Makefile
3134# recipes.  So use an aggressive probe to check that the usage we want is
3135# actually supported "in the wild" to an acceptable degree.
3136# See automake bug#10828.
3137# To make any issue more visible, cause the running configure to be aborted
3138# by default if the 'rm' program in use doesn't match our expectations; the
3139# user can still override this though.
3140if rm -f && rm -fr && rm -rf; then : OK; else
3141  cat >&2 <<'END'
3142Oops!
3143
3144Your 'rm' program seems unable to run without file operands specified
3145on the command line, even when the '-f' option is present.  This is contrary
3146to the behaviour of most rm programs out there, and not conforming with
3147the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3148
3149Please tell bug-automake@gnu.org about your system, including the value
3150of your $PATH and any error possibly output before this message.  This
3151can help us improve future automake versions.
3152
3153END
3154  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3155    echo 'Configuration will proceed anyway, since you have set the' >&2
3156    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3157    echo >&2
3158  else
3159    cat >&2 <<'END'
3160Aborting the configuration process, to ensure you take notice of the issue.
3161
3162You can download and install GNU coreutils to get an 'rm' implementation
3163that behaves properly: <https://www.gnu.org/software/coreutils/>.
3164
3165If you want to complete the configuration process using your problematic
3166'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3167to "yes", and re-run configure.
3168
3169END
3170    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3171  fi
3172fi
3173
3174ac_config_headers="$ac_config_headers config.h"
3175
3176
3177
3178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3179$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3180    # Check whether --enable-maintainer-mode was given.
3181if test "${enable_maintainer_mode+set}" = set; then :
3182  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3183else
3184  USE_MAINTAINER_MODE=no
3185fi
3186
3187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3188$as_echo "$USE_MAINTAINER_MODE" >&6; }
3189   if test $USE_MAINTAINER_MODE = yes; then
3190  MAINTAINER_MODE_TRUE=
3191  MAINTAINER_MODE_FALSE='#'
3192else
3193  MAINTAINER_MODE_TRUE='#'
3194  MAINTAINER_MODE_FALSE=
3195fi
3196
3197  MAINT=$MAINTAINER_MODE_TRUE
3198
3199
3200# Check whether --enable-silent-rules was given.
3201if test "${enable_silent_rules+set}" = set; then :
3202  enableval=$enable_silent_rules;
3203fi
3204
3205case $enable_silent_rules in # (((
3206  yes) AM_DEFAULT_VERBOSITY=0;;
3207   no) AM_DEFAULT_VERBOSITY=1;;
3208    *) AM_DEFAULT_VERBOSITY=0;;
3209esac
3210am_make=${MAKE-make}
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3212$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3213if ${am_cv_make_support_nested_variables+:} false; then :
3214  $as_echo_n "(cached) " >&6
3215else
3216  if $as_echo 'TRUE=$(BAR$(V))
3217BAR0=false
3218BAR1=true
3219V=1
3220am__doit:
3221	@$(TRUE)
3222.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3223  am_cv_make_support_nested_variables=yes
3224else
3225  am_cv_make_support_nested_variables=no
3226fi
3227fi
3228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3229$as_echo "$am_cv_make_support_nested_variables" >&6; }
3230if test $am_cv_make_support_nested_variables = yes; then
3231    AM_V='$(V)'
3232  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3233else
3234  AM_V=$AM_DEFAULT_VERBOSITY
3235  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3236fi
3237AM_BACKSLASH='\'
3238
3239
3240
3241# Check whether --with-helper-path-prefix was given.
3242if test "${with_helper_path_prefix+set}" = set; then :
3243  withval=$with_helper_path_prefix; HELPER_PATH_PREFIX="$withval"
3244else
3245  HELPER_PATH_PREFIX="$libdir"
3246fi
3247
3248
3249
3250DEPDIR="${am__leading_dot}deps"
3251
3252ac_config_commands="$ac_config_commands depfiles"
3253
3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3255$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3256cat > confinc.mk << 'END'
3257am__doit:
3258	@echo this is the am__doit target >confinc.out
3259.PHONY: am__doit
3260END
3261am__include="#"
3262am__quote=
3263# BSD make does it like this.
3264echo '.include "confinc.mk" # ignored' > confmf.BSD
3265# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3266echo 'include confinc.mk # ignored' > confmf.GNU
3267_am_result=no
3268for s in GNU BSD; do
3269  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3270   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3271   ac_status=$?
3272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273   (exit $ac_status); }
3274  case $?:`cat confinc.out 2>/dev/null` in #(
3275  '0:this is the am__doit target') :
3276    case $s in #(
3277  BSD) :
3278    am__include='.include' am__quote='"' ;; #(
3279  *) :
3280    am__include='include' am__quote='' ;;
3281esac ;; #(
3282  *) :
3283     ;;
3284esac
3285  if test "$am__include" != "#"; then
3286    _am_result="yes ($s style)"
3287    break
3288  fi
3289done
3290rm -f confinc.* confmf.*
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3292$as_echo "${_am_result}" >&6; }
3293
3294# Check whether --enable-dependency-tracking was given.
3295if test "${enable_dependency_tracking+set}" = set; then :
3296  enableval=$enable_dependency_tracking;
3297fi
3298
3299if test "x$enable_dependency_tracking" != xno; then
3300  am_depcomp="$ac_aux_dir/depcomp"
3301  AMDEPBACKSLASH='\'
3302  am__nodep='_no'
3303fi
3304 if test "x$enable_dependency_tracking" != xno; then
3305  AMDEP_TRUE=
3306  AMDEP_FALSE='#'
3307else
3308  AMDEP_TRUE='#'
3309  AMDEP_FALSE=
3310fi
3311
3312
3313ac_ext=c
3314ac_cpp='$CPP $CPPFLAGS'
3315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317ac_compiler_gnu=$ac_cv_c_compiler_gnu
3318if test -n "$ac_tool_prefix"; then
3319  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3320set dummy ${ac_tool_prefix}gcc; ac_word=$2
3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3322$as_echo_n "checking for $ac_word... " >&6; }
3323if ${ac_cv_prog_CC+:} false; then :
3324  $as_echo_n "(cached) " >&6
3325else
3326  if test -n "$CC"; then
3327  ac_cv_prog_CC="$CC" # Let the user override the test.
3328else
3329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330for as_dir in $PATH
3331do
3332  IFS=$as_save_IFS
3333  test -z "$as_dir" && as_dir=.
3334    for ac_exec_ext in '' $ac_executable_extensions; do
3335  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3336    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3337    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338    break 2
3339  fi
3340done
3341  done
3342IFS=$as_save_IFS
3343
3344fi
3345fi
3346CC=$ac_cv_prog_CC
3347if test -n "$CC"; then
3348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349$as_echo "$CC" >&6; }
3350else
3351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352$as_echo "no" >&6; }
3353fi
3354
3355
3356fi
3357if test -z "$ac_cv_prog_CC"; then
3358  ac_ct_CC=$CC
3359  # Extract the first word of "gcc", so it can be a program name with args.
3360set dummy gcc; ac_word=$2
3361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362$as_echo_n "checking for $ac_word... " >&6; }
3363if ${ac_cv_prog_ac_ct_CC+:} false; then :
3364  $as_echo_n "(cached) " >&6
3365else
3366  if test -n "$ac_ct_CC"; then
3367  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3368else
3369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370for as_dir in $PATH
3371do
3372  IFS=$as_save_IFS
3373  test -z "$as_dir" && as_dir=.
3374    for ac_exec_ext in '' $ac_executable_extensions; do
3375  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376    ac_cv_prog_ac_ct_CC="gcc"
3377    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378    break 2
3379  fi
3380done
3381  done
3382IFS=$as_save_IFS
3383
3384fi
3385fi
3386ac_ct_CC=$ac_cv_prog_ac_ct_CC
3387if test -n "$ac_ct_CC"; then
3388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3389$as_echo "$ac_ct_CC" >&6; }
3390else
3391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392$as_echo "no" >&6; }
3393fi
3394
3395  if test "x$ac_ct_CC" = x; then
3396    CC=""
3397  else
3398    case $cross_compiling:$ac_tool_warned in
3399yes:)
3400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3402ac_tool_warned=yes ;;
3403esac
3404    CC=$ac_ct_CC
3405  fi
3406else
3407  CC="$ac_cv_prog_CC"
3408fi
3409
3410if test -z "$CC"; then
3411          if test -n "$ac_tool_prefix"; then
3412    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3413set dummy ${ac_tool_prefix}cc; ac_word=$2
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415$as_echo_n "checking for $ac_word... " >&6; }
3416if ${ac_cv_prog_CC+:} false; then :
3417  $as_echo_n "(cached) " >&6
3418else
3419  if test -n "$CC"; then
3420  ac_cv_prog_CC="$CC" # Let the user override the test.
3421else
3422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423for as_dir in $PATH
3424do
3425  IFS=$as_save_IFS
3426  test -z "$as_dir" && as_dir=.
3427    for ac_exec_ext in '' $ac_executable_extensions; do
3428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3429    ac_cv_prog_CC="${ac_tool_prefix}cc"
3430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3431    break 2
3432  fi
3433done
3434  done
3435IFS=$as_save_IFS
3436
3437fi
3438fi
3439CC=$ac_cv_prog_CC
3440if test -n "$CC"; then
3441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3442$as_echo "$CC" >&6; }
3443else
3444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445$as_echo "no" >&6; }
3446fi
3447
3448
3449  fi
3450fi
3451if test -z "$CC"; then
3452  # Extract the first word of "cc", so it can be a program name with args.
3453set dummy cc; ac_word=$2
3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455$as_echo_n "checking for $ac_word... " >&6; }
3456if ${ac_cv_prog_CC+:} false; then :
3457  $as_echo_n "(cached) " >&6
3458else
3459  if test -n "$CC"; then
3460  ac_cv_prog_CC="$CC" # Let the user override the test.
3461else
3462  ac_prog_rejected=no
3463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464for as_dir in $PATH
3465do
3466  IFS=$as_save_IFS
3467  test -z "$as_dir" && as_dir=.
3468    for ac_exec_ext in '' $ac_executable_extensions; do
3469  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3470    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3471       ac_prog_rejected=yes
3472       continue
3473     fi
3474    ac_cv_prog_CC="cc"
3475    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3476    break 2
3477  fi
3478done
3479  done
3480IFS=$as_save_IFS
3481
3482if test $ac_prog_rejected = yes; then
3483  # We found a bogon in the path, so make sure we never use it.
3484  set dummy $ac_cv_prog_CC
3485  shift
3486  if test $# != 0; then
3487    # We chose a different compiler from the bogus one.
3488    # However, it has the same basename, so the bogon will be chosen
3489    # first if we set CC to just the basename; use the full file name.
3490    shift
3491    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3492  fi
3493fi
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 "$CC"; then
3508  if test -n "$ac_tool_prefix"; then
3509  for ac_prog in cl.exe
3510  do
3511    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3512set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514$as_echo_n "checking for $ac_word... " >&6; }
3515if ${ac_cv_prog_CC+:} false; then :
3516  $as_echo_n "(cached) " >&6
3517else
3518  if test -n "$CC"; then
3519  ac_cv_prog_CC="$CC" # Let the user override the test.
3520else
3521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522for as_dir in $PATH
3523do
3524  IFS=$as_save_IFS
3525  test -z "$as_dir" && as_dir=.
3526    for ac_exec_ext in '' $ac_executable_extensions; do
3527  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530    break 2
3531  fi
3532done
3533  done
3534IFS=$as_save_IFS
3535
3536fi
3537fi
3538CC=$ac_cv_prog_CC
3539if test -n "$CC"; then
3540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541$as_echo "$CC" >&6; }
3542else
3543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544$as_echo "no" >&6; }
3545fi
3546
3547
3548    test -n "$CC" && break
3549  done
3550fi
3551if test -z "$CC"; then
3552  ac_ct_CC=$CC
3553  for ac_prog in cl.exe
3554do
3555  # Extract the first word of "$ac_prog", so it can be a program name with args.
3556set dummy $ac_prog; ac_word=$2
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558$as_echo_n "checking for $ac_word... " >&6; }
3559if ${ac_cv_prog_ac_ct_CC+:} false; then :
3560  $as_echo_n "(cached) " >&6
3561else
3562  if test -n "$ac_ct_CC"; then
3563  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3564else
3565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566for as_dir in $PATH
3567do
3568  IFS=$as_save_IFS
3569  test -z "$as_dir" && as_dir=.
3570    for ac_exec_ext in '' $ac_executable_extensions; do
3571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572    ac_cv_prog_ac_ct_CC="$ac_prog"
3573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3574    break 2
3575  fi
3576done
3577  done
3578IFS=$as_save_IFS
3579
3580fi
3581fi
3582ac_ct_CC=$ac_cv_prog_ac_ct_CC
3583if test -n "$ac_ct_CC"; then
3584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585$as_echo "$ac_ct_CC" >&6; }
3586else
3587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588$as_echo "no" >&6; }
3589fi
3590
3591
3592  test -n "$ac_ct_CC" && break
3593done
3594
3595  if test "x$ac_ct_CC" = x; then
3596    CC=""
3597  else
3598    case $cross_compiling:$ac_tool_warned in
3599yes:)
3600{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3601$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3602ac_tool_warned=yes ;;
3603esac
3604    CC=$ac_ct_CC
3605  fi
3606fi
3607
3608fi
3609
3610
3611test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613as_fn_error $? "no acceptable C compiler found in \$PATH
3614See \`config.log' for more details" "$LINENO" 5; }
3615
3616# Provide some information about the compiler.
3617$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3618set X $ac_compile
3619ac_compiler=$2
3620for ac_option in --version -v -V -qversion; do
3621  { { ac_try="$ac_compiler $ac_option >&5"
3622case "(($ac_try" in
3623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624  *) ac_try_echo=$ac_try;;
3625esac
3626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627$as_echo "$ac_try_echo"; } >&5
3628  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3629  ac_status=$?
3630  if test -s conftest.err; then
3631    sed '10a\
3632... rest of stderr output deleted ...
3633         10q' conftest.err >conftest.er1
3634    cat conftest.er1 >&5
3635  fi
3636  rm -f conftest.er1 conftest.err
3637  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638  test $ac_status = 0; }
3639done
3640
3641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642/* end confdefs.h.  */
3643
3644int
3645main ()
3646{
3647
3648  ;
3649  return 0;
3650}
3651_ACEOF
3652ac_clean_files_save=$ac_clean_files
3653ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3654# Try to create an executable without -o first, disregard a.out.
3655# It will help us diagnose broken compilers, and finding out an intuition
3656# of exeext.
3657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3658$as_echo_n "checking whether the C compiler works... " >&6; }
3659ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3660
3661# The possible output files:
3662ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3663
3664ac_rmfiles=
3665for ac_file in $ac_files
3666do
3667  case $ac_file in
3668    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3669    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3670  esac
3671done
3672rm -f $ac_rmfiles
3673
3674if { { ac_try="$ac_link_default"
3675case "(($ac_try" in
3676  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677  *) ac_try_echo=$ac_try;;
3678esac
3679eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680$as_echo "$ac_try_echo"; } >&5
3681  (eval "$ac_link_default") 2>&5
3682  ac_status=$?
3683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684  test $ac_status = 0; }; then :
3685  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3686# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3687# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3688# so that the user can short-circuit this test for compilers unknown to
3689# Autoconf.
3690for ac_file in $ac_files ''
3691do
3692  test -f "$ac_file" || continue
3693  case $ac_file in
3694    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3695	;;
3696    [ab].out )
3697	# We found the default executable, but exeext='' is most
3698	# certainly right.
3699	break;;
3700    *.* )
3701	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3702	then :; else
3703	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3704	fi
3705	# We set ac_cv_exeext here because the later test for it is not
3706	# safe: cross compilers may not add the suffix if given an `-o'
3707	# argument, so we may need to know it at that point already.
3708	# Even if this section looks crufty: it has the advantage of
3709	# actually working.
3710	break;;
3711    * )
3712	break;;
3713  esac
3714done
3715test "$ac_cv_exeext" = no && ac_cv_exeext=
3716
3717else
3718  ac_file=''
3719fi
3720if test -z "$ac_file"; then :
3721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722$as_echo "no" >&6; }
3723$as_echo "$as_me: failed program was:" >&5
3724sed 's/^/| /' conftest.$ac_ext >&5
3725
3726{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3728as_fn_error 77 "C compiler cannot create executables
3729See \`config.log' for more details" "$LINENO" 5; }
3730else
3731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3732$as_echo "yes" >&6; }
3733fi
3734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3735$as_echo_n "checking for C compiler default output file name... " >&6; }
3736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3737$as_echo "$ac_file" >&6; }
3738ac_exeext=$ac_cv_exeext
3739
3740rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3741ac_clean_files=$ac_clean_files_save
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3743$as_echo_n "checking for suffix of executables... " >&6; }
3744if { { ac_try="$ac_link"
3745case "(($ac_try" in
3746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747  *) ac_try_echo=$ac_try;;
3748esac
3749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3750$as_echo "$ac_try_echo"; } >&5
3751  (eval "$ac_link") 2>&5
3752  ac_status=$?
3753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754  test $ac_status = 0; }; then :
3755  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3756# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3757# work properly (i.e., refer to `conftest.exe'), while it won't with
3758# `rm'.
3759for ac_file in conftest.exe conftest conftest.*; do
3760  test -f "$ac_file" || continue
3761  case $ac_file in
3762    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3763    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3764	  break;;
3765    * ) break;;
3766  esac
3767done
3768else
3769  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3770$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3771as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3772See \`config.log' for more details" "$LINENO" 5; }
3773fi
3774rm -f conftest conftest$ac_cv_exeext
3775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3776$as_echo "$ac_cv_exeext" >&6; }
3777
3778rm -f conftest.$ac_ext
3779EXEEXT=$ac_cv_exeext
3780ac_exeext=$EXEEXT
3781cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782/* end confdefs.h.  */
3783#include <stdio.h>
3784int
3785main ()
3786{
3787FILE *f = fopen ("conftest.out", "w");
3788 return ferror (f) || fclose (f) != 0;
3789
3790  ;
3791  return 0;
3792}
3793_ACEOF
3794ac_clean_files="$ac_clean_files conftest.out"
3795# Check that the compiler produces executables we can run.  If not, either
3796# the compiler is broken, or we cross compile.
3797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3798$as_echo_n "checking whether we are cross compiling... " >&6; }
3799if test "$cross_compiling" != yes; then
3800  { { ac_try="$ac_link"
3801case "(($ac_try" in
3802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803  *) ac_try_echo=$ac_try;;
3804esac
3805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3806$as_echo "$ac_try_echo"; } >&5
3807  (eval "$ac_link") 2>&5
3808  ac_status=$?
3809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810  test $ac_status = 0; }
3811  if { ac_try='./conftest$ac_cv_exeext'
3812  { { case "(($ac_try" in
3813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814  *) ac_try_echo=$ac_try;;
3815esac
3816eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3817$as_echo "$ac_try_echo"; } >&5
3818  (eval "$ac_try") 2>&5
3819  ac_status=$?
3820  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821  test $ac_status = 0; }; }; then
3822    cross_compiling=no
3823  else
3824    if test "$cross_compiling" = maybe; then
3825	cross_compiling=yes
3826    else
3827	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829as_fn_error $? "cannot run C compiled programs.
3830If you meant to cross compile, use \`--host'.
3831See \`config.log' for more details" "$LINENO" 5; }
3832    fi
3833  fi
3834fi
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3836$as_echo "$cross_compiling" >&6; }
3837
3838rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3839ac_clean_files=$ac_clean_files_save
3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3841$as_echo_n "checking for suffix of object files... " >&6; }
3842if ${ac_cv_objext+:} false; then :
3843  $as_echo_n "(cached) " >&6
3844else
3845  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846/* end confdefs.h.  */
3847
3848int
3849main ()
3850{
3851
3852  ;
3853  return 0;
3854}
3855_ACEOF
3856rm -f conftest.o conftest.obj
3857if { { ac_try="$ac_compile"
3858case "(($ac_try" in
3859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860  *) ac_try_echo=$ac_try;;
3861esac
3862eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863$as_echo "$ac_try_echo"; } >&5
3864  (eval "$ac_compile") 2>&5
3865  ac_status=$?
3866  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867  test $ac_status = 0; }; then :
3868  for ac_file in conftest.o conftest.obj conftest.*; do
3869  test -f "$ac_file" || continue;
3870  case $ac_file in
3871    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3872    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3873       break;;
3874  esac
3875done
3876else
3877  $as_echo "$as_me: failed program was:" >&5
3878sed 's/^/| /' conftest.$ac_ext >&5
3879
3880{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3881$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3882as_fn_error $? "cannot compute suffix of object files: cannot compile
3883See \`config.log' for more details" "$LINENO" 5; }
3884fi
3885rm -f conftest.$ac_cv_objext conftest.$ac_ext
3886fi
3887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3888$as_echo "$ac_cv_objext" >&6; }
3889OBJEXT=$ac_cv_objext
3890ac_objext=$OBJEXT
3891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3892$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3893if ${ac_cv_c_compiler_gnu+:} false; then :
3894  $as_echo_n "(cached) " >&6
3895else
3896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897/* end confdefs.h.  */
3898
3899int
3900main ()
3901{
3902#ifndef __GNUC__
3903       choke me
3904#endif
3905
3906  ;
3907  return 0;
3908}
3909_ACEOF
3910if ac_fn_c_try_compile "$LINENO"; then :
3911  ac_compiler_gnu=yes
3912else
3913  ac_compiler_gnu=no
3914fi
3915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916ac_cv_c_compiler_gnu=$ac_compiler_gnu
3917
3918fi
3919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3920$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3921if test $ac_compiler_gnu = yes; then
3922  GCC=yes
3923else
3924  GCC=
3925fi
3926ac_test_CFLAGS=${CFLAGS+set}
3927ac_save_CFLAGS=$CFLAGS
3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3929$as_echo_n "checking whether $CC accepts -g... " >&6; }
3930if ${ac_cv_prog_cc_g+:} false; then :
3931  $as_echo_n "(cached) " >&6
3932else
3933  ac_save_c_werror_flag=$ac_c_werror_flag
3934   ac_c_werror_flag=yes
3935   ac_cv_prog_cc_g=no
3936   CFLAGS="-g"
3937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938/* end confdefs.h.  */
3939
3940int
3941main ()
3942{
3943
3944  ;
3945  return 0;
3946}
3947_ACEOF
3948if ac_fn_c_try_compile "$LINENO"; then :
3949  ac_cv_prog_cc_g=yes
3950else
3951  CFLAGS=""
3952      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953/* end confdefs.h.  */
3954
3955int
3956main ()
3957{
3958
3959  ;
3960  return 0;
3961}
3962_ACEOF
3963if ac_fn_c_try_compile "$LINENO"; then :
3964
3965else
3966  ac_c_werror_flag=$ac_save_c_werror_flag
3967	 CFLAGS="-g"
3968	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969/* end confdefs.h.  */
3970
3971int
3972main ()
3973{
3974
3975  ;
3976  return 0;
3977}
3978_ACEOF
3979if ac_fn_c_try_compile "$LINENO"; then :
3980  ac_cv_prog_cc_g=yes
3981fi
3982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983fi
3984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985fi
3986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987   ac_c_werror_flag=$ac_save_c_werror_flag
3988fi
3989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3990$as_echo "$ac_cv_prog_cc_g" >&6; }
3991if test "$ac_test_CFLAGS" = set; then
3992  CFLAGS=$ac_save_CFLAGS
3993elif test $ac_cv_prog_cc_g = yes; then
3994  if test "$GCC" = yes; then
3995    CFLAGS="-g -O2"
3996  else
3997    CFLAGS="-g"
3998  fi
3999else
4000  if test "$GCC" = yes; then
4001    CFLAGS="-O2"
4002  else
4003    CFLAGS=
4004  fi
4005fi
4006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4007$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4008if ${ac_cv_prog_cc_c89+:} false; then :
4009  $as_echo_n "(cached) " >&6
4010else
4011  ac_cv_prog_cc_c89=no
4012ac_save_CC=$CC
4013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014/* end confdefs.h.  */
4015#include <stdarg.h>
4016#include <stdio.h>
4017struct stat;
4018/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4019struct buf { int x; };
4020FILE * (*rcsopen) (struct buf *, struct stat *, int);
4021static char *e (p, i)
4022     char **p;
4023     int i;
4024{
4025  return p[i];
4026}
4027static char *f (char * (*g) (char **, int), char **p, ...)
4028{
4029  char *s;
4030  va_list v;
4031  va_start (v,p);
4032  s = g (p, va_arg (v,int));
4033  va_end (v);
4034  return s;
4035}
4036
4037/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4038   function prototypes and stuff, but not '\xHH' hex character constants.
4039   These don't provoke an error unfortunately, instead are silently treated
4040   as 'x'.  The following induces an error, until -std is added to get
4041   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4042   array size at least.  It's necessary to write '\x00'==0 to get something
4043   that's true only with -std.  */
4044int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4045
4046/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4047   inside strings and character constants.  */
4048#define FOO(x) 'x'
4049int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4050
4051int test (int i, double x);
4052struct s1 {int (*f) (int a);};
4053struct s2 {int (*f) (double a);};
4054int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4055int argc;
4056char **argv;
4057int
4058main ()
4059{
4060return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4061  ;
4062  return 0;
4063}
4064_ACEOF
4065for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4066	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4067do
4068  CC="$ac_save_CC $ac_arg"
4069  if ac_fn_c_try_compile "$LINENO"; then :
4070  ac_cv_prog_cc_c89=$ac_arg
4071fi
4072rm -f core conftest.err conftest.$ac_objext
4073  test "x$ac_cv_prog_cc_c89" != "xno" && break
4074done
4075rm -f conftest.$ac_ext
4076CC=$ac_save_CC
4077
4078fi
4079# AC_CACHE_VAL
4080case "x$ac_cv_prog_cc_c89" in
4081  x)
4082    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4083$as_echo "none needed" >&6; } ;;
4084  xno)
4085    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4086$as_echo "unsupported" >&6; } ;;
4087  *)
4088    CC="$CC $ac_cv_prog_cc_c89"
4089    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4090$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4091esac
4092if test "x$ac_cv_prog_cc_c89" != xno; then :
4093
4094fi
4095
4096ac_ext=c
4097ac_cpp='$CPP $CPPFLAGS'
4098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4100ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101
4102ac_ext=c
4103ac_cpp='$CPP $CPPFLAGS'
4104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4106ac_compiler_gnu=$ac_cv_c_compiler_gnu
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4108$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4109if ${am_cv_prog_cc_c_o+:} false; then :
4110  $as_echo_n "(cached) " >&6
4111else
4112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113/* end confdefs.h.  */
4114
4115int
4116main ()
4117{
4118
4119  ;
4120  return 0;
4121}
4122_ACEOF
4123  # Make sure it works both with $CC and with simple cc.
4124  # Following AC_PROG_CC_C_O, we do the test twice because some
4125  # compilers refuse to overwrite an existing .o file with -o,
4126  # though they will create one.
4127  am_cv_prog_cc_c_o=yes
4128  for am_i in 1 2; do
4129    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4130   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4131   ac_status=$?
4132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133   (exit $ac_status); } \
4134         && test -f conftest2.$ac_objext; then
4135      : OK
4136    else
4137      am_cv_prog_cc_c_o=no
4138      break
4139    fi
4140  done
4141  rm -f core conftest*
4142  unset am_i
4143fi
4144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4145$as_echo "$am_cv_prog_cc_c_o" >&6; }
4146if test "$am_cv_prog_cc_c_o" != yes; then
4147   # Losing compiler, so override with the script.
4148   # FIXME: It is wrong to rewrite CC.
4149   # But if we don't then we get into trouble of one sort or another.
4150   # A longer-term fix would be to have automake use am__CC in this case,
4151   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4152   CC="$am_aux_dir/compile $CC"
4153fi
4154ac_ext=c
4155ac_cpp='$CPP $CPPFLAGS'
4156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4158ac_compiler_gnu=$ac_cv_c_compiler_gnu
4159
4160
4161depcc="$CC"   am_compiler_list=
4162
4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4164$as_echo_n "checking dependency style of $depcc... " >&6; }
4165if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4166  $as_echo_n "(cached) " >&6
4167else
4168  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4169  # We make a subdir and do the tests there.  Otherwise we can end up
4170  # making bogus files that we don't know about and never remove.  For
4171  # instance it was reported that on HP-UX the gcc test will end up
4172  # making a dummy file named 'D' -- because '-MD' means "put the output
4173  # in D".
4174  rm -rf conftest.dir
4175  mkdir conftest.dir
4176  # Copy depcomp to subdir because otherwise we won't find it if we're
4177  # using a relative directory.
4178  cp "$am_depcomp" conftest.dir
4179  cd conftest.dir
4180  # We will build objects and dependencies in a subdirectory because
4181  # it helps to detect inapplicable dependency modes.  For instance
4182  # both Tru64's cc and ICC support -MD to output dependencies as a
4183  # side effect of compilation, but ICC will put the dependencies in
4184  # the current directory while Tru64 will put them in the object
4185  # directory.
4186  mkdir sub
4187
4188  am_cv_CC_dependencies_compiler_type=none
4189  if test "$am_compiler_list" = ""; then
4190     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4191  fi
4192  am__universal=false
4193  case " $depcc " in #(
4194     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4195     esac
4196
4197  for depmode in $am_compiler_list; do
4198    # Setup a source with many dependencies, because some compilers
4199    # like to wrap large dependency lists on column 80 (with \), and
4200    # we should not choose a depcomp mode which is confused by this.
4201    #
4202    # We need to recreate these files for each test, as the compiler may
4203    # overwrite some of them when testing with obscure command lines.
4204    # This happens at least with the AIX C compiler.
4205    : > sub/conftest.c
4206    for i in 1 2 3 4 5 6; do
4207      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4208      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4209      # Solaris 10 /bin/sh.
4210      echo '/* dummy */' > sub/conftst$i.h
4211    done
4212    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4213
4214    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4215    # mode.  It turns out that the SunPro C++ compiler does not properly
4216    # handle '-M -o', and we need to detect this.  Also, some Intel
4217    # versions had trouble with output in subdirs.
4218    am__obj=sub/conftest.${OBJEXT-o}
4219    am__minus_obj="-o $am__obj"
4220    case $depmode in
4221    gcc)
4222      # This depmode causes a compiler race in universal mode.
4223      test "$am__universal" = false || continue
4224      ;;
4225    nosideeffect)
4226      # After this tag, mechanisms are not by side-effect, so they'll
4227      # only be used when explicitly requested.
4228      if test "x$enable_dependency_tracking" = xyes; then
4229	continue
4230      else
4231	break
4232      fi
4233      ;;
4234    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4235      # This compiler won't grok '-c -o', but also, the minuso test has
4236      # not run yet.  These depmodes are late enough in the game, and
4237      # so weak that their functioning should not be impacted.
4238      am__obj=conftest.${OBJEXT-o}
4239      am__minus_obj=
4240      ;;
4241    none) break ;;
4242    esac
4243    if depmode=$depmode \
4244       source=sub/conftest.c object=$am__obj \
4245       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4246       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4247         >/dev/null 2>conftest.err &&
4248       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4249       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4250       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4251       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4252      # icc doesn't choke on unknown options, it will just issue warnings
4253      # or remarks (even with -Werror).  So we grep stderr for any message
4254      # that says an option was ignored or not supported.
4255      # When given -MP, icc 7.0 and 7.1 complain thusly:
4256      #   icc: Command line warning: ignoring option '-M'; no argument required
4257      # The diagnosis changed in icc 8.0:
4258      #   icc: Command line remark: option '-MP' not supported
4259      if (grep 'ignoring option' conftest.err ||
4260          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4261        am_cv_CC_dependencies_compiler_type=$depmode
4262        break
4263      fi
4264    fi
4265  done
4266
4267  cd ..
4268  rm -rf conftest.dir
4269else
4270  am_cv_CC_dependencies_compiler_type=none
4271fi
4272
4273fi
4274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4275$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4276CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4277
4278 if
4279  test "x$enable_dependency_tracking" != xno \
4280  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4281  am__fastdepCC_TRUE=
4282  am__fastdepCC_FALSE='#'
4283else
4284  am__fastdepCC_TRUE='#'
4285  am__fastdepCC_FALSE=
4286fi
4287
4288
4289
4290ac_ext=c
4291ac_cpp='$CPP $CPPFLAGS'
4292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4294ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4296$as_echo_n "checking how to run the C preprocessor... " >&6; }
4297# On Suns, sometimes $CPP names a directory.
4298if test -n "$CPP" && test -d "$CPP"; then
4299  CPP=
4300fi
4301if test -z "$CPP"; then
4302  if ${ac_cv_prog_CPP+:} false; then :
4303  $as_echo_n "(cached) " >&6
4304else
4305      # Double quotes because CPP needs to be expanded
4306    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4307    do
4308      ac_preproc_ok=false
4309for ac_c_preproc_warn_flag in '' yes
4310do
4311  # Use a header file that comes with gcc, so configuring glibc
4312  # with a fresh cross-compiler works.
4313  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4314  # <limits.h> exists even on freestanding compilers.
4315  # On the NeXT, cc -E runs the code through the compiler's parser,
4316  # not just through cpp. "Syntax error" is here to catch this case.
4317  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318/* end confdefs.h.  */
4319#ifdef __STDC__
4320# include <limits.h>
4321#else
4322# include <assert.h>
4323#endif
4324		     Syntax error
4325_ACEOF
4326if ac_fn_c_try_cpp "$LINENO"; then :
4327
4328else
4329  # Broken: fails on valid input.
4330continue
4331fi
4332rm -f conftest.err conftest.i conftest.$ac_ext
4333
4334  # OK, works on sane cases.  Now check whether nonexistent headers
4335  # can be detected and how.
4336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337/* end confdefs.h.  */
4338#include <ac_nonexistent.h>
4339_ACEOF
4340if ac_fn_c_try_cpp "$LINENO"; then :
4341  # Broken: success on invalid input.
4342continue
4343else
4344  # Passes both tests.
4345ac_preproc_ok=:
4346break
4347fi
4348rm -f conftest.err conftest.i conftest.$ac_ext
4349
4350done
4351# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4352rm -f conftest.i conftest.err conftest.$ac_ext
4353if $ac_preproc_ok; then :
4354  break
4355fi
4356
4357    done
4358    ac_cv_prog_CPP=$CPP
4359
4360fi
4361  CPP=$ac_cv_prog_CPP
4362else
4363  ac_cv_prog_CPP=$CPP
4364fi
4365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4366$as_echo "$CPP" >&6; }
4367ac_preproc_ok=false
4368for ac_c_preproc_warn_flag in '' yes
4369do
4370  # Use a header file that comes with gcc, so configuring glibc
4371  # with a fresh cross-compiler works.
4372  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4373  # <limits.h> exists even on freestanding compilers.
4374  # On the NeXT, cc -E runs the code through the compiler's parser,
4375  # not just through cpp. "Syntax error" is here to catch this case.
4376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377/* end confdefs.h.  */
4378#ifdef __STDC__
4379# include <limits.h>
4380#else
4381# include <assert.h>
4382#endif
4383		     Syntax error
4384_ACEOF
4385if ac_fn_c_try_cpp "$LINENO"; then :
4386
4387else
4388  # Broken: fails on valid input.
4389continue
4390fi
4391rm -f conftest.err conftest.i conftest.$ac_ext
4392
4393  # OK, works on sane cases.  Now check whether nonexistent headers
4394  # can be detected and how.
4395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396/* end confdefs.h.  */
4397#include <ac_nonexistent.h>
4398_ACEOF
4399if ac_fn_c_try_cpp "$LINENO"; then :
4400  # Broken: success on invalid input.
4401continue
4402else
4403  # Passes both tests.
4404ac_preproc_ok=:
4405break
4406fi
4407rm -f conftest.err conftest.i conftest.$ac_ext
4408
4409done
4410# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4411rm -f conftest.i conftest.err conftest.$ac_ext
4412if $ac_preproc_ok; then :
4413
4414else
4415  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4416$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4417as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4418See \`config.log' for more details" "$LINENO" 5; }
4419fi
4420
4421ac_ext=c
4422ac_cpp='$CPP $CPPFLAGS'
4423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425ac_compiler_gnu=$ac_cv_c_compiler_gnu
4426
4427
4428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4429$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4430if ${ac_cv_path_GREP+:} false; then :
4431  $as_echo_n "(cached) " >&6
4432else
4433  if test -z "$GREP"; then
4434  ac_path_GREP_found=false
4435  # Loop through the user's path and test for each of PROGNAME-LIST
4436  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4438do
4439  IFS=$as_save_IFS
4440  test -z "$as_dir" && as_dir=.
4441    for ac_prog in grep ggrep; do
4442    for ac_exec_ext in '' $ac_executable_extensions; do
4443      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4444      as_fn_executable_p "$ac_path_GREP" || continue
4445# Check for GNU ac_path_GREP and select it if it is found.
4446  # Check for GNU $ac_path_GREP
4447case `"$ac_path_GREP" --version 2>&1` in
4448*GNU*)
4449  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4450*)
4451  ac_count=0
4452  $as_echo_n 0123456789 >"conftest.in"
4453  while :
4454  do
4455    cat "conftest.in" "conftest.in" >"conftest.tmp"
4456    mv "conftest.tmp" "conftest.in"
4457    cp "conftest.in" "conftest.nl"
4458    $as_echo 'GREP' >> "conftest.nl"
4459    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4460    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4461    as_fn_arith $ac_count + 1 && ac_count=$as_val
4462    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4463      # Best one so far, save it but keep looking for a better one
4464      ac_cv_path_GREP="$ac_path_GREP"
4465      ac_path_GREP_max=$ac_count
4466    fi
4467    # 10*(2^10) chars as input seems more than enough
4468    test $ac_count -gt 10 && break
4469  done
4470  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4471esac
4472
4473      $ac_path_GREP_found && break 3
4474    done
4475  done
4476  done
4477IFS=$as_save_IFS
4478  if test -z "$ac_cv_path_GREP"; then
4479    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4480  fi
4481else
4482  ac_cv_path_GREP=$GREP
4483fi
4484
4485fi
4486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4487$as_echo "$ac_cv_path_GREP" >&6; }
4488 GREP="$ac_cv_path_GREP"
4489
4490
4491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4492$as_echo_n "checking for egrep... " >&6; }
4493if ${ac_cv_path_EGREP+:} false; then :
4494  $as_echo_n "(cached) " >&6
4495else
4496  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4497   then ac_cv_path_EGREP="$GREP -E"
4498   else
4499     if test -z "$EGREP"; then
4500  ac_path_EGREP_found=false
4501  # Loop through the user's path and test for each of PROGNAME-LIST
4502  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4504do
4505  IFS=$as_save_IFS
4506  test -z "$as_dir" && as_dir=.
4507    for ac_prog in egrep; do
4508    for ac_exec_ext in '' $ac_executable_extensions; do
4509      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4510      as_fn_executable_p "$ac_path_EGREP" || continue
4511# Check for GNU ac_path_EGREP and select it if it is found.
4512  # Check for GNU $ac_path_EGREP
4513case `"$ac_path_EGREP" --version 2>&1` in
4514*GNU*)
4515  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4516*)
4517  ac_count=0
4518  $as_echo_n 0123456789 >"conftest.in"
4519  while :
4520  do
4521    cat "conftest.in" "conftest.in" >"conftest.tmp"
4522    mv "conftest.tmp" "conftest.in"
4523    cp "conftest.in" "conftest.nl"
4524    $as_echo 'EGREP' >> "conftest.nl"
4525    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4526    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4527    as_fn_arith $ac_count + 1 && ac_count=$as_val
4528    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4529      # Best one so far, save it but keep looking for a better one
4530      ac_cv_path_EGREP="$ac_path_EGREP"
4531      ac_path_EGREP_max=$ac_count
4532    fi
4533    # 10*(2^10) chars as input seems more than enough
4534    test $ac_count -gt 10 && break
4535  done
4536  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4537esac
4538
4539      $ac_path_EGREP_found && break 3
4540    done
4541  done
4542  done
4543IFS=$as_save_IFS
4544  if test -z "$ac_cv_path_EGREP"; then
4545    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4546  fi
4547else
4548  ac_cv_path_EGREP=$EGREP
4549fi
4550
4551   fi
4552fi
4553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4554$as_echo "$ac_cv_path_EGREP" >&6; }
4555 EGREP="$ac_cv_path_EGREP"
4556
4557
4558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4559$as_echo_n "checking for ANSI C header files... " >&6; }
4560if ${ac_cv_header_stdc+:} false; then :
4561  $as_echo_n "(cached) " >&6
4562else
4563  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564/* end confdefs.h.  */
4565#include <stdlib.h>
4566#include <stdarg.h>
4567#include <string.h>
4568#include <float.h>
4569
4570int
4571main ()
4572{
4573
4574  ;
4575  return 0;
4576}
4577_ACEOF
4578if ac_fn_c_try_compile "$LINENO"; then :
4579  ac_cv_header_stdc=yes
4580else
4581  ac_cv_header_stdc=no
4582fi
4583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584
4585if test $ac_cv_header_stdc = yes; then
4586  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588/* end confdefs.h.  */
4589#include <string.h>
4590
4591_ACEOF
4592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593  $EGREP "memchr" >/dev/null 2>&1; then :
4594
4595else
4596  ac_cv_header_stdc=no
4597fi
4598rm -f conftest*
4599
4600fi
4601
4602if test $ac_cv_header_stdc = yes; then
4603  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605/* end confdefs.h.  */
4606#include <stdlib.h>
4607
4608_ACEOF
4609if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4610  $EGREP "free" >/dev/null 2>&1; then :
4611
4612else
4613  ac_cv_header_stdc=no
4614fi
4615rm -f conftest*
4616
4617fi
4618
4619if test $ac_cv_header_stdc = yes; then
4620  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4621  if test "$cross_compiling" = yes; then :
4622  :
4623else
4624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625/* end confdefs.h.  */
4626#include <ctype.h>
4627#include <stdlib.h>
4628#if ((' ' & 0x0FF) == 0x020)
4629# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4630# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4631#else
4632# define ISLOWER(c) \
4633		   (('a' <= (c) && (c) <= 'i') \
4634		     || ('j' <= (c) && (c) <= 'r') \
4635		     || ('s' <= (c) && (c) <= 'z'))
4636# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4637#endif
4638
4639#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4640int
4641main ()
4642{
4643  int i;
4644  for (i = 0; i < 256; i++)
4645    if (XOR (islower (i), ISLOWER (i))
4646	|| toupper (i) != TOUPPER (i))
4647      return 2;
4648  return 0;
4649}
4650_ACEOF
4651if ac_fn_c_try_run "$LINENO"; then :
4652
4653else
4654  ac_cv_header_stdc=no
4655fi
4656rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4657  conftest.$ac_objext conftest.beam conftest.$ac_ext
4658fi
4659
4660fi
4661fi
4662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4663$as_echo "$ac_cv_header_stdc" >&6; }
4664if test $ac_cv_header_stdc = yes; then
4665
4666$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4667
4668fi
4669
4670# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4671for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4672		  inttypes.h stdint.h unistd.h
4673do :
4674  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4675ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4676"
4677if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4678  cat >>confdefs.h <<_ACEOF
4679#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4680_ACEOF
4681
4682fi
4683
4684done
4685
4686
4687
4688  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4689if test "x$ac_cv_header_minix_config_h" = xyes; then :
4690  MINIX=yes
4691else
4692  MINIX=
4693fi
4694
4695
4696  if test "$MINIX" = yes; then
4697
4698$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4699
4700
4701$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4702
4703
4704$as_echo "#define _MINIX 1" >>confdefs.h
4705
4706  fi
4707
4708
4709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4710$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4711if ${ac_cv_safe_to_define___extensions__+:} false; then :
4712  $as_echo_n "(cached) " >&6
4713else
4714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715/* end confdefs.h.  */
4716
4717#         define __EXTENSIONS__ 1
4718          $ac_includes_default
4719int
4720main ()
4721{
4722
4723  ;
4724  return 0;
4725}
4726_ACEOF
4727if ac_fn_c_try_compile "$LINENO"; then :
4728  ac_cv_safe_to_define___extensions__=yes
4729else
4730  ac_cv_safe_to_define___extensions__=no
4731fi
4732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733fi
4734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4735$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4736  test $ac_cv_safe_to_define___extensions__ = yes &&
4737    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4738
4739  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4740
4741  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4742
4743  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4744
4745  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4746
4747
4748 if test x"`uname | grep \"CYGWIN\"`" != x""; then
4749  HAVE_OS_CYGWIN_TRUE=
4750  HAVE_OS_CYGWIN_FALSE='#'
4751else
4752  HAVE_OS_CYGWIN_TRUE='#'
4753  HAVE_OS_CYGWIN_FALSE=
4754fi
4755
4756if test x"`uname | grep \"CYGWIN\"`" != x""; then
4757
4758$as_echo "#define HAVE_OS_CYGWIN 1" >>confdefs.h
4759
4760fi
4761
4762for ac_prog in gawk mawk nawk awk
4763do
4764  # Extract the first word of "$ac_prog", so it can be a program name with args.
4765set dummy $ac_prog; ac_word=$2
4766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767$as_echo_n "checking for $ac_word... " >&6; }
4768if ${ac_cv_prog_AWK+:} false; then :
4769  $as_echo_n "(cached) " >&6
4770else
4771  if test -n "$AWK"; then
4772  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4773else
4774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775for as_dir in $PATH
4776do
4777  IFS=$as_save_IFS
4778  test -z "$as_dir" && as_dir=.
4779    for ac_exec_ext in '' $ac_executable_extensions; do
4780  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4781    ac_cv_prog_AWK="$ac_prog"
4782    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783    break 2
4784  fi
4785done
4786  done
4787IFS=$as_save_IFS
4788
4789fi
4790fi
4791AWK=$ac_cv_prog_AWK
4792if test -n "$AWK"; then
4793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4794$as_echo "$AWK" >&6; }
4795else
4796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797$as_echo "no" >&6; }
4798fi
4799
4800
4801  test -n "$AWK" && break
4802done
4803
4804ac_ext=c
4805ac_cpp='$CPP $CPPFLAGS'
4806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4808ac_compiler_gnu=$ac_cv_c_compiler_gnu
4809if test -n "$ac_tool_prefix"; then
4810  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4811set dummy ${ac_tool_prefix}gcc; ac_word=$2
4812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813$as_echo_n "checking for $ac_word... " >&6; }
4814if ${ac_cv_prog_CC+:} false; then :
4815  $as_echo_n "(cached) " >&6
4816else
4817  if test -n "$CC"; then
4818  ac_cv_prog_CC="$CC" # Let the user override the test.
4819else
4820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821for as_dir in $PATH
4822do
4823  IFS=$as_save_IFS
4824  test -z "$as_dir" && as_dir=.
4825    for ac_exec_ext in '' $ac_executable_extensions; do
4826  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4827    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829    break 2
4830  fi
4831done
4832  done
4833IFS=$as_save_IFS
4834
4835fi
4836fi
4837CC=$ac_cv_prog_CC
4838if test -n "$CC"; then
4839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4840$as_echo "$CC" >&6; }
4841else
4842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843$as_echo "no" >&6; }
4844fi
4845
4846
4847fi
4848if test -z "$ac_cv_prog_CC"; then
4849  ac_ct_CC=$CC
4850  # Extract the first word of "gcc", so it can be a program name with args.
4851set dummy gcc; ac_word=$2
4852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4853$as_echo_n "checking for $ac_word... " >&6; }
4854if ${ac_cv_prog_ac_ct_CC+:} false; then :
4855  $as_echo_n "(cached) " >&6
4856else
4857  if test -n "$ac_ct_CC"; then
4858  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4859else
4860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861for as_dir in $PATH
4862do
4863  IFS=$as_save_IFS
4864  test -z "$as_dir" && as_dir=.
4865    for ac_exec_ext in '' $ac_executable_extensions; do
4866  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867    ac_cv_prog_ac_ct_CC="gcc"
4868    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869    break 2
4870  fi
4871done
4872  done
4873IFS=$as_save_IFS
4874
4875fi
4876fi
4877ac_ct_CC=$ac_cv_prog_ac_ct_CC
4878if test -n "$ac_ct_CC"; then
4879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4880$as_echo "$ac_ct_CC" >&6; }
4881else
4882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883$as_echo "no" >&6; }
4884fi
4885
4886  if test "x$ac_ct_CC" = x; then
4887    CC=""
4888  else
4889    case $cross_compiling:$ac_tool_warned in
4890yes:)
4891{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893ac_tool_warned=yes ;;
4894esac
4895    CC=$ac_ct_CC
4896  fi
4897else
4898  CC="$ac_cv_prog_CC"
4899fi
4900
4901if test -z "$CC"; then
4902          if test -n "$ac_tool_prefix"; then
4903    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4904set dummy ${ac_tool_prefix}cc; ac_word=$2
4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906$as_echo_n "checking for $ac_word... " >&6; }
4907if ${ac_cv_prog_CC+:} false; then :
4908  $as_echo_n "(cached) " >&6
4909else
4910  if test -n "$CC"; then
4911  ac_cv_prog_CC="$CC" # Let the user override the test.
4912else
4913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH
4915do
4916  IFS=$as_save_IFS
4917  test -z "$as_dir" && as_dir=.
4918    for ac_exec_ext in '' $ac_executable_extensions; do
4919  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920    ac_cv_prog_CC="${ac_tool_prefix}cc"
4921    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922    break 2
4923  fi
4924done
4925  done
4926IFS=$as_save_IFS
4927
4928fi
4929fi
4930CC=$ac_cv_prog_CC
4931if test -n "$CC"; then
4932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4933$as_echo "$CC" >&6; }
4934else
4935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936$as_echo "no" >&6; }
4937fi
4938
4939
4940  fi
4941fi
4942if test -z "$CC"; then
4943  # Extract the first word of "cc", so it can be a program name with args.
4944set dummy cc; ac_word=$2
4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946$as_echo_n "checking for $ac_word... " >&6; }
4947if ${ac_cv_prog_CC+:} false; then :
4948  $as_echo_n "(cached) " >&6
4949else
4950  if test -n "$CC"; then
4951  ac_cv_prog_CC="$CC" # Let the user override the test.
4952else
4953  ac_prog_rejected=no
4954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955for as_dir in $PATH
4956do
4957  IFS=$as_save_IFS
4958  test -z "$as_dir" && as_dir=.
4959    for ac_exec_ext in '' $ac_executable_extensions; do
4960  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4961    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4962       ac_prog_rejected=yes
4963       continue
4964     fi
4965    ac_cv_prog_CC="cc"
4966    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967    break 2
4968  fi
4969done
4970  done
4971IFS=$as_save_IFS
4972
4973if test $ac_prog_rejected = yes; then
4974  # We found a bogon in the path, so make sure we never use it.
4975  set dummy $ac_cv_prog_CC
4976  shift
4977  if test $# != 0; then
4978    # We chose a different compiler from the bogus one.
4979    # However, it has the same basename, so the bogon will be chosen
4980    # first if we set CC to just the basename; use the full file name.
4981    shift
4982    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4983  fi
4984fi
4985fi
4986fi
4987CC=$ac_cv_prog_CC
4988if test -n "$CC"; then
4989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4990$as_echo "$CC" >&6; }
4991else
4992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993$as_echo "no" >&6; }
4994fi
4995
4996
4997fi
4998if test -z "$CC"; then
4999  if test -n "$ac_tool_prefix"; then
5000  for ac_prog in cl.exe
5001  do
5002    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5003set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005$as_echo_n "checking for $ac_word... " >&6; }
5006if ${ac_cv_prog_CC+:} false; then :
5007  $as_echo_n "(cached) " >&6
5008else
5009  if test -n "$CC"; then
5010  ac_cv_prog_CC="$CC" # Let the user override the test.
5011else
5012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013for as_dir in $PATH
5014do
5015  IFS=$as_save_IFS
5016  test -z "$as_dir" && as_dir=.
5017    for ac_exec_ext in '' $ac_executable_extensions; do
5018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021    break 2
5022  fi
5023done
5024  done
5025IFS=$as_save_IFS
5026
5027fi
5028fi
5029CC=$ac_cv_prog_CC
5030if test -n "$CC"; then
5031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5032$as_echo "$CC" >&6; }
5033else
5034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035$as_echo "no" >&6; }
5036fi
5037
5038
5039    test -n "$CC" && break
5040  done
5041fi
5042if test -z "$CC"; then
5043  ac_ct_CC=$CC
5044  for ac_prog in cl.exe
5045do
5046  # Extract the first word of "$ac_prog", so it can be a program name with args.
5047set dummy $ac_prog; ac_word=$2
5048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049$as_echo_n "checking for $ac_word... " >&6; }
5050if ${ac_cv_prog_ac_ct_CC+:} false; then :
5051  $as_echo_n "(cached) " >&6
5052else
5053  if test -n "$ac_ct_CC"; then
5054  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5055else
5056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057for as_dir in $PATH
5058do
5059  IFS=$as_save_IFS
5060  test -z "$as_dir" && as_dir=.
5061    for ac_exec_ext in '' $ac_executable_extensions; do
5062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5063    ac_cv_prog_ac_ct_CC="$ac_prog"
5064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065    break 2
5066  fi
5067done
5068  done
5069IFS=$as_save_IFS
5070
5071fi
5072fi
5073ac_ct_CC=$ac_cv_prog_ac_ct_CC
5074if test -n "$ac_ct_CC"; then
5075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5076$as_echo "$ac_ct_CC" >&6; }
5077else
5078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079$as_echo "no" >&6; }
5080fi
5081
5082
5083  test -n "$ac_ct_CC" && break
5084done
5085
5086  if test "x$ac_ct_CC" = x; then
5087    CC=""
5088  else
5089    case $cross_compiling:$ac_tool_warned in
5090yes:)
5091{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093ac_tool_warned=yes ;;
5094esac
5095    CC=$ac_ct_CC
5096  fi
5097fi
5098
5099fi
5100
5101
5102test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5103$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5104as_fn_error $? "no acceptable C compiler found in \$PATH
5105See \`config.log' for more details" "$LINENO" 5; }
5106
5107# Provide some information about the compiler.
5108$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5109set X $ac_compile
5110ac_compiler=$2
5111for ac_option in --version -v -V -qversion; do
5112  { { ac_try="$ac_compiler $ac_option >&5"
5113case "(($ac_try" in
5114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5115  *) ac_try_echo=$ac_try;;
5116esac
5117eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5118$as_echo "$ac_try_echo"; } >&5
5119  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5120  ac_status=$?
5121  if test -s conftest.err; then
5122    sed '10a\
5123... rest of stderr output deleted ...
5124         10q' conftest.err >conftest.er1
5125    cat conftest.er1 >&5
5126  fi
5127  rm -f conftest.er1 conftest.err
5128  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5129  test $ac_status = 0; }
5130done
5131
5132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5133$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5134if ${ac_cv_c_compiler_gnu+:} false; then :
5135  $as_echo_n "(cached) " >&6
5136else
5137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138/* end confdefs.h.  */
5139
5140int
5141main ()
5142{
5143#ifndef __GNUC__
5144       choke me
5145#endif
5146
5147  ;
5148  return 0;
5149}
5150_ACEOF
5151if ac_fn_c_try_compile "$LINENO"; then :
5152  ac_compiler_gnu=yes
5153else
5154  ac_compiler_gnu=no
5155fi
5156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5157ac_cv_c_compiler_gnu=$ac_compiler_gnu
5158
5159fi
5160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5161$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5162if test $ac_compiler_gnu = yes; then
5163  GCC=yes
5164else
5165  GCC=
5166fi
5167ac_test_CFLAGS=${CFLAGS+set}
5168ac_save_CFLAGS=$CFLAGS
5169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5170$as_echo_n "checking whether $CC accepts -g... " >&6; }
5171if ${ac_cv_prog_cc_g+:} false; then :
5172  $as_echo_n "(cached) " >&6
5173else
5174  ac_save_c_werror_flag=$ac_c_werror_flag
5175   ac_c_werror_flag=yes
5176   ac_cv_prog_cc_g=no
5177   CFLAGS="-g"
5178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179/* end confdefs.h.  */
5180
5181int
5182main ()
5183{
5184
5185  ;
5186  return 0;
5187}
5188_ACEOF
5189if ac_fn_c_try_compile "$LINENO"; then :
5190  ac_cv_prog_cc_g=yes
5191else
5192  CFLAGS=""
5193      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5194/* end confdefs.h.  */
5195
5196int
5197main ()
5198{
5199
5200  ;
5201  return 0;
5202}
5203_ACEOF
5204if ac_fn_c_try_compile "$LINENO"; then :
5205
5206else
5207  ac_c_werror_flag=$ac_save_c_werror_flag
5208	 CFLAGS="-g"
5209	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210/* end confdefs.h.  */
5211
5212int
5213main ()
5214{
5215
5216  ;
5217  return 0;
5218}
5219_ACEOF
5220if ac_fn_c_try_compile "$LINENO"; then :
5221  ac_cv_prog_cc_g=yes
5222fi
5223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5224fi
5225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5226fi
5227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5228   ac_c_werror_flag=$ac_save_c_werror_flag
5229fi
5230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5231$as_echo "$ac_cv_prog_cc_g" >&6; }
5232if test "$ac_test_CFLAGS" = set; then
5233  CFLAGS=$ac_save_CFLAGS
5234elif test $ac_cv_prog_cc_g = yes; then
5235  if test "$GCC" = yes; then
5236    CFLAGS="-g -O2"
5237  else
5238    CFLAGS="-g"
5239  fi
5240else
5241  if test "$GCC" = yes; then
5242    CFLAGS="-O2"
5243  else
5244    CFLAGS=
5245  fi
5246fi
5247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5248$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5249if ${ac_cv_prog_cc_c89+:} false; then :
5250  $as_echo_n "(cached) " >&6
5251else
5252  ac_cv_prog_cc_c89=no
5253ac_save_CC=$CC
5254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255/* end confdefs.h.  */
5256#include <stdarg.h>
5257#include <stdio.h>
5258struct stat;
5259/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5260struct buf { int x; };
5261FILE * (*rcsopen) (struct buf *, struct stat *, int);
5262static char *e (p, i)
5263     char **p;
5264     int i;
5265{
5266  return p[i];
5267}
5268static char *f (char * (*g) (char **, int), char **p, ...)
5269{
5270  char *s;
5271  va_list v;
5272  va_start (v,p);
5273  s = g (p, va_arg (v,int));
5274  va_end (v);
5275  return s;
5276}
5277
5278/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5279   function prototypes and stuff, but not '\xHH' hex character constants.
5280   These don't provoke an error unfortunately, instead are silently treated
5281   as 'x'.  The following induces an error, until -std is added to get
5282   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5283   array size at least.  It's necessary to write '\x00'==0 to get something
5284   that's true only with -std.  */
5285int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5286
5287/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5288   inside strings and character constants.  */
5289#define FOO(x) 'x'
5290int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5291
5292int test (int i, double x);
5293struct s1 {int (*f) (int a);};
5294struct s2 {int (*f) (double a);};
5295int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5296int argc;
5297char **argv;
5298int
5299main ()
5300{
5301return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5302  ;
5303  return 0;
5304}
5305_ACEOF
5306for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5307	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5308do
5309  CC="$ac_save_CC $ac_arg"
5310  if ac_fn_c_try_compile "$LINENO"; then :
5311  ac_cv_prog_cc_c89=$ac_arg
5312fi
5313rm -f core conftest.err conftest.$ac_objext
5314  test "x$ac_cv_prog_cc_c89" != "xno" && break
5315done
5316rm -f conftest.$ac_ext
5317CC=$ac_save_CC
5318
5319fi
5320# AC_CACHE_VAL
5321case "x$ac_cv_prog_cc_c89" in
5322  x)
5323    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5324$as_echo "none needed" >&6; } ;;
5325  xno)
5326    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5327$as_echo "unsupported" >&6; } ;;
5328  *)
5329    CC="$CC $ac_cv_prog_cc_c89"
5330    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5331$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5332esac
5333if test "x$ac_cv_prog_cc_c89" != xno; then :
5334
5335fi
5336
5337ac_ext=c
5338ac_cpp='$CPP $CPPFLAGS'
5339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5341ac_compiler_gnu=$ac_cv_c_compiler_gnu
5342
5343ac_ext=c
5344ac_cpp='$CPP $CPPFLAGS'
5345ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5346ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5347ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5349$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5350if ${am_cv_prog_cc_c_o+:} false; then :
5351  $as_echo_n "(cached) " >&6
5352else
5353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354/* end confdefs.h.  */
5355
5356int
5357main ()
5358{
5359
5360  ;
5361  return 0;
5362}
5363_ACEOF
5364  # Make sure it works both with $CC and with simple cc.
5365  # Following AC_PROG_CC_C_O, we do the test twice because some
5366  # compilers refuse to overwrite an existing .o file with -o,
5367  # though they will create one.
5368  am_cv_prog_cc_c_o=yes
5369  for am_i in 1 2; do
5370    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5371   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5372   ac_status=$?
5373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374   (exit $ac_status); } \
5375         && test -f conftest2.$ac_objext; then
5376      : OK
5377    else
5378      am_cv_prog_cc_c_o=no
5379      break
5380    fi
5381  done
5382  rm -f core conftest*
5383  unset am_i
5384fi
5385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5386$as_echo "$am_cv_prog_cc_c_o" >&6; }
5387if test "$am_cv_prog_cc_c_o" != yes; then
5388   # Losing compiler, so override with the script.
5389   # FIXME: It is wrong to rewrite CC.
5390   # But if we don't then we get into trouble of one sort or another.
5391   # A longer-term fix would be to have automake use am__CC in this case,
5392   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5393   CC="$am_aux_dir/compile $CC"
5394fi
5395ac_ext=c
5396ac_cpp='$CPP $CPPFLAGS'
5397ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5398ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5399ac_compiler_gnu=$ac_cv_c_compiler_gnu
5400
5401
5402depcc="$CC"   am_compiler_list=
5403
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5405$as_echo_n "checking dependency style of $depcc... " >&6; }
5406if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5407  $as_echo_n "(cached) " >&6
5408else
5409  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5410  # We make a subdir and do the tests there.  Otherwise we can end up
5411  # making bogus files that we don't know about and never remove.  For
5412  # instance it was reported that on HP-UX the gcc test will end up
5413  # making a dummy file named 'D' -- because '-MD' means "put the output
5414  # in D".
5415  rm -rf conftest.dir
5416  mkdir conftest.dir
5417  # Copy depcomp to subdir because otherwise we won't find it if we're
5418  # using a relative directory.
5419  cp "$am_depcomp" conftest.dir
5420  cd conftest.dir
5421  # We will build objects and dependencies in a subdirectory because
5422  # it helps to detect inapplicable dependency modes.  For instance
5423  # both Tru64's cc and ICC support -MD to output dependencies as a
5424  # side effect of compilation, but ICC will put the dependencies in
5425  # the current directory while Tru64 will put them in the object
5426  # directory.
5427  mkdir sub
5428
5429  am_cv_CC_dependencies_compiler_type=none
5430  if test "$am_compiler_list" = ""; then
5431     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5432  fi
5433  am__universal=false
5434  case " $depcc " in #(
5435     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5436     esac
5437
5438  for depmode in $am_compiler_list; do
5439    # Setup a source with many dependencies, because some compilers
5440    # like to wrap large dependency lists on column 80 (with \), and
5441    # we should not choose a depcomp mode which is confused by this.
5442    #
5443    # We need to recreate these files for each test, as the compiler may
5444    # overwrite some of them when testing with obscure command lines.
5445    # This happens at least with the AIX C compiler.
5446    : > sub/conftest.c
5447    for i in 1 2 3 4 5 6; do
5448      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5449      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5450      # Solaris 10 /bin/sh.
5451      echo '/* dummy */' > sub/conftst$i.h
5452    done
5453    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5454
5455    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5456    # mode.  It turns out that the SunPro C++ compiler does not properly
5457    # handle '-M -o', and we need to detect this.  Also, some Intel
5458    # versions had trouble with output in subdirs.
5459    am__obj=sub/conftest.${OBJEXT-o}
5460    am__minus_obj="-o $am__obj"
5461    case $depmode in
5462    gcc)
5463      # This depmode causes a compiler race in universal mode.
5464      test "$am__universal" = false || continue
5465      ;;
5466    nosideeffect)
5467      # After this tag, mechanisms are not by side-effect, so they'll
5468      # only be used when explicitly requested.
5469      if test "x$enable_dependency_tracking" = xyes; then
5470	continue
5471      else
5472	break
5473      fi
5474      ;;
5475    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5476      # This compiler won't grok '-c -o', but also, the minuso test has
5477      # not run yet.  These depmodes are late enough in the game, and
5478      # so weak that their functioning should not be impacted.
5479      am__obj=conftest.${OBJEXT-o}
5480      am__minus_obj=
5481      ;;
5482    none) break ;;
5483    esac
5484    if depmode=$depmode \
5485       source=sub/conftest.c object=$am__obj \
5486       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5487       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5488         >/dev/null 2>conftest.err &&
5489       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5490       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5491       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5492       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5493      # icc doesn't choke on unknown options, it will just issue warnings
5494      # or remarks (even with -Werror).  So we grep stderr for any message
5495      # that says an option was ignored or not supported.
5496      # When given -MP, icc 7.0 and 7.1 complain thusly:
5497      #   icc: Command line warning: ignoring option '-M'; no argument required
5498      # The diagnosis changed in icc 8.0:
5499      #   icc: Command line remark: option '-MP' not supported
5500      if (grep 'ignoring option' conftest.err ||
5501          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5502        am_cv_CC_dependencies_compiler_type=$depmode
5503        break
5504      fi
5505    fi
5506  done
5507
5508  cd ..
5509  rm -rf conftest.dir
5510else
5511  am_cv_CC_dependencies_compiler_type=none
5512fi
5513
5514fi
5515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5516$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5517CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5518
5519 if
5520  test "x$enable_dependency_tracking" != xno \
5521  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5522  am__fastdepCC_TRUE=
5523  am__fastdepCC_FALSE='#'
5524else
5525  am__fastdepCC_TRUE='#'
5526  am__fastdepCC_FALSE=
5527fi
5528
5529
5530
5531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5532$as_echo_n "checking whether ln -s works... " >&6; }
5533LN_S=$as_ln_s
5534if test "$LN_S" = "ln -s"; then
5535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536$as_echo "yes" >&6; }
5537else
5538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5539$as_echo "no, using $LN_S" >&6; }
5540fi
5541
5542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5543$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5544set x ${MAKE-make}
5545ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5546if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5547  $as_echo_n "(cached) " >&6
5548else
5549  cat >conftest.make <<\_ACEOF
5550SHELL = /bin/sh
5551all:
5552	@echo '@@@%%%=$(MAKE)=@@@%%%'
5553_ACEOF
5554# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5555case `${MAKE-make} -f conftest.make 2>/dev/null` in
5556  *@@@%%%=?*=@@@%%%*)
5557    eval ac_cv_prog_make_${ac_make}_set=yes;;
5558  *)
5559    eval ac_cv_prog_make_${ac_make}_set=no;;
5560esac
5561rm -f conftest.make
5562fi
5563if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5565$as_echo "yes" >&6; }
5566  SET_MAKE=
5567else
5568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569$as_echo "no" >&6; }
5570  SET_MAKE="MAKE=${MAKE-make}"
5571fi
5572
5573
5574
5575  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5576$as_echo_n "checking whether NLS is requested... " >&6; }
5577    # Check whether --enable-nls was given.
5578if test "${enable_nls+set}" = set; then :
5579  enableval=$enable_nls; USE_NLS=$enableval
5580else
5581  USE_NLS=yes
5582fi
5583
5584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5585$as_echo "$USE_NLS" >&6; }
5586
5587
5588
5589
5590case "$am__api_version" in
5591    1.01234)
5592	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5593    ;;
5594    *)
5595    ;;
5596esac
5597
5598INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5599INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5600INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5601if test -n "0.35"; then
5602    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35" >&5
5603$as_echo_n "checking for intltool >= 0.35... " >&6; }
5604    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5605$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5606    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5607	as_fn_error $? "Your intltool is too old.  You need intltool 0.35 or later." "$LINENO" 5
5608fi
5609
5610# Extract the first word of "intltool-update", so it can be a program name with args.
5611set dummy intltool-update; ac_word=$2
5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613$as_echo_n "checking for $ac_word... " >&6; }
5614if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
5615  $as_echo_n "(cached) " >&6
5616else
5617  case $INTLTOOL_UPDATE in
5618  [\\/]* | ?:[\\/]*)
5619  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5620  ;;
5621  *)
5622  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623for as_dir in $PATH
5624do
5625  IFS=$as_save_IFS
5626  test -z "$as_dir" && as_dir=.
5627    for ac_exec_ext in '' $ac_executable_extensions; do
5628  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5629    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5630    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631    break 2
5632  fi
5633done
5634  done
5635IFS=$as_save_IFS
5636
5637  ;;
5638esac
5639fi
5640INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5641if test -n "$INTLTOOL_UPDATE"; then
5642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5643$as_echo "$INTLTOOL_UPDATE" >&6; }
5644else
5645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646$as_echo "no" >&6; }
5647fi
5648
5649
5650# Extract the first word of "intltool-merge", so it can be a program name with args.
5651set dummy intltool-merge; ac_word=$2
5652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653$as_echo_n "checking for $ac_word... " >&6; }
5654if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
5655  $as_echo_n "(cached) " >&6
5656else
5657  case $INTLTOOL_MERGE in
5658  [\\/]* | ?:[\\/]*)
5659  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5660  ;;
5661  *)
5662  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663for as_dir in $PATH
5664do
5665  IFS=$as_save_IFS
5666  test -z "$as_dir" && as_dir=.
5667    for ac_exec_ext in '' $ac_executable_extensions; do
5668  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671    break 2
5672  fi
5673done
5674  done
5675IFS=$as_save_IFS
5676
5677  ;;
5678esac
5679fi
5680INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5681if test -n "$INTLTOOL_MERGE"; then
5682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5683$as_echo "$INTLTOOL_MERGE" >&6; }
5684else
5685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686$as_echo "no" >&6; }
5687fi
5688
5689
5690# Extract the first word of "intltool-extract", so it can be a program name with args.
5691set dummy intltool-extract; ac_word=$2
5692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693$as_echo_n "checking for $ac_word... " >&6; }
5694if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
5695  $as_echo_n "(cached) " >&6
5696else
5697  case $INTLTOOL_EXTRACT in
5698  [\\/]* | ?:[\\/]*)
5699  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5700  ;;
5701  *)
5702  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703for as_dir in $PATH
5704do
5705  IFS=$as_save_IFS
5706  test -z "$as_dir" && as_dir=.
5707    for ac_exec_ext in '' $ac_executable_extensions; do
5708  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5710    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711    break 2
5712  fi
5713done
5714  done
5715IFS=$as_save_IFS
5716
5717  ;;
5718esac
5719fi
5720INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5721if test -n "$INTLTOOL_EXTRACT"; then
5722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5723$as_echo "$INTLTOOL_EXTRACT" >&6; }
5724else
5725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726$as_echo "no" >&6; }
5727fi
5728
5729
5730if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5731    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5732fi
5733
5734if test -z "$AM_DEFAULT_VERBOSITY"; then
5735  AM_DEFAULT_VERBOSITY=1
5736fi
5737
5738
5739INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
5740INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
5741INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
5742
5743
5744
5745
5746INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
5747intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
5748intltool__v_merge_options_0='-q'
5749
5750
5751
5752
5753  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 $< $@'
5754INTLTOOL_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 $< $@'
5755     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 $< $@'
5756     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 $< $@'
5757      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 $< $@'
5758     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 $< $@'
5759   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 $< $@'
5760    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 $< $@'
5761INTLTOOL_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 $< $@'
5762       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 $< $@'
5763      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 $< $@'
5764if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5765      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 $< $@'
5766else
5767      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'
5768fi
5769      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 $< $@'
5770      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 $< $@'
5771    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 $< $@'
5772  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 $< $@'
5773    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 $< $@'
5774    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 $< $@'
5775   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 $< $@'
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873# Check the gettext tools to make sure they are GNU
5874# Extract the first word of "xgettext", so it can be a program name with args.
5875set dummy xgettext; ac_word=$2
5876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877$as_echo_n "checking for $ac_word... " >&6; }
5878if ${ac_cv_path_XGETTEXT+:} false; then :
5879  $as_echo_n "(cached) " >&6
5880else
5881  case $XGETTEXT in
5882  [\\/]* | ?:[\\/]*)
5883  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5884  ;;
5885  *)
5886  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887for as_dir in $PATH
5888do
5889  IFS=$as_save_IFS
5890  test -z "$as_dir" && as_dir=.
5891    for ac_exec_ext in '' $ac_executable_extensions; do
5892  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5894    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895    break 2
5896  fi
5897done
5898  done
5899IFS=$as_save_IFS
5900
5901  ;;
5902esac
5903fi
5904XGETTEXT=$ac_cv_path_XGETTEXT
5905if test -n "$XGETTEXT"; then
5906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5907$as_echo "$XGETTEXT" >&6; }
5908else
5909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910$as_echo "no" >&6; }
5911fi
5912
5913
5914# Extract the first word of "msgmerge", so it can be a program name with args.
5915set dummy msgmerge; ac_word=$2
5916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917$as_echo_n "checking for $ac_word... " >&6; }
5918if ${ac_cv_path_MSGMERGE+:} false; then :
5919  $as_echo_n "(cached) " >&6
5920else
5921  case $MSGMERGE in
5922  [\\/]* | ?:[\\/]*)
5923  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5924  ;;
5925  *)
5926  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927for as_dir in $PATH
5928do
5929  IFS=$as_save_IFS
5930  test -z "$as_dir" && as_dir=.
5931    for ac_exec_ext in '' $ac_executable_extensions; do
5932  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5933    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5934    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935    break 2
5936  fi
5937done
5938  done
5939IFS=$as_save_IFS
5940
5941  ;;
5942esac
5943fi
5944MSGMERGE=$ac_cv_path_MSGMERGE
5945if test -n "$MSGMERGE"; then
5946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5947$as_echo "$MSGMERGE" >&6; }
5948else
5949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950$as_echo "no" >&6; }
5951fi
5952
5953
5954# Extract the first word of "msgfmt", so it can be a program name with args.
5955set dummy msgfmt; ac_word=$2
5956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957$as_echo_n "checking for $ac_word... " >&6; }
5958if ${ac_cv_path_MSGFMT+:} false; then :
5959  $as_echo_n "(cached) " >&6
5960else
5961  case $MSGFMT in
5962  [\\/]* | ?:[\\/]*)
5963  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5964  ;;
5965  *)
5966  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967for as_dir in $PATH
5968do
5969  IFS=$as_save_IFS
5970  test -z "$as_dir" && as_dir=.
5971    for ac_exec_ext in '' $ac_executable_extensions; do
5972  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5974    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975    break 2
5976  fi
5977done
5978  done
5979IFS=$as_save_IFS
5980
5981  ;;
5982esac
5983fi
5984MSGFMT=$ac_cv_path_MSGFMT
5985if test -n "$MSGFMT"; then
5986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5987$as_echo "$MSGFMT" >&6; }
5988else
5989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990$as_echo "no" >&6; }
5991fi
5992
5993
5994# Extract the first word of "gmsgfmt", so it can be a program name with args.
5995set dummy gmsgfmt; ac_word=$2
5996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997$as_echo_n "checking for $ac_word... " >&6; }
5998if ${ac_cv_path_GMSGFMT+:} false; then :
5999  $as_echo_n "(cached) " >&6
6000else
6001  case $GMSGFMT in
6002  [\\/]* | ?:[\\/]*)
6003  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6004  ;;
6005  *)
6006  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007for as_dir in $PATH
6008do
6009  IFS=$as_save_IFS
6010  test -z "$as_dir" && as_dir=.
6011    for ac_exec_ext in '' $ac_executable_extensions; do
6012  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6013    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6014    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015    break 2
6016  fi
6017done
6018  done
6019IFS=$as_save_IFS
6020
6021  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6022  ;;
6023esac
6024fi
6025GMSGFMT=$ac_cv_path_GMSGFMT
6026if test -n "$GMSGFMT"; then
6027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6028$as_echo "$GMSGFMT" >&6; }
6029else
6030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031$as_echo "no" >&6; }
6032fi
6033
6034
6035if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6036    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6037fi
6038xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6039mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6040mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6041if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6042    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
6043fi
6044
6045# Extract the first word of "perl", so it can be a program name with args.
6046set dummy perl; ac_word=$2
6047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048$as_echo_n "checking for $ac_word... " >&6; }
6049if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
6050  $as_echo_n "(cached) " >&6
6051else
6052  case $INTLTOOL_PERL in
6053  [\\/]* | ?:[\\/]*)
6054  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6055  ;;
6056  *)
6057  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058for as_dir in $PATH
6059do
6060  IFS=$as_save_IFS
6061  test -z "$as_dir" && as_dir=.
6062    for ac_exec_ext in '' $ac_executable_extensions; do
6063  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6065    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066    break 2
6067  fi
6068done
6069  done
6070IFS=$as_save_IFS
6071
6072  ;;
6073esac
6074fi
6075INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6076if test -n "$INTLTOOL_PERL"; then
6077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
6078$as_echo "$INTLTOOL_PERL" >&6; }
6079else
6080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081$as_echo "no" >&6; }
6082fi
6083
6084
6085if test -z "$INTLTOOL_PERL"; then
6086   as_fn_error $? "perl not found" "$LINENO" 5
6087fi
6088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
6089$as_echo_n "checking for perl >= 5.8.1... " >&6; }
6090$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6091if test $? -ne 0; then
6092   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
6093else
6094   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
6096$as_echo "$IT_PERL_VERSION" >&6; }
6097fi
6098if test "xno-xml" != "xno-xml"; then
6099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
6100$as_echo_n "checking for XML::Parser... " >&6; }
6101   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6102       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6103$as_echo "ok" >&6; }
6104   else
6105       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
6106   fi
6107fi
6108
6109# Substitute ALL_LINGUAS so we can use it in po/Makefile
6110
6111
6112
6113
6114
6115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6116$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6117if ${ac_cv_path_SED+:} false; then :
6118  $as_echo_n "(cached) " >&6
6119else
6120            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6121     for ac_i in 1 2 3 4 5 6 7; do
6122       ac_script="$ac_script$as_nl$ac_script"
6123     done
6124     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6125     { ac_script=; unset ac_script;}
6126     if test -z "$SED"; then
6127  ac_path_SED_found=false
6128  # Loop through the user's path and test for each of PROGNAME-LIST
6129  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130for as_dir in $PATH
6131do
6132  IFS=$as_save_IFS
6133  test -z "$as_dir" && as_dir=.
6134    for ac_prog in sed gsed; do
6135    for ac_exec_ext in '' $ac_executable_extensions; do
6136      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6137      as_fn_executable_p "$ac_path_SED" || continue
6138# Check for GNU ac_path_SED and select it if it is found.
6139  # Check for GNU $ac_path_SED
6140case `"$ac_path_SED" --version 2>&1` in
6141*GNU*)
6142  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6143*)
6144  ac_count=0
6145  $as_echo_n 0123456789 >"conftest.in"
6146  while :
6147  do
6148    cat "conftest.in" "conftest.in" >"conftest.tmp"
6149    mv "conftest.tmp" "conftest.in"
6150    cp "conftest.in" "conftest.nl"
6151    $as_echo '' >> "conftest.nl"
6152    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6153    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6154    as_fn_arith $ac_count + 1 && ac_count=$as_val
6155    if test $ac_count -gt ${ac_path_SED_max-0}; then
6156      # Best one so far, save it but keep looking for a better one
6157      ac_cv_path_SED="$ac_path_SED"
6158      ac_path_SED_max=$ac_count
6159    fi
6160    # 10*(2^10) chars as input seems more than enough
6161    test $ac_count -gt 10 && break
6162  done
6163  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6164esac
6165
6166      $ac_path_SED_found && break 3
6167    done
6168  done
6169  done
6170IFS=$as_save_IFS
6171  if test -z "$ac_cv_path_SED"; then
6172    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6173  fi
6174else
6175  ac_cv_path_SED=$SED
6176fi
6177
6178fi
6179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6180$as_echo "$ac_cv_path_SED" >&6; }
6181 SED="$ac_cv_path_SED"
6182  rm -f conftest.sed
6183
6184
6185
6186case `pwd` in
6187  *\ * | *\	*)
6188    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6189$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6190esac
6191
6192
6193
6194macro_version='2.4.6'
6195macro_revision='2.4.6'
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209ltmain=$ac_aux_dir/ltmain.sh
6210
6211# Make sure we can run config.sub.
6212$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6213  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6214
6215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6216$as_echo_n "checking build system type... " >&6; }
6217if ${ac_cv_build+:} false; then :
6218  $as_echo_n "(cached) " >&6
6219else
6220  ac_build_alias=$build_alias
6221test "x$ac_build_alias" = x &&
6222  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6223test "x$ac_build_alias" = x &&
6224  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6225ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6226  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6227
6228fi
6229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6230$as_echo "$ac_cv_build" >&6; }
6231case $ac_cv_build in
6232*-*-*) ;;
6233*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6234esac
6235build=$ac_cv_build
6236ac_save_IFS=$IFS; IFS='-'
6237set x $ac_cv_build
6238shift
6239build_cpu=$1
6240build_vendor=$2
6241shift; shift
6242# Remember, the first character of IFS is used to create $*,
6243# except with old shells:
6244build_os=$*
6245IFS=$ac_save_IFS
6246case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6247
6248
6249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6250$as_echo_n "checking host system type... " >&6; }
6251if ${ac_cv_host+:} false; then :
6252  $as_echo_n "(cached) " >&6
6253else
6254  if test "x$host_alias" = x; then
6255  ac_cv_host=$ac_cv_build
6256else
6257  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6258    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6259fi
6260
6261fi
6262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6263$as_echo "$ac_cv_host" >&6; }
6264case $ac_cv_host in
6265*-*-*) ;;
6266*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6267esac
6268host=$ac_cv_host
6269ac_save_IFS=$IFS; IFS='-'
6270set x $ac_cv_host
6271shift
6272host_cpu=$1
6273host_vendor=$2
6274shift; shift
6275# Remember, the first character of IFS is used to create $*,
6276# except with old shells:
6277host_os=$*
6278IFS=$ac_save_IFS
6279case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6280
6281
6282# Backslashify metacharacters that are still active within
6283# double-quoted strings.
6284sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6285
6286# Same as above, but do not quote variable references.
6287double_quote_subst='s/\(["`\\]\)/\\\1/g'
6288
6289# Sed substitution to delay expansion of an escaped shell variable in a
6290# double_quote_subst'ed string.
6291delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6292
6293# Sed substitution to delay expansion of an escaped single quote.
6294delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6295
6296# Sed substitution to avoid accidental globbing in evaled expressions
6297no_glob_subst='s/\*/\\\*/g'
6298
6299ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6300ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6301ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6302
6303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6304$as_echo_n "checking how to print strings... " >&6; }
6305# Test print first, because it will be a builtin if present.
6306if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6307   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6308  ECHO='print -r --'
6309elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6310  ECHO='printf %s\n'
6311else
6312  # Use this function as a fallback that always works.
6313  func_fallback_echo ()
6314  {
6315    eval 'cat <<_LTECHO_EOF
6316$1
6317_LTECHO_EOF'
6318  }
6319  ECHO='func_fallback_echo'
6320fi
6321
6322# func_echo_all arg...
6323# Invoke $ECHO with all args, space-separated.
6324func_echo_all ()
6325{
6326    $ECHO ""
6327}
6328
6329case $ECHO in
6330  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6331$as_echo "printf" >&6; } ;;
6332  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6333$as_echo "print -r" >&6; } ;;
6334  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6335$as_echo "cat" >&6; } ;;
6336esac
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6352$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6353if ${ac_cv_path_SED+:} false; then :
6354  $as_echo_n "(cached) " >&6
6355else
6356            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6357     for ac_i in 1 2 3 4 5 6 7; do
6358       ac_script="$ac_script$as_nl$ac_script"
6359     done
6360     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6361     { ac_script=; unset ac_script;}
6362     if test -z "$SED"; then
6363  ac_path_SED_found=false
6364  # Loop through the user's path and test for each of PROGNAME-LIST
6365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366for as_dir in $PATH
6367do
6368  IFS=$as_save_IFS
6369  test -z "$as_dir" && as_dir=.
6370    for ac_prog in sed gsed; do
6371    for ac_exec_ext in '' $ac_executable_extensions; do
6372      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6373      as_fn_executable_p "$ac_path_SED" || continue
6374# Check for GNU ac_path_SED and select it if it is found.
6375  # Check for GNU $ac_path_SED
6376case `"$ac_path_SED" --version 2>&1` in
6377*GNU*)
6378  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6379*)
6380  ac_count=0
6381  $as_echo_n 0123456789 >"conftest.in"
6382  while :
6383  do
6384    cat "conftest.in" "conftest.in" >"conftest.tmp"
6385    mv "conftest.tmp" "conftest.in"
6386    cp "conftest.in" "conftest.nl"
6387    $as_echo '' >> "conftest.nl"
6388    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390    as_fn_arith $ac_count + 1 && ac_count=$as_val
6391    if test $ac_count -gt ${ac_path_SED_max-0}; then
6392      # Best one so far, save it but keep looking for a better one
6393      ac_cv_path_SED="$ac_path_SED"
6394      ac_path_SED_max=$ac_count
6395    fi
6396    # 10*(2^10) chars as input seems more than enough
6397    test $ac_count -gt 10 && break
6398  done
6399  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6400esac
6401
6402      $ac_path_SED_found && break 3
6403    done
6404  done
6405  done
6406IFS=$as_save_IFS
6407  if test -z "$ac_cv_path_SED"; then
6408    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6409  fi
6410else
6411  ac_cv_path_SED=$SED
6412fi
6413
6414fi
6415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6416$as_echo "$ac_cv_path_SED" >&6; }
6417 SED="$ac_cv_path_SED"
6418  rm -f conftest.sed
6419
6420test -z "$SED" && SED=sed
6421Xsed="$SED -e 1s/^X//"
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6434$as_echo_n "checking for fgrep... " >&6; }
6435if ${ac_cv_path_FGREP+:} false; then :
6436  $as_echo_n "(cached) " >&6
6437else
6438  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6439   then ac_cv_path_FGREP="$GREP -F"
6440   else
6441     if test -z "$FGREP"; then
6442  ac_path_FGREP_found=false
6443  # Loop through the user's path and test for each of PROGNAME-LIST
6444  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6446do
6447  IFS=$as_save_IFS
6448  test -z "$as_dir" && as_dir=.
6449    for ac_prog in fgrep; do
6450    for ac_exec_ext in '' $ac_executable_extensions; do
6451      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6452      as_fn_executable_p "$ac_path_FGREP" || continue
6453# Check for GNU ac_path_FGREP and select it if it is found.
6454  # Check for GNU $ac_path_FGREP
6455case `"$ac_path_FGREP" --version 2>&1` in
6456*GNU*)
6457  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6458*)
6459  ac_count=0
6460  $as_echo_n 0123456789 >"conftest.in"
6461  while :
6462  do
6463    cat "conftest.in" "conftest.in" >"conftest.tmp"
6464    mv "conftest.tmp" "conftest.in"
6465    cp "conftest.in" "conftest.nl"
6466    $as_echo 'FGREP' >> "conftest.nl"
6467    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6468    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6469    as_fn_arith $ac_count + 1 && ac_count=$as_val
6470    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6471      # Best one so far, save it but keep looking for a better one
6472      ac_cv_path_FGREP="$ac_path_FGREP"
6473      ac_path_FGREP_max=$ac_count
6474    fi
6475    # 10*(2^10) chars as input seems more than enough
6476    test $ac_count -gt 10 && break
6477  done
6478  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6479esac
6480
6481      $ac_path_FGREP_found && break 3
6482    done
6483  done
6484  done
6485IFS=$as_save_IFS
6486  if test -z "$ac_cv_path_FGREP"; then
6487    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6488  fi
6489else
6490  ac_cv_path_FGREP=$FGREP
6491fi
6492
6493   fi
6494fi
6495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6496$as_echo "$ac_cv_path_FGREP" >&6; }
6497 FGREP="$ac_cv_path_FGREP"
6498
6499
6500test -z "$GREP" && GREP=grep
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520# Check whether --with-gnu-ld was given.
6521if test "${with_gnu_ld+set}" = set; then :
6522  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6523else
6524  with_gnu_ld=no
6525fi
6526
6527ac_prog=ld
6528if test yes = "$GCC"; then
6529  # Check if gcc -print-prog-name=ld gives a path.
6530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6531$as_echo_n "checking for ld used by $CC... " >&6; }
6532  case $host in
6533  *-*-mingw*)
6534    # gcc leaves a trailing carriage return, which upsets mingw
6535    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6536  *)
6537    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6538  esac
6539  case $ac_prog in
6540    # Accept absolute paths.
6541    [\\/]* | ?:[\\/]*)
6542      re_direlt='/[^/][^/]*/\.\./'
6543      # Canonicalize the pathname of ld
6544      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6545      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6546	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6547      done
6548      test -z "$LD" && LD=$ac_prog
6549      ;;
6550  "")
6551    # If it fails, then pretend we aren't using GCC.
6552    ac_prog=ld
6553    ;;
6554  *)
6555    # If it is relative, then search for the first ld in PATH.
6556    with_gnu_ld=unknown
6557    ;;
6558  esac
6559elif test yes = "$with_gnu_ld"; then
6560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6561$as_echo_n "checking for GNU ld... " >&6; }
6562else
6563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6564$as_echo_n "checking for non-GNU ld... " >&6; }
6565fi
6566if ${lt_cv_path_LD+:} false; then :
6567  $as_echo_n "(cached) " >&6
6568else
6569  if test -z "$LD"; then
6570  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6571  for ac_dir in $PATH; do
6572    IFS=$lt_save_ifs
6573    test -z "$ac_dir" && ac_dir=.
6574    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6575      lt_cv_path_LD=$ac_dir/$ac_prog
6576      # Check to see if the program is GNU ld.  I'd rather use --version,
6577      # but apparently some variants of GNU ld only accept -v.
6578      # Break only if it was the GNU/non-GNU ld that we prefer.
6579      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6580      *GNU* | *'with BFD'*)
6581	test no != "$with_gnu_ld" && break
6582	;;
6583      *)
6584	test yes != "$with_gnu_ld" && break
6585	;;
6586      esac
6587    fi
6588  done
6589  IFS=$lt_save_ifs
6590else
6591  lt_cv_path_LD=$LD # Let the user override the test with a path.
6592fi
6593fi
6594
6595LD=$lt_cv_path_LD
6596if test -n "$LD"; then
6597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6598$as_echo "$LD" >&6; }
6599else
6600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601$as_echo "no" >&6; }
6602fi
6603test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6605$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6606if ${lt_cv_prog_gnu_ld+:} false; then :
6607  $as_echo_n "(cached) " >&6
6608else
6609  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6610case `$LD -v 2>&1 </dev/null` in
6611*GNU* | *'with BFD'*)
6612  lt_cv_prog_gnu_ld=yes
6613  ;;
6614*)
6615  lt_cv_prog_gnu_ld=no
6616  ;;
6617esac
6618fi
6619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6620$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6621with_gnu_ld=$lt_cv_prog_gnu_ld
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6632$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6633if ${lt_cv_path_NM+:} false; then :
6634  $as_echo_n "(cached) " >&6
6635else
6636  if test -n "$NM"; then
6637  # Let the user override the test.
6638  lt_cv_path_NM=$NM
6639else
6640  lt_nm_to_check=${ac_tool_prefix}nm
6641  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6642    lt_nm_to_check="$lt_nm_to_check nm"
6643  fi
6644  for lt_tmp_nm in $lt_nm_to_check; do
6645    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6646    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6647      IFS=$lt_save_ifs
6648      test -z "$ac_dir" && ac_dir=.
6649      tmp_nm=$ac_dir/$lt_tmp_nm
6650      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6651	# Check to see if the nm accepts a BSD-compat flag.
6652	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6653	#   nm: unknown option "B" ignored
6654	# Tru64's nm complains that /dev/null is an invalid object file
6655	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6656	case $build_os in
6657	mingw*) lt_bad_file=conftest.nm/nofile ;;
6658	*) lt_bad_file=/dev/null ;;
6659	esac
6660	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6661	*$lt_bad_file* | *'Invalid file or object type'*)
6662	  lt_cv_path_NM="$tmp_nm -B"
6663	  break 2
6664	  ;;
6665	*)
6666	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6667	  */dev/null*)
6668	    lt_cv_path_NM="$tmp_nm -p"
6669	    break 2
6670	    ;;
6671	  *)
6672	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6673	    continue # so that we can try to find one that supports BSD flags
6674	    ;;
6675	  esac
6676	  ;;
6677	esac
6678      fi
6679    done
6680    IFS=$lt_save_ifs
6681  done
6682  : ${lt_cv_path_NM=no}
6683fi
6684fi
6685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6686$as_echo "$lt_cv_path_NM" >&6; }
6687if test no != "$lt_cv_path_NM"; then
6688  NM=$lt_cv_path_NM
6689else
6690  # Didn't find any BSD compatible name lister, look for dumpbin.
6691  if test -n "$DUMPBIN"; then :
6692    # Let the user override the test.
6693  else
6694    if test -n "$ac_tool_prefix"; then
6695  for ac_prog in dumpbin "link -dump"
6696  do
6697    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6698set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700$as_echo_n "checking for $ac_word... " >&6; }
6701if ${ac_cv_prog_DUMPBIN+:} false; then :
6702  $as_echo_n "(cached) " >&6
6703else
6704  if test -n "$DUMPBIN"; then
6705  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6706else
6707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708for as_dir in $PATH
6709do
6710  IFS=$as_save_IFS
6711  test -z "$as_dir" && as_dir=.
6712    for ac_exec_ext in '' $ac_executable_extensions; do
6713  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6714    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6715    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716    break 2
6717  fi
6718done
6719  done
6720IFS=$as_save_IFS
6721
6722fi
6723fi
6724DUMPBIN=$ac_cv_prog_DUMPBIN
6725if test -n "$DUMPBIN"; then
6726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6727$as_echo "$DUMPBIN" >&6; }
6728else
6729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730$as_echo "no" >&6; }
6731fi
6732
6733
6734    test -n "$DUMPBIN" && break
6735  done
6736fi
6737if test -z "$DUMPBIN"; then
6738  ac_ct_DUMPBIN=$DUMPBIN
6739  for ac_prog in dumpbin "link -dump"
6740do
6741  # Extract the first word of "$ac_prog", so it can be a program name with args.
6742set dummy $ac_prog; ac_word=$2
6743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744$as_echo_n "checking for $ac_word... " >&6; }
6745if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6746  $as_echo_n "(cached) " >&6
6747else
6748  if test -n "$ac_ct_DUMPBIN"; then
6749  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6750else
6751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752for as_dir in $PATH
6753do
6754  IFS=$as_save_IFS
6755  test -z "$as_dir" && as_dir=.
6756    for ac_exec_ext in '' $ac_executable_extensions; do
6757  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6758    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760    break 2
6761  fi
6762done
6763  done
6764IFS=$as_save_IFS
6765
6766fi
6767fi
6768ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6769if test -n "$ac_ct_DUMPBIN"; then
6770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6771$as_echo "$ac_ct_DUMPBIN" >&6; }
6772else
6773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774$as_echo "no" >&6; }
6775fi
6776
6777
6778  test -n "$ac_ct_DUMPBIN" && break
6779done
6780
6781  if test "x$ac_ct_DUMPBIN" = x; then
6782    DUMPBIN=":"
6783  else
6784    case $cross_compiling:$ac_tool_warned in
6785yes:)
6786{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788ac_tool_warned=yes ;;
6789esac
6790    DUMPBIN=$ac_ct_DUMPBIN
6791  fi
6792fi
6793
6794    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6795    *COFF*)
6796      DUMPBIN="$DUMPBIN -symbols -headers"
6797      ;;
6798    *)
6799      DUMPBIN=:
6800      ;;
6801    esac
6802  fi
6803
6804  if test : != "$DUMPBIN"; then
6805    NM=$DUMPBIN
6806  fi
6807fi
6808test -z "$NM" && NM=nm
6809
6810
6811
6812
6813
6814
6815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6816$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6817if ${lt_cv_nm_interface+:} false; then :
6818  $as_echo_n "(cached) " >&6
6819else
6820  lt_cv_nm_interface="BSD nm"
6821  echo "int some_variable = 0;" > conftest.$ac_ext
6822  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6823  (eval "$ac_compile" 2>conftest.err)
6824  cat conftest.err >&5
6825  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6826  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6827  cat conftest.err >&5
6828  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6829  cat conftest.out >&5
6830  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6831    lt_cv_nm_interface="MS dumpbin"
6832  fi
6833  rm -f conftest*
6834fi
6835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6836$as_echo "$lt_cv_nm_interface" >&6; }
6837
6838# find the maximum length of command line arguments
6839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6840$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6841if ${lt_cv_sys_max_cmd_len+:} false; then :
6842  $as_echo_n "(cached) " >&6
6843else
6844    i=0
6845  teststring=ABCD
6846
6847  case $build_os in
6848  msdosdjgpp*)
6849    # On DJGPP, this test can blow up pretty badly due to problems in libc
6850    # (any single argument exceeding 2000 bytes causes a buffer overrun
6851    # during glob expansion).  Even if it were fixed, the result of this
6852    # check would be larger than it should be.
6853    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6854    ;;
6855
6856  gnu*)
6857    # Under GNU Hurd, this test is not required because there is
6858    # no limit to the length of command line arguments.
6859    # Libtool will interpret -1 as no limit whatsoever
6860    lt_cv_sys_max_cmd_len=-1;
6861    ;;
6862
6863  cygwin* | mingw* | cegcc*)
6864    # On Win9x/ME, this test blows up -- it succeeds, but takes
6865    # about 5 minutes as the teststring grows exponentially.
6866    # Worse, since 9x/ME are not pre-emptively multitasking,
6867    # you end up with a "frozen" computer, even though with patience
6868    # the test eventually succeeds (with a max line length of 256k).
6869    # Instead, let's just punt: use the minimum linelength reported by
6870    # all of the supported platforms: 8192 (on NT/2K/XP).
6871    lt_cv_sys_max_cmd_len=8192;
6872    ;;
6873
6874  mint*)
6875    # On MiNT this can take a long time and run out of memory.
6876    lt_cv_sys_max_cmd_len=8192;
6877    ;;
6878
6879  amigaos*)
6880    # On AmigaOS with pdksh, this test takes hours, literally.
6881    # So we just punt and use a minimum line length of 8192.
6882    lt_cv_sys_max_cmd_len=8192;
6883    ;;
6884
6885  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6886    # This has been around since 386BSD, at least.  Likely further.
6887    if test -x /sbin/sysctl; then
6888      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6889    elif test -x /usr/sbin/sysctl; then
6890      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6891    else
6892      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6893    fi
6894    # And add a safety zone
6895    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6896    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6897    ;;
6898
6899  interix*)
6900    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6901    lt_cv_sys_max_cmd_len=196608
6902    ;;
6903
6904  os2*)
6905    # The test takes a long time on OS/2.
6906    lt_cv_sys_max_cmd_len=8192
6907    ;;
6908
6909  osf*)
6910    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6911    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6912    # nice to cause kernel panics so lets avoid the loop below.
6913    # First set a reasonable default.
6914    lt_cv_sys_max_cmd_len=16384
6915    #
6916    if test -x /sbin/sysconfig; then
6917      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6918        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6919      esac
6920    fi
6921    ;;
6922  sco3.2v5*)
6923    lt_cv_sys_max_cmd_len=102400
6924    ;;
6925  sysv5* | sco5v6* | sysv4.2uw2*)
6926    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6927    if test -n "$kargmax"; then
6928      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6929    else
6930      lt_cv_sys_max_cmd_len=32768
6931    fi
6932    ;;
6933  *)
6934    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6935    if test -n "$lt_cv_sys_max_cmd_len" && \
6936       test undefined != "$lt_cv_sys_max_cmd_len"; then
6937      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6938      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6939    else
6940      # Make teststring a little bigger before we do anything with it.
6941      # a 1K string should be a reasonable start.
6942      for i in 1 2 3 4 5 6 7 8; do
6943        teststring=$teststring$teststring
6944      done
6945      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6946      # If test is not a shell built-in, we'll probably end up computing a
6947      # maximum length that is only half of the actual maximum length, but
6948      # we can't tell.
6949      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6950	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6951	      test 17 != "$i" # 1/2 MB should be enough
6952      do
6953        i=`expr $i + 1`
6954        teststring=$teststring$teststring
6955      done
6956      # Only check the string length outside the loop.
6957      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6958      teststring=
6959      # Add a significant safety factor because C++ compilers can tack on
6960      # massive amounts of additional arguments before passing them to the
6961      # linker.  It appears as though 1/2 is a usable value.
6962      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6963    fi
6964    ;;
6965  esac
6966
6967fi
6968
6969if test -n "$lt_cv_sys_max_cmd_len"; then
6970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6971$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6972else
6973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6974$as_echo "none" >&6; }
6975fi
6976max_cmd_len=$lt_cv_sys_max_cmd_len
6977
6978
6979
6980
6981
6982
6983: ${CP="cp -f"}
6984: ${MV="mv -f"}
6985: ${RM="rm -f"}
6986
6987if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6988  lt_unset=unset
6989else
6990  lt_unset=false
6991fi
6992
6993
6994
6995
6996
6997# test EBCDIC or ASCII
6998case `echo X|tr X '\101'` in
6999 A) # ASCII based system
7000    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7001  lt_SP2NL='tr \040 \012'
7002  lt_NL2SP='tr \015\012 \040\040'
7003  ;;
7004 *) # EBCDIC based system
7005  lt_SP2NL='tr \100 \n'
7006  lt_NL2SP='tr \r\n \100\100'
7007  ;;
7008esac
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7019$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7020if ${lt_cv_to_host_file_cmd+:} false; then :
7021  $as_echo_n "(cached) " >&6
7022else
7023  case $host in
7024  *-*-mingw* )
7025    case $build in
7026      *-*-mingw* ) # actually msys
7027        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7028        ;;
7029      *-*-cygwin* )
7030        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7031        ;;
7032      * ) # otherwise, assume *nix
7033        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7034        ;;
7035    esac
7036    ;;
7037  *-*-cygwin* )
7038    case $build in
7039      *-*-mingw* ) # actually msys
7040        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7041        ;;
7042      *-*-cygwin* )
7043        lt_cv_to_host_file_cmd=func_convert_file_noop
7044        ;;
7045      * ) # otherwise, assume *nix
7046        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7047        ;;
7048    esac
7049    ;;
7050  * ) # unhandled hosts (and "normal" native builds)
7051    lt_cv_to_host_file_cmd=func_convert_file_noop
7052    ;;
7053esac
7054
7055fi
7056
7057to_host_file_cmd=$lt_cv_to_host_file_cmd
7058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7059$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7060
7061
7062
7063
7064
7065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7066$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7067if ${lt_cv_to_tool_file_cmd+:} false; then :
7068  $as_echo_n "(cached) " >&6
7069else
7070  #assume ordinary cross tools, or native build.
7071lt_cv_to_tool_file_cmd=func_convert_file_noop
7072case $host in
7073  *-*-mingw* )
7074    case $build in
7075      *-*-mingw* ) # actually msys
7076        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7077        ;;
7078    esac
7079    ;;
7080esac
7081
7082fi
7083
7084to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7086$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7087
7088
7089
7090
7091
7092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7093$as_echo_n "checking for $LD option to reload object files... " >&6; }
7094if ${lt_cv_ld_reload_flag+:} false; then :
7095  $as_echo_n "(cached) " >&6
7096else
7097  lt_cv_ld_reload_flag='-r'
7098fi
7099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7100$as_echo "$lt_cv_ld_reload_flag" >&6; }
7101reload_flag=$lt_cv_ld_reload_flag
7102case $reload_flag in
7103"" | " "*) ;;
7104*) reload_flag=" $reload_flag" ;;
7105esac
7106reload_cmds='$LD$reload_flag -o $output$reload_objs'
7107case $host_os in
7108  cygwin* | mingw* | pw32* | cegcc*)
7109    if test yes != "$GCC"; then
7110      reload_cmds=false
7111    fi
7112    ;;
7113  darwin*)
7114    if test yes = "$GCC"; then
7115      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7116    else
7117      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7118    fi
7119    ;;
7120esac
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130if test -n "$ac_tool_prefix"; then
7131  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7132set dummy ${ac_tool_prefix}objdump; ac_word=$2
7133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134$as_echo_n "checking for $ac_word... " >&6; }
7135if ${ac_cv_prog_OBJDUMP+:} false; then :
7136  $as_echo_n "(cached) " >&6
7137else
7138  if test -n "$OBJDUMP"; then
7139  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7140else
7141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142for as_dir in $PATH
7143do
7144  IFS=$as_save_IFS
7145  test -z "$as_dir" && as_dir=.
7146    for ac_exec_ext in '' $ac_executable_extensions; do
7147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7150    break 2
7151  fi
7152done
7153  done
7154IFS=$as_save_IFS
7155
7156fi
7157fi
7158OBJDUMP=$ac_cv_prog_OBJDUMP
7159if test -n "$OBJDUMP"; then
7160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7161$as_echo "$OBJDUMP" >&6; }
7162else
7163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164$as_echo "no" >&6; }
7165fi
7166
7167
7168fi
7169if test -z "$ac_cv_prog_OBJDUMP"; then
7170  ac_ct_OBJDUMP=$OBJDUMP
7171  # Extract the first word of "objdump", so it can be a program name with args.
7172set dummy objdump; ac_word=$2
7173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174$as_echo_n "checking for $ac_word... " >&6; }
7175if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7176  $as_echo_n "(cached) " >&6
7177else
7178  if test -n "$ac_ct_OBJDUMP"; then
7179  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7180else
7181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182for as_dir in $PATH
7183do
7184  IFS=$as_save_IFS
7185  test -z "$as_dir" && as_dir=.
7186    for ac_exec_ext in '' $ac_executable_extensions; do
7187  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7189    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190    break 2
7191  fi
7192done
7193  done
7194IFS=$as_save_IFS
7195
7196fi
7197fi
7198ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7199if test -n "$ac_ct_OBJDUMP"; then
7200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7201$as_echo "$ac_ct_OBJDUMP" >&6; }
7202else
7203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204$as_echo "no" >&6; }
7205fi
7206
7207  if test "x$ac_ct_OBJDUMP" = x; then
7208    OBJDUMP="false"
7209  else
7210    case $cross_compiling:$ac_tool_warned in
7211yes:)
7212{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7213$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214ac_tool_warned=yes ;;
7215esac
7216    OBJDUMP=$ac_ct_OBJDUMP
7217  fi
7218else
7219  OBJDUMP="$ac_cv_prog_OBJDUMP"
7220fi
7221
7222test -z "$OBJDUMP" && OBJDUMP=objdump
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7233$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7234if ${lt_cv_deplibs_check_method+:} false; then :
7235  $as_echo_n "(cached) " >&6
7236else
7237  lt_cv_file_magic_cmd='$MAGIC_CMD'
7238lt_cv_file_magic_test_file=
7239lt_cv_deplibs_check_method='unknown'
7240# Need to set the preceding variable on all platforms that support
7241# interlibrary dependencies.
7242# 'none' -- dependencies not supported.
7243# 'unknown' -- same as none, but documents that we really don't know.
7244# 'pass_all' -- all dependencies passed with no checks.
7245# 'test_compile' -- check by making test program.
7246# 'file_magic [[regex]]' -- check by looking for files in library path
7247# that responds to the $file_magic_cmd with a given extended regex.
7248# If you have 'file' or equivalent on your system and you're not sure
7249# whether 'pass_all' will *always* work, you probably want this one.
7250
7251case $host_os in
7252aix[4-9]*)
7253  lt_cv_deplibs_check_method=pass_all
7254  ;;
7255
7256beos*)
7257  lt_cv_deplibs_check_method=pass_all
7258  ;;
7259
7260bsdi[45]*)
7261  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7262  lt_cv_file_magic_cmd='/usr/bin/file -L'
7263  lt_cv_file_magic_test_file=/shlib/libc.so
7264  ;;
7265
7266cygwin*)
7267  # func_win32_libid is a shell function defined in ltmain.sh
7268  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7269  lt_cv_file_magic_cmd='func_win32_libid'
7270  ;;
7271
7272mingw* | pw32*)
7273  # Base MSYS/MinGW do not provide the 'file' command needed by
7274  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7275  # unless we find 'file', for example because we are cross-compiling.
7276  if ( file / ) >/dev/null 2>&1; then
7277    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7278    lt_cv_file_magic_cmd='func_win32_libid'
7279  else
7280    # Keep this pattern in sync with the one in func_win32_libid.
7281    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7282    lt_cv_file_magic_cmd='$OBJDUMP -f'
7283  fi
7284  ;;
7285
7286cegcc*)
7287  # use the weaker test based on 'objdump'. See mingw*.
7288  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7289  lt_cv_file_magic_cmd='$OBJDUMP -f'
7290  ;;
7291
7292darwin* | rhapsody*)
7293  lt_cv_deplibs_check_method=pass_all
7294  ;;
7295
7296freebsd* | dragonfly*)
7297  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7298    case $host_cpu in
7299    i*86 )
7300      # Not sure whether the presence of OpenBSD here was a mistake.
7301      # Let's accept both of them until this is cleared up.
7302      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7303      lt_cv_file_magic_cmd=/usr/bin/file
7304      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7305      ;;
7306    esac
7307  else
7308    lt_cv_deplibs_check_method=pass_all
7309  fi
7310  ;;
7311
7312haiku*)
7313  lt_cv_deplibs_check_method=pass_all
7314  ;;
7315
7316hpux10.20* | hpux11*)
7317  lt_cv_file_magic_cmd=/usr/bin/file
7318  case $host_cpu in
7319  ia64*)
7320    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7321    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7322    ;;
7323  hppa*64*)
7324    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]'
7325    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7326    ;;
7327  *)
7328    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7329    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7330    ;;
7331  esac
7332  ;;
7333
7334interix[3-9]*)
7335  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7336  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7337  ;;
7338
7339irix5* | irix6* | nonstopux*)
7340  case $LD in
7341  *-32|*"-32 ") libmagic=32-bit;;
7342  *-n32|*"-n32 ") libmagic=N32;;
7343  *-64|*"-64 ") libmagic=64-bit;;
7344  *) libmagic=never-match;;
7345  esac
7346  lt_cv_deplibs_check_method=pass_all
7347  ;;
7348
7349# This must be glibc/ELF.
7350linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7351  lt_cv_deplibs_check_method=pass_all
7352  ;;
7353
7354netbsd* | netbsdelf*-gnu)
7355  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7356    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7357  else
7358    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7359  fi
7360  ;;
7361
7362newos6*)
7363  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7364  lt_cv_file_magic_cmd=/usr/bin/file
7365  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7366  ;;
7367
7368*nto* | *qnx*)
7369  lt_cv_deplibs_check_method=pass_all
7370  ;;
7371
7372openbsd* | bitrig*)
7373  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7374    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7375  else
7376    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7377  fi
7378  ;;
7379
7380osf3* | osf4* | osf5*)
7381  lt_cv_deplibs_check_method=pass_all
7382  ;;
7383
7384rdos*)
7385  lt_cv_deplibs_check_method=pass_all
7386  ;;
7387
7388solaris*)
7389  lt_cv_deplibs_check_method=pass_all
7390  ;;
7391
7392sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7393  lt_cv_deplibs_check_method=pass_all
7394  ;;
7395
7396sysv4 | sysv4.3*)
7397  case $host_vendor in
7398  motorola)
7399    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]'
7400    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7401    ;;
7402  ncr)
7403    lt_cv_deplibs_check_method=pass_all
7404    ;;
7405  sequent)
7406    lt_cv_file_magic_cmd='/bin/file'
7407    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7408    ;;
7409  sni)
7410    lt_cv_file_magic_cmd='/bin/file'
7411    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7412    lt_cv_file_magic_test_file=/lib/libc.so
7413    ;;
7414  siemens)
7415    lt_cv_deplibs_check_method=pass_all
7416    ;;
7417  pc)
7418    lt_cv_deplibs_check_method=pass_all
7419    ;;
7420  esac
7421  ;;
7422
7423tpf*)
7424  lt_cv_deplibs_check_method=pass_all
7425  ;;
7426os2*)
7427  lt_cv_deplibs_check_method=pass_all
7428  ;;
7429esac
7430
7431fi
7432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7433$as_echo "$lt_cv_deplibs_check_method" >&6; }
7434
7435file_magic_glob=
7436want_nocaseglob=no
7437if test "$build" = "$host"; then
7438  case $host_os in
7439  mingw* | pw32*)
7440    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7441      want_nocaseglob=yes
7442    else
7443      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7444    fi
7445    ;;
7446  esac
7447fi
7448
7449file_magic_cmd=$lt_cv_file_magic_cmd
7450deplibs_check_method=$lt_cv_deplibs_check_method
7451test -z "$deplibs_check_method" && deplibs_check_method=unknown
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474if test -n "$ac_tool_prefix"; then
7475  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7476set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478$as_echo_n "checking for $ac_word... " >&6; }
7479if ${ac_cv_prog_DLLTOOL+:} false; then :
7480  $as_echo_n "(cached) " >&6
7481else
7482  if test -n "$DLLTOOL"; then
7483  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7484else
7485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486for as_dir in $PATH
7487do
7488  IFS=$as_save_IFS
7489  test -z "$as_dir" && as_dir=.
7490    for ac_exec_ext in '' $ac_executable_extensions; do
7491  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7492    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7494    break 2
7495  fi
7496done
7497  done
7498IFS=$as_save_IFS
7499
7500fi
7501fi
7502DLLTOOL=$ac_cv_prog_DLLTOOL
7503if test -n "$DLLTOOL"; then
7504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7505$as_echo "$DLLTOOL" >&6; }
7506else
7507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508$as_echo "no" >&6; }
7509fi
7510
7511
7512fi
7513if test -z "$ac_cv_prog_DLLTOOL"; then
7514  ac_ct_DLLTOOL=$DLLTOOL
7515  # Extract the first word of "dlltool", so it can be a program name with args.
7516set dummy dlltool; ac_word=$2
7517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518$as_echo_n "checking for $ac_word... " >&6; }
7519if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7520  $as_echo_n "(cached) " >&6
7521else
7522  if test -n "$ac_ct_DLLTOOL"; then
7523  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7524else
7525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526for as_dir in $PATH
7527do
7528  IFS=$as_save_IFS
7529  test -z "$as_dir" && as_dir=.
7530    for ac_exec_ext in '' $ac_executable_extensions; do
7531  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7532    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534    break 2
7535  fi
7536done
7537  done
7538IFS=$as_save_IFS
7539
7540fi
7541fi
7542ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7543if test -n "$ac_ct_DLLTOOL"; then
7544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7545$as_echo "$ac_ct_DLLTOOL" >&6; }
7546else
7547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548$as_echo "no" >&6; }
7549fi
7550
7551  if test "x$ac_ct_DLLTOOL" = x; then
7552    DLLTOOL="false"
7553  else
7554    case $cross_compiling:$ac_tool_warned in
7555yes:)
7556{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7557$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7558ac_tool_warned=yes ;;
7559esac
7560    DLLTOOL=$ac_ct_DLLTOOL
7561  fi
7562else
7563  DLLTOOL="$ac_cv_prog_DLLTOOL"
7564fi
7565
7566test -z "$DLLTOOL" && DLLTOOL=dlltool
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7578$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7579if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7580  $as_echo_n "(cached) " >&6
7581else
7582  lt_cv_sharedlib_from_linklib_cmd='unknown'
7583
7584case $host_os in
7585cygwin* | mingw* | pw32* | cegcc*)
7586  # two different shell functions defined in ltmain.sh;
7587  # decide which one to use based on capabilities of $DLLTOOL
7588  case `$DLLTOOL --help 2>&1` in
7589  *--identify-strict*)
7590    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7591    ;;
7592  *)
7593    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7594    ;;
7595  esac
7596  ;;
7597*)
7598  # fallback: assume linklib IS sharedlib
7599  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7600  ;;
7601esac
7602
7603fi
7604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7605$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7606sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7607test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7608
7609
7610
7611
7612
7613
7614
7615if test -n "$ac_tool_prefix"; then
7616  for ac_prog in ar
7617  do
7618    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7619set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621$as_echo_n "checking for $ac_word... " >&6; }
7622if ${ac_cv_prog_AR+:} false; then :
7623  $as_echo_n "(cached) " >&6
7624else
7625  if test -n "$AR"; then
7626  ac_cv_prog_AR="$AR" # Let the user override the test.
7627else
7628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629for as_dir in $PATH
7630do
7631  IFS=$as_save_IFS
7632  test -z "$as_dir" && as_dir=.
7633    for ac_exec_ext in '' $ac_executable_extensions; do
7634  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7636    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637    break 2
7638  fi
7639done
7640  done
7641IFS=$as_save_IFS
7642
7643fi
7644fi
7645AR=$ac_cv_prog_AR
7646if test -n "$AR"; then
7647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7648$as_echo "$AR" >&6; }
7649else
7650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651$as_echo "no" >&6; }
7652fi
7653
7654
7655    test -n "$AR" && break
7656  done
7657fi
7658if test -z "$AR"; then
7659  ac_ct_AR=$AR
7660  for ac_prog in ar
7661do
7662  # Extract the first word of "$ac_prog", so it can be a program name with args.
7663set dummy $ac_prog; ac_word=$2
7664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665$as_echo_n "checking for $ac_word... " >&6; }
7666if ${ac_cv_prog_ac_ct_AR+:} false; then :
7667  $as_echo_n "(cached) " >&6
7668else
7669  if test -n "$ac_ct_AR"; then
7670  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7671else
7672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673for as_dir in $PATH
7674do
7675  IFS=$as_save_IFS
7676  test -z "$as_dir" && as_dir=.
7677    for ac_exec_ext in '' $ac_executable_extensions; do
7678  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679    ac_cv_prog_ac_ct_AR="$ac_prog"
7680    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7681    break 2
7682  fi
7683done
7684  done
7685IFS=$as_save_IFS
7686
7687fi
7688fi
7689ac_ct_AR=$ac_cv_prog_ac_ct_AR
7690if test -n "$ac_ct_AR"; then
7691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7692$as_echo "$ac_ct_AR" >&6; }
7693else
7694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695$as_echo "no" >&6; }
7696fi
7697
7698
7699  test -n "$ac_ct_AR" && break
7700done
7701
7702  if test "x$ac_ct_AR" = x; then
7703    AR="false"
7704  else
7705    case $cross_compiling:$ac_tool_warned in
7706yes:)
7707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7709ac_tool_warned=yes ;;
7710esac
7711    AR=$ac_ct_AR
7712  fi
7713fi
7714
7715: ${AR=ar}
7716: ${AR_FLAGS=cr}
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7729$as_echo_n "checking for archiver @FILE support... " >&6; }
7730if ${lt_cv_ar_at_file+:} false; then :
7731  $as_echo_n "(cached) " >&6
7732else
7733  lt_cv_ar_at_file=no
7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735/* end confdefs.h.  */
7736
7737int
7738main ()
7739{
7740
7741  ;
7742  return 0;
7743}
7744_ACEOF
7745if ac_fn_c_try_compile "$LINENO"; then :
7746  echo conftest.$ac_objext > conftest.lst
7747      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7748      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7749  (eval $lt_ar_try) 2>&5
7750  ac_status=$?
7751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7752  test $ac_status = 0; }
7753      if test 0 -eq "$ac_status"; then
7754	# Ensure the archiver fails upon bogus file names.
7755	rm -f conftest.$ac_objext libconftest.a
7756	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7757  (eval $lt_ar_try) 2>&5
7758  ac_status=$?
7759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7760  test $ac_status = 0; }
7761	if test 0 -ne "$ac_status"; then
7762          lt_cv_ar_at_file=@
7763        fi
7764      fi
7765      rm -f conftest.* libconftest.a
7766
7767fi
7768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7769
7770fi
7771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7772$as_echo "$lt_cv_ar_at_file" >&6; }
7773
7774if test no = "$lt_cv_ar_at_file"; then
7775  archiver_list_spec=
7776else
7777  archiver_list_spec=$lt_cv_ar_at_file
7778fi
7779
7780
7781
7782
7783
7784
7785
7786if test -n "$ac_tool_prefix"; then
7787  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7788set dummy ${ac_tool_prefix}strip; ac_word=$2
7789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7790$as_echo_n "checking for $ac_word... " >&6; }
7791if ${ac_cv_prog_STRIP+:} false; then :
7792  $as_echo_n "(cached) " >&6
7793else
7794  if test -n "$STRIP"; then
7795  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7796else
7797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798for as_dir in $PATH
7799do
7800  IFS=$as_save_IFS
7801  test -z "$as_dir" && as_dir=.
7802    for ac_exec_ext in '' $ac_executable_extensions; do
7803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7804    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7806    break 2
7807  fi
7808done
7809  done
7810IFS=$as_save_IFS
7811
7812fi
7813fi
7814STRIP=$ac_cv_prog_STRIP
7815if test -n "$STRIP"; then
7816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7817$as_echo "$STRIP" >&6; }
7818else
7819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7820$as_echo "no" >&6; }
7821fi
7822
7823
7824fi
7825if test -z "$ac_cv_prog_STRIP"; then
7826  ac_ct_STRIP=$STRIP
7827  # Extract the first word of "strip", so it can be a program name with args.
7828set dummy strip; ac_word=$2
7829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7830$as_echo_n "checking for $ac_word... " >&6; }
7831if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7832  $as_echo_n "(cached) " >&6
7833else
7834  if test -n "$ac_ct_STRIP"; then
7835  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7836else
7837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838for as_dir in $PATH
7839do
7840  IFS=$as_save_IFS
7841  test -z "$as_dir" && as_dir=.
7842    for ac_exec_ext in '' $ac_executable_extensions; do
7843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7844    ac_cv_prog_ac_ct_STRIP="strip"
7845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7846    break 2
7847  fi
7848done
7849  done
7850IFS=$as_save_IFS
7851
7852fi
7853fi
7854ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7855if test -n "$ac_ct_STRIP"; then
7856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7857$as_echo "$ac_ct_STRIP" >&6; }
7858else
7859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7860$as_echo "no" >&6; }
7861fi
7862
7863  if test "x$ac_ct_STRIP" = x; then
7864    STRIP=":"
7865  else
7866    case $cross_compiling:$ac_tool_warned in
7867yes:)
7868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7870ac_tool_warned=yes ;;
7871esac
7872    STRIP=$ac_ct_STRIP
7873  fi
7874else
7875  STRIP="$ac_cv_prog_STRIP"
7876fi
7877
7878test -z "$STRIP" && STRIP=:
7879
7880
7881
7882
7883
7884
7885if test -n "$ac_tool_prefix"; then
7886  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7887set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889$as_echo_n "checking for $ac_word... " >&6; }
7890if ${ac_cv_prog_RANLIB+:} false; then :
7891  $as_echo_n "(cached) " >&6
7892else
7893  if test -n "$RANLIB"; then
7894  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7895else
7896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897for as_dir in $PATH
7898do
7899  IFS=$as_save_IFS
7900  test -z "$as_dir" && as_dir=.
7901    for ac_exec_ext in '' $ac_executable_extensions; do
7902  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7903    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7904    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905    break 2
7906  fi
7907done
7908  done
7909IFS=$as_save_IFS
7910
7911fi
7912fi
7913RANLIB=$ac_cv_prog_RANLIB
7914if test -n "$RANLIB"; then
7915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7916$as_echo "$RANLIB" >&6; }
7917else
7918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919$as_echo "no" >&6; }
7920fi
7921
7922
7923fi
7924if test -z "$ac_cv_prog_RANLIB"; then
7925  ac_ct_RANLIB=$RANLIB
7926  # Extract the first word of "ranlib", so it can be a program name with args.
7927set dummy ranlib; ac_word=$2
7928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929$as_echo_n "checking for $ac_word... " >&6; }
7930if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7931  $as_echo_n "(cached) " >&6
7932else
7933  if test -n "$ac_ct_RANLIB"; then
7934  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7935else
7936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937for as_dir in $PATH
7938do
7939  IFS=$as_save_IFS
7940  test -z "$as_dir" && as_dir=.
7941    for ac_exec_ext in '' $ac_executable_extensions; do
7942  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7943    ac_cv_prog_ac_ct_RANLIB="ranlib"
7944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945    break 2
7946  fi
7947done
7948  done
7949IFS=$as_save_IFS
7950
7951fi
7952fi
7953ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7954if test -n "$ac_ct_RANLIB"; then
7955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7956$as_echo "$ac_ct_RANLIB" >&6; }
7957else
7958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959$as_echo "no" >&6; }
7960fi
7961
7962  if test "x$ac_ct_RANLIB" = x; then
7963    RANLIB=":"
7964  else
7965    case $cross_compiling:$ac_tool_warned in
7966yes:)
7967{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7968$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7969ac_tool_warned=yes ;;
7970esac
7971    RANLIB=$ac_ct_RANLIB
7972  fi
7973else
7974  RANLIB="$ac_cv_prog_RANLIB"
7975fi
7976
7977test -z "$RANLIB" && RANLIB=:
7978
7979
7980
7981
7982
7983
7984# Determine commands to create old-style static archives.
7985old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7986old_postinstall_cmds='chmod 644 $oldlib'
7987old_postuninstall_cmds=
7988
7989if test -n "$RANLIB"; then
7990  case $host_os in
7991  bitrig* | openbsd*)
7992    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7993    ;;
7994  *)
7995    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7996    ;;
7997  esac
7998  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7999fi
8000
8001case $host_os in
8002  darwin*)
8003    lock_old_archive_extraction=yes ;;
8004  *)
8005    lock_old_archive_extraction=no ;;
8006esac
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046# If no C compiler was specified, use CC.
8047LTCC=${LTCC-"$CC"}
8048
8049# If no C compiler flags were specified, use CFLAGS.
8050LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8051
8052# Allow CC to be a program name with arguments.
8053compiler=$CC
8054
8055
8056# Check for command to grab the raw symbol name followed by C symbol from nm.
8057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8058$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8059if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8060  $as_echo_n "(cached) " >&6
8061else
8062
8063# These are sane defaults that work on at least a few old systems.
8064# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8065
8066# Character class describing NM global symbol codes.
8067symcode='[BCDEGRST]'
8068
8069# Regexp to match symbols that can be accessed directly from C.
8070sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8071
8072# Define system-specific variables.
8073case $host_os in
8074aix*)
8075  symcode='[BCDT]'
8076  ;;
8077cygwin* | mingw* | pw32* | cegcc*)
8078  symcode='[ABCDGISTW]'
8079  ;;
8080hpux*)
8081  if test ia64 = "$host_cpu"; then
8082    symcode='[ABCDEGRST]'
8083  fi
8084  ;;
8085irix* | nonstopux*)
8086  symcode='[BCDEGRST]'
8087  ;;
8088osf*)
8089  symcode='[BCDEGQRST]'
8090  ;;
8091solaris*)
8092  symcode='[BDRT]'
8093  ;;
8094sco3.2v5*)
8095  symcode='[DT]'
8096  ;;
8097sysv4.2uw2*)
8098  symcode='[DT]'
8099  ;;
8100sysv5* | sco5v6* | unixware* | OpenUNIX*)
8101  symcode='[ABDT]'
8102  ;;
8103sysv4)
8104  symcode='[DFNSTU]'
8105  ;;
8106esac
8107
8108# If we're using GNU nm, then use its standard symbol codes.
8109case `$NM -V 2>&1` in
8110*GNU* | *'with BFD'*)
8111  symcode='[ABCDGIRSTW]' ;;
8112esac
8113
8114if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8115  # Gets list of data symbols to import.
8116  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8117  # Adjust the below global symbol transforms to fixup imported variables.
8118  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8119  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8120  lt_c_name_lib_hook="\
8121  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8122  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8123else
8124  # Disable hooks by default.
8125  lt_cv_sys_global_symbol_to_import=
8126  lt_cdecl_hook=
8127  lt_c_name_hook=
8128  lt_c_name_lib_hook=
8129fi
8130
8131# Transform an extracted symbol line into a proper C declaration.
8132# Some systems (esp. on ia64) link data and code symbols differently,
8133# so use this general approach.
8134lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8135$lt_cdecl_hook\
8136" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8137" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8138
8139# Transform an extracted symbol line into symbol name and symbol address
8140lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8141$lt_c_name_hook\
8142" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8143" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8144
8145# Transform an extracted symbol line into symbol name with lib prefix and
8146# symbol address.
8147lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8148$lt_c_name_lib_hook\
8149" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8150" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8151" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8152
8153# Handle CRLF in mingw tool chain
8154opt_cr=
8155case $build_os in
8156mingw*)
8157  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8158  ;;
8159esac
8160
8161# Try without a prefix underscore, then with it.
8162for ac_symprfx in "" "_"; do
8163
8164  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8165  symxfrm="\\1 $ac_symprfx\\2 \\2"
8166
8167  # Write the raw and C identifiers.
8168  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8169    # Fake it for dumpbin and say T for any non-static function,
8170    # D for any global variable and I for any imported variable.
8171    # Also find C++ and __fastcall symbols from MSVC++,
8172    # which start with @ or ?.
8173    lt_cv_sys_global_symbol_pipe="$AWK '"\
8174"     {last_section=section; section=\$ 3};"\
8175"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8176"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8177"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8178"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8179"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8180"     \$ 0!~/External *\|/{next};"\
8181"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8182"     {if(hide[section]) next};"\
8183"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8184"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8185"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8186"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8187"     ' prfx=^$ac_symprfx"
8188  else
8189    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8190  fi
8191  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8192
8193  # Check to see that the pipe works correctly.
8194  pipe_works=no
8195
8196  rm -f conftest*
8197  cat > conftest.$ac_ext <<_LT_EOF
8198#ifdef __cplusplus
8199extern "C" {
8200#endif
8201char nm_test_var;
8202void nm_test_func(void);
8203void nm_test_func(void){}
8204#ifdef __cplusplus
8205}
8206#endif
8207int main(){nm_test_var='a';nm_test_func();return(0);}
8208_LT_EOF
8209
8210  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8211  (eval $ac_compile) 2>&5
8212  ac_status=$?
8213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8214  test $ac_status = 0; }; then
8215    # Now try to grab the symbols.
8216    nlist=conftest.nm
8217    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
8218    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
8219      # Try sorting and uniquifying the output.
8220      if sort "$nlist" | uniq > "$nlist"T; then
8221	mv -f "$nlist"T "$nlist"
8222      else
8223	rm -f "$nlist"T
8224      fi
8225
8226      # Make sure that we snagged all the symbols we need.
8227      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8228	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8229	  cat <<_LT_EOF > conftest.$ac_ext
8230/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8231#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8232/* DATA imports from DLLs on WIN32 can't be const, because runtime
8233   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8234# define LT_DLSYM_CONST
8235#elif defined __osf__
8236/* This system does not cope well with relocations in const data.  */
8237# define LT_DLSYM_CONST
8238#else
8239# define LT_DLSYM_CONST const
8240#endif
8241
8242#ifdef __cplusplus
8243extern "C" {
8244#endif
8245
8246_LT_EOF
8247	  # Now generate the symbol file.
8248	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8249
8250	  cat <<_LT_EOF >> conftest.$ac_ext
8251
8252/* The mapping between symbol names and symbols.  */
8253LT_DLSYM_CONST struct {
8254  const char *name;
8255  void       *address;
8256}
8257lt__PROGRAM__LTX_preloaded_symbols[] =
8258{
8259  { "@PROGRAM@", (void *) 0 },
8260_LT_EOF
8261	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8262	  cat <<\_LT_EOF >> conftest.$ac_ext
8263  {0, (void *) 0}
8264};
8265
8266/* This works around a problem in FreeBSD linker */
8267#ifdef FREEBSD_WORKAROUND
8268static const void *lt_preloaded_setup() {
8269  return lt__PROGRAM__LTX_preloaded_symbols;
8270}
8271#endif
8272
8273#ifdef __cplusplus
8274}
8275#endif
8276_LT_EOF
8277	  # Now try linking the two files.
8278	  mv conftest.$ac_objext conftstm.$ac_objext
8279	  lt_globsym_save_LIBS=$LIBS
8280	  lt_globsym_save_CFLAGS=$CFLAGS
8281	  LIBS=conftstm.$ac_objext
8282	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8283	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8284  (eval $ac_link) 2>&5
8285  ac_status=$?
8286  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8287  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8288	    pipe_works=yes
8289	  fi
8290	  LIBS=$lt_globsym_save_LIBS
8291	  CFLAGS=$lt_globsym_save_CFLAGS
8292	else
8293	  echo "cannot find nm_test_func in $nlist" >&5
8294	fi
8295      else
8296	echo "cannot find nm_test_var in $nlist" >&5
8297      fi
8298    else
8299      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8300    fi
8301  else
8302    echo "$progname: failed program was:" >&5
8303    cat conftest.$ac_ext >&5
8304  fi
8305  rm -rf conftest* conftst*
8306
8307  # Do not use the global_symbol_pipe unless it works.
8308  if test yes = "$pipe_works"; then
8309    break
8310  else
8311    lt_cv_sys_global_symbol_pipe=
8312  fi
8313done
8314
8315fi
8316
8317if test -z "$lt_cv_sys_global_symbol_pipe"; then
8318  lt_cv_sys_global_symbol_to_cdecl=
8319fi
8320if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8322$as_echo "failed" >&6; }
8323else
8324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8325$as_echo "ok" >&6; }
8326fi
8327
8328# Response file support.
8329if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8330  nm_file_list_spec='@'
8331elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8332  nm_file_list_spec='@'
8333fi
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8372$as_echo_n "checking for sysroot... " >&6; }
8373
8374# Check whether --with-sysroot was given.
8375if test "${with_sysroot+set}" = set; then :
8376  withval=$with_sysroot;
8377else
8378  with_sysroot=no
8379fi
8380
8381
8382lt_sysroot=
8383case $with_sysroot in #(
8384 yes)
8385   if test yes = "$GCC"; then
8386     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8387   fi
8388   ;; #(
8389 /*)
8390   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8391   ;; #(
8392 no|'')
8393   ;; #(
8394 *)
8395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8396$as_echo "$with_sysroot" >&6; }
8397   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8398   ;;
8399esac
8400
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8402$as_echo "${lt_sysroot:-no}" >&6; }
8403
8404
8405
8406
8407
8408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8409$as_echo_n "checking for a working dd... " >&6; }
8410if ${ac_cv_path_lt_DD+:} false; then :
8411  $as_echo_n "(cached) " >&6
8412else
8413  printf 0123456789abcdef0123456789abcdef >conftest.i
8414cat conftest.i conftest.i >conftest2.i
8415: ${lt_DD:=$DD}
8416if test -z "$lt_DD"; then
8417  ac_path_lt_DD_found=false
8418  # Loop through the user's path and test for each of PROGNAME-LIST
8419  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420for as_dir in $PATH
8421do
8422  IFS=$as_save_IFS
8423  test -z "$as_dir" && as_dir=.
8424    for ac_prog in dd; do
8425    for ac_exec_ext in '' $ac_executable_extensions; do
8426      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8427      as_fn_executable_p "$ac_path_lt_DD" || continue
8428if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8429  cmp -s conftest.i conftest.out \
8430  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8431fi
8432      $ac_path_lt_DD_found && break 3
8433    done
8434  done
8435  done
8436IFS=$as_save_IFS
8437  if test -z "$ac_cv_path_lt_DD"; then
8438    :
8439  fi
8440else
8441  ac_cv_path_lt_DD=$lt_DD
8442fi
8443
8444rm -f conftest.i conftest2.i conftest.out
8445fi
8446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8447$as_echo "$ac_cv_path_lt_DD" >&6; }
8448
8449
8450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8451$as_echo_n "checking how to truncate binary pipes... " >&6; }
8452if ${lt_cv_truncate_bin+:} false; then :
8453  $as_echo_n "(cached) " >&6
8454else
8455  printf 0123456789abcdef0123456789abcdef >conftest.i
8456cat conftest.i conftest.i >conftest2.i
8457lt_cv_truncate_bin=
8458if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8459  cmp -s conftest.i conftest.out \
8460  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8461fi
8462rm -f conftest.i conftest2.i conftest.out
8463test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8464fi
8465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8466$as_echo "$lt_cv_truncate_bin" >&6; }
8467
8468
8469
8470
8471
8472
8473
8474# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8475func_cc_basename ()
8476{
8477    for cc_temp in $*""; do
8478      case $cc_temp in
8479        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8480        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8481        \-*) ;;
8482        *) break;;
8483      esac
8484    done
8485    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8486}
8487
8488# Check whether --enable-libtool-lock was given.
8489if test "${enable_libtool_lock+set}" = set; then :
8490  enableval=$enable_libtool_lock;
8491fi
8492
8493test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8494
8495# Some flags need to be propagated to the compiler or linker for good
8496# libtool support.
8497case $host in
8498ia64-*-hpux*)
8499  # Find out what ABI is being produced by ac_compile, and set mode
8500  # options accordingly.
8501  echo 'int i;' > conftest.$ac_ext
8502  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8503  (eval $ac_compile) 2>&5
8504  ac_status=$?
8505  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8506  test $ac_status = 0; }; then
8507    case `/usr/bin/file conftest.$ac_objext` in
8508      *ELF-32*)
8509	HPUX_IA64_MODE=32
8510	;;
8511      *ELF-64*)
8512	HPUX_IA64_MODE=64
8513	;;
8514    esac
8515  fi
8516  rm -rf conftest*
8517  ;;
8518*-*-irix6*)
8519  # Find out what ABI is being produced by ac_compile, and set linker
8520  # options accordingly.
8521  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8522  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8523  (eval $ac_compile) 2>&5
8524  ac_status=$?
8525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8526  test $ac_status = 0; }; then
8527    if test yes = "$lt_cv_prog_gnu_ld"; then
8528      case `/usr/bin/file conftest.$ac_objext` in
8529	*32-bit*)
8530	  LD="${LD-ld} -melf32bsmip"
8531	  ;;
8532	*N32*)
8533	  LD="${LD-ld} -melf32bmipn32"
8534	  ;;
8535	*64-bit*)
8536	  LD="${LD-ld} -melf64bmip"
8537	;;
8538      esac
8539    else
8540      case `/usr/bin/file conftest.$ac_objext` in
8541	*32-bit*)
8542	  LD="${LD-ld} -32"
8543	  ;;
8544	*N32*)
8545	  LD="${LD-ld} -n32"
8546	  ;;
8547	*64-bit*)
8548	  LD="${LD-ld} -64"
8549	  ;;
8550      esac
8551    fi
8552  fi
8553  rm -rf conftest*
8554  ;;
8555
8556mips64*-*linux*)
8557  # Find out what ABI is being produced by ac_compile, and set linker
8558  # options accordingly.
8559  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8560  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8561  (eval $ac_compile) 2>&5
8562  ac_status=$?
8563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8564  test $ac_status = 0; }; then
8565    emul=elf
8566    case `/usr/bin/file conftest.$ac_objext` in
8567      *32-bit*)
8568	emul="${emul}32"
8569	;;
8570      *64-bit*)
8571	emul="${emul}64"
8572	;;
8573    esac
8574    case `/usr/bin/file conftest.$ac_objext` in
8575      *MSB*)
8576	emul="${emul}btsmip"
8577	;;
8578      *LSB*)
8579	emul="${emul}ltsmip"
8580	;;
8581    esac
8582    case `/usr/bin/file conftest.$ac_objext` in
8583      *N32*)
8584	emul="${emul}n32"
8585	;;
8586    esac
8587    LD="${LD-ld} -m $emul"
8588  fi
8589  rm -rf conftest*
8590  ;;
8591
8592x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8593s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8594  # Find out what ABI is being produced by ac_compile, and set linker
8595  # options accordingly.  Note that the listed cases only cover the
8596  # situations where additional linker options are needed (such as when
8597  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8598  # vice versa); the common cases where no linker options are needed do
8599  # not appear in the list.
8600  echo 'int i;' > conftest.$ac_ext
8601  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8602  (eval $ac_compile) 2>&5
8603  ac_status=$?
8604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8605  test $ac_status = 0; }; then
8606    case `/usr/bin/file conftest.o` in
8607      *32-bit*)
8608	case $host in
8609	  x86_64-*kfreebsd*-gnu)
8610	    LD="${LD-ld} -m elf_i386_fbsd"
8611	    ;;
8612	  x86_64-*linux*)
8613	    case `/usr/bin/file conftest.o` in
8614	      *x86-64*)
8615		LD="${LD-ld} -m elf32_x86_64"
8616		;;
8617	      *)
8618		LD="${LD-ld} -m elf_i386"
8619		;;
8620	    esac
8621	    ;;
8622	  powerpc64le-*linux*)
8623	    LD="${LD-ld} -m elf32lppclinux"
8624	    ;;
8625	  powerpc64-*linux*)
8626	    LD="${LD-ld} -m elf32ppclinux"
8627	    ;;
8628	  s390x-*linux*)
8629	    LD="${LD-ld} -m elf_s390"
8630	    ;;
8631	  sparc64-*linux*)
8632	    LD="${LD-ld} -m elf32_sparc"
8633	    ;;
8634	esac
8635	;;
8636      *64-bit*)
8637	case $host in
8638	  x86_64-*kfreebsd*-gnu)
8639	    LD="${LD-ld} -m elf_x86_64_fbsd"
8640	    ;;
8641	  x86_64-*linux*)
8642	    LD="${LD-ld} -m elf_x86_64"
8643	    ;;
8644	  powerpcle-*linux*)
8645	    LD="${LD-ld} -m elf64lppc"
8646	    ;;
8647	  powerpc-*linux*)
8648	    LD="${LD-ld} -m elf64ppc"
8649	    ;;
8650	  s390*-*linux*|s390*-*tpf*)
8651	    LD="${LD-ld} -m elf64_s390"
8652	    ;;
8653	  sparc*-*linux*)
8654	    LD="${LD-ld} -m elf64_sparc"
8655	    ;;
8656	esac
8657	;;
8658    esac
8659  fi
8660  rm -rf conftest*
8661  ;;
8662
8663*-*-sco3.2v5*)
8664  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8665  SAVE_CFLAGS=$CFLAGS
8666  CFLAGS="$CFLAGS -belf"
8667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8668$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8669if ${lt_cv_cc_needs_belf+:} false; then :
8670  $as_echo_n "(cached) " >&6
8671else
8672  ac_ext=c
8673ac_cpp='$CPP $CPPFLAGS'
8674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8676ac_compiler_gnu=$ac_cv_c_compiler_gnu
8677
8678     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679/* end confdefs.h.  */
8680
8681int
8682main ()
8683{
8684
8685  ;
8686  return 0;
8687}
8688_ACEOF
8689if ac_fn_c_try_link "$LINENO"; then :
8690  lt_cv_cc_needs_belf=yes
8691else
8692  lt_cv_cc_needs_belf=no
8693fi
8694rm -f core conftest.err conftest.$ac_objext \
8695    conftest$ac_exeext conftest.$ac_ext
8696     ac_ext=c
8697ac_cpp='$CPP $CPPFLAGS'
8698ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8699ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8700ac_compiler_gnu=$ac_cv_c_compiler_gnu
8701
8702fi
8703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8704$as_echo "$lt_cv_cc_needs_belf" >&6; }
8705  if test yes != "$lt_cv_cc_needs_belf"; then
8706    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8707    CFLAGS=$SAVE_CFLAGS
8708  fi
8709  ;;
8710*-*solaris*)
8711  # Find out what ABI is being produced by ac_compile, and set linker
8712  # options accordingly.
8713  echo 'int i;' > conftest.$ac_ext
8714  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8715  (eval $ac_compile) 2>&5
8716  ac_status=$?
8717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8718  test $ac_status = 0; }; then
8719    case `/usr/bin/file conftest.o` in
8720    *64-bit*)
8721      case $lt_cv_prog_gnu_ld in
8722      yes*)
8723        case $host in
8724        i?86-*-solaris*|x86_64-*-solaris*)
8725          LD="${LD-ld} -m elf_x86_64"
8726          ;;
8727        sparc*-*-solaris*)
8728          LD="${LD-ld} -m elf64_sparc"
8729          ;;
8730        esac
8731        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8732        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8733          LD=${LD-ld}_sol2
8734        fi
8735        ;;
8736      *)
8737	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8738	  LD="${LD-ld} -64"
8739	fi
8740	;;
8741      esac
8742      ;;
8743    esac
8744  fi
8745  rm -rf conftest*
8746  ;;
8747esac
8748
8749need_locks=$enable_libtool_lock
8750
8751if test -n "$ac_tool_prefix"; then
8752  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8753set dummy ${ac_tool_prefix}mt; ac_word=$2
8754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755$as_echo_n "checking for $ac_word... " >&6; }
8756if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8757  $as_echo_n "(cached) " >&6
8758else
8759  if test -n "$MANIFEST_TOOL"; then
8760  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8761else
8762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8763for as_dir in $PATH
8764do
8765  IFS=$as_save_IFS
8766  test -z "$as_dir" && as_dir=.
8767    for ac_exec_ext in '' $ac_executable_extensions; do
8768  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8769    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8770    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771    break 2
8772  fi
8773done
8774  done
8775IFS=$as_save_IFS
8776
8777fi
8778fi
8779MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8780if test -n "$MANIFEST_TOOL"; then
8781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8782$as_echo "$MANIFEST_TOOL" >&6; }
8783else
8784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8785$as_echo "no" >&6; }
8786fi
8787
8788
8789fi
8790if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8791  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8792  # Extract the first word of "mt", so it can be a program name with args.
8793set dummy mt; ac_word=$2
8794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795$as_echo_n "checking for $ac_word... " >&6; }
8796if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8797  $as_echo_n "(cached) " >&6
8798else
8799  if test -n "$ac_ct_MANIFEST_TOOL"; then
8800  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8801else
8802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803for as_dir in $PATH
8804do
8805  IFS=$as_save_IFS
8806  test -z "$as_dir" && as_dir=.
8807    for ac_exec_ext in '' $ac_executable_extensions; do
8808  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8809    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8810    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8811    break 2
8812  fi
8813done
8814  done
8815IFS=$as_save_IFS
8816
8817fi
8818fi
8819ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8820if test -n "$ac_ct_MANIFEST_TOOL"; then
8821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8822$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8823else
8824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8825$as_echo "no" >&6; }
8826fi
8827
8828  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8829    MANIFEST_TOOL=":"
8830  else
8831    case $cross_compiling:$ac_tool_warned in
8832yes:)
8833{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8834$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8835ac_tool_warned=yes ;;
8836esac
8837    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8838  fi
8839else
8840  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8841fi
8842
8843test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8845$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8846if ${lt_cv_path_mainfest_tool+:} false; then :
8847  $as_echo_n "(cached) " >&6
8848else
8849  lt_cv_path_mainfest_tool=no
8850  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8851  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8852  cat conftest.err >&5
8853  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8854    lt_cv_path_mainfest_tool=yes
8855  fi
8856  rm -f conftest*
8857fi
8858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8859$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8860if test yes != "$lt_cv_path_mainfest_tool"; then
8861  MANIFEST_TOOL=:
8862fi
8863
8864
8865
8866
8867
8868
8869  case $host_os in
8870    rhapsody* | darwin*)
8871    if test -n "$ac_tool_prefix"; then
8872  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8873set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8875$as_echo_n "checking for $ac_word... " >&6; }
8876if ${ac_cv_prog_DSYMUTIL+:} false; then :
8877  $as_echo_n "(cached) " >&6
8878else
8879  if test -n "$DSYMUTIL"; then
8880  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8881else
8882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8883for as_dir in $PATH
8884do
8885  IFS=$as_save_IFS
8886  test -z "$as_dir" && as_dir=.
8887    for ac_exec_ext in '' $ac_executable_extensions; do
8888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8889    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8891    break 2
8892  fi
8893done
8894  done
8895IFS=$as_save_IFS
8896
8897fi
8898fi
8899DSYMUTIL=$ac_cv_prog_DSYMUTIL
8900if test -n "$DSYMUTIL"; then
8901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8902$as_echo "$DSYMUTIL" >&6; }
8903else
8904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905$as_echo "no" >&6; }
8906fi
8907
8908
8909fi
8910if test -z "$ac_cv_prog_DSYMUTIL"; then
8911  ac_ct_DSYMUTIL=$DSYMUTIL
8912  # Extract the first word of "dsymutil", so it can be a program name with args.
8913set dummy dsymutil; ac_word=$2
8914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8915$as_echo_n "checking for $ac_word... " >&6; }
8916if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8917  $as_echo_n "(cached) " >&6
8918else
8919  if test -n "$ac_ct_DSYMUTIL"; then
8920  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8921else
8922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8923for as_dir in $PATH
8924do
8925  IFS=$as_save_IFS
8926  test -z "$as_dir" && as_dir=.
8927    for ac_exec_ext in '' $ac_executable_extensions; do
8928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8929    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8931    break 2
8932  fi
8933done
8934  done
8935IFS=$as_save_IFS
8936
8937fi
8938fi
8939ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8940if test -n "$ac_ct_DSYMUTIL"; then
8941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8942$as_echo "$ac_ct_DSYMUTIL" >&6; }
8943else
8944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8945$as_echo "no" >&6; }
8946fi
8947
8948  if test "x$ac_ct_DSYMUTIL" = x; then
8949    DSYMUTIL=":"
8950  else
8951    case $cross_compiling:$ac_tool_warned in
8952yes:)
8953{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8954$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8955ac_tool_warned=yes ;;
8956esac
8957    DSYMUTIL=$ac_ct_DSYMUTIL
8958  fi
8959else
8960  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8961fi
8962
8963    if test -n "$ac_tool_prefix"; then
8964  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8965set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8967$as_echo_n "checking for $ac_word... " >&6; }
8968if ${ac_cv_prog_NMEDIT+:} false; then :
8969  $as_echo_n "(cached) " >&6
8970else
8971  if test -n "$NMEDIT"; then
8972  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8973else
8974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975for as_dir in $PATH
8976do
8977  IFS=$as_save_IFS
8978  test -z "$as_dir" && as_dir=.
8979    for ac_exec_ext in '' $ac_executable_extensions; do
8980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8981    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8983    break 2
8984  fi
8985done
8986  done
8987IFS=$as_save_IFS
8988
8989fi
8990fi
8991NMEDIT=$ac_cv_prog_NMEDIT
8992if test -n "$NMEDIT"; then
8993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8994$as_echo "$NMEDIT" >&6; }
8995else
8996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8997$as_echo "no" >&6; }
8998fi
8999
9000
9001fi
9002if test -z "$ac_cv_prog_NMEDIT"; then
9003  ac_ct_NMEDIT=$NMEDIT
9004  # Extract the first word of "nmedit", so it can be a program name with args.
9005set dummy nmedit; ac_word=$2
9006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9007$as_echo_n "checking for $ac_word... " >&6; }
9008if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9009  $as_echo_n "(cached) " >&6
9010else
9011  if test -n "$ac_ct_NMEDIT"; then
9012  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9013else
9014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9015for as_dir in $PATH
9016do
9017  IFS=$as_save_IFS
9018  test -z "$as_dir" && as_dir=.
9019    for ac_exec_ext in '' $ac_executable_extensions; do
9020  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9021    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9022    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9023    break 2
9024  fi
9025done
9026  done
9027IFS=$as_save_IFS
9028
9029fi
9030fi
9031ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9032if test -n "$ac_ct_NMEDIT"; then
9033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9034$as_echo "$ac_ct_NMEDIT" >&6; }
9035else
9036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037$as_echo "no" >&6; }
9038fi
9039
9040  if test "x$ac_ct_NMEDIT" = x; then
9041    NMEDIT=":"
9042  else
9043    case $cross_compiling:$ac_tool_warned in
9044yes:)
9045{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9047ac_tool_warned=yes ;;
9048esac
9049    NMEDIT=$ac_ct_NMEDIT
9050  fi
9051else
9052  NMEDIT="$ac_cv_prog_NMEDIT"
9053fi
9054
9055    if test -n "$ac_tool_prefix"; then
9056  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9057set dummy ${ac_tool_prefix}lipo; ac_word=$2
9058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9059$as_echo_n "checking for $ac_word... " >&6; }
9060if ${ac_cv_prog_LIPO+:} false; then :
9061  $as_echo_n "(cached) " >&6
9062else
9063  if test -n "$LIPO"; then
9064  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9065else
9066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9067for as_dir in $PATH
9068do
9069  IFS=$as_save_IFS
9070  test -z "$as_dir" && as_dir=.
9071    for ac_exec_ext in '' $ac_executable_extensions; do
9072  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9073    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9075    break 2
9076  fi
9077done
9078  done
9079IFS=$as_save_IFS
9080
9081fi
9082fi
9083LIPO=$ac_cv_prog_LIPO
9084if test -n "$LIPO"; then
9085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9086$as_echo "$LIPO" >&6; }
9087else
9088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089$as_echo "no" >&6; }
9090fi
9091
9092
9093fi
9094if test -z "$ac_cv_prog_LIPO"; then
9095  ac_ct_LIPO=$LIPO
9096  # Extract the first word of "lipo", so it can be a program name with args.
9097set dummy lipo; ac_word=$2
9098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9099$as_echo_n "checking for $ac_word... " >&6; }
9100if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9101  $as_echo_n "(cached) " >&6
9102else
9103  if test -n "$ac_ct_LIPO"; then
9104  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9105else
9106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9107for as_dir in $PATH
9108do
9109  IFS=$as_save_IFS
9110  test -z "$as_dir" && as_dir=.
9111    for ac_exec_ext in '' $ac_executable_extensions; do
9112  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9113    ac_cv_prog_ac_ct_LIPO="lipo"
9114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9115    break 2
9116  fi
9117done
9118  done
9119IFS=$as_save_IFS
9120
9121fi
9122fi
9123ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9124if test -n "$ac_ct_LIPO"; then
9125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9126$as_echo "$ac_ct_LIPO" >&6; }
9127else
9128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9129$as_echo "no" >&6; }
9130fi
9131
9132  if test "x$ac_ct_LIPO" = x; then
9133    LIPO=":"
9134  else
9135    case $cross_compiling:$ac_tool_warned in
9136yes:)
9137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9139ac_tool_warned=yes ;;
9140esac
9141    LIPO=$ac_ct_LIPO
9142  fi
9143else
9144  LIPO="$ac_cv_prog_LIPO"
9145fi
9146
9147    if test -n "$ac_tool_prefix"; then
9148  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9149set dummy ${ac_tool_prefix}otool; ac_word=$2
9150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9151$as_echo_n "checking for $ac_word... " >&6; }
9152if ${ac_cv_prog_OTOOL+:} false; then :
9153  $as_echo_n "(cached) " >&6
9154else
9155  if test -n "$OTOOL"; then
9156  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9157else
9158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9159for as_dir in $PATH
9160do
9161  IFS=$as_save_IFS
9162  test -z "$as_dir" && as_dir=.
9163    for ac_exec_ext in '' $ac_executable_extensions; do
9164  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9165    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9166    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167    break 2
9168  fi
9169done
9170  done
9171IFS=$as_save_IFS
9172
9173fi
9174fi
9175OTOOL=$ac_cv_prog_OTOOL
9176if test -n "$OTOOL"; then
9177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9178$as_echo "$OTOOL" >&6; }
9179else
9180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181$as_echo "no" >&6; }
9182fi
9183
9184
9185fi
9186if test -z "$ac_cv_prog_OTOOL"; then
9187  ac_ct_OTOOL=$OTOOL
9188  # Extract the first word of "otool", so it can be a program name with args.
9189set dummy otool; ac_word=$2
9190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191$as_echo_n "checking for $ac_word... " >&6; }
9192if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9193  $as_echo_n "(cached) " >&6
9194else
9195  if test -n "$ac_ct_OTOOL"; then
9196  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9197else
9198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199for as_dir in $PATH
9200do
9201  IFS=$as_save_IFS
9202  test -z "$as_dir" && as_dir=.
9203    for ac_exec_ext in '' $ac_executable_extensions; do
9204  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9205    ac_cv_prog_ac_ct_OTOOL="otool"
9206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9207    break 2
9208  fi
9209done
9210  done
9211IFS=$as_save_IFS
9212
9213fi
9214fi
9215ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9216if test -n "$ac_ct_OTOOL"; then
9217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9218$as_echo "$ac_ct_OTOOL" >&6; }
9219else
9220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221$as_echo "no" >&6; }
9222fi
9223
9224  if test "x$ac_ct_OTOOL" = x; then
9225    OTOOL=":"
9226  else
9227    case $cross_compiling:$ac_tool_warned in
9228yes:)
9229{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9230$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9231ac_tool_warned=yes ;;
9232esac
9233    OTOOL=$ac_ct_OTOOL
9234  fi
9235else
9236  OTOOL="$ac_cv_prog_OTOOL"
9237fi
9238
9239    if test -n "$ac_tool_prefix"; then
9240  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9241set dummy ${ac_tool_prefix}otool64; ac_word=$2
9242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9243$as_echo_n "checking for $ac_word... " >&6; }
9244if ${ac_cv_prog_OTOOL64+:} false; then :
9245  $as_echo_n "(cached) " >&6
9246else
9247  if test -n "$OTOOL64"; then
9248  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9249else
9250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9251for as_dir in $PATH
9252do
9253  IFS=$as_save_IFS
9254  test -z "$as_dir" && as_dir=.
9255    for ac_exec_ext in '' $ac_executable_extensions; do
9256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9257    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9259    break 2
9260  fi
9261done
9262  done
9263IFS=$as_save_IFS
9264
9265fi
9266fi
9267OTOOL64=$ac_cv_prog_OTOOL64
9268if test -n "$OTOOL64"; then
9269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9270$as_echo "$OTOOL64" >&6; }
9271else
9272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9273$as_echo "no" >&6; }
9274fi
9275
9276
9277fi
9278if test -z "$ac_cv_prog_OTOOL64"; then
9279  ac_ct_OTOOL64=$OTOOL64
9280  # Extract the first word of "otool64", so it can be a program name with args.
9281set dummy otool64; ac_word=$2
9282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9283$as_echo_n "checking for $ac_word... " >&6; }
9284if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9285  $as_echo_n "(cached) " >&6
9286else
9287  if test -n "$ac_ct_OTOOL64"; then
9288  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9289else
9290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9291for as_dir in $PATH
9292do
9293  IFS=$as_save_IFS
9294  test -z "$as_dir" && as_dir=.
9295    for ac_exec_ext in '' $ac_executable_extensions; do
9296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9297    ac_cv_prog_ac_ct_OTOOL64="otool64"
9298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9299    break 2
9300  fi
9301done
9302  done
9303IFS=$as_save_IFS
9304
9305fi
9306fi
9307ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9308if test -n "$ac_ct_OTOOL64"; then
9309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9310$as_echo "$ac_ct_OTOOL64" >&6; }
9311else
9312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9313$as_echo "no" >&6; }
9314fi
9315
9316  if test "x$ac_ct_OTOOL64" = x; then
9317    OTOOL64=":"
9318  else
9319    case $cross_compiling:$ac_tool_warned in
9320yes:)
9321{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9322$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9323ac_tool_warned=yes ;;
9324esac
9325    OTOOL64=$ac_ct_OTOOL64
9326  fi
9327else
9328  OTOOL64="$ac_cv_prog_OTOOL64"
9329fi
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9358$as_echo_n "checking for -single_module linker flag... " >&6; }
9359if ${lt_cv_apple_cc_single_mod+:} false; then :
9360  $as_echo_n "(cached) " >&6
9361else
9362  lt_cv_apple_cc_single_mod=no
9363      if test -z "$LT_MULTI_MODULE"; then
9364	# By default we will add the -single_module flag. You can override
9365	# by either setting the environment variable LT_MULTI_MODULE
9366	# non-empty at configure time, or by adding -multi_module to the
9367	# link flags.
9368	rm -rf libconftest.dylib*
9369	echo "int foo(void){return 1;}" > conftest.c
9370	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9371-dynamiclib -Wl,-single_module conftest.c" >&5
9372	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9373	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9374        _lt_result=$?
9375	# If there is a non-empty error log, and "single_module"
9376	# appears in it, assume the flag caused a linker warning
9377        if test -s conftest.err && $GREP single_module conftest.err; then
9378	  cat conftest.err >&5
9379	# Otherwise, if the output was created with a 0 exit code from
9380	# the compiler, it worked.
9381	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9382	  lt_cv_apple_cc_single_mod=yes
9383	else
9384	  cat conftest.err >&5
9385	fi
9386	rm -rf libconftest.dylib*
9387	rm -f conftest.*
9388      fi
9389fi
9390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9391$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9392
9393    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9394$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9395if ${lt_cv_ld_exported_symbols_list+:} false; then :
9396  $as_echo_n "(cached) " >&6
9397else
9398  lt_cv_ld_exported_symbols_list=no
9399      save_LDFLAGS=$LDFLAGS
9400      echo "_main" > conftest.sym
9401      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9402      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403/* end confdefs.h.  */
9404
9405int
9406main ()
9407{
9408
9409  ;
9410  return 0;
9411}
9412_ACEOF
9413if ac_fn_c_try_link "$LINENO"; then :
9414  lt_cv_ld_exported_symbols_list=yes
9415else
9416  lt_cv_ld_exported_symbols_list=no
9417fi
9418rm -f core conftest.err conftest.$ac_objext \
9419    conftest$ac_exeext conftest.$ac_ext
9420	LDFLAGS=$save_LDFLAGS
9421
9422fi
9423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9424$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9425
9426    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9427$as_echo_n "checking for -force_load linker flag... " >&6; }
9428if ${lt_cv_ld_force_load+:} false; then :
9429  $as_echo_n "(cached) " >&6
9430else
9431  lt_cv_ld_force_load=no
9432      cat > conftest.c << _LT_EOF
9433int forced_loaded() { return 2;}
9434_LT_EOF
9435      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9436      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9437      echo "$AR cr libconftest.a conftest.o" >&5
9438      $AR cr libconftest.a conftest.o 2>&5
9439      echo "$RANLIB libconftest.a" >&5
9440      $RANLIB libconftest.a 2>&5
9441      cat > conftest.c << _LT_EOF
9442int main() { return 0;}
9443_LT_EOF
9444      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9445      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9446      _lt_result=$?
9447      if test -s conftest.err && $GREP force_load conftest.err; then
9448	cat conftest.err >&5
9449      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9450	lt_cv_ld_force_load=yes
9451      else
9452	cat conftest.err >&5
9453      fi
9454        rm -f conftest.err libconftest.a conftest conftest.c
9455        rm -rf conftest.dSYM
9456
9457fi
9458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9459$as_echo "$lt_cv_ld_force_load" >&6; }
9460    case $host_os in
9461    rhapsody* | darwin1.[012])
9462      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9463    darwin1.*)
9464      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9465    darwin*) # darwin 5.x on
9466      # if running on 10.5 or later, the deployment target defaults
9467      # to the OS version, if on x86, and 10.4, the deployment
9468      # target defaults to 10.4. Don't you love it?
9469      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9470	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9471	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9472	10.[012][,.]*)
9473	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9474	10.*)
9475	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9476      esac
9477    ;;
9478  esac
9479    if test yes = "$lt_cv_apple_cc_single_mod"; then
9480      _lt_dar_single_mod='$single_module'
9481    fi
9482    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9483      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9484    else
9485      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9486    fi
9487    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9488      _lt_dsymutil='~$DSYMUTIL $lib || :'
9489    else
9490      _lt_dsymutil=
9491    fi
9492    ;;
9493  esac
9494
9495# func_munge_path_list VARIABLE PATH
9496# -----------------------------------
9497# VARIABLE is name of variable containing _space_ separated list of
9498# directories to be munged by the contents of PATH, which is string
9499# having a format:
9500# "DIR[:DIR]:"
9501#       string "DIR[ DIR]" will be prepended to VARIABLE
9502# ":DIR[:DIR]"
9503#       string "DIR[ DIR]" will be appended to VARIABLE
9504# "DIRP[:DIRP]::[DIRA:]DIRA"
9505#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9506#       "DIRA[ DIRA]" will be appended to VARIABLE
9507# "DIR[:DIR]"
9508#       VARIABLE will be replaced by "DIR[ DIR]"
9509func_munge_path_list ()
9510{
9511    case x$2 in
9512    x)
9513        ;;
9514    *:)
9515        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9516        ;;
9517    x:*)
9518        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9519        ;;
9520    *::*)
9521        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9522        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9523        ;;
9524    *)
9525        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9526        ;;
9527    esac
9528}
9529
9530for ac_header in dlfcn.h
9531do :
9532  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9533"
9534if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9535  cat >>confdefs.h <<_ACEOF
9536#define HAVE_DLFCN_H 1
9537_ACEOF
9538
9539fi
9540
9541done
9542
9543
9544
9545
9546
9547# Set options
9548# Check whether --enable-static was given.
9549if test "${enable_static+set}" = set; then :
9550  enableval=$enable_static; p=${PACKAGE-default}
9551    case $enableval in
9552    yes) enable_static=yes ;;
9553    no) enable_static=no ;;
9554    *)
9555     enable_static=no
9556      # Look at the argument we got.  We use all the common list separators.
9557      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9558      for pkg in $enableval; do
9559	IFS=$lt_save_ifs
9560	if test "X$pkg" = "X$p"; then
9561	  enable_static=yes
9562	fi
9563      done
9564      IFS=$lt_save_ifs
9565      ;;
9566    esac
9567else
9568  enable_static=no
9569fi
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580        enable_dlopen=no
9581
9582
9583  enable_win32_dll=no
9584
9585
9586            # Check whether --enable-shared was given.
9587if test "${enable_shared+set}" = set; then :
9588  enableval=$enable_shared; p=${PACKAGE-default}
9589    case $enableval in
9590    yes) enable_shared=yes ;;
9591    no) enable_shared=no ;;
9592    *)
9593      enable_shared=no
9594      # Look at the argument we got.  We use all the common list separators.
9595      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9596      for pkg in $enableval; do
9597	IFS=$lt_save_ifs
9598	if test "X$pkg" = "X$p"; then
9599	  enable_shared=yes
9600	fi
9601      done
9602      IFS=$lt_save_ifs
9603      ;;
9604    esac
9605else
9606  enable_shared=yes
9607fi
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619# Check whether --with-pic was given.
9620if test "${with_pic+set}" = set; then :
9621  withval=$with_pic; lt_p=${PACKAGE-default}
9622    case $withval in
9623    yes|no) pic_mode=$withval ;;
9624    *)
9625      pic_mode=default
9626      # Look at the argument we got.  We use all the common list separators.
9627      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9628      for lt_pkg in $withval; do
9629	IFS=$lt_save_ifs
9630	if test "X$lt_pkg" = "X$lt_p"; then
9631	  pic_mode=yes
9632	fi
9633      done
9634      IFS=$lt_save_ifs
9635      ;;
9636    esac
9637else
9638  pic_mode=default
9639fi
9640
9641
9642
9643
9644
9645
9646
9647
9648  # Check whether --enable-fast-install was given.
9649if test "${enable_fast_install+set}" = set; then :
9650  enableval=$enable_fast_install; p=${PACKAGE-default}
9651    case $enableval in
9652    yes) enable_fast_install=yes ;;
9653    no) enable_fast_install=no ;;
9654    *)
9655      enable_fast_install=no
9656      # Look at the argument we got.  We use all the common list separators.
9657      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9658      for pkg in $enableval; do
9659	IFS=$lt_save_ifs
9660	if test "X$pkg" = "X$p"; then
9661	  enable_fast_install=yes
9662	fi
9663      done
9664      IFS=$lt_save_ifs
9665      ;;
9666    esac
9667else
9668  enable_fast_install=yes
9669fi
9670
9671
9672
9673
9674
9675
9676
9677
9678  shared_archive_member_spec=
9679case $host,$enable_shared in
9680power*-*-aix[5-9]*,yes)
9681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9682$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9683
9684# Check whether --with-aix-soname was given.
9685if test "${with_aix_soname+set}" = set; then :
9686  withval=$with_aix_soname; case $withval in
9687    aix|svr4|both)
9688      ;;
9689    *)
9690      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9691      ;;
9692    esac
9693    lt_cv_with_aix_soname=$with_aix_soname
9694else
9695  if ${lt_cv_with_aix_soname+:} false; then :
9696  $as_echo_n "(cached) " >&6
9697else
9698  lt_cv_with_aix_soname=aix
9699fi
9700
9701    with_aix_soname=$lt_cv_with_aix_soname
9702fi
9703
9704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9705$as_echo "$with_aix_soname" >&6; }
9706  if test aix != "$with_aix_soname"; then
9707    # For the AIX way of multilib, we name the shared archive member
9708    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9709    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9710    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9711    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9712    if test 64 = "${OBJECT_MODE-32}"; then
9713      shared_archive_member_spec=shr_64
9714    else
9715      shared_archive_member_spec=shr
9716    fi
9717  fi
9718  ;;
9719*)
9720  with_aix_soname=aix
9721  ;;
9722esac
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733# This can be used to rebuild libtool when needed
9734LIBTOOL_DEPS=$ltmain
9735
9736# Always use our own libtool.
9737LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768test -z "$LN_S" && LN_S="ln -s"
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783if test -n "${ZSH_VERSION+set}"; then
9784   setopt NO_GLOB_SUBST
9785fi
9786
9787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9788$as_echo_n "checking for objdir... " >&6; }
9789if ${lt_cv_objdir+:} false; then :
9790  $as_echo_n "(cached) " >&6
9791else
9792  rm -f .libs 2>/dev/null
9793mkdir .libs 2>/dev/null
9794if test -d .libs; then
9795  lt_cv_objdir=.libs
9796else
9797  # MS-DOS does not allow filenames that begin with a dot.
9798  lt_cv_objdir=_libs
9799fi
9800rmdir .libs 2>/dev/null
9801fi
9802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9803$as_echo "$lt_cv_objdir" >&6; }
9804objdir=$lt_cv_objdir
9805
9806
9807
9808
9809
9810cat >>confdefs.h <<_ACEOF
9811#define LT_OBJDIR "$lt_cv_objdir/"
9812_ACEOF
9813
9814
9815
9816
9817case $host_os in
9818aix3*)
9819  # AIX sometimes has problems with the GCC collect2 program.  For some
9820  # reason, if we set the COLLECT_NAMES environment variable, the problems
9821  # vanish in a puff of smoke.
9822  if test set != "${COLLECT_NAMES+set}"; then
9823    COLLECT_NAMES=
9824    export COLLECT_NAMES
9825  fi
9826  ;;
9827esac
9828
9829# Global variables:
9830ofile=libtool
9831can_build_shared=yes
9832
9833# All known linkers require a '.a' archive for static linking (except MSVC,
9834# which needs '.lib').
9835libext=a
9836
9837with_gnu_ld=$lt_cv_prog_gnu_ld
9838
9839old_CC=$CC
9840old_CFLAGS=$CFLAGS
9841
9842# Set sane defaults for various variables
9843test -z "$CC" && CC=cc
9844test -z "$LTCC" && LTCC=$CC
9845test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9846test -z "$LD" && LD=ld
9847test -z "$ac_objext" && ac_objext=o
9848
9849func_cc_basename $compiler
9850cc_basename=$func_cc_basename_result
9851
9852
9853# Only perform the check for file, if the check method requires it
9854test -z "$MAGIC_CMD" && MAGIC_CMD=file
9855case $deplibs_check_method in
9856file_magic*)
9857  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9859$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9860if ${lt_cv_path_MAGIC_CMD+:} false; then :
9861  $as_echo_n "(cached) " >&6
9862else
9863  case $MAGIC_CMD in
9864[\\/*] |  ?:[\\/]*)
9865  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9866  ;;
9867*)
9868  lt_save_MAGIC_CMD=$MAGIC_CMD
9869  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9870  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9871  for ac_dir in $ac_dummy; do
9872    IFS=$lt_save_ifs
9873    test -z "$ac_dir" && ac_dir=.
9874    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9875      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9876      if test -n "$file_magic_test_file"; then
9877	case $deplibs_check_method in
9878	"file_magic "*)
9879	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9880	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9881	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9882	    $EGREP "$file_magic_regex" > /dev/null; then
9883	    :
9884	  else
9885	    cat <<_LT_EOF 1>&2
9886
9887*** Warning: the command libtool uses to detect shared libraries,
9888*** $file_magic_cmd, produces output that libtool cannot recognize.
9889*** The result is that libtool may fail to recognize shared libraries
9890*** as such.  This will affect the creation of libtool libraries that
9891*** depend on shared libraries, but programs linked with such libtool
9892*** libraries will work regardless of this problem.  Nevertheless, you
9893*** may want to report the problem to your system manager and/or to
9894*** bug-libtool@gnu.org
9895
9896_LT_EOF
9897	  fi ;;
9898	esac
9899      fi
9900      break
9901    fi
9902  done
9903  IFS=$lt_save_ifs
9904  MAGIC_CMD=$lt_save_MAGIC_CMD
9905  ;;
9906esac
9907fi
9908
9909MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9910if test -n "$MAGIC_CMD"; then
9911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9912$as_echo "$MAGIC_CMD" >&6; }
9913else
9914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9915$as_echo "no" >&6; }
9916fi
9917
9918
9919
9920
9921
9922if test -z "$lt_cv_path_MAGIC_CMD"; then
9923  if test -n "$ac_tool_prefix"; then
9924    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9925$as_echo_n "checking for file... " >&6; }
9926if ${lt_cv_path_MAGIC_CMD+:} false; then :
9927  $as_echo_n "(cached) " >&6
9928else
9929  case $MAGIC_CMD in
9930[\\/*] |  ?:[\\/]*)
9931  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9932  ;;
9933*)
9934  lt_save_MAGIC_CMD=$MAGIC_CMD
9935  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9936  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9937  for ac_dir in $ac_dummy; do
9938    IFS=$lt_save_ifs
9939    test -z "$ac_dir" && ac_dir=.
9940    if test -f "$ac_dir/file"; then
9941      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9942      if test -n "$file_magic_test_file"; then
9943	case $deplibs_check_method in
9944	"file_magic "*)
9945	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9946	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9947	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9948	    $EGREP "$file_magic_regex" > /dev/null; then
9949	    :
9950	  else
9951	    cat <<_LT_EOF 1>&2
9952
9953*** Warning: the command libtool uses to detect shared libraries,
9954*** $file_magic_cmd, produces output that libtool cannot recognize.
9955*** The result is that libtool may fail to recognize shared libraries
9956*** as such.  This will affect the creation of libtool libraries that
9957*** depend on shared libraries, but programs linked with such libtool
9958*** libraries will work regardless of this problem.  Nevertheless, you
9959*** may want to report the problem to your system manager and/or to
9960*** bug-libtool@gnu.org
9961
9962_LT_EOF
9963	  fi ;;
9964	esac
9965      fi
9966      break
9967    fi
9968  done
9969  IFS=$lt_save_ifs
9970  MAGIC_CMD=$lt_save_MAGIC_CMD
9971  ;;
9972esac
9973fi
9974
9975MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9976if test -n "$MAGIC_CMD"; then
9977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9978$as_echo "$MAGIC_CMD" >&6; }
9979else
9980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9981$as_echo "no" >&6; }
9982fi
9983
9984
9985  else
9986    MAGIC_CMD=:
9987  fi
9988fi
9989
9990  fi
9991  ;;
9992esac
9993
9994# Use C for the default configuration in the libtool script
9995
9996lt_save_CC=$CC
9997ac_ext=c
9998ac_cpp='$CPP $CPPFLAGS'
9999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10001ac_compiler_gnu=$ac_cv_c_compiler_gnu
10002
10003
10004# Source file extension for C test sources.
10005ac_ext=c
10006
10007# Object file extension for compiled C test sources.
10008objext=o
10009objext=$objext
10010
10011# Code to be used in simple compile tests
10012lt_simple_compile_test_code="int some_variable = 0;"
10013
10014# Code to be used in simple link tests
10015lt_simple_link_test_code='int main(){return(0);}'
10016
10017
10018
10019
10020
10021
10022
10023# If no C compiler was specified, use CC.
10024LTCC=${LTCC-"$CC"}
10025
10026# If no C compiler flags were specified, use CFLAGS.
10027LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10028
10029# Allow CC to be a program name with arguments.
10030compiler=$CC
10031
10032# Save the default compiler, since it gets overwritten when the other
10033# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10034compiler_DEFAULT=$CC
10035
10036# save warnings/boilerplate of simple test code
10037ac_outfile=conftest.$ac_objext
10038echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10039eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10040_lt_compiler_boilerplate=`cat conftest.err`
10041$RM conftest*
10042
10043ac_outfile=conftest.$ac_objext
10044echo "$lt_simple_link_test_code" >conftest.$ac_ext
10045eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10046_lt_linker_boilerplate=`cat conftest.err`
10047$RM -r conftest*
10048
10049
10050if test -n "$compiler"; then
10051
10052lt_prog_compiler_no_builtin_flag=
10053
10054if test yes = "$GCC"; then
10055  case $cc_basename in
10056  nvcc*)
10057    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10058  *)
10059    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10060  esac
10061
10062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10063$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10064if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10065  $as_echo_n "(cached) " >&6
10066else
10067  lt_cv_prog_compiler_rtti_exceptions=no
10068   ac_outfile=conftest.$ac_objext
10069   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10070   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10071   # Insert the option either (1) after the last *FLAGS variable, or
10072   # (2) before a word containing "conftest.", or (3) at the end.
10073   # Note that $ac_compile itself does not contain backslashes and begins
10074   # with a dollar sign (not a hyphen), so the echo should work correctly.
10075   # The option is referenced via a variable to avoid confusing sed.
10076   lt_compile=`echo "$ac_compile" | $SED \
10077   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10078   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10079   -e 's:$: $lt_compiler_flag:'`
10080   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10081   (eval "$lt_compile" 2>conftest.err)
10082   ac_status=$?
10083   cat conftest.err >&5
10084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085   if (exit $ac_status) && test -s "$ac_outfile"; then
10086     # The compiler can only warn and ignore the option if not recognized
10087     # So say no if there are warnings other than the usual output.
10088     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10089     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10090     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10091       lt_cv_prog_compiler_rtti_exceptions=yes
10092     fi
10093   fi
10094   $RM conftest*
10095
10096fi
10097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10098$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10099
10100if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10101    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10102else
10103    :
10104fi
10105
10106fi
10107
10108
10109
10110
10111
10112
10113  lt_prog_compiler_wl=
10114lt_prog_compiler_pic=
10115lt_prog_compiler_static=
10116
10117
10118  if test yes = "$GCC"; then
10119    lt_prog_compiler_wl='-Wl,'
10120    lt_prog_compiler_static='-static'
10121
10122    case $host_os in
10123      aix*)
10124      # All AIX code is PIC.
10125      if test ia64 = "$host_cpu"; then
10126	# AIX 5 now supports IA64 processor
10127	lt_prog_compiler_static='-Bstatic'
10128      fi
10129      lt_prog_compiler_pic='-fPIC'
10130      ;;
10131
10132    amigaos*)
10133      case $host_cpu in
10134      powerpc)
10135            # see comment about AmigaOS4 .so support
10136            lt_prog_compiler_pic='-fPIC'
10137        ;;
10138      m68k)
10139            # FIXME: we need at least 68020 code to build shared libraries, but
10140            # adding the '-m68020' flag to GCC prevents building anything better,
10141            # like '-m68040'.
10142            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10143        ;;
10144      esac
10145      ;;
10146
10147    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10148      # PIC is the default for these OSes.
10149      ;;
10150
10151    mingw* | cygwin* | pw32* | os2* | cegcc*)
10152      # This hack is so that the source file can tell whether it is being
10153      # built for inclusion in a dll (and should export symbols for example).
10154      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10155      # (--disable-auto-import) libraries
10156      lt_prog_compiler_pic='-DDLL_EXPORT'
10157      case $host_os in
10158      os2*)
10159	lt_prog_compiler_static='$wl-static'
10160	;;
10161      esac
10162      ;;
10163
10164    darwin* | rhapsody*)
10165      # PIC is the default on this platform
10166      # Common symbols not allowed in MH_DYLIB files
10167      lt_prog_compiler_pic='-fno-common'
10168      ;;
10169
10170    haiku*)
10171      # PIC is the default for Haiku.
10172      # The "-static" flag exists, but is broken.
10173      lt_prog_compiler_static=
10174      ;;
10175
10176    hpux*)
10177      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10178      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10179      # sets the default TLS model and affects inlining.
10180      case $host_cpu in
10181      hppa*64*)
10182	# +Z the default
10183	;;
10184      *)
10185	lt_prog_compiler_pic='-fPIC'
10186	;;
10187      esac
10188      ;;
10189
10190    interix[3-9]*)
10191      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10192      # Instead, we relocate shared libraries at runtime.
10193      ;;
10194
10195    msdosdjgpp*)
10196      # Just because we use GCC doesn't mean we suddenly get shared libraries
10197      # on systems that don't support them.
10198      lt_prog_compiler_can_build_shared=no
10199      enable_shared=no
10200      ;;
10201
10202    *nto* | *qnx*)
10203      # QNX uses GNU C++, but need to define -shared option too, otherwise
10204      # it will coredump.
10205      lt_prog_compiler_pic='-fPIC -shared'
10206      ;;
10207
10208    sysv4*MP*)
10209      if test -d /usr/nec; then
10210	lt_prog_compiler_pic=-Kconform_pic
10211      fi
10212      ;;
10213
10214    *)
10215      lt_prog_compiler_pic='-fPIC'
10216      ;;
10217    esac
10218
10219    case $cc_basename in
10220    nvcc*) # Cuda Compiler Driver 2.2
10221      lt_prog_compiler_wl='-Xlinker '
10222      if test -n "$lt_prog_compiler_pic"; then
10223        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10224      fi
10225      ;;
10226    esac
10227  else
10228    # PORTME Check for flag to pass linker flags through the system compiler.
10229    case $host_os in
10230    aix*)
10231      lt_prog_compiler_wl='-Wl,'
10232      if test ia64 = "$host_cpu"; then
10233	# AIX 5 now supports IA64 processor
10234	lt_prog_compiler_static='-Bstatic'
10235      else
10236	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10237      fi
10238      ;;
10239
10240    darwin* | rhapsody*)
10241      # PIC is the default on this platform
10242      # Common symbols not allowed in MH_DYLIB files
10243      lt_prog_compiler_pic='-fno-common'
10244      case $cc_basename in
10245      nagfor*)
10246        # NAG Fortran compiler
10247        lt_prog_compiler_wl='-Wl,-Wl,,'
10248        lt_prog_compiler_pic='-PIC'
10249        lt_prog_compiler_static='-Bstatic'
10250        ;;
10251      esac
10252      ;;
10253
10254    mingw* | cygwin* | pw32* | os2* | cegcc*)
10255      # This hack is so that the source file can tell whether it is being
10256      # built for inclusion in a dll (and should export symbols for example).
10257      lt_prog_compiler_pic='-DDLL_EXPORT'
10258      case $host_os in
10259      os2*)
10260	lt_prog_compiler_static='$wl-static'
10261	;;
10262      esac
10263      ;;
10264
10265    hpux9* | hpux10* | hpux11*)
10266      lt_prog_compiler_wl='-Wl,'
10267      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10268      # not for PA HP-UX.
10269      case $host_cpu in
10270      hppa*64*|ia64*)
10271	# +Z the default
10272	;;
10273      *)
10274	lt_prog_compiler_pic='+Z'
10275	;;
10276      esac
10277      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10278      lt_prog_compiler_static='$wl-a ${wl}archive'
10279      ;;
10280
10281    irix5* | irix6* | nonstopux*)
10282      lt_prog_compiler_wl='-Wl,'
10283      # PIC (with -KPIC) is the default.
10284      lt_prog_compiler_static='-non_shared'
10285      ;;
10286
10287    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10288      case $cc_basename in
10289      # old Intel for x86_64, which still supported -KPIC.
10290      ecc*)
10291	lt_prog_compiler_wl='-Wl,'
10292	lt_prog_compiler_pic='-KPIC'
10293	lt_prog_compiler_static='-static'
10294        ;;
10295      # flang / f18. f95 an alias for gfortran or flang on Debian
10296      flang* | f18* | f95*)
10297	lt_prog_compiler_wl='-Wl,'
10298	lt_prog_compiler_pic='-fPIC'
10299	lt_prog_compiler_static='-static'
10300        ;;
10301      # icc used to be incompatible with GCC.
10302      # ICC 10 doesn't accept -KPIC any more.
10303      icc* | ifort*)
10304	lt_prog_compiler_wl='-Wl,'
10305	lt_prog_compiler_pic='-fPIC'
10306	lt_prog_compiler_static='-static'
10307        ;;
10308      # Lahey Fortran 8.1.
10309      lf95*)
10310	lt_prog_compiler_wl='-Wl,'
10311	lt_prog_compiler_pic='--shared'
10312	lt_prog_compiler_static='--static'
10313	;;
10314      nagfor*)
10315	# NAG Fortran compiler
10316	lt_prog_compiler_wl='-Wl,-Wl,,'
10317	lt_prog_compiler_pic='-PIC'
10318	lt_prog_compiler_static='-Bstatic'
10319	;;
10320      tcc*)
10321	# Fabrice Bellard et al's Tiny C Compiler
10322	lt_prog_compiler_wl='-Wl,'
10323	lt_prog_compiler_pic='-fPIC'
10324	lt_prog_compiler_static='-static'
10325	;;
10326      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10327        # Portland Group compilers (*not* the Pentium gcc compiler,
10328	# which looks to be a dead project)
10329	lt_prog_compiler_wl='-Wl,'
10330	lt_prog_compiler_pic='-fpic'
10331	lt_prog_compiler_static='-Bstatic'
10332        ;;
10333      ccc*)
10334        lt_prog_compiler_wl='-Wl,'
10335        # All Alpha code is PIC.
10336        lt_prog_compiler_static='-non_shared'
10337        ;;
10338      xl* | bgxl* | bgf* | mpixl*)
10339	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10340	lt_prog_compiler_wl='-Wl,'
10341	lt_prog_compiler_pic='-qpic'
10342	lt_prog_compiler_static='-qstaticlink'
10343	;;
10344      *)
10345	case `$CC -V 2>&1 | sed 5q` in
10346	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10347	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10348	  lt_prog_compiler_pic='-KPIC'
10349	  lt_prog_compiler_static='-Bstatic'
10350	  lt_prog_compiler_wl=''
10351	  ;;
10352	*Sun\ F* | *Sun*Fortran*)
10353	  lt_prog_compiler_pic='-KPIC'
10354	  lt_prog_compiler_static='-Bstatic'
10355	  lt_prog_compiler_wl='-Qoption ld '
10356	  ;;
10357	*Sun\ C*)
10358	  # Sun C 5.9
10359	  lt_prog_compiler_pic='-KPIC'
10360	  lt_prog_compiler_static='-Bstatic'
10361	  lt_prog_compiler_wl='-Wl,'
10362	  ;;
10363        *Intel*\ [CF]*Compiler*)
10364	  lt_prog_compiler_wl='-Wl,'
10365	  lt_prog_compiler_pic='-fPIC'
10366	  lt_prog_compiler_static='-static'
10367	  ;;
10368	*Portland\ Group*)
10369	  lt_prog_compiler_wl='-Wl,'
10370	  lt_prog_compiler_pic='-fpic'
10371	  lt_prog_compiler_static='-Bstatic'
10372	  ;;
10373	esac
10374	;;
10375      esac
10376      ;;
10377
10378    newsos6)
10379      lt_prog_compiler_pic='-KPIC'
10380      lt_prog_compiler_static='-Bstatic'
10381      ;;
10382
10383    *nto* | *qnx*)
10384      # QNX uses GNU C++, but need to define -shared option too, otherwise
10385      # it will coredump.
10386      lt_prog_compiler_pic='-fPIC -shared'
10387      ;;
10388
10389    osf3* | osf4* | osf5*)
10390      lt_prog_compiler_wl='-Wl,'
10391      # All OSF/1 code is PIC.
10392      lt_prog_compiler_static='-non_shared'
10393      ;;
10394
10395    rdos*)
10396      lt_prog_compiler_static='-non_shared'
10397      ;;
10398
10399    solaris*)
10400      lt_prog_compiler_pic='-KPIC'
10401      lt_prog_compiler_static='-Bstatic'
10402      case $cc_basename in
10403      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10404	lt_prog_compiler_wl='-Qoption ld ';;
10405      *)
10406	lt_prog_compiler_wl='-Wl,';;
10407      esac
10408      ;;
10409
10410    sunos4*)
10411      lt_prog_compiler_wl='-Qoption ld '
10412      lt_prog_compiler_pic='-PIC'
10413      lt_prog_compiler_static='-Bstatic'
10414      ;;
10415
10416    sysv4 | sysv4.2uw2* | sysv4.3*)
10417      lt_prog_compiler_wl='-Wl,'
10418      lt_prog_compiler_pic='-KPIC'
10419      lt_prog_compiler_static='-Bstatic'
10420      ;;
10421
10422    sysv4*MP*)
10423      if test -d /usr/nec; then
10424	lt_prog_compiler_pic='-Kconform_pic'
10425	lt_prog_compiler_static='-Bstatic'
10426      fi
10427      ;;
10428
10429    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10430      lt_prog_compiler_wl='-Wl,'
10431      lt_prog_compiler_pic='-KPIC'
10432      lt_prog_compiler_static='-Bstatic'
10433      ;;
10434
10435    unicos*)
10436      lt_prog_compiler_wl='-Wl,'
10437      lt_prog_compiler_can_build_shared=no
10438      ;;
10439
10440    uts4*)
10441      lt_prog_compiler_pic='-pic'
10442      lt_prog_compiler_static='-Bstatic'
10443      ;;
10444
10445    *)
10446      lt_prog_compiler_can_build_shared=no
10447      ;;
10448    esac
10449  fi
10450
10451case $host_os in
10452  # For platforms that do not support PIC, -DPIC is meaningless:
10453  *djgpp*)
10454    lt_prog_compiler_pic=
10455    ;;
10456  *)
10457    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10458    ;;
10459esac
10460
10461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10462$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10463if ${lt_cv_prog_compiler_pic+:} false; then :
10464  $as_echo_n "(cached) " >&6
10465else
10466  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10467fi
10468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10469$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10470lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10471
10472#
10473# Check to make sure the PIC flag actually works.
10474#
10475if test -n "$lt_prog_compiler_pic"; then
10476  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10477$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10478if ${lt_cv_prog_compiler_pic_works+:} false; then :
10479  $as_echo_n "(cached) " >&6
10480else
10481  lt_cv_prog_compiler_pic_works=no
10482   ac_outfile=conftest.$ac_objext
10483   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10484   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10485   # Insert the option either (1) after the last *FLAGS variable, or
10486   # (2) before a word containing "conftest.", or (3) at the end.
10487   # Note that $ac_compile itself does not contain backslashes and begins
10488   # with a dollar sign (not a hyphen), so the echo should work correctly.
10489   # The option is referenced via a variable to avoid confusing sed.
10490   lt_compile=`echo "$ac_compile" | $SED \
10491   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10492   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10493   -e 's:$: $lt_compiler_flag:'`
10494   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10495   (eval "$lt_compile" 2>conftest.err)
10496   ac_status=$?
10497   cat conftest.err >&5
10498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499   if (exit $ac_status) && test -s "$ac_outfile"; then
10500     # The compiler can only warn and ignore the option if not recognized
10501     # So say no if there are warnings other than the usual output.
10502     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10503     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10504     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10505       lt_cv_prog_compiler_pic_works=yes
10506     fi
10507   fi
10508   $RM conftest*
10509
10510fi
10511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10512$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10513
10514if test yes = "$lt_cv_prog_compiler_pic_works"; then
10515    case $lt_prog_compiler_pic in
10516     "" | " "*) ;;
10517     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10518     esac
10519else
10520    lt_prog_compiler_pic=
10521     lt_prog_compiler_can_build_shared=no
10522fi
10523
10524fi
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536#
10537# Check to make sure the static flag actually works.
10538#
10539wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10541$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10542if ${lt_cv_prog_compiler_static_works+:} false; then :
10543  $as_echo_n "(cached) " >&6
10544else
10545  lt_cv_prog_compiler_static_works=no
10546   save_LDFLAGS=$LDFLAGS
10547   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10548   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10549   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10550     # The linker can only warn and ignore the option if not recognized
10551     # So say no if there are warnings
10552     if test -s conftest.err; then
10553       # Append any errors to the config.log.
10554       cat conftest.err 1>&5
10555       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10556       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10557       if diff conftest.exp conftest.er2 >/dev/null; then
10558         lt_cv_prog_compiler_static_works=yes
10559       fi
10560     else
10561       lt_cv_prog_compiler_static_works=yes
10562     fi
10563   fi
10564   $RM -r conftest*
10565   LDFLAGS=$save_LDFLAGS
10566
10567fi
10568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10569$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10570
10571if test yes = "$lt_cv_prog_compiler_static_works"; then
10572    :
10573else
10574    lt_prog_compiler_static=
10575fi
10576
10577
10578
10579
10580
10581
10582
10583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10584$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10585if ${lt_cv_prog_compiler_c_o+:} false; then :
10586  $as_echo_n "(cached) " >&6
10587else
10588  lt_cv_prog_compiler_c_o=no
10589   $RM -r conftest 2>/dev/null
10590   mkdir conftest
10591   cd conftest
10592   mkdir out
10593   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10594
10595   lt_compiler_flag="-o out/conftest2.$ac_objext"
10596   # Insert the option either (1) after the last *FLAGS variable, or
10597   # (2) before a word containing "conftest.", or (3) at the end.
10598   # Note that $ac_compile itself does not contain backslashes and begins
10599   # with a dollar sign (not a hyphen), so the echo should work correctly.
10600   lt_compile=`echo "$ac_compile" | $SED \
10601   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10602   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10603   -e 's:$: $lt_compiler_flag:'`
10604   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10605   (eval "$lt_compile" 2>out/conftest.err)
10606   ac_status=$?
10607   cat out/conftest.err >&5
10608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10610   then
10611     # The compiler can only warn and ignore the option if not recognized
10612     # So say no if there are warnings
10613     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10614     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10615     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10616       lt_cv_prog_compiler_c_o=yes
10617     fi
10618   fi
10619   chmod u+w . 2>&5
10620   $RM conftest*
10621   # SGI C++ compiler will create directory out/ii_files/ for
10622   # template instantiation
10623   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10624   $RM out/* && rmdir out
10625   cd ..
10626   $RM -r conftest
10627   $RM conftest*
10628
10629fi
10630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10631$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10632
10633
10634
10635
10636
10637
10638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10639$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10640if ${lt_cv_prog_compiler_c_o+:} false; then :
10641  $as_echo_n "(cached) " >&6
10642else
10643  lt_cv_prog_compiler_c_o=no
10644   $RM -r conftest 2>/dev/null
10645   mkdir conftest
10646   cd conftest
10647   mkdir out
10648   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10649
10650   lt_compiler_flag="-o out/conftest2.$ac_objext"
10651   # Insert the option either (1) after the last *FLAGS variable, or
10652   # (2) before a word containing "conftest.", or (3) at the end.
10653   # Note that $ac_compile itself does not contain backslashes and begins
10654   # with a dollar sign (not a hyphen), so the echo should work correctly.
10655   lt_compile=`echo "$ac_compile" | $SED \
10656   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10657   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10658   -e 's:$: $lt_compiler_flag:'`
10659   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10660   (eval "$lt_compile" 2>out/conftest.err)
10661   ac_status=$?
10662   cat out/conftest.err >&5
10663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10665   then
10666     # The compiler can only warn and ignore the option if not recognized
10667     # So say no if there are warnings
10668     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10669     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10670     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10671       lt_cv_prog_compiler_c_o=yes
10672     fi
10673   fi
10674   chmod u+w . 2>&5
10675   $RM conftest*
10676   # SGI C++ compiler will create directory out/ii_files/ for
10677   # template instantiation
10678   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10679   $RM out/* && rmdir out
10680   cd ..
10681   $RM -r conftest
10682   $RM conftest*
10683
10684fi
10685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10686$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10687
10688
10689
10690
10691hard_links=nottested
10692if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10693  # do not overwrite the value of need_locks provided by the user
10694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10695$as_echo_n "checking if we can lock with hard links... " >&6; }
10696  hard_links=yes
10697  $RM conftest*
10698  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10699  touch conftest.a
10700  ln conftest.a conftest.b 2>&5 || hard_links=no
10701  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10703$as_echo "$hard_links" >&6; }
10704  if test no = "$hard_links"; then
10705    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10706$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10707    need_locks=warn
10708  fi
10709else
10710  need_locks=no
10711fi
10712
10713
10714
10715
10716
10717
10718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10719$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10720
10721  runpath_var=
10722  allow_undefined_flag=
10723  always_export_symbols=no
10724  archive_cmds=
10725  archive_expsym_cmds=
10726  compiler_needs_object=no
10727  enable_shared_with_static_runtimes=no
10728  export_dynamic_flag_spec=
10729  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10730  hardcode_automatic=no
10731  hardcode_direct=no
10732  hardcode_direct_absolute=no
10733  hardcode_libdir_flag_spec=
10734  hardcode_libdir_separator=
10735  hardcode_minus_L=no
10736  hardcode_shlibpath_var=unsupported
10737  inherit_rpath=no
10738  link_all_deplibs=unknown
10739  module_cmds=
10740  module_expsym_cmds=
10741  old_archive_from_new_cmds=
10742  old_archive_from_expsyms_cmds=
10743  thread_safe_flag_spec=
10744  whole_archive_flag_spec=
10745  # include_expsyms should be a list of space-separated symbols to be *always*
10746  # included in the symbol list
10747  include_expsyms=
10748  # exclude_expsyms can be an extended regexp of symbols to exclude
10749  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10750  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10751  # as well as any symbol that contains 'd'.
10752  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10753  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10754  # platforms (ab)use it in PIC code, but their linkers get confused if
10755  # the symbol is explicitly referenced.  Since portable code cannot
10756  # rely on this symbol name, it's probably fine to never include it in
10757  # preloaded symbol tables.
10758  # Exclude shared library initialization/finalization symbols.
10759  extract_expsyms_cmds=
10760
10761  case $host_os in
10762  cygwin* | mingw* | pw32* | cegcc*)
10763    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10764    # When not using gcc, we currently assume that we are using
10765    # Microsoft Visual C++.
10766    if test yes != "$GCC"; then
10767      with_gnu_ld=no
10768    fi
10769    ;;
10770  interix*)
10771    # we just hope/assume this is gcc and not c89 (= MSVC++)
10772    with_gnu_ld=yes
10773    ;;
10774  openbsd* | bitrig*)
10775    with_gnu_ld=no
10776    ;;
10777  linux* | k*bsd*-gnu | gnu*)
10778    link_all_deplibs=no
10779    ;;
10780  esac
10781
10782  ld_shlibs=yes
10783
10784  # On some targets, GNU ld is compatible enough with the native linker
10785  # that we're better off using the native interface for both.
10786  lt_use_gnu_ld_interface=no
10787  if test yes = "$with_gnu_ld"; then
10788    case $host_os in
10789      aix*)
10790	# The AIX port of GNU ld has always aspired to compatibility
10791	# with the native linker.  However, as the warning in the GNU ld
10792	# block says, versions before 2.19.5* couldn't really create working
10793	# shared libraries, regardless of the interface used.
10794	case `$LD -v 2>&1` in
10795	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10796	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10797	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10798	  *)
10799	    lt_use_gnu_ld_interface=yes
10800	    ;;
10801	esac
10802	;;
10803      *)
10804	lt_use_gnu_ld_interface=yes
10805	;;
10806    esac
10807  fi
10808
10809  if test yes = "$lt_use_gnu_ld_interface"; then
10810    # If archive_cmds runs LD, not CC, wlarc should be empty
10811    wlarc='$wl'
10812
10813    # Set some defaults for GNU ld with shared library support. These
10814    # are reset later if shared libraries are not supported. Putting them
10815    # here allows them to be overridden if necessary.
10816    runpath_var=LD_RUN_PATH
10817    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10818    export_dynamic_flag_spec='$wl--export-dynamic'
10819    # ancient GNU ld didn't support --whole-archive et. al.
10820    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10821      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10822    else
10823      whole_archive_flag_spec=
10824    fi
10825    supports_anon_versioning=no
10826    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10827      *GNU\ gold*) supports_anon_versioning=yes ;;
10828      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10829      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10830      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10831      *\ 2.11.*) ;; # other 2.11 versions
10832      *) supports_anon_versioning=yes ;;
10833    esac
10834
10835    # See if GNU ld supports shared libraries.
10836    case $host_os in
10837    aix[3-9]*)
10838      # On AIX/PPC, the GNU linker is very broken
10839      if test ia64 != "$host_cpu"; then
10840	ld_shlibs=no
10841	cat <<_LT_EOF 1>&2
10842
10843*** Warning: the GNU linker, at least up to release 2.19, is reported
10844*** to be unable to reliably create shared libraries on AIX.
10845*** Therefore, libtool is disabling shared libraries support.  If you
10846*** really care for shared libraries, you may want to install binutils
10847*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10848*** You will then need to restart the configuration process.
10849
10850_LT_EOF
10851      fi
10852      ;;
10853
10854    amigaos*)
10855      case $host_cpu in
10856      powerpc)
10857            # see comment about AmigaOS4 .so support
10858            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10859            archive_expsym_cmds=''
10860        ;;
10861      m68k)
10862            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)'
10863            hardcode_libdir_flag_spec='-L$libdir'
10864            hardcode_minus_L=yes
10865        ;;
10866      esac
10867      ;;
10868
10869    beos*)
10870      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10871	allow_undefined_flag=unsupported
10872	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10873	# support --undefined.  This deserves some investigation.  FIXME
10874	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10875      else
10876	ld_shlibs=no
10877      fi
10878      ;;
10879
10880    cygwin* | mingw* | pw32* | cegcc*)
10881      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10882      # as there is no search path for DLLs.
10883      hardcode_libdir_flag_spec='-L$libdir'
10884      export_dynamic_flag_spec='$wl--export-all-symbols'
10885      allow_undefined_flag=unsupported
10886      always_export_symbols=no
10887      enable_shared_with_static_runtimes=yes
10888      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'
10889      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10890
10891      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10892        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10893	# If the export-symbols file already is a .def file, use it as
10894	# is; otherwise, prepend EXPORTS...
10895	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10896          cp $export_symbols $output_objdir/$soname.def;
10897        else
10898          echo EXPORTS > $output_objdir/$soname.def;
10899          cat $export_symbols >> $output_objdir/$soname.def;
10900        fi~
10901        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10902      else
10903	ld_shlibs=no
10904      fi
10905      ;;
10906
10907    haiku*)
10908      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10909      link_all_deplibs=yes
10910      ;;
10911
10912    os2*)
10913      hardcode_libdir_flag_spec='-L$libdir'
10914      hardcode_minus_L=yes
10915      allow_undefined_flag=unsupported
10916      shrext_cmds=.dll
10917      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10918	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10919	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10920	$ECHO EXPORTS >> $output_objdir/$libname.def~
10921	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10922	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10923	emximp -o $lib $output_objdir/$libname.def'
10924      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10925	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10926	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10927	$ECHO EXPORTS >> $output_objdir/$libname.def~
10928	prefix_cmds="$SED"~
10929	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10930	  prefix_cmds="$prefix_cmds -e 1d";
10931	fi~
10932	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10933	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10934	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10935	emximp -o $lib $output_objdir/$libname.def'
10936      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10937      enable_shared_with_static_runtimes=yes
10938      ;;
10939
10940    interix[3-9]*)
10941      hardcode_direct=no
10942      hardcode_shlibpath_var=no
10943      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10944      export_dynamic_flag_spec='$wl-E'
10945      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10946      # Instead, shared libraries are loaded at an image base (0x10000000 by
10947      # default) and relocated if they conflict, which is a slow very memory
10948      # consuming and fragmenting process.  To avoid this, we pick a random,
10949      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10950      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10951      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10952      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'
10953      ;;
10954
10955    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10956      tmp_diet=no
10957      if test linux-dietlibc = "$host_os"; then
10958	case $cc_basename in
10959	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10960	esac
10961      fi
10962      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10963	 && test no = "$tmp_diet"
10964      then
10965	tmp_addflag=' $pic_flag'
10966	tmp_sharedflag='-shared'
10967	case $cc_basename,$host_cpu in
10968        pgcc*)				# Portland Group C compiler
10969	  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'
10970	  tmp_addflag=' $pic_flag'
10971	  ;;
10972	pgf77* | pgf90* | pgf95* | pgfortran*)
10973					# Portland Group f77 and f90 compilers
10974	  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'
10975	  tmp_addflag=' $pic_flag -Mnomain' ;;
10976	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10977	  tmp_addflag=' -i_dynamic' ;;
10978	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10979	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10980	ifc* | ifort*)			# Intel Fortran compiler
10981	  tmp_addflag=' -nofor_main' ;;
10982	lf95*)				# Lahey Fortran 8.1
10983	  whole_archive_flag_spec=
10984	  tmp_sharedflag='--shared' ;;
10985        nagfor*)                        # NAGFOR 5.3
10986          tmp_sharedflag='-Wl,-shared' ;;
10987	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10988	  tmp_sharedflag='-qmkshrobj'
10989	  tmp_addflag= ;;
10990	nvcc*)	# Cuda Compiler Driver 2.2
10991	  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'
10992	  compiler_needs_object=yes
10993	  ;;
10994	esac
10995	case `$CC -V 2>&1 | sed 5q` in
10996	*Sun\ C*)			# Sun C 5.9
10997	  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'
10998	  compiler_needs_object=yes
10999	  tmp_sharedflag='-G' ;;
11000	*Sun\ F*)			# Sun Fortran 8.3
11001	  tmp_sharedflag='-G' ;;
11002	esac
11003	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11004
11005        if test yes = "$supports_anon_versioning"; then
11006          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11007            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11008            echo "local: *; };" >> $output_objdir/$libname.ver~
11009            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11010        fi
11011
11012	case $cc_basename in
11013	tcc*)
11014	  export_dynamic_flag_spec='-rdynamic'
11015	  ;;
11016	xlf* | bgf* | bgxlf* | mpixlf*)
11017	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11018	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11019	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11020	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11021	  if test yes = "$supports_anon_versioning"; then
11022	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11023              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11024              echo "local: *; };" >> $output_objdir/$libname.ver~
11025              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11026	  fi
11027	  ;;
11028	esac
11029      else
11030        ld_shlibs=no
11031      fi
11032      ;;
11033
11034    netbsd* | netbsdelf*-gnu)
11035      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11036	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11037	wlarc=
11038      else
11039	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11040	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11041      fi
11042      ;;
11043
11044    solaris*)
11045      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11046	ld_shlibs=no
11047	cat <<_LT_EOF 1>&2
11048
11049*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11050*** create shared libraries on Solaris systems.  Therefore, libtool
11051*** is disabling shared libraries support.  We urge you to upgrade GNU
11052*** binutils to release 2.9.1 or newer.  Another option is to modify
11053*** your PATH or compiler configuration so that the native linker is
11054*** used, and then restart.
11055
11056_LT_EOF
11057      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11058	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11059	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11060      else
11061	ld_shlibs=no
11062      fi
11063      ;;
11064
11065    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11066      case `$LD -v 2>&1` in
11067        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11068	ld_shlibs=no
11069	cat <<_LT_EOF 1>&2
11070
11071*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11072*** reliably create shared libraries on SCO systems.  Therefore, libtool
11073*** is disabling shared libraries support.  We urge you to upgrade GNU
11074*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11075*** your PATH or compiler configuration so that the native linker is
11076*** used, and then restart.
11077
11078_LT_EOF
11079	;;
11080	*)
11081	  # For security reasons, it is highly recommended that you always
11082	  # use absolute paths for naming shared libraries, and exclude the
11083	  # DT_RUNPATH tag from executables and libraries.  But doing so
11084	  # requires that you compile everything twice, which is a pain.
11085	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11086	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11087	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11088	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11089	  else
11090	    ld_shlibs=no
11091	  fi
11092	;;
11093      esac
11094      ;;
11095
11096    sunos4*)
11097      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11098      wlarc=
11099      hardcode_direct=yes
11100      hardcode_shlibpath_var=no
11101      ;;
11102
11103    *)
11104      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11105	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11106	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11107      else
11108	ld_shlibs=no
11109      fi
11110      ;;
11111    esac
11112
11113    if test no = "$ld_shlibs"; then
11114      runpath_var=
11115      hardcode_libdir_flag_spec=
11116      export_dynamic_flag_spec=
11117      whole_archive_flag_spec=
11118    fi
11119  else
11120    # PORTME fill in a description of your system's linker (not GNU ld)
11121    case $host_os in
11122    aix3*)
11123      allow_undefined_flag=unsupported
11124      always_export_symbols=yes
11125      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'
11126      # Note: this linker hardcodes the directories in LIBPATH if there
11127      # are no directories specified by -L.
11128      hardcode_minus_L=yes
11129      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11130	# Neither direct hardcoding nor static linking is supported with a
11131	# broken collect2.
11132	hardcode_direct=unsupported
11133      fi
11134      ;;
11135
11136    aix[4-9]*)
11137      if test ia64 = "$host_cpu"; then
11138	# On IA64, the linker does run time linking by default, so we don't
11139	# have to do anything special.
11140	aix_use_runtimelinking=no
11141	exp_sym_flag='-Bexport'
11142	no_entry_flag=
11143      else
11144	# If we're using GNU nm, then we don't want the "-C" option.
11145	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11146	# Without the "-l" option, or with the "-B" option, AIX nm treats
11147	# weak defined symbols like other global defined symbols, whereas
11148	# GNU nm marks them as "W".
11149	# While the 'weak' keyword is ignored in the Export File, we need
11150	# it in the Import File for the 'aix-soname' feature, so we have
11151	# to replace the "-B" option with "-P" for AIX nm.
11152	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11153	  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'
11154	else
11155	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11156	fi
11157	aix_use_runtimelinking=no
11158
11159	# Test if we are trying to use run time linking or normal
11160	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11161	# have runtime linking enabled, and use it for executables.
11162	# For shared libraries, we enable/disable runtime linking
11163	# depending on the kind of the shared library created -
11164	# when "with_aix_soname,aix_use_runtimelinking" is:
11165	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11166	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11167	#            lib.a           static archive
11168	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11169	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11170	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11171	#            lib.a(lib.so.V) shared, rtl:no
11172	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11173	#            lib.a           static archive
11174	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11175	  for ld_flag in $LDFLAGS; do
11176	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11177	    aix_use_runtimelinking=yes
11178	    break
11179	  fi
11180	  done
11181	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11182	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11183	    # so we don't have lib.a shared libs to link our executables.
11184	    # We have to force runtime linking in this case.
11185	    aix_use_runtimelinking=yes
11186	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11187	  fi
11188	  ;;
11189	esac
11190
11191	exp_sym_flag='-bexport'
11192	no_entry_flag='-bnoentry'
11193      fi
11194
11195      # When large executables or shared objects are built, AIX ld can
11196      # have problems creating the table of contents.  If linking a library
11197      # or program results in "error TOC overflow" add -mminimal-toc to
11198      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11199      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11200
11201      archive_cmds=''
11202      hardcode_direct=yes
11203      hardcode_direct_absolute=yes
11204      hardcode_libdir_separator=':'
11205      link_all_deplibs=yes
11206      file_list_spec='$wl-f,'
11207      case $with_aix_soname,$aix_use_runtimelinking in
11208      aix,*) ;; # traditional, no import file
11209      svr4,* | *,yes) # use import file
11210	# The Import File defines what to hardcode.
11211	hardcode_direct=no
11212	hardcode_direct_absolute=no
11213	;;
11214      esac
11215
11216      if test yes = "$GCC"; then
11217	case $host_os in aix4.[012]|aix4.[012].*)
11218	# We only want to do this on AIX 4.2 and lower, the check
11219	# below for broken collect2 doesn't work under 4.3+
11220	  collect2name=`$CC -print-prog-name=collect2`
11221	  if test -f "$collect2name" &&
11222	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11223	  then
11224	  # We have reworked collect2
11225	  :
11226	  else
11227	  # We have old collect2
11228	  hardcode_direct=unsupported
11229	  # It fails to find uninstalled libraries when the uninstalled
11230	  # path is not listed in the libpath.  Setting hardcode_minus_L
11231	  # to unsupported forces relinking
11232	  hardcode_minus_L=yes
11233	  hardcode_libdir_flag_spec='-L$libdir'
11234	  hardcode_libdir_separator=
11235	  fi
11236	  ;;
11237	esac
11238	shared_flag='-shared'
11239	if test yes = "$aix_use_runtimelinking"; then
11240	  shared_flag="$shared_flag "'$wl-G'
11241	fi
11242	# Need to ensure runtime linking is disabled for the traditional
11243	# shared library, or the linker may eventually find shared libraries
11244	# /with/ Import File - we do not want to mix them.
11245	shared_flag_aix='-shared'
11246	shared_flag_svr4='-shared $wl-G'
11247      else
11248	# not using gcc
11249	if test ia64 = "$host_cpu"; then
11250	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11251	# chokes on -Wl,-G. The following line is correct:
11252	  shared_flag='-G'
11253	else
11254	  if test yes = "$aix_use_runtimelinking"; then
11255	    shared_flag='$wl-G'
11256	  else
11257	    shared_flag='$wl-bM:SRE'
11258	  fi
11259	  shared_flag_aix='$wl-bM:SRE'
11260	  shared_flag_svr4='$wl-G'
11261	fi
11262      fi
11263
11264      export_dynamic_flag_spec='$wl-bexpall'
11265      # It seems that -bexpall does not export symbols beginning with
11266      # underscore (_), so it is better to generate a list of symbols to export.
11267      always_export_symbols=yes
11268      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11269	# Warning - without using the other runtime loading flags (-brtl),
11270	# -berok will link without error, but may produce a broken library.
11271	allow_undefined_flag='-berok'
11272        # Determine the default libpath from the value encoded in an
11273        # empty executable.
11274        if test set = "${lt_cv_aix_libpath+set}"; then
11275  aix_libpath=$lt_cv_aix_libpath
11276else
11277  if ${lt_cv_aix_libpath_+:} false; then :
11278  $as_echo_n "(cached) " >&6
11279else
11280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281/* end confdefs.h.  */
11282
11283int
11284main ()
11285{
11286
11287  ;
11288  return 0;
11289}
11290_ACEOF
11291if ac_fn_c_try_link "$LINENO"; then :
11292
11293  lt_aix_libpath_sed='
11294      /Import File Strings/,/^$/ {
11295	  /^0/ {
11296	      s/^0  *\([^ ]*\) *$/\1/
11297	      p
11298	  }
11299      }'
11300  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11301  # Check for a 64-bit object if we didn't find anything.
11302  if test -z "$lt_cv_aix_libpath_"; then
11303    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11304  fi
11305fi
11306rm -f core conftest.err conftest.$ac_objext \
11307    conftest$ac_exeext conftest.$ac_ext
11308  if test -z "$lt_cv_aix_libpath_"; then
11309    lt_cv_aix_libpath_=/usr/lib:/lib
11310  fi
11311
11312fi
11313
11314  aix_libpath=$lt_cv_aix_libpath_
11315fi
11316
11317        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11318        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
11319      else
11320	if test ia64 = "$host_cpu"; then
11321	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11322	  allow_undefined_flag="-z nodefs"
11323	  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"
11324	else
11325	 # Determine the default libpath from the value encoded in an
11326	 # empty executable.
11327	 if test set = "${lt_cv_aix_libpath+set}"; then
11328  aix_libpath=$lt_cv_aix_libpath
11329else
11330  if ${lt_cv_aix_libpath_+:} false; then :
11331  $as_echo_n "(cached) " >&6
11332else
11333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334/* end confdefs.h.  */
11335
11336int
11337main ()
11338{
11339
11340  ;
11341  return 0;
11342}
11343_ACEOF
11344if ac_fn_c_try_link "$LINENO"; then :
11345
11346  lt_aix_libpath_sed='
11347      /Import File Strings/,/^$/ {
11348	  /^0/ {
11349	      s/^0  *\([^ ]*\) *$/\1/
11350	      p
11351	  }
11352      }'
11353  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11354  # Check for a 64-bit object if we didn't find anything.
11355  if test -z "$lt_cv_aix_libpath_"; then
11356    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11357  fi
11358fi
11359rm -f core conftest.err conftest.$ac_objext \
11360    conftest$ac_exeext conftest.$ac_ext
11361  if test -z "$lt_cv_aix_libpath_"; then
11362    lt_cv_aix_libpath_=/usr/lib:/lib
11363  fi
11364
11365fi
11366
11367  aix_libpath=$lt_cv_aix_libpath_
11368fi
11369
11370	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11371	  # Warning - without using the other run time loading flags,
11372	  # -berok will link without error, but may produce a broken library.
11373	  no_undefined_flag=' $wl-bernotok'
11374	  allow_undefined_flag=' $wl-berok'
11375	  if test yes = "$with_gnu_ld"; then
11376	    # We only use this code for GNU lds that support --whole-archive.
11377	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11378	  else
11379	    # Exported symbols can be pulled into shared objects from archives
11380	    whole_archive_flag_spec='$convenience'
11381	  fi
11382	  archive_cmds_need_lc=yes
11383	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11384	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11385	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11386	  if test svr4 != "$with_aix_soname"; then
11387	    # This is similar to how AIX traditionally builds its shared libraries.
11388	    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'
11389	  fi
11390	  if test aix != "$with_aix_soname"; then
11391	    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'
11392	  else
11393	    # used by -dlpreopen to get the symbols
11394	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11395	  fi
11396	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11397	fi
11398      fi
11399      ;;
11400
11401    amigaos*)
11402      case $host_cpu in
11403      powerpc)
11404            # see comment about AmigaOS4 .so support
11405            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11406            archive_expsym_cmds=''
11407        ;;
11408      m68k)
11409            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)'
11410            hardcode_libdir_flag_spec='-L$libdir'
11411            hardcode_minus_L=yes
11412        ;;
11413      esac
11414      ;;
11415
11416    bsdi[45]*)
11417      export_dynamic_flag_spec=-rdynamic
11418      ;;
11419
11420    cygwin* | mingw* | pw32* | cegcc*)
11421      # When not using gcc, we currently assume that we are using
11422      # Microsoft Visual C++.
11423      # hardcode_libdir_flag_spec is actually meaningless, as there is
11424      # no search path for DLLs.
11425      case $cc_basename in
11426      cl*)
11427	# Native MSVC
11428	hardcode_libdir_flag_spec=' '
11429	allow_undefined_flag=unsupported
11430	always_export_symbols=yes
11431	file_list_spec='@'
11432	# Tell ltmain to make .lib files, not .a files.
11433	libext=lib
11434	# Tell ltmain to make .dll files, not .so files.
11435	shrext_cmds=.dll
11436	# FIXME: Setting linknames here is a bad hack.
11437	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11438	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11439            cp "$export_symbols" "$output_objdir/$soname.def";
11440            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11441          else
11442            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11443          fi~
11444          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11445          linknames='
11446	# The linker will not automatically build a static lib if we build a DLL.
11447	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11448	enable_shared_with_static_runtimes=yes
11449	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11450	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11451	# Don't use ranlib
11452	old_postinstall_cmds='chmod 644 $oldlib'
11453	postlink_cmds='lt_outputfile="@OUTPUT@"~
11454          lt_tool_outputfile="@TOOL_OUTPUT@"~
11455          case $lt_outputfile in
11456            *.exe|*.EXE) ;;
11457            *)
11458              lt_outputfile=$lt_outputfile.exe
11459              lt_tool_outputfile=$lt_tool_outputfile.exe
11460              ;;
11461          esac~
11462          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11463            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11464            $RM "$lt_outputfile.manifest";
11465          fi'
11466	;;
11467      *)
11468	# Assume MSVC wrapper
11469	hardcode_libdir_flag_spec=' '
11470	allow_undefined_flag=unsupported
11471	# Tell ltmain to make .lib files, not .a files.
11472	libext=lib
11473	# Tell ltmain to make .dll files, not .so files.
11474	shrext_cmds=.dll
11475	# FIXME: Setting linknames here is a bad hack.
11476	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11477	# The linker will automatically build a .lib file if we build a DLL.
11478	old_archive_from_new_cmds='true'
11479	# FIXME: Should let the user specify the lib program.
11480	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11481	enable_shared_with_static_runtimes=yes
11482	;;
11483      esac
11484      ;;
11485
11486    darwin* | rhapsody*)
11487
11488
11489  archive_cmds_need_lc=no
11490  hardcode_direct=no
11491  hardcode_automatic=yes
11492  hardcode_shlibpath_var=unsupported
11493  if test yes = "$lt_cv_ld_force_load"; then
11494    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\"`'
11495
11496  else
11497    whole_archive_flag_spec=''
11498  fi
11499  link_all_deplibs=yes
11500  allow_undefined_flag=$_lt_dar_allow_undefined
11501  case $cc_basename in
11502     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11503     *) _lt_dar_can_shared=$GCC ;;
11504  esac
11505  if test yes = "$_lt_dar_can_shared"; then
11506    output_verbose_link_cmd=func_echo_all
11507    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11508    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11509    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"
11510    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"
11511
11512  else
11513  ld_shlibs=no
11514  fi
11515
11516      ;;
11517
11518    dgux*)
11519      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11520      hardcode_libdir_flag_spec='-L$libdir'
11521      hardcode_shlibpath_var=no
11522      ;;
11523
11524    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11525    # support.  Future versions do this automatically, but an explicit c++rt0.o
11526    # does not break anything, and helps significantly (at the cost of a little
11527    # extra space).
11528    freebsd2.2*)
11529      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11530      hardcode_libdir_flag_spec='-R$libdir'
11531      hardcode_direct=yes
11532      hardcode_shlibpath_var=no
11533      ;;
11534
11535    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11536    freebsd2.*)
11537      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11538      hardcode_direct=yes
11539      hardcode_minus_L=yes
11540      hardcode_shlibpath_var=no
11541      ;;
11542
11543    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11544    freebsd* | dragonfly*)
11545      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11546      hardcode_libdir_flag_spec='-R$libdir'
11547      hardcode_direct=yes
11548      hardcode_shlibpath_var=no
11549      ;;
11550
11551    hpux9*)
11552      if test yes = "$GCC"; then
11553	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'
11554      else
11555	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'
11556      fi
11557      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11558      hardcode_libdir_separator=:
11559      hardcode_direct=yes
11560
11561      # hardcode_minus_L: Not really in the search PATH,
11562      # but as the default location of the library.
11563      hardcode_minus_L=yes
11564      export_dynamic_flag_spec='$wl-E'
11565      ;;
11566
11567    hpux10*)
11568      if test yes,no = "$GCC,$with_gnu_ld"; then
11569	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11570      else
11571	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11572      fi
11573      if test no = "$with_gnu_ld"; then
11574	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11575	hardcode_libdir_separator=:
11576	hardcode_direct=yes
11577	hardcode_direct_absolute=yes
11578	export_dynamic_flag_spec='$wl-E'
11579	# hardcode_minus_L: Not really in the search PATH,
11580	# but as the default location of the library.
11581	hardcode_minus_L=yes
11582      fi
11583      ;;
11584
11585    hpux11*)
11586      if test yes,no = "$GCC,$with_gnu_ld"; then
11587	case $host_cpu in
11588	hppa*64*)
11589	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11590	  ;;
11591	ia64*)
11592	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11593	  ;;
11594	*)
11595	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11596	  ;;
11597	esac
11598      else
11599	case $host_cpu in
11600	hppa*64*)
11601	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11602	  ;;
11603	ia64*)
11604	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11605	  ;;
11606	*)
11607
11608	  # Older versions of the 11.00 compiler do not understand -b yet
11609	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11610	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11611$as_echo_n "checking if $CC understands -b... " >&6; }
11612if ${lt_cv_prog_compiler__b+:} false; then :
11613  $as_echo_n "(cached) " >&6
11614else
11615  lt_cv_prog_compiler__b=no
11616   save_LDFLAGS=$LDFLAGS
11617   LDFLAGS="$LDFLAGS -b"
11618   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11619   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11620     # The linker can only warn and ignore the option if not recognized
11621     # So say no if there are warnings
11622     if test -s conftest.err; then
11623       # Append any errors to the config.log.
11624       cat conftest.err 1>&5
11625       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11626       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11627       if diff conftest.exp conftest.er2 >/dev/null; then
11628         lt_cv_prog_compiler__b=yes
11629       fi
11630     else
11631       lt_cv_prog_compiler__b=yes
11632     fi
11633   fi
11634   $RM -r conftest*
11635   LDFLAGS=$save_LDFLAGS
11636
11637fi
11638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11639$as_echo "$lt_cv_prog_compiler__b" >&6; }
11640
11641if test yes = "$lt_cv_prog_compiler__b"; then
11642    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11643else
11644    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11645fi
11646
11647	  ;;
11648	esac
11649      fi
11650      if test no = "$with_gnu_ld"; then
11651	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11652	hardcode_libdir_separator=:
11653
11654	case $host_cpu in
11655	hppa*64*|ia64*)
11656	  hardcode_direct=no
11657	  hardcode_shlibpath_var=no
11658	  ;;
11659	*)
11660	  hardcode_direct=yes
11661	  hardcode_direct_absolute=yes
11662	  export_dynamic_flag_spec='$wl-E'
11663
11664	  # hardcode_minus_L: Not really in the search PATH,
11665	  # but as the default location of the library.
11666	  hardcode_minus_L=yes
11667	  ;;
11668	esac
11669      fi
11670      ;;
11671
11672    irix5* | irix6* | nonstopux*)
11673      if test yes = "$GCC"; then
11674	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'
11675	# Try to use the -exported_symbol ld option, if it does not
11676	# work, assume that -exports_file does not work either and
11677	# implicitly export all symbols.
11678	# This should be the same for all languages, so no per-tag cache variable.
11679	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11680$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11681if ${lt_cv_irix_exported_symbol+:} false; then :
11682  $as_echo_n "(cached) " >&6
11683else
11684  save_LDFLAGS=$LDFLAGS
11685	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11686	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687/* end confdefs.h.  */
11688int foo (void) { return 0; }
11689_ACEOF
11690if ac_fn_c_try_link "$LINENO"; then :
11691  lt_cv_irix_exported_symbol=yes
11692else
11693  lt_cv_irix_exported_symbol=no
11694fi
11695rm -f core conftest.err conftest.$ac_objext \
11696    conftest$ac_exeext conftest.$ac_ext
11697           LDFLAGS=$save_LDFLAGS
11698fi
11699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11700$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11701	if test yes = "$lt_cv_irix_exported_symbol"; then
11702          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'
11703	fi
11704	link_all_deplibs=no
11705      else
11706	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'
11707	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'
11708      fi
11709      archive_cmds_need_lc='no'
11710      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11711      hardcode_libdir_separator=:
11712      inherit_rpath=yes
11713      link_all_deplibs=yes
11714      ;;
11715
11716    linux*)
11717      case $cc_basename in
11718      tcc*)
11719	# Fabrice Bellard et al's Tiny C Compiler
11720	ld_shlibs=yes
11721	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11722	;;
11723      esac
11724      ;;
11725
11726    netbsd* | netbsdelf*-gnu)
11727      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11728	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11729      else
11730	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11731      fi
11732      hardcode_libdir_flag_spec='-R$libdir'
11733      hardcode_direct=yes
11734      hardcode_shlibpath_var=no
11735      ;;
11736
11737    newsos6)
11738      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11739      hardcode_direct=yes
11740      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11741      hardcode_libdir_separator=:
11742      hardcode_shlibpath_var=no
11743      ;;
11744
11745    *nto* | *qnx*)
11746      ;;
11747
11748    openbsd* | bitrig*)
11749      if test -f /usr/libexec/ld.so; then
11750	hardcode_direct=yes
11751	hardcode_shlibpath_var=no
11752	hardcode_direct_absolute=yes
11753	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11754	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11755	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11756	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11757	  export_dynamic_flag_spec='$wl-E'
11758	else
11759	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11760	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11761	fi
11762      else
11763	ld_shlibs=no
11764      fi
11765      ;;
11766
11767    os2*)
11768      hardcode_libdir_flag_spec='-L$libdir'
11769      hardcode_minus_L=yes
11770      allow_undefined_flag=unsupported
11771      shrext_cmds=.dll
11772      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11773	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11774	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11775	$ECHO EXPORTS >> $output_objdir/$libname.def~
11776	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11777	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11778	emximp -o $lib $output_objdir/$libname.def'
11779      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11780	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11781	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11782	$ECHO EXPORTS >> $output_objdir/$libname.def~
11783	prefix_cmds="$SED"~
11784	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11785	  prefix_cmds="$prefix_cmds -e 1d";
11786	fi~
11787	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11788	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11789	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11790	emximp -o $lib $output_objdir/$libname.def'
11791      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11792      enable_shared_with_static_runtimes=yes
11793      ;;
11794
11795    osf3*)
11796      if test yes = "$GCC"; then
11797	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11798	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'
11799      else
11800	allow_undefined_flag=' -expect_unresolved \*'
11801	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'
11802      fi
11803      archive_cmds_need_lc='no'
11804      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11805      hardcode_libdir_separator=:
11806      ;;
11807
11808    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11809      if test yes = "$GCC"; then
11810	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11811	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'
11812	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11813      else
11814	allow_undefined_flag=' -expect_unresolved \*'
11815	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'
11816	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~
11817          $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'
11818
11819	# Both c and cxx compiler support -rpath directly
11820	hardcode_libdir_flag_spec='-rpath $libdir'
11821      fi
11822      archive_cmds_need_lc='no'
11823      hardcode_libdir_separator=:
11824      ;;
11825
11826    solaris*)
11827      no_undefined_flag=' -z defs'
11828      if test yes = "$GCC"; then
11829	wlarc='$wl'
11830	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11831	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11832          $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'
11833      else
11834	case `$CC -V 2>&1` in
11835	*"Compilers 5.0"*)
11836	  wlarc=''
11837	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11838	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11839            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11840	  ;;
11841	*)
11842	  wlarc='$wl'
11843	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11844	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11845            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11846	  ;;
11847	esac
11848      fi
11849      hardcode_libdir_flag_spec='-R$libdir'
11850      hardcode_shlibpath_var=no
11851      case $host_os in
11852      solaris2.[0-5] | solaris2.[0-5].*) ;;
11853      *)
11854	# The compiler driver will combine and reorder linker options,
11855	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11856	# but is careful enough not to reorder.
11857	# Supported since Solaris 2.6 (maybe 2.5.1?)
11858	if test yes = "$GCC"; then
11859	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11860	else
11861	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11862	fi
11863	;;
11864      esac
11865      link_all_deplibs=yes
11866      ;;
11867
11868    sunos4*)
11869      if test sequent = "$host_vendor"; then
11870	# Use $CC to link under sequent, because it throws in some extra .o
11871	# files that make .init and .fini sections work.
11872	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11873      else
11874	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11875      fi
11876      hardcode_libdir_flag_spec='-L$libdir'
11877      hardcode_direct=yes
11878      hardcode_minus_L=yes
11879      hardcode_shlibpath_var=no
11880      ;;
11881
11882    sysv4)
11883      case $host_vendor in
11884	sni)
11885	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11886	  hardcode_direct=yes # is this really true???
11887	;;
11888	siemens)
11889	  ## LD is ld it makes a PLAMLIB
11890	  ## CC just makes a GrossModule.
11891	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11892	  reload_cmds='$CC -r -o $output$reload_objs'
11893	  hardcode_direct=no
11894        ;;
11895	motorola)
11896	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11897	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11898	;;
11899      esac
11900      runpath_var='LD_RUN_PATH'
11901      hardcode_shlibpath_var=no
11902      ;;
11903
11904    sysv4.3*)
11905      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11906      hardcode_shlibpath_var=no
11907      export_dynamic_flag_spec='-Bexport'
11908      ;;
11909
11910    sysv4*MP*)
11911      if test -d /usr/nec; then
11912	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11913	hardcode_shlibpath_var=no
11914	runpath_var=LD_RUN_PATH
11915	hardcode_runpath_var=yes
11916	ld_shlibs=yes
11917      fi
11918      ;;
11919
11920    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11921      no_undefined_flag='$wl-z,text'
11922      archive_cmds_need_lc=no
11923      hardcode_shlibpath_var=no
11924      runpath_var='LD_RUN_PATH'
11925
11926      if test yes = "$GCC"; then
11927	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11928	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11929      else
11930	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11931	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11932      fi
11933      ;;
11934
11935    sysv5* | sco3.2v5* | sco5v6*)
11936      # Note: We CANNOT use -z defs as we might desire, because we do not
11937      # link with -lc, and that would cause any symbols used from libc to
11938      # always be unresolved, which means just about no library would
11939      # ever link correctly.  If we're not using GNU ld we use -z text
11940      # though, which does catch some bad symbols but isn't as heavy-handed
11941      # as -z defs.
11942      no_undefined_flag='$wl-z,text'
11943      allow_undefined_flag='$wl-z,nodefs'
11944      archive_cmds_need_lc=no
11945      hardcode_shlibpath_var=no
11946      hardcode_libdir_flag_spec='$wl-R,$libdir'
11947      hardcode_libdir_separator=':'
11948      link_all_deplibs=yes
11949      export_dynamic_flag_spec='$wl-Bexport'
11950      runpath_var='LD_RUN_PATH'
11951
11952      if test yes = "$GCC"; then
11953	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11954	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11955      else
11956	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11957	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11958      fi
11959      ;;
11960
11961    uts4*)
11962      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11963      hardcode_libdir_flag_spec='-L$libdir'
11964      hardcode_shlibpath_var=no
11965      ;;
11966
11967    *)
11968      ld_shlibs=no
11969      ;;
11970    esac
11971
11972    if test sni = "$host_vendor"; then
11973      case $host in
11974      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11975	export_dynamic_flag_spec='$wl-Blargedynsym'
11976	;;
11977      esac
11978    fi
11979  fi
11980
11981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11982$as_echo "$ld_shlibs" >&6; }
11983test no = "$ld_shlibs" && can_build_shared=no
11984
11985with_gnu_ld=$with_gnu_ld
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001#
12002# Do we need to explicitly link libc?
12003#
12004case "x$archive_cmds_need_lc" in
12005x|xyes)
12006  # Assume -lc should be added
12007  archive_cmds_need_lc=yes
12008
12009  if test yes,yes = "$GCC,$enable_shared"; then
12010    case $archive_cmds in
12011    *'~'*)
12012      # FIXME: we may have to deal with multi-command sequences.
12013      ;;
12014    '$CC '*)
12015      # Test whether the compiler implicitly links with -lc since on some
12016      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12017      # to ld, don't add -lc before -lgcc.
12018      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12019$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12020if ${lt_cv_archive_cmds_need_lc+:} false; then :
12021  $as_echo_n "(cached) " >&6
12022else
12023  $RM conftest*
12024	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12025
12026	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12027  (eval $ac_compile) 2>&5
12028  ac_status=$?
12029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12030  test $ac_status = 0; } 2>conftest.err; then
12031	  soname=conftest
12032	  lib=conftest
12033	  libobjs=conftest.$ac_objext
12034	  deplibs=
12035	  wl=$lt_prog_compiler_wl
12036	  pic_flag=$lt_prog_compiler_pic
12037	  compiler_flags=-v
12038	  linker_flags=-v
12039	  verstring=
12040	  output_objdir=.
12041	  libname=conftest
12042	  lt_save_allow_undefined_flag=$allow_undefined_flag
12043	  allow_undefined_flag=
12044	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12045  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12046  ac_status=$?
12047  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12048  test $ac_status = 0; }
12049	  then
12050	    lt_cv_archive_cmds_need_lc=no
12051	  else
12052	    lt_cv_archive_cmds_need_lc=yes
12053	  fi
12054	  allow_undefined_flag=$lt_save_allow_undefined_flag
12055	else
12056	  cat conftest.err 1>&5
12057	fi
12058	$RM conftest*
12059
12060fi
12061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12062$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12063      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12064      ;;
12065    esac
12066  fi
12067  ;;
12068esac
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12222$as_echo_n "checking dynamic linker characteristics... " >&6; }
12223
12224if test yes = "$GCC"; then
12225  case $host_os in
12226    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12227    *) lt_awk_arg='/^libraries:/' ;;
12228  esac
12229  case $host_os in
12230    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12231    *) lt_sed_strip_eq='s|=/|/|g' ;;
12232  esac
12233  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12234  case $lt_search_path_spec in
12235  *\;*)
12236    # if the path contains ";" then we assume it to be the separator
12237    # otherwise default to the standard path separator (i.e. ":") - it is
12238    # assumed that no part of a normal pathname contains ";" but that should
12239    # okay in the real world where ";" in dirpaths is itself problematic.
12240    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12241    ;;
12242  *)
12243    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12244    ;;
12245  esac
12246  # Ok, now we have the path, separated by spaces, we can step through it
12247  # and add multilib dir if necessary...
12248  lt_tmp_lt_search_path_spec=
12249  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12250  # ...but if some path component already ends with the multilib dir we assume
12251  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12252  case "$lt_multi_os_dir; $lt_search_path_spec " in
12253  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12254    lt_multi_os_dir=
12255    ;;
12256  esac
12257  for lt_sys_path in $lt_search_path_spec; do
12258    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12259      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12260    elif test -n "$lt_multi_os_dir"; then
12261      test -d "$lt_sys_path" && \
12262	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12263    fi
12264  done
12265  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12266BEGIN {RS = " "; FS = "/|\n";} {
12267  lt_foo = "";
12268  lt_count = 0;
12269  for (lt_i = NF; lt_i > 0; lt_i--) {
12270    if ($lt_i != "" && $lt_i != ".") {
12271      if ($lt_i == "..") {
12272        lt_count++;
12273      } else {
12274        if (lt_count == 0) {
12275          lt_foo = "/" $lt_i lt_foo;
12276        } else {
12277          lt_count--;
12278        }
12279      }
12280    }
12281  }
12282  if (lt_foo != "") { lt_freq[lt_foo]++; }
12283  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12284}'`
12285  # AWK program above erroneously prepends '/' to C:/dos/paths
12286  # for these hosts.
12287  case $host_os in
12288    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12289      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12290  esac
12291  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12292else
12293  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12294fi
12295library_names_spec=
12296libname_spec='lib$name'
12297soname_spec=
12298shrext_cmds=.so
12299postinstall_cmds=
12300postuninstall_cmds=
12301finish_cmds=
12302finish_eval=
12303shlibpath_var=
12304shlibpath_overrides_runpath=unknown
12305version_type=none
12306dynamic_linker="$host_os ld.so"
12307sys_lib_dlsearch_path_spec="/lib /usr/lib"
12308need_lib_prefix=unknown
12309hardcode_into_libs=no
12310
12311# when you set need_version to no, make sure it does not cause -set_version
12312# flags to be left without arguments
12313need_version=unknown
12314
12315
12316
12317case $host_os in
12318aix3*)
12319  version_type=linux # correct to gnu/linux during the next big refactor
12320  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12321  shlibpath_var=LIBPATH
12322
12323  # AIX 3 has no versioning support, so we append a major version to the name.
12324  soname_spec='$libname$release$shared_ext$major'
12325  ;;
12326
12327aix[4-9]*)
12328  version_type=linux # correct to gnu/linux during the next big refactor
12329  need_lib_prefix=no
12330  need_version=no
12331  hardcode_into_libs=yes
12332  if test ia64 = "$host_cpu"; then
12333    # AIX 5 supports IA64
12334    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12335    shlibpath_var=LD_LIBRARY_PATH
12336  else
12337    # With GCC up to 2.95.x, collect2 would create an import file
12338    # for dependence libraries.  The import file would start with
12339    # the line '#! .'.  This would cause the generated library to
12340    # depend on '.', always an invalid library.  This was fixed in
12341    # development snapshots of GCC prior to 3.0.
12342    case $host_os in
12343      aix4 | aix4.[01] | aix4.[01].*)
12344      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12345	   echo ' yes '
12346	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12347	:
12348      else
12349	can_build_shared=no
12350      fi
12351      ;;
12352    esac
12353    # Using Import Files as archive members, it is possible to support
12354    # filename-based versioning of shared library archives on AIX. While
12355    # this would work for both with and without runtime linking, it will
12356    # prevent static linking of such archives. So we do filename-based
12357    # shared library versioning with .so extension only, which is used
12358    # when both runtime linking and shared linking is enabled.
12359    # Unfortunately, runtime linking may impact performance, so we do
12360    # not want this to be the default eventually. Also, we use the
12361    # versioned .so libs for executables only if there is the -brtl
12362    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12363    # To allow for filename-based versioning support, we need to create
12364    # libNAME.so.V as an archive file, containing:
12365    # *) an Import File, referring to the versioned filename of the
12366    #    archive as well as the shared archive member, telling the
12367    #    bitwidth (32 or 64) of that shared object, and providing the
12368    #    list of exported symbols of that shared object, eventually
12369    #    decorated with the 'weak' keyword
12370    # *) the shared object with the F_LOADONLY flag set, to really avoid
12371    #    it being seen by the linker.
12372    # At run time we better use the real file rather than another symlink,
12373    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12374
12375    case $with_aix_soname,$aix_use_runtimelinking in
12376    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12377    # soname into executable. Probably we can add versioning support to
12378    # collect2, so additional links can be useful in future.
12379    aix,yes) # traditional libtool
12380      dynamic_linker='AIX unversionable lib.so'
12381      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12382      # instead of lib<name>.a to let people know that these are not
12383      # typical AIX shared libraries.
12384      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12385      ;;
12386    aix,no) # traditional AIX only
12387      dynamic_linker='AIX lib.a(lib.so.V)'
12388      # We preserve .a as extension for shared libraries through AIX4.2
12389      # and later when we are not doing run time linking.
12390      library_names_spec='$libname$release.a $libname.a'
12391      soname_spec='$libname$release$shared_ext$major'
12392      ;;
12393    svr4,*) # full svr4 only
12394      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12395      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12396      # We do not specify a path in Import Files, so LIBPATH fires.
12397      shlibpath_overrides_runpath=yes
12398      ;;
12399    *,yes) # both, prefer svr4
12400      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12401      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12402      # unpreferred sharedlib libNAME.a needs extra handling
12403      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"'
12404      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"'
12405      # We do not specify a path in Import Files, so LIBPATH fires.
12406      shlibpath_overrides_runpath=yes
12407      ;;
12408    *,no) # both, prefer aix
12409      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12410      library_names_spec='$libname$release.a $libname.a'
12411      soname_spec='$libname$release$shared_ext$major'
12412      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12413      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)'
12414      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"'
12415      ;;
12416    esac
12417    shlibpath_var=LIBPATH
12418  fi
12419  ;;
12420
12421amigaos*)
12422  case $host_cpu in
12423  powerpc)
12424    # Since July 2007 AmigaOS4 officially supports .so libraries.
12425    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12426    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12427    ;;
12428  m68k)
12429    library_names_spec='$libname.ixlibrary $libname.a'
12430    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12431    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'
12432    ;;
12433  esac
12434  ;;
12435
12436beos*)
12437  library_names_spec='$libname$shared_ext'
12438  dynamic_linker="$host_os ld.so"
12439  shlibpath_var=LIBRARY_PATH
12440  ;;
12441
12442bsdi[45]*)
12443  version_type=linux # correct to gnu/linux during the next big refactor
12444  need_version=no
12445  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12446  soname_spec='$libname$release$shared_ext$major'
12447  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12448  shlibpath_var=LD_LIBRARY_PATH
12449  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12450  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12451  # the default ld.so.conf also contains /usr/contrib/lib and
12452  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12453  # libtool to hard-code these into programs
12454  ;;
12455
12456cygwin* | mingw* | pw32* | cegcc*)
12457  version_type=windows
12458  shrext_cmds=.dll
12459  need_version=no
12460  need_lib_prefix=no
12461
12462  case $GCC,$cc_basename in
12463  yes,*)
12464    # gcc
12465    library_names_spec='$libname.dll.a'
12466    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12467    postinstall_cmds='base_file=`basename \$file`~
12468      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12469      dldir=$destdir/`dirname \$dlpath`~
12470      test -d \$dldir || mkdir -p \$dldir~
12471      $install_prog $dir/$dlname \$dldir/$dlname~
12472      chmod a+x \$dldir/$dlname~
12473      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12474        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12475      fi'
12476    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12477      dlpath=$dir/\$dldll~
12478       $RM \$dlpath'
12479    shlibpath_overrides_runpath=yes
12480
12481    case $host_os in
12482    cygwin*)
12483      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12484      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12485
12486      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12487      ;;
12488    mingw* | cegcc*)
12489      # MinGW DLLs use traditional 'lib' prefix
12490      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12491      ;;
12492    pw32*)
12493      # pw32 DLLs use 'pw' prefix rather than 'lib'
12494      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12495      ;;
12496    esac
12497    dynamic_linker='Win32 ld.exe'
12498    ;;
12499
12500  *,cl*)
12501    # Native MSVC
12502    libname_spec='$name'
12503    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12504    library_names_spec='$libname.dll.lib'
12505
12506    case $build_os in
12507    mingw*)
12508      sys_lib_search_path_spec=
12509      lt_save_ifs=$IFS
12510      IFS=';'
12511      for lt_path in $LIB
12512      do
12513        IFS=$lt_save_ifs
12514        # Let DOS variable expansion print the short 8.3 style file name.
12515        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12516        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12517      done
12518      IFS=$lt_save_ifs
12519      # Convert to MSYS style.
12520      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12521      ;;
12522    cygwin*)
12523      # Convert to unix form, then to dos form, then back to unix form
12524      # but this time dos style (no spaces!) so that the unix form looks
12525      # like /cygdrive/c/PROGRA~1:/cygdr...
12526      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12527      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12528      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12529      ;;
12530    *)
12531      sys_lib_search_path_spec=$LIB
12532      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12533        # It is most probably a Windows format PATH.
12534        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12535      else
12536        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12537      fi
12538      # FIXME: find the short name or the path components, as spaces are
12539      # common. (e.g. "Program Files" -> "PROGRA~1")
12540      ;;
12541    esac
12542
12543    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12544    postinstall_cmds='base_file=`basename \$file`~
12545      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12546      dldir=$destdir/`dirname \$dlpath`~
12547      test -d \$dldir || mkdir -p \$dldir~
12548      $install_prog $dir/$dlname \$dldir/$dlname'
12549    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12550      dlpath=$dir/\$dldll~
12551       $RM \$dlpath'
12552    shlibpath_overrides_runpath=yes
12553    dynamic_linker='Win32 link.exe'
12554    ;;
12555
12556  *)
12557    # Assume MSVC wrapper
12558    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12559    dynamic_linker='Win32 ld.exe'
12560    ;;
12561  esac
12562  # FIXME: first we should search . and the directory the executable is in
12563  shlibpath_var=PATH
12564  ;;
12565
12566darwin* | rhapsody*)
12567  dynamic_linker="$host_os dyld"
12568  version_type=darwin
12569  need_lib_prefix=no
12570  need_version=no
12571  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12572  soname_spec='$libname$release$major$shared_ext'
12573  shlibpath_overrides_runpath=yes
12574  shlibpath_var=DYLD_LIBRARY_PATH
12575  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12576
12577  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12578  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12579  ;;
12580
12581dgux*)
12582  version_type=linux # correct to gnu/linux during the next big refactor
12583  need_lib_prefix=no
12584  need_version=no
12585  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12586  soname_spec='$libname$release$shared_ext$major'
12587  shlibpath_var=LD_LIBRARY_PATH
12588  ;;
12589
12590freebsd* | dragonfly*)
12591  # DragonFly does not have aout.  When/if they implement a new
12592  # versioning mechanism, adjust this.
12593  if test -x /usr/bin/objformat; then
12594    objformat=`/usr/bin/objformat`
12595  else
12596    case $host_os in
12597    freebsd[23].*) objformat=aout ;;
12598    *) objformat=elf ;;
12599    esac
12600  fi
12601  version_type=freebsd-$objformat
12602  case $version_type in
12603    freebsd-elf*)
12604      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12605      soname_spec='$libname$release$shared_ext$major'
12606      need_version=no
12607      need_lib_prefix=no
12608      ;;
12609    freebsd-*)
12610      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12611      need_version=yes
12612      ;;
12613  esac
12614  shlibpath_var=LD_LIBRARY_PATH
12615  case $host_os in
12616  freebsd2.*)
12617    shlibpath_overrides_runpath=yes
12618    ;;
12619  freebsd3.[01]* | freebsdelf3.[01]*)
12620    shlibpath_overrides_runpath=yes
12621    hardcode_into_libs=yes
12622    ;;
12623  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12624  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12625    shlibpath_overrides_runpath=no
12626    hardcode_into_libs=yes
12627    ;;
12628  *) # from 4.6 on, and DragonFly
12629    shlibpath_overrides_runpath=yes
12630    hardcode_into_libs=yes
12631    ;;
12632  esac
12633  ;;
12634
12635haiku*)
12636  version_type=linux # correct to gnu/linux during the next big refactor
12637  need_lib_prefix=no
12638  need_version=no
12639  dynamic_linker="$host_os runtime_loader"
12640  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12641  soname_spec='$libname$release$shared_ext$major'
12642  shlibpath_var=LIBRARY_PATH
12643  shlibpath_overrides_runpath=no
12644  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12645  hardcode_into_libs=yes
12646  ;;
12647
12648hpux9* | hpux10* | hpux11*)
12649  # Give a soname corresponding to the major version so that dld.sl refuses to
12650  # link against other versions.
12651  version_type=sunos
12652  need_lib_prefix=no
12653  need_version=no
12654  case $host_cpu in
12655  ia64*)
12656    shrext_cmds='.so'
12657    hardcode_into_libs=yes
12658    dynamic_linker="$host_os dld.so"
12659    shlibpath_var=LD_LIBRARY_PATH
12660    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12661    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12662    soname_spec='$libname$release$shared_ext$major'
12663    if test 32 = "$HPUX_IA64_MODE"; then
12664      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12665      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12666    else
12667      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12668      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12669    fi
12670    ;;
12671  hppa*64*)
12672    shrext_cmds='.sl'
12673    hardcode_into_libs=yes
12674    dynamic_linker="$host_os dld.sl"
12675    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12676    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12677    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12678    soname_spec='$libname$release$shared_ext$major'
12679    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12680    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12681    ;;
12682  *)
12683    shrext_cmds='.sl'
12684    dynamic_linker="$host_os dld.sl"
12685    shlibpath_var=SHLIB_PATH
12686    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12687    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12688    soname_spec='$libname$release$shared_ext$major'
12689    ;;
12690  esac
12691  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12692  postinstall_cmds='chmod 555 $lib'
12693  # or fails outright, so override atomically:
12694  install_override_mode=555
12695  ;;
12696
12697interix[3-9]*)
12698  version_type=linux # correct to gnu/linux during the next big refactor
12699  need_lib_prefix=no
12700  need_version=no
12701  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12702  soname_spec='$libname$release$shared_ext$major'
12703  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12704  shlibpath_var=LD_LIBRARY_PATH
12705  shlibpath_overrides_runpath=no
12706  hardcode_into_libs=yes
12707  ;;
12708
12709irix5* | irix6* | nonstopux*)
12710  case $host_os in
12711    nonstopux*) version_type=nonstopux ;;
12712    *)
12713	if test yes = "$lt_cv_prog_gnu_ld"; then
12714		version_type=linux # correct to gnu/linux during the next big refactor
12715	else
12716		version_type=irix
12717	fi ;;
12718  esac
12719  need_lib_prefix=no
12720  need_version=no
12721  soname_spec='$libname$release$shared_ext$major'
12722  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12723  case $host_os in
12724  irix5* | nonstopux*)
12725    libsuff= shlibsuff=
12726    ;;
12727  *)
12728    case $LD in # libtool.m4 will add one of these switches to LD
12729    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12730      libsuff= shlibsuff= libmagic=32-bit;;
12731    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12732      libsuff=32 shlibsuff=N32 libmagic=N32;;
12733    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12734      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12735    *) libsuff= shlibsuff= libmagic=never-match;;
12736    esac
12737    ;;
12738  esac
12739  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12740  shlibpath_overrides_runpath=no
12741  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12742  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12743  hardcode_into_libs=yes
12744  ;;
12745
12746# No shared lib support for Linux oldld, aout, or coff.
12747linux*oldld* | linux*aout* | linux*coff*)
12748  dynamic_linker=no
12749  ;;
12750
12751linux*android*)
12752  version_type=none # Android doesn't support versioned libraries.
12753  need_lib_prefix=no
12754  need_version=no
12755  library_names_spec='$libname$release$shared_ext'
12756  soname_spec='$libname$release$shared_ext'
12757  finish_cmds=
12758  shlibpath_var=LD_LIBRARY_PATH
12759  shlibpath_overrides_runpath=yes
12760
12761  # This implies no fast_install, which is unacceptable.
12762  # Some rework will be needed to allow for fast_install
12763  # before this can be enabled.
12764  hardcode_into_libs=yes
12765
12766  dynamic_linker='Android linker'
12767  # Don't embed -rpath directories since the linker doesn't support them.
12768  hardcode_libdir_flag_spec='-L$libdir'
12769  ;;
12770
12771# This must be glibc/ELF.
12772linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12773  version_type=linux # correct to gnu/linux during the next big refactor
12774  need_lib_prefix=no
12775  need_version=no
12776  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12777  soname_spec='$libname$release$shared_ext$major'
12778  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12779  shlibpath_var=LD_LIBRARY_PATH
12780  shlibpath_overrides_runpath=no
12781
12782  # Some binutils ld are patched to set DT_RUNPATH
12783  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12784  $as_echo_n "(cached) " >&6
12785else
12786  lt_cv_shlibpath_overrides_runpath=no
12787    save_LDFLAGS=$LDFLAGS
12788    save_libdir=$libdir
12789    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12790	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12791    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792/* end confdefs.h.  */
12793
12794int
12795main ()
12796{
12797
12798  ;
12799  return 0;
12800}
12801_ACEOF
12802if ac_fn_c_try_link "$LINENO"; then :
12803  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12804  lt_cv_shlibpath_overrides_runpath=yes
12805fi
12806fi
12807rm -f core conftest.err conftest.$ac_objext \
12808    conftest$ac_exeext conftest.$ac_ext
12809    LDFLAGS=$save_LDFLAGS
12810    libdir=$save_libdir
12811
12812fi
12813
12814  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12815
12816  # This implies no fast_install, which is unacceptable.
12817  # Some rework will be needed to allow for fast_install
12818  # before this can be enabled.
12819  hardcode_into_libs=yes
12820
12821  # Ideally, we could use ldconfig to report *all* directores which are
12822  # searched for libraries, however this is still not possible.  Aside from not
12823  # being certain /sbin/ldconfig is available, command
12824  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12825  # even though it is searched at run-time.  Try to do the best guess by
12826  # appending ld.so.conf contents (and includes) to the search path.
12827  if test -f /etc/ld.so.conf; then
12828    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' ' '`
12829    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12830  fi
12831
12832  # We used to test for /lib/ld.so.1 and disable shared libraries on
12833  # powerpc, because MkLinux only supported shared libraries with the
12834  # GNU dynamic linker.  Since this was broken with cross compilers,
12835  # most powerpc-linux boxes support dynamic linking these days and
12836  # people can always --disable-shared, the test was removed, and we
12837  # assume the GNU/Linux dynamic linker is in use.
12838  dynamic_linker='GNU/Linux ld.so'
12839  ;;
12840
12841netbsdelf*-gnu)
12842  version_type=linux
12843  need_lib_prefix=no
12844  need_version=no
12845  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12846  soname_spec='${libname}${release}${shared_ext}$major'
12847  shlibpath_var=LD_LIBRARY_PATH
12848  shlibpath_overrides_runpath=no
12849  hardcode_into_libs=yes
12850  dynamic_linker='NetBSD ld.elf_so'
12851  ;;
12852
12853netbsd*)
12854  version_type=sunos
12855  need_lib_prefix=no
12856  need_version=no
12857  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12858    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12859    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12860    dynamic_linker='NetBSD (a.out) ld.so'
12861  else
12862    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12863    soname_spec='$libname$release$shared_ext$major'
12864    dynamic_linker='NetBSD ld.elf_so'
12865  fi
12866  shlibpath_var=LD_LIBRARY_PATH
12867  shlibpath_overrides_runpath=yes
12868  hardcode_into_libs=yes
12869  ;;
12870
12871newsos6)
12872  version_type=linux # correct to gnu/linux during the next big refactor
12873  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12874  shlibpath_var=LD_LIBRARY_PATH
12875  shlibpath_overrides_runpath=yes
12876  ;;
12877
12878*nto* | *qnx*)
12879  version_type=qnx
12880  need_lib_prefix=no
12881  need_version=no
12882  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12883  soname_spec='$libname$release$shared_ext$major'
12884  shlibpath_var=LD_LIBRARY_PATH
12885  shlibpath_overrides_runpath=no
12886  hardcode_into_libs=yes
12887  dynamic_linker='ldqnx.so'
12888  ;;
12889
12890openbsd* | bitrig*)
12891  version_type=sunos
12892  sys_lib_dlsearch_path_spec=/usr/lib
12893  need_lib_prefix=no
12894  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12895    need_version=no
12896  else
12897    need_version=yes
12898  fi
12899  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12900  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12901  shlibpath_var=LD_LIBRARY_PATH
12902  shlibpath_overrides_runpath=yes
12903  ;;
12904
12905os2*)
12906  libname_spec='$name'
12907  version_type=windows
12908  shrext_cmds=.dll
12909  need_version=no
12910  need_lib_prefix=no
12911  # OS/2 can only load a DLL with a base name of 8 characters or less.
12912  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12913    v=$($ECHO $release$versuffix | tr -d .-);
12914    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12915    $ECHO $n$v`$shared_ext'
12916  library_names_spec='${libname}_dll.$libext'
12917  dynamic_linker='OS/2 ld.exe'
12918  shlibpath_var=BEGINLIBPATH
12919  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12920  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12921  postinstall_cmds='base_file=`basename \$file`~
12922    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12923    dldir=$destdir/`dirname \$dlpath`~
12924    test -d \$dldir || mkdir -p \$dldir~
12925    $install_prog $dir/$dlname \$dldir/$dlname~
12926    chmod a+x \$dldir/$dlname~
12927    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12928      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12929    fi'
12930  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12931    dlpath=$dir/\$dldll~
12932    $RM \$dlpath'
12933  ;;
12934
12935osf3* | osf4* | osf5*)
12936  version_type=osf
12937  need_lib_prefix=no
12938  need_version=no
12939  soname_spec='$libname$release$shared_ext$major'
12940  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12941  shlibpath_var=LD_LIBRARY_PATH
12942  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12943  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12944  ;;
12945
12946rdos*)
12947  dynamic_linker=no
12948  ;;
12949
12950solaris*)
12951  version_type=linux # correct to gnu/linux during the next big refactor
12952  need_lib_prefix=no
12953  need_version=no
12954  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12955  soname_spec='$libname$release$shared_ext$major'
12956  shlibpath_var=LD_LIBRARY_PATH
12957  shlibpath_overrides_runpath=yes
12958  hardcode_into_libs=yes
12959  # ldd complains unless libraries are executable
12960  postinstall_cmds='chmod +x $lib'
12961  ;;
12962
12963sunos4*)
12964  version_type=sunos
12965  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12966  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12967  shlibpath_var=LD_LIBRARY_PATH
12968  shlibpath_overrides_runpath=yes
12969  if test yes = "$with_gnu_ld"; then
12970    need_lib_prefix=no
12971  fi
12972  need_version=yes
12973  ;;
12974
12975sysv4 | sysv4.3*)
12976  version_type=linux # correct to gnu/linux during the next big refactor
12977  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12978  soname_spec='$libname$release$shared_ext$major'
12979  shlibpath_var=LD_LIBRARY_PATH
12980  case $host_vendor in
12981    sni)
12982      shlibpath_overrides_runpath=no
12983      need_lib_prefix=no
12984      runpath_var=LD_RUN_PATH
12985      ;;
12986    siemens)
12987      need_lib_prefix=no
12988      ;;
12989    motorola)
12990      need_lib_prefix=no
12991      need_version=no
12992      shlibpath_overrides_runpath=no
12993      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12994      ;;
12995  esac
12996  ;;
12997
12998sysv4*MP*)
12999  if test -d /usr/nec; then
13000    version_type=linux # correct to gnu/linux during the next big refactor
13001    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13002    soname_spec='$libname$shared_ext.$major'
13003    shlibpath_var=LD_LIBRARY_PATH
13004  fi
13005  ;;
13006
13007sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13008  version_type=sco
13009  need_lib_prefix=no
13010  need_version=no
13011  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13012  soname_spec='$libname$release$shared_ext$major'
13013  shlibpath_var=LD_LIBRARY_PATH
13014  shlibpath_overrides_runpath=yes
13015  hardcode_into_libs=yes
13016  if test yes = "$with_gnu_ld"; then
13017    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13018  else
13019    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13020    case $host_os in
13021      sco3.2v5*)
13022        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13023	;;
13024    esac
13025  fi
13026  sys_lib_dlsearch_path_spec='/usr/lib'
13027  ;;
13028
13029tpf*)
13030  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13031  version_type=linux # correct to gnu/linux during the next big refactor
13032  need_lib_prefix=no
13033  need_version=no
13034  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13035  shlibpath_var=LD_LIBRARY_PATH
13036  shlibpath_overrides_runpath=no
13037  hardcode_into_libs=yes
13038  ;;
13039
13040uts4*)
13041  version_type=linux # correct to gnu/linux during the next big refactor
13042  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13043  soname_spec='$libname$release$shared_ext$major'
13044  shlibpath_var=LD_LIBRARY_PATH
13045  ;;
13046
13047*)
13048  dynamic_linker=no
13049  ;;
13050esac
13051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13052$as_echo "$dynamic_linker" >&6; }
13053test no = "$dynamic_linker" && can_build_shared=no
13054
13055variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13056if test yes = "$GCC"; then
13057  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13058fi
13059
13060if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13061  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13062fi
13063
13064if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13065  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13066fi
13067
13068# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13069configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13070
13071# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13072func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13073
13074# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13075configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13174$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13175hardcode_action=
13176if test -n "$hardcode_libdir_flag_spec" ||
13177   test -n "$runpath_var" ||
13178   test yes = "$hardcode_automatic"; then
13179
13180  # We can hardcode non-existent directories.
13181  if test no != "$hardcode_direct" &&
13182     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13183     # have to relink, otherwise we might link with an installed library
13184     # when we should be linking with a yet-to-be-installed one
13185     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13186     test no != "$hardcode_minus_L"; then
13187    # Linking always hardcodes the temporary library directory.
13188    hardcode_action=relink
13189  else
13190    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13191    hardcode_action=immediate
13192  fi
13193else
13194  # We cannot hardcode anything, or else we can only hardcode existing
13195  # directories.
13196  hardcode_action=unsupported
13197fi
13198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13199$as_echo "$hardcode_action" >&6; }
13200
13201if test relink = "$hardcode_action" ||
13202   test yes = "$inherit_rpath"; then
13203  # Fast installation is not supported
13204  enable_fast_install=no
13205elif test yes = "$shlibpath_overrides_runpath" ||
13206     test no = "$enable_shared"; then
13207  # Fast installation is not necessary
13208  enable_fast_install=needless
13209fi
13210
13211
13212
13213
13214
13215
13216  if test yes != "$enable_dlopen"; then
13217  enable_dlopen=unknown
13218  enable_dlopen_self=unknown
13219  enable_dlopen_self_static=unknown
13220else
13221  lt_cv_dlopen=no
13222  lt_cv_dlopen_libs=
13223
13224  case $host_os in
13225  beos*)
13226    lt_cv_dlopen=load_add_on
13227    lt_cv_dlopen_libs=
13228    lt_cv_dlopen_self=yes
13229    ;;
13230
13231  mingw* | pw32* | cegcc*)
13232    lt_cv_dlopen=LoadLibrary
13233    lt_cv_dlopen_libs=
13234    ;;
13235
13236  cygwin*)
13237    lt_cv_dlopen=dlopen
13238    lt_cv_dlopen_libs=
13239    ;;
13240
13241  darwin*)
13242    # if libdl is installed we need to link against it
13243    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13244$as_echo_n "checking for dlopen in -ldl... " >&6; }
13245if ${ac_cv_lib_dl_dlopen+:} false; then :
13246  $as_echo_n "(cached) " >&6
13247else
13248  ac_check_lib_save_LIBS=$LIBS
13249LIBS="-ldl  $LIBS"
13250cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251/* end confdefs.h.  */
13252
13253/* Override any GCC internal prototype to avoid an error.
13254   Use char because int might match the return type of a GCC
13255   builtin and then its argument prototype would still apply.  */
13256#ifdef __cplusplus
13257extern "C"
13258#endif
13259char dlopen ();
13260int
13261main ()
13262{
13263return dlopen ();
13264  ;
13265  return 0;
13266}
13267_ACEOF
13268if ac_fn_c_try_link "$LINENO"; then :
13269  ac_cv_lib_dl_dlopen=yes
13270else
13271  ac_cv_lib_dl_dlopen=no
13272fi
13273rm -f core conftest.err conftest.$ac_objext \
13274    conftest$ac_exeext conftest.$ac_ext
13275LIBS=$ac_check_lib_save_LIBS
13276fi
13277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13278$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13279if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13280  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13281else
13282
13283    lt_cv_dlopen=dyld
13284    lt_cv_dlopen_libs=
13285    lt_cv_dlopen_self=yes
13286
13287fi
13288
13289    ;;
13290
13291  tpf*)
13292    # Don't try to run any link tests for TPF.  We know it's impossible
13293    # because TPF is a cross-compiler, and we know how we open DSOs.
13294    lt_cv_dlopen=dlopen
13295    lt_cv_dlopen_libs=
13296    lt_cv_dlopen_self=no
13297    ;;
13298
13299  *)
13300    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13301if test "x$ac_cv_func_shl_load" = xyes; then :
13302  lt_cv_dlopen=shl_load
13303else
13304  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13305$as_echo_n "checking for shl_load in -ldld... " >&6; }
13306if ${ac_cv_lib_dld_shl_load+:} false; then :
13307  $as_echo_n "(cached) " >&6
13308else
13309  ac_check_lib_save_LIBS=$LIBS
13310LIBS="-ldld  $LIBS"
13311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312/* end confdefs.h.  */
13313
13314/* Override any GCC internal prototype to avoid an error.
13315   Use char because int might match the return type of a GCC
13316   builtin and then its argument prototype would still apply.  */
13317#ifdef __cplusplus
13318extern "C"
13319#endif
13320char shl_load ();
13321int
13322main ()
13323{
13324return shl_load ();
13325  ;
13326  return 0;
13327}
13328_ACEOF
13329if ac_fn_c_try_link "$LINENO"; then :
13330  ac_cv_lib_dld_shl_load=yes
13331else
13332  ac_cv_lib_dld_shl_load=no
13333fi
13334rm -f core conftest.err conftest.$ac_objext \
13335    conftest$ac_exeext conftest.$ac_ext
13336LIBS=$ac_check_lib_save_LIBS
13337fi
13338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13339$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13340if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13341  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13342else
13343  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13344if test "x$ac_cv_func_dlopen" = xyes; then :
13345  lt_cv_dlopen=dlopen
13346else
13347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13348$as_echo_n "checking for dlopen in -ldl... " >&6; }
13349if ${ac_cv_lib_dl_dlopen+:} false; then :
13350  $as_echo_n "(cached) " >&6
13351else
13352  ac_check_lib_save_LIBS=$LIBS
13353LIBS="-ldl  $LIBS"
13354cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13355/* end confdefs.h.  */
13356
13357/* Override any GCC internal prototype to avoid an error.
13358   Use char because int might match the return type of a GCC
13359   builtin and then its argument prototype would still apply.  */
13360#ifdef __cplusplus
13361extern "C"
13362#endif
13363char dlopen ();
13364int
13365main ()
13366{
13367return dlopen ();
13368  ;
13369  return 0;
13370}
13371_ACEOF
13372if ac_fn_c_try_link "$LINENO"; then :
13373  ac_cv_lib_dl_dlopen=yes
13374else
13375  ac_cv_lib_dl_dlopen=no
13376fi
13377rm -f core conftest.err conftest.$ac_objext \
13378    conftest$ac_exeext conftest.$ac_ext
13379LIBS=$ac_check_lib_save_LIBS
13380fi
13381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13382$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13383if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13384  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13385else
13386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13387$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13388if ${ac_cv_lib_svld_dlopen+:} false; then :
13389  $as_echo_n "(cached) " >&6
13390else
13391  ac_check_lib_save_LIBS=$LIBS
13392LIBS="-lsvld  $LIBS"
13393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394/* end confdefs.h.  */
13395
13396/* Override any GCC internal prototype to avoid an error.
13397   Use char because int might match the return type of a GCC
13398   builtin and then its argument prototype would still apply.  */
13399#ifdef __cplusplus
13400extern "C"
13401#endif
13402char dlopen ();
13403int
13404main ()
13405{
13406return dlopen ();
13407  ;
13408  return 0;
13409}
13410_ACEOF
13411if ac_fn_c_try_link "$LINENO"; then :
13412  ac_cv_lib_svld_dlopen=yes
13413else
13414  ac_cv_lib_svld_dlopen=no
13415fi
13416rm -f core conftest.err conftest.$ac_objext \
13417    conftest$ac_exeext conftest.$ac_ext
13418LIBS=$ac_check_lib_save_LIBS
13419fi
13420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13421$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13422if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13423  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13424else
13425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13426$as_echo_n "checking for dld_link in -ldld... " >&6; }
13427if ${ac_cv_lib_dld_dld_link+:} false; then :
13428  $as_echo_n "(cached) " >&6
13429else
13430  ac_check_lib_save_LIBS=$LIBS
13431LIBS="-ldld  $LIBS"
13432cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13433/* end confdefs.h.  */
13434
13435/* Override any GCC internal prototype to avoid an error.
13436   Use char because int might match the return type of a GCC
13437   builtin and then its argument prototype would still apply.  */
13438#ifdef __cplusplus
13439extern "C"
13440#endif
13441char dld_link ();
13442int
13443main ()
13444{
13445return dld_link ();
13446  ;
13447  return 0;
13448}
13449_ACEOF
13450if ac_fn_c_try_link "$LINENO"; then :
13451  ac_cv_lib_dld_dld_link=yes
13452else
13453  ac_cv_lib_dld_dld_link=no
13454fi
13455rm -f core conftest.err conftest.$ac_objext \
13456    conftest$ac_exeext conftest.$ac_ext
13457LIBS=$ac_check_lib_save_LIBS
13458fi
13459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13460$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13461if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13462  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13463fi
13464
13465
13466fi
13467
13468
13469fi
13470
13471
13472fi
13473
13474
13475fi
13476
13477
13478fi
13479
13480    ;;
13481  esac
13482
13483  if test no = "$lt_cv_dlopen"; then
13484    enable_dlopen=no
13485  else
13486    enable_dlopen=yes
13487  fi
13488
13489  case $lt_cv_dlopen in
13490  dlopen)
13491    save_CPPFLAGS=$CPPFLAGS
13492    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13493
13494    save_LDFLAGS=$LDFLAGS
13495    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13496
13497    save_LIBS=$LIBS
13498    LIBS="$lt_cv_dlopen_libs $LIBS"
13499
13500    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13501$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13502if ${lt_cv_dlopen_self+:} false; then :
13503  $as_echo_n "(cached) " >&6
13504else
13505  	  if test yes = "$cross_compiling"; then :
13506  lt_cv_dlopen_self=cross
13507else
13508  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13509  lt_status=$lt_dlunknown
13510  cat > conftest.$ac_ext <<_LT_EOF
13511#line $LINENO "configure"
13512#include "confdefs.h"
13513
13514#if HAVE_DLFCN_H
13515#include <dlfcn.h>
13516#endif
13517
13518#include <stdio.h>
13519
13520#ifdef RTLD_GLOBAL
13521#  define LT_DLGLOBAL		RTLD_GLOBAL
13522#else
13523#  ifdef DL_GLOBAL
13524#    define LT_DLGLOBAL		DL_GLOBAL
13525#  else
13526#    define LT_DLGLOBAL		0
13527#  endif
13528#endif
13529
13530/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13531   find out it does not work in some platform. */
13532#ifndef LT_DLLAZY_OR_NOW
13533#  ifdef RTLD_LAZY
13534#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13535#  else
13536#    ifdef DL_LAZY
13537#      define LT_DLLAZY_OR_NOW		DL_LAZY
13538#    else
13539#      ifdef RTLD_NOW
13540#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13541#      else
13542#        ifdef DL_NOW
13543#          define LT_DLLAZY_OR_NOW	DL_NOW
13544#        else
13545#          define LT_DLLAZY_OR_NOW	0
13546#        endif
13547#      endif
13548#    endif
13549#  endif
13550#endif
13551
13552/* When -fvisibility=hidden is used, assume the code has been annotated
13553   correspondingly for the symbols needed.  */
13554#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13555int fnord () __attribute__((visibility("default")));
13556#endif
13557
13558int fnord () { return 42; }
13559int main ()
13560{
13561  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13562  int status = $lt_dlunknown;
13563
13564  if (self)
13565    {
13566      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13567      else
13568        {
13569	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13570          else puts (dlerror ());
13571	}
13572      /* dlclose (self); */
13573    }
13574  else
13575    puts (dlerror ());
13576
13577  return status;
13578}
13579_LT_EOF
13580  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13581  (eval $ac_link) 2>&5
13582  ac_status=$?
13583  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13584  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13585    (./conftest; exit; ) >&5 2>/dev/null
13586    lt_status=$?
13587    case x$lt_status in
13588      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13589      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13590      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13591    esac
13592  else :
13593    # compilation failed
13594    lt_cv_dlopen_self=no
13595  fi
13596fi
13597rm -fr conftest*
13598
13599
13600fi
13601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13602$as_echo "$lt_cv_dlopen_self" >&6; }
13603
13604    if test yes = "$lt_cv_dlopen_self"; then
13605      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13606      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13607$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13608if ${lt_cv_dlopen_self_static+:} false; then :
13609  $as_echo_n "(cached) " >&6
13610else
13611  	  if test yes = "$cross_compiling"; then :
13612  lt_cv_dlopen_self_static=cross
13613else
13614  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13615  lt_status=$lt_dlunknown
13616  cat > conftest.$ac_ext <<_LT_EOF
13617#line $LINENO "configure"
13618#include "confdefs.h"
13619
13620#if HAVE_DLFCN_H
13621#include <dlfcn.h>
13622#endif
13623
13624#include <stdio.h>
13625
13626#ifdef RTLD_GLOBAL
13627#  define LT_DLGLOBAL		RTLD_GLOBAL
13628#else
13629#  ifdef DL_GLOBAL
13630#    define LT_DLGLOBAL		DL_GLOBAL
13631#  else
13632#    define LT_DLGLOBAL		0
13633#  endif
13634#endif
13635
13636/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13637   find out it does not work in some platform. */
13638#ifndef LT_DLLAZY_OR_NOW
13639#  ifdef RTLD_LAZY
13640#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13641#  else
13642#    ifdef DL_LAZY
13643#      define LT_DLLAZY_OR_NOW		DL_LAZY
13644#    else
13645#      ifdef RTLD_NOW
13646#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13647#      else
13648#        ifdef DL_NOW
13649#          define LT_DLLAZY_OR_NOW	DL_NOW
13650#        else
13651#          define LT_DLLAZY_OR_NOW	0
13652#        endif
13653#      endif
13654#    endif
13655#  endif
13656#endif
13657
13658/* When -fvisibility=hidden is used, assume the code has been annotated
13659   correspondingly for the symbols needed.  */
13660#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13661int fnord () __attribute__((visibility("default")));
13662#endif
13663
13664int fnord () { return 42; }
13665int main ()
13666{
13667  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13668  int status = $lt_dlunknown;
13669
13670  if (self)
13671    {
13672      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13673      else
13674        {
13675	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13676          else puts (dlerror ());
13677	}
13678      /* dlclose (self); */
13679    }
13680  else
13681    puts (dlerror ());
13682
13683  return status;
13684}
13685_LT_EOF
13686  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13687  (eval $ac_link) 2>&5
13688  ac_status=$?
13689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13690  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13691    (./conftest; exit; ) >&5 2>/dev/null
13692    lt_status=$?
13693    case x$lt_status in
13694      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13695      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13696      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13697    esac
13698  else :
13699    # compilation failed
13700    lt_cv_dlopen_self_static=no
13701  fi
13702fi
13703rm -fr conftest*
13704
13705
13706fi
13707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13708$as_echo "$lt_cv_dlopen_self_static" >&6; }
13709    fi
13710
13711    CPPFLAGS=$save_CPPFLAGS
13712    LDFLAGS=$save_LDFLAGS
13713    LIBS=$save_LIBS
13714    ;;
13715  esac
13716
13717  case $lt_cv_dlopen_self in
13718  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13719  *) enable_dlopen_self=unknown ;;
13720  esac
13721
13722  case $lt_cv_dlopen_self_static in
13723  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13724  *) enable_dlopen_self_static=unknown ;;
13725  esac
13726fi
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744striplib=
13745old_striplib=
13746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13747$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13748if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13749  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13750  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13752$as_echo "yes" >&6; }
13753else
13754# FIXME - insert some real tests, host_os isn't really good enough
13755  case $host_os in
13756  darwin*)
13757    if test -n "$STRIP"; then
13758      striplib="$STRIP -x"
13759      old_striplib="$STRIP -S"
13760      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13761$as_echo "yes" >&6; }
13762    else
13763      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764$as_echo "no" >&6; }
13765    fi
13766    ;;
13767  *)
13768    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769$as_echo "no" >&6; }
13770    ;;
13771  esac
13772fi
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785  # Report what library types will actually be built
13786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13787$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13789$as_echo "$can_build_shared" >&6; }
13790
13791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13792$as_echo_n "checking whether to build shared libraries... " >&6; }
13793  test no = "$can_build_shared" && enable_shared=no
13794
13795  # On AIX, shared libraries and static libraries use the same namespace, and
13796  # are all built from PIC.
13797  case $host_os in
13798  aix3*)
13799    test yes = "$enable_shared" && enable_static=no
13800    if test -n "$RANLIB"; then
13801      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13802      postinstall_cmds='$RANLIB $lib'
13803    fi
13804    ;;
13805
13806  aix[4-9]*)
13807    if test ia64 != "$host_cpu"; then
13808      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13809      yes,aix,yes) ;;			# shared object as lib.so file only
13810      yes,svr4,*) ;;			# shared object as lib.so archive member only
13811      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13812      esac
13813    fi
13814    ;;
13815  esac
13816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13817$as_echo "$enable_shared" >&6; }
13818
13819  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13820$as_echo_n "checking whether to build static libraries... " >&6; }
13821  # Make sure either enable_shared or enable_static is yes.
13822  test yes = "$enable_shared" || enable_static=yes
13823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13824$as_echo "$enable_static" >&6; }
13825
13826
13827
13828
13829fi
13830ac_ext=c
13831ac_cpp='$CPP $CPPFLAGS'
13832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834ac_compiler_gnu=$ac_cv_c_compiler_gnu
13835
13836CC=$lt_save_CC
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852        ac_config_commands="$ac_config_commands libtool"
13853
13854
13855
13856
13857# Only expand once:
13858
13859
13860
13861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13862$as_echo_n "checking for ANSI C header files... " >&6; }
13863if ${ac_cv_header_stdc+:} false; then :
13864  $as_echo_n "(cached) " >&6
13865else
13866  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867/* end confdefs.h.  */
13868#include <stdlib.h>
13869#include <stdarg.h>
13870#include <string.h>
13871#include <float.h>
13872
13873int
13874main ()
13875{
13876
13877  ;
13878  return 0;
13879}
13880_ACEOF
13881if ac_fn_c_try_compile "$LINENO"; then :
13882  ac_cv_header_stdc=yes
13883else
13884  ac_cv_header_stdc=no
13885fi
13886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13887
13888if test $ac_cv_header_stdc = yes; then
13889  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13890  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891/* end confdefs.h.  */
13892#include <string.h>
13893
13894_ACEOF
13895if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13896  $EGREP "memchr" >/dev/null 2>&1; then :
13897
13898else
13899  ac_cv_header_stdc=no
13900fi
13901rm -f conftest*
13902
13903fi
13904
13905if test $ac_cv_header_stdc = yes; then
13906  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13908/* end confdefs.h.  */
13909#include <stdlib.h>
13910
13911_ACEOF
13912if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13913  $EGREP "free" >/dev/null 2>&1; then :
13914
13915else
13916  ac_cv_header_stdc=no
13917fi
13918rm -f conftest*
13919
13920fi
13921
13922if test $ac_cv_header_stdc = yes; then
13923  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13924  if test "$cross_compiling" = yes; then :
13925  :
13926else
13927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928/* end confdefs.h.  */
13929#include <ctype.h>
13930#include <stdlib.h>
13931#if ((' ' & 0x0FF) == 0x020)
13932# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13933# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13934#else
13935# define ISLOWER(c) \
13936		   (('a' <= (c) && (c) <= 'i') \
13937		     || ('j' <= (c) && (c) <= 'r') \
13938		     || ('s' <= (c) && (c) <= 'z'))
13939# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13940#endif
13941
13942#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13943int
13944main ()
13945{
13946  int i;
13947  for (i = 0; i < 256; i++)
13948    if (XOR (islower (i), ISLOWER (i))
13949	|| toupper (i) != TOUPPER (i))
13950      return 2;
13951  return 0;
13952}
13953_ACEOF
13954if ac_fn_c_try_run "$LINENO"; then :
13955
13956else
13957  ac_cv_header_stdc=no
13958fi
13959rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13960  conftest.$ac_objext conftest.beam conftest.$ac_ext
13961fi
13962
13963fi
13964fi
13965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13966$as_echo "$ac_cv_header_stdc" >&6; }
13967if test $ac_cv_header_stdc = yes; then
13968
13969$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13970
13971fi
13972
13973for ac_header in errno.h fcntl.h \
13974                  netdb.h signal.h stdarg.h sys/resource.h \
13975                  sys/socket.h sys/time.h sys/wait.h sys/utsname.h time.h \
13976                  unistd.h math.h sys/types.h
13977do :
13978  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13979ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13980if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13981  cat >>confdefs.h <<_ACEOF
13982#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13983_ACEOF
13984
13985fi
13986
13987done
13988
13989for ac_func in getaddrinfo gethostbyname gethostname setsid strdup
13990do :
13991  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13992ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13993if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13994  cat >>confdefs.h <<_ACEOF
13995#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13996_ACEOF
13997
13998fi
13999done
14000
14001
14002# Checks for typedefs, structures, and compiler characteristics.
14003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14004$as_echo_n "checking for inline... " >&6; }
14005if ${ac_cv_c_inline+:} false; then :
14006  $as_echo_n "(cached) " >&6
14007else
14008  ac_cv_c_inline=no
14009for ac_kw in inline __inline__ __inline; do
14010  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011/* end confdefs.h.  */
14012#ifndef __cplusplus
14013typedef int foo_t;
14014static $ac_kw foo_t static_foo () {return 0; }
14015$ac_kw foo_t foo () {return 0; }
14016#endif
14017
14018_ACEOF
14019if ac_fn_c_try_compile "$LINENO"; then :
14020  ac_cv_c_inline=$ac_kw
14021fi
14022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14023  test "$ac_cv_c_inline" != no && break
14024done
14025
14026fi
14027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14028$as_echo "$ac_cv_c_inline" >&6; }
14029
14030case $ac_cv_c_inline in
14031  inline | yes) ;;
14032  *)
14033    case $ac_cv_c_inline in
14034      no) ac_val=;;
14035      *) ac_val=$ac_cv_c_inline;;
14036    esac
14037    cat >>confdefs.h <<_ACEOF
14038#ifndef __cplusplus
14039#define inline $ac_val
14040#endif
14041_ACEOF
14042    ;;
14043esac
14044
14045ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14046if test "x$ac_cv_type_mode_t" = xyes; then :
14047
14048else
14049
14050cat >>confdefs.h <<_ACEOF
14051#define mode_t int
14052_ACEOF
14053
14054fi
14055
14056ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14057if test "x$ac_cv_type_pid_t" = xyes; then :
14058
14059else
14060
14061cat >>confdefs.h <<_ACEOF
14062#define pid_t int
14063_ACEOF
14064
14065fi
14066
14067ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14068if test "x$ac_cv_type_size_t" = xyes; then :
14069
14070else
14071
14072cat >>confdefs.h <<_ACEOF
14073#define size_t unsigned int
14074_ACEOF
14075
14076fi
14077
14078
14079# Checks for library functions.
14080for ac_header in stdlib.h
14081do :
14082  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14083if test "x$ac_cv_header_stdlib_h" = xyes; then :
14084  cat >>confdefs.h <<_ACEOF
14085#define HAVE_STDLIB_H 1
14086_ACEOF
14087
14088fi
14089
14090done
14091
14092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
14093$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
14094if ${ac_cv_func_malloc_0_nonnull+:} false; then :
14095  $as_echo_n "(cached) " >&6
14096else
14097  if test "$cross_compiling" = yes; then :
14098  ac_cv_func_malloc_0_nonnull=no
14099else
14100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101/* end confdefs.h.  */
14102#if defined STDC_HEADERS || defined HAVE_STDLIB_H
14103# include <stdlib.h>
14104#else
14105char *malloc ();
14106#endif
14107
14108int
14109main ()
14110{
14111return ! malloc (0);
14112  ;
14113  return 0;
14114}
14115_ACEOF
14116if ac_fn_c_try_run "$LINENO"; then :
14117  ac_cv_func_malloc_0_nonnull=yes
14118else
14119  ac_cv_func_malloc_0_nonnull=no
14120fi
14121rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14122  conftest.$ac_objext conftest.beam conftest.$ac_ext
14123fi
14124
14125fi
14126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
14127$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
14128if test $ac_cv_func_malloc_0_nonnull = yes; then :
14129
14130$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
14131
14132else
14133  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
14134
14135   case " $LIBOBJS " in
14136  *" malloc.$ac_objext "* ) ;;
14137  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
14138 ;;
14139esac
14140
14141
14142$as_echo "#define malloc rpl_malloc" >>confdefs.h
14143
14144fi
14145
14146
14147
14148LIBM=
14149case $host in
14150*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
14151  # These system don't have libm, or don't need it
14152  ;;
14153*-ncr-sysv4.3*)
14154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14155$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14156if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
14157  $as_echo_n "(cached) " >&6
14158else
14159  ac_check_lib_save_LIBS=$LIBS
14160LIBS="-lmw  $LIBS"
14161cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162/* end confdefs.h.  */
14163
14164/* Override any GCC internal prototype to avoid an error.
14165   Use char because int might match the return type of a GCC
14166   builtin and then its argument prototype would still apply.  */
14167#ifdef __cplusplus
14168extern "C"
14169#endif
14170char _mwvalidcheckl ();
14171int
14172main ()
14173{
14174return _mwvalidcheckl ();
14175  ;
14176  return 0;
14177}
14178_ACEOF
14179if ac_fn_c_try_link "$LINENO"; then :
14180  ac_cv_lib_mw__mwvalidcheckl=yes
14181else
14182  ac_cv_lib_mw__mwvalidcheckl=no
14183fi
14184rm -f core conftest.err conftest.$ac_objext \
14185    conftest$ac_exeext conftest.$ac_ext
14186LIBS=$ac_check_lib_save_LIBS
14187fi
14188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14189$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14190if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
14191  LIBM=-lmw
14192fi
14193
14194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14195$as_echo_n "checking for cos in -lm... " >&6; }
14196if ${ac_cv_lib_m_cos+:} false; then :
14197  $as_echo_n "(cached) " >&6
14198else
14199  ac_check_lib_save_LIBS=$LIBS
14200LIBS="-lm  $LIBS"
14201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202/* end confdefs.h.  */
14203
14204/* Override any GCC internal prototype to avoid an error.
14205   Use char because int might match the return type of a GCC
14206   builtin and then its argument prototype would still apply.  */
14207#ifdef __cplusplus
14208extern "C"
14209#endif
14210char cos ();
14211int
14212main ()
14213{
14214return cos ();
14215  ;
14216  return 0;
14217}
14218_ACEOF
14219if ac_fn_c_try_link "$LINENO"; then :
14220  ac_cv_lib_m_cos=yes
14221else
14222  ac_cv_lib_m_cos=no
14223fi
14224rm -f core conftest.err conftest.$ac_objext \
14225    conftest$ac_exeext conftest.$ac_ext
14226LIBS=$ac_check_lib_save_LIBS
14227fi
14228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14229$as_echo "$ac_cv_lib_m_cos" >&6; }
14230if test "x$ac_cv_lib_m_cos" = xyes; then :
14231  LIBM="$LIBM -lm"
14232fi
14233
14234  ;;
14235*)
14236  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14237$as_echo_n "checking for cos in -lm... " >&6; }
14238if ${ac_cv_lib_m_cos+:} false; then :
14239  $as_echo_n "(cached) " >&6
14240else
14241  ac_check_lib_save_LIBS=$LIBS
14242LIBS="-lm  $LIBS"
14243cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244/* end confdefs.h.  */
14245
14246/* Override any GCC internal prototype to avoid an error.
14247   Use char because int might match the return type of a GCC
14248   builtin and then its argument prototype would still apply.  */
14249#ifdef __cplusplus
14250extern "C"
14251#endif
14252char cos ();
14253int
14254main ()
14255{
14256return cos ();
14257  ;
14258  return 0;
14259}
14260_ACEOF
14261if ac_fn_c_try_link "$LINENO"; then :
14262  ac_cv_lib_m_cos=yes
14263else
14264  ac_cv_lib_m_cos=no
14265fi
14266rm -f core conftest.err conftest.$ac_objext \
14267    conftest$ac_exeext conftest.$ac_ext
14268LIBS=$ac_check_lib_save_LIBS
14269fi
14270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14271$as_echo "$ac_cv_lib_m_cos" >&6; }
14272if test "x$ac_cv_lib_m_cos" = xyes; then :
14273  LIBM=-lm
14274fi
14275
14276  ;;
14277esac
14278
14279
14280
14281
14282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14283$as_echo_n "checking for X... " >&6; }
14284
14285
14286# Check whether --with-x was given.
14287if test "${with_x+set}" = set; then :
14288  withval=$with_x;
14289fi
14290
14291# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14292if test "x$with_x" = xno; then
14293  # The user explicitly disabled X.
14294  have_x=disabled
14295else
14296  case $x_includes,$x_libraries in #(
14297    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
14298    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
14299  $as_echo_n "(cached) " >&6
14300else
14301  # One or both of the vars are not set, and there is no cached value.
14302ac_x_includes=no ac_x_libraries=no
14303rm -f -r conftest.dir
14304if mkdir conftest.dir; then
14305  cd conftest.dir
14306  cat >Imakefile <<'_ACEOF'
14307incroot:
14308	@echo incroot='${INCROOT}'
14309usrlibdir:
14310	@echo usrlibdir='${USRLIBDIR}'
14311libdir:
14312	@echo libdir='${LIBDIR}'
14313_ACEOF
14314  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14315    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14316    for ac_var in incroot usrlibdir libdir; do
14317      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14318    done
14319    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14320    for ac_extension in a so sl dylib la dll; do
14321      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14322	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14323	ac_im_usrlibdir=$ac_im_libdir; break
14324      fi
14325    done
14326    # Screen out bogus values from the imake configuration.  They are
14327    # bogus both because they are the default anyway, and because
14328    # using them would break gcc on systems where it needs fixed includes.
14329    case $ac_im_incroot in
14330	/usr/include) ac_x_includes= ;;
14331	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14332    esac
14333    case $ac_im_usrlibdir in
14334	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
14335	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14336    esac
14337  fi
14338  cd ..
14339  rm -f -r conftest.dir
14340fi
14341
14342# Standard set of common directories for X headers.
14343# Check X11 before X11Rn because it is often a symlink to the current release.
14344ac_x_header_dirs='
14345/usr/X11/include
14346/usr/X11R7/include
14347/usr/X11R6/include
14348/usr/X11R5/include
14349/usr/X11R4/include
14350
14351/usr/include/X11
14352/usr/include/X11R7
14353/usr/include/X11R6
14354/usr/include/X11R5
14355/usr/include/X11R4
14356
14357/usr/local/X11/include
14358/usr/local/X11R7/include
14359/usr/local/X11R6/include
14360/usr/local/X11R5/include
14361/usr/local/X11R4/include
14362
14363/usr/local/include/X11
14364/usr/local/include/X11R7
14365/usr/local/include/X11R6
14366/usr/local/include/X11R5
14367/usr/local/include/X11R4
14368
14369/usr/X386/include
14370/usr/x386/include
14371/usr/XFree86/include/X11
14372
14373/usr/include
14374/usr/local/include
14375/usr/unsupported/include
14376/usr/athena/include
14377/usr/local/x11r5/include
14378/usr/lpp/Xamples/include
14379
14380/usr/openwin/include
14381/usr/openwin/share/include'
14382
14383if test "$ac_x_includes" = no; then
14384  # Guess where to find include files, by looking for Xlib.h.
14385  # First, try using that file with no special directory specified.
14386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387/* end confdefs.h.  */
14388#include <X11/Xlib.h>
14389_ACEOF
14390if ac_fn_c_try_cpp "$LINENO"; then :
14391  # We can compile using X headers with no special include directory.
14392ac_x_includes=
14393else
14394  for ac_dir in $ac_x_header_dirs; do
14395  if test -r "$ac_dir/X11/Xlib.h"; then
14396    ac_x_includes=$ac_dir
14397    break
14398  fi
14399done
14400fi
14401rm -f conftest.err conftest.i conftest.$ac_ext
14402fi # $ac_x_includes = no
14403
14404if test "$ac_x_libraries" = no; then
14405  # Check for the libraries.
14406  # See if we find them without any special options.
14407  # Don't add to $LIBS permanently.
14408  ac_save_LIBS=$LIBS
14409  LIBS="-lX11 $LIBS"
14410  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411/* end confdefs.h.  */
14412#include <X11/Xlib.h>
14413int
14414main ()
14415{
14416XrmInitialize ()
14417  ;
14418  return 0;
14419}
14420_ACEOF
14421if ac_fn_c_try_link "$LINENO"; then :
14422  LIBS=$ac_save_LIBS
14423# We can link X programs with no special library path.
14424ac_x_libraries=
14425else
14426  LIBS=$ac_save_LIBS
14427for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14428do
14429  # Don't even attempt the hair of trying to link an X program!
14430  for ac_extension in a so sl dylib la dll; do
14431    if test -r "$ac_dir/libX11.$ac_extension"; then
14432      ac_x_libraries=$ac_dir
14433      break 2
14434    fi
14435  done
14436done
14437fi
14438rm -f core conftest.err conftest.$ac_objext \
14439    conftest$ac_exeext conftest.$ac_ext
14440fi # $ac_x_libraries = no
14441
14442case $ac_x_includes,$ac_x_libraries in #(
14443  no,* | *,no | *\'*)
14444    # Didn't find X, or a directory has "'" in its name.
14445    ac_cv_have_x="have_x=no";; #(
14446  *)
14447    # Record where we found X for the cache.
14448    ac_cv_have_x="have_x=yes\
14449	ac_x_includes='$ac_x_includes'\
14450	ac_x_libraries='$ac_x_libraries'"
14451esac
14452fi
14453;; #(
14454    *) have_x=yes;;
14455  esac
14456  eval "$ac_cv_have_x"
14457fi # $with_x != no
14458
14459if test "$have_x" != yes; then
14460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14461$as_echo "$have_x" >&6; }
14462  no_x=yes
14463else
14464  # If each of the values was on the command line, it overrides each guess.
14465  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14466  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14467  # Update the cache value to reflect the command line values.
14468  ac_cv_have_x="have_x=yes\
14469	ac_x_includes='$x_includes'\
14470	ac_x_libraries='$x_libraries'"
14471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14472$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
14473fi
14474
14475if test "$no_x" = yes; then
14476  # Not all programs may use this symbol, but it does not hurt to define it.
14477
14478$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
14479
14480  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14481else
14482  if test -n "$x_includes"; then
14483    X_CFLAGS="$X_CFLAGS -I$x_includes"
14484  fi
14485
14486  # It would also be nice to do this for all -L options, not just this one.
14487  if test -n "$x_libraries"; then
14488    X_LIBS="$X_LIBS -L$x_libraries"
14489    # For Solaris; some versions of Sun CC require a space after -R and
14490    # others require no space.  Words are not sufficient . . . .
14491    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14492$as_echo_n "checking whether -R must be followed by a space... " >&6; }
14493    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14494    ac_xsave_c_werror_flag=$ac_c_werror_flag
14495    ac_c_werror_flag=yes
14496    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497/* end confdefs.h.  */
14498
14499int
14500main ()
14501{
14502
14503  ;
14504  return 0;
14505}
14506_ACEOF
14507if ac_fn_c_try_link "$LINENO"; then :
14508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14509$as_echo "no" >&6; }
14510       X_LIBS="$X_LIBS -R$x_libraries"
14511else
14512  LIBS="$ac_xsave_LIBS -R $x_libraries"
14513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514/* end confdefs.h.  */
14515
14516int
14517main ()
14518{
14519
14520  ;
14521  return 0;
14522}
14523_ACEOF
14524if ac_fn_c_try_link "$LINENO"; then :
14525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14526$as_echo "yes" >&6; }
14527	  X_LIBS="$X_LIBS -R $x_libraries"
14528else
14529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14530$as_echo "neither works" >&6; }
14531fi
14532rm -f core conftest.err conftest.$ac_objext \
14533    conftest$ac_exeext conftest.$ac_ext
14534fi
14535rm -f core conftest.err conftest.$ac_objext \
14536    conftest$ac_exeext conftest.$ac_ext
14537    ac_c_werror_flag=$ac_xsave_c_werror_flag
14538    LIBS=$ac_xsave_LIBS
14539  fi
14540
14541  # Check for system-dependent libraries X programs must link with.
14542  # Do this before checking for the system-independent R6 libraries
14543  # (-lICE), since we may need -lsocket or whatever for X linking.
14544
14545  if test "$ISC" = yes; then
14546    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14547  else
14548    # Martyn Johnson says this is needed for Ultrix, if the X
14549    # libraries were built with DECnet support.  And Karl Berry says
14550    # the Alpha needs dnet_stub (dnet does not exist).
14551    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14552    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553/* end confdefs.h.  */
14554
14555/* Override any GCC internal prototype to avoid an error.
14556   Use char because int might match the return type of a GCC
14557   builtin and then its argument prototype would still apply.  */
14558#ifdef __cplusplus
14559extern "C"
14560#endif
14561char XOpenDisplay ();
14562int
14563main ()
14564{
14565return XOpenDisplay ();
14566  ;
14567  return 0;
14568}
14569_ACEOF
14570if ac_fn_c_try_link "$LINENO"; then :
14571
14572else
14573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14574$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
14575if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
14576  $as_echo_n "(cached) " >&6
14577else
14578  ac_check_lib_save_LIBS=$LIBS
14579LIBS="-ldnet  $LIBS"
14580cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581/* end confdefs.h.  */
14582
14583/* Override any GCC internal prototype to avoid an error.
14584   Use char because int might match the return type of a GCC
14585   builtin and then its argument prototype would still apply.  */
14586#ifdef __cplusplus
14587extern "C"
14588#endif
14589char dnet_ntoa ();
14590int
14591main ()
14592{
14593return dnet_ntoa ();
14594  ;
14595  return 0;
14596}
14597_ACEOF
14598if ac_fn_c_try_link "$LINENO"; then :
14599  ac_cv_lib_dnet_dnet_ntoa=yes
14600else
14601  ac_cv_lib_dnet_dnet_ntoa=no
14602fi
14603rm -f core conftest.err conftest.$ac_objext \
14604    conftest$ac_exeext conftest.$ac_ext
14605LIBS=$ac_check_lib_save_LIBS
14606fi
14607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14608$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14609if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
14610  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14611fi
14612
14613    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14614      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14615$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14616if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
14617  $as_echo_n "(cached) " >&6
14618else
14619  ac_check_lib_save_LIBS=$LIBS
14620LIBS="-ldnet_stub  $LIBS"
14621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622/* end confdefs.h.  */
14623
14624/* Override any GCC internal prototype to avoid an error.
14625   Use char because int might match the return type of a GCC
14626   builtin and then its argument prototype would still apply.  */
14627#ifdef __cplusplus
14628extern "C"
14629#endif
14630char dnet_ntoa ();
14631int
14632main ()
14633{
14634return dnet_ntoa ();
14635  ;
14636  return 0;
14637}
14638_ACEOF
14639if ac_fn_c_try_link "$LINENO"; then :
14640  ac_cv_lib_dnet_stub_dnet_ntoa=yes
14641else
14642  ac_cv_lib_dnet_stub_dnet_ntoa=no
14643fi
14644rm -f core conftest.err conftest.$ac_objext \
14645    conftest$ac_exeext conftest.$ac_ext
14646LIBS=$ac_check_lib_save_LIBS
14647fi
14648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14649$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14650if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
14651  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14652fi
14653
14654    fi
14655fi
14656rm -f core conftest.err conftest.$ac_objext \
14657    conftest$ac_exeext conftest.$ac_ext
14658    LIBS="$ac_xsave_LIBS"
14659
14660    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14661    # to get the SysV transport functions.
14662    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14663    # needs -lnsl.
14664    # The nsl library prevents programs from opening the X display
14665    # on Irix 5.2, according to T.E. Dickey.
14666    # The functions gethostbyname, getservbyname, and inet_addr are
14667    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14668    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14669if test "x$ac_cv_func_gethostbyname" = xyes; then :
14670
14671fi
14672
14673    if test $ac_cv_func_gethostbyname = no; then
14674      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14675$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14676if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
14677  $as_echo_n "(cached) " >&6
14678else
14679  ac_check_lib_save_LIBS=$LIBS
14680LIBS="-lnsl  $LIBS"
14681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682/* end confdefs.h.  */
14683
14684/* Override any GCC internal prototype to avoid an error.
14685   Use char because int might match the return type of a GCC
14686   builtin and then its argument prototype would still apply.  */
14687#ifdef __cplusplus
14688extern "C"
14689#endif
14690char gethostbyname ();
14691int
14692main ()
14693{
14694return gethostbyname ();
14695  ;
14696  return 0;
14697}
14698_ACEOF
14699if ac_fn_c_try_link "$LINENO"; then :
14700  ac_cv_lib_nsl_gethostbyname=yes
14701else
14702  ac_cv_lib_nsl_gethostbyname=no
14703fi
14704rm -f core conftest.err conftest.$ac_objext \
14705    conftest$ac_exeext conftest.$ac_ext
14706LIBS=$ac_check_lib_save_LIBS
14707fi
14708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14709$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14710if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
14711  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14712fi
14713
14714      if test $ac_cv_lib_nsl_gethostbyname = no; then
14715	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14716$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
14717if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
14718  $as_echo_n "(cached) " >&6
14719else
14720  ac_check_lib_save_LIBS=$LIBS
14721LIBS="-lbsd  $LIBS"
14722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723/* end confdefs.h.  */
14724
14725/* Override any GCC internal prototype to avoid an error.
14726   Use char because int might match the return type of a GCC
14727   builtin and then its argument prototype would still apply.  */
14728#ifdef __cplusplus
14729extern "C"
14730#endif
14731char gethostbyname ();
14732int
14733main ()
14734{
14735return gethostbyname ();
14736  ;
14737  return 0;
14738}
14739_ACEOF
14740if ac_fn_c_try_link "$LINENO"; then :
14741  ac_cv_lib_bsd_gethostbyname=yes
14742else
14743  ac_cv_lib_bsd_gethostbyname=no
14744fi
14745rm -f core conftest.err conftest.$ac_objext \
14746    conftest$ac_exeext conftest.$ac_ext
14747LIBS=$ac_check_lib_save_LIBS
14748fi
14749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14750$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
14751if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
14752  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14753fi
14754
14755      fi
14756    fi
14757
14758    # lieder@skyler.mavd.honeywell.com says without -lsocket,
14759    # socket/setsockopt and other routines are undefined under SCO ODT
14760    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
14761    # on later versions), says Simon Leinen: it contains gethostby*
14762    # variants that don't use the name server (or something).  -lsocket
14763    # must be given before -lnsl if both are needed.  We assume that
14764    # if connect needs -lnsl, so does gethostbyname.
14765    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14766if test "x$ac_cv_func_connect" = xyes; then :
14767
14768fi
14769
14770    if test $ac_cv_func_connect = no; then
14771      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14772$as_echo_n "checking for connect in -lsocket... " >&6; }
14773if ${ac_cv_lib_socket_connect+:} false; then :
14774  $as_echo_n "(cached) " >&6
14775else
14776  ac_check_lib_save_LIBS=$LIBS
14777LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779/* end confdefs.h.  */
14780
14781/* Override any GCC internal prototype to avoid an error.
14782   Use char because int might match the return type of a GCC
14783   builtin and then its argument prototype would still apply.  */
14784#ifdef __cplusplus
14785extern "C"
14786#endif
14787char connect ();
14788int
14789main ()
14790{
14791return connect ();
14792  ;
14793  return 0;
14794}
14795_ACEOF
14796if ac_fn_c_try_link "$LINENO"; then :
14797  ac_cv_lib_socket_connect=yes
14798else
14799  ac_cv_lib_socket_connect=no
14800fi
14801rm -f core conftest.err conftest.$ac_objext \
14802    conftest$ac_exeext conftest.$ac_ext
14803LIBS=$ac_check_lib_save_LIBS
14804fi
14805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14806$as_echo "$ac_cv_lib_socket_connect" >&6; }
14807if test "x$ac_cv_lib_socket_connect" = xyes; then :
14808  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14809fi
14810
14811    fi
14812
14813    # Guillermo Gomez says -lposix is necessary on A/UX.
14814    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14815if test "x$ac_cv_func_remove" = xyes; then :
14816
14817fi
14818
14819    if test $ac_cv_func_remove = no; then
14820      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14821$as_echo_n "checking for remove in -lposix... " >&6; }
14822if ${ac_cv_lib_posix_remove+:} false; then :
14823  $as_echo_n "(cached) " >&6
14824else
14825  ac_check_lib_save_LIBS=$LIBS
14826LIBS="-lposix  $LIBS"
14827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828/* end confdefs.h.  */
14829
14830/* Override any GCC internal prototype to avoid an error.
14831   Use char because int might match the return type of a GCC
14832   builtin and then its argument prototype would still apply.  */
14833#ifdef __cplusplus
14834extern "C"
14835#endif
14836char remove ();
14837int
14838main ()
14839{
14840return remove ();
14841  ;
14842  return 0;
14843}
14844_ACEOF
14845if ac_fn_c_try_link "$LINENO"; then :
14846  ac_cv_lib_posix_remove=yes
14847else
14848  ac_cv_lib_posix_remove=no
14849fi
14850rm -f core conftest.err conftest.$ac_objext \
14851    conftest$ac_exeext conftest.$ac_ext
14852LIBS=$ac_check_lib_save_LIBS
14853fi
14854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14855$as_echo "$ac_cv_lib_posix_remove" >&6; }
14856if test "x$ac_cv_lib_posix_remove" = xyes; then :
14857  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14858fi
14859
14860    fi
14861
14862    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14863    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14864if test "x$ac_cv_func_shmat" = xyes; then :
14865
14866fi
14867
14868    if test $ac_cv_func_shmat = no; then
14869      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14870$as_echo_n "checking for shmat in -lipc... " >&6; }
14871if ${ac_cv_lib_ipc_shmat+:} false; then :
14872  $as_echo_n "(cached) " >&6
14873else
14874  ac_check_lib_save_LIBS=$LIBS
14875LIBS="-lipc  $LIBS"
14876cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877/* end confdefs.h.  */
14878
14879/* Override any GCC internal prototype to avoid an error.
14880   Use char because int might match the return type of a GCC
14881   builtin and then its argument prototype would still apply.  */
14882#ifdef __cplusplus
14883extern "C"
14884#endif
14885char shmat ();
14886int
14887main ()
14888{
14889return shmat ();
14890  ;
14891  return 0;
14892}
14893_ACEOF
14894if ac_fn_c_try_link "$LINENO"; then :
14895  ac_cv_lib_ipc_shmat=yes
14896else
14897  ac_cv_lib_ipc_shmat=no
14898fi
14899rm -f core conftest.err conftest.$ac_objext \
14900    conftest$ac_exeext conftest.$ac_ext
14901LIBS=$ac_check_lib_save_LIBS
14902fi
14903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14904$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14905if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
14906  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14907fi
14908
14909    fi
14910  fi
14911
14912  # Check for libraries that X11R6 Xt/Xaw programs need.
14913  ac_save_LDFLAGS=$LDFLAGS
14914  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14915  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14916  # check for ICE first), but we must link in the order -lSM -lICE or
14917  # we get undefined symbols.  So assume we have SM if we have ICE.
14918  # These have to be linked with before -lX11, unlike the other
14919  # libraries we check for below, so use a different variable.
14920  # John Interrante, Karl Berry
14921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14922$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14923if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
14924  $as_echo_n "(cached) " >&6
14925else
14926  ac_check_lib_save_LIBS=$LIBS
14927LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929/* end confdefs.h.  */
14930
14931/* Override any GCC internal prototype to avoid an error.
14932   Use char because int might match the return type of a GCC
14933   builtin and then its argument prototype would still apply.  */
14934#ifdef __cplusplus
14935extern "C"
14936#endif
14937char IceConnectionNumber ();
14938int
14939main ()
14940{
14941return IceConnectionNumber ();
14942  ;
14943  return 0;
14944}
14945_ACEOF
14946if ac_fn_c_try_link "$LINENO"; then :
14947  ac_cv_lib_ICE_IceConnectionNumber=yes
14948else
14949  ac_cv_lib_ICE_IceConnectionNumber=no
14950fi
14951rm -f core conftest.err conftest.$ac_objext \
14952    conftest$ac_exeext conftest.$ac_ext
14953LIBS=$ac_check_lib_save_LIBS
14954fi
14955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14956$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14957if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
14958  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14959fi
14960
14961  LDFLAGS=$ac_save_LDFLAGS
14962
14963fi
14964
14965
14966
14967
14968  LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS=
14969  if test x"$no_x" != x"yes"; then
14970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
14971$as_echo_n "checking for main in -lX11... " >&6; }
14972if ${ac_cv_lib_X11_main+:} false; then :
14973  $as_echo_n "(cached) " >&6
14974else
14975  ac_check_lib_save_LIBS=$LIBS
14976LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS"
14977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978/* end confdefs.h.  */
14979
14980
14981int
14982main ()
14983{
14984return main ();
14985  ;
14986  return 0;
14987}
14988_ACEOF
14989if ac_fn_c_try_link "$LINENO"; then :
14990  ac_cv_lib_X11_main=yes
14991else
14992  ac_cv_lib_X11_main=no
14993fi
14994rm -f core conftest.err conftest.$ac_objext \
14995    conftest$ac_exeext conftest.$ac_ext
14996LIBS=$ac_check_lib_save_LIBS
14997fi
14998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
14999$as_echo "$ac_cv_lib_X11_main" >&6; }
15000if test "x$ac_cv_lib_X11_main" = xyes; then :
15001
15002
15003$as_echo "#define HAVE_LIBX11 1" >>confdefs.h
15004
15005      LIBX11_CFLAGS="$X_CFLAGS"
15006      for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do
15007      	case "$option" in
15008        -L*)
15009          path=`echo $option | sed 's/^-L//'`
15010          if test x"$path" != x""; then
15011            LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path"
15012          fi
15013          ;;
15014        *)
15015          LIBX11_LIBS="$LIBX11_LIBS $option"
15016          ;;
15017        esac
15018      done
15019      if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then
15020        LIBX11_LIBS="$LIBX11_LIBS -lX11"
15021      fi
15022
15023fi
15024
15025  fi
15026
15027
15028
15029
15030
15031
15032
15033  if test x"$no_x" = x"yes"; then
15034    as_fn_error $? "X Window system libraries and header files are required" "$LINENO" 5
15035  fi
15036
15037
15038
15039
15040
15041  LIBSM_CFLAGS= LIBSM_LDFLAGS= LIBSM_LIBS=
15042  if test x"$no_x" != x"yes"; then
15043    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcSaveYourselfDone in -lSM" >&5
15044$as_echo_n "checking for SmcSaveYourselfDone in -lSM... " >&6; }
15045if ${ac_cv_lib_SM_SmcSaveYourselfDone+:} false; then :
15046  $as_echo_n "(cached) " >&6
15047else
15048  ac_check_lib_save_LIBS=$LIBS
15049LIBS="-lSM $LIBX11_CFLAGS $LIBX11_LDFLAGS $LIBX11_LIBS -lICE $LIBS"
15050cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051/* end confdefs.h.  */
15052
15053/* Override any GCC internal prototype to avoid an error.
15054   Use char because int might match the return type of a GCC
15055   builtin and then its argument prototype would still apply.  */
15056#ifdef __cplusplus
15057extern "C"
15058#endif
15059char SmcSaveYourselfDone ();
15060int
15061main ()
15062{
15063return SmcSaveYourselfDone ();
15064  ;
15065  return 0;
15066}
15067_ACEOF
15068if ac_fn_c_try_link "$LINENO"; then :
15069  ac_cv_lib_SM_SmcSaveYourselfDone=yes
15070else
15071  ac_cv_lib_SM_SmcSaveYourselfDone=no
15072fi
15073rm -f core conftest.err conftest.$ac_objext \
15074    conftest$ac_exeext conftest.$ac_ext
15075LIBS=$ac_check_lib_save_LIBS
15076fi
15077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcSaveYourselfDone" >&5
15078$as_echo "$ac_cv_lib_SM_SmcSaveYourselfDone" >&6; }
15079if test "x$ac_cv_lib_SM_SmcSaveYourselfDone" = xyes; then :
15080
15081
15082$as_echo "#define HAVE_LIBSM 1" >>confdefs.h
15083
15084      LIBSM_CFLAGS="$LIBX11_CFLAGS"
15085      LIBSM_LDFLAGS="$LIBX11_LDFLAGS"
15086      LIBSM_LIBS="$LIBX11_LIBS"
15087      if ! echo $LIBSM_LIBS | grep -- '-lSM' >/dev/null; then
15088        LIBSM_LIBS="$LIBSM_LIBS -lSM -lICE"
15089      fi
15090
15091fi
15092
15093  fi
15094
15095
15096
15097
15098
15099ac_LIBS="$LIBS"
15100LIBS="$LIBS $LIBSM_LDFLAGS $LIBSM_LIBS"
15101for ac_func in _IceTransNoListen
15102do :
15103  ac_fn_c_check_func "$LINENO" "_IceTransNoListen" "ac_cv_func__IceTransNoListen"
15104if test "x$ac_cv_func__IceTransNoListen" = xyes; then :
15105  cat >>confdefs.h <<_ACEOF
15106#define HAVE__ICETRANSNOLISTEN 1
15107_ACEOF
15108
15109fi
15110done
15111
15112LIBS="$ac_LIBS"
15113
15114
15115    GETTEXT_PACKAGE=xfce4-session
15116
15117cat >>confdefs.h <<_ACEOF
15118#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15119_ACEOF
15120
15121
15122
15123    ALL_LINGUAS="eo en_GB ca zh_CN nb tr en_CA en_AU fr eu gl be zh_TW th sr fi pl ast it he et pt_BR de sl pa zh_HK nl hy_AM hi ja hu nn si ar ko es kk ur sk am te hr sq pt cs is be@tarask uk hye bn ur_PK id vi da ug lv el sv ru ie lt ms ro bg oc "
15124
15125   for ac_header in locale.h
15126do :
15127  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15128if test "x$ac_cv_header_locale_h" = xyes; then :
15129  cat >>confdefs.h <<_ACEOF
15130#define HAVE_LOCALE_H 1
15131_ACEOF
15132
15133fi
15134
15135done
15136
15137    if test $ac_cv_header_locale_h = yes; then
15138    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15139$as_echo_n "checking for LC_MESSAGES... " >&6; }
15140if ${am_cv_val_LC_MESSAGES+:} false; then :
15141  $as_echo_n "(cached) " >&6
15142else
15143  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144/* end confdefs.h.  */
15145#include <locale.h>
15146int
15147main ()
15148{
15149return LC_MESSAGES
15150  ;
15151  return 0;
15152}
15153_ACEOF
15154if ac_fn_c_try_link "$LINENO"; then :
15155  am_cv_val_LC_MESSAGES=yes
15156else
15157  am_cv_val_LC_MESSAGES=no
15158fi
15159rm -f core conftest.err conftest.$ac_objext \
15160    conftest$ac_exeext conftest.$ac_ext
15161fi
15162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15163$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15164    if test $am_cv_val_LC_MESSAGES = yes; then
15165
15166$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15167
15168    fi
15169  fi
15170     USE_NLS=yes
15171
15172
15173    gt_cv_have_gettext=no
15174
15175    CATOBJEXT=NONE
15176    XGETTEXT=:
15177    INTLLIBS=
15178
15179
15180    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15181$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15182if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15183  $as_echo_n "(cached) " >&6
15184else
15185  gt_save_LIBS="$LIBS"
15186     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15187     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188/* end confdefs.h.  */
15189#include <CoreFoundation/CFPreferences.h>
15190int
15191main ()
15192{
15193CFPreferencesCopyAppValue(NULL, NULL)
15194  ;
15195  return 0;
15196}
15197_ACEOF
15198if ac_fn_c_try_link "$LINENO"; then :
15199  gt_cv_func_CFPreferencesCopyAppValue=yes
15200else
15201  gt_cv_func_CFPreferencesCopyAppValue=no
15202fi
15203rm -f core conftest.err conftest.$ac_objext \
15204    conftest$ac_exeext conftest.$ac_ext
15205     LIBS="$gt_save_LIBS"
15206fi
15207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15208$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15209  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15210
15211$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15212
15213  fi
15214    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15215$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15216if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15217  $as_echo_n "(cached) " >&6
15218else
15219  gt_save_LIBS="$LIBS"
15220     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15221     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222/* end confdefs.h.  */
15223#include <CoreFoundation/CFLocale.h>
15224int
15225main ()
15226{
15227CFLocaleCopyCurrent();
15228  ;
15229  return 0;
15230}
15231_ACEOF
15232if ac_fn_c_try_link "$LINENO"; then :
15233  gt_cv_func_CFLocaleCopyCurrent=yes
15234else
15235  gt_cv_func_CFLocaleCopyCurrent=no
15236fi
15237rm -f core conftest.err conftest.$ac_objext \
15238    conftest$ac_exeext conftest.$ac_ext
15239     LIBS="$gt_save_LIBS"
15240fi
15241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15242$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15243  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15244
15245$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15246
15247  fi
15248  INTL_MACOSX_LIBS=
15249  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15250    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15251  fi
15252
15253
15254
15255    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15256if test "x$ac_cv_header_libintl_h" = xyes; then :
15257  gt_cv_func_dgettext_libintl="no"
15258      libintl_extra_libs=""
15259
15260      #
15261      # First check in libc
15262      #
15263      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15264$as_echo_n "checking for ngettext in libc... " >&6; }
15265if ${gt_cv_func_ngettext_libc+:} false; then :
15266  $as_echo_n "(cached) " >&6
15267else
15268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269/* end confdefs.h.  */
15270
15271#include <libintl.h>
15272
15273int
15274main ()
15275{
15276return !ngettext ("","", 1)
15277  ;
15278  return 0;
15279}
15280_ACEOF
15281if ac_fn_c_try_link "$LINENO"; then :
15282  gt_cv_func_ngettext_libc=yes
15283else
15284  gt_cv_func_ngettext_libc=no
15285fi
15286rm -f core conftest.err conftest.$ac_objext \
15287    conftest$ac_exeext conftest.$ac_ext
15288
15289fi
15290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15291$as_echo "$gt_cv_func_ngettext_libc" >&6; }
15292
15293      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15294	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15295$as_echo_n "checking for dgettext in libc... " >&6; }
15296if ${gt_cv_func_dgettext_libc+:} false; then :
15297  $as_echo_n "(cached) " >&6
15298else
15299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300/* end confdefs.h.  */
15301
15302#include <libintl.h>
15303
15304int
15305main ()
15306{
15307return !dgettext ("","")
15308  ;
15309  return 0;
15310}
15311_ACEOF
15312if ac_fn_c_try_link "$LINENO"; then :
15313  gt_cv_func_dgettext_libc=yes
15314else
15315  gt_cv_func_dgettext_libc=no
15316fi
15317rm -f core conftest.err conftest.$ac_objext \
15318    conftest$ac_exeext conftest.$ac_ext
15319
15320fi
15321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15322$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15323      fi
15324
15325      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15326        for ac_func in bind_textdomain_codeset
15327do :
15328  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15329if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15330  cat >>confdefs.h <<_ACEOF
15331#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15332_ACEOF
15333
15334fi
15335done
15336
15337      fi
15338
15339      #
15340      # If we don't have everything we want, check in libintl
15341      #
15342      if test "$gt_cv_func_dgettext_libc" != "yes" \
15343	 || test "$gt_cv_func_ngettext_libc" != "yes" \
15344         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15345
15346        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15347$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15348if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15349  $as_echo_n "(cached) " >&6
15350else
15351  ac_check_lib_save_LIBS=$LIBS
15352LIBS="-lintl  $LIBS"
15353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354/* end confdefs.h.  */
15355
15356/* Override any GCC internal prototype to avoid an error.
15357   Use char because int might match the return type of a GCC
15358   builtin and then its argument prototype would still apply.  */
15359#ifdef __cplusplus
15360extern "C"
15361#endif
15362char bindtextdomain ();
15363int
15364main ()
15365{
15366return bindtextdomain ();
15367  ;
15368  return 0;
15369}
15370_ACEOF
15371if ac_fn_c_try_link "$LINENO"; then :
15372  ac_cv_lib_intl_bindtextdomain=yes
15373else
15374  ac_cv_lib_intl_bindtextdomain=no
15375fi
15376rm -f core conftest.err conftest.$ac_objext \
15377    conftest$ac_exeext conftest.$ac_ext
15378LIBS=$ac_check_lib_save_LIBS
15379fi
15380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15381$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15382if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15383  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15384$as_echo_n "checking for ngettext in -lintl... " >&6; }
15385if ${ac_cv_lib_intl_ngettext+:} false; then :
15386  $as_echo_n "(cached) " >&6
15387else
15388  ac_check_lib_save_LIBS=$LIBS
15389LIBS="-lintl  $LIBS"
15390cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391/* end confdefs.h.  */
15392
15393/* Override any GCC internal prototype to avoid an error.
15394   Use char because int might match the return type of a GCC
15395   builtin and then its argument prototype would still apply.  */
15396#ifdef __cplusplus
15397extern "C"
15398#endif
15399char ngettext ();
15400int
15401main ()
15402{
15403return ngettext ();
15404  ;
15405  return 0;
15406}
15407_ACEOF
15408if ac_fn_c_try_link "$LINENO"; then :
15409  ac_cv_lib_intl_ngettext=yes
15410else
15411  ac_cv_lib_intl_ngettext=no
15412fi
15413rm -f core conftest.err conftest.$ac_objext \
15414    conftest$ac_exeext conftest.$ac_ext
15415LIBS=$ac_check_lib_save_LIBS
15416fi
15417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15418$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15419if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15420  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15421$as_echo_n "checking for dgettext in -lintl... " >&6; }
15422if ${ac_cv_lib_intl_dgettext+:} false; then :
15423  $as_echo_n "(cached) " >&6
15424else
15425  ac_check_lib_save_LIBS=$LIBS
15426LIBS="-lintl  $LIBS"
15427cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428/* end confdefs.h.  */
15429
15430/* Override any GCC internal prototype to avoid an error.
15431   Use char because int might match the return type of a GCC
15432   builtin and then its argument prototype would still apply.  */
15433#ifdef __cplusplus
15434extern "C"
15435#endif
15436char dgettext ();
15437int
15438main ()
15439{
15440return dgettext ();
15441  ;
15442  return 0;
15443}
15444_ACEOF
15445if ac_fn_c_try_link "$LINENO"; then :
15446  ac_cv_lib_intl_dgettext=yes
15447else
15448  ac_cv_lib_intl_dgettext=no
15449fi
15450rm -f core conftest.err conftest.$ac_objext \
15451    conftest$ac_exeext conftest.$ac_ext
15452LIBS=$ac_check_lib_save_LIBS
15453fi
15454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15455$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15456if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15457  gt_cv_func_dgettext_libintl=yes
15458fi
15459
15460fi
15461
15462fi
15463
15464
15465	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15466	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15467$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15468	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15469$as_echo "" >&6; }
15470  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15471$as_echo_n "checking for ngettext in -lintl... " >&6; }
15472if ${ac_cv_lib_intl_ngettext+:} false; then :
15473  $as_echo_n "(cached) " >&6
15474else
15475  ac_check_lib_save_LIBS=$LIBS
15476LIBS="-lintl -liconv $LIBS"
15477cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478/* end confdefs.h.  */
15479
15480/* Override any GCC internal prototype to avoid an error.
15481   Use char because int might match the return type of a GCC
15482   builtin and then its argument prototype would still apply.  */
15483#ifdef __cplusplus
15484extern "C"
15485#endif
15486char ngettext ();
15487int
15488main ()
15489{
15490return ngettext ();
15491  ;
15492  return 0;
15493}
15494_ACEOF
15495if ac_fn_c_try_link "$LINENO"; then :
15496  ac_cv_lib_intl_ngettext=yes
15497else
15498  ac_cv_lib_intl_ngettext=no
15499fi
15500rm -f core conftest.err conftest.$ac_objext \
15501    conftest$ac_exeext conftest.$ac_ext
15502LIBS=$ac_check_lib_save_LIBS
15503fi
15504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15505$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15506if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15508$as_echo_n "checking for dcgettext in -lintl... " >&6; }
15509if ${ac_cv_lib_intl_dcgettext+:} false; then :
15510  $as_echo_n "(cached) " >&6
15511else
15512  ac_check_lib_save_LIBS=$LIBS
15513LIBS="-lintl -liconv $LIBS"
15514cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515/* end confdefs.h.  */
15516
15517/* Override any GCC internal prototype to avoid an error.
15518   Use char because int might match the return type of a GCC
15519   builtin and then its argument prototype would still apply.  */
15520#ifdef __cplusplus
15521extern "C"
15522#endif
15523char dcgettext ();
15524int
15525main ()
15526{
15527return dcgettext ();
15528  ;
15529  return 0;
15530}
15531_ACEOF
15532if ac_fn_c_try_link "$LINENO"; then :
15533  ac_cv_lib_intl_dcgettext=yes
15534else
15535  ac_cv_lib_intl_dcgettext=no
15536fi
15537rm -f core conftest.err conftest.$ac_objext \
15538    conftest$ac_exeext conftest.$ac_ext
15539LIBS=$ac_check_lib_save_LIBS
15540fi
15541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15542$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15543if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15544  gt_cv_func_dgettext_libintl=yes
15545			libintl_extra_libs=-liconv
15546else
15547  :
15548fi
15549
15550else
15551  :
15552fi
15553
15554        fi
15555
15556        #
15557        # If we found libintl, then check in it for bind_textdomain_codeset();
15558        # we'll prefer libc if neither have bind_textdomain_codeset(),
15559        # and both have dgettext and ngettext
15560        #
15561        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15562          glib_save_LIBS="$LIBS"
15563          LIBS="$LIBS -lintl $libintl_extra_libs"
15564          unset ac_cv_func_bind_textdomain_codeset
15565          for ac_func in bind_textdomain_codeset
15566do :
15567  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15568if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15569  cat >>confdefs.h <<_ACEOF
15570#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15571_ACEOF
15572
15573fi
15574done
15575
15576          LIBS="$glib_save_LIBS"
15577
15578          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15579            gt_cv_func_dgettext_libc=no
15580          else
15581            if test "$gt_cv_func_dgettext_libc" = "yes" \
15582		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
15583              gt_cv_func_dgettext_libintl=no
15584            fi
15585          fi
15586        fi
15587      fi
15588
15589      if test "$gt_cv_func_dgettext_libc" = "yes" \
15590	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
15591        gt_cv_have_gettext=yes
15592      fi
15593
15594      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15595        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
15596      fi
15597
15598      if test "$gt_cv_have_gettext" = "yes"; then
15599
15600$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15601
15602	# Extract the first word of "msgfmt", so it can be a program name with args.
15603set dummy msgfmt; ac_word=$2
15604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15605$as_echo_n "checking for $ac_word... " >&6; }
15606if ${ac_cv_path_MSGFMT+:} false; then :
15607  $as_echo_n "(cached) " >&6
15608else
15609  case "$MSGFMT" in
15610  /*)
15611  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15612  ;;
15613  *)
15614  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15615  for ac_dir in $PATH; do
15616    test -z "$ac_dir" && ac_dir=.
15617    if test -f $ac_dir/$ac_word; then
15618      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15619	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15620	break
15621      fi
15622    fi
15623  done
15624  IFS="$ac_save_ifs"
15625  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15626  ;;
15627esac
15628fi
15629MSGFMT="$ac_cv_path_MSGFMT"
15630if test "$MSGFMT" != "no"; then
15631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15632$as_echo "$MSGFMT" >&6; }
15633else
15634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635$as_echo "no" >&6; }
15636fi
15637	if test "$MSGFMT" != "no"; then
15638          glib_save_LIBS="$LIBS"
15639          LIBS="$LIBS $INTLLIBS"
15640	  for ac_func in dcgettext
15641do :
15642  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15643if test "x$ac_cv_func_dcgettext" = xyes; then :
15644  cat >>confdefs.h <<_ACEOF
15645#define HAVE_DCGETTEXT 1
15646_ACEOF
15647
15648fi
15649done
15650
15651	  MSGFMT_OPTS=
15652	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15653$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15654	  cat >conftest.foo <<_ACEOF
15655
15656msgid ""
15657msgstr ""
15658"Content-Type: text/plain; charset=UTF-8\n"
15659"Project-Id-Version: test 1.0\n"
15660"PO-Revision-Date: 2007-02-15 12:01+0100\n"
15661"Last-Translator: test <foo@bar.xx>\n"
15662"Language-Team: C <LL@li.org>\n"
15663"MIME-Version: 1.0\n"
15664"Content-Transfer-Encoding: 8bit\n"
15665
15666_ACEOF
15667if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15668  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15669  ac_status=$?
15670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671  test $ac_status = 0; }; then
15672  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15673$as_echo "yes" >&6; }
15674else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15675$as_echo "no" >&6; }
15676echo "$as_me: failed input was:" >&5
15677sed 's/^/| /' conftest.foo >&5
15678fi
15679
15680	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
15681set dummy gmsgfmt; ac_word=$2
15682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15683$as_echo_n "checking for $ac_word... " >&6; }
15684if ${ac_cv_path_GMSGFMT+:} false; then :
15685  $as_echo_n "(cached) " >&6
15686else
15687  case $GMSGFMT in
15688  [\\/]* | ?:[\\/]*)
15689  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15690  ;;
15691  *)
15692  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15693for as_dir in $PATH
15694do
15695  IFS=$as_save_IFS
15696  test -z "$as_dir" && as_dir=.
15697    for ac_exec_ext in '' $ac_executable_extensions; do
15698  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15699    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15700    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15701    break 2
15702  fi
15703done
15704  done
15705IFS=$as_save_IFS
15706
15707  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15708  ;;
15709esac
15710fi
15711GMSGFMT=$ac_cv_path_GMSGFMT
15712if test -n "$GMSGFMT"; then
15713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15714$as_echo "$GMSGFMT" >&6; }
15715else
15716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15717$as_echo "no" >&6; }
15718fi
15719
15720
15721	  # Extract the first word of "xgettext", so it can be a program name with args.
15722set dummy xgettext; ac_word=$2
15723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15724$as_echo_n "checking for $ac_word... " >&6; }
15725if ${ac_cv_path_XGETTEXT+:} false; then :
15726  $as_echo_n "(cached) " >&6
15727else
15728  case "$XGETTEXT" in
15729  /*)
15730  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15731  ;;
15732  *)
15733  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15734  for ac_dir in $PATH; do
15735    test -z "$ac_dir" && ac_dir=.
15736    if test -f $ac_dir/$ac_word; then
15737      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15738	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15739	break
15740      fi
15741    fi
15742  done
15743  IFS="$ac_save_ifs"
15744  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15745  ;;
15746esac
15747fi
15748XGETTEXT="$ac_cv_path_XGETTEXT"
15749if test "$XGETTEXT" != ":"; then
15750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15751$as_echo "$XGETTEXT" >&6; }
15752else
15753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15754$as_echo "no" >&6; }
15755fi
15756
15757	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758/* end confdefs.h.  */
15759
15760int
15761main ()
15762{
15763extern int _nl_msg_cat_cntr;
15764			 return _nl_msg_cat_cntr
15765  ;
15766  return 0;
15767}
15768_ACEOF
15769if ac_fn_c_try_link "$LINENO"; then :
15770  CATOBJEXT=.gmo
15771             DATADIRNAME=share
15772else
15773  case $host in
15774	    *-*-solaris*)
15775	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15776if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15777  CATOBJEXT=.gmo
15778               DATADIRNAME=share
15779else
15780  CATOBJEXT=.mo
15781               DATADIRNAME=lib
15782fi
15783
15784	    ;;
15785	    *-*-openbsd*)
15786	    CATOBJEXT=.mo
15787            DATADIRNAME=share
15788	    ;;
15789	    *)
15790	    CATOBJEXT=.mo
15791            DATADIRNAME=lib
15792	    ;;
15793	    esac
15794fi
15795rm -f core conftest.err conftest.$ac_objext \
15796    conftest$ac_exeext conftest.$ac_ext
15797          LIBS="$glib_save_LIBS"
15798	  INSTOBJEXT=.mo
15799	else
15800	  gt_cv_have_gettext=no
15801	fi
15802      fi
15803
15804fi
15805
15806
15807
15808    if test "$gt_cv_have_gettext" = "yes" ; then
15809
15810$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15811
15812    fi
15813
15814        if test "$XGETTEXT" != ":"; then
15815                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15816        : ;
15817      else
15818        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15819$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15820        XGETTEXT=":"
15821      fi
15822    fi
15823
15824    # We need to process the po/ directory.
15825    POSUB=po
15826
15827    ac_config_commands="$ac_config_commands default-1"
15828
15829
15830                for lang in $ALL_LINGUAS; do
15831      GMOFILES="$GMOFILES $lang.gmo"
15832      POFILES="$POFILES $lang.po"
15833    done
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847   if test "$gt_cv_have_gettext" = "yes"; then
15848     if test "x$ALL_LINGUAS" = "x"; then
15849       LINGUAS=
15850     else
15851       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15852$as_echo_n "checking for catalogs to be installed... " >&6; }
15853       NEW_LINGUAS=
15854       for presentlang in $ALL_LINGUAS; do
15855         useit=no
15856         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15857           desiredlanguages="$LINGUAS"
15858         else
15859           desiredlanguages="$ALL_LINGUAS"
15860         fi
15861         for desiredlang in $desiredlanguages; do
15862 	   # Use the presentlang catalog if desiredlang is
15863           #   a. equal to presentlang, or
15864           #   b. a variant of presentlang (because in this case,
15865           #      presentlang can be used as a fallback for messages
15866           #      which are not translated in the desiredlang catalog).
15867           case "$desiredlang" in
15868             "$presentlang"*) useit=yes;;
15869           esac
15870         done
15871         if test $useit = yes; then
15872           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15873         fi
15874       done
15875       LINGUAS=$NEW_LINGUAS
15876       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15877$as_echo "$LINGUAS" >&6; }
15878     fi
15879
15880          if test -n "$LINGUAS"; then
15881       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15882     fi
15883   fi
15884
15885            MKINSTALLDIRS=
15886   if test -n "$ac_aux_dir"; then
15887     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15888   fi
15889   if test -z "$MKINSTALLDIRS"; then
15890     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15891   fi
15892
15893
15894         test -d po || mkdir po
15895   if test "x$srcdir" != "x."; then
15896     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15897       posrcprefix="$srcdir/"
15898     else
15899       posrcprefix="../$srcdir/"
15900     fi
15901   else
15902     posrcprefix="../"
15903   fi
15904   rm -f po/POTFILES
15905   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15906	< $srcdir/po/POTFILES.in > po/POTFILES
15907
15908
15909    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15910if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15911
15912fi
15913
15914
15915    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
15916$as_echo_n "checking for locales directory... " >&6; }
15917
15918# Check whether --with-locales-dir was given.
15919if test "${with_locales_dir+set}" = set; then :
15920  withval=$with_locales_dir; localedir=$withval
15921else
15922
15923    if test x"$CATOBJEXT" = x".mo"; then
15924      localedir=$libdir/locale
15925    else
15926      localedir=$datarootdir/locale
15927    fi
15928
15929fi
15930
15931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
15932$as_echo "$localedir" >&6; }
15933
15934
15935    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
15936$as_echo_n "checking for additional xgettext flags... " >&6; }
15937  if test x"$XGETTEXT_ARGS" = x""; then
15938    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
15939  else
15940    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
15941  fi
15942
15943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
15944$as_echo "$XGETTEXT_ARGS" >&6; }
15945
15946
15947
15948
15949  # minimum supported version of pkg-config
15950  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15961	if test -n "$ac_tool_prefix"; then
15962  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15963set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15965$as_echo_n "checking for $ac_word... " >&6; }
15966if ${ac_cv_path_PKG_CONFIG+:} false; then :
15967  $as_echo_n "(cached) " >&6
15968else
15969  case $PKG_CONFIG in
15970  [\\/]* | ?:[\\/]*)
15971  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15972  ;;
15973  *)
15974  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15975for as_dir in $PATH
15976do
15977  IFS=$as_save_IFS
15978  test -z "$as_dir" && as_dir=.
15979    for ac_exec_ext in '' $ac_executable_extensions; do
15980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15981    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15983    break 2
15984  fi
15985done
15986  done
15987IFS=$as_save_IFS
15988
15989  ;;
15990esac
15991fi
15992PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15993if test -n "$PKG_CONFIG"; then
15994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15995$as_echo "$PKG_CONFIG" >&6; }
15996else
15997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15998$as_echo "no" >&6; }
15999fi
16000
16001
16002fi
16003if test -z "$ac_cv_path_PKG_CONFIG"; then
16004  ac_pt_PKG_CONFIG=$PKG_CONFIG
16005  # Extract the first word of "pkg-config", so it can be a program name with args.
16006set dummy pkg-config; ac_word=$2
16007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16008$as_echo_n "checking for $ac_word... " >&6; }
16009if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16010  $as_echo_n "(cached) " >&6
16011else
16012  case $ac_pt_PKG_CONFIG in
16013  [\\/]* | ?:[\\/]*)
16014  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16015  ;;
16016  *)
16017  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018for as_dir in $PATH
16019do
16020  IFS=$as_save_IFS
16021  test -z "$as_dir" && as_dir=.
16022    for ac_exec_ext in '' $ac_executable_extensions; do
16023  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16024    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16025    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026    break 2
16027  fi
16028done
16029  done
16030IFS=$as_save_IFS
16031
16032  ;;
16033esac
16034fi
16035ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16036if test -n "$ac_pt_PKG_CONFIG"; then
16037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16038$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16039else
16040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041$as_echo "no" >&6; }
16042fi
16043
16044  if test "x$ac_pt_PKG_CONFIG" = x; then
16045    PKG_CONFIG=""
16046  else
16047    case $cross_compiling:$ac_tool_warned in
16048yes:)
16049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16051ac_tool_warned=yes ;;
16052esac
16053    PKG_CONFIG=$ac_pt_PKG_CONFIG
16054  fi
16055else
16056  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16057fi
16058
16059fi
16060if test -n "$PKG_CONFIG"; then
16061	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
16062	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16063$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16064	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16065		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16066$as_echo "yes" >&6; }
16067	else
16068		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16069$as_echo "no" >&6; }
16070		PKG_CONFIG=""
16071	fi
16072fi
16073
16074      if test x"$PKG_CONFIG" = x""; then
16075        echo
16076        echo "*** Your version of pkg-config is too old. You need atleast"
16077        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
16078        echo "*** from the freedesktop.org software repository at"
16079        echo "***"
16080        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
16081        echo "***"
16082        exit 1;
16083      fi
16084
16085
16086
16087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.15.2" >&5
16088$as_echo_n "checking for libxfce4util-1.0 >= 4.15.2... " >&6; }
16089  if $PKG_CONFIG "--atleast-version=4.15.2" "libxfce4util-1.0" >/dev/null 2>&1; then
16090    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
16091    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
16092$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
16093
16094    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
16095$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
16096    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
16097    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
16098$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
16099
16100    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
16101$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
16102    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
16103    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
16104$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
16105
16106    LIBXFCE4UTIL_REQUIRED_VERSION=4.15.2
16107
16108
16109
16110
16111
16112
16113
16114  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
16115    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
16116    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16117$as_echo "found, but $xdt_cv_version" >&6; }
16118
16119
16120      echo "*** The required package libxfce4util-1.0 was found on your system,"
16121      echo "*** but the installed version ($xdt_cv_version) is too old."
16122      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.15.2, or adjust"
16123      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
16124      echo "*** the new version of the package in a nonstandard prefix so"
16125      echo "*** pkg-config is able to find it."
16126      exit 1
16127
16128  else
16129    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16130$as_echo "not found" >&6; }
16131
16132
16133      echo "*** The required package libxfce4util-1.0 was not found on your system."
16134      echo "*** Please install libxfce4util-1.0 (atleast version 4.15.2) or adjust"
16135      echo "*** the PKG_CONFIG_PATH environment variable if you"
16136      echo "*** installed the package in a nonstandard prefix so that"
16137      echo "*** pkg-config is able to find it."
16138      exit 1
16139
16140  fi
16141
16142
16143
16144  # minimum supported version of pkg-config
16145  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16156	if test -n "$ac_tool_prefix"; then
16157  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16158set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16160$as_echo_n "checking for $ac_word... " >&6; }
16161if ${ac_cv_path_PKG_CONFIG+:} false; then :
16162  $as_echo_n "(cached) " >&6
16163else
16164  case $PKG_CONFIG in
16165  [\\/]* | ?:[\\/]*)
16166  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16167  ;;
16168  *)
16169  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16170for as_dir in $PATH
16171do
16172  IFS=$as_save_IFS
16173  test -z "$as_dir" && as_dir=.
16174    for ac_exec_ext in '' $ac_executable_extensions; do
16175  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16176    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16177    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16178    break 2
16179  fi
16180done
16181  done
16182IFS=$as_save_IFS
16183
16184  ;;
16185esac
16186fi
16187PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16188if test -n "$PKG_CONFIG"; then
16189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16190$as_echo "$PKG_CONFIG" >&6; }
16191else
16192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16193$as_echo "no" >&6; }
16194fi
16195
16196
16197fi
16198if test -z "$ac_cv_path_PKG_CONFIG"; then
16199  ac_pt_PKG_CONFIG=$PKG_CONFIG
16200  # Extract the first word of "pkg-config", so it can be a program name with args.
16201set dummy pkg-config; ac_word=$2
16202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16203$as_echo_n "checking for $ac_word... " >&6; }
16204if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16205  $as_echo_n "(cached) " >&6
16206else
16207  case $ac_pt_PKG_CONFIG in
16208  [\\/]* | ?:[\\/]*)
16209  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16210  ;;
16211  *)
16212  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16213for as_dir in $PATH
16214do
16215  IFS=$as_save_IFS
16216  test -z "$as_dir" && as_dir=.
16217    for ac_exec_ext in '' $ac_executable_extensions; do
16218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16219    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16221    break 2
16222  fi
16223done
16224  done
16225IFS=$as_save_IFS
16226
16227  ;;
16228esac
16229fi
16230ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16231if test -n "$ac_pt_PKG_CONFIG"; then
16232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16233$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16234else
16235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16236$as_echo "no" >&6; }
16237fi
16238
16239  if test "x$ac_pt_PKG_CONFIG" = x; then
16240    PKG_CONFIG=""
16241  else
16242    case $cross_compiling:$ac_tool_warned in
16243yes:)
16244{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16245$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16246ac_tool_warned=yes ;;
16247esac
16248    PKG_CONFIG=$ac_pt_PKG_CONFIG
16249  fi
16250else
16251  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16252fi
16253
16254fi
16255if test -n "$PKG_CONFIG"; then
16256	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
16257	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16258$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16259	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16260		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16261$as_echo "yes" >&6; }
16262	else
16263		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16264$as_echo "no" >&6; }
16265		PKG_CONFIG=""
16266	fi
16267fi
16268
16269      if test x"$PKG_CONFIG" = x""; then
16270        echo
16271        echo "*** Your version of pkg-config is too old. You need atleast"
16272        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
16273        echo "*** from the freedesktop.org software repository at"
16274        echo "***"
16275        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
16276        echo "***"
16277        exit 1;
16278      fi
16279
16280
16281
16282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.15.1" >&5
16283$as_echo_n "checking for libxfce4ui-2 >= 4.15.1... " >&6; }
16284  if $PKG_CONFIG "--atleast-version=4.15.1" "libxfce4ui-2" >/dev/null 2>&1; then
16285    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
16286    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
16287$as_echo "$LIBXFCE4UI_VERSION" >&6; }
16288
16289    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
16290$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
16291    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
16292    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
16293$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
16294
16295    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
16296$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
16297    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
16298    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
16299$as_echo "$LIBXFCE4UI_LIBS" >&6; }
16300
16301    LIBXFCE4UI_REQUIRED_VERSION=4.15.1
16302
16303
16304
16305
16306
16307
16308
16309  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
16310    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
16311    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16312$as_echo "found, but $xdt_cv_version" >&6; }
16313
16314
16315      echo "*** The required package libxfce4ui-2 was found on your system,"
16316      echo "*** but the installed version ($xdt_cv_version) is too old."
16317      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.15.1, or adjust"
16318      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
16319      echo "*** the new version of the package in a nonstandard prefix so"
16320      echo "*** pkg-config is able to find it."
16321      exit 1
16322
16323  else
16324    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16325$as_echo "not found" >&6; }
16326
16327
16328      echo "*** The required package libxfce4ui-2 was not found on your system."
16329      echo "*** Please install libxfce4ui-2 (atleast version 4.15.1) or adjust"
16330      echo "*** the PKG_CONFIG_PATH environment variable if you"
16331      echo "*** installed the package in a nonstandard prefix so that"
16332      echo "*** pkg-config is able to find it."
16333      exit 1
16334
16335  fi
16336
16337
16338
16339  # minimum supported version of pkg-config
16340  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16351	if test -n "$ac_tool_prefix"; then
16352  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16353set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16355$as_echo_n "checking for $ac_word... " >&6; }
16356if ${ac_cv_path_PKG_CONFIG+:} false; then :
16357  $as_echo_n "(cached) " >&6
16358else
16359  case $PKG_CONFIG in
16360  [\\/]* | ?:[\\/]*)
16361  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16362  ;;
16363  *)
16364  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16365for as_dir in $PATH
16366do
16367  IFS=$as_save_IFS
16368  test -z "$as_dir" && as_dir=.
16369    for ac_exec_ext in '' $ac_executable_extensions; do
16370  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16371    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16372    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16373    break 2
16374  fi
16375done
16376  done
16377IFS=$as_save_IFS
16378
16379  ;;
16380esac
16381fi
16382PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16383if test -n "$PKG_CONFIG"; then
16384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16385$as_echo "$PKG_CONFIG" >&6; }
16386else
16387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16388$as_echo "no" >&6; }
16389fi
16390
16391
16392fi
16393if test -z "$ac_cv_path_PKG_CONFIG"; then
16394  ac_pt_PKG_CONFIG=$PKG_CONFIG
16395  # Extract the first word of "pkg-config", so it can be a program name with args.
16396set dummy pkg-config; ac_word=$2
16397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16398$as_echo_n "checking for $ac_word... " >&6; }
16399if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16400  $as_echo_n "(cached) " >&6
16401else
16402  case $ac_pt_PKG_CONFIG in
16403  [\\/]* | ?:[\\/]*)
16404  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16405  ;;
16406  *)
16407  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16408for as_dir in $PATH
16409do
16410  IFS=$as_save_IFS
16411  test -z "$as_dir" && as_dir=.
16412    for ac_exec_ext in '' $ac_executable_extensions; do
16413  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16414    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16415    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16416    break 2
16417  fi
16418done
16419  done
16420IFS=$as_save_IFS
16421
16422  ;;
16423esac
16424fi
16425ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16426if test -n "$ac_pt_PKG_CONFIG"; then
16427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16428$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16429else
16430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16431$as_echo "no" >&6; }
16432fi
16433
16434  if test "x$ac_pt_PKG_CONFIG" = x; then
16435    PKG_CONFIG=""
16436  else
16437    case $cross_compiling:$ac_tool_warned in
16438yes:)
16439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16441ac_tool_warned=yes ;;
16442esac
16443    PKG_CONFIG=$ac_pt_PKG_CONFIG
16444  fi
16445else
16446  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16447fi
16448
16449fi
16450if test -n "$PKG_CONFIG"; then
16451	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
16452	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16453$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16454	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16455		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16456$as_echo "yes" >&6; }
16457	else
16458		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459$as_echo "no" >&6; }
16460		PKG_CONFIG=""
16461	fi
16462fi
16463
16464      if test x"$PKG_CONFIG" = x""; then
16465        echo
16466        echo "*** Your version of pkg-config is too old. You need atleast"
16467        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
16468        echo "*** from the freedesktop.org software repository at"
16469        echo "***"
16470        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
16471        echo "***"
16472        exit 1;
16473      fi
16474
16475
16476
16477  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5
16478$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; }
16479  if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then
16480    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
16481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
16482$as_echo "$GTK_VERSION" >&6; }
16483
16484    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
16485$as_echo_n "checking GTK_CFLAGS... " >&6; }
16486    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
16487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
16488$as_echo "$GTK_CFLAGS" >&6; }
16489
16490    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
16491$as_echo_n "checking GTK_LIBS... " >&6; }
16492    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
16493    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
16494$as_echo "$GTK_LIBS" >&6; }
16495
16496    GTK_REQUIRED_VERSION=3.22.0
16497
16498
16499
16500
16501
16502
16503
16504  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
16505    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
16506    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16507$as_echo "found, but $xdt_cv_version" >&6; }
16508
16509
16510      echo "*** The required package gtk+-3.0 was found on your system,"
16511      echo "*** but the installed version ($xdt_cv_version) is too old."
16512      echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust"
16513      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
16514      echo "*** the new version of the package in a nonstandard prefix so"
16515      echo "*** pkg-config is able to find it."
16516      exit 1
16517
16518  else
16519    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16520$as_echo "not found" >&6; }
16521
16522
16523      echo "*** The required package gtk+-3.0 was not found on your system."
16524      echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust"
16525      echo "*** the PKG_CONFIG_PATH environment variable if you"
16526      echo "*** installed the package in a nonstandard prefix so that"
16527      echo "*** pkg-config is able to find it."
16528      exit 1
16529
16530  fi
16531
16532
16533
16534  # minimum supported version of pkg-config
16535  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16546	if test -n "$ac_tool_prefix"; then
16547  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16548set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16550$as_echo_n "checking for $ac_word... " >&6; }
16551if ${ac_cv_path_PKG_CONFIG+:} false; then :
16552  $as_echo_n "(cached) " >&6
16553else
16554  case $PKG_CONFIG in
16555  [\\/]* | ?:[\\/]*)
16556  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16557  ;;
16558  *)
16559  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560for as_dir in $PATH
16561do
16562  IFS=$as_save_IFS
16563  test -z "$as_dir" && as_dir=.
16564    for ac_exec_ext in '' $ac_executable_extensions; do
16565  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16566    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16567    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16568    break 2
16569  fi
16570done
16571  done
16572IFS=$as_save_IFS
16573
16574  ;;
16575esac
16576fi
16577PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16578if test -n "$PKG_CONFIG"; then
16579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16580$as_echo "$PKG_CONFIG" >&6; }
16581else
16582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16583$as_echo "no" >&6; }
16584fi
16585
16586
16587fi
16588if test -z "$ac_cv_path_PKG_CONFIG"; then
16589  ac_pt_PKG_CONFIG=$PKG_CONFIG
16590  # Extract the first word of "pkg-config", so it can be a program name with args.
16591set dummy pkg-config; ac_word=$2
16592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16593$as_echo_n "checking for $ac_word... " >&6; }
16594if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16595  $as_echo_n "(cached) " >&6
16596else
16597  case $ac_pt_PKG_CONFIG in
16598  [\\/]* | ?:[\\/]*)
16599  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16600  ;;
16601  *)
16602  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16603for as_dir in $PATH
16604do
16605  IFS=$as_save_IFS
16606  test -z "$as_dir" && as_dir=.
16607    for ac_exec_ext in '' $ac_executable_extensions; do
16608  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16609    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16610    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16611    break 2
16612  fi
16613done
16614  done
16615IFS=$as_save_IFS
16616
16617  ;;
16618esac
16619fi
16620ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16621if test -n "$ac_pt_PKG_CONFIG"; then
16622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16623$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16624else
16625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16626$as_echo "no" >&6; }
16627fi
16628
16629  if test "x$ac_pt_PKG_CONFIG" = x; then
16630    PKG_CONFIG=""
16631  else
16632    case $cross_compiling:$ac_tool_warned in
16633yes:)
16634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16636ac_tool_warned=yes ;;
16637esac
16638    PKG_CONFIG=$ac_pt_PKG_CONFIG
16639  fi
16640else
16641  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16642fi
16643
16644fi
16645if test -n "$PKG_CONFIG"; then
16646	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
16647	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16648$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16649	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16650		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16651$as_echo "yes" >&6; }
16652	else
16653		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16654$as_echo "no" >&6; }
16655		PKG_CONFIG=""
16656	fi
16657fi
16658
16659      if test x"$PKG_CONFIG" = x""; then
16660        echo
16661        echo "*** Your version of pkg-config is too old. You need atleast"
16662        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
16663        echo "*** from the freedesktop.org software repository at"
16664        echo "***"
16665        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
16666        echo "***"
16667        exit 1;
16668      fi
16669
16670
16671
16672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.50.0" >&5
16673$as_echo_n "checking for gio-2.0 >= 2.50.0... " >&6; }
16674  if $PKG_CONFIG "--atleast-version=2.50.0" "gio-2.0" >/dev/null 2>&1; then
16675    GIO_VERSION=`$PKG_CONFIG --modversion "gio-2.0"`
16676    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_VERSION" >&5
16677$as_echo "$GIO_VERSION" >&6; }
16678
16679    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_CFLAGS" >&5
16680$as_echo_n "checking GIO_CFLAGS... " >&6; }
16681    GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0"`
16682    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_CFLAGS" >&5
16683$as_echo "$GIO_CFLAGS" >&6; }
16684
16685    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_LIBS" >&5
16686$as_echo_n "checking GIO_LIBS... " >&6; }
16687    GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0"`
16688    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_LIBS" >&5
16689$as_echo "$GIO_LIBS" >&6; }
16690
16691    GIO_REQUIRED_VERSION=2.50.0
16692
16693
16694
16695
16696
16697
16698
16699  elif $PKG_CONFIG --exists "gio-2.0" >/dev/null 2>&1; then
16700    xdt_cv_version=`$PKG_CONFIG --modversion "gio-2.0"`
16701    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16702$as_echo "found, but $xdt_cv_version" >&6; }
16703
16704
16705      echo "*** The required package gio-2.0 was found on your system,"
16706      echo "*** but the installed version ($xdt_cv_version) is too old."
16707      echo "*** Please upgrade gio-2.0 to atleast version 2.50.0, or adjust"
16708      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
16709      echo "*** the new version of the package in a nonstandard prefix so"
16710      echo "*** pkg-config is able to find it."
16711      exit 1
16712
16713  else
16714    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16715$as_echo "not found" >&6; }
16716
16717
16718      echo "*** The required package gio-2.0 was not found on your system."
16719      echo "*** Please install gio-2.0 (atleast version 2.50.0) or adjust"
16720      echo "*** the PKG_CONFIG_PATH environment variable if you"
16721      echo "*** installed the package in a nonstandard prefix so that"
16722      echo "*** pkg-config is able to find it."
16723      exit 1
16724
16725  fi
16726
16727
16728
16729  # minimum supported version of pkg-config
16730  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16741	if test -n "$ac_tool_prefix"; then
16742  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16743set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16745$as_echo_n "checking for $ac_word... " >&6; }
16746if ${ac_cv_path_PKG_CONFIG+:} false; then :
16747  $as_echo_n "(cached) " >&6
16748else
16749  case $PKG_CONFIG in
16750  [\\/]* | ?:[\\/]*)
16751  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16752  ;;
16753  *)
16754  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16755for as_dir in $PATH
16756do
16757  IFS=$as_save_IFS
16758  test -z "$as_dir" && as_dir=.
16759    for ac_exec_ext in '' $ac_executable_extensions; do
16760  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16761    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16762    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16763    break 2
16764  fi
16765done
16766  done
16767IFS=$as_save_IFS
16768
16769  ;;
16770esac
16771fi
16772PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16773if test -n "$PKG_CONFIG"; then
16774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16775$as_echo "$PKG_CONFIG" >&6; }
16776else
16777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16778$as_echo "no" >&6; }
16779fi
16780
16781
16782fi
16783if test -z "$ac_cv_path_PKG_CONFIG"; then
16784  ac_pt_PKG_CONFIG=$PKG_CONFIG
16785  # Extract the first word of "pkg-config", so it can be a program name with args.
16786set dummy pkg-config; ac_word=$2
16787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16788$as_echo_n "checking for $ac_word... " >&6; }
16789if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16790  $as_echo_n "(cached) " >&6
16791else
16792  case $ac_pt_PKG_CONFIG in
16793  [\\/]* | ?:[\\/]*)
16794  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16795  ;;
16796  *)
16797  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16798for as_dir in $PATH
16799do
16800  IFS=$as_save_IFS
16801  test -z "$as_dir" && as_dir=.
16802    for ac_exec_ext in '' $ac_executable_extensions; do
16803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16804    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16806    break 2
16807  fi
16808done
16809  done
16810IFS=$as_save_IFS
16811
16812  ;;
16813esac
16814fi
16815ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16816if test -n "$ac_pt_PKG_CONFIG"; then
16817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16818$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16819else
16820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16821$as_echo "no" >&6; }
16822fi
16823
16824  if test "x$ac_pt_PKG_CONFIG" = x; then
16825    PKG_CONFIG=""
16826  else
16827    case $cross_compiling:$ac_tool_warned in
16828yes:)
16829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16831ac_tool_warned=yes ;;
16832esac
16833    PKG_CONFIG=$ac_pt_PKG_CONFIG
16834  fi
16835else
16836  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16837fi
16838
16839fi
16840if test -n "$PKG_CONFIG"; then
16841	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
16842	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16843$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16844	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16845		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16846$as_echo "yes" >&6; }
16847	else
16848		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16849$as_echo "no" >&6; }
16850		PKG_CONFIG=""
16851	fi
16852fi
16853
16854      if test x"$PKG_CONFIG" = x""; then
16855        echo
16856        echo "*** Your version of pkg-config is too old. You need atleast"
16857        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
16858        echo "*** from the freedesktop.org software repository at"
16859        echo "***"
16860        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
16861        echo "***"
16862        exit 1;
16863      fi
16864
16865
16866
16867  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= 2.50.0" >&5
16868$as_echo_n "checking for gmodule-2.0 >= 2.50.0... " >&6; }
16869  if $PKG_CONFIG "--atleast-version=2.50.0" "gmodule-2.0" >/dev/null 2>&1; then
16870    GMODULE_VERSION=`$PKG_CONFIG --modversion "gmodule-2.0"`
16871    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_VERSION" >&5
16872$as_echo "$GMODULE_VERSION" >&6; }
16873
16874    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_CFLAGS" >&5
16875$as_echo_n "checking GMODULE_CFLAGS... " >&6; }
16876    GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0"`
16877    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_CFLAGS" >&5
16878$as_echo "$GMODULE_CFLAGS" >&6; }
16879
16880    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_LIBS" >&5
16881$as_echo_n "checking GMODULE_LIBS... " >&6; }
16882    GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0"`
16883    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_LIBS" >&5
16884$as_echo "$GMODULE_LIBS" >&6; }
16885
16886    GMODULE_REQUIRED_VERSION=2.50.0
16887
16888
16889
16890
16891
16892
16893
16894  elif $PKG_CONFIG --exists "gmodule-2.0" >/dev/null 2>&1; then
16895    xdt_cv_version=`$PKG_CONFIG --modversion "gmodule-2.0"`
16896    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
16897$as_echo "found, but $xdt_cv_version" >&6; }
16898
16899
16900      echo "*** The required package gmodule-2.0 was found on your system,"
16901      echo "*** but the installed version ($xdt_cv_version) is too old."
16902      echo "*** Please upgrade gmodule-2.0 to atleast version 2.50.0, or adjust"
16903      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
16904      echo "*** the new version of the package in a nonstandard prefix so"
16905      echo "*** pkg-config is able to find it."
16906      exit 1
16907
16908  else
16909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16910$as_echo "not found" >&6; }
16911
16912
16913      echo "*** The required package gmodule-2.0 was not found on your system."
16914      echo "*** Please install gmodule-2.0 (atleast version 2.50.0) or adjust"
16915      echo "*** the PKG_CONFIG_PATH environment variable if you"
16916      echo "*** installed the package in a nonstandard prefix so that"
16917      echo "*** pkg-config is able to find it."
16918      exit 1
16919
16920  fi
16921
16922
16923
16924  # minimum supported version of pkg-config
16925  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16936	if test -n "$ac_tool_prefix"; then
16937  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16938set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16940$as_echo_n "checking for $ac_word... " >&6; }
16941if ${ac_cv_path_PKG_CONFIG+:} false; then :
16942  $as_echo_n "(cached) " >&6
16943else
16944  case $PKG_CONFIG in
16945  [\\/]* | ?:[\\/]*)
16946  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16947  ;;
16948  *)
16949  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16950for as_dir in $PATH
16951do
16952  IFS=$as_save_IFS
16953  test -z "$as_dir" && as_dir=.
16954    for ac_exec_ext in '' $ac_executable_extensions; do
16955  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16956    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16957    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16958    break 2
16959  fi
16960done
16961  done
16962IFS=$as_save_IFS
16963
16964  ;;
16965esac
16966fi
16967PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16968if test -n "$PKG_CONFIG"; then
16969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16970$as_echo "$PKG_CONFIG" >&6; }
16971else
16972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16973$as_echo "no" >&6; }
16974fi
16975
16976
16977fi
16978if test -z "$ac_cv_path_PKG_CONFIG"; then
16979  ac_pt_PKG_CONFIG=$PKG_CONFIG
16980  # Extract the first word of "pkg-config", so it can be a program name with args.
16981set dummy pkg-config; ac_word=$2
16982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16983$as_echo_n "checking for $ac_word... " >&6; }
16984if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16985  $as_echo_n "(cached) " >&6
16986else
16987  case $ac_pt_PKG_CONFIG in
16988  [\\/]* | ?:[\\/]*)
16989  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16990  ;;
16991  *)
16992  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16993for as_dir in $PATH
16994do
16995  IFS=$as_save_IFS
16996  test -z "$as_dir" && as_dir=.
16997    for ac_exec_ext in '' $ac_executable_extensions; do
16998  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16999    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17001    break 2
17002  fi
17003done
17004  done
17005IFS=$as_save_IFS
17006
17007  ;;
17008esac
17009fi
17010ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17011if test -n "$ac_pt_PKG_CONFIG"; then
17012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17013$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17014else
17015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17016$as_echo "no" >&6; }
17017fi
17018
17019  if test "x$ac_pt_PKG_CONFIG" = x; then
17020    PKG_CONFIG=""
17021  else
17022    case $cross_compiling:$ac_tool_warned in
17023yes:)
17024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17026ac_tool_warned=yes ;;
17027esac
17028    PKG_CONFIG=$ac_pt_PKG_CONFIG
17029  fi
17030else
17031  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17032fi
17033
17034fi
17035if test -n "$PKG_CONFIG"; then
17036	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
17037	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17038$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17039	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17040		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17041$as_echo "yes" >&6; }
17042	else
17043		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17044$as_echo "no" >&6; }
17045		PKG_CONFIG=""
17046	fi
17047fi
17048
17049      if test x"$PKG_CONFIG" = x""; then
17050        echo
17051        echo "*** Your version of pkg-config is too old. You need atleast"
17052        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
17053        echo "*** from the freedesktop.org software repository at"
17054        echo "***"
17055        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
17056        echo "***"
17057        exit 1;
17058      fi
17059
17060
17061
17062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwnck-3.0 >= 3.10" >&5
17063$as_echo_n "checking for libwnck-3.0 >= 3.10... " >&6; }
17064  if $PKG_CONFIG "--atleast-version=3.10" "libwnck-3.0" >/dev/null 2>&1; then
17065    LIBWNCK_VERSION=`$PKG_CONFIG --modversion "libwnck-3.0"`
17066    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBWNCK_VERSION" >&5
17067$as_echo "$LIBWNCK_VERSION" >&6; }
17068
17069    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBWNCK_CFLAGS" >&5
17070$as_echo_n "checking LIBWNCK_CFLAGS... " >&6; }
17071    LIBWNCK_CFLAGS=`$PKG_CONFIG --cflags "libwnck-3.0"`
17072    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBWNCK_CFLAGS" >&5
17073$as_echo "$LIBWNCK_CFLAGS" >&6; }
17074
17075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBWNCK_LIBS" >&5
17076$as_echo_n "checking LIBWNCK_LIBS... " >&6; }
17077    LIBWNCK_LIBS=`$PKG_CONFIG --libs "libwnck-3.0"`
17078    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBWNCK_LIBS" >&5
17079$as_echo "$LIBWNCK_LIBS" >&6; }
17080
17081    LIBWNCK_REQUIRED_VERSION=3.10
17082
17083
17084
17085
17086
17087
17088
17089  elif $PKG_CONFIG --exists "libwnck-3.0" >/dev/null 2>&1; then
17090    xdt_cv_version=`$PKG_CONFIG --modversion "libwnck-3.0"`
17091    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
17092$as_echo "found, but $xdt_cv_version" >&6; }
17093
17094
17095      echo "*** The required package libwnck-3.0 was found on your system,"
17096      echo "*** but the installed version ($xdt_cv_version) is too old."
17097      echo "*** Please upgrade libwnck-3.0 to atleast version 3.10, or adjust"
17098      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
17099      echo "*** the new version of the package in a nonstandard prefix so"
17100      echo "*** pkg-config is able to find it."
17101      exit 1
17102
17103  else
17104    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17105$as_echo "not found" >&6; }
17106
17107
17108      echo "*** The required package libwnck-3.0 was not found on your system."
17109      echo "*** Please install libwnck-3.0 (atleast version 3.10) or adjust"
17110      echo "*** the PKG_CONFIG_PATH environment variable if you"
17111      echo "*** installed the package in a nonstandard prefix so that"
17112      echo "*** pkg-config is able to find it."
17113      exit 1
17114
17115  fi
17116
17117
17118
17119  # minimum supported version of pkg-config
17120  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17131	if test -n "$ac_tool_prefix"; then
17132  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17133set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17135$as_echo_n "checking for $ac_word... " >&6; }
17136if ${ac_cv_path_PKG_CONFIG+:} false; then :
17137  $as_echo_n "(cached) " >&6
17138else
17139  case $PKG_CONFIG in
17140  [\\/]* | ?:[\\/]*)
17141  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17142  ;;
17143  *)
17144  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17145for as_dir in $PATH
17146do
17147  IFS=$as_save_IFS
17148  test -z "$as_dir" && as_dir=.
17149    for ac_exec_ext in '' $ac_executable_extensions; do
17150  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17151    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17153    break 2
17154  fi
17155done
17156  done
17157IFS=$as_save_IFS
17158
17159  ;;
17160esac
17161fi
17162PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17163if test -n "$PKG_CONFIG"; then
17164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17165$as_echo "$PKG_CONFIG" >&6; }
17166else
17167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17168$as_echo "no" >&6; }
17169fi
17170
17171
17172fi
17173if test -z "$ac_cv_path_PKG_CONFIG"; then
17174  ac_pt_PKG_CONFIG=$PKG_CONFIG
17175  # Extract the first word of "pkg-config", so it can be a program name with args.
17176set dummy pkg-config; ac_word=$2
17177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17178$as_echo_n "checking for $ac_word... " >&6; }
17179if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17180  $as_echo_n "(cached) " >&6
17181else
17182  case $ac_pt_PKG_CONFIG in
17183  [\\/]* | ?:[\\/]*)
17184  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17185  ;;
17186  *)
17187  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17188for as_dir in $PATH
17189do
17190  IFS=$as_save_IFS
17191  test -z "$as_dir" && as_dir=.
17192    for ac_exec_ext in '' $ac_executable_extensions; do
17193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17194    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17196    break 2
17197  fi
17198done
17199  done
17200IFS=$as_save_IFS
17201
17202  ;;
17203esac
17204fi
17205ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17206if test -n "$ac_pt_PKG_CONFIG"; then
17207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17208$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17209else
17210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17211$as_echo "no" >&6; }
17212fi
17213
17214  if test "x$ac_pt_PKG_CONFIG" = x; then
17215    PKG_CONFIG=""
17216  else
17217    case $cross_compiling:$ac_tool_warned in
17218yes:)
17219{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17220$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17221ac_tool_warned=yes ;;
17222esac
17223    PKG_CONFIG=$ac_pt_PKG_CONFIG
17224  fi
17225else
17226  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17227fi
17228
17229fi
17230if test -n "$PKG_CONFIG"; then
17231	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
17232	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17233$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17234	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17235		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17236$as_echo "yes" >&6; }
17237	else
17238		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17239$as_echo "no" >&6; }
17240		PKG_CONFIG=""
17241	fi
17242fi
17243
17244      if test x"$PKG_CONFIG" = x""; then
17245        echo
17246        echo "*** Your version of pkg-config is too old. You need atleast"
17247        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
17248        echo "*** from the freedesktop.org software repository at"
17249        echo "***"
17250        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
17251        echo "***"
17252        exit 1;
17253      fi
17254
17255
17256
17257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.12.0" >&5
17258$as_echo_n "checking for libxfconf-0 >= 4.12.0... " >&6; }
17259  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfconf-0" >/dev/null 2>&1; then
17260    XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"`
17261    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5
17262$as_echo "$XFCONF_VERSION" >&6; }
17263
17264    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5
17265$as_echo_n "checking XFCONF_CFLAGS... " >&6; }
17266    XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"`
17267    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5
17268$as_echo "$XFCONF_CFLAGS" >&6; }
17269
17270    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5
17271$as_echo_n "checking XFCONF_LIBS... " >&6; }
17272    XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"`
17273    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5
17274$as_echo "$XFCONF_LIBS" >&6; }
17275
17276    XFCONF_REQUIRED_VERSION=4.12.0
17277
17278
17279
17280
17281
17282
17283
17284  elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then
17285    xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"`
17286    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
17287$as_echo "found, but $xdt_cv_version" >&6; }
17288
17289
17290      echo "*** The required package libxfconf-0 was found on your system,"
17291      echo "*** but the installed version ($xdt_cv_version) is too old."
17292      echo "*** Please upgrade libxfconf-0 to atleast version 4.12.0, or adjust"
17293      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
17294      echo "*** the new version of the package in a nonstandard prefix so"
17295      echo "*** pkg-config is able to find it."
17296      exit 1
17297
17298  else
17299    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17300$as_echo "not found" >&6; }
17301
17302
17303      echo "*** The required package libxfconf-0 was not found on your system."
17304      echo "*** Please install libxfconf-0 (atleast version 4.12.0) or adjust"
17305      echo "*** the PKG_CONFIG_PATH environment variable if you"
17306      echo "*** installed the package in a nonstandard prefix so that"
17307      echo "*** pkg-config is able to find it."
17308      exit 1
17309
17310  fi
17311
17312
17313
17314
17315
17316  # Check whether --enable-polkit was given.
17317if test "${enable_polkit+set}" = set; then :
17318  enableval=$enable_polkit; xdt_cv_POLKIT_check=$enableval
17319else
17320  xdt_cv_POLKIT_check=yes
17321fi
17322
17323
17324  if test x"$xdt_cv_POLKIT_check" = x"yes"; then
17325    if $PKG_CONFIG --exists "polkit-gobject-1 >= 0.102" >/dev/null 2>&1; then
17326
17327
17328  # minimum supported version of pkg-config
17329  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17340	if test -n "$ac_tool_prefix"; then
17341  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17342set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17344$as_echo_n "checking for $ac_word... " >&6; }
17345if ${ac_cv_path_PKG_CONFIG+:} false; then :
17346  $as_echo_n "(cached) " >&6
17347else
17348  case $PKG_CONFIG in
17349  [\\/]* | ?:[\\/]*)
17350  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17351  ;;
17352  *)
17353  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17354for as_dir in $PATH
17355do
17356  IFS=$as_save_IFS
17357  test -z "$as_dir" && as_dir=.
17358    for ac_exec_ext in '' $ac_executable_extensions; do
17359  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17360    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17361    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17362    break 2
17363  fi
17364done
17365  done
17366IFS=$as_save_IFS
17367
17368  ;;
17369esac
17370fi
17371PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17372if test -n "$PKG_CONFIG"; then
17373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17374$as_echo "$PKG_CONFIG" >&6; }
17375else
17376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17377$as_echo "no" >&6; }
17378fi
17379
17380
17381fi
17382if test -z "$ac_cv_path_PKG_CONFIG"; then
17383  ac_pt_PKG_CONFIG=$PKG_CONFIG
17384  # Extract the first word of "pkg-config", so it can be a program name with args.
17385set dummy pkg-config; ac_word=$2
17386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17387$as_echo_n "checking for $ac_word... " >&6; }
17388if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17389  $as_echo_n "(cached) " >&6
17390else
17391  case $ac_pt_PKG_CONFIG in
17392  [\\/]* | ?:[\\/]*)
17393  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17394  ;;
17395  *)
17396  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17397for as_dir in $PATH
17398do
17399  IFS=$as_save_IFS
17400  test -z "$as_dir" && as_dir=.
17401    for ac_exec_ext in '' $ac_executable_extensions; do
17402  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17403    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17404    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17405    break 2
17406  fi
17407done
17408  done
17409IFS=$as_save_IFS
17410
17411  ;;
17412esac
17413fi
17414ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17415if test -n "$ac_pt_PKG_CONFIG"; then
17416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17417$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17418else
17419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17420$as_echo "no" >&6; }
17421fi
17422
17423  if test "x$ac_pt_PKG_CONFIG" = x; then
17424    PKG_CONFIG=""
17425  else
17426    case $cross_compiling:$ac_tool_warned in
17427yes:)
17428{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17429$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17430ac_tool_warned=yes ;;
17431esac
17432    PKG_CONFIG=$ac_pt_PKG_CONFIG
17433  fi
17434else
17435  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17436fi
17437
17438fi
17439if test -n "$PKG_CONFIG"; then
17440	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
17441	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17442$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17443	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17444		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17445$as_echo "yes" >&6; }
17446	else
17447		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17448$as_echo "no" >&6; }
17449		PKG_CONFIG=""
17450	fi
17451fi
17452
17453      if test x"$PKG_CONFIG" = x""; then
17454        echo
17455        echo "*** Your version of pkg-config is too old. You need atleast"
17456        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
17457        echo "*** from the freedesktop.org software repository at"
17458        echo "***"
17459        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
17460        echo "***"
17461        exit 1;
17462      fi
17463
17464
17465
17466  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for polkit-gobject-1 >= 0.102" >&5
17467$as_echo_n "checking for polkit-gobject-1 >= 0.102... " >&6; }
17468  if $PKG_CONFIG "--atleast-version=0.102" "polkit-gobject-1" >/dev/null 2>&1; then
17469    POLKIT_VERSION=`$PKG_CONFIG --modversion "polkit-gobject-1"`
17470    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POLKIT_VERSION" >&5
17471$as_echo "$POLKIT_VERSION" >&6; }
17472
17473    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POLKIT_CFLAGS" >&5
17474$as_echo_n "checking POLKIT_CFLAGS... " >&6; }
17475    POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1"`
17476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POLKIT_CFLAGS" >&5
17477$as_echo "$POLKIT_CFLAGS" >&6; }
17478
17479    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POLKIT_LIBS" >&5
17480$as_echo_n "checking POLKIT_LIBS... " >&6; }
17481    POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1"`
17482    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POLKIT_LIBS" >&5
17483$as_echo "$POLKIT_LIBS" >&6; }
17484
17485    POLKIT_REQUIRED_VERSION=0.102
17486
17487
17488
17489
17490
17491
17492
17493
17494$as_echo "#define HAVE_POLKIT 1" >>confdefs.h
17495
17496        POLKIT_FOUND="yes"
17497
17498  elif $PKG_CONFIG --exists "polkit-gobject-1" >/dev/null 2>&1; then
17499    xdt_cv_version=`$PKG_CONFIG --modversion "polkit-gobject-1"`
17500    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
17501$as_echo "found, but $xdt_cv_version" >&6; }
17502
17503
17504      echo "*** The required package polkit-gobject-1 was found on your system,"
17505      echo "*** but the installed version ($xdt_cv_version) is too old."
17506      echo "*** Please upgrade polkit-gobject-1 to atleast version 0.102, or adjust"
17507      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
17508      echo "*** the new version of the package in a nonstandard prefix so"
17509      echo "*** pkg-config is able to find it."
17510      exit 1
17511
17512  else
17513    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17514$as_echo "not found" >&6; }
17515
17516
17517      echo "*** The required package polkit-gobject-1 was not found on your system."
17518      echo "*** Please install polkit-gobject-1 (atleast version 0.102) or adjust"
17519      echo "*** the PKG_CONFIG_PATH environment variable if you"
17520      echo "*** installed the package in a nonstandard prefix so that"
17521      echo "*** pkg-config is able to find it."
17522      exit 1
17523
17524  fi
17525
17526    else
17527      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package polkit-gobject-1 >= 0.102" >&5
17528$as_echo_n "checking for optional package polkit-gobject-1 >= 0.102... " >&6; }
17529      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17530$as_echo "not found" >&6; }
17531    fi
17532  else
17533    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional package polkit-gobject-1" >&5
17534$as_echo_n "checking for optional package polkit-gobject-1... " >&6; }
17535    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
17536$as_echo "disabled" >&6; }
17537  fi
17538
17539   if test x"$POLKIT_FOUND" = x"yes"; then
17540  HAVE_POLKIT_TRUE=
17541  HAVE_POLKIT_FALSE='#'
17542else
17543  HAVE_POLKIT_TRUE='#'
17544  HAVE_POLKIT_FALSE=
17545fi
17546
17547
17548
17549
17550$as_echo "#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_50" >>confdefs.h
17551
17552
17553$as_echo "#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_50" >>confdefs.h
17554
17555
17556
17557$as_echo "#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_20" >>confdefs.h
17558
17559
17560$as_echo "#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_20" >>confdefs.h
17561
17562
17563
17564    # Check whether --enable-debug was given.
17565if test "${enable_debug+set}" = set; then :
17566  enableval=$enable_debug; enable_debug=$enableval
17567else
17568  enable_debug=minimum
17569fi
17570
17571
17572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
17573$as_echo_n "checking whether to build with debugging support... " >&6; }
17574  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
17575
17576$as_echo "#define DEBUG 1" >>confdefs.h
17577
17578
17579    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
17580                              -Wall -Wextra \
17581                              -Wno-missing-field-initializers \
17582                              -Wno-unused-parameter -Wold-style-definition \
17583                              -Wdeclaration-after-statement \
17584                              -Wmissing-declarations \
17585                              -Wmissing-noreturn -Wpointer-arith \
17586                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
17587                              -Winit-self -Wmissing-include-dirs -Wundef \
17588                              -Wnested-externs"
17589    CPPFLAGS="$CPPFLAGS"
17590
17591    if test x`uname` = x"Linux"; then
17592      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
17593    fi
17594
17595        if test x`uname` != x"OpenBSD"; then
17596      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
17597    fi
17598
17599    if test x"$enable_debug" = x"full"; then
17600
17601$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
17602
17603      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
17604      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
17605      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
17606$as_echo "full" >&6; }
17607    else
17608      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
17609      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17610$as_echo "yes" >&6; }
17611    fi
17612
17613
17614  for flag in $xdt_cv_additional_CFLAGS; do
17615    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
17616$as_echo_n "checking if $CC supports $flag... " >&6; }
17617    saved_CFLAGS="$CFLAGS"
17618    CFLAGS="$CFLAGS $flag"
17619    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620/* end confdefs.h.  */
17621
17622_ACEOF
17623if ac_fn_c_try_compile "$LINENO"; then :
17624  flag_supported=yes
17625else
17626  flag_supported=no
17627fi
17628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17629    CFLAGS="$saved_CFLAGS"
17630    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
17631$as_echo "$flag_supported" >&6; }
17632
17633    if test "x$flag_supported" = "xyes"; then
17634      supported_CFLAGS="$supported_CFLAGS $flag"
17635    fi
17636  done
17637
17638
17639
17640                                                supported_CXXFLAGS="$supported_CFLAGS"
17641
17642
17643    CFLAGS="$CFLAGS $supported_CFLAGS"
17644    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
17645  else
17646    CPPFLAGS="$CPPFLAGS -DNDEBUG"
17647
17648    if test x"$enable_debug" = x"no"; then
17649      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
17650      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17651$as_echo "no" >&6; }
17652    else
17653      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
17654$as_echo "minimum" >&6; }
17655    fi
17656  fi
17657
17658
17659
17660  # Check whether --enable-linker-opts was given.
17661if test "${enable_linker_opts+set}" = set; then :
17662  enableval=$enable_linker_opts; enable_linker_opts=$enableval
17663else
17664  enable_linker_opts=yes
17665fi
17666
17667
17668  if test "x$enable_linker_opts" != "xno"; then
17669    if test x`uname` != x"OpenBSD"; then
17670      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
17671$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
17672      case `$LD --as-needed -v 2>&1 </dev/null` in
17673      *GNU* | *'with BFD'*)
17674        LDFLAGS="$LDFLAGS -Wl,--as-needed"
17675        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17676$as_echo "yes" >&6; }
17677        ;;
17678      *)
17679        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17680$as_echo "no" >&6; }
17681        ;;
17682      esac
17683    fi
17684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
17685$as_echo_n "checking whether $LD accepts -O1... " >&6; }
17686    case `$LD -O1 -v 2>&1 </dev/null` in
17687    *GNU* | *'with BFD'*)
17688      LDFLAGS="$LDFLAGS -Wl,-O1"
17689      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17690$as_echo "yes" >&6; }
17691      ;;
17692    *)
17693      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17694$as_echo "no" >&6; }
17695      ;;
17696    esac
17697  fi
17698
17699
17700# Extract the first word of "iceauth", so it can be a program name with args.
17701set dummy iceauth; ac_word=$2
17702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17703$as_echo_n "checking for $ac_word... " >&6; }
17704if ${ac_cv_path_ICEAUTH+:} false; then :
17705  $as_echo_n "(cached) " >&6
17706else
17707  case $ICEAUTH in
17708  [\\/]* | ?:[\\/]*)
17709  ac_cv_path_ICEAUTH="$ICEAUTH" # Let the user override the test with a path.
17710  ;;
17711  *)
17712  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17713for as_dir in $PATH
17714do
17715  IFS=$as_save_IFS
17716  test -z "$as_dir" && as_dir=.
17717    for ac_exec_ext in '' $ac_executable_extensions; do
17718  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17719    ac_cv_path_ICEAUTH="$as_dir/$ac_word$ac_exec_ext"
17720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17721    break 2
17722  fi
17723done
17724  done
17725IFS=$as_save_IFS
17726
17727  ;;
17728esac
17729fi
17730ICEAUTH=$ac_cv_path_ICEAUTH
17731if test -n "$ICEAUTH"; then
17732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICEAUTH" >&5
17733$as_echo "$ICEAUTH" >&6; }
17734else
17735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17736$as_echo "no" >&6; }
17737fi
17738
17739
17740if test x"$ICEAUTH" != x""; then
17741
17742cat >>confdefs.h <<_ACEOF
17743#define ICEAUTH_CMD "$ICEAUTH"
17744_ACEOF
17745
17746else
17747  as_fn_error $? "iceauth missing, please check your X11 installation" "$LINENO" 5
17748fi
17749
17750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what xsession-prefix to use" >&5
17751$as_echo_n "checking what xsession-prefix to use... " >&6; }
17752
17753# Check whether --with-xsession-prefix was given.
17754if test "${with_xsession_prefix+set}" = set; then :
17755  withval=$with_xsession_prefix;
17756else
17757  with_xsession_prefix="/usr"
17758fi
17759
17760XSESSION_PREFIX=$with_xsession_prefix
17761
17762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_xsession_prefix" >&5
17763$as_echo "$with_xsession_prefix" >&6; }
17764
17765# Check whether --enable-legacy-sm was given.
17766if test "${enable_legacy_sm+set}" = set; then :
17767  enableval=$enable_legacy_sm;
17768else
17769  enable_legacy_sm=yes
17770fi
17771
17772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable X11R5 session management" >&5
17773$as_echo_n "checking whether to enable X11R5 session management... " >&6; }
17774if test x"$enable_legacy_sm" != x"yes"; then
17775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17776$as_echo "no" >&6; }
17777else
17778
17779$as_echo "#define LEGACY_SESSION_MANAGEMENT 1" >>confdefs.h
17780
17781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17782$as_echo "yes" >&6; }
17783fi
17784
17785
17786# Check whether --with-backend was given.
17787if test "${with_backend+set}" = set; then :
17788  withval=$with_backend;
17789fi
17790
17791# default to a sane option
17792
17793if test x$with_backend = x; then
17794	case $host in #(
17795  *-linux*) :
17796    with_backend=linux ;; #(
17797  *-*freebsd*) :
17798    with_backend=freebsd ;; #(
17799  *-*dragonfly*) :
17800    with_backend=freebsd ;; #(
17801  *-openbsd*) :
17802    with_backend=openbsd ;; #(
17803  *) :
17804     ;;
17805esac
17806fi
17807
17808cat >>confdefs.h <<_ACEOF
17809#define BACKEND "$with_backend"
17810_ACEOF
17811
17812BACKEND="$with_backend"
17813
17814
17815if test x$with_backend = xlinux; then
17816
17817$as_echo "#define BACKEND_TYPE_LINUX 1" >>confdefs.h
17818
17819fi
17820if test x$with_backend = xfreebsd; then
17821
17822$as_echo "#define BACKEND_TYPE_FREEBSD 1" >>confdefs.h
17823
17824fi
17825if test x$with_backend = xopenbsd; then
17826
17827$as_echo "#define BACKEND_TYPE_OPENBSD 1" >>confdefs.h
17828
17829fi
17830
17831ac_config_files="$ac_config_files Makefile doc/Makefile icons/Makefile icons/16x16/Makefile icons/24x24/Makefile icons/24x24-actions/Makefile icons/32x32/Makefile icons/48x48-actions/Makefile icons/48x48/Makefile icons/128x128/Makefile icons/scalable/Makefile libxfsm/Makefile po/Makefile.in settings/Makefile scripts/Makefile scripts/xinitrc.in xfce4-session/Makefile xfce4-session-logout/Makefile xfsm-shutdown-helper/Makefile"
17832
17833cat >confcache <<\_ACEOF
17834# This file is a shell script that caches the results of configure
17835# tests run on this system so they can be shared between configure
17836# scripts and configure runs, see configure's option --config-cache.
17837# It is not useful on other systems.  If it contains results you don't
17838# want to keep, you may remove or edit it.
17839#
17840# config.status only pays attention to the cache file if you give it
17841# the --recheck option to rerun configure.
17842#
17843# `ac_cv_env_foo' variables (set or unset) will be overridden when
17844# loading this file, other *unset* `ac_cv_foo' will be assigned the
17845# following values.
17846
17847_ACEOF
17848
17849# The following way of writing the cache mishandles newlines in values,
17850# but we know of no workaround that is simple, portable, and efficient.
17851# So, we kill variables containing newlines.
17852# Ultrix sh set writes to stderr and can't be redirected directly,
17853# and sets the high bit in the cache file unless we assign to the vars.
17854(
17855  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17856    eval ac_val=\$$ac_var
17857    case $ac_val in #(
17858    *${as_nl}*)
17859      case $ac_var in #(
17860      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17861$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17862      esac
17863      case $ac_var in #(
17864      _ | IFS | as_nl) ;; #(
17865      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17866      *) { eval $ac_var=; unset $ac_var;} ;;
17867      esac ;;
17868    esac
17869  done
17870
17871  (set) 2>&1 |
17872    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17873    *${as_nl}ac_space=\ *)
17874      # `set' does not quote correctly, so add quotes: double-quote
17875      # substitution turns \\\\ into \\, and sed turns \\ into \.
17876      sed -n \
17877	"s/'/'\\\\''/g;
17878	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17879      ;; #(
17880    *)
17881      # `set' quotes correctly as required by POSIX, so do not add quotes.
17882      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17883      ;;
17884    esac |
17885    sort
17886) |
17887  sed '
17888     /^ac_cv_env_/b end
17889     t clear
17890     :clear
17891     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17892     t end
17893     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17894     :end' >>confcache
17895if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17896  if test -w "$cache_file"; then
17897    if test "x$cache_file" != "x/dev/null"; then
17898      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17899$as_echo "$as_me: updating cache $cache_file" >&6;}
17900      if test ! -f "$cache_file" || test -h "$cache_file"; then
17901	cat confcache >"$cache_file"
17902      else
17903        case $cache_file in #(
17904        */* | ?:*)
17905	  mv -f confcache "$cache_file"$$ &&
17906	  mv -f "$cache_file"$$ "$cache_file" ;; #(
17907        *)
17908	  mv -f confcache "$cache_file" ;;
17909	esac
17910      fi
17911    fi
17912  else
17913    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17914$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17915  fi
17916fi
17917rm -f confcache
17918
17919test "x$prefix" = xNONE && prefix=$ac_default_prefix
17920# Let make expand exec_prefix.
17921test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17922
17923DEFS=-DHAVE_CONFIG_H
17924
17925ac_libobjs=
17926ac_ltlibobjs=
17927U=
17928for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17929  # 1. Remove the extension, and $U if already installed.
17930  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17931  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17932  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17933  #    will be set to the directory where LIBOBJS objects are built.
17934  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17935  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17936done
17937LIBOBJS=$ac_libobjs
17938
17939LTLIBOBJS=$ac_ltlibobjs
17940
17941
17942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17943$as_echo_n "checking that generated files are newer than configure... " >&6; }
17944   if test -n "$am_sleep_pid"; then
17945     # Hide warnings about reused PIDs.
17946     wait $am_sleep_pid 2>/dev/null
17947   fi
17948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17949$as_echo "done" >&6; }
17950 if test -n "$EXEEXT"; then
17951  am__EXEEXT_TRUE=
17952  am__EXEEXT_FALSE='#'
17953else
17954  am__EXEEXT_TRUE='#'
17955  am__EXEEXT_FALSE=
17956fi
17957
17958if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17959  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17960Usually this means the macro was only invoked conditionally." "$LINENO" 5
17961fi
17962if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17963  as_fn_error $? "conditional \"AMDEP\" was never defined.
17964Usually this means the macro was only invoked conditionally." "$LINENO" 5
17965fi
17966if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17967  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17968Usually this means the macro was only invoked conditionally." "$LINENO" 5
17969fi
17970if test -z "${HAVE_OS_CYGWIN_TRUE}" && test -z "${HAVE_OS_CYGWIN_FALSE}"; then
17971  as_fn_error $? "conditional \"HAVE_OS_CYGWIN\" was never defined.
17972Usually this means the macro was only invoked conditionally." "$LINENO" 5
17973fi
17974if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17975  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17976Usually this means the macro was only invoked conditionally." "$LINENO" 5
17977fi
17978
17979  ac_config_commands="$ac_config_commands po/stamp-it"
17980
17981
17982if test -z "${HAVE_POLKIT_TRUE}" && test -z "${HAVE_POLKIT_FALSE}"; then
17983  as_fn_error $? "conditional \"HAVE_POLKIT\" was never defined.
17984Usually this means the macro was only invoked conditionally." "$LINENO" 5
17985fi
17986
17987: "${CONFIG_STATUS=./config.status}"
17988ac_write_fail=0
17989ac_clean_files_save=$ac_clean_files
17990ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17991{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17992$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17993as_write_fail=0
17994cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17995#! $SHELL
17996# Generated by $as_me.
17997# Run this file to recreate the current configuration.
17998# Compiler output produced by configure, useful for debugging
17999# configure, is in config.log if it exists.
18000
18001debug=false
18002ac_cs_recheck=false
18003ac_cs_silent=false
18004
18005SHELL=\${CONFIG_SHELL-$SHELL}
18006export SHELL
18007_ASEOF
18008cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18009## -------------------- ##
18010## M4sh Initialization. ##
18011## -------------------- ##
18012
18013# Be more Bourne compatible
18014DUALCASE=1; export DUALCASE # for MKS sh
18015if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18016  emulate sh
18017  NULLCMD=:
18018  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18019  # is contrary to our usage.  Disable this feature.
18020  alias -g '${1+"$@"}'='"$@"'
18021  setopt NO_GLOB_SUBST
18022else
18023  case `(set -o) 2>/dev/null` in #(
18024  *posix*) :
18025    set -o posix ;; #(
18026  *) :
18027     ;;
18028esac
18029fi
18030
18031
18032as_nl='
18033'
18034export as_nl
18035# Printing a long string crashes Solaris 7 /usr/bin/printf.
18036as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18037as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18038as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18039# Prefer a ksh shell builtin over an external printf program on Solaris,
18040# but without wasting forks for bash or zsh.
18041if test -z "$BASH_VERSION$ZSH_VERSION" \
18042    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18043  as_echo='print -r --'
18044  as_echo_n='print -rn --'
18045elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18046  as_echo='printf %s\n'
18047  as_echo_n='printf %s'
18048else
18049  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18050    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18051    as_echo_n='/usr/ucb/echo -n'
18052  else
18053    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18054    as_echo_n_body='eval
18055      arg=$1;
18056      case $arg in #(
18057      *"$as_nl"*)
18058	expr "X$arg" : "X\\(.*\\)$as_nl";
18059	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18060      esac;
18061      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18062    '
18063    export as_echo_n_body
18064    as_echo_n='sh -c $as_echo_n_body as_echo'
18065  fi
18066  export as_echo_body
18067  as_echo='sh -c $as_echo_body as_echo'
18068fi
18069
18070# The user is always right.
18071if test "${PATH_SEPARATOR+set}" != set; then
18072  PATH_SEPARATOR=:
18073  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18074    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18075      PATH_SEPARATOR=';'
18076  }
18077fi
18078
18079
18080# IFS
18081# We need space, tab and new line, in precisely that order.  Quoting is
18082# there to prevent editors from complaining about space-tab.
18083# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18084# splitting by setting IFS to empty value.)
18085IFS=" ""	$as_nl"
18086
18087# Find who we are.  Look in the path if we contain no directory separator.
18088as_myself=
18089case $0 in #((
18090  *[\\/]* ) as_myself=$0 ;;
18091  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18092for as_dir in $PATH
18093do
18094  IFS=$as_save_IFS
18095  test -z "$as_dir" && as_dir=.
18096    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18097  done
18098IFS=$as_save_IFS
18099
18100     ;;
18101esac
18102# We did not find ourselves, most probably we were run as `sh COMMAND'
18103# in which case we are not to be found in the path.
18104if test "x$as_myself" = x; then
18105  as_myself=$0
18106fi
18107if test ! -f "$as_myself"; then
18108  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18109  exit 1
18110fi
18111
18112# Unset variables that we do not need and which cause bugs (e.g. in
18113# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18114# suppresses any "Segmentation fault" message there.  '((' could
18115# trigger a bug in pdksh 5.2.14.
18116for as_var in BASH_ENV ENV MAIL MAILPATH
18117do eval test x\${$as_var+set} = xset \
18118  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18119done
18120PS1='$ '
18121PS2='> '
18122PS4='+ '
18123
18124# NLS nuisances.
18125LC_ALL=C
18126export LC_ALL
18127LANGUAGE=C
18128export LANGUAGE
18129
18130# CDPATH.
18131(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18132
18133
18134# as_fn_error STATUS ERROR [LINENO LOG_FD]
18135# ----------------------------------------
18136# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18137# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18138# script with STATUS, using 1 if that was 0.
18139as_fn_error ()
18140{
18141  as_status=$1; test $as_status -eq 0 && as_status=1
18142  if test "$4"; then
18143    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18144    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18145  fi
18146  $as_echo "$as_me: error: $2" >&2
18147  as_fn_exit $as_status
18148} # as_fn_error
18149
18150
18151# as_fn_set_status STATUS
18152# -----------------------
18153# Set $? to STATUS, without forking.
18154as_fn_set_status ()
18155{
18156  return $1
18157} # as_fn_set_status
18158
18159# as_fn_exit STATUS
18160# -----------------
18161# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18162as_fn_exit ()
18163{
18164  set +e
18165  as_fn_set_status $1
18166  exit $1
18167} # as_fn_exit
18168
18169# as_fn_unset VAR
18170# ---------------
18171# Portably unset VAR.
18172as_fn_unset ()
18173{
18174  { eval $1=; unset $1;}
18175}
18176as_unset=as_fn_unset
18177# as_fn_append VAR VALUE
18178# ----------------------
18179# Append the text in VALUE to the end of the definition contained in VAR. Take
18180# advantage of any shell optimizations that allow amortized linear growth over
18181# repeated appends, instead of the typical quadratic growth present in naive
18182# implementations.
18183if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18184  eval 'as_fn_append ()
18185  {
18186    eval $1+=\$2
18187  }'
18188else
18189  as_fn_append ()
18190  {
18191    eval $1=\$$1\$2
18192  }
18193fi # as_fn_append
18194
18195# as_fn_arith ARG...
18196# ------------------
18197# Perform arithmetic evaluation on the ARGs, and store the result in the
18198# global $as_val. Take advantage of shells that can avoid forks. The arguments
18199# must be portable across $(()) and expr.
18200if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18201  eval 'as_fn_arith ()
18202  {
18203    as_val=$(( $* ))
18204  }'
18205else
18206  as_fn_arith ()
18207  {
18208    as_val=`expr "$@" || test $? -eq 1`
18209  }
18210fi # as_fn_arith
18211
18212
18213if expr a : '\(a\)' >/dev/null 2>&1 &&
18214   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18215  as_expr=expr
18216else
18217  as_expr=false
18218fi
18219
18220if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18221  as_basename=basename
18222else
18223  as_basename=false
18224fi
18225
18226if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18227  as_dirname=dirname
18228else
18229  as_dirname=false
18230fi
18231
18232as_me=`$as_basename -- "$0" ||
18233$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18234	 X"$0" : 'X\(//\)$' \| \
18235	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18236$as_echo X/"$0" |
18237    sed '/^.*\/\([^/][^/]*\)\/*$/{
18238	    s//\1/
18239	    q
18240	  }
18241	  /^X\/\(\/\/\)$/{
18242	    s//\1/
18243	    q
18244	  }
18245	  /^X\/\(\/\).*/{
18246	    s//\1/
18247	    q
18248	  }
18249	  s/.*/./; q'`
18250
18251# Avoid depending upon Character Ranges.
18252as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18253as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18254as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18255as_cr_digits='0123456789'
18256as_cr_alnum=$as_cr_Letters$as_cr_digits
18257
18258ECHO_C= ECHO_N= ECHO_T=
18259case `echo -n x` in #(((((
18260-n*)
18261  case `echo 'xy\c'` in
18262  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18263  xy)  ECHO_C='\c';;
18264  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18265       ECHO_T='	';;
18266  esac;;
18267*)
18268  ECHO_N='-n';;
18269esac
18270
18271rm -f conf$$ conf$$.exe conf$$.file
18272if test -d conf$$.dir; then
18273  rm -f conf$$.dir/conf$$.file
18274else
18275  rm -f conf$$.dir
18276  mkdir conf$$.dir 2>/dev/null
18277fi
18278if (echo >conf$$.file) 2>/dev/null; then
18279  if ln -s conf$$.file conf$$ 2>/dev/null; then
18280    as_ln_s='ln -s'
18281    # ... but there are two gotchas:
18282    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18283    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18284    # In both cases, we have to default to `cp -pR'.
18285    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18286      as_ln_s='cp -pR'
18287  elif ln conf$$.file conf$$ 2>/dev/null; then
18288    as_ln_s=ln
18289  else
18290    as_ln_s='cp -pR'
18291  fi
18292else
18293  as_ln_s='cp -pR'
18294fi
18295rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18296rmdir conf$$.dir 2>/dev/null
18297
18298
18299# as_fn_mkdir_p
18300# -------------
18301# Create "$as_dir" as a directory, including parents if necessary.
18302as_fn_mkdir_p ()
18303{
18304
18305  case $as_dir in #(
18306  -*) as_dir=./$as_dir;;
18307  esac
18308  test -d "$as_dir" || eval $as_mkdir_p || {
18309    as_dirs=
18310    while :; do
18311      case $as_dir in #(
18312      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18313      *) as_qdir=$as_dir;;
18314      esac
18315      as_dirs="'$as_qdir' $as_dirs"
18316      as_dir=`$as_dirname -- "$as_dir" ||
18317$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18318	 X"$as_dir" : 'X\(//\)[^/]' \| \
18319	 X"$as_dir" : 'X\(//\)$' \| \
18320	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18321$as_echo X"$as_dir" |
18322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18323	    s//\1/
18324	    q
18325	  }
18326	  /^X\(\/\/\)[^/].*/{
18327	    s//\1/
18328	    q
18329	  }
18330	  /^X\(\/\/\)$/{
18331	    s//\1/
18332	    q
18333	  }
18334	  /^X\(\/\).*/{
18335	    s//\1/
18336	    q
18337	  }
18338	  s/.*/./; q'`
18339      test -d "$as_dir" && break
18340    done
18341    test -z "$as_dirs" || eval "mkdir $as_dirs"
18342  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18343
18344
18345} # as_fn_mkdir_p
18346if mkdir -p . 2>/dev/null; then
18347  as_mkdir_p='mkdir -p "$as_dir"'
18348else
18349  test -d ./-p && rmdir ./-p
18350  as_mkdir_p=false
18351fi
18352
18353
18354# as_fn_executable_p FILE
18355# -----------------------
18356# Test if FILE is an executable regular file.
18357as_fn_executable_p ()
18358{
18359  test -f "$1" && test -x "$1"
18360} # as_fn_executable_p
18361as_test_x='test -x'
18362as_executable_p=as_fn_executable_p
18363
18364# Sed expression to map a string onto a valid CPP name.
18365as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18366
18367# Sed expression to map a string onto a valid variable name.
18368as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18369
18370
18371exec 6>&1
18372## ----------------------------------- ##
18373## Main body of $CONFIG_STATUS script. ##
18374## ----------------------------------- ##
18375_ASEOF
18376test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18377
18378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18379# Save the log message, to keep $0 and so on meaningful, and to
18380# report actual input values of CONFIG_FILES etc. instead of their
18381# values after options handling.
18382ac_log="
18383This file was extended by xfce4-session $as_me 4.16.0, which was
18384generated by GNU Autoconf 2.69.  Invocation command line was
18385
18386  CONFIG_FILES    = $CONFIG_FILES
18387  CONFIG_HEADERS  = $CONFIG_HEADERS
18388  CONFIG_LINKS    = $CONFIG_LINKS
18389  CONFIG_COMMANDS = $CONFIG_COMMANDS
18390  $ $0 $@
18391
18392on `(hostname || uname -n) 2>/dev/null | sed 1q`
18393"
18394
18395_ACEOF
18396
18397case $ac_config_files in *"
18398"*) set x $ac_config_files; shift; ac_config_files=$*;;
18399esac
18400
18401case $ac_config_headers in *"
18402"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18403esac
18404
18405
18406cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18407# Files that config.status was made for.
18408config_files="$ac_config_files"
18409config_headers="$ac_config_headers"
18410config_commands="$ac_config_commands"
18411
18412_ACEOF
18413
18414cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415ac_cs_usage="\
18416\`$as_me' instantiates files and other configuration actions
18417from templates according to the current configuration.  Unless the files
18418and actions are specified as TAGs, all are instantiated by default.
18419
18420Usage: $0 [OPTION]... [TAG]...
18421
18422  -h, --help       print this help, then exit
18423  -V, --version    print version number and configuration settings, then exit
18424      --config     print configuration, then exit
18425  -q, --quiet, --silent
18426                   do not print progress messages
18427  -d, --debug      don't remove temporary files
18428      --recheck    update $as_me by reconfiguring in the same conditions
18429      --file=FILE[:TEMPLATE]
18430                   instantiate the configuration file FILE
18431      --header=FILE[:TEMPLATE]
18432                   instantiate the configuration header FILE
18433
18434Configuration files:
18435$config_files
18436
18437Configuration headers:
18438$config_headers
18439
18440Configuration commands:
18441$config_commands
18442
18443Report bugs to <https://bugzilla.xfce.org/>."
18444
18445_ACEOF
18446cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18447ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18448ac_cs_version="\\
18449xfce4-session config.status 4.16.0
18450configured by $0, generated by GNU Autoconf 2.69,
18451  with options \\"\$ac_cs_config\\"
18452
18453Copyright (C) 2012 Free Software Foundation, Inc.
18454This config.status script is free software; the Free Software Foundation
18455gives unlimited permission to copy, distribute and modify it."
18456
18457ac_pwd='$ac_pwd'
18458srcdir='$srcdir'
18459INSTALL='$INSTALL'
18460MKDIR_P='$MKDIR_P'
18461AWK='$AWK'
18462test -n "\$AWK" || AWK=awk
18463_ACEOF
18464
18465cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18466# The default lists apply if the user does not specify any file.
18467ac_need_defaults=:
18468while test $# != 0
18469do
18470  case $1 in
18471  --*=?*)
18472    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18473    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18474    ac_shift=:
18475    ;;
18476  --*=)
18477    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18478    ac_optarg=
18479    ac_shift=:
18480    ;;
18481  *)
18482    ac_option=$1
18483    ac_optarg=$2
18484    ac_shift=shift
18485    ;;
18486  esac
18487
18488  case $ac_option in
18489  # Handling of the options.
18490  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18491    ac_cs_recheck=: ;;
18492  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18493    $as_echo "$ac_cs_version"; exit ;;
18494  --config | --confi | --conf | --con | --co | --c )
18495    $as_echo "$ac_cs_config"; exit ;;
18496  --debug | --debu | --deb | --de | --d | -d )
18497    debug=: ;;
18498  --file | --fil | --fi | --f )
18499    $ac_shift
18500    case $ac_optarg in
18501    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18502    '') as_fn_error $? "missing file argument" ;;
18503    esac
18504    as_fn_append CONFIG_FILES " '$ac_optarg'"
18505    ac_need_defaults=false;;
18506  --header | --heade | --head | --hea )
18507    $ac_shift
18508    case $ac_optarg in
18509    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18510    esac
18511    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18512    ac_need_defaults=false;;
18513  --he | --h)
18514    # Conflict between --help and --header
18515    as_fn_error $? "ambiguous option: \`$1'
18516Try \`$0 --help' for more information.";;
18517  --help | --hel | -h )
18518    $as_echo "$ac_cs_usage"; exit ;;
18519  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18520  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18521    ac_cs_silent=: ;;
18522
18523  # This is an error.
18524  -*) as_fn_error $? "unrecognized option: \`$1'
18525Try \`$0 --help' for more information." ;;
18526
18527  *) as_fn_append ac_config_targets " $1"
18528     ac_need_defaults=false ;;
18529
18530  esac
18531  shift
18532done
18533
18534ac_configure_extra_args=
18535
18536if $ac_cs_silent; then
18537  exec 6>/dev/null
18538  ac_configure_extra_args="$ac_configure_extra_args --silent"
18539fi
18540
18541_ACEOF
18542cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18543if \$ac_cs_recheck; then
18544  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18545  shift
18546  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18547  CONFIG_SHELL='$SHELL'
18548  export CONFIG_SHELL
18549  exec "\$@"
18550fi
18551
18552_ACEOF
18553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18554exec 5>>config.log
18555{
18556  echo
18557  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18558## Running $as_me. ##
18559_ASBOX
18560  $as_echo "$ac_log"
18561} >&5
18562
18563_ACEOF
18564cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18565#
18566# INIT-COMMANDS
18567#
18568AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
18569
18570
18571# The HP-UX ksh and POSIX shell print the target directory to stdout
18572# if CDPATH is set.
18573(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18574
18575sed_quote_subst='$sed_quote_subst'
18576double_quote_subst='$double_quote_subst'
18577delay_variable_subst='$delay_variable_subst'
18578macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18579macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18580enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18581enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18582pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18583enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18584shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18585SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18586ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18587PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18588host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18589host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18590host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18591build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18592build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18593build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18594SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18595Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18596GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18597EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18598FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18599LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18600NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18601LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18602max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18603ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18604exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18605lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18606lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18607lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18608lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18609lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18610reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18611reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18612OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18613deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18614file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18615file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18616want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18617DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18618sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18619AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18620AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18621archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18622STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18623RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18624old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18625old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18626old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18627lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18628CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18629CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18630compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18631GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18632lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18633lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18634lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18635lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18636lt_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"`'
18637lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18638nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18639lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18640lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18641objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18642MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18643lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18644lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18645lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18646lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18647lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18648need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18649MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18650DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18651NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18652LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18653OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18654OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18655libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18656shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18657extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18658archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18659enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18660export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18661whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18662compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18663old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18664old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18665archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18666archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18667module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18668module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18669with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18670allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18671no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18672hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18673hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18674hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18675hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18676hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18677hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18678hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18679inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18680link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18681always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18682export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18683exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18684include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18685prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18686postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18687file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18688variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18689need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18690need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18691version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18692runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18693shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18694shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18695libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18696library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18697soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18698install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18699postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18700postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18701finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18702finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18703hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18704sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18705configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18706configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18707hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18708enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18709enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18710enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18711old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18712striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18713
18714LTCC='$LTCC'
18715LTCFLAGS='$LTCFLAGS'
18716compiler='$compiler_DEFAULT'
18717
18718# A function that is used when there is no print builtin or printf.
18719func_fallback_echo ()
18720{
18721  eval 'cat <<_LTECHO_EOF
18722\$1
18723_LTECHO_EOF'
18724}
18725
18726# Quote evaled strings.
18727for var in SHELL \
18728ECHO \
18729PATH_SEPARATOR \
18730SED \
18731GREP \
18732EGREP \
18733FGREP \
18734LD \
18735NM \
18736LN_S \
18737lt_SP2NL \
18738lt_NL2SP \
18739reload_flag \
18740OBJDUMP \
18741deplibs_check_method \
18742file_magic_cmd \
18743file_magic_glob \
18744want_nocaseglob \
18745DLLTOOL \
18746sharedlib_from_linklib_cmd \
18747AR \
18748AR_FLAGS \
18749archiver_list_spec \
18750STRIP \
18751RANLIB \
18752CC \
18753CFLAGS \
18754compiler \
18755lt_cv_sys_global_symbol_pipe \
18756lt_cv_sys_global_symbol_to_cdecl \
18757lt_cv_sys_global_symbol_to_import \
18758lt_cv_sys_global_symbol_to_c_name_address \
18759lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18760lt_cv_nm_interface \
18761nm_file_list_spec \
18762lt_cv_truncate_bin \
18763lt_prog_compiler_no_builtin_flag \
18764lt_prog_compiler_pic \
18765lt_prog_compiler_wl \
18766lt_prog_compiler_static \
18767lt_cv_prog_compiler_c_o \
18768need_locks \
18769MANIFEST_TOOL \
18770DSYMUTIL \
18771NMEDIT \
18772LIPO \
18773OTOOL \
18774OTOOL64 \
18775shrext_cmds \
18776export_dynamic_flag_spec \
18777whole_archive_flag_spec \
18778compiler_needs_object \
18779with_gnu_ld \
18780allow_undefined_flag \
18781no_undefined_flag \
18782hardcode_libdir_flag_spec \
18783hardcode_libdir_separator \
18784exclude_expsyms \
18785include_expsyms \
18786file_list_spec \
18787variables_saved_for_relink \
18788libname_spec \
18789library_names_spec \
18790soname_spec \
18791install_override_mode \
18792finish_eval \
18793old_striplib \
18794striplib; do
18795    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18796    *[\\\\\\\`\\"\\\$]*)
18797      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18798      ;;
18799    *)
18800      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18801      ;;
18802    esac
18803done
18804
18805# Double-quote double-evaled strings.
18806for var in reload_cmds \
18807old_postinstall_cmds \
18808old_postuninstall_cmds \
18809old_archive_cmds \
18810extract_expsyms_cmds \
18811old_archive_from_new_cmds \
18812old_archive_from_expsyms_cmds \
18813archive_cmds \
18814archive_expsym_cmds \
18815module_cmds \
18816module_expsym_cmds \
18817export_symbols_cmds \
18818prelink_cmds \
18819postlink_cmds \
18820postinstall_cmds \
18821postuninstall_cmds \
18822finish_cmds \
18823sys_lib_search_path_spec \
18824configure_time_dlsearch_path \
18825configure_time_lt_sys_library_path; do
18826    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18827    *[\\\\\\\`\\"\\\$]*)
18828      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18829      ;;
18830    *)
18831      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18832      ;;
18833    esac
18834done
18835
18836ac_aux_dir='$ac_aux_dir'
18837
18838# See if we are running on zsh, and set the options that allow our
18839# commands through without removal of \ escapes INIT.
18840if test -n "\${ZSH_VERSION+set}"; then
18841   setopt NO_GLOB_SUBST
18842fi
18843
18844
18845    PACKAGE='$PACKAGE'
18846    VERSION='$VERSION'
18847    RM='$RM'
18848    ofile='$ofile'
18849
18850
18851
18852
18853
18854_ACEOF
18855
18856cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18857
18858# Handling of arguments.
18859for ac_config_target in $ac_config_targets
18860do
18861  case $ac_config_target in
18862    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18863    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18864    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18865    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18866    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18867    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18868    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
18869    "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;;
18870    "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;;
18871    "icons/24x24-actions/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24-actions/Makefile" ;;
18872    "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;;
18873    "icons/48x48-actions/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48-actions/Makefile" ;;
18874    "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
18875    "icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;;
18876    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
18877    "libxfsm/Makefile") CONFIG_FILES="$CONFIG_FILES libxfsm/Makefile" ;;
18878    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18879    "settings/Makefile") CONFIG_FILES="$CONFIG_FILES settings/Makefile" ;;
18880    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
18881    "scripts/xinitrc.in") CONFIG_FILES="$CONFIG_FILES scripts/xinitrc.in" ;;
18882    "xfce4-session/Makefile") CONFIG_FILES="$CONFIG_FILES xfce4-session/Makefile" ;;
18883    "xfce4-session-logout/Makefile") CONFIG_FILES="$CONFIG_FILES xfce4-session-logout/Makefile" ;;
18884    "xfsm-shutdown-helper/Makefile") CONFIG_FILES="$CONFIG_FILES xfsm-shutdown-helper/Makefile" ;;
18885    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
18886
18887  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18888  esac
18889done
18890
18891
18892# If the user did not use the arguments to specify the items to instantiate,
18893# then the envvar interface is used.  Set only those that are not.
18894# We use the long form for the default assignment because of an extremely
18895# bizarre bug on SunOS 4.1.3.
18896if $ac_need_defaults; then
18897  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18898  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18899  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18900fi
18901
18902# Have a temporary directory for convenience.  Make it in the build tree
18903# simply because there is no reason against having it here, and in addition,
18904# creating and moving files from /tmp can sometimes cause problems.
18905# Hook for its removal unless debugging.
18906# Note that there is a small window in which the directory will not be cleaned:
18907# after its creation but before its name has been assigned to `$tmp'.
18908$debug ||
18909{
18910  tmp= ac_tmp=
18911  trap 'exit_status=$?
18912  : "${ac_tmp:=$tmp}"
18913  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18914' 0
18915  trap 'as_fn_exit 1' 1 2 13 15
18916}
18917# Create a (secure) tmp directory for tmp files.
18918
18919{
18920  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18921  test -d "$tmp"
18922}  ||
18923{
18924  tmp=./conf$$-$RANDOM
18925  (umask 077 && mkdir "$tmp")
18926} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18927ac_tmp=$tmp
18928
18929# Set up the scripts for CONFIG_FILES section.
18930# No need to generate them if there are no CONFIG_FILES.
18931# This happens for instance with `./config.status config.h'.
18932if test -n "$CONFIG_FILES"; then
18933
18934
18935ac_cr=`echo X | tr X '\015'`
18936# On cygwin, bash can eat \r inside `` if the user requested igncr.
18937# But we know of no other shell where ac_cr would be empty at this
18938# point, so we can use a bashism as a fallback.
18939if test "x$ac_cr" = x; then
18940  eval ac_cr=\$\'\\r\'
18941fi
18942ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18943if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18944  ac_cs_awk_cr='\\r'
18945else
18946  ac_cs_awk_cr=$ac_cr
18947fi
18948
18949echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18950_ACEOF
18951
18952
18953{
18954  echo "cat >conf$$subs.awk <<_ACEOF" &&
18955  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18956  echo "_ACEOF"
18957} >conf$$subs.sh ||
18958  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18959ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18960ac_delim='%!_!# '
18961for ac_last_try in false false false false false :; do
18962  . ./conf$$subs.sh ||
18963    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18964
18965  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18966  if test $ac_delim_n = $ac_delim_num; then
18967    break
18968  elif $ac_last_try; then
18969    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18970  else
18971    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18972  fi
18973done
18974rm -f conf$$subs.sh
18975
18976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18977cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18978_ACEOF
18979sed -n '
18980h
18981s/^/S["/; s/!.*/"]=/
18982p
18983g
18984s/^[^!]*!//
18985:repl
18986t repl
18987s/'"$ac_delim"'$//
18988t delim
18989:nl
18990h
18991s/\(.\{148\}\)..*/\1/
18992t more1
18993s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18994p
18995n
18996b repl
18997:more1
18998s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18999p
19000g
19001s/.\{148\}//
19002t nl
19003:delim
19004h
19005s/\(.\{148\}\)..*/\1/
19006t more2
19007s/["\\]/\\&/g; s/^/"/; s/$/"/
19008p
19009b
19010:more2
19011s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19012p
19013g
19014s/.\{148\}//
19015t delim
19016' <conf$$subs.awk | sed '
19017/^[^""]/{
19018  N
19019  s/\n//
19020}
19021' >>$CONFIG_STATUS || ac_write_fail=1
19022rm -f conf$$subs.awk
19023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19024_ACAWK
19025cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19026  for (key in S) S_is_set[key] = 1
19027  FS = ""
19028
19029}
19030{
19031  line = $ 0
19032  nfields = split(line, field, "@")
19033  substed = 0
19034  len = length(field[1])
19035  for (i = 2; i < nfields; i++) {
19036    key = field[i]
19037    keylen = length(key)
19038    if (S_is_set[key]) {
19039      value = S[key]
19040      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19041      len += length(value) + length(field[++i])
19042      substed = 1
19043    } else
19044      len += 1 + keylen
19045  }
19046
19047  print line
19048}
19049
19050_ACAWK
19051_ACEOF
19052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19053if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19054  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19055else
19056  cat
19057fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19058  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19059_ACEOF
19060
19061# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19062# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19063# trailing colons and then remove the whole line if VPATH becomes empty
19064# (actually we leave an empty line to preserve line numbers).
19065if test "x$srcdir" = x.; then
19066  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19067h
19068s///
19069s/^/:/
19070s/[	 ]*$/:/
19071s/:\$(srcdir):/:/g
19072s/:\${srcdir}:/:/g
19073s/:@srcdir@:/:/g
19074s/^:*//
19075s/:*$//
19076x
19077s/\(=[	 ]*\).*/\1/
19078G
19079s/\n//
19080s/^[^=]*=[	 ]*$//
19081}'
19082fi
19083
19084cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19085fi # test -n "$CONFIG_FILES"
19086
19087# Set up the scripts for CONFIG_HEADERS section.
19088# No need to generate them if there are no CONFIG_HEADERS.
19089# This happens for instance with `./config.status Makefile'.
19090if test -n "$CONFIG_HEADERS"; then
19091cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19092BEGIN {
19093_ACEOF
19094
19095# Transform confdefs.h into an awk script `defines.awk', embedded as
19096# here-document in config.status, that substitutes the proper values into
19097# config.h.in to produce config.h.
19098
19099# Create a delimiter string that does not exist in confdefs.h, to ease
19100# handling of long lines.
19101ac_delim='%!_!# '
19102for ac_last_try in false false :; do
19103  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19104  if test -z "$ac_tt"; then
19105    break
19106  elif $ac_last_try; then
19107    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19108  else
19109    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19110  fi
19111done
19112
19113# For the awk script, D is an array of macro values keyed by name,
19114# likewise P contains macro parameters if any.  Preserve backslash
19115# newline sequences.
19116
19117ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19118sed -n '
19119s/.\{148\}/&'"$ac_delim"'/g
19120t rset
19121:rset
19122s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19123t def
19124d
19125:def
19126s/\\$//
19127t bsnl
19128s/["\\]/\\&/g
19129s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19130D["\1"]=" \3"/p
19131s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19132d
19133:bsnl
19134s/["\\]/\\&/g
19135s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19136D["\1"]=" \3\\\\\\n"\\/p
19137t cont
19138s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19139t cont
19140d
19141:cont
19142n
19143s/.\{148\}/&'"$ac_delim"'/g
19144t clear
19145:clear
19146s/\\$//
19147t bsnlc
19148s/["\\]/\\&/g; s/^/"/; s/$/"/p
19149d
19150:bsnlc
19151s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19152b cont
19153' <confdefs.h | sed '
19154s/'"$ac_delim"'/"\\\
19155"/g' >>$CONFIG_STATUS || ac_write_fail=1
19156
19157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19158  for (key in D) D_is_set[key] = 1
19159  FS = ""
19160}
19161/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19162  line = \$ 0
19163  split(line, arg, " ")
19164  if (arg[1] == "#") {
19165    defundef = arg[2]
19166    mac1 = arg[3]
19167  } else {
19168    defundef = substr(arg[1], 2)
19169    mac1 = arg[2]
19170  }
19171  split(mac1, mac2, "(") #)
19172  macro = mac2[1]
19173  prefix = substr(line, 1, index(line, defundef) - 1)
19174  if (D_is_set[macro]) {
19175    # Preserve the white space surrounding the "#".
19176    print prefix "define", macro P[macro] D[macro]
19177    next
19178  } else {
19179    # Replace #undef with comments.  This is necessary, for example,
19180    # in the case of _POSIX_SOURCE, which is predefined and required
19181    # on some systems where configure will not decide to define it.
19182    if (defundef == "undef") {
19183      print "/*", prefix defundef, macro, "*/"
19184      next
19185    }
19186  }
19187}
19188{ print }
19189_ACAWK
19190_ACEOF
19191cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19192  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19193fi # test -n "$CONFIG_HEADERS"
19194
19195
19196eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19197shift
19198for ac_tag
19199do
19200  case $ac_tag in
19201  :[FHLC]) ac_mode=$ac_tag; continue;;
19202  esac
19203  case $ac_mode$ac_tag in
19204  :[FHL]*:*);;
19205  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19206  :[FH]-) ac_tag=-:-;;
19207  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19208  esac
19209  ac_save_IFS=$IFS
19210  IFS=:
19211  set x $ac_tag
19212  IFS=$ac_save_IFS
19213  shift
19214  ac_file=$1
19215  shift
19216
19217  case $ac_mode in
19218  :L) ac_source=$1;;
19219  :[FH])
19220    ac_file_inputs=
19221    for ac_f
19222    do
19223      case $ac_f in
19224      -) ac_f="$ac_tmp/stdin";;
19225      *) # Look for the file first in the build tree, then in the source tree
19226	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19227	 # because $ac_f cannot contain `:'.
19228	 test -f "$ac_f" ||
19229	   case $ac_f in
19230	   [\\/$]*) false;;
19231	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19232	   esac ||
19233	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19234      esac
19235      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19236      as_fn_append ac_file_inputs " '$ac_f'"
19237    done
19238
19239    # Let's still pretend it is `configure' which instantiates (i.e., don't
19240    # use $as_me), people would be surprised to read:
19241    #    /* config.h.  Generated by config.status.  */
19242    configure_input='Generated from '`
19243	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19244	`' by configure.'
19245    if test x"$ac_file" != x-; then
19246      configure_input="$ac_file.  $configure_input"
19247      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19248$as_echo "$as_me: creating $ac_file" >&6;}
19249    fi
19250    # Neutralize special characters interpreted by sed in replacement strings.
19251    case $configure_input in #(
19252    *\&* | *\|* | *\\* )
19253       ac_sed_conf_input=`$as_echo "$configure_input" |
19254       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19255    *) ac_sed_conf_input=$configure_input;;
19256    esac
19257
19258    case $ac_tag in
19259    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19260      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19261    esac
19262    ;;
19263  esac
19264
19265  ac_dir=`$as_dirname -- "$ac_file" ||
19266$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19267	 X"$ac_file" : 'X\(//\)[^/]' \| \
19268	 X"$ac_file" : 'X\(//\)$' \| \
19269	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19270$as_echo X"$ac_file" |
19271    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19272	    s//\1/
19273	    q
19274	  }
19275	  /^X\(\/\/\)[^/].*/{
19276	    s//\1/
19277	    q
19278	  }
19279	  /^X\(\/\/\)$/{
19280	    s//\1/
19281	    q
19282	  }
19283	  /^X\(\/\).*/{
19284	    s//\1/
19285	    q
19286	  }
19287	  s/.*/./; q'`
19288  as_dir="$ac_dir"; as_fn_mkdir_p
19289  ac_builddir=.
19290
19291case "$ac_dir" in
19292.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19293*)
19294  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19295  # A ".." for each directory in $ac_dir_suffix.
19296  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19297  case $ac_top_builddir_sub in
19298  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19299  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19300  esac ;;
19301esac
19302ac_abs_top_builddir=$ac_pwd
19303ac_abs_builddir=$ac_pwd$ac_dir_suffix
19304# for backward compatibility:
19305ac_top_builddir=$ac_top_build_prefix
19306
19307case $srcdir in
19308  .)  # We are building in place.
19309    ac_srcdir=.
19310    ac_top_srcdir=$ac_top_builddir_sub
19311    ac_abs_top_srcdir=$ac_pwd ;;
19312  [\\/]* | ?:[\\/]* )  # Absolute name.
19313    ac_srcdir=$srcdir$ac_dir_suffix;
19314    ac_top_srcdir=$srcdir
19315    ac_abs_top_srcdir=$srcdir ;;
19316  *) # Relative name.
19317    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19318    ac_top_srcdir=$ac_top_build_prefix$srcdir
19319    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19320esac
19321ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19322
19323
19324  case $ac_mode in
19325  :F)
19326  #
19327  # CONFIG_FILE
19328  #
19329
19330  case $INSTALL in
19331  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19332  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19333  esac
19334  ac_MKDIR_P=$MKDIR_P
19335  case $MKDIR_P in
19336  [\\/$]* | ?:[\\/]* ) ;;
19337  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19338  esac
19339_ACEOF
19340
19341cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19342# If the template does not know about datarootdir, expand it.
19343# FIXME: This hack should be removed a few years after 2.60.
19344ac_datarootdir_hack=; ac_datarootdir_seen=
19345ac_sed_dataroot='
19346/datarootdir/ {
19347  p
19348  q
19349}
19350/@datadir@/p
19351/@docdir@/p
19352/@infodir@/p
19353/@localedir@/p
19354/@mandir@/p'
19355case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19356*datarootdir*) ac_datarootdir_seen=yes;;
19357*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19358  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19359$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19360_ACEOF
19361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19362  ac_datarootdir_hack='
19363  s&@datadir@&$datadir&g
19364  s&@docdir@&$docdir&g
19365  s&@infodir@&$infodir&g
19366  s&@localedir@&$localedir&g
19367  s&@mandir@&$mandir&g
19368  s&\\\${datarootdir}&$datarootdir&g' ;;
19369esac
19370_ACEOF
19371
19372# Neutralize VPATH when `$srcdir' = `.'.
19373# Shell code in configure.ac might set extrasub.
19374# FIXME: do we really want to maintain this feature?
19375cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19376ac_sed_extra="$ac_vpsub
19377$extrasub
19378_ACEOF
19379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19380:t
19381/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19382s|@configure_input@|$ac_sed_conf_input|;t t
19383s&@top_builddir@&$ac_top_builddir_sub&;t t
19384s&@top_build_prefix@&$ac_top_build_prefix&;t t
19385s&@srcdir@&$ac_srcdir&;t t
19386s&@abs_srcdir@&$ac_abs_srcdir&;t t
19387s&@top_srcdir@&$ac_top_srcdir&;t t
19388s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19389s&@builddir@&$ac_builddir&;t t
19390s&@abs_builddir@&$ac_abs_builddir&;t t
19391s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19392s&@INSTALL@&$ac_INSTALL&;t t
19393s&@MKDIR_P@&$ac_MKDIR_P&;t t
19394$ac_datarootdir_hack
19395"
19396eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19397  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19398
19399test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19400  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19401  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19402      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19403  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19404which seems to be undefined.  Please make sure it is defined" >&5
19405$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19406which seems to be undefined.  Please make sure it is defined" >&2;}
19407
19408  rm -f "$ac_tmp/stdin"
19409  case $ac_file in
19410  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19411  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19412  esac \
19413  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19414 ;;
19415  :H)
19416  #
19417  # CONFIG_HEADER
19418  #
19419  if test x"$ac_file" != x-; then
19420    {
19421      $as_echo "/* $configure_input  */" \
19422      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19423    } >"$ac_tmp/config.h" \
19424      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19425    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19426      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19427$as_echo "$as_me: $ac_file is unchanged" >&6;}
19428    else
19429      rm -f "$ac_file"
19430      mv "$ac_tmp/config.h" "$ac_file" \
19431	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19432    fi
19433  else
19434    $as_echo "/* $configure_input  */" \
19435      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19436      || as_fn_error $? "could not create -" "$LINENO" 5
19437  fi
19438# Compute "$ac_file"'s index in $config_headers.
19439_am_arg="$ac_file"
19440_am_stamp_count=1
19441for _am_header in $config_headers :; do
19442  case $_am_header in
19443    $_am_arg | $_am_arg:* )
19444      break ;;
19445    * )
19446      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19447  esac
19448done
19449echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19450$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19451	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19452	 X"$_am_arg" : 'X\(//\)$' \| \
19453	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19454$as_echo X"$_am_arg" |
19455    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19456	    s//\1/
19457	    q
19458	  }
19459	  /^X\(\/\/\)[^/].*/{
19460	    s//\1/
19461	    q
19462	  }
19463	  /^X\(\/\/\)$/{
19464	    s//\1/
19465	    q
19466	  }
19467	  /^X\(\/\).*/{
19468	    s//\1/
19469	    q
19470	  }
19471	  s/.*/./; q'`/stamp-h$_am_stamp_count
19472 ;;
19473
19474  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19475$as_echo "$as_me: executing $ac_file commands" >&6;}
19476 ;;
19477  esac
19478
19479
19480  case $ac_file$ac_mode in
19481    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19482  # Older Autoconf quotes --file arguments for eval, but not when files
19483  # are listed without --file.  Let's play safe and only enable the eval
19484  # if we detect the quoting.
19485  # TODO: see whether this extra hack can be removed once we start
19486  # requiring Autoconf 2.70 or later.
19487  case $CONFIG_FILES in #(
19488  *\'*) :
19489    eval set x "$CONFIG_FILES" ;; #(
19490  *) :
19491    set x $CONFIG_FILES ;; #(
19492  *) :
19493     ;;
19494esac
19495  shift
19496  # Used to flag and report bootstrapping failures.
19497  am_rc=0
19498  for am_mf
19499  do
19500    # Strip MF so we end up with the name of the file.
19501    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
19502    # Check whether this is an Automake generated Makefile which includes
19503    # dependency-tracking related rules and includes.
19504    # Grep'ing the whole file directly is not great: AIX grep has a line
19505    # limit of 2048, but all sed's we know have understand at least 4000.
19506    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
19507      || continue
19508    am_dirpart=`$as_dirname -- "$am_mf" ||
19509$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19510	 X"$am_mf" : 'X\(//\)[^/]' \| \
19511	 X"$am_mf" : 'X\(//\)$' \| \
19512	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19513$as_echo X"$am_mf" |
19514    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19515	    s//\1/
19516	    q
19517	  }
19518	  /^X\(\/\/\)[^/].*/{
19519	    s//\1/
19520	    q
19521	  }
19522	  /^X\(\/\/\)$/{
19523	    s//\1/
19524	    q
19525	  }
19526	  /^X\(\/\).*/{
19527	    s//\1/
19528	    q
19529	  }
19530	  s/.*/./; q'`
19531    am_filepart=`$as_basename -- "$am_mf" ||
19532$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
19533	 X"$am_mf" : 'X\(//\)$' \| \
19534	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
19535$as_echo X/"$am_mf" |
19536    sed '/^.*\/\([^/][^/]*\)\/*$/{
19537	    s//\1/
19538	    q
19539	  }
19540	  /^X\/\(\/\/\)$/{
19541	    s//\1/
19542	    q
19543	  }
19544	  /^X\/\(\/\).*/{
19545	    s//\1/
19546	    q
19547	  }
19548	  s/.*/./; q'`
19549    { echo "$as_me:$LINENO: cd "$am_dirpart" \
19550      && sed -e '/# am--include-marker/d' "$am_filepart" \
19551        | $MAKE -f - am--depfiles" >&5
19552   (cd "$am_dirpart" \
19553      && sed -e '/# am--include-marker/d' "$am_filepart" \
19554        | $MAKE -f - am--depfiles) >&5 2>&5
19555   ac_status=$?
19556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557   (exit $ac_status); } || am_rc=$?
19558  done
19559  if test $am_rc -ne 0; then
19560    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19561$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19562as_fn_error $? "Something went wrong bootstrapping makefile fragments
19563    for automatic dependency tracking.  Try re-running configure with the
19564    '--disable-dependency-tracking' option to at least be able to build
19565    the package (albeit without support for automatic dependency tracking).
19566See \`config.log' for more details" "$LINENO" 5; }
19567  fi
19568  { am_dirpart=; unset am_dirpart;}
19569  { am_filepart=; unset am_filepart;}
19570  { am_mf=; unset am_mf;}
19571  { am_rc=; unset am_rc;}
19572  rm -f conftest-deps.mk
19573}
19574 ;;
19575    "libtool":C)
19576
19577    # See if we are running on zsh, and set the options that allow our
19578    # commands through without removal of \ escapes.
19579    if test -n "${ZSH_VERSION+set}"; then
19580      setopt NO_GLOB_SUBST
19581    fi
19582
19583    cfgfile=${ofile}T
19584    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19585    $RM "$cfgfile"
19586
19587    cat <<_LT_EOF >> "$cfgfile"
19588#! $SHELL
19589# Generated automatically by $as_me ($PACKAGE) $VERSION
19590# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19591
19592# Provide generalized library-building support services.
19593# Written by Gordon Matzigkeit, 1996
19594
19595# Copyright (C) 2014 Free Software Foundation, Inc.
19596# This is free software; see the source for copying conditions.  There is NO
19597# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19598
19599# GNU Libtool is free software; you can redistribute it and/or modify
19600# it under the terms of the GNU General Public License as published by
19601# the Free Software Foundation; either version 2 of of the License, or
19602# (at your option) any later version.
19603#
19604# As a special exception to the GNU General Public License, if you
19605# distribute this file as part of a program or library that is built
19606# using GNU Libtool, you may include this file under the  same
19607# distribution terms that you use for the rest of that program.
19608#
19609# GNU Libtool is distributed in the hope that it will be useful, but
19610# WITHOUT ANY WARRANTY; without even the implied warranty of
19611# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19612# GNU General Public License for more details.
19613#
19614# You should have received a copy of the GNU General Public License
19615# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19616
19617
19618# The names of the tagged configurations supported by this script.
19619available_tags=''
19620
19621# Configured defaults for sys_lib_dlsearch_path munging.
19622: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19623
19624# ### BEGIN LIBTOOL CONFIG
19625
19626# Which release of libtool.m4 was used?
19627macro_version=$macro_version
19628macro_revision=$macro_revision
19629
19630# Whether or not to build static libraries.
19631build_old_libs=$enable_static
19632
19633# Whether or not to build shared libraries.
19634build_libtool_libs=$enable_shared
19635
19636# What type of objects to build.
19637pic_mode=$pic_mode
19638
19639# Whether or not to optimize for fast installation.
19640fast_install=$enable_fast_install
19641
19642# Shared archive member basename,for filename based shared library versioning on AIX.
19643shared_archive_member_spec=$shared_archive_member_spec
19644
19645# Shell to use when invoking shell scripts.
19646SHELL=$lt_SHELL
19647
19648# An echo program that protects backslashes.
19649ECHO=$lt_ECHO
19650
19651# The PATH separator for the build system.
19652PATH_SEPARATOR=$lt_PATH_SEPARATOR
19653
19654# The host system.
19655host_alias=$host_alias
19656host=$host
19657host_os=$host_os
19658
19659# The build system.
19660build_alias=$build_alias
19661build=$build
19662build_os=$build_os
19663
19664# A sed program that does not truncate output.
19665SED=$lt_SED
19666
19667# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19668Xsed="\$SED -e 1s/^X//"
19669
19670# A grep program that handles long lines.
19671GREP=$lt_GREP
19672
19673# An ERE matcher.
19674EGREP=$lt_EGREP
19675
19676# A literal string matcher.
19677FGREP=$lt_FGREP
19678
19679# A BSD- or MS-compatible name lister.
19680NM=$lt_NM
19681
19682# Whether we need soft or hard links.
19683LN_S=$lt_LN_S
19684
19685# What is the maximum length of a command?
19686max_cmd_len=$max_cmd_len
19687
19688# Object file suffix (normally "o").
19689objext=$ac_objext
19690
19691# Executable file suffix (normally "").
19692exeext=$exeext
19693
19694# whether the shell understands "unset".
19695lt_unset=$lt_unset
19696
19697# turn spaces into newlines.
19698SP2NL=$lt_lt_SP2NL
19699
19700# turn newlines into spaces.
19701NL2SP=$lt_lt_NL2SP
19702
19703# convert \$build file names to \$host format.
19704to_host_file_cmd=$lt_cv_to_host_file_cmd
19705
19706# convert \$build files to toolchain format.
19707to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19708
19709# An object symbol dumper.
19710OBJDUMP=$lt_OBJDUMP
19711
19712# Method to check whether dependent libraries are shared objects.
19713deplibs_check_method=$lt_deplibs_check_method
19714
19715# Command to use when deplibs_check_method = "file_magic".
19716file_magic_cmd=$lt_file_magic_cmd
19717
19718# How to find potential files when deplibs_check_method = "file_magic".
19719file_magic_glob=$lt_file_magic_glob
19720
19721# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19722want_nocaseglob=$lt_want_nocaseglob
19723
19724# DLL creation program.
19725DLLTOOL=$lt_DLLTOOL
19726
19727# Command to associate shared and link libraries.
19728sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19729
19730# The archiver.
19731AR=$lt_AR
19732
19733# Flags to create an archive.
19734AR_FLAGS=$lt_AR_FLAGS
19735
19736# How to feed a file listing to the archiver.
19737archiver_list_spec=$lt_archiver_list_spec
19738
19739# A symbol stripping program.
19740STRIP=$lt_STRIP
19741
19742# Commands used to install an old-style archive.
19743RANLIB=$lt_RANLIB
19744old_postinstall_cmds=$lt_old_postinstall_cmds
19745old_postuninstall_cmds=$lt_old_postuninstall_cmds
19746
19747# Whether to use a lock for old archive extraction.
19748lock_old_archive_extraction=$lock_old_archive_extraction
19749
19750# A C compiler.
19751LTCC=$lt_CC
19752
19753# LTCC compiler flags.
19754LTCFLAGS=$lt_CFLAGS
19755
19756# Take the output of nm and produce a listing of raw symbols and C names.
19757global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19758
19759# Transform the output of nm in a proper C declaration.
19760global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19761
19762# Transform the output of nm into a list of symbols to manually relocate.
19763global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19764
19765# Transform the output of nm in a C name address pair.
19766global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19767
19768# Transform the output of nm in a C name address pair when lib prefix is needed.
19769global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19770
19771# The name lister interface.
19772nm_interface=$lt_lt_cv_nm_interface
19773
19774# Specify filename containing input files for \$NM.
19775nm_file_list_spec=$lt_nm_file_list_spec
19776
19777# The root where to search for dependent libraries,and where our libraries should be installed.
19778lt_sysroot=$lt_sysroot
19779
19780# Command to truncate a binary pipe.
19781lt_truncate_bin=$lt_lt_cv_truncate_bin
19782
19783# The name of the directory that contains temporary libtool files.
19784objdir=$objdir
19785
19786# Used to examine libraries when file_magic_cmd begins with "file".
19787MAGIC_CMD=$MAGIC_CMD
19788
19789# Must we lock files when doing compilation?
19790need_locks=$lt_need_locks
19791
19792# Manifest tool.
19793MANIFEST_TOOL=$lt_MANIFEST_TOOL
19794
19795# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19796DSYMUTIL=$lt_DSYMUTIL
19797
19798# Tool to change global to local symbols on Mac OS X.
19799NMEDIT=$lt_NMEDIT
19800
19801# Tool to manipulate fat objects and archives on Mac OS X.
19802LIPO=$lt_LIPO
19803
19804# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19805OTOOL=$lt_OTOOL
19806
19807# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19808OTOOL64=$lt_OTOOL64
19809
19810# Old archive suffix (normally "a").
19811libext=$libext
19812
19813# Shared library suffix (normally ".so").
19814shrext_cmds=$lt_shrext_cmds
19815
19816# The commands to extract the exported symbol list from a shared archive.
19817extract_expsyms_cmds=$lt_extract_expsyms_cmds
19818
19819# Variables whose values should be saved in libtool wrapper scripts and
19820# restored at link time.
19821variables_saved_for_relink=$lt_variables_saved_for_relink
19822
19823# Do we need the "lib" prefix for modules?
19824need_lib_prefix=$need_lib_prefix
19825
19826# Do we need a version for libraries?
19827need_version=$need_version
19828
19829# Library versioning type.
19830version_type=$version_type
19831
19832# Shared library runtime path variable.
19833runpath_var=$runpath_var
19834
19835# Shared library path variable.
19836shlibpath_var=$shlibpath_var
19837
19838# Is shlibpath searched before the hard-coded library search path?
19839shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19840
19841# Format of library name prefix.
19842libname_spec=$lt_libname_spec
19843
19844# List of archive names.  First name is the real one, the rest are links.
19845# The last name is the one that the linker finds with -lNAME
19846library_names_spec=$lt_library_names_spec
19847
19848# The coded name of the library, if different from the real name.
19849soname_spec=$lt_soname_spec
19850
19851# Permission mode override for installation of shared libraries.
19852install_override_mode=$lt_install_override_mode
19853
19854# Command to use after installation of a shared archive.
19855postinstall_cmds=$lt_postinstall_cmds
19856
19857# Command to use after uninstallation of a shared archive.
19858postuninstall_cmds=$lt_postuninstall_cmds
19859
19860# Commands used to finish a libtool library installation in a directory.
19861finish_cmds=$lt_finish_cmds
19862
19863# As "finish_cmds", except a single script fragment to be evaled but
19864# not shown.
19865finish_eval=$lt_finish_eval
19866
19867# Whether we should hardcode library paths into libraries.
19868hardcode_into_libs=$hardcode_into_libs
19869
19870# Compile-time system search path for libraries.
19871sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19872
19873# Detected run-time system search path for libraries.
19874sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19875
19876# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19877configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19878
19879# Whether dlopen is supported.
19880dlopen_support=$enable_dlopen
19881
19882# Whether dlopen of programs is supported.
19883dlopen_self=$enable_dlopen_self
19884
19885# Whether dlopen of statically linked programs is supported.
19886dlopen_self_static=$enable_dlopen_self_static
19887
19888# Commands to strip libraries.
19889old_striplib=$lt_old_striplib
19890striplib=$lt_striplib
19891
19892
19893# The linker used to build libraries.
19894LD=$lt_LD
19895
19896# How to create reloadable object files.
19897reload_flag=$lt_reload_flag
19898reload_cmds=$lt_reload_cmds
19899
19900# Commands used to build an old-style archive.
19901old_archive_cmds=$lt_old_archive_cmds
19902
19903# A language specific compiler.
19904CC=$lt_compiler
19905
19906# Is the compiler the GNU compiler?
19907with_gcc=$GCC
19908
19909# Compiler flag to turn off builtin functions.
19910no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19911
19912# Additional compiler flags for building library objects.
19913pic_flag=$lt_lt_prog_compiler_pic
19914
19915# How to pass a linker flag through the compiler.
19916wl=$lt_lt_prog_compiler_wl
19917
19918# Compiler flag to prevent dynamic linking.
19919link_static_flag=$lt_lt_prog_compiler_static
19920
19921# Does compiler simultaneously support -c and -o options?
19922compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19923
19924# Whether or not to add -lc for building shared libraries.
19925build_libtool_need_lc=$archive_cmds_need_lc
19926
19927# Whether or not to disallow shared libs when runtime libs are static.
19928allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19929
19930# Compiler flag to allow reflexive dlopens.
19931export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19932
19933# Compiler flag to generate shared objects directly from archives.
19934whole_archive_flag_spec=$lt_whole_archive_flag_spec
19935
19936# Whether the compiler copes with passing no objects directly.
19937compiler_needs_object=$lt_compiler_needs_object
19938
19939# Create an old-style archive from a shared archive.
19940old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19941
19942# Create a temporary old-style archive to link instead of a shared archive.
19943old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19944
19945# Commands used to build a shared archive.
19946archive_cmds=$lt_archive_cmds
19947archive_expsym_cmds=$lt_archive_expsym_cmds
19948
19949# Commands used to build a loadable module if different from building
19950# a shared archive.
19951module_cmds=$lt_module_cmds
19952module_expsym_cmds=$lt_module_expsym_cmds
19953
19954# Whether we are building with GNU ld or not.
19955with_gnu_ld=$lt_with_gnu_ld
19956
19957# Flag that allows shared libraries with undefined symbols to be built.
19958allow_undefined_flag=$lt_allow_undefined_flag
19959
19960# Flag that enforces no undefined symbols.
19961no_undefined_flag=$lt_no_undefined_flag
19962
19963# Flag to hardcode \$libdir into a binary during linking.
19964# This must work even if \$libdir does not exist
19965hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19966
19967# Whether we need a single "-rpath" flag with a separated argument.
19968hardcode_libdir_separator=$lt_hardcode_libdir_separator
19969
19970# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19971# DIR into the resulting binary.
19972hardcode_direct=$hardcode_direct
19973
19974# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19975# DIR into the resulting binary and the resulting library dependency is
19976# "absolute",i.e impossible to change by setting \$shlibpath_var if the
19977# library is relocated.
19978hardcode_direct_absolute=$hardcode_direct_absolute
19979
19980# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19981# into the resulting binary.
19982hardcode_minus_L=$hardcode_minus_L
19983
19984# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19985# into the resulting binary.
19986hardcode_shlibpath_var=$hardcode_shlibpath_var
19987
19988# Set to "yes" if building a shared library automatically hardcodes DIR
19989# into the library and all subsequent libraries and executables linked
19990# against it.
19991hardcode_automatic=$hardcode_automatic
19992
19993# Set to yes if linker adds runtime paths of dependent libraries
19994# to runtime path list.
19995inherit_rpath=$inherit_rpath
19996
19997# Whether libtool must link a program against all its dependency libraries.
19998link_all_deplibs=$link_all_deplibs
19999
20000# Set to "yes" if exported symbols are required.
20001always_export_symbols=$always_export_symbols
20002
20003# The commands to list exported symbols.
20004export_symbols_cmds=$lt_export_symbols_cmds
20005
20006# Symbols that should not be listed in the preloaded symbols.
20007exclude_expsyms=$lt_exclude_expsyms
20008
20009# Symbols that must always be exported.
20010include_expsyms=$lt_include_expsyms
20011
20012# Commands necessary for linking programs (against libraries) with templates.
20013prelink_cmds=$lt_prelink_cmds
20014
20015# Commands necessary for finishing linking programs.
20016postlink_cmds=$lt_postlink_cmds
20017
20018# Specify filename containing input files.
20019file_list_spec=$lt_file_list_spec
20020
20021# How to hardcode a shared library path into an executable.
20022hardcode_action=$hardcode_action
20023
20024# ### END LIBTOOL CONFIG
20025
20026_LT_EOF
20027
20028    cat <<'_LT_EOF' >> "$cfgfile"
20029
20030# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20031
20032# func_munge_path_list VARIABLE PATH
20033# -----------------------------------
20034# VARIABLE is name of variable containing _space_ separated list of
20035# directories to be munged by the contents of PATH, which is string
20036# having a format:
20037# "DIR[:DIR]:"
20038#       string "DIR[ DIR]" will be prepended to VARIABLE
20039# ":DIR[:DIR]"
20040#       string "DIR[ DIR]" will be appended to VARIABLE
20041# "DIRP[:DIRP]::[DIRA:]DIRA"
20042#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20043#       "DIRA[ DIRA]" will be appended to VARIABLE
20044# "DIR[:DIR]"
20045#       VARIABLE will be replaced by "DIR[ DIR]"
20046func_munge_path_list ()
20047{
20048    case x$2 in
20049    x)
20050        ;;
20051    *:)
20052        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20053        ;;
20054    x:*)
20055        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20056        ;;
20057    *::*)
20058        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20059        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20060        ;;
20061    *)
20062        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20063        ;;
20064    esac
20065}
20066
20067
20068# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20069func_cc_basename ()
20070{
20071    for cc_temp in $*""; do
20072      case $cc_temp in
20073        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20074        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20075        \-*) ;;
20076        *) break;;
20077      esac
20078    done
20079    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20080}
20081
20082
20083# ### END FUNCTIONS SHARED WITH CONFIGURE
20084
20085_LT_EOF
20086
20087  case $host_os in
20088  aix3*)
20089    cat <<\_LT_EOF >> "$cfgfile"
20090# AIX sometimes has problems with the GCC collect2 program.  For some
20091# reason, if we set the COLLECT_NAMES environment variable, the problems
20092# vanish in a puff of smoke.
20093if test set != "${COLLECT_NAMES+set}"; then
20094  COLLECT_NAMES=
20095  export COLLECT_NAMES
20096fi
20097_LT_EOF
20098    ;;
20099  esac
20100
20101
20102ltmain=$ac_aux_dir/ltmain.sh
20103
20104
20105  # We use sed instead of cat because bash on DJGPP gets confused if
20106  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20107  # text mode, it properly converts lines to CR/LF.  This bash problem
20108  # is reportedly fixed, but why not run on old versions too?
20109  sed '$q' "$ltmain" >> "$cfgfile" \
20110     || (rm -f "$cfgfile"; exit 1)
20111
20112   mv -f "$cfgfile" "$ofile" ||
20113    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20114  chmod +x "$ofile"
20115
20116 ;;
20117    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
20118        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
20119      esac ;;
20120    "po/stamp-it":C)
20121    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20122       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20123    fi
20124    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20125    >"po/stamp-it.tmp"
20126    sed '/^#/d
20127	 s/^[[].*] *//
20128	 /^[ 	]*$/d
20129	'"s|^|	$ac_top_srcdir/|" \
20130      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20131
20132    sed '/^POTFILES =/,/[^\\]$/ {
20133		/^POTFILES =/!d
20134		r po/POTFILES
20135	  }
20136	 ' "po/Makefile.in" >"po/Makefile"
20137    rm -f "po/Makefile.tmp"
20138    mv "po/stamp-it.tmp" "po/stamp-it"
20139   ;;
20140
20141  esac
20142done # for ac_tag
20143
20144
20145as_fn_exit 0
20146_ACEOF
20147ac_clean_files=$ac_clean_files_save
20148
20149test $ac_write_fail = 0 ||
20150  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20151
20152
20153# configure is writing to config.log, and then calls config.status.
20154# config.status does its own redirection, appending to config.log.
20155# Unfortunately, on DOS this fails, as config.log is still kept open
20156# by configure, so config.status won't be able to write to it; its
20157# output is simply discarded.  So we exec the FD to /dev/null,
20158# effectively closing config.log, so it can be properly (re)opened and
20159# appended to by config.status.  When coming back to configure, we
20160# need to make the FD available again.
20161if test "$no_create" != yes; then
20162  ac_cs_success=:
20163  ac_config_status_args=
20164  test "$silent" = yes &&
20165    ac_config_status_args="$ac_config_status_args --quiet"
20166  exec 5>/dev/null
20167  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20168  exec 5>>config.log
20169  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20170  # would make configure fail if this is the last instruction.
20171  $ac_cs_success || as_fn_exit 1
20172fi
20173if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20174  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20175$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20176fi
20177
20178
20179echo
20180echo "Build Configuration:"
20181echo
20182echo " * Debugging support:              $enable_debug"
20183if test x"$POLKIT_FOUND" = x"yes"; then
20184echo " * Polkit/PolicyKit support:       yes"
20185else
20186echo " * Polkit/PolicyKit support:       no"
20187fi
20188if test x"$enable_legacy_sm" = x"yes"; then
20189echo " * Legacy session management:      yes"
20190else
20191echo " * Legacy session management:      no"
20192fi
20193echo " * Backend:                        ${with_backend}"
20194
20195echo
20196