1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xfce4-netload-plugin 1.4.0.
4#
5# Report bugs to <xfce-dev@xfce.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and xfce-dev@xfce.org
278$0: about your system, including any error possibly output
279$0: before this message. Then install a modern shell, or
280$0: manually run the script under such a shell if you do
281$0: have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='xfce4-netload-plugin'
592PACKAGE_TARNAME='xfce4-netload-plugin'
593PACKAGE_VERSION='1.4.0'
594PACKAGE_STRING='xfce4-netload-plugin 1.4.0'
595PACKAGE_BUGREPORT='xfce-dev@xfce.org'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='am__EXEEXT_FALSE
635am__EXEEXT_TRUE
636LTLIBOBJS
637LIBOBJS
638XGETTEXT_ARGS
639MKINSTALLDIRS
640POSUB
641POFILES
642PO_IN_DATADIR_FALSE
643PO_IN_DATADIR_TRUE
644INTLLIBS
645INSTOBJEXT
646GMOFILES
647DATADIRNAME
648CATOBJEXT
649CATALOGS
650MSGFMT_OPTS
651INTL_MACOSX_LIBS
652GETTEXT_PACKAGE
653LIBXFCE4UI_REQUIRED_VERSION
654LIBXFCE4UI_LIBS
655LIBXFCE4UI_CFLAGS
656LIBXFCE4UI_VERSION
657LIBXFCE4PANEL_REQUIRED_VERSION
658LIBXFCE4PANEL_LIBS
659LIBXFCE4PANEL_CFLAGS
660LIBXFCE4PANEL_VERSION
661PKG_CONFIG_LIBDIR
662PKG_CONFIG_PATH
663PKG_CONFIG
664SOLLIBS
665OS
666ALL_LINGUAS
667INTLTOOL_PERL
668GMSGFMT
669MSGFMT
670MSGMERGE
671XGETTEXT
672INTLTOOL_POLICY_RULE
673INTLTOOL_SERVICE_RULE
674INTLTOOL_THEME_RULE
675INTLTOOL_SCHEMAS_RULE
676INTLTOOL_CAVES_RULE
677INTLTOOL_XML_NOMERGE_RULE
678INTLTOOL_XML_RULE
679INTLTOOL_KBD_RULE
680INTLTOOL_XAM_RULE
681INTLTOOL_UI_RULE
682INTLTOOL_SOUNDLIST_RULE
683INTLTOOL_SHEET_RULE
684INTLTOOL_SERVER_RULE
685INTLTOOL_PONG_RULE
686INTLTOOL_OAF_RULE
687INTLTOOL_PROP_RULE
688INTLTOOL_KEYS_RULE
689INTLTOOL_DIRECTORY_RULE
690INTLTOOL_DESKTOP_RULE
691intltool__v_merge_options_0
692intltool__v_merge_options_
693INTLTOOL_V_MERGE_OPTIONS
694INTLTOOL__v_MERGE_0
695INTLTOOL__v_MERGE_
696INTLTOOL_V_MERGE
697INTLTOOL_EXTRACT
698INTLTOOL_MERGE
699INTLTOOL_UPDATE
700USE_NLS
701CPP
702LT_SYS_LIBRARY_PATH
703OTOOL64
704OTOOL
705LIPO
706NMEDIT
707DSYMUTIL
708MANIFEST_TOOL
709RANLIB
710ac_ct_AR
711AR
712DLLTOOL
713OBJDUMP
714LN_S
715NM
716ac_ct_DUMPBIN
717DUMPBIN
718LD
719FGREP
720EGREP
721GREP
722SED
723am__fastdepCC_FALSE
724am__fastdepCC_TRUE
725CCDEPMODE
726am__nodep
727AMDEPBACKSLASH
728AMDEP_FALSE
729AMDEP_TRUE
730am__include
731DEPDIR
732OBJEXT
733EXEEXT
734ac_ct_CC
735CPPFLAGS
736LDFLAGS
737CFLAGS
738CC
739LIBTOOL
740MAINT
741MAINTAINER_MODE_FALSE
742MAINTAINER_MODE_TRUE
743AM_BACKSLASH
744AM_DEFAULT_VERBOSITY
745AM_DEFAULT_V
746AM_V
747am__untar
748am__tar
749AMTAR
750am__leading_dot
751SET_MAKE
752AWK
753mkdir_p
754MKDIR_P
755INSTALL_STRIP_PROGRAM
756STRIP
757install_sh
758MAKEINFO
759AUTOHEADER
760AUTOMAKE
761AUTOCONF
762ACLOCAL
763VERSION
764PACKAGE
765CYGPATH_W
766am__isrc
767INSTALL_DATA
768INSTALL_SCRIPT
769INSTALL_PROGRAM
770target_os
771target_vendor
772target_cpu
773target
774host_os
775host_vendor
776host_cpu
777host
778build_os
779build_vendor
780build_cpu
781build
782target_alias
783host_alias
784build_alias
785LIBS
786ECHO_T
787ECHO_N
788ECHO_C
789DEFS
790mandir
791localedir
792libdir
793psdir
794pdfdir
795dvidir
796htmldir
797infodir
798docdir
799oldincludedir
800includedir
801runstatedir
802localstatedir
803sharedstatedir
804sysconfdir
805datadir
806datarootdir
807libexecdir
808sbindir
809bindir
810program_transform_name
811prefix
812exec_prefix
813PACKAGE_URL
814PACKAGE_BUGREPORT
815PACKAGE_STRING
816PACKAGE_VERSION
817PACKAGE_TARNAME
818PACKAGE_NAME
819PATH_SEPARATOR
820SHELL
821am__quote'
822ac_subst_files=''
823ac_user_opts='
824enable_option_checking
825enable_silent_rules
826enable_maintainer_mode
827enable_static
828enable_shared
829with_pic
830enable_fast_install
831with_aix_soname
832enable_dependency_tracking
833with_gnu_ld
834with_sysroot
835enable_libtool_lock
836enable_nls
837with_locales_dir
838enable_debug
839'
840      ac_precious_vars='build_alias
841host_alias
842target_alias
843CC
844CFLAGS
845LDFLAGS
846LIBS
847CPPFLAGS
848LT_SYS_LIBRARY_PATH
849CPP
850PKG_CONFIG
851PKG_CONFIG_PATH
852PKG_CONFIG_LIBDIR'
853
854
855# Initialize some variables set by options.
856ac_init_help=
857ac_init_version=false
858ac_unrecognized_opts=
859ac_unrecognized_sep=
860# The variables have the same names as the options, with
861# dashes changed to underlines.
862cache_file=/dev/null
863exec_prefix=NONE
864no_create=
865no_recursion=
866prefix=NONE
867program_prefix=NONE
868program_suffix=NONE
869program_transform_name=s,x,x,
870silent=
871site=
872srcdir=
873verbose=
874x_includes=NONE
875x_libraries=NONE
876
877# Installation directory options.
878# These are left unexpanded so users can "make install exec_prefix=/foo"
879# and all the variables that are supposed to be based on exec_prefix
880# by default will actually change.
881# Use braces instead of parens because sh, perl, etc. also accept them.
882# (The list follows the same order as the GNU Coding Standards.)
883bindir='${exec_prefix}/bin'
884sbindir='${exec_prefix}/sbin'
885libexecdir='${exec_prefix}/libexec'
886datarootdir='${prefix}/share'
887datadir='${datarootdir}'
888sysconfdir='${prefix}/etc'
889sharedstatedir='${prefix}/com'
890localstatedir='${prefix}/var'
891runstatedir='${localstatedir}/run'
892includedir='${prefix}/include'
893oldincludedir='/usr/include'
894docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
895infodir='${datarootdir}/info'
896htmldir='${docdir}'
897dvidir='${docdir}'
898pdfdir='${docdir}'
899psdir='${docdir}'
900libdir='${exec_prefix}/lib'
901localedir='${datarootdir}/locale'
902mandir='${datarootdir}/man'
903
904ac_prev=
905ac_dashdash=
906for ac_option
907do
908  # If the previous option needs an argument, assign it.
909  if test -n "$ac_prev"; then
910    eval $ac_prev=\$ac_option
911    ac_prev=
912    continue
913  fi
914
915  case $ac_option in
916  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917  *=)   ac_optarg= ;;
918  *)    ac_optarg=yes ;;
919  esac
920
921  # Accept the important Cygnus configure options, so we can diagnose typos.
922
923  case $ac_dashdash$ac_option in
924  --)
925    ac_dashdash=yes ;;
926
927  -bindir | --bindir | --bindi | --bind | --bin | --bi)
928    ac_prev=bindir ;;
929  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
930    bindir=$ac_optarg ;;
931
932  -build | --build | --buil | --bui | --bu)
933    ac_prev=build_alias ;;
934  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935    build_alias=$ac_optarg ;;
936
937  -cache-file | --cache-file | --cache-fil | --cache-fi \
938  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939    ac_prev=cache_file ;;
940  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942    cache_file=$ac_optarg ;;
943
944  --config-cache | -C)
945    cache_file=config.cache ;;
946
947  -datadir | --datadir | --datadi | --datad)
948    ac_prev=datadir ;;
949  -datadir=* | --datadir=* | --datadi=* | --datad=*)
950    datadir=$ac_optarg ;;
951
952  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953  | --dataroo | --dataro | --datar)
954    ac_prev=datarootdir ;;
955  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957    datarootdir=$ac_optarg ;;
958
959  -disable-* | --disable-*)
960    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961    # Reject names that are not valid shell variable names.
962    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963      as_fn_error $? "invalid feature name: $ac_useropt"
964    ac_useropt_orig=$ac_useropt
965    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966    case $ac_user_opts in
967      *"
968"enable_$ac_useropt"
969"*) ;;
970      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971	 ac_unrecognized_sep=', ';;
972    esac
973    eval enable_$ac_useropt=no ;;
974
975  -docdir | --docdir | --docdi | --doc | --do)
976    ac_prev=docdir ;;
977  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
978    docdir=$ac_optarg ;;
979
980  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981    ac_prev=dvidir ;;
982  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
983    dvidir=$ac_optarg ;;
984
985  -enable-* | --enable-*)
986    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987    # Reject names that are not valid shell variable names.
988    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989      as_fn_error $? "invalid feature name: $ac_useropt"
990    ac_useropt_orig=$ac_useropt
991    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992    case $ac_user_opts in
993      *"
994"enable_$ac_useropt"
995"*) ;;
996      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997	 ac_unrecognized_sep=', ';;
998    esac
999    eval enable_$ac_useropt=\$ac_optarg ;;
1000
1001  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003  | --exec | --exe | --ex)
1004    ac_prev=exec_prefix ;;
1005  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007  | --exec=* | --exe=* | --ex=*)
1008    exec_prefix=$ac_optarg ;;
1009
1010  -gas | --gas | --ga | --g)
1011    # Obsolete; use --with-gas.
1012    with_gas=yes ;;
1013
1014  -help | --help | --hel | --he | -h)
1015    ac_init_help=long ;;
1016  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017    ac_init_help=recursive ;;
1018  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019    ac_init_help=short ;;
1020
1021  -host | --host | --hos | --ho)
1022    ac_prev=host_alias ;;
1023  -host=* | --host=* | --hos=* | --ho=*)
1024    host_alias=$ac_optarg ;;
1025
1026  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027    ac_prev=htmldir ;;
1028  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029  | --ht=*)
1030    htmldir=$ac_optarg ;;
1031
1032  -includedir | --includedir | --includedi | --included | --include \
1033  | --includ | --inclu | --incl | --inc)
1034    ac_prev=includedir ;;
1035  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036  | --includ=* | --inclu=* | --incl=* | --inc=*)
1037    includedir=$ac_optarg ;;
1038
1039  -infodir | --infodir | --infodi | --infod | --info | --inf)
1040    ac_prev=infodir ;;
1041  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042    infodir=$ac_optarg ;;
1043
1044  -libdir | --libdir | --libdi | --libd)
1045    ac_prev=libdir ;;
1046  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047    libdir=$ac_optarg ;;
1048
1049  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050  | --libexe | --libex | --libe)
1051    ac_prev=libexecdir ;;
1052  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053  | --libexe=* | --libex=* | --libe=*)
1054    libexecdir=$ac_optarg ;;
1055
1056  -localedir | --localedir | --localedi | --localed | --locale)
1057    ac_prev=localedir ;;
1058  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059    localedir=$ac_optarg ;;
1060
1061  -localstatedir | --localstatedir | --localstatedi | --localstated \
1062  | --localstate | --localstat | --localsta | --localst | --locals)
1063    ac_prev=localstatedir ;;
1064  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066    localstatedir=$ac_optarg ;;
1067
1068  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069    ac_prev=mandir ;;
1070  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071    mandir=$ac_optarg ;;
1072
1073  -nfp | --nfp | --nf)
1074    # Obsolete; use --without-fp.
1075    with_fp=no ;;
1076
1077  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078  | --no-cr | --no-c | -n)
1079    no_create=yes ;;
1080
1081  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1083    no_recursion=yes ;;
1084
1085  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087  | --oldin | --oldi | --old | --ol | --o)
1088    ac_prev=oldincludedir ;;
1089  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092    oldincludedir=$ac_optarg ;;
1093
1094  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095    ac_prev=prefix ;;
1096  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097    prefix=$ac_optarg ;;
1098
1099  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100  | --program-pre | --program-pr | --program-p)
1101    ac_prev=program_prefix ;;
1102  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104    program_prefix=$ac_optarg ;;
1105
1106  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107  | --program-suf | --program-su | --program-s)
1108    ac_prev=program_suffix ;;
1109  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111    program_suffix=$ac_optarg ;;
1112
1113  -program-transform-name | --program-transform-name \
1114  | --program-transform-nam | --program-transform-na \
1115  | --program-transform-n | --program-transform- \
1116  | --program-transform | --program-transfor \
1117  | --program-transfo | --program-transf \
1118  | --program-trans | --program-tran \
1119  | --progr-tra | --program-tr | --program-t)
1120    ac_prev=program_transform_name ;;
1121  -program-transform-name=* | --program-transform-name=* \
1122  | --program-transform-nam=* | --program-transform-na=* \
1123  | --program-transform-n=* | --program-transform-=* \
1124  | --program-transform=* | --program-transfor=* \
1125  | --program-transfo=* | --program-transf=* \
1126  | --program-trans=* | --program-tran=* \
1127  | --progr-tra=* | --program-tr=* | --program-t=*)
1128    program_transform_name=$ac_optarg ;;
1129
1130  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131    ac_prev=pdfdir ;;
1132  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133    pdfdir=$ac_optarg ;;
1134
1135  -psdir | --psdir | --psdi | --psd | --ps)
1136    ac_prev=psdir ;;
1137  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1138    psdir=$ac_optarg ;;
1139
1140  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141  | -silent | --silent | --silen | --sile | --sil)
1142    silent=yes ;;
1143
1144  -runstatedir | --runstatedir | --runstatedi | --runstated \
1145  | --runstate | --runstat | --runsta | --runst | --runs \
1146  | --run | --ru | --r)
1147    ac_prev=runstatedir ;;
1148  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1149  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1150  | --run=* | --ru=* | --r=*)
1151    runstatedir=$ac_optarg ;;
1152
1153  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1154    ac_prev=sbindir ;;
1155  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1156  | --sbi=* | --sb=*)
1157    sbindir=$ac_optarg ;;
1158
1159  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1160  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1161  | --sharedst | --shareds | --shared | --share | --shar \
1162  | --sha | --sh)
1163    ac_prev=sharedstatedir ;;
1164  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1165  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1166  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1167  | --sha=* | --sh=*)
1168    sharedstatedir=$ac_optarg ;;
1169
1170  -site | --site | --sit)
1171    ac_prev=site ;;
1172  -site=* | --site=* | --sit=*)
1173    site=$ac_optarg ;;
1174
1175  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1176    ac_prev=srcdir ;;
1177  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1178    srcdir=$ac_optarg ;;
1179
1180  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1181  | --syscon | --sysco | --sysc | --sys | --sy)
1182    ac_prev=sysconfdir ;;
1183  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1184  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1185    sysconfdir=$ac_optarg ;;
1186
1187  -target | --target | --targe | --targ | --tar | --ta | --t)
1188    ac_prev=target_alias ;;
1189  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1190    target_alias=$ac_optarg ;;
1191
1192  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193    verbose=yes ;;
1194
1195  -version | --version | --versio | --versi | --vers | -V)
1196    ac_init_version=: ;;
1197
1198  -with-* | --with-*)
1199    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1200    # Reject names that are not valid shell variable names.
1201    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202      as_fn_error $? "invalid package name: $ac_useropt"
1203    ac_useropt_orig=$ac_useropt
1204    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205    case $ac_user_opts in
1206      *"
1207"with_$ac_useropt"
1208"*) ;;
1209      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210	 ac_unrecognized_sep=', ';;
1211    esac
1212    eval with_$ac_useropt=\$ac_optarg ;;
1213
1214  -without-* | --without-*)
1215    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216    # Reject names that are not valid shell variable names.
1217    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1218      as_fn_error $? "invalid package name: $ac_useropt"
1219    ac_useropt_orig=$ac_useropt
1220    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221    case $ac_user_opts in
1222      *"
1223"with_$ac_useropt"
1224"*) ;;
1225      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226	 ac_unrecognized_sep=', ';;
1227    esac
1228    eval with_$ac_useropt=no ;;
1229
1230  --x)
1231    # Obsolete; use --with-x.
1232    with_x=yes ;;
1233
1234  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1235  | --x-incl | --x-inc | --x-in | --x-i)
1236    ac_prev=x_includes ;;
1237  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1238  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1239    x_includes=$ac_optarg ;;
1240
1241  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1242  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1243    ac_prev=x_libraries ;;
1244  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1245  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1246    x_libraries=$ac_optarg ;;
1247
1248  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1249Try \`$0 --help' for more information"
1250    ;;
1251
1252  *=*)
1253    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1254    # Reject names that are not valid shell variable names.
1255    case $ac_envvar in #(
1256      '' | [0-9]* | *[!_$as_cr_alnum]* )
1257      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1258    esac
1259    eval $ac_envvar=\$ac_optarg
1260    export $ac_envvar ;;
1261
1262  *)
1263    # FIXME: should be removed in autoconf 3.0.
1264    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268    ;;
1269
1270  esac
1271done
1272
1273if test -n "$ac_prev"; then
1274  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1275  as_fn_error $? "missing argument to $ac_option"
1276fi
1277
1278if test -n "$ac_unrecognized_opts"; then
1279  case $enable_option_checking in
1280    no) ;;
1281    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1282    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283  esac
1284fi
1285
1286# Check all directory arguments for consistency.
1287for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288		datadir sysconfdir sharedstatedir localstatedir includedir \
1289		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290		libdir localedir mandir runstatedir
1291do
1292  eval ac_val=\$$ac_var
1293  # Remove trailing slashes.
1294  case $ac_val in
1295    */ )
1296      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297      eval $ac_var=\$ac_val;;
1298  esac
1299  # Be sure to have absolute directory names.
1300  case $ac_val in
1301    [\\/$]* | ?:[\\/]* )  continue;;
1302    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1303  esac
1304  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305done
1306
1307# There might be people who depend on the old broken behavior: `$host'
1308# used to hold the argument of --host etc.
1309# FIXME: To remove some day.
1310build=$build_alias
1311host=$host_alias
1312target=$target_alias
1313
1314# FIXME: To remove some day.
1315if test "x$host_alias" != x; then
1316  if test "x$build_alias" = x; then
1317    cross_compiling=maybe
1318  elif test "x$build_alias" != "x$host_alias"; then
1319    cross_compiling=yes
1320  fi
1321fi
1322
1323ac_tool_prefix=
1324test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326test "$silent" = yes && exec 6>/dev/null
1327
1328
1329ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330ac_ls_di=`ls -di .` &&
1331ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332  as_fn_error $? "working directory cannot be determined"
1333test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334  as_fn_error $? "pwd does not report name of working directory"
1335
1336
1337# Find the source files, if location was not specified.
1338if test -z "$srcdir"; then
1339  ac_srcdir_defaulted=yes
1340  # Try the directory containing this script, then the parent directory.
1341  ac_confdir=`$as_dirname -- "$as_myself" ||
1342$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343	 X"$as_myself" : 'X\(//\)[^/]' \| \
1344	 X"$as_myself" : 'X\(//\)$' \| \
1345	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346$as_echo X"$as_myself" |
1347    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348	    s//\1/
1349	    q
1350	  }
1351	  /^X\(\/\/\)[^/].*/{
1352	    s//\1/
1353	    q
1354	  }
1355	  /^X\(\/\/\)$/{
1356	    s//\1/
1357	    q
1358	  }
1359	  /^X\(\/\).*/{
1360	    s//\1/
1361	    q
1362	  }
1363	  s/.*/./; q'`
1364  srcdir=$ac_confdir
1365  if test ! -r "$srcdir/$ac_unique_file"; then
1366    srcdir=..
1367  fi
1368else
1369  ac_srcdir_defaulted=no
1370fi
1371if test ! -r "$srcdir/$ac_unique_file"; then
1372  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1374fi
1375ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376ac_abs_confdir=`(
1377	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378	pwd)`
1379# When building in place, set srcdir=.
1380if test "$ac_abs_confdir" = "$ac_pwd"; then
1381  srcdir=.
1382fi
1383# Remove unnecessary trailing slashes from srcdir.
1384# Double slashes in file names in object file debugging info
1385# mess up M-x gdb in Emacs.
1386case $srcdir in
1387*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388esac
1389for ac_var in $ac_precious_vars; do
1390  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391  eval ac_env_${ac_var}_value=\$${ac_var}
1392  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394done
1395
1396#
1397# Report the --help message.
1398#
1399if test "$ac_init_help" = "long"; then
1400  # Omit some internal or obsolete options to make the list less imposing.
1401  # This message is too long to be a string in the A/UX 3.1 sh.
1402  cat <<_ACEOF
1403\`configure' configures xfce4-netload-plugin 1.4.0 to adapt to many kinds of systems.
1404
1405Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408VAR=VALUE.  See below for descriptions of some of the useful variables.
1409
1410Defaults for the options are specified in brackets.
1411
1412Configuration:
1413  -h, --help              display this help and exit
1414      --help=short        display options specific to this package
1415      --help=recursive    display the short help of all the included packages
1416  -V, --version           display version information and exit
1417  -q, --quiet, --silent   do not print \`checking ...' messages
1418      --cache-file=FILE   cache test results in FILE [disabled]
1419  -C, --config-cache      alias for \`--cache-file=config.cache'
1420  -n, --no-create         do not create output files
1421      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1422
1423Installation directories:
1424  --prefix=PREFIX         install architecture-independent files in PREFIX
1425                          [$ac_default_prefix]
1426  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1427                          [PREFIX]
1428
1429By default, \`make install' will install all the files in
1430\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1431an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432for instance \`--prefix=\$HOME'.
1433
1434For better control, use the options below.
1435
1436Fine tuning of the installation directories:
1437  --bindir=DIR            user executables [EPREFIX/bin]
1438  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1439  --libexecdir=DIR        program executables [EPREFIX/libexec]
1440  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1441  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1442  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1443  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1444  --libdir=DIR            object code libraries [EPREFIX/lib]
1445  --includedir=DIR        C header files [PREFIX/include]
1446  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1447  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1448  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1449  --infodir=DIR           info documentation [DATAROOTDIR/info]
1450  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1451  --mandir=DIR            man documentation [DATAROOTDIR/man]
1452  --docdir=DIR            documentation root
1453                          [DATAROOTDIR/doc/xfce4-netload-plugin]
1454  --htmldir=DIR           html documentation [DOCDIR]
1455  --dvidir=DIR            dvi documentation [DOCDIR]
1456  --pdfdir=DIR            pdf documentation [DOCDIR]
1457  --psdir=DIR             ps documentation [DOCDIR]
1458_ACEOF
1459
1460  cat <<\_ACEOF
1461
1462Program names:
1463  --program-prefix=PREFIX            prepend PREFIX to installed program names
1464  --program-suffix=SUFFIX            append SUFFIX to installed program names
1465  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1466
1467System types:
1468  --build=BUILD     configure for building on BUILD [guessed]
1469  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1470  --target=TARGET   configure for building compilers for TARGET [HOST]
1471_ACEOF
1472fi
1473
1474if test -n "$ac_init_help"; then
1475  case $ac_init_help in
1476     short | recursive ) echo "Configuration of xfce4-netload-plugin 1.4.0:";;
1477   esac
1478  cat <<\_ACEOF
1479
1480Optional Features:
1481  --disable-option-checking  ignore unrecognized --enable/--with options
1482  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1483  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1484  --enable-silent-rules   less verbose build output (undo: "make V=1")
1485  --disable-silent-rules  verbose build output (undo: "make V=0")
1486  --enable-maintainer-mode
1487                          enable make rules and dependencies not useful (and
1488                          sometimes confusing) to the casual installer
1489  --enable-static[=PKGS]  build static libraries [default=no]
1490  --enable-shared[=PKGS]  build shared libraries [default=yes]
1491  --enable-fast-install[=PKGS]
1492                          optimize for fast installation [default=yes]
1493  --enable-dependency-tracking
1494                          do not reject slow dependency extractors
1495  --disable-dependency-tracking
1496                          speeds up one-time build
1497  --disable-libtool-lock  avoid locking (might break parallel builds)
1498  --disable-nls           do not use Native Language Support
1499  --enable-debug[=no|minimum|yes|full]
1500                          Build with debugging support [default=[]]
1501  --disable-debug         Include no debugging support
1502
1503Optional Packages:
1504  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1505  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1506  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1507                          both]
1508  --with-aix-soname=aix|svr4|both
1509                          shared library versioning (aka "SONAME") variant to
1510                          provide on AIX, [default=aix].
1511  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1512  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1513                          compiler's sysroot if not specified).
1514
1515      --with-locales-dir=DIR  Install locales into DIR
1516
1517
1518Some influential environment variables:
1519  CC          C compiler command
1520  CFLAGS      C compiler flags
1521  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1522              nonstandard directory <lib dir>
1523  LIBS        libraries to pass to the linker, e.g. -l<library>
1524  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525              you have headers in a nonstandard directory <include dir>
1526  LT_SYS_LIBRARY_PATH
1527              User-defined run-time library search path.
1528  CPP         C preprocessor
1529  PKG_CONFIG  path to pkg-config utility
1530  PKG_CONFIG_PATH
1531              directories to add to pkg-config's search path
1532  PKG_CONFIG_LIBDIR
1533              path overriding pkg-config's built-in search path
1534
1535Use these variables to override the choices made by `configure' or to help
1536it to find libraries and programs with nonstandard names/locations.
1537
1538Report bugs to <xfce-dev@xfce.org>.
1539_ACEOF
1540ac_status=$?
1541fi
1542
1543if test "$ac_init_help" = "recursive"; then
1544  # If there are subdirs, report their specific --help.
1545  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1546    test -d "$ac_dir" ||
1547      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548      continue
1549    ac_builddir=.
1550
1551case "$ac_dir" in
1552.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553*)
1554  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555  # A ".." for each directory in $ac_dir_suffix.
1556  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557  case $ac_top_builddir_sub in
1558  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560  esac ;;
1561esac
1562ac_abs_top_builddir=$ac_pwd
1563ac_abs_builddir=$ac_pwd$ac_dir_suffix
1564# for backward compatibility:
1565ac_top_builddir=$ac_top_build_prefix
1566
1567case $srcdir in
1568  .)  # We are building in place.
1569    ac_srcdir=.
1570    ac_top_srcdir=$ac_top_builddir_sub
1571    ac_abs_top_srcdir=$ac_pwd ;;
1572  [\\/]* | ?:[\\/]* )  # Absolute name.
1573    ac_srcdir=$srcdir$ac_dir_suffix;
1574    ac_top_srcdir=$srcdir
1575    ac_abs_top_srcdir=$srcdir ;;
1576  *) # Relative name.
1577    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578    ac_top_srcdir=$ac_top_build_prefix$srcdir
1579    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1580esac
1581ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1582
1583    cd "$ac_dir" || { ac_status=$?; continue; }
1584    # Check for guested configure.
1585    if test -f "$ac_srcdir/configure.gnu"; then
1586      echo &&
1587      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588    elif test -f "$ac_srcdir/configure"; then
1589      echo &&
1590      $SHELL "$ac_srcdir/configure" --help=recursive
1591    else
1592      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593    fi || ac_status=$?
1594    cd "$ac_pwd" || { ac_status=$?; break; }
1595  done
1596fi
1597
1598test -n "$ac_init_help" && exit $ac_status
1599if $ac_init_version; then
1600  cat <<\_ACEOF
1601xfce4-netload-plugin configure 1.4.0
1602generated by GNU Autoconf 2.69
1603
1604Copyright (C) 2012 Free Software Foundation, Inc.
1605This configure script is free software; the Free Software Foundation
1606gives unlimited permission to copy, distribute and modify it.
1607_ACEOF
1608  exit
1609fi
1610
1611## ------------------------ ##
1612## Autoconf initialization. ##
1613## ------------------------ ##
1614
1615# ac_fn_c_try_compile LINENO
1616# --------------------------
1617# Try to compile conftest.$ac_ext, and return whether this succeeded.
1618ac_fn_c_try_compile ()
1619{
1620  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621  rm -f conftest.$ac_objext
1622  if { { ac_try="$ac_compile"
1623case "(($ac_try" in
1624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625  *) ac_try_echo=$ac_try;;
1626esac
1627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628$as_echo "$ac_try_echo"; } >&5
1629  (eval "$ac_compile") 2>conftest.err
1630  ac_status=$?
1631  if test -s conftest.err; then
1632    grep -v '^ *+' conftest.err >conftest.er1
1633    cat conftest.er1 >&5
1634    mv -f conftest.er1 conftest.err
1635  fi
1636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637  test $ac_status = 0; } && {
1638	 test -z "$ac_c_werror_flag" ||
1639	 test ! -s conftest.err
1640       } && test -s conftest.$ac_objext; then :
1641  ac_retval=0
1642else
1643  $as_echo "$as_me: failed program was:" >&5
1644sed 's/^/| /' conftest.$ac_ext >&5
1645
1646	ac_retval=1
1647fi
1648  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649  as_fn_set_status $ac_retval
1650
1651} # ac_fn_c_try_compile
1652
1653# ac_fn_c_try_link LINENO
1654# -----------------------
1655# Try to link conftest.$ac_ext, and return whether this succeeded.
1656ac_fn_c_try_link ()
1657{
1658  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659  rm -f conftest.$ac_objext conftest$ac_exeext
1660  if { { ac_try="$ac_link"
1661case "(($ac_try" in
1662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663  *) ac_try_echo=$ac_try;;
1664esac
1665eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666$as_echo "$ac_try_echo"; } >&5
1667  (eval "$ac_link") 2>conftest.err
1668  ac_status=$?
1669  if test -s conftest.err; then
1670    grep -v '^ *+' conftest.err >conftest.er1
1671    cat conftest.er1 >&5
1672    mv -f conftest.er1 conftest.err
1673  fi
1674  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675  test $ac_status = 0; } && {
1676	 test -z "$ac_c_werror_flag" ||
1677	 test ! -s conftest.err
1678       } && test -s conftest$ac_exeext && {
1679	 test "$cross_compiling" = yes ||
1680	 test -x conftest$ac_exeext
1681       }; then :
1682  ac_retval=0
1683else
1684  $as_echo "$as_me: failed program was:" >&5
1685sed 's/^/| /' conftest.$ac_ext >&5
1686
1687	ac_retval=1
1688fi
1689  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691  # interfere with the next link command; also delete a directory that is
1692  # left behind by Apple's compiler.  We do this before executing the actions.
1693  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695  as_fn_set_status $ac_retval
1696
1697} # ac_fn_c_try_link
1698
1699# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1700# -------------------------------------------------------
1701# Tests whether HEADER exists and can be compiled using the include files in
1702# INCLUDES, setting the cache variable VAR accordingly.
1703ac_fn_c_check_header_compile ()
1704{
1705  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707$as_echo_n "checking for $2... " >&6; }
1708if eval \${$3+:} false; then :
1709  $as_echo_n "(cached) " >&6
1710else
1711  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712/* end confdefs.h.  */
1713$4
1714#include <$2>
1715_ACEOF
1716if ac_fn_c_try_compile "$LINENO"; then :
1717  eval "$3=yes"
1718else
1719  eval "$3=no"
1720fi
1721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722fi
1723eval ac_res=\$$3
1724	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725$as_echo "$ac_res" >&6; }
1726  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727
1728} # ac_fn_c_check_header_compile
1729
1730# ac_fn_c_try_cpp LINENO
1731# ----------------------
1732# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1733ac_fn_c_try_cpp ()
1734{
1735  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736  if { { ac_try="$ac_cpp conftest.$ac_ext"
1737case "(($ac_try" in
1738  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739  *) ac_try_echo=$ac_try;;
1740esac
1741eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742$as_echo "$ac_try_echo"; } >&5
1743  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1744  ac_status=$?
1745  if test -s conftest.err; then
1746    grep -v '^ *+' conftest.err >conftest.er1
1747    cat conftest.er1 >&5
1748    mv -f conftest.er1 conftest.err
1749  fi
1750  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751  test $ac_status = 0; } > conftest.i && {
1752	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1753	 test ! -s conftest.err
1754       }; then :
1755  ac_retval=0
1756else
1757  $as_echo "$as_me: failed program was:" >&5
1758sed 's/^/| /' conftest.$ac_ext >&5
1759
1760    ac_retval=1
1761fi
1762  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763  as_fn_set_status $ac_retval
1764
1765} # ac_fn_c_try_cpp
1766
1767# ac_fn_c_try_run LINENO
1768# ----------------------
1769# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770# that executables *can* be run.
1771ac_fn_c_try_run ()
1772{
1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774  if { { ac_try="$ac_link"
1775case "(($ac_try" in
1776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777  *) ac_try_echo=$ac_try;;
1778esac
1779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780$as_echo "$ac_try_echo"; } >&5
1781  (eval "$ac_link") 2>&5
1782  ac_status=$?
1783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785  { { case "(($ac_try" in
1786  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787  *) ac_try_echo=$ac_try;;
1788esac
1789eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790$as_echo "$ac_try_echo"; } >&5
1791  (eval "$ac_try") 2>&5
1792  ac_status=$?
1793  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794  test $ac_status = 0; }; }; then :
1795  ac_retval=0
1796else
1797  $as_echo "$as_me: program exited with status $ac_status" >&5
1798       $as_echo "$as_me: failed program was:" >&5
1799sed 's/^/| /' conftest.$ac_ext >&5
1800
1801       ac_retval=$ac_status
1802fi
1803  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805  as_fn_set_status $ac_retval
1806
1807} # ac_fn_c_try_run
1808
1809# ac_fn_c_check_func LINENO FUNC VAR
1810# ----------------------------------
1811# Tests whether FUNC exists, setting the cache variable VAR accordingly
1812ac_fn_c_check_func ()
1813{
1814  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816$as_echo_n "checking for $2... " >&6; }
1817if eval \${$3+:} false; then :
1818  $as_echo_n "(cached) " >&6
1819else
1820  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821/* end confdefs.h.  */
1822/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1823   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1824#define $2 innocuous_$2
1825
1826/* System header to define __stub macros and hopefully few prototypes,
1827    which can conflict with char $2 (); below.
1828    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1829    <limits.h> exists even on freestanding compilers.  */
1830
1831#ifdef __STDC__
1832# include <limits.h>
1833#else
1834# include <assert.h>
1835#endif
1836
1837#undef $2
1838
1839/* Override any GCC internal prototype to avoid an error.
1840   Use char because int might match the return type of a GCC
1841   builtin and then its argument prototype would still apply.  */
1842#ifdef __cplusplus
1843extern "C"
1844#endif
1845char $2 ();
1846/* The GNU C library defines this for functions which it implements
1847    to always fail with ENOSYS.  Some functions are actually named
1848    something starting with __ and the normal name is an alias.  */
1849#if defined __stub_$2 || defined __stub___$2
1850choke me
1851#endif
1852
1853int
1854main ()
1855{
1856return $2 ();
1857  ;
1858  return 0;
1859}
1860_ACEOF
1861if ac_fn_c_try_link "$LINENO"; then :
1862  eval "$3=yes"
1863else
1864  eval "$3=no"
1865fi
1866rm -f core conftest.err conftest.$ac_objext \
1867    conftest$ac_exeext conftest.$ac_ext
1868fi
1869eval ac_res=\$$3
1870	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871$as_echo "$ac_res" >&6; }
1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874} # ac_fn_c_check_func
1875
1876# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1877# -------------------------------------------------------
1878# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1879# the include files in INCLUDES and setting the cache variable VAR
1880# accordingly.
1881ac_fn_c_check_header_mongrel ()
1882{
1883  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884  if eval \${$3+:} false; then :
1885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886$as_echo_n "checking for $2... " >&6; }
1887if eval \${$3+:} false; then :
1888  $as_echo_n "(cached) " >&6
1889fi
1890eval ac_res=\$$3
1891	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892$as_echo "$ac_res" >&6; }
1893else
1894  # Is the header compilable?
1895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1896$as_echo_n "checking $2 usability... " >&6; }
1897cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898/* end confdefs.h.  */
1899$4
1900#include <$2>
1901_ACEOF
1902if ac_fn_c_try_compile "$LINENO"; then :
1903  ac_header_compiler=yes
1904else
1905  ac_header_compiler=no
1906fi
1907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1909$as_echo "$ac_header_compiler" >&6; }
1910
1911# Is the header present?
1912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1913$as_echo_n "checking $2 presence... " >&6; }
1914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915/* end confdefs.h.  */
1916#include <$2>
1917_ACEOF
1918if ac_fn_c_try_cpp "$LINENO"; then :
1919  ac_header_preproc=yes
1920else
1921  ac_header_preproc=no
1922fi
1923rm -f conftest.err conftest.i conftest.$ac_ext
1924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1925$as_echo "$ac_header_preproc" >&6; }
1926
1927# So?  What about this header?
1928case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929  yes:no: )
1930    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1931$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1932    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1933$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1934    ;;
1935  no:yes:* )
1936    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1937$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1938    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1939$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1940    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1941$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1942    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1943$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1944    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1945$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1946( $as_echo "## -------------------------------- ##
1947## Report this to xfce-dev@xfce.org ##
1948## -------------------------------- ##"
1949     ) | sed "s/^/$as_me: WARNING:     /" >&2
1950    ;;
1951esac
1952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953$as_echo_n "checking for $2... " >&6; }
1954if eval \${$3+:} false; then :
1955  $as_echo_n "(cached) " >&6
1956else
1957  eval "$3=\$ac_header_compiler"
1958fi
1959eval ac_res=\$$3
1960	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961$as_echo "$ac_res" >&6; }
1962fi
1963  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964
1965} # ac_fn_c_check_header_mongrel
1966
1967# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1968# -------------------------------------------
1969# Tests whether TYPE exists after having included INCLUDES, setting cache
1970# variable VAR accordingly.
1971ac_fn_c_check_type ()
1972{
1973  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975$as_echo_n "checking for $2... " >&6; }
1976if eval \${$3+:} false; then :
1977  $as_echo_n "(cached) " >&6
1978else
1979  eval "$3=no"
1980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981/* end confdefs.h.  */
1982$4
1983int
1984main ()
1985{
1986if (sizeof ($2))
1987	 return 0;
1988  ;
1989  return 0;
1990}
1991_ACEOF
1992if ac_fn_c_try_compile "$LINENO"; then :
1993  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994/* end confdefs.h.  */
1995$4
1996int
1997main ()
1998{
1999if (sizeof (($2)))
2000	    return 0;
2001  ;
2002  return 0;
2003}
2004_ACEOF
2005if ac_fn_c_try_compile "$LINENO"; then :
2006
2007else
2008  eval "$3=yes"
2009fi
2010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011fi
2012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013fi
2014eval ac_res=\$$3
2015	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016$as_echo "$ac_res" >&6; }
2017  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018
2019} # ac_fn_c_check_type
2020cat >config.log <<_ACEOF
2021This file contains any messages produced by compilers while
2022running configure, to aid debugging if configure makes a mistake.
2023
2024It was created by xfce4-netload-plugin $as_me 1.4.0, which was
2025generated by GNU Autoconf 2.69.  Invocation command line was
2026
2027  $ $0 $@
2028
2029_ACEOF
2030exec 5>>config.log
2031{
2032cat <<_ASUNAME
2033## --------- ##
2034## Platform. ##
2035## --------- ##
2036
2037hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2038uname -m = `(uname -m) 2>/dev/null || echo unknown`
2039uname -r = `(uname -r) 2>/dev/null || echo unknown`
2040uname -s = `(uname -s) 2>/dev/null || echo unknown`
2041uname -v = `(uname -v) 2>/dev/null || echo unknown`
2042
2043/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2044/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2045
2046/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2047/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2048/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2049/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2050/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2051/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2052/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2053
2054_ASUNAME
2055
2056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057for as_dir in $PATH
2058do
2059  IFS=$as_save_IFS
2060  test -z "$as_dir" && as_dir=.
2061    $as_echo "PATH: $as_dir"
2062  done
2063IFS=$as_save_IFS
2064
2065} >&5
2066
2067cat >&5 <<_ACEOF
2068
2069
2070## ----------- ##
2071## Core tests. ##
2072## ----------- ##
2073
2074_ACEOF
2075
2076
2077# Keep a trace of the command line.
2078# Strip out --no-create and --no-recursion so they do not pile up.
2079# Strip out --silent because we don't want to record it for future runs.
2080# Also quote any args containing shell meta-characters.
2081# Make two passes to allow for proper duplicate-argument suppression.
2082ac_configure_args=
2083ac_configure_args0=
2084ac_configure_args1=
2085ac_must_keep_next=false
2086for ac_pass in 1 2
2087do
2088  for ac_arg
2089  do
2090    case $ac_arg in
2091    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2092    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2093    | -silent | --silent | --silen | --sile | --sil)
2094      continue ;;
2095    *\'*)
2096      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2097    esac
2098    case $ac_pass in
2099    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2100    2)
2101      as_fn_append ac_configure_args1 " '$ac_arg'"
2102      if test $ac_must_keep_next = true; then
2103	ac_must_keep_next=false # Got value, back to normal.
2104      else
2105	case $ac_arg in
2106	  *=* | --config-cache | -C | -disable-* | --disable-* \
2107	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2108	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2109	  | -with-* | --with-* | -without-* | --without-* | --x)
2110	    case "$ac_configure_args0 " in
2111	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2112	    esac
2113	    ;;
2114	  -* ) ac_must_keep_next=true ;;
2115	esac
2116      fi
2117      as_fn_append ac_configure_args " '$ac_arg'"
2118      ;;
2119    esac
2120  done
2121done
2122{ ac_configure_args0=; unset ac_configure_args0;}
2123{ ac_configure_args1=; unset ac_configure_args1;}
2124
2125# When interrupted or exit'd, cleanup temporary files, and complete
2126# config.log.  We remove comments because anyway the quotes in there
2127# would cause problems or look ugly.
2128# WARNING: Use '\'' to represent an apostrophe within the trap.
2129# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2130trap 'exit_status=$?
2131  # Save into config.log some information that might help in debugging.
2132  {
2133    echo
2134
2135    $as_echo "## ---------------- ##
2136## Cache variables. ##
2137## ---------------- ##"
2138    echo
2139    # The following way of writing the cache mishandles newlines in values,
2140(
2141  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2142    eval ac_val=\$$ac_var
2143    case $ac_val in #(
2144    *${as_nl}*)
2145      case $ac_var in #(
2146      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2147$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2148      esac
2149      case $ac_var in #(
2150      _ | IFS | as_nl) ;; #(
2151      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2152      *) { eval $ac_var=; unset $ac_var;} ;;
2153      esac ;;
2154    esac
2155  done
2156  (set) 2>&1 |
2157    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2158    *${as_nl}ac_space=\ *)
2159      sed -n \
2160	"s/'\''/'\''\\\\'\'''\''/g;
2161	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2162      ;; #(
2163    *)
2164      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2165      ;;
2166    esac |
2167    sort
2168)
2169    echo
2170
2171    $as_echo "## ----------------- ##
2172## Output variables. ##
2173## ----------------- ##"
2174    echo
2175    for ac_var in $ac_subst_vars
2176    do
2177      eval ac_val=\$$ac_var
2178      case $ac_val in
2179      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2180      esac
2181      $as_echo "$ac_var='\''$ac_val'\''"
2182    done | sort
2183    echo
2184
2185    if test -n "$ac_subst_files"; then
2186      $as_echo "## ------------------- ##
2187## File substitutions. ##
2188## ------------------- ##"
2189      echo
2190      for ac_var in $ac_subst_files
2191      do
2192	eval ac_val=\$$ac_var
2193	case $ac_val in
2194	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195	esac
2196	$as_echo "$ac_var='\''$ac_val'\''"
2197      done | sort
2198      echo
2199    fi
2200
2201    if test -s confdefs.h; then
2202      $as_echo "## ----------- ##
2203## confdefs.h. ##
2204## ----------- ##"
2205      echo
2206      cat confdefs.h
2207      echo
2208    fi
2209    test "$ac_signal" != 0 &&
2210      $as_echo "$as_me: caught signal $ac_signal"
2211    $as_echo "$as_me: exit $exit_status"
2212  } >&5
2213  rm -f core *.core core.conftest.* &&
2214    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2215    exit $exit_status
2216' 0
2217for ac_signal in 1 2 13 15; do
2218  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2219done
2220ac_signal=0
2221
2222# confdefs.h avoids OS command line length limits that DEFS can exceed.
2223rm -f -r conftest* confdefs.h
2224
2225$as_echo "/* confdefs.h */" > confdefs.h
2226
2227# Predefined preprocessor variables.
2228
2229cat >>confdefs.h <<_ACEOF
2230#define PACKAGE_NAME "$PACKAGE_NAME"
2231_ACEOF
2232
2233cat >>confdefs.h <<_ACEOF
2234#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2235_ACEOF
2236
2237cat >>confdefs.h <<_ACEOF
2238#define PACKAGE_VERSION "$PACKAGE_VERSION"
2239_ACEOF
2240
2241cat >>confdefs.h <<_ACEOF
2242#define PACKAGE_STRING "$PACKAGE_STRING"
2243_ACEOF
2244
2245cat >>confdefs.h <<_ACEOF
2246#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2247_ACEOF
2248
2249cat >>confdefs.h <<_ACEOF
2250#define PACKAGE_URL "$PACKAGE_URL"
2251_ACEOF
2252
2253
2254# Let the site file select an alternate cache file if it wants to.
2255# Prefer an explicitly selected file to automatically selected ones.
2256ac_site_file1=NONE
2257ac_site_file2=NONE
2258if test -n "$CONFIG_SITE"; then
2259  # We do not want a PATH search for config.site.
2260  case $CONFIG_SITE in #((
2261    -*)  ac_site_file1=./$CONFIG_SITE;;
2262    */*) ac_site_file1=$CONFIG_SITE;;
2263    *)   ac_site_file1=./$CONFIG_SITE;;
2264  esac
2265elif test "x$prefix" != xNONE; then
2266  ac_site_file1=$prefix/share/config.site
2267  ac_site_file2=$prefix/etc/config.site
2268else
2269  ac_site_file1=$ac_default_prefix/share/config.site
2270  ac_site_file2=$ac_default_prefix/etc/config.site
2271fi
2272for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2273do
2274  test "x$ac_site_file" = xNONE && continue
2275  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2276    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2277$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2278    sed 's/^/| /' "$ac_site_file" >&5
2279    . "$ac_site_file" \
2280      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2282as_fn_error $? "failed to load site script $ac_site_file
2283See \`config.log' for more details" "$LINENO" 5; }
2284  fi
2285done
2286
2287if test -r "$cache_file"; then
2288  # Some versions of bash will fail to source /dev/null (special files
2289  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2290  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2291    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2292$as_echo "$as_me: loading cache $cache_file" >&6;}
2293    case $cache_file in
2294      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2295      *)                      . "./$cache_file";;
2296    esac
2297  fi
2298else
2299  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2300$as_echo "$as_me: creating cache $cache_file" >&6;}
2301  >$cache_file
2302fi
2303
2304# Check that the precious variables saved in the cache have kept the same
2305# value.
2306ac_cache_corrupted=false
2307for ac_var in $ac_precious_vars; do
2308  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2309  eval ac_new_set=\$ac_env_${ac_var}_set
2310  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2311  eval ac_new_val=\$ac_env_${ac_var}_value
2312  case $ac_old_set,$ac_new_set in
2313    set,)
2314      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2315$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2316      ac_cache_corrupted=: ;;
2317    ,set)
2318      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2319$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2320      ac_cache_corrupted=: ;;
2321    ,);;
2322    *)
2323      if test "x$ac_old_val" != "x$ac_new_val"; then
2324	# differences in whitespace do not lead to failure.
2325	ac_old_val_w=`echo x $ac_old_val`
2326	ac_new_val_w=`echo x $ac_new_val`
2327	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2328	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2329$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2330	  ac_cache_corrupted=:
2331	else
2332	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2333$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2334	  eval $ac_var=\$ac_old_val
2335	fi
2336	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2337$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2338	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2339$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2340      fi;;
2341  esac
2342  # Pass precious variables to config.status.
2343  if test "$ac_new_set" = set; then
2344    case $ac_new_val in
2345    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2346    *) ac_arg=$ac_var=$ac_new_val ;;
2347    esac
2348    case " $ac_configure_args " in
2349      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2350      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2351    esac
2352  fi
2353done
2354if $ac_cache_corrupted; then
2355  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2357  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2358$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2359  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2360fi
2361## -------------------- ##
2362## Main body of script. ##
2363## -------------------- ##
2364
2365ac_ext=c
2366ac_cpp='$CPP $CPPFLAGS'
2367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2369ac_compiler_gnu=$ac_cv_c_compiler_gnu
2370
2371
2372ac_config_headers="$ac_config_headers config.h"
2373
2374
2375
2376ac_aux_dir=
2377for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2378  if test -f "$ac_dir/install-sh"; then
2379    ac_aux_dir=$ac_dir
2380    ac_install_sh="$ac_aux_dir/install-sh -c"
2381    break
2382  elif test -f "$ac_dir/install.sh"; then
2383    ac_aux_dir=$ac_dir
2384    ac_install_sh="$ac_aux_dir/install.sh -c"
2385    break
2386  elif test -f "$ac_dir/shtool"; then
2387    ac_aux_dir=$ac_dir
2388    ac_install_sh="$ac_aux_dir/shtool install -c"
2389    break
2390  fi
2391done
2392if test -z "$ac_aux_dir"; then
2393  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2394fi
2395
2396# These three variables are undocumented and unsupported,
2397# and are intended to be withdrawn in a future Autoconf release.
2398# They can cause serious problems if a builder's source tree is in a directory
2399# whose full name contains unusual characters.
2400ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2401ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2402ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2403
2404
2405# Make sure we can run config.sub.
2406$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2407  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2408
2409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2410$as_echo_n "checking build system type... " >&6; }
2411if ${ac_cv_build+:} false; then :
2412  $as_echo_n "(cached) " >&6
2413else
2414  ac_build_alias=$build_alias
2415test "x$ac_build_alias" = x &&
2416  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2417test "x$ac_build_alias" = x &&
2418  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2419ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2420  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2421
2422fi
2423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2424$as_echo "$ac_cv_build" >&6; }
2425case $ac_cv_build in
2426*-*-*) ;;
2427*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2428esac
2429build=$ac_cv_build
2430ac_save_IFS=$IFS; IFS='-'
2431set x $ac_cv_build
2432shift
2433build_cpu=$1
2434build_vendor=$2
2435shift; shift
2436# Remember, the first character of IFS is used to create $*,
2437# except with old shells:
2438build_os=$*
2439IFS=$ac_save_IFS
2440case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2441
2442
2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2444$as_echo_n "checking host system type... " >&6; }
2445if ${ac_cv_host+:} false; then :
2446  $as_echo_n "(cached) " >&6
2447else
2448  if test "x$host_alias" = x; then
2449  ac_cv_host=$ac_cv_build
2450else
2451  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2452    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2453fi
2454
2455fi
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2457$as_echo "$ac_cv_host" >&6; }
2458case $ac_cv_host in
2459*-*-*) ;;
2460*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2461esac
2462host=$ac_cv_host
2463ac_save_IFS=$IFS; IFS='-'
2464set x $ac_cv_host
2465shift
2466host_cpu=$1
2467host_vendor=$2
2468shift; shift
2469# Remember, the first character of IFS is used to create $*,
2470# except with old shells:
2471host_os=$*
2472IFS=$ac_save_IFS
2473case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2474
2475
2476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2477$as_echo_n "checking target system type... " >&6; }
2478if ${ac_cv_target+:} false; then :
2479  $as_echo_n "(cached) " >&6
2480else
2481  if test "x$target_alias" = x; then
2482  ac_cv_target=$ac_cv_host
2483else
2484  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2485    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2486fi
2487
2488fi
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2490$as_echo "$ac_cv_target" >&6; }
2491case $ac_cv_target in
2492*-*-*) ;;
2493*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2494esac
2495target=$ac_cv_target
2496ac_save_IFS=$IFS; IFS='-'
2497set x $ac_cv_target
2498shift
2499target_cpu=$1
2500target_vendor=$2
2501shift; shift
2502# Remember, the first character of IFS is used to create $*,
2503# except with old shells:
2504target_os=$*
2505IFS=$ac_save_IFS
2506case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2507
2508
2509# The aliases save the names the user supplied, while $host etc.
2510# will get canonicalized.
2511test -n "$target_alias" &&
2512  test "$program_prefix$program_suffix$program_transform_name" = \
2513    NONENONEs,x,x, &&
2514  program_prefix=${target_alias}-
2515
2516am__api_version='1.16'
2517
2518# Find a good install program.  We prefer a C program (faster),
2519# so one script is as good as another.  But avoid the broken or
2520# incompatible versions:
2521# SysV /etc/install, /usr/sbin/install
2522# SunOS /usr/etc/install
2523# IRIX /sbin/install
2524# AIX /bin/install
2525# AmigaOS /C/install, which installs bootblocks on floppy discs
2526# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2527# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2528# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2529# OS/2's system install, which has a completely different semantic
2530# ./install, which can be erroneously created by make from ./install.sh.
2531# Reject install programs that cannot install multiple files.
2532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2533$as_echo_n "checking for a BSD-compatible install... " >&6; }
2534if test -z "$INSTALL"; then
2535if ${ac_cv_path_install+:} false; then :
2536  $as_echo_n "(cached) " >&6
2537else
2538  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539for as_dir in $PATH
2540do
2541  IFS=$as_save_IFS
2542  test -z "$as_dir" && as_dir=.
2543    # Account for people who put trailing slashes in PATH elements.
2544case $as_dir/ in #((
2545  ./ | .// | /[cC]/* | \
2546  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2547  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2548  /usr/ucb/* ) ;;
2549  *)
2550    # OSF1 and SCO ODT 3.0 have their own names for install.
2551    # Don't use installbsd from OSF since it installs stuff as root
2552    # by default.
2553    for ac_prog in ginstall scoinst install; do
2554      for ac_exec_ext in '' $ac_executable_extensions; do
2555	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2556	  if test $ac_prog = install &&
2557	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2558	    # AIX install.  It has an incompatible calling convention.
2559	    :
2560	  elif test $ac_prog = install &&
2561	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2562	    # program-specific install script used by HP pwplus--don't use.
2563	    :
2564	  else
2565	    rm -rf conftest.one conftest.two conftest.dir
2566	    echo one > conftest.one
2567	    echo two > conftest.two
2568	    mkdir conftest.dir
2569	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2570	      test -s conftest.one && test -s conftest.two &&
2571	      test -s conftest.dir/conftest.one &&
2572	      test -s conftest.dir/conftest.two
2573	    then
2574	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2575	      break 3
2576	    fi
2577	  fi
2578	fi
2579      done
2580    done
2581    ;;
2582esac
2583
2584  done
2585IFS=$as_save_IFS
2586
2587rm -rf conftest.one conftest.two conftest.dir
2588
2589fi
2590  if test "${ac_cv_path_install+set}" = set; then
2591    INSTALL=$ac_cv_path_install
2592  else
2593    # As a last resort, use the slow shell script.  Don't cache a
2594    # value for INSTALL within a source directory, because that will
2595    # break other packages using the cache if that directory is
2596    # removed, or if the value is a relative name.
2597    INSTALL=$ac_install_sh
2598  fi
2599fi
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2601$as_echo "$INSTALL" >&6; }
2602
2603# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2604# It thinks the first close brace ends the variable substitution.
2605test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2606
2607test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2608
2609test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2610
2611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2612$as_echo_n "checking whether build environment is sane... " >&6; }
2613# Reject unsafe characters in $srcdir or the absolute working directory
2614# name.  Accept space and tab only in the latter.
2615am_lf='
2616'
2617case `pwd` in
2618  *[\\\"\#\$\&\'\`$am_lf]*)
2619    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2620esac
2621case $srcdir in
2622  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2623    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2624esac
2625
2626# Do 'set' in a subshell so we don't clobber the current shell's
2627# arguments.  Must try -L first in case configure is actually a
2628# symlink; some systems play weird games with the mod time of symlinks
2629# (eg FreeBSD returns the mod time of the symlink's containing
2630# directory).
2631if (
2632   am_has_slept=no
2633   for am_try in 1 2; do
2634     echo "timestamp, slept: $am_has_slept" > conftest.file
2635     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2636     if test "$*" = "X"; then
2637	# -L didn't work.
2638	set X `ls -t "$srcdir/configure" conftest.file`
2639     fi
2640     if test "$*" != "X $srcdir/configure conftest.file" \
2641	&& test "$*" != "X conftest.file $srcdir/configure"; then
2642
2643	# If neither matched, then we have a broken ls.  This can happen
2644	# if, for instance, CONFIG_SHELL is bash and it inherits a
2645	# broken ls alias from the environment.  This has actually
2646	# happened.  Such a system could not be considered "sane".
2647	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2648  alias in your environment" "$LINENO" 5
2649     fi
2650     if test "$2" = conftest.file || test $am_try -eq 2; then
2651       break
2652     fi
2653     # Just in case.
2654     sleep 1
2655     am_has_slept=yes
2656   done
2657   test "$2" = conftest.file
2658   )
2659then
2660   # Ok.
2661   :
2662else
2663   as_fn_error $? "newly created file is older than distributed files!
2664Check your system clock" "$LINENO" 5
2665fi
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2667$as_echo "yes" >&6; }
2668# If we didn't sleep, we still need to ensure time stamps of config.status and
2669# generated files are strictly newer.
2670am_sleep_pid=
2671if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2672  ( sleep 1 ) &
2673  am_sleep_pid=$!
2674fi
2675
2676rm -f conftest.file
2677
2678test "$program_prefix" != NONE &&
2679  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2680# Use a double $ so make ignores it.
2681test "$program_suffix" != NONE &&
2682  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2683# Double any \ or $.
2684# By default was `s,x,x', remove it if useless.
2685ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2686program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2687
2688# Expand $ac_aux_dir to an absolute path.
2689am_aux_dir=`cd "$ac_aux_dir" && pwd`
2690
2691if test x"${MISSING+set}" != xset; then
2692  case $am_aux_dir in
2693  *\ * | *\	*)
2694    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2695  *)
2696    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2697  esac
2698fi
2699# Use eval to expand $SHELL
2700if eval "$MISSING --is-lightweight"; then
2701  am_missing_run="$MISSING "
2702else
2703  am_missing_run=
2704  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2705$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2706fi
2707
2708if test x"${install_sh+set}" != xset; then
2709  case $am_aux_dir in
2710  *\ * | *\	*)
2711    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2712  *)
2713    install_sh="\${SHELL} $am_aux_dir/install-sh"
2714  esac
2715fi
2716
2717# Installed binaries are usually stripped using 'strip' when the user
2718# run "make install-strip".  However 'strip' might not be the right
2719# tool to use in cross-compilation environments, therefore Automake
2720# will honor the 'STRIP' environment variable to overrule this program.
2721if test "$cross_compiling" != no; then
2722  if test -n "$ac_tool_prefix"; then
2723  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2724set dummy ${ac_tool_prefix}strip; ac_word=$2
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726$as_echo_n "checking for $ac_word... " >&6; }
2727if ${ac_cv_prog_STRIP+:} false; then :
2728  $as_echo_n "(cached) " >&6
2729else
2730  if test -n "$STRIP"; then
2731  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2732else
2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734for as_dir in $PATH
2735do
2736  IFS=$as_save_IFS
2737  test -z "$as_dir" && as_dir=.
2738    for ac_exec_ext in '' $ac_executable_extensions; do
2739  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742    break 2
2743  fi
2744done
2745  done
2746IFS=$as_save_IFS
2747
2748fi
2749fi
2750STRIP=$ac_cv_prog_STRIP
2751if test -n "$STRIP"; then
2752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2753$as_echo "$STRIP" >&6; }
2754else
2755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756$as_echo "no" >&6; }
2757fi
2758
2759
2760fi
2761if test -z "$ac_cv_prog_STRIP"; then
2762  ac_ct_STRIP=$STRIP
2763  # Extract the first word of "strip", so it can be a program name with args.
2764set dummy strip; ac_word=$2
2765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766$as_echo_n "checking for $ac_word... " >&6; }
2767if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2768  $as_echo_n "(cached) " >&6
2769else
2770  if test -n "$ac_ct_STRIP"; then
2771  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2772else
2773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774for as_dir in $PATH
2775do
2776  IFS=$as_save_IFS
2777  test -z "$as_dir" && as_dir=.
2778    for ac_exec_ext in '' $ac_executable_extensions; do
2779  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780    ac_cv_prog_ac_ct_STRIP="strip"
2781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782    break 2
2783  fi
2784done
2785  done
2786IFS=$as_save_IFS
2787
2788fi
2789fi
2790ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2791if test -n "$ac_ct_STRIP"; then
2792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2793$as_echo "$ac_ct_STRIP" >&6; }
2794else
2795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796$as_echo "no" >&6; }
2797fi
2798
2799  if test "x$ac_ct_STRIP" = x; then
2800    STRIP=":"
2801  else
2802    case $cross_compiling:$ac_tool_warned in
2803yes:)
2804{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2805$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2806ac_tool_warned=yes ;;
2807esac
2808    STRIP=$ac_ct_STRIP
2809  fi
2810else
2811  STRIP="$ac_cv_prog_STRIP"
2812fi
2813
2814fi
2815INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2816
2817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2818$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2819if test -z "$MKDIR_P"; then
2820  if ${ac_cv_path_mkdir+:} false; then :
2821  $as_echo_n "(cached) " >&6
2822else
2823  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2825do
2826  IFS=$as_save_IFS
2827  test -z "$as_dir" && as_dir=.
2828    for ac_prog in mkdir gmkdir; do
2829	 for ac_exec_ext in '' $ac_executable_extensions; do
2830	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2831	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2832	     'mkdir (GNU coreutils) '* | \
2833	     'mkdir (coreutils) '* | \
2834	     'mkdir (fileutils) '4.1*)
2835	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2836	       break 3;;
2837	   esac
2838	 done
2839       done
2840  done
2841IFS=$as_save_IFS
2842
2843fi
2844
2845  test -d ./--version && rmdir ./--version
2846  if test "${ac_cv_path_mkdir+set}" = set; then
2847    MKDIR_P="$ac_cv_path_mkdir -p"
2848  else
2849    # As a last resort, use the slow shell script.  Don't cache a
2850    # value for MKDIR_P within a source directory, because that will
2851    # break other packages using the cache if that directory is
2852    # removed, or if the value is a relative name.
2853    MKDIR_P="$ac_install_sh -d"
2854  fi
2855fi
2856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2857$as_echo "$MKDIR_P" >&6; }
2858
2859for ac_prog in gawk mawk nawk awk
2860do
2861  # Extract the first word of "$ac_prog", so it can be a program name with args.
2862set dummy $ac_prog; ac_word=$2
2863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864$as_echo_n "checking for $ac_word... " >&6; }
2865if ${ac_cv_prog_AWK+:} false; then :
2866  $as_echo_n "(cached) " >&6
2867else
2868  if test -n "$AWK"; then
2869  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2870else
2871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872for as_dir in $PATH
2873do
2874  IFS=$as_save_IFS
2875  test -z "$as_dir" && as_dir=.
2876    for ac_exec_ext in '' $ac_executable_extensions; do
2877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878    ac_cv_prog_AWK="$ac_prog"
2879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880    break 2
2881  fi
2882done
2883  done
2884IFS=$as_save_IFS
2885
2886fi
2887fi
2888AWK=$ac_cv_prog_AWK
2889if test -n "$AWK"; then
2890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2891$as_echo "$AWK" >&6; }
2892else
2893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894$as_echo "no" >&6; }
2895fi
2896
2897
2898  test -n "$AWK" && break
2899done
2900
2901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2902$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2903set x ${MAKE-make}
2904ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2905if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2906  $as_echo_n "(cached) " >&6
2907else
2908  cat >conftest.make <<\_ACEOF
2909SHELL = /bin/sh
2910all:
2911	@echo '@@@%%%=$(MAKE)=@@@%%%'
2912_ACEOF
2913# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2914case `${MAKE-make} -f conftest.make 2>/dev/null` in
2915  *@@@%%%=?*=@@@%%%*)
2916    eval ac_cv_prog_make_${ac_make}_set=yes;;
2917  *)
2918    eval ac_cv_prog_make_${ac_make}_set=no;;
2919esac
2920rm -f conftest.make
2921fi
2922if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2924$as_echo "yes" >&6; }
2925  SET_MAKE=
2926else
2927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928$as_echo "no" >&6; }
2929  SET_MAKE="MAKE=${MAKE-make}"
2930fi
2931
2932rm -rf .tst 2>/dev/null
2933mkdir .tst 2>/dev/null
2934if test -d .tst; then
2935  am__leading_dot=.
2936else
2937  am__leading_dot=_
2938fi
2939rmdir .tst 2>/dev/null
2940
2941# Check whether --enable-silent-rules was given.
2942if test "${enable_silent_rules+set}" = set; then :
2943  enableval=$enable_silent_rules;
2944fi
2945
2946case $enable_silent_rules in # (((
2947  yes) AM_DEFAULT_VERBOSITY=0;;
2948   no) AM_DEFAULT_VERBOSITY=1;;
2949    *) AM_DEFAULT_VERBOSITY=1;;
2950esac
2951am_make=${MAKE-make}
2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2953$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2954if ${am_cv_make_support_nested_variables+:} false; then :
2955  $as_echo_n "(cached) " >&6
2956else
2957  if $as_echo 'TRUE=$(BAR$(V))
2958BAR0=false
2959BAR1=true
2960V=1
2961am__doit:
2962	@$(TRUE)
2963.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2964  am_cv_make_support_nested_variables=yes
2965else
2966  am_cv_make_support_nested_variables=no
2967fi
2968fi
2969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2970$as_echo "$am_cv_make_support_nested_variables" >&6; }
2971if test $am_cv_make_support_nested_variables = yes; then
2972    AM_V='$(V)'
2973  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2974else
2975  AM_V=$AM_DEFAULT_VERBOSITY
2976  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2977fi
2978AM_BACKSLASH='\'
2979
2980if test "`cd $srcdir && pwd`" != "`pwd`"; then
2981  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2982  # is not polluted with repeated "-I."
2983  am__isrc=' -I$(srcdir)'
2984  # test to see if srcdir already configured
2985  if test -f $srcdir/config.status; then
2986    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2987  fi
2988fi
2989
2990# test whether we have cygpath
2991if test -z "$CYGPATH_W"; then
2992  if (cygpath --version) >/dev/null 2>/dev/null; then
2993    CYGPATH_W='cygpath -w'
2994  else
2995    CYGPATH_W=echo
2996  fi
2997fi
2998
2999
3000# Define the identity of the package.
3001 PACKAGE='xfce4-netload-plugin'
3002 VERSION='1.4.0'
3003
3004
3005cat >>confdefs.h <<_ACEOF
3006#define PACKAGE "$PACKAGE"
3007_ACEOF
3008
3009
3010cat >>confdefs.h <<_ACEOF
3011#define VERSION "$VERSION"
3012_ACEOF
3013
3014# Some tools Automake needs.
3015
3016ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3017
3018
3019AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3020
3021
3022AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3023
3024
3025AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3026
3027
3028MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3029
3030# For better backward compatibility.  To be removed once Automake 1.9.x
3031# dies out for good.  For more background, see:
3032# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3033# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3034mkdir_p='$(MKDIR_P)'
3035
3036# We need awk for the "check" target (and possibly the TAP driver).  The
3037# system "awk" is bad on some platforms.
3038# Always define AMTAR for backward compatibility.  Yes, it's still used
3039# in the wild :-(  We should find a proper way to deprecate it ...
3040AMTAR='$${TAR-tar}'
3041
3042
3043# We'll loop over all known methods to create a tar archive until one works.
3044_am_tools='gnutar  pax cpio none'
3045
3046am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3047
3048
3049
3050
3051
3052
3053# POSIX will say in a future version that running "rm -f" with no argument
3054# is OK; and we want to be able to make that assumption in our Makefile
3055# recipes.  So use an aggressive probe to check that the usage we want is
3056# actually supported "in the wild" to an acceptable degree.
3057# See automake bug#10828.
3058# To make any issue more visible, cause the running configure to be aborted
3059# by default if the 'rm' program in use doesn't match our expectations; the
3060# user can still override this though.
3061if rm -f && rm -fr && rm -rf; then : OK; else
3062  cat >&2 <<'END'
3063Oops!
3064
3065Your 'rm' program seems unable to run without file operands specified
3066on the command line, even when the '-f' option is present.  This is contrary
3067to the behaviour of most rm programs out there, and not conforming with
3068the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3069
3070Please tell bug-automake@gnu.org about your system, including the value
3071of your $PATH and any error possibly output before this message.  This
3072can help us improve future automake versions.
3073
3074END
3075  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3076    echo 'Configuration will proceed anyway, since you have set the' >&2
3077    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3078    echo >&2
3079  else
3080    cat >&2 <<'END'
3081Aborting the configuration process, to ensure you take notice of the issue.
3082
3083You can download and install GNU coreutils to get an 'rm' implementation
3084that behaves properly: <https://www.gnu.org/software/coreutils/>.
3085
3086If you want to complete the configuration process using your problematic
3087'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3088to "yes", and re-run configure.
3089
3090END
3091    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3092  fi
3093fi
3094
3095
3096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3097$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3098    # Check whether --enable-maintainer-mode was given.
3099if test "${enable_maintainer_mode+set}" = set; then :
3100  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3101else
3102  USE_MAINTAINER_MODE=no
3103fi
3104
3105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3106$as_echo "$USE_MAINTAINER_MODE" >&6; }
3107   if test $USE_MAINTAINER_MODE = yes; then
3108  MAINTAINER_MODE_TRUE=
3109  MAINTAINER_MODE_FALSE='#'
3110else
3111  MAINTAINER_MODE_TRUE='#'
3112  MAINTAINER_MODE_FALSE=
3113fi
3114
3115  MAINT=$MAINTAINER_MODE_TRUE
3116
3117
3118# Check whether --enable-silent-rules was given.
3119if test "${enable_silent_rules+set}" = set; then :
3120  enableval=$enable_silent_rules;
3121fi
3122
3123case $enable_silent_rules in # (((
3124  yes) AM_DEFAULT_VERBOSITY=0;;
3125   no) AM_DEFAULT_VERBOSITY=1;;
3126    *) AM_DEFAULT_VERBOSITY=0;;
3127esac
3128am_make=${MAKE-make}
3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3130$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3131if ${am_cv_make_support_nested_variables+:} false; then :
3132  $as_echo_n "(cached) " >&6
3133else
3134  if $as_echo 'TRUE=$(BAR$(V))
3135BAR0=false
3136BAR1=true
3137V=1
3138am__doit:
3139	@$(TRUE)
3140.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3141  am_cv_make_support_nested_variables=yes
3142else
3143  am_cv_make_support_nested_variables=no
3144fi
3145fi
3146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3147$as_echo "$am_cv_make_support_nested_variables" >&6; }
3148if test $am_cv_make_support_nested_variables = yes; then
3149    AM_V='$(V)'
3150  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3151else
3152  AM_V=$AM_DEFAULT_VERBOSITY
3153  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3154fi
3155AM_BACKSLASH='\'
3156
3157
3158
3159case `pwd` in
3160  *\ * | *\	*)
3161    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3162$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3163esac
3164
3165
3166
3167macro_version='2.4.6'
3168macro_revision='2.4.6'
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182ltmain=$ac_aux_dir/ltmain.sh
3183
3184# Backslashify metacharacters that are still active within
3185# double-quoted strings.
3186sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3187
3188# Same as above, but do not quote variable references.
3189double_quote_subst='s/\(["`\\]\)/\\\1/g'
3190
3191# Sed substitution to delay expansion of an escaped shell variable in a
3192# double_quote_subst'ed string.
3193delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3194
3195# Sed substitution to delay expansion of an escaped single quote.
3196delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3197
3198# Sed substitution to avoid accidental globbing in evaled expressions
3199no_glob_subst='s/\*/\\\*/g'
3200
3201ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3202ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3203ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3204
3205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3206$as_echo_n "checking how to print strings... " >&6; }
3207# Test print first, because it will be a builtin if present.
3208if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3209   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3210  ECHO='print -r --'
3211elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3212  ECHO='printf %s\n'
3213else
3214  # Use this function as a fallback that always works.
3215  func_fallback_echo ()
3216  {
3217    eval 'cat <<_LTECHO_EOF
3218$1
3219_LTECHO_EOF'
3220  }
3221  ECHO='func_fallback_echo'
3222fi
3223
3224# func_echo_all arg...
3225# Invoke $ECHO with all args, space-separated.
3226func_echo_all ()
3227{
3228    $ECHO ""
3229}
3230
3231case $ECHO in
3232  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3233$as_echo "printf" >&6; } ;;
3234  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3235$as_echo "print -r" >&6; } ;;
3236  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3237$as_echo "cat" >&6; } ;;
3238esac
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253DEPDIR="${am__leading_dot}deps"
3254
3255ac_config_commands="$ac_config_commands depfiles"
3256
3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3258$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3259cat > confinc.mk << 'END'
3260am__doit:
3261	@echo this is the am__doit target >confinc.out
3262.PHONY: am__doit
3263END
3264am__include="#"
3265am__quote=
3266# BSD make does it like this.
3267echo '.include "confinc.mk" # ignored' > confmf.BSD
3268# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3269echo 'include confinc.mk # ignored' > confmf.GNU
3270_am_result=no
3271for s in GNU BSD; do
3272  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3273   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3274   ac_status=$?
3275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276   (exit $ac_status); }
3277  case $?:`cat confinc.out 2>/dev/null` in #(
3278  '0:this is the am__doit target') :
3279    case $s in #(
3280  BSD) :
3281    am__include='.include' am__quote='"' ;; #(
3282  *) :
3283    am__include='include' am__quote='' ;;
3284esac ;; #(
3285  *) :
3286     ;;
3287esac
3288  if test "$am__include" != "#"; then
3289    _am_result="yes ($s style)"
3290    break
3291  fi
3292done
3293rm -f confinc.* confmf.*
3294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3295$as_echo "${_am_result}" >&6; }
3296
3297# Check whether --enable-dependency-tracking was given.
3298if test "${enable_dependency_tracking+set}" = set; then :
3299  enableval=$enable_dependency_tracking;
3300fi
3301
3302if test "x$enable_dependency_tracking" != xno; then
3303  am_depcomp="$ac_aux_dir/depcomp"
3304  AMDEPBACKSLASH='\'
3305  am__nodep='_no'
3306fi
3307 if test "x$enable_dependency_tracking" != xno; then
3308  AMDEP_TRUE=
3309  AMDEP_FALSE='#'
3310else
3311  AMDEP_TRUE='#'
3312  AMDEP_FALSE=
3313fi
3314
3315
3316ac_ext=c
3317ac_cpp='$CPP $CPPFLAGS'
3318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321if test -n "$ac_tool_prefix"; then
3322  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3323set dummy ${ac_tool_prefix}gcc; ac_word=$2
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3325$as_echo_n "checking for $ac_word... " >&6; }
3326if ${ac_cv_prog_CC+:} false; then :
3327  $as_echo_n "(cached) " >&6
3328else
3329  if test -n "$CC"; then
3330  ac_cv_prog_CC="$CC" # Let the user override the test.
3331else
3332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333for as_dir in $PATH
3334do
3335  IFS=$as_save_IFS
3336  test -z "$as_dir" && as_dir=.
3337    for ac_exec_ext in '' $ac_executable_extensions; do
3338  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341    break 2
3342  fi
3343done
3344  done
3345IFS=$as_save_IFS
3346
3347fi
3348fi
3349CC=$ac_cv_prog_CC
3350if test -n "$CC"; then
3351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3352$as_echo "$CC" >&6; }
3353else
3354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355$as_echo "no" >&6; }
3356fi
3357
3358
3359fi
3360if test -z "$ac_cv_prog_CC"; then
3361  ac_ct_CC=$CC
3362  # Extract the first word of "gcc", so it can be a program name with args.
3363set dummy gcc; ac_word=$2
3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365$as_echo_n "checking for $ac_word... " >&6; }
3366if ${ac_cv_prog_ac_ct_CC+:} false; then :
3367  $as_echo_n "(cached) " >&6
3368else
3369  if test -n "$ac_ct_CC"; then
3370  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3371else
3372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373for as_dir in $PATH
3374do
3375  IFS=$as_save_IFS
3376  test -z "$as_dir" && as_dir=.
3377    for ac_exec_ext in '' $ac_executable_extensions; do
3378  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379    ac_cv_prog_ac_ct_CC="gcc"
3380    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381    break 2
3382  fi
3383done
3384  done
3385IFS=$as_save_IFS
3386
3387fi
3388fi
3389ac_ct_CC=$ac_cv_prog_ac_ct_CC
3390if test -n "$ac_ct_CC"; then
3391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3392$as_echo "$ac_ct_CC" >&6; }
3393else
3394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395$as_echo "no" >&6; }
3396fi
3397
3398  if test "x$ac_ct_CC" = x; then
3399    CC=""
3400  else
3401    case $cross_compiling:$ac_tool_warned in
3402yes:)
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3404$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3405ac_tool_warned=yes ;;
3406esac
3407    CC=$ac_ct_CC
3408  fi
3409else
3410  CC="$ac_cv_prog_CC"
3411fi
3412
3413if test -z "$CC"; then
3414          if test -n "$ac_tool_prefix"; then
3415    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3416set dummy ${ac_tool_prefix}cc; ac_word=$2
3417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418$as_echo_n "checking for $ac_word... " >&6; }
3419if ${ac_cv_prog_CC+:} false; then :
3420  $as_echo_n "(cached) " >&6
3421else
3422  if test -n "$CC"; then
3423  ac_cv_prog_CC="$CC" # Let the user override the test.
3424else
3425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3426for as_dir in $PATH
3427do
3428  IFS=$as_save_IFS
3429  test -z "$as_dir" && as_dir=.
3430    for ac_exec_ext in '' $ac_executable_extensions; do
3431  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3432    ac_cv_prog_CC="${ac_tool_prefix}cc"
3433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434    break 2
3435  fi
3436done
3437  done
3438IFS=$as_save_IFS
3439
3440fi
3441fi
3442CC=$ac_cv_prog_CC
3443if test -n "$CC"; then
3444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3445$as_echo "$CC" >&6; }
3446else
3447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448$as_echo "no" >&6; }
3449fi
3450
3451
3452  fi
3453fi
3454if test -z "$CC"; then
3455  # Extract the first word of "cc", so it can be a program name with args.
3456set dummy cc; ac_word=$2
3457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458$as_echo_n "checking for $ac_word... " >&6; }
3459if ${ac_cv_prog_CC+:} false; then :
3460  $as_echo_n "(cached) " >&6
3461else
3462  if test -n "$CC"; then
3463  ac_cv_prog_CC="$CC" # Let the user override the test.
3464else
3465  ac_prog_rejected=no
3466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467for as_dir in $PATH
3468do
3469  IFS=$as_save_IFS
3470  test -z "$as_dir" && as_dir=.
3471    for ac_exec_ext in '' $ac_executable_extensions; do
3472  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3474       ac_prog_rejected=yes
3475       continue
3476     fi
3477    ac_cv_prog_CC="cc"
3478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479    break 2
3480  fi
3481done
3482  done
3483IFS=$as_save_IFS
3484
3485if test $ac_prog_rejected = yes; then
3486  # We found a bogon in the path, so make sure we never use it.
3487  set dummy $ac_cv_prog_CC
3488  shift
3489  if test $# != 0; then
3490    # We chose a different compiler from the bogus one.
3491    # However, it has the same basename, so the bogon will be chosen
3492    # first if we set CC to just the basename; use the full file name.
3493    shift
3494    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3495  fi
3496fi
3497fi
3498fi
3499CC=$ac_cv_prog_CC
3500if test -n "$CC"; then
3501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3502$as_echo "$CC" >&6; }
3503else
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505$as_echo "no" >&6; }
3506fi
3507
3508
3509fi
3510if test -z "$CC"; then
3511  if test -n "$ac_tool_prefix"; then
3512  for ac_prog in cl.exe
3513  do
3514    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3515set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517$as_echo_n "checking for $ac_word... " >&6; }
3518if ${ac_cv_prog_CC+:} false; then :
3519  $as_echo_n "(cached) " >&6
3520else
3521  if test -n "$CC"; then
3522  ac_cv_prog_CC="$CC" # Let the user override the test.
3523else
3524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525for as_dir in $PATH
3526do
3527  IFS=$as_save_IFS
3528  test -z "$as_dir" && as_dir=.
3529    for ac_exec_ext in '' $ac_executable_extensions; do
3530  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3531    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533    break 2
3534  fi
3535done
3536  done
3537IFS=$as_save_IFS
3538
3539fi
3540fi
3541CC=$ac_cv_prog_CC
3542if test -n "$CC"; then
3543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544$as_echo "$CC" >&6; }
3545else
3546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547$as_echo "no" >&6; }
3548fi
3549
3550
3551    test -n "$CC" && break
3552  done
3553fi
3554if test -z "$CC"; then
3555  ac_ct_CC=$CC
3556  for ac_prog in cl.exe
3557do
3558  # Extract the first word of "$ac_prog", so it can be a program name with args.
3559set dummy $ac_prog; ac_word=$2
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561$as_echo_n "checking for $ac_word... " >&6; }
3562if ${ac_cv_prog_ac_ct_CC+:} false; then :
3563  $as_echo_n "(cached) " >&6
3564else
3565  if test -n "$ac_ct_CC"; then
3566  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3567else
3568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569for as_dir in $PATH
3570do
3571  IFS=$as_save_IFS
3572  test -z "$as_dir" && as_dir=.
3573    for ac_exec_ext in '' $ac_executable_extensions; do
3574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575    ac_cv_prog_ac_ct_CC="$ac_prog"
3576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577    break 2
3578  fi
3579done
3580  done
3581IFS=$as_save_IFS
3582
3583fi
3584fi
3585ac_ct_CC=$ac_cv_prog_ac_ct_CC
3586if test -n "$ac_ct_CC"; then
3587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3588$as_echo "$ac_ct_CC" >&6; }
3589else
3590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591$as_echo "no" >&6; }
3592fi
3593
3594
3595  test -n "$ac_ct_CC" && break
3596done
3597
3598  if test "x$ac_ct_CC" = x; then
3599    CC=""
3600  else
3601    case $cross_compiling:$ac_tool_warned in
3602yes:)
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3605ac_tool_warned=yes ;;
3606esac
3607    CC=$ac_ct_CC
3608  fi
3609fi
3610
3611fi
3612
3613
3614test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616as_fn_error $? "no acceptable C compiler found in \$PATH
3617See \`config.log' for more details" "$LINENO" 5; }
3618
3619# Provide some information about the compiler.
3620$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3621set X $ac_compile
3622ac_compiler=$2
3623for ac_option in --version -v -V -qversion; do
3624  { { ac_try="$ac_compiler $ac_option >&5"
3625case "(($ac_try" in
3626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627  *) ac_try_echo=$ac_try;;
3628esac
3629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630$as_echo "$ac_try_echo"; } >&5
3631  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3632  ac_status=$?
3633  if test -s conftest.err; then
3634    sed '10a\
3635... rest of stderr output deleted ...
3636         10q' conftest.err >conftest.er1
3637    cat conftest.er1 >&5
3638  fi
3639  rm -f conftest.er1 conftest.err
3640  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641  test $ac_status = 0; }
3642done
3643
3644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645/* end confdefs.h.  */
3646
3647int
3648main ()
3649{
3650
3651  ;
3652  return 0;
3653}
3654_ACEOF
3655ac_clean_files_save=$ac_clean_files
3656ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3657# Try to create an executable without -o first, disregard a.out.
3658# It will help us diagnose broken compilers, and finding out an intuition
3659# of exeext.
3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3661$as_echo_n "checking whether the C compiler works... " >&6; }
3662ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3663
3664# The possible output files:
3665ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3666
3667ac_rmfiles=
3668for ac_file in $ac_files
3669do
3670  case $ac_file in
3671    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3672    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3673  esac
3674done
3675rm -f $ac_rmfiles
3676
3677if { { ac_try="$ac_link_default"
3678case "(($ac_try" in
3679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680  *) ac_try_echo=$ac_try;;
3681esac
3682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683$as_echo "$ac_try_echo"; } >&5
3684  (eval "$ac_link_default") 2>&5
3685  ac_status=$?
3686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3687  test $ac_status = 0; }; then :
3688  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3689# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3690# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3691# so that the user can short-circuit this test for compilers unknown to
3692# Autoconf.
3693for ac_file in $ac_files ''
3694do
3695  test -f "$ac_file" || continue
3696  case $ac_file in
3697    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3698	;;
3699    [ab].out )
3700	# We found the default executable, but exeext='' is most
3701	# certainly right.
3702	break;;
3703    *.* )
3704	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3705	then :; else
3706	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3707	fi
3708	# We set ac_cv_exeext here because the later test for it is not
3709	# safe: cross compilers may not add the suffix if given an `-o'
3710	# argument, so we may need to know it at that point already.
3711	# Even if this section looks crufty: it has the advantage of
3712	# actually working.
3713	break;;
3714    * )
3715	break;;
3716  esac
3717done
3718test "$ac_cv_exeext" = no && ac_cv_exeext=
3719
3720else
3721  ac_file=''
3722fi
3723if test -z "$ac_file"; then :
3724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725$as_echo "no" >&6; }
3726$as_echo "$as_me: failed program was:" >&5
3727sed 's/^/| /' conftest.$ac_ext >&5
3728
3729{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3731as_fn_error 77 "C compiler cannot create executables
3732See \`config.log' for more details" "$LINENO" 5; }
3733else
3734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3735$as_echo "yes" >&6; }
3736fi
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3738$as_echo_n "checking for C compiler default output file name... " >&6; }
3739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3740$as_echo "$ac_file" >&6; }
3741ac_exeext=$ac_cv_exeext
3742
3743rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3744ac_clean_files=$ac_clean_files_save
3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3746$as_echo_n "checking for suffix of executables... " >&6; }
3747if { { ac_try="$ac_link"
3748case "(($ac_try" in
3749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750  *) ac_try_echo=$ac_try;;
3751esac
3752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753$as_echo "$ac_try_echo"; } >&5
3754  (eval "$ac_link") 2>&5
3755  ac_status=$?
3756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757  test $ac_status = 0; }; then :
3758  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3759# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3760# work properly (i.e., refer to `conftest.exe'), while it won't with
3761# `rm'.
3762for ac_file in conftest.exe conftest conftest.*; do
3763  test -f "$ac_file" || continue
3764  case $ac_file in
3765    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3766    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3767	  break;;
3768    * ) break;;
3769  esac
3770done
3771else
3772  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3774as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3775See \`config.log' for more details" "$LINENO" 5; }
3776fi
3777rm -f conftest conftest$ac_cv_exeext
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3779$as_echo "$ac_cv_exeext" >&6; }
3780
3781rm -f conftest.$ac_ext
3782EXEEXT=$ac_cv_exeext
3783ac_exeext=$EXEEXT
3784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785/* end confdefs.h.  */
3786#include <stdio.h>
3787int
3788main ()
3789{
3790FILE *f = fopen ("conftest.out", "w");
3791 return ferror (f) || fclose (f) != 0;
3792
3793  ;
3794  return 0;
3795}
3796_ACEOF
3797ac_clean_files="$ac_clean_files conftest.out"
3798# Check that the compiler produces executables we can run.  If not, either
3799# the compiler is broken, or we cross compile.
3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3801$as_echo_n "checking whether we are cross compiling... " >&6; }
3802if test "$cross_compiling" != yes; then
3803  { { ac_try="$ac_link"
3804case "(($ac_try" in
3805  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806  *) ac_try_echo=$ac_try;;
3807esac
3808eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809$as_echo "$ac_try_echo"; } >&5
3810  (eval "$ac_link") 2>&5
3811  ac_status=$?
3812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813  test $ac_status = 0; }
3814  if { ac_try='./conftest$ac_cv_exeext'
3815  { { case "(($ac_try" in
3816  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817  *) ac_try_echo=$ac_try;;
3818esac
3819eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820$as_echo "$ac_try_echo"; } >&5
3821  (eval "$ac_try") 2>&5
3822  ac_status=$?
3823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3824  test $ac_status = 0; }; }; then
3825    cross_compiling=no
3826  else
3827    if test "$cross_compiling" = maybe; then
3828	cross_compiling=yes
3829    else
3830	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3832as_fn_error $? "cannot run C compiled programs.
3833If you meant to cross compile, use \`--host'.
3834See \`config.log' for more details" "$LINENO" 5; }
3835    fi
3836  fi
3837fi
3838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3839$as_echo "$cross_compiling" >&6; }
3840
3841rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3842ac_clean_files=$ac_clean_files_save
3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3844$as_echo_n "checking for suffix of object files... " >&6; }
3845if ${ac_cv_objext+:} false; then :
3846  $as_echo_n "(cached) " >&6
3847else
3848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849/* end confdefs.h.  */
3850
3851int
3852main ()
3853{
3854
3855  ;
3856  return 0;
3857}
3858_ACEOF
3859rm -f conftest.o conftest.obj
3860if { { ac_try="$ac_compile"
3861case "(($ac_try" in
3862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863  *) ac_try_echo=$ac_try;;
3864esac
3865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866$as_echo "$ac_try_echo"; } >&5
3867  (eval "$ac_compile") 2>&5
3868  ac_status=$?
3869  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870  test $ac_status = 0; }; then :
3871  for ac_file in conftest.o conftest.obj conftest.*; do
3872  test -f "$ac_file" || continue;
3873  case $ac_file in
3874    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3875    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3876       break;;
3877  esac
3878done
3879else
3880  $as_echo "$as_me: failed program was:" >&5
3881sed 's/^/| /' conftest.$ac_ext >&5
3882
3883{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885as_fn_error $? "cannot compute suffix of object files: cannot compile
3886See \`config.log' for more details" "$LINENO" 5; }
3887fi
3888rm -f conftest.$ac_cv_objext conftest.$ac_ext
3889fi
3890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3891$as_echo "$ac_cv_objext" >&6; }
3892OBJEXT=$ac_cv_objext
3893ac_objext=$OBJEXT
3894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3895$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3896if ${ac_cv_c_compiler_gnu+:} false; then :
3897  $as_echo_n "(cached) " >&6
3898else
3899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900/* end confdefs.h.  */
3901
3902int
3903main ()
3904{
3905#ifndef __GNUC__
3906       choke me
3907#endif
3908
3909  ;
3910  return 0;
3911}
3912_ACEOF
3913if ac_fn_c_try_compile "$LINENO"; then :
3914  ac_compiler_gnu=yes
3915else
3916  ac_compiler_gnu=no
3917fi
3918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919ac_cv_c_compiler_gnu=$ac_compiler_gnu
3920
3921fi
3922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3923$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3924if test $ac_compiler_gnu = yes; then
3925  GCC=yes
3926else
3927  GCC=
3928fi
3929ac_test_CFLAGS=${CFLAGS+set}
3930ac_save_CFLAGS=$CFLAGS
3931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3932$as_echo_n "checking whether $CC accepts -g... " >&6; }
3933if ${ac_cv_prog_cc_g+:} false; then :
3934  $as_echo_n "(cached) " >&6
3935else
3936  ac_save_c_werror_flag=$ac_c_werror_flag
3937   ac_c_werror_flag=yes
3938   ac_cv_prog_cc_g=no
3939   CFLAGS="-g"
3940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941/* end confdefs.h.  */
3942
3943int
3944main ()
3945{
3946
3947  ;
3948  return 0;
3949}
3950_ACEOF
3951if ac_fn_c_try_compile "$LINENO"; then :
3952  ac_cv_prog_cc_g=yes
3953else
3954  CFLAGS=""
3955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956/* end confdefs.h.  */
3957
3958int
3959main ()
3960{
3961
3962  ;
3963  return 0;
3964}
3965_ACEOF
3966if ac_fn_c_try_compile "$LINENO"; then :
3967
3968else
3969  ac_c_werror_flag=$ac_save_c_werror_flag
3970	 CFLAGS="-g"
3971	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972/* end confdefs.h.  */
3973
3974int
3975main ()
3976{
3977
3978  ;
3979  return 0;
3980}
3981_ACEOF
3982if ac_fn_c_try_compile "$LINENO"; then :
3983  ac_cv_prog_cc_g=yes
3984fi
3985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986fi
3987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988fi
3989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990   ac_c_werror_flag=$ac_save_c_werror_flag
3991fi
3992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3993$as_echo "$ac_cv_prog_cc_g" >&6; }
3994if test "$ac_test_CFLAGS" = set; then
3995  CFLAGS=$ac_save_CFLAGS
3996elif test $ac_cv_prog_cc_g = yes; then
3997  if test "$GCC" = yes; then
3998    CFLAGS="-g -O2"
3999  else
4000    CFLAGS="-g"
4001  fi
4002else
4003  if test "$GCC" = yes; then
4004    CFLAGS="-O2"
4005  else
4006    CFLAGS=
4007  fi
4008fi
4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4010$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4011if ${ac_cv_prog_cc_c89+:} false; then :
4012  $as_echo_n "(cached) " >&6
4013else
4014  ac_cv_prog_cc_c89=no
4015ac_save_CC=$CC
4016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017/* end confdefs.h.  */
4018#include <stdarg.h>
4019#include <stdio.h>
4020struct stat;
4021/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4022struct buf { int x; };
4023FILE * (*rcsopen) (struct buf *, struct stat *, int);
4024static char *e (p, i)
4025     char **p;
4026     int i;
4027{
4028  return p[i];
4029}
4030static char *f (char * (*g) (char **, int), char **p, ...)
4031{
4032  char *s;
4033  va_list v;
4034  va_start (v,p);
4035  s = g (p, va_arg (v,int));
4036  va_end (v);
4037  return s;
4038}
4039
4040/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4041   function prototypes and stuff, but not '\xHH' hex character constants.
4042   These don't provoke an error unfortunately, instead are silently treated
4043   as 'x'.  The following induces an error, until -std is added to get
4044   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4045   array size at least.  It's necessary to write '\x00'==0 to get something
4046   that's true only with -std.  */
4047int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4048
4049/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4050   inside strings and character constants.  */
4051#define FOO(x) 'x'
4052int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4053
4054int test (int i, double x);
4055struct s1 {int (*f) (int a);};
4056struct s2 {int (*f) (double a);};
4057int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4058int argc;
4059char **argv;
4060int
4061main ()
4062{
4063return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4064  ;
4065  return 0;
4066}
4067_ACEOF
4068for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4069	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4070do
4071  CC="$ac_save_CC $ac_arg"
4072  if ac_fn_c_try_compile "$LINENO"; then :
4073  ac_cv_prog_cc_c89=$ac_arg
4074fi
4075rm -f core conftest.err conftest.$ac_objext
4076  test "x$ac_cv_prog_cc_c89" != "xno" && break
4077done
4078rm -f conftest.$ac_ext
4079CC=$ac_save_CC
4080
4081fi
4082# AC_CACHE_VAL
4083case "x$ac_cv_prog_cc_c89" in
4084  x)
4085    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4086$as_echo "none needed" >&6; } ;;
4087  xno)
4088    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4089$as_echo "unsupported" >&6; } ;;
4090  *)
4091    CC="$CC $ac_cv_prog_cc_c89"
4092    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4093$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4094esac
4095if test "x$ac_cv_prog_cc_c89" != xno; then :
4096
4097fi
4098
4099ac_ext=c
4100ac_cpp='$CPP $CPPFLAGS'
4101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103ac_compiler_gnu=$ac_cv_c_compiler_gnu
4104
4105ac_ext=c
4106ac_cpp='$CPP $CPPFLAGS'
4107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109ac_compiler_gnu=$ac_cv_c_compiler_gnu
4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4111$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4112if ${am_cv_prog_cc_c_o+:} false; then :
4113  $as_echo_n "(cached) " >&6
4114else
4115  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116/* end confdefs.h.  */
4117
4118int
4119main ()
4120{
4121
4122  ;
4123  return 0;
4124}
4125_ACEOF
4126  # Make sure it works both with $CC and with simple cc.
4127  # Following AC_PROG_CC_C_O, we do the test twice because some
4128  # compilers refuse to overwrite an existing .o file with -o,
4129  # though they will create one.
4130  am_cv_prog_cc_c_o=yes
4131  for am_i in 1 2; do
4132    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4133   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4134   ac_status=$?
4135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136   (exit $ac_status); } \
4137         && test -f conftest2.$ac_objext; then
4138      : OK
4139    else
4140      am_cv_prog_cc_c_o=no
4141      break
4142    fi
4143  done
4144  rm -f core conftest*
4145  unset am_i
4146fi
4147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4148$as_echo "$am_cv_prog_cc_c_o" >&6; }
4149if test "$am_cv_prog_cc_c_o" != yes; then
4150   # Losing compiler, so override with the script.
4151   # FIXME: It is wrong to rewrite CC.
4152   # But if we don't then we get into trouble of one sort or another.
4153   # A longer-term fix would be to have automake use am__CC in this case,
4154   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4155   CC="$am_aux_dir/compile $CC"
4156fi
4157ac_ext=c
4158ac_cpp='$CPP $CPPFLAGS'
4159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162
4163
4164depcc="$CC"   am_compiler_list=
4165
4166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4167$as_echo_n "checking dependency style of $depcc... " >&6; }
4168if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4169  $as_echo_n "(cached) " >&6
4170else
4171  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4172  # We make a subdir and do the tests there.  Otherwise we can end up
4173  # making bogus files that we don't know about and never remove.  For
4174  # instance it was reported that on HP-UX the gcc test will end up
4175  # making a dummy file named 'D' -- because '-MD' means "put the output
4176  # in D".
4177  rm -rf conftest.dir
4178  mkdir conftest.dir
4179  # Copy depcomp to subdir because otherwise we won't find it if we're
4180  # using a relative directory.
4181  cp "$am_depcomp" conftest.dir
4182  cd conftest.dir
4183  # We will build objects and dependencies in a subdirectory because
4184  # it helps to detect inapplicable dependency modes.  For instance
4185  # both Tru64's cc and ICC support -MD to output dependencies as a
4186  # side effect of compilation, but ICC will put the dependencies in
4187  # the current directory while Tru64 will put them in the object
4188  # directory.
4189  mkdir sub
4190
4191  am_cv_CC_dependencies_compiler_type=none
4192  if test "$am_compiler_list" = ""; then
4193     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4194  fi
4195  am__universal=false
4196  case " $depcc " in #(
4197     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4198     esac
4199
4200  for depmode in $am_compiler_list; do
4201    # Setup a source with many dependencies, because some compilers
4202    # like to wrap large dependency lists on column 80 (with \), and
4203    # we should not choose a depcomp mode which is confused by this.
4204    #
4205    # We need to recreate these files for each test, as the compiler may
4206    # overwrite some of them when testing with obscure command lines.
4207    # This happens at least with the AIX C compiler.
4208    : > sub/conftest.c
4209    for i in 1 2 3 4 5 6; do
4210      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4211      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4212      # Solaris 10 /bin/sh.
4213      echo '/* dummy */' > sub/conftst$i.h
4214    done
4215    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4216
4217    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4218    # mode.  It turns out that the SunPro C++ compiler does not properly
4219    # handle '-M -o', and we need to detect this.  Also, some Intel
4220    # versions had trouble with output in subdirs.
4221    am__obj=sub/conftest.${OBJEXT-o}
4222    am__minus_obj="-o $am__obj"
4223    case $depmode in
4224    gcc)
4225      # This depmode causes a compiler race in universal mode.
4226      test "$am__universal" = false || continue
4227      ;;
4228    nosideeffect)
4229      # After this tag, mechanisms are not by side-effect, so they'll
4230      # only be used when explicitly requested.
4231      if test "x$enable_dependency_tracking" = xyes; then
4232	continue
4233      else
4234	break
4235      fi
4236      ;;
4237    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4238      # This compiler won't grok '-c -o', but also, the minuso test has
4239      # not run yet.  These depmodes are late enough in the game, and
4240      # so weak that their functioning should not be impacted.
4241      am__obj=conftest.${OBJEXT-o}
4242      am__minus_obj=
4243      ;;
4244    none) break ;;
4245    esac
4246    if depmode=$depmode \
4247       source=sub/conftest.c object=$am__obj \
4248       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4249       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4250         >/dev/null 2>conftest.err &&
4251       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4252       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4253       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4254       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4255      # icc doesn't choke on unknown options, it will just issue warnings
4256      # or remarks (even with -Werror).  So we grep stderr for any message
4257      # that says an option was ignored or not supported.
4258      # When given -MP, icc 7.0 and 7.1 complain thusly:
4259      #   icc: Command line warning: ignoring option '-M'; no argument required
4260      # The diagnosis changed in icc 8.0:
4261      #   icc: Command line remark: option '-MP' not supported
4262      if (grep 'ignoring option' conftest.err ||
4263          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4264        am_cv_CC_dependencies_compiler_type=$depmode
4265        break
4266      fi
4267    fi
4268  done
4269
4270  cd ..
4271  rm -rf conftest.dir
4272else
4273  am_cv_CC_dependencies_compiler_type=none
4274fi
4275
4276fi
4277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4278$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4279CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4280
4281 if
4282  test "x$enable_dependency_tracking" != xno \
4283  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4284  am__fastdepCC_TRUE=
4285  am__fastdepCC_FALSE='#'
4286else
4287  am__fastdepCC_TRUE='#'
4288  am__fastdepCC_FALSE=
4289fi
4290
4291
4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4293$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4294if ${ac_cv_path_SED+:} false; then :
4295  $as_echo_n "(cached) " >&6
4296else
4297            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4298     for ac_i in 1 2 3 4 5 6 7; do
4299       ac_script="$ac_script$as_nl$ac_script"
4300     done
4301     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4302     { ac_script=; unset ac_script;}
4303     if test -z "$SED"; then
4304  ac_path_SED_found=false
4305  # Loop through the user's path and test for each of PROGNAME-LIST
4306  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307for as_dir in $PATH
4308do
4309  IFS=$as_save_IFS
4310  test -z "$as_dir" && as_dir=.
4311    for ac_prog in sed gsed; do
4312    for ac_exec_ext in '' $ac_executable_extensions; do
4313      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4314      as_fn_executable_p "$ac_path_SED" || continue
4315# Check for GNU ac_path_SED and select it if it is found.
4316  # Check for GNU $ac_path_SED
4317case `"$ac_path_SED" --version 2>&1` in
4318*GNU*)
4319  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4320*)
4321  ac_count=0
4322  $as_echo_n 0123456789 >"conftest.in"
4323  while :
4324  do
4325    cat "conftest.in" "conftest.in" >"conftest.tmp"
4326    mv "conftest.tmp" "conftest.in"
4327    cp "conftest.in" "conftest.nl"
4328    $as_echo '' >> "conftest.nl"
4329    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4330    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4331    as_fn_arith $ac_count + 1 && ac_count=$as_val
4332    if test $ac_count -gt ${ac_path_SED_max-0}; then
4333      # Best one so far, save it but keep looking for a better one
4334      ac_cv_path_SED="$ac_path_SED"
4335      ac_path_SED_max=$ac_count
4336    fi
4337    # 10*(2^10) chars as input seems more than enough
4338    test $ac_count -gt 10 && break
4339  done
4340  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4341esac
4342
4343      $ac_path_SED_found && break 3
4344    done
4345  done
4346  done
4347IFS=$as_save_IFS
4348  if test -z "$ac_cv_path_SED"; then
4349    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4350  fi
4351else
4352  ac_cv_path_SED=$SED
4353fi
4354
4355fi
4356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4357$as_echo "$ac_cv_path_SED" >&6; }
4358 SED="$ac_cv_path_SED"
4359  rm -f conftest.sed
4360
4361test -z "$SED" && SED=sed
4362Xsed="$SED -e 1s/^X//"
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4375$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4376if ${ac_cv_path_GREP+:} false; then :
4377  $as_echo_n "(cached) " >&6
4378else
4379  if test -z "$GREP"; then
4380  ac_path_GREP_found=false
4381  # Loop through the user's path and test for each of PROGNAME-LIST
4382  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4384do
4385  IFS=$as_save_IFS
4386  test -z "$as_dir" && as_dir=.
4387    for ac_prog in grep ggrep; do
4388    for ac_exec_ext in '' $ac_executable_extensions; do
4389      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4390      as_fn_executable_p "$ac_path_GREP" || continue
4391# Check for GNU ac_path_GREP and select it if it is found.
4392  # Check for GNU $ac_path_GREP
4393case `"$ac_path_GREP" --version 2>&1` in
4394*GNU*)
4395  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4396*)
4397  ac_count=0
4398  $as_echo_n 0123456789 >"conftest.in"
4399  while :
4400  do
4401    cat "conftest.in" "conftest.in" >"conftest.tmp"
4402    mv "conftest.tmp" "conftest.in"
4403    cp "conftest.in" "conftest.nl"
4404    $as_echo 'GREP' >> "conftest.nl"
4405    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4406    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4407    as_fn_arith $ac_count + 1 && ac_count=$as_val
4408    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4409      # Best one so far, save it but keep looking for a better one
4410      ac_cv_path_GREP="$ac_path_GREP"
4411      ac_path_GREP_max=$ac_count
4412    fi
4413    # 10*(2^10) chars as input seems more than enough
4414    test $ac_count -gt 10 && break
4415  done
4416  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4417esac
4418
4419      $ac_path_GREP_found && break 3
4420    done
4421  done
4422  done
4423IFS=$as_save_IFS
4424  if test -z "$ac_cv_path_GREP"; then
4425    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4426  fi
4427else
4428  ac_cv_path_GREP=$GREP
4429fi
4430
4431fi
4432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4433$as_echo "$ac_cv_path_GREP" >&6; }
4434 GREP="$ac_cv_path_GREP"
4435
4436
4437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4438$as_echo_n "checking for egrep... " >&6; }
4439if ${ac_cv_path_EGREP+:} false; then :
4440  $as_echo_n "(cached) " >&6
4441else
4442  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4443   then ac_cv_path_EGREP="$GREP -E"
4444   else
4445     if test -z "$EGREP"; then
4446  ac_path_EGREP_found=false
4447  # Loop through the user's path and test for each of PROGNAME-LIST
4448  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4450do
4451  IFS=$as_save_IFS
4452  test -z "$as_dir" && as_dir=.
4453    for ac_prog in egrep; do
4454    for ac_exec_ext in '' $ac_executable_extensions; do
4455      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4456      as_fn_executable_p "$ac_path_EGREP" || continue
4457# Check for GNU ac_path_EGREP and select it if it is found.
4458  # Check for GNU $ac_path_EGREP
4459case `"$ac_path_EGREP" --version 2>&1` in
4460*GNU*)
4461  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4462*)
4463  ac_count=0
4464  $as_echo_n 0123456789 >"conftest.in"
4465  while :
4466  do
4467    cat "conftest.in" "conftest.in" >"conftest.tmp"
4468    mv "conftest.tmp" "conftest.in"
4469    cp "conftest.in" "conftest.nl"
4470    $as_echo 'EGREP' >> "conftest.nl"
4471    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4472    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4473    as_fn_arith $ac_count + 1 && ac_count=$as_val
4474    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4475      # Best one so far, save it but keep looking for a better one
4476      ac_cv_path_EGREP="$ac_path_EGREP"
4477      ac_path_EGREP_max=$ac_count
4478    fi
4479    # 10*(2^10) chars as input seems more than enough
4480    test $ac_count -gt 10 && break
4481  done
4482  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4483esac
4484
4485      $ac_path_EGREP_found && break 3
4486    done
4487  done
4488  done
4489IFS=$as_save_IFS
4490  if test -z "$ac_cv_path_EGREP"; then
4491    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4492  fi
4493else
4494  ac_cv_path_EGREP=$EGREP
4495fi
4496
4497   fi
4498fi
4499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4500$as_echo "$ac_cv_path_EGREP" >&6; }
4501 EGREP="$ac_cv_path_EGREP"
4502
4503
4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4505$as_echo_n "checking for fgrep... " >&6; }
4506if ${ac_cv_path_FGREP+:} false; then :
4507  $as_echo_n "(cached) " >&6
4508else
4509  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4510   then ac_cv_path_FGREP="$GREP -F"
4511   else
4512     if test -z "$FGREP"; then
4513  ac_path_FGREP_found=false
4514  # Loop through the user's path and test for each of PROGNAME-LIST
4515  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4517do
4518  IFS=$as_save_IFS
4519  test -z "$as_dir" && as_dir=.
4520    for ac_prog in fgrep; do
4521    for ac_exec_ext in '' $ac_executable_extensions; do
4522      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4523      as_fn_executable_p "$ac_path_FGREP" || continue
4524# Check for GNU ac_path_FGREP and select it if it is found.
4525  # Check for GNU $ac_path_FGREP
4526case `"$ac_path_FGREP" --version 2>&1` in
4527*GNU*)
4528  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4529*)
4530  ac_count=0
4531  $as_echo_n 0123456789 >"conftest.in"
4532  while :
4533  do
4534    cat "conftest.in" "conftest.in" >"conftest.tmp"
4535    mv "conftest.tmp" "conftest.in"
4536    cp "conftest.in" "conftest.nl"
4537    $as_echo 'FGREP' >> "conftest.nl"
4538    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4539    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4540    as_fn_arith $ac_count + 1 && ac_count=$as_val
4541    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4542      # Best one so far, save it but keep looking for a better one
4543      ac_cv_path_FGREP="$ac_path_FGREP"
4544      ac_path_FGREP_max=$ac_count
4545    fi
4546    # 10*(2^10) chars as input seems more than enough
4547    test $ac_count -gt 10 && break
4548  done
4549  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4550esac
4551
4552      $ac_path_FGREP_found && break 3
4553    done
4554  done
4555  done
4556IFS=$as_save_IFS
4557  if test -z "$ac_cv_path_FGREP"; then
4558    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4559  fi
4560else
4561  ac_cv_path_FGREP=$FGREP
4562fi
4563
4564   fi
4565fi
4566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4567$as_echo "$ac_cv_path_FGREP" >&6; }
4568 FGREP="$ac_cv_path_FGREP"
4569
4570
4571test -z "$GREP" && GREP=grep
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591# Check whether --with-gnu-ld was given.
4592if test "${with_gnu_ld+set}" = set; then :
4593  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4594else
4595  with_gnu_ld=no
4596fi
4597
4598ac_prog=ld
4599if test yes = "$GCC"; then
4600  # Check if gcc -print-prog-name=ld gives a path.
4601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4602$as_echo_n "checking for ld used by $CC... " >&6; }
4603  case $host in
4604  *-*-mingw*)
4605    # gcc leaves a trailing carriage return, which upsets mingw
4606    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4607  *)
4608    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4609  esac
4610  case $ac_prog in
4611    # Accept absolute paths.
4612    [\\/]* | ?:[\\/]*)
4613      re_direlt='/[^/][^/]*/\.\./'
4614      # Canonicalize the pathname of ld
4615      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4616      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4617	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4618      done
4619      test -z "$LD" && LD=$ac_prog
4620      ;;
4621  "")
4622    # If it fails, then pretend we aren't using GCC.
4623    ac_prog=ld
4624    ;;
4625  *)
4626    # If it is relative, then search for the first ld in PATH.
4627    with_gnu_ld=unknown
4628    ;;
4629  esac
4630elif test yes = "$with_gnu_ld"; then
4631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4632$as_echo_n "checking for GNU ld... " >&6; }
4633else
4634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4635$as_echo_n "checking for non-GNU ld... " >&6; }
4636fi
4637if ${lt_cv_path_LD+:} false; then :
4638  $as_echo_n "(cached) " >&6
4639else
4640  if test -z "$LD"; then
4641  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4642  for ac_dir in $PATH; do
4643    IFS=$lt_save_ifs
4644    test -z "$ac_dir" && ac_dir=.
4645    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4646      lt_cv_path_LD=$ac_dir/$ac_prog
4647      # Check to see if the program is GNU ld.  I'd rather use --version,
4648      # but apparently some variants of GNU ld only accept -v.
4649      # Break only if it was the GNU/non-GNU ld that we prefer.
4650      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4651      *GNU* | *'with BFD'*)
4652	test no != "$with_gnu_ld" && break
4653	;;
4654      *)
4655	test yes != "$with_gnu_ld" && break
4656	;;
4657      esac
4658    fi
4659  done
4660  IFS=$lt_save_ifs
4661else
4662  lt_cv_path_LD=$LD # Let the user override the test with a path.
4663fi
4664fi
4665
4666LD=$lt_cv_path_LD
4667if test -n "$LD"; then
4668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4669$as_echo "$LD" >&6; }
4670else
4671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672$as_echo "no" >&6; }
4673fi
4674test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4676$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4677if ${lt_cv_prog_gnu_ld+:} false; then :
4678  $as_echo_n "(cached) " >&6
4679else
4680  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4681case `$LD -v 2>&1 </dev/null` in
4682*GNU* | *'with BFD'*)
4683  lt_cv_prog_gnu_ld=yes
4684  ;;
4685*)
4686  lt_cv_prog_gnu_ld=no
4687  ;;
4688esac
4689fi
4690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4691$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4692with_gnu_ld=$lt_cv_prog_gnu_ld
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4703$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4704if ${lt_cv_path_NM+:} false; then :
4705  $as_echo_n "(cached) " >&6
4706else
4707  if test -n "$NM"; then
4708  # Let the user override the test.
4709  lt_cv_path_NM=$NM
4710else
4711  lt_nm_to_check=${ac_tool_prefix}nm
4712  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4713    lt_nm_to_check="$lt_nm_to_check nm"
4714  fi
4715  for lt_tmp_nm in $lt_nm_to_check; do
4716    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4717    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4718      IFS=$lt_save_ifs
4719      test -z "$ac_dir" && ac_dir=.
4720      tmp_nm=$ac_dir/$lt_tmp_nm
4721      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4722	# Check to see if the nm accepts a BSD-compat flag.
4723	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4724	#   nm: unknown option "B" ignored
4725	# Tru64's nm complains that /dev/null is an invalid object file
4726	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4727	case $build_os in
4728	mingw*) lt_bad_file=conftest.nm/nofile ;;
4729	*) lt_bad_file=/dev/null ;;
4730	esac
4731	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4732	*$lt_bad_file* | *'Invalid file or object type'*)
4733	  lt_cv_path_NM="$tmp_nm -B"
4734	  break 2
4735	  ;;
4736	*)
4737	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4738	  */dev/null*)
4739	    lt_cv_path_NM="$tmp_nm -p"
4740	    break 2
4741	    ;;
4742	  *)
4743	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4744	    continue # so that we can try to find one that supports BSD flags
4745	    ;;
4746	  esac
4747	  ;;
4748	esac
4749      fi
4750    done
4751    IFS=$lt_save_ifs
4752  done
4753  : ${lt_cv_path_NM=no}
4754fi
4755fi
4756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4757$as_echo "$lt_cv_path_NM" >&6; }
4758if test no != "$lt_cv_path_NM"; then
4759  NM=$lt_cv_path_NM
4760else
4761  # Didn't find any BSD compatible name lister, look for dumpbin.
4762  if test -n "$DUMPBIN"; then :
4763    # Let the user override the test.
4764  else
4765    if test -n "$ac_tool_prefix"; then
4766  for ac_prog in dumpbin "link -dump"
4767  do
4768    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4769set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771$as_echo_n "checking for $ac_word... " >&6; }
4772if ${ac_cv_prog_DUMPBIN+:} false; then :
4773  $as_echo_n "(cached) " >&6
4774else
4775  if test -n "$DUMPBIN"; then
4776  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4777else
4778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH
4780do
4781  IFS=$as_save_IFS
4782  test -z "$as_dir" && as_dir=.
4783    for ac_exec_ext in '' $ac_executable_extensions; do
4784  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787    break 2
4788  fi
4789done
4790  done
4791IFS=$as_save_IFS
4792
4793fi
4794fi
4795DUMPBIN=$ac_cv_prog_DUMPBIN
4796if test -n "$DUMPBIN"; then
4797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4798$as_echo "$DUMPBIN" >&6; }
4799else
4800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801$as_echo "no" >&6; }
4802fi
4803
4804
4805    test -n "$DUMPBIN" && break
4806  done
4807fi
4808if test -z "$DUMPBIN"; then
4809  ac_ct_DUMPBIN=$DUMPBIN
4810  for ac_prog in dumpbin "link -dump"
4811do
4812  # Extract the first word of "$ac_prog", so it can be a program name with args.
4813set dummy $ac_prog; ac_word=$2
4814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815$as_echo_n "checking for $ac_word... " >&6; }
4816if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4817  $as_echo_n "(cached) " >&6
4818else
4819  if test -n "$ac_ct_DUMPBIN"; then
4820  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4821else
4822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823for as_dir in $PATH
4824do
4825  IFS=$as_save_IFS
4826  test -z "$as_dir" && as_dir=.
4827    for ac_exec_ext in '' $ac_executable_extensions; do
4828  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4829    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4830    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831    break 2
4832  fi
4833done
4834  done
4835IFS=$as_save_IFS
4836
4837fi
4838fi
4839ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4840if test -n "$ac_ct_DUMPBIN"; then
4841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4842$as_echo "$ac_ct_DUMPBIN" >&6; }
4843else
4844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845$as_echo "no" >&6; }
4846fi
4847
4848
4849  test -n "$ac_ct_DUMPBIN" && break
4850done
4851
4852  if test "x$ac_ct_DUMPBIN" = x; then
4853    DUMPBIN=":"
4854  else
4855    case $cross_compiling:$ac_tool_warned in
4856yes:)
4857{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859ac_tool_warned=yes ;;
4860esac
4861    DUMPBIN=$ac_ct_DUMPBIN
4862  fi
4863fi
4864
4865    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4866    *COFF*)
4867      DUMPBIN="$DUMPBIN -symbols -headers"
4868      ;;
4869    *)
4870      DUMPBIN=:
4871      ;;
4872    esac
4873  fi
4874
4875  if test : != "$DUMPBIN"; then
4876    NM=$DUMPBIN
4877  fi
4878fi
4879test -z "$NM" && NM=nm
4880
4881
4882
4883
4884
4885
4886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4887$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4888if ${lt_cv_nm_interface+:} false; then :
4889  $as_echo_n "(cached) " >&6
4890else
4891  lt_cv_nm_interface="BSD nm"
4892  echo "int some_variable = 0;" > conftest.$ac_ext
4893  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4894  (eval "$ac_compile" 2>conftest.err)
4895  cat conftest.err >&5
4896  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4897  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4898  cat conftest.err >&5
4899  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4900  cat conftest.out >&5
4901  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4902    lt_cv_nm_interface="MS dumpbin"
4903  fi
4904  rm -f conftest*
4905fi
4906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4907$as_echo "$lt_cv_nm_interface" >&6; }
4908
4909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4910$as_echo_n "checking whether ln -s works... " >&6; }
4911LN_S=$as_ln_s
4912if test "$LN_S" = "ln -s"; then
4913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4914$as_echo "yes" >&6; }
4915else
4916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4917$as_echo "no, using $LN_S" >&6; }
4918fi
4919
4920# find the maximum length of command line arguments
4921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4922$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4923if ${lt_cv_sys_max_cmd_len+:} false; then :
4924  $as_echo_n "(cached) " >&6
4925else
4926    i=0
4927  teststring=ABCD
4928
4929  case $build_os in
4930  msdosdjgpp*)
4931    # On DJGPP, this test can blow up pretty badly due to problems in libc
4932    # (any single argument exceeding 2000 bytes causes a buffer overrun
4933    # during glob expansion).  Even if it were fixed, the result of this
4934    # check would be larger than it should be.
4935    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4936    ;;
4937
4938  gnu*)
4939    # Under GNU Hurd, this test is not required because there is
4940    # no limit to the length of command line arguments.
4941    # Libtool will interpret -1 as no limit whatsoever
4942    lt_cv_sys_max_cmd_len=-1;
4943    ;;
4944
4945  cygwin* | mingw* | cegcc*)
4946    # On Win9x/ME, this test blows up -- it succeeds, but takes
4947    # about 5 minutes as the teststring grows exponentially.
4948    # Worse, since 9x/ME are not pre-emptively multitasking,
4949    # you end up with a "frozen" computer, even though with patience
4950    # the test eventually succeeds (with a max line length of 256k).
4951    # Instead, let's just punt: use the minimum linelength reported by
4952    # all of the supported platforms: 8192 (on NT/2K/XP).
4953    lt_cv_sys_max_cmd_len=8192;
4954    ;;
4955
4956  mint*)
4957    # On MiNT this can take a long time and run out of memory.
4958    lt_cv_sys_max_cmd_len=8192;
4959    ;;
4960
4961  amigaos*)
4962    # On AmigaOS with pdksh, this test takes hours, literally.
4963    # So we just punt and use a minimum line length of 8192.
4964    lt_cv_sys_max_cmd_len=8192;
4965    ;;
4966
4967  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4968    # This has been around since 386BSD, at least.  Likely further.
4969    if test -x /sbin/sysctl; then
4970      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4971    elif test -x /usr/sbin/sysctl; then
4972      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4973    else
4974      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4975    fi
4976    # And add a safety zone
4977    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4978    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4979    ;;
4980
4981  interix*)
4982    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4983    lt_cv_sys_max_cmd_len=196608
4984    ;;
4985
4986  os2*)
4987    # The test takes a long time on OS/2.
4988    lt_cv_sys_max_cmd_len=8192
4989    ;;
4990
4991  osf*)
4992    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4993    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4994    # nice to cause kernel panics so lets avoid the loop below.
4995    # First set a reasonable default.
4996    lt_cv_sys_max_cmd_len=16384
4997    #
4998    if test -x /sbin/sysconfig; then
4999      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5000        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5001      esac
5002    fi
5003    ;;
5004  sco3.2v5*)
5005    lt_cv_sys_max_cmd_len=102400
5006    ;;
5007  sysv5* | sco5v6* | sysv4.2uw2*)
5008    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5009    if test -n "$kargmax"; then
5010      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5011    else
5012      lt_cv_sys_max_cmd_len=32768
5013    fi
5014    ;;
5015  *)
5016    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5017    if test -n "$lt_cv_sys_max_cmd_len" && \
5018       test undefined != "$lt_cv_sys_max_cmd_len"; then
5019      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5020      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5021    else
5022      # Make teststring a little bigger before we do anything with it.
5023      # a 1K string should be a reasonable start.
5024      for i in 1 2 3 4 5 6 7 8; do
5025        teststring=$teststring$teststring
5026      done
5027      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5028      # If test is not a shell built-in, we'll probably end up computing a
5029      # maximum length that is only half of the actual maximum length, but
5030      # we can't tell.
5031      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5032	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5033	      test 17 != "$i" # 1/2 MB should be enough
5034      do
5035        i=`expr $i + 1`
5036        teststring=$teststring$teststring
5037      done
5038      # Only check the string length outside the loop.
5039      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5040      teststring=
5041      # Add a significant safety factor because C++ compilers can tack on
5042      # massive amounts of additional arguments before passing them to the
5043      # linker.  It appears as though 1/2 is a usable value.
5044      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5045    fi
5046    ;;
5047  esac
5048
5049fi
5050
5051if test -n "$lt_cv_sys_max_cmd_len"; then
5052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5053$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5054else
5055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5056$as_echo "none" >&6; }
5057fi
5058max_cmd_len=$lt_cv_sys_max_cmd_len
5059
5060
5061
5062
5063
5064
5065: ${CP="cp -f"}
5066: ${MV="mv -f"}
5067: ${RM="rm -f"}
5068
5069if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5070  lt_unset=unset
5071else
5072  lt_unset=false
5073fi
5074
5075
5076
5077
5078
5079# test EBCDIC or ASCII
5080case `echo X|tr X '\101'` in
5081 A) # ASCII based system
5082    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5083  lt_SP2NL='tr \040 \012'
5084  lt_NL2SP='tr \015\012 \040\040'
5085  ;;
5086 *) # EBCDIC based system
5087  lt_SP2NL='tr \100 \n'
5088  lt_NL2SP='tr \r\n \100\100'
5089  ;;
5090esac
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5101$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5102if ${lt_cv_to_host_file_cmd+:} false; then :
5103  $as_echo_n "(cached) " >&6
5104else
5105  case $host in
5106  *-*-mingw* )
5107    case $build in
5108      *-*-mingw* ) # actually msys
5109        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5110        ;;
5111      *-*-cygwin* )
5112        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5113        ;;
5114      * ) # otherwise, assume *nix
5115        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5116        ;;
5117    esac
5118    ;;
5119  *-*-cygwin* )
5120    case $build in
5121      *-*-mingw* ) # actually msys
5122        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5123        ;;
5124      *-*-cygwin* )
5125        lt_cv_to_host_file_cmd=func_convert_file_noop
5126        ;;
5127      * ) # otherwise, assume *nix
5128        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5129        ;;
5130    esac
5131    ;;
5132  * ) # unhandled hosts (and "normal" native builds)
5133    lt_cv_to_host_file_cmd=func_convert_file_noop
5134    ;;
5135esac
5136
5137fi
5138
5139to_host_file_cmd=$lt_cv_to_host_file_cmd
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5141$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5142
5143
5144
5145
5146
5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5148$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5149if ${lt_cv_to_tool_file_cmd+:} false; then :
5150  $as_echo_n "(cached) " >&6
5151else
5152  #assume ordinary cross tools, or native build.
5153lt_cv_to_tool_file_cmd=func_convert_file_noop
5154case $host in
5155  *-*-mingw* )
5156    case $build in
5157      *-*-mingw* ) # actually msys
5158        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5159        ;;
5160    esac
5161    ;;
5162esac
5163
5164fi
5165
5166to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5168$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5169
5170
5171
5172
5173
5174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5175$as_echo_n "checking for $LD option to reload object files... " >&6; }
5176if ${lt_cv_ld_reload_flag+:} false; then :
5177  $as_echo_n "(cached) " >&6
5178else
5179  lt_cv_ld_reload_flag='-r'
5180fi
5181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5182$as_echo "$lt_cv_ld_reload_flag" >&6; }
5183reload_flag=$lt_cv_ld_reload_flag
5184case $reload_flag in
5185"" | " "*) ;;
5186*) reload_flag=" $reload_flag" ;;
5187esac
5188reload_cmds='$LD$reload_flag -o $output$reload_objs'
5189case $host_os in
5190  cygwin* | mingw* | pw32* | cegcc*)
5191    if test yes != "$GCC"; then
5192      reload_cmds=false
5193    fi
5194    ;;
5195  darwin*)
5196    if test yes = "$GCC"; then
5197      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5198    else
5199      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5200    fi
5201    ;;
5202esac
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212if test -n "$ac_tool_prefix"; then
5213  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5214set dummy ${ac_tool_prefix}objdump; ac_word=$2
5215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216$as_echo_n "checking for $ac_word... " >&6; }
5217if ${ac_cv_prog_OBJDUMP+:} false; then :
5218  $as_echo_n "(cached) " >&6
5219else
5220  if test -n "$OBJDUMP"; then
5221  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5222else
5223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224for as_dir in $PATH
5225do
5226  IFS=$as_save_IFS
5227  test -z "$as_dir" && as_dir=.
5228    for ac_exec_ext in '' $ac_executable_extensions; do
5229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232    break 2
5233  fi
5234done
5235  done
5236IFS=$as_save_IFS
5237
5238fi
5239fi
5240OBJDUMP=$ac_cv_prog_OBJDUMP
5241if test -n "$OBJDUMP"; then
5242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5243$as_echo "$OBJDUMP" >&6; }
5244else
5245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246$as_echo "no" >&6; }
5247fi
5248
5249
5250fi
5251if test -z "$ac_cv_prog_OBJDUMP"; then
5252  ac_ct_OBJDUMP=$OBJDUMP
5253  # Extract the first word of "objdump", so it can be a program name with args.
5254set dummy objdump; ac_word=$2
5255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256$as_echo_n "checking for $ac_word... " >&6; }
5257if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5258  $as_echo_n "(cached) " >&6
5259else
5260  if test -n "$ac_ct_OBJDUMP"; then
5261  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5262else
5263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264for as_dir in $PATH
5265do
5266  IFS=$as_save_IFS
5267  test -z "$as_dir" && as_dir=.
5268    for ac_exec_ext in '' $ac_executable_extensions; do
5269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272    break 2
5273  fi
5274done
5275  done
5276IFS=$as_save_IFS
5277
5278fi
5279fi
5280ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5281if test -n "$ac_ct_OBJDUMP"; then
5282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5283$as_echo "$ac_ct_OBJDUMP" >&6; }
5284else
5285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286$as_echo "no" >&6; }
5287fi
5288
5289  if test "x$ac_ct_OBJDUMP" = x; then
5290    OBJDUMP="false"
5291  else
5292    case $cross_compiling:$ac_tool_warned in
5293yes:)
5294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296ac_tool_warned=yes ;;
5297esac
5298    OBJDUMP=$ac_ct_OBJDUMP
5299  fi
5300else
5301  OBJDUMP="$ac_cv_prog_OBJDUMP"
5302fi
5303
5304test -z "$OBJDUMP" && OBJDUMP=objdump
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5315$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5316if ${lt_cv_deplibs_check_method+:} false; then :
5317  $as_echo_n "(cached) " >&6
5318else
5319  lt_cv_file_magic_cmd='$MAGIC_CMD'
5320lt_cv_file_magic_test_file=
5321lt_cv_deplibs_check_method='unknown'
5322# Need to set the preceding variable on all platforms that support
5323# interlibrary dependencies.
5324# 'none' -- dependencies not supported.
5325# 'unknown' -- same as none, but documents that we really don't know.
5326# 'pass_all' -- all dependencies passed with no checks.
5327# 'test_compile' -- check by making test program.
5328# 'file_magic [[regex]]' -- check by looking for files in library path
5329# that responds to the $file_magic_cmd with a given extended regex.
5330# If you have 'file' or equivalent on your system and you're not sure
5331# whether 'pass_all' will *always* work, you probably want this one.
5332
5333case $host_os in
5334aix[4-9]*)
5335  lt_cv_deplibs_check_method=pass_all
5336  ;;
5337
5338beos*)
5339  lt_cv_deplibs_check_method=pass_all
5340  ;;
5341
5342bsdi[45]*)
5343  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5344  lt_cv_file_magic_cmd='/usr/bin/file -L'
5345  lt_cv_file_magic_test_file=/shlib/libc.so
5346  ;;
5347
5348cygwin*)
5349  # func_win32_libid is a shell function defined in ltmain.sh
5350  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5351  lt_cv_file_magic_cmd='func_win32_libid'
5352  ;;
5353
5354mingw* | pw32*)
5355  # Base MSYS/MinGW do not provide the 'file' command needed by
5356  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5357  # unless we find 'file', for example because we are cross-compiling.
5358  if ( file / ) >/dev/null 2>&1; then
5359    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5360    lt_cv_file_magic_cmd='func_win32_libid'
5361  else
5362    # Keep this pattern in sync with the one in func_win32_libid.
5363    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5364    lt_cv_file_magic_cmd='$OBJDUMP -f'
5365  fi
5366  ;;
5367
5368cegcc*)
5369  # use the weaker test based on 'objdump'. See mingw*.
5370  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5371  lt_cv_file_magic_cmd='$OBJDUMP -f'
5372  ;;
5373
5374darwin* | rhapsody*)
5375  lt_cv_deplibs_check_method=pass_all
5376  ;;
5377
5378freebsd* | dragonfly*)
5379  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5380    case $host_cpu in
5381    i*86 )
5382      # Not sure whether the presence of OpenBSD here was a mistake.
5383      # Let's accept both of them until this is cleared up.
5384      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5385      lt_cv_file_magic_cmd=/usr/bin/file
5386      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5387      ;;
5388    esac
5389  else
5390    lt_cv_deplibs_check_method=pass_all
5391  fi
5392  ;;
5393
5394haiku*)
5395  lt_cv_deplibs_check_method=pass_all
5396  ;;
5397
5398hpux10.20* | hpux11*)
5399  lt_cv_file_magic_cmd=/usr/bin/file
5400  case $host_cpu in
5401  ia64*)
5402    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5403    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5404    ;;
5405  hppa*64*)
5406    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]'
5407    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5408    ;;
5409  *)
5410    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5411    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5412    ;;
5413  esac
5414  ;;
5415
5416interix[3-9]*)
5417  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5418  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5419  ;;
5420
5421irix5* | irix6* | nonstopux*)
5422  case $LD in
5423  *-32|*"-32 ") libmagic=32-bit;;
5424  *-n32|*"-n32 ") libmagic=N32;;
5425  *-64|*"-64 ") libmagic=64-bit;;
5426  *) libmagic=never-match;;
5427  esac
5428  lt_cv_deplibs_check_method=pass_all
5429  ;;
5430
5431# This must be glibc/ELF.
5432linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5433  lt_cv_deplibs_check_method=pass_all
5434  ;;
5435
5436netbsd* | netbsdelf*-gnu)
5437  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5438    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5439  else
5440    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5441  fi
5442  ;;
5443
5444newos6*)
5445  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5446  lt_cv_file_magic_cmd=/usr/bin/file
5447  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5448  ;;
5449
5450*nto* | *qnx*)
5451  lt_cv_deplibs_check_method=pass_all
5452  ;;
5453
5454openbsd* | bitrig*)
5455  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5456    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5457  else
5458    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5459  fi
5460  ;;
5461
5462osf3* | osf4* | osf5*)
5463  lt_cv_deplibs_check_method=pass_all
5464  ;;
5465
5466rdos*)
5467  lt_cv_deplibs_check_method=pass_all
5468  ;;
5469
5470solaris*)
5471  lt_cv_deplibs_check_method=pass_all
5472  ;;
5473
5474sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5475  lt_cv_deplibs_check_method=pass_all
5476  ;;
5477
5478sysv4 | sysv4.3*)
5479  case $host_vendor in
5480  motorola)
5481    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]'
5482    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5483    ;;
5484  ncr)
5485    lt_cv_deplibs_check_method=pass_all
5486    ;;
5487  sequent)
5488    lt_cv_file_magic_cmd='/bin/file'
5489    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5490    ;;
5491  sni)
5492    lt_cv_file_magic_cmd='/bin/file'
5493    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5494    lt_cv_file_magic_test_file=/lib/libc.so
5495    ;;
5496  siemens)
5497    lt_cv_deplibs_check_method=pass_all
5498    ;;
5499  pc)
5500    lt_cv_deplibs_check_method=pass_all
5501    ;;
5502  esac
5503  ;;
5504
5505tpf*)
5506  lt_cv_deplibs_check_method=pass_all
5507  ;;
5508os2*)
5509  lt_cv_deplibs_check_method=pass_all
5510  ;;
5511esac
5512
5513fi
5514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5515$as_echo "$lt_cv_deplibs_check_method" >&6; }
5516
5517file_magic_glob=
5518want_nocaseglob=no
5519if test "$build" = "$host"; then
5520  case $host_os in
5521  mingw* | pw32*)
5522    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5523      want_nocaseglob=yes
5524    else
5525      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5526    fi
5527    ;;
5528  esac
5529fi
5530
5531file_magic_cmd=$lt_cv_file_magic_cmd
5532deplibs_check_method=$lt_cv_deplibs_check_method
5533test -z "$deplibs_check_method" && deplibs_check_method=unknown
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556if test -n "$ac_tool_prefix"; then
5557  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5558set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560$as_echo_n "checking for $ac_word... " >&6; }
5561if ${ac_cv_prog_DLLTOOL+:} false; then :
5562  $as_echo_n "(cached) " >&6
5563else
5564  if test -n "$DLLTOOL"; then
5565  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5566else
5567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568for as_dir in $PATH
5569do
5570  IFS=$as_save_IFS
5571  test -z "$as_dir" && as_dir=.
5572    for ac_exec_ext in '' $ac_executable_extensions; do
5573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576    break 2
5577  fi
5578done
5579  done
5580IFS=$as_save_IFS
5581
5582fi
5583fi
5584DLLTOOL=$ac_cv_prog_DLLTOOL
5585if test -n "$DLLTOOL"; then
5586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5587$as_echo "$DLLTOOL" >&6; }
5588else
5589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590$as_echo "no" >&6; }
5591fi
5592
5593
5594fi
5595if test -z "$ac_cv_prog_DLLTOOL"; then
5596  ac_ct_DLLTOOL=$DLLTOOL
5597  # Extract the first word of "dlltool", so it can be a program name with args.
5598set dummy dlltool; ac_word=$2
5599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600$as_echo_n "checking for $ac_word... " >&6; }
5601if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5602  $as_echo_n "(cached) " >&6
5603else
5604  if test -n "$ac_ct_DLLTOOL"; then
5605  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5606else
5607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608for as_dir in $PATH
5609do
5610  IFS=$as_save_IFS
5611  test -z "$as_dir" && as_dir=.
5612    for ac_exec_ext in '' $ac_executable_extensions; do
5613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616    break 2
5617  fi
5618done
5619  done
5620IFS=$as_save_IFS
5621
5622fi
5623fi
5624ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5625if test -n "$ac_ct_DLLTOOL"; then
5626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5627$as_echo "$ac_ct_DLLTOOL" >&6; }
5628else
5629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630$as_echo "no" >&6; }
5631fi
5632
5633  if test "x$ac_ct_DLLTOOL" = x; then
5634    DLLTOOL="false"
5635  else
5636    case $cross_compiling:$ac_tool_warned in
5637yes:)
5638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5640ac_tool_warned=yes ;;
5641esac
5642    DLLTOOL=$ac_ct_DLLTOOL
5643  fi
5644else
5645  DLLTOOL="$ac_cv_prog_DLLTOOL"
5646fi
5647
5648test -z "$DLLTOOL" && DLLTOOL=dlltool
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5660$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5661if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5662  $as_echo_n "(cached) " >&6
5663else
5664  lt_cv_sharedlib_from_linklib_cmd='unknown'
5665
5666case $host_os in
5667cygwin* | mingw* | pw32* | cegcc*)
5668  # two different shell functions defined in ltmain.sh;
5669  # decide which one to use based on capabilities of $DLLTOOL
5670  case `$DLLTOOL --help 2>&1` in
5671  *--identify-strict*)
5672    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5673    ;;
5674  *)
5675    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5676    ;;
5677  esac
5678  ;;
5679*)
5680  # fallback: assume linklib IS sharedlib
5681  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5682  ;;
5683esac
5684
5685fi
5686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5687$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5688sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5689test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5690
5691
5692
5693
5694
5695
5696
5697
5698if test -n "$ac_tool_prefix"; then
5699  for ac_prog in ar
5700  do
5701    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5702set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704$as_echo_n "checking for $ac_word... " >&6; }
5705if ${ac_cv_prog_AR+:} false; then :
5706  $as_echo_n "(cached) " >&6
5707else
5708  if test -n "$AR"; then
5709  ac_cv_prog_AR="$AR" # Let the user override the test.
5710else
5711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712for as_dir in $PATH
5713do
5714  IFS=$as_save_IFS
5715  test -z "$as_dir" && as_dir=.
5716    for ac_exec_ext in '' $ac_executable_extensions; do
5717  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720    break 2
5721  fi
5722done
5723  done
5724IFS=$as_save_IFS
5725
5726fi
5727fi
5728AR=$ac_cv_prog_AR
5729if test -n "$AR"; then
5730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5731$as_echo "$AR" >&6; }
5732else
5733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734$as_echo "no" >&6; }
5735fi
5736
5737
5738    test -n "$AR" && break
5739  done
5740fi
5741if test -z "$AR"; then
5742  ac_ct_AR=$AR
5743  for ac_prog in ar
5744do
5745  # Extract the first word of "$ac_prog", so it can be a program name with args.
5746set dummy $ac_prog; ac_word=$2
5747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748$as_echo_n "checking for $ac_word... " >&6; }
5749if ${ac_cv_prog_ac_ct_AR+:} false; then :
5750  $as_echo_n "(cached) " >&6
5751else
5752  if test -n "$ac_ct_AR"; then
5753  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5754else
5755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756for as_dir in $PATH
5757do
5758  IFS=$as_save_IFS
5759  test -z "$as_dir" && as_dir=.
5760    for ac_exec_ext in '' $ac_executable_extensions; do
5761  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762    ac_cv_prog_ac_ct_AR="$ac_prog"
5763    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764    break 2
5765  fi
5766done
5767  done
5768IFS=$as_save_IFS
5769
5770fi
5771fi
5772ac_ct_AR=$ac_cv_prog_ac_ct_AR
5773if test -n "$ac_ct_AR"; then
5774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5775$as_echo "$ac_ct_AR" >&6; }
5776else
5777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778$as_echo "no" >&6; }
5779fi
5780
5781
5782  test -n "$ac_ct_AR" && break
5783done
5784
5785  if test "x$ac_ct_AR" = x; then
5786    AR="false"
5787  else
5788    case $cross_compiling:$ac_tool_warned in
5789yes:)
5790{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5791$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5792ac_tool_warned=yes ;;
5793esac
5794    AR=$ac_ct_AR
5795  fi
5796fi
5797
5798: ${AR=ar}
5799: ${AR_FLAGS=cr}
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5812$as_echo_n "checking for archiver @FILE support... " >&6; }
5813if ${lt_cv_ar_at_file+:} false; then :
5814  $as_echo_n "(cached) " >&6
5815else
5816  lt_cv_ar_at_file=no
5817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5818/* end confdefs.h.  */
5819
5820int
5821main ()
5822{
5823
5824  ;
5825  return 0;
5826}
5827_ACEOF
5828if ac_fn_c_try_compile "$LINENO"; then :
5829  echo conftest.$ac_objext > conftest.lst
5830      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5831      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5832  (eval $lt_ar_try) 2>&5
5833  ac_status=$?
5834  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5835  test $ac_status = 0; }
5836      if test 0 -eq "$ac_status"; then
5837	# Ensure the archiver fails upon bogus file names.
5838	rm -f conftest.$ac_objext libconftest.a
5839	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5840  (eval $lt_ar_try) 2>&5
5841  ac_status=$?
5842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5843  test $ac_status = 0; }
5844	if test 0 -ne "$ac_status"; then
5845          lt_cv_ar_at_file=@
5846        fi
5847      fi
5848      rm -f conftest.* libconftest.a
5849
5850fi
5851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5852
5853fi
5854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5855$as_echo "$lt_cv_ar_at_file" >&6; }
5856
5857if test no = "$lt_cv_ar_at_file"; then
5858  archiver_list_spec=
5859else
5860  archiver_list_spec=$lt_cv_ar_at_file
5861fi
5862
5863
5864
5865
5866
5867
5868
5869if test -n "$ac_tool_prefix"; then
5870  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5871set dummy ${ac_tool_prefix}strip; ac_word=$2
5872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873$as_echo_n "checking for $ac_word... " >&6; }
5874if ${ac_cv_prog_STRIP+:} false; then :
5875  $as_echo_n "(cached) " >&6
5876else
5877  if test -n "$STRIP"; then
5878  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5879else
5880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881for as_dir in $PATH
5882do
5883  IFS=$as_save_IFS
5884  test -z "$as_dir" && as_dir=.
5885    for ac_exec_ext in '' $ac_executable_extensions; do
5886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889    break 2
5890  fi
5891done
5892  done
5893IFS=$as_save_IFS
5894
5895fi
5896fi
5897STRIP=$ac_cv_prog_STRIP
5898if test -n "$STRIP"; then
5899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5900$as_echo "$STRIP" >&6; }
5901else
5902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903$as_echo "no" >&6; }
5904fi
5905
5906
5907fi
5908if test -z "$ac_cv_prog_STRIP"; then
5909  ac_ct_STRIP=$STRIP
5910  # Extract the first word of "strip", so it can be a program name with args.
5911set dummy strip; ac_word=$2
5912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913$as_echo_n "checking for $ac_word... " >&6; }
5914if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5915  $as_echo_n "(cached) " >&6
5916else
5917  if test -n "$ac_ct_STRIP"; then
5918  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5919else
5920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921for as_dir in $PATH
5922do
5923  IFS=$as_save_IFS
5924  test -z "$as_dir" && as_dir=.
5925    for ac_exec_ext in '' $ac_executable_extensions; do
5926  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927    ac_cv_prog_ac_ct_STRIP="strip"
5928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929    break 2
5930  fi
5931done
5932  done
5933IFS=$as_save_IFS
5934
5935fi
5936fi
5937ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5938if test -n "$ac_ct_STRIP"; then
5939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5940$as_echo "$ac_ct_STRIP" >&6; }
5941else
5942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943$as_echo "no" >&6; }
5944fi
5945
5946  if test "x$ac_ct_STRIP" = x; then
5947    STRIP=":"
5948  else
5949    case $cross_compiling:$ac_tool_warned in
5950yes:)
5951{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5952$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5953ac_tool_warned=yes ;;
5954esac
5955    STRIP=$ac_ct_STRIP
5956  fi
5957else
5958  STRIP="$ac_cv_prog_STRIP"
5959fi
5960
5961test -z "$STRIP" && STRIP=:
5962
5963
5964
5965
5966
5967
5968if test -n "$ac_tool_prefix"; then
5969  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5970set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972$as_echo_n "checking for $ac_word... " >&6; }
5973if ${ac_cv_prog_RANLIB+:} false; then :
5974  $as_echo_n "(cached) " >&6
5975else
5976  if test -n "$RANLIB"; then
5977  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5978else
5979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980for as_dir in $PATH
5981do
5982  IFS=$as_save_IFS
5983  test -z "$as_dir" && as_dir=.
5984    for ac_exec_ext in '' $ac_executable_extensions; do
5985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988    break 2
5989  fi
5990done
5991  done
5992IFS=$as_save_IFS
5993
5994fi
5995fi
5996RANLIB=$ac_cv_prog_RANLIB
5997if test -n "$RANLIB"; then
5998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5999$as_echo "$RANLIB" >&6; }
6000else
6001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002$as_echo "no" >&6; }
6003fi
6004
6005
6006fi
6007if test -z "$ac_cv_prog_RANLIB"; then
6008  ac_ct_RANLIB=$RANLIB
6009  # Extract the first word of "ranlib", so it can be a program name with args.
6010set dummy ranlib; ac_word=$2
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012$as_echo_n "checking for $ac_word... " >&6; }
6013if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6014  $as_echo_n "(cached) " >&6
6015else
6016  if test -n "$ac_ct_RANLIB"; then
6017  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6018else
6019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020for as_dir in $PATH
6021do
6022  IFS=$as_save_IFS
6023  test -z "$as_dir" && as_dir=.
6024    for ac_exec_ext in '' $ac_executable_extensions; do
6025  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026    ac_cv_prog_ac_ct_RANLIB="ranlib"
6027    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028    break 2
6029  fi
6030done
6031  done
6032IFS=$as_save_IFS
6033
6034fi
6035fi
6036ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6037if test -n "$ac_ct_RANLIB"; then
6038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6039$as_echo "$ac_ct_RANLIB" >&6; }
6040else
6041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042$as_echo "no" >&6; }
6043fi
6044
6045  if test "x$ac_ct_RANLIB" = x; then
6046    RANLIB=":"
6047  else
6048    case $cross_compiling:$ac_tool_warned in
6049yes:)
6050{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052ac_tool_warned=yes ;;
6053esac
6054    RANLIB=$ac_ct_RANLIB
6055  fi
6056else
6057  RANLIB="$ac_cv_prog_RANLIB"
6058fi
6059
6060test -z "$RANLIB" && RANLIB=:
6061
6062
6063
6064
6065
6066
6067# Determine commands to create old-style static archives.
6068old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6069old_postinstall_cmds='chmod 644 $oldlib'
6070old_postuninstall_cmds=
6071
6072if test -n "$RANLIB"; then
6073  case $host_os in
6074  bitrig* | openbsd*)
6075    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6076    ;;
6077  *)
6078    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6079    ;;
6080  esac
6081  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6082fi
6083
6084case $host_os in
6085  darwin*)
6086    lock_old_archive_extraction=yes ;;
6087  *)
6088    lock_old_archive_extraction=no ;;
6089esac
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129# If no C compiler was specified, use CC.
6130LTCC=${LTCC-"$CC"}
6131
6132# If no C compiler flags were specified, use CFLAGS.
6133LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6134
6135# Allow CC to be a program name with arguments.
6136compiler=$CC
6137
6138
6139# Check for command to grab the raw symbol name followed by C symbol from nm.
6140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6141$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6142if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6143  $as_echo_n "(cached) " >&6
6144else
6145
6146# These are sane defaults that work on at least a few old systems.
6147# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6148
6149# Character class describing NM global symbol codes.
6150symcode='[BCDEGRST]'
6151
6152# Regexp to match symbols that can be accessed directly from C.
6153sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6154
6155# Define system-specific variables.
6156case $host_os in
6157aix*)
6158  symcode='[BCDT]'
6159  ;;
6160cygwin* | mingw* | pw32* | cegcc*)
6161  symcode='[ABCDGISTW]'
6162  ;;
6163hpux*)
6164  if test ia64 = "$host_cpu"; then
6165    symcode='[ABCDEGRST]'
6166  fi
6167  ;;
6168irix* | nonstopux*)
6169  symcode='[BCDEGRST]'
6170  ;;
6171osf*)
6172  symcode='[BCDEGQRST]'
6173  ;;
6174solaris*)
6175  symcode='[BDRT]'
6176  ;;
6177sco3.2v5*)
6178  symcode='[DT]'
6179  ;;
6180sysv4.2uw2*)
6181  symcode='[DT]'
6182  ;;
6183sysv5* | sco5v6* | unixware* | OpenUNIX*)
6184  symcode='[ABDT]'
6185  ;;
6186sysv4)
6187  symcode='[DFNSTU]'
6188  ;;
6189esac
6190
6191# If we're using GNU nm, then use its standard symbol codes.
6192case `$NM -V 2>&1` in
6193*GNU* | *'with BFD'*)
6194  symcode='[ABCDGIRSTW]' ;;
6195esac
6196
6197if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6198  # Gets list of data symbols to import.
6199  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6200  # Adjust the below global symbol transforms to fixup imported variables.
6201  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6202  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6203  lt_c_name_lib_hook="\
6204  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6205  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6206else
6207  # Disable hooks by default.
6208  lt_cv_sys_global_symbol_to_import=
6209  lt_cdecl_hook=
6210  lt_c_name_hook=
6211  lt_c_name_lib_hook=
6212fi
6213
6214# Transform an extracted symbol line into a proper C declaration.
6215# Some systems (esp. on ia64) link data and code symbols differently,
6216# so use this general approach.
6217lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6218$lt_cdecl_hook\
6219" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6220" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6221
6222# Transform an extracted symbol line into symbol name and symbol address
6223lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6224$lt_c_name_hook\
6225" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6226" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6227
6228# Transform an extracted symbol line into symbol name with lib prefix and
6229# symbol address.
6230lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6231$lt_c_name_lib_hook\
6232" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6233" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6234" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6235
6236# Handle CRLF in mingw tool chain
6237opt_cr=
6238case $build_os in
6239mingw*)
6240  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6241  ;;
6242esac
6243
6244# Try without a prefix underscore, then with it.
6245for ac_symprfx in "" "_"; do
6246
6247  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6248  symxfrm="\\1 $ac_symprfx\\2 \\2"
6249
6250  # Write the raw and C identifiers.
6251  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6252    # Fake it for dumpbin and say T for any non-static function,
6253    # D for any global variable and I for any imported variable.
6254    # Also find C++ and __fastcall symbols from MSVC++,
6255    # which start with @ or ?.
6256    lt_cv_sys_global_symbol_pipe="$AWK '"\
6257"     {last_section=section; section=\$ 3};"\
6258"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6259"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6260"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6261"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6262"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6263"     \$ 0!~/External *\|/{next};"\
6264"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6265"     {if(hide[section]) next};"\
6266"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6267"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6268"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6269"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6270"     ' prfx=^$ac_symprfx"
6271  else
6272    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6273  fi
6274  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6275
6276  # Check to see that the pipe works correctly.
6277  pipe_works=no
6278
6279  rm -f conftest*
6280  cat > conftest.$ac_ext <<_LT_EOF
6281#ifdef __cplusplus
6282extern "C" {
6283#endif
6284char nm_test_var;
6285void nm_test_func(void);
6286void nm_test_func(void){}
6287#ifdef __cplusplus
6288}
6289#endif
6290int main(){nm_test_var='a';nm_test_func();return(0);}
6291_LT_EOF
6292
6293  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6294  (eval $ac_compile) 2>&5
6295  ac_status=$?
6296  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6297  test $ac_status = 0; }; then
6298    # Now try to grab the symbols.
6299    nlist=conftest.nm
6300    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6301    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6302      # Try sorting and uniquifying the output.
6303      if sort "$nlist" | uniq > "$nlist"T; then
6304	mv -f "$nlist"T "$nlist"
6305      else
6306	rm -f "$nlist"T
6307      fi
6308
6309      # Make sure that we snagged all the symbols we need.
6310      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6311	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6312	  cat <<_LT_EOF > conftest.$ac_ext
6313/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6314#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6315/* DATA imports from DLLs on WIN32 can't be const, because runtime
6316   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6317# define LT_DLSYM_CONST
6318#elif defined __osf__
6319/* This system does not cope well with relocations in const data.  */
6320# define LT_DLSYM_CONST
6321#else
6322# define LT_DLSYM_CONST const
6323#endif
6324
6325#ifdef __cplusplus
6326extern "C" {
6327#endif
6328
6329_LT_EOF
6330	  # Now generate the symbol file.
6331	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6332
6333	  cat <<_LT_EOF >> conftest.$ac_ext
6334
6335/* The mapping between symbol names and symbols.  */
6336LT_DLSYM_CONST struct {
6337  const char *name;
6338  void       *address;
6339}
6340lt__PROGRAM__LTX_preloaded_symbols[] =
6341{
6342  { "@PROGRAM@", (void *) 0 },
6343_LT_EOF
6344	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6345	  cat <<\_LT_EOF >> conftest.$ac_ext
6346  {0, (void *) 0}
6347};
6348
6349/* This works around a problem in FreeBSD linker */
6350#ifdef FREEBSD_WORKAROUND
6351static const void *lt_preloaded_setup() {
6352  return lt__PROGRAM__LTX_preloaded_symbols;
6353}
6354#endif
6355
6356#ifdef __cplusplus
6357}
6358#endif
6359_LT_EOF
6360	  # Now try linking the two files.
6361	  mv conftest.$ac_objext conftstm.$ac_objext
6362	  lt_globsym_save_LIBS=$LIBS
6363	  lt_globsym_save_CFLAGS=$CFLAGS
6364	  LIBS=conftstm.$ac_objext
6365	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6366	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6367  (eval $ac_link) 2>&5
6368  ac_status=$?
6369  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6370  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6371	    pipe_works=yes
6372	  fi
6373	  LIBS=$lt_globsym_save_LIBS
6374	  CFLAGS=$lt_globsym_save_CFLAGS
6375	else
6376	  echo "cannot find nm_test_func in $nlist" >&5
6377	fi
6378      else
6379	echo "cannot find nm_test_var in $nlist" >&5
6380      fi
6381    else
6382      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6383    fi
6384  else
6385    echo "$progname: failed program was:" >&5
6386    cat conftest.$ac_ext >&5
6387  fi
6388  rm -rf conftest* conftst*
6389
6390  # Do not use the global_symbol_pipe unless it works.
6391  if test yes = "$pipe_works"; then
6392    break
6393  else
6394    lt_cv_sys_global_symbol_pipe=
6395  fi
6396done
6397
6398fi
6399
6400if test -z "$lt_cv_sys_global_symbol_pipe"; then
6401  lt_cv_sys_global_symbol_to_cdecl=
6402fi
6403if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6405$as_echo "failed" >&6; }
6406else
6407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6408$as_echo "ok" >&6; }
6409fi
6410
6411# Response file support.
6412if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6413  nm_file_list_spec='@'
6414elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6415  nm_file_list_spec='@'
6416fi
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6455$as_echo_n "checking for sysroot... " >&6; }
6456
6457# Check whether --with-sysroot was given.
6458if test "${with_sysroot+set}" = set; then :
6459  withval=$with_sysroot;
6460else
6461  with_sysroot=no
6462fi
6463
6464
6465lt_sysroot=
6466case $with_sysroot in #(
6467 yes)
6468   if test yes = "$GCC"; then
6469     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6470   fi
6471   ;; #(
6472 /*)
6473   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6474   ;; #(
6475 no|'')
6476   ;; #(
6477 *)
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6479$as_echo "$with_sysroot" >&6; }
6480   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6481   ;;
6482esac
6483
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6485$as_echo "${lt_sysroot:-no}" >&6; }
6486
6487
6488
6489
6490
6491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6492$as_echo_n "checking for a working dd... " >&6; }
6493if ${ac_cv_path_lt_DD+:} false; then :
6494  $as_echo_n "(cached) " >&6
6495else
6496  printf 0123456789abcdef0123456789abcdef >conftest.i
6497cat conftest.i conftest.i >conftest2.i
6498: ${lt_DD:=$DD}
6499if test -z "$lt_DD"; then
6500  ac_path_lt_DD_found=false
6501  # Loop through the user's path and test for each of PROGNAME-LIST
6502  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503for as_dir in $PATH
6504do
6505  IFS=$as_save_IFS
6506  test -z "$as_dir" && as_dir=.
6507    for ac_prog in dd; do
6508    for ac_exec_ext in '' $ac_executable_extensions; do
6509      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6510      as_fn_executable_p "$ac_path_lt_DD" || continue
6511if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6512  cmp -s conftest.i conftest.out \
6513  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6514fi
6515      $ac_path_lt_DD_found && break 3
6516    done
6517  done
6518  done
6519IFS=$as_save_IFS
6520  if test -z "$ac_cv_path_lt_DD"; then
6521    :
6522  fi
6523else
6524  ac_cv_path_lt_DD=$lt_DD
6525fi
6526
6527rm -f conftest.i conftest2.i conftest.out
6528fi
6529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6530$as_echo "$ac_cv_path_lt_DD" >&6; }
6531
6532
6533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6534$as_echo_n "checking how to truncate binary pipes... " >&6; }
6535if ${lt_cv_truncate_bin+:} false; then :
6536  $as_echo_n "(cached) " >&6
6537else
6538  printf 0123456789abcdef0123456789abcdef >conftest.i
6539cat conftest.i conftest.i >conftest2.i
6540lt_cv_truncate_bin=
6541if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6542  cmp -s conftest.i conftest.out \
6543  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6544fi
6545rm -f conftest.i conftest2.i conftest.out
6546test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6547fi
6548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6549$as_echo "$lt_cv_truncate_bin" >&6; }
6550
6551
6552
6553
6554
6555
6556
6557# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6558func_cc_basename ()
6559{
6560    for cc_temp in $*""; do
6561      case $cc_temp in
6562        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6563        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6564        \-*) ;;
6565        *) break;;
6566      esac
6567    done
6568    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6569}
6570
6571# Check whether --enable-libtool-lock was given.
6572if test "${enable_libtool_lock+set}" = set; then :
6573  enableval=$enable_libtool_lock;
6574fi
6575
6576test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6577
6578# Some flags need to be propagated to the compiler or linker for good
6579# libtool support.
6580case $host in
6581ia64-*-hpux*)
6582  # Find out what ABI is being produced by ac_compile, and set mode
6583  # options accordingly.
6584  echo 'int i;' > conftest.$ac_ext
6585  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6586  (eval $ac_compile) 2>&5
6587  ac_status=$?
6588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6589  test $ac_status = 0; }; then
6590    case `/usr/bin/file conftest.$ac_objext` in
6591      *ELF-32*)
6592	HPUX_IA64_MODE=32
6593	;;
6594      *ELF-64*)
6595	HPUX_IA64_MODE=64
6596	;;
6597    esac
6598  fi
6599  rm -rf conftest*
6600  ;;
6601*-*-irix6*)
6602  # Find out what ABI is being produced by ac_compile, and set linker
6603  # options accordingly.
6604  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6605  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6606  (eval $ac_compile) 2>&5
6607  ac_status=$?
6608  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6609  test $ac_status = 0; }; then
6610    if test yes = "$lt_cv_prog_gnu_ld"; then
6611      case `/usr/bin/file conftest.$ac_objext` in
6612	*32-bit*)
6613	  LD="${LD-ld} -melf32bsmip"
6614	  ;;
6615	*N32*)
6616	  LD="${LD-ld} -melf32bmipn32"
6617	  ;;
6618	*64-bit*)
6619	  LD="${LD-ld} -melf64bmip"
6620	;;
6621      esac
6622    else
6623      case `/usr/bin/file conftest.$ac_objext` in
6624	*32-bit*)
6625	  LD="${LD-ld} -32"
6626	  ;;
6627	*N32*)
6628	  LD="${LD-ld} -n32"
6629	  ;;
6630	*64-bit*)
6631	  LD="${LD-ld} -64"
6632	  ;;
6633      esac
6634    fi
6635  fi
6636  rm -rf conftest*
6637  ;;
6638
6639mips64*-*linux*)
6640  # Find out what ABI is being produced by ac_compile, and set linker
6641  # options accordingly.
6642  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6643  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6644  (eval $ac_compile) 2>&5
6645  ac_status=$?
6646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6647  test $ac_status = 0; }; then
6648    emul=elf
6649    case `/usr/bin/file conftest.$ac_objext` in
6650      *32-bit*)
6651	emul="${emul}32"
6652	;;
6653      *64-bit*)
6654	emul="${emul}64"
6655	;;
6656    esac
6657    case `/usr/bin/file conftest.$ac_objext` in
6658      *MSB*)
6659	emul="${emul}btsmip"
6660	;;
6661      *LSB*)
6662	emul="${emul}ltsmip"
6663	;;
6664    esac
6665    case `/usr/bin/file conftest.$ac_objext` in
6666      *N32*)
6667	emul="${emul}n32"
6668	;;
6669    esac
6670    LD="${LD-ld} -m $emul"
6671  fi
6672  rm -rf conftest*
6673  ;;
6674
6675x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6676s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6677  # Find out what ABI is being produced by ac_compile, and set linker
6678  # options accordingly.  Note that the listed cases only cover the
6679  # situations where additional linker options are needed (such as when
6680  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6681  # vice versa); the common cases where no linker options are needed do
6682  # not appear in the list.
6683  echo 'int i;' > conftest.$ac_ext
6684  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6685  (eval $ac_compile) 2>&5
6686  ac_status=$?
6687  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6688  test $ac_status = 0; }; then
6689    case `/usr/bin/file conftest.o` in
6690      *32-bit*)
6691	case $host in
6692	  x86_64-*kfreebsd*-gnu)
6693	    LD="${LD-ld} -m elf_i386_fbsd"
6694	    ;;
6695	  x86_64-*linux*)
6696	    case `/usr/bin/file conftest.o` in
6697	      *x86-64*)
6698		LD="${LD-ld} -m elf32_x86_64"
6699		;;
6700	      *)
6701		LD="${LD-ld} -m elf_i386"
6702		;;
6703	    esac
6704	    ;;
6705	  powerpc64le-*linux*)
6706	    LD="${LD-ld} -m elf32lppclinux"
6707	    ;;
6708	  powerpc64-*linux*)
6709	    LD="${LD-ld} -m elf32ppclinux"
6710	    ;;
6711	  s390x-*linux*)
6712	    LD="${LD-ld} -m elf_s390"
6713	    ;;
6714	  sparc64-*linux*)
6715	    LD="${LD-ld} -m elf32_sparc"
6716	    ;;
6717	esac
6718	;;
6719      *64-bit*)
6720	case $host in
6721	  x86_64-*kfreebsd*-gnu)
6722	    LD="${LD-ld} -m elf_x86_64_fbsd"
6723	    ;;
6724	  x86_64-*linux*)
6725	    LD="${LD-ld} -m elf_x86_64"
6726	    ;;
6727	  powerpcle-*linux*)
6728	    LD="${LD-ld} -m elf64lppc"
6729	    ;;
6730	  powerpc-*linux*)
6731	    LD="${LD-ld} -m elf64ppc"
6732	    ;;
6733	  s390*-*linux*|s390*-*tpf*)
6734	    LD="${LD-ld} -m elf64_s390"
6735	    ;;
6736	  sparc*-*linux*)
6737	    LD="${LD-ld} -m elf64_sparc"
6738	    ;;
6739	esac
6740	;;
6741    esac
6742  fi
6743  rm -rf conftest*
6744  ;;
6745
6746*-*-sco3.2v5*)
6747  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6748  SAVE_CFLAGS=$CFLAGS
6749  CFLAGS="$CFLAGS -belf"
6750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6751$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6752if ${lt_cv_cc_needs_belf+:} false; then :
6753  $as_echo_n "(cached) " >&6
6754else
6755  ac_ext=c
6756ac_cpp='$CPP $CPPFLAGS'
6757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6759ac_compiler_gnu=$ac_cv_c_compiler_gnu
6760
6761     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6762/* end confdefs.h.  */
6763
6764int
6765main ()
6766{
6767
6768  ;
6769  return 0;
6770}
6771_ACEOF
6772if ac_fn_c_try_link "$LINENO"; then :
6773  lt_cv_cc_needs_belf=yes
6774else
6775  lt_cv_cc_needs_belf=no
6776fi
6777rm -f core conftest.err conftest.$ac_objext \
6778    conftest$ac_exeext conftest.$ac_ext
6779     ac_ext=c
6780ac_cpp='$CPP $CPPFLAGS'
6781ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6782ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6783ac_compiler_gnu=$ac_cv_c_compiler_gnu
6784
6785fi
6786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6787$as_echo "$lt_cv_cc_needs_belf" >&6; }
6788  if test yes != "$lt_cv_cc_needs_belf"; then
6789    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6790    CFLAGS=$SAVE_CFLAGS
6791  fi
6792  ;;
6793*-*solaris*)
6794  # Find out what ABI is being produced by ac_compile, and set linker
6795  # options accordingly.
6796  echo 'int i;' > conftest.$ac_ext
6797  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6798  (eval $ac_compile) 2>&5
6799  ac_status=$?
6800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6801  test $ac_status = 0; }; then
6802    case `/usr/bin/file conftest.o` in
6803    *64-bit*)
6804      case $lt_cv_prog_gnu_ld in
6805      yes*)
6806        case $host in
6807        i?86-*-solaris*|x86_64-*-solaris*)
6808          LD="${LD-ld} -m elf_x86_64"
6809          ;;
6810        sparc*-*-solaris*)
6811          LD="${LD-ld} -m elf64_sparc"
6812          ;;
6813        esac
6814        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6815        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6816          LD=${LD-ld}_sol2
6817        fi
6818        ;;
6819      *)
6820	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6821	  LD="${LD-ld} -64"
6822	fi
6823	;;
6824      esac
6825      ;;
6826    esac
6827  fi
6828  rm -rf conftest*
6829  ;;
6830esac
6831
6832need_locks=$enable_libtool_lock
6833
6834if test -n "$ac_tool_prefix"; then
6835  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6836set dummy ${ac_tool_prefix}mt; ac_word=$2
6837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838$as_echo_n "checking for $ac_word... " >&6; }
6839if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6840  $as_echo_n "(cached) " >&6
6841else
6842  if test -n "$MANIFEST_TOOL"; then
6843  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6844else
6845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846for as_dir in $PATH
6847do
6848  IFS=$as_save_IFS
6849  test -z "$as_dir" && as_dir=.
6850    for ac_exec_ext in '' $ac_executable_extensions; do
6851  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6852    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6853    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854    break 2
6855  fi
6856done
6857  done
6858IFS=$as_save_IFS
6859
6860fi
6861fi
6862MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6863if test -n "$MANIFEST_TOOL"; then
6864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6865$as_echo "$MANIFEST_TOOL" >&6; }
6866else
6867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868$as_echo "no" >&6; }
6869fi
6870
6871
6872fi
6873if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6874  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6875  # Extract the first word of "mt", so it can be a program name with args.
6876set dummy mt; ac_word=$2
6877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878$as_echo_n "checking for $ac_word... " >&6; }
6879if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6880  $as_echo_n "(cached) " >&6
6881else
6882  if test -n "$ac_ct_MANIFEST_TOOL"; then
6883  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6884else
6885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886for as_dir in $PATH
6887do
6888  IFS=$as_save_IFS
6889  test -z "$as_dir" && as_dir=.
6890    for ac_exec_ext in '' $ac_executable_extensions; do
6891  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6892    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894    break 2
6895  fi
6896done
6897  done
6898IFS=$as_save_IFS
6899
6900fi
6901fi
6902ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6903if test -n "$ac_ct_MANIFEST_TOOL"; then
6904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6905$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6906else
6907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908$as_echo "no" >&6; }
6909fi
6910
6911  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6912    MANIFEST_TOOL=":"
6913  else
6914    case $cross_compiling:$ac_tool_warned in
6915yes:)
6916{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6917$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6918ac_tool_warned=yes ;;
6919esac
6920    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6921  fi
6922else
6923  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6924fi
6925
6926test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6928$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6929if ${lt_cv_path_mainfest_tool+:} false; then :
6930  $as_echo_n "(cached) " >&6
6931else
6932  lt_cv_path_mainfest_tool=no
6933  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6934  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6935  cat conftest.err >&5
6936  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6937    lt_cv_path_mainfest_tool=yes
6938  fi
6939  rm -f conftest*
6940fi
6941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6942$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6943if test yes != "$lt_cv_path_mainfest_tool"; then
6944  MANIFEST_TOOL=:
6945fi
6946
6947
6948
6949
6950
6951
6952  case $host_os in
6953    rhapsody* | darwin*)
6954    if test -n "$ac_tool_prefix"; then
6955  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6956set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958$as_echo_n "checking for $ac_word... " >&6; }
6959if ${ac_cv_prog_DSYMUTIL+:} false; then :
6960  $as_echo_n "(cached) " >&6
6961else
6962  if test -n "$DSYMUTIL"; then
6963  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6964else
6965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966for as_dir in $PATH
6967do
6968  IFS=$as_save_IFS
6969  test -z "$as_dir" && as_dir=.
6970    for ac_exec_ext in '' $ac_executable_extensions; do
6971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6972    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974    break 2
6975  fi
6976done
6977  done
6978IFS=$as_save_IFS
6979
6980fi
6981fi
6982DSYMUTIL=$ac_cv_prog_DSYMUTIL
6983if test -n "$DSYMUTIL"; then
6984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6985$as_echo "$DSYMUTIL" >&6; }
6986else
6987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988$as_echo "no" >&6; }
6989fi
6990
6991
6992fi
6993if test -z "$ac_cv_prog_DSYMUTIL"; then
6994  ac_ct_DSYMUTIL=$DSYMUTIL
6995  # Extract the first word of "dsymutil", so it can be a program name with args.
6996set dummy dsymutil; ac_word=$2
6997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998$as_echo_n "checking for $ac_word... " >&6; }
6999if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7000  $as_echo_n "(cached) " >&6
7001else
7002  if test -n "$ac_ct_DSYMUTIL"; then
7003  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7004else
7005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006for as_dir in $PATH
7007do
7008  IFS=$as_save_IFS
7009  test -z "$as_dir" && as_dir=.
7010    for ac_exec_ext in '' $ac_executable_extensions; do
7011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7012    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014    break 2
7015  fi
7016done
7017  done
7018IFS=$as_save_IFS
7019
7020fi
7021fi
7022ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7023if test -n "$ac_ct_DSYMUTIL"; then
7024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7025$as_echo "$ac_ct_DSYMUTIL" >&6; }
7026else
7027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7028$as_echo "no" >&6; }
7029fi
7030
7031  if test "x$ac_ct_DSYMUTIL" = x; then
7032    DSYMUTIL=":"
7033  else
7034    case $cross_compiling:$ac_tool_warned in
7035yes:)
7036{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7037$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7038ac_tool_warned=yes ;;
7039esac
7040    DSYMUTIL=$ac_ct_DSYMUTIL
7041  fi
7042else
7043  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7044fi
7045
7046    if test -n "$ac_tool_prefix"; then
7047  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7048set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050$as_echo_n "checking for $ac_word... " >&6; }
7051if ${ac_cv_prog_NMEDIT+:} false; then :
7052  $as_echo_n "(cached) " >&6
7053else
7054  if test -n "$NMEDIT"; then
7055  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7056else
7057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058for as_dir in $PATH
7059do
7060  IFS=$as_save_IFS
7061  test -z "$as_dir" && as_dir=.
7062    for ac_exec_ext in '' $ac_executable_extensions; do
7063  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7064    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7065    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066    break 2
7067  fi
7068done
7069  done
7070IFS=$as_save_IFS
7071
7072fi
7073fi
7074NMEDIT=$ac_cv_prog_NMEDIT
7075if test -n "$NMEDIT"; then
7076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7077$as_echo "$NMEDIT" >&6; }
7078else
7079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080$as_echo "no" >&6; }
7081fi
7082
7083
7084fi
7085if test -z "$ac_cv_prog_NMEDIT"; then
7086  ac_ct_NMEDIT=$NMEDIT
7087  # Extract the first word of "nmedit", so it can be a program name with args.
7088set dummy nmedit; ac_word=$2
7089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090$as_echo_n "checking for $ac_word... " >&6; }
7091if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7092  $as_echo_n "(cached) " >&6
7093else
7094  if test -n "$ac_ct_NMEDIT"; then
7095  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7096else
7097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098for as_dir in $PATH
7099do
7100  IFS=$as_save_IFS
7101  test -z "$as_dir" && as_dir=.
7102    for ac_exec_ext in '' $ac_executable_extensions; do
7103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106    break 2
7107  fi
7108done
7109  done
7110IFS=$as_save_IFS
7111
7112fi
7113fi
7114ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7115if test -n "$ac_ct_NMEDIT"; then
7116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7117$as_echo "$ac_ct_NMEDIT" >&6; }
7118else
7119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120$as_echo "no" >&6; }
7121fi
7122
7123  if test "x$ac_ct_NMEDIT" = x; then
7124    NMEDIT=":"
7125  else
7126    case $cross_compiling:$ac_tool_warned in
7127yes:)
7128{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7129$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7130ac_tool_warned=yes ;;
7131esac
7132    NMEDIT=$ac_ct_NMEDIT
7133  fi
7134else
7135  NMEDIT="$ac_cv_prog_NMEDIT"
7136fi
7137
7138    if test -n "$ac_tool_prefix"; then
7139  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7140set dummy ${ac_tool_prefix}lipo; ac_word=$2
7141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142$as_echo_n "checking for $ac_word... " >&6; }
7143if ${ac_cv_prog_LIPO+:} false; then :
7144  $as_echo_n "(cached) " >&6
7145else
7146  if test -n "$LIPO"; then
7147  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7148else
7149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150for as_dir in $PATH
7151do
7152  IFS=$as_save_IFS
7153  test -z "$as_dir" && as_dir=.
7154    for ac_exec_ext in '' $ac_executable_extensions; do
7155  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7156    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7157    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158    break 2
7159  fi
7160done
7161  done
7162IFS=$as_save_IFS
7163
7164fi
7165fi
7166LIPO=$ac_cv_prog_LIPO
7167if test -n "$LIPO"; then
7168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7169$as_echo "$LIPO" >&6; }
7170else
7171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172$as_echo "no" >&6; }
7173fi
7174
7175
7176fi
7177if test -z "$ac_cv_prog_LIPO"; then
7178  ac_ct_LIPO=$LIPO
7179  # Extract the first word of "lipo", so it can be a program name with args.
7180set dummy lipo; ac_word=$2
7181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7182$as_echo_n "checking for $ac_word... " >&6; }
7183if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7184  $as_echo_n "(cached) " >&6
7185else
7186  if test -n "$ac_ct_LIPO"; then
7187  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7188else
7189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190for as_dir in $PATH
7191do
7192  IFS=$as_save_IFS
7193  test -z "$as_dir" && as_dir=.
7194    for ac_exec_ext in '' $ac_executable_extensions; do
7195  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7196    ac_cv_prog_ac_ct_LIPO="lipo"
7197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198    break 2
7199  fi
7200done
7201  done
7202IFS=$as_save_IFS
7203
7204fi
7205fi
7206ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7207if test -n "$ac_ct_LIPO"; then
7208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7209$as_echo "$ac_ct_LIPO" >&6; }
7210else
7211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212$as_echo "no" >&6; }
7213fi
7214
7215  if test "x$ac_ct_LIPO" = x; then
7216    LIPO=":"
7217  else
7218    case $cross_compiling:$ac_tool_warned in
7219yes:)
7220{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7221$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7222ac_tool_warned=yes ;;
7223esac
7224    LIPO=$ac_ct_LIPO
7225  fi
7226else
7227  LIPO="$ac_cv_prog_LIPO"
7228fi
7229
7230    if test -n "$ac_tool_prefix"; then
7231  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7232set dummy ${ac_tool_prefix}otool; ac_word=$2
7233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234$as_echo_n "checking for $ac_word... " >&6; }
7235if ${ac_cv_prog_OTOOL+:} false; then :
7236  $as_echo_n "(cached) " >&6
7237else
7238  if test -n "$OTOOL"; then
7239  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7240else
7241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242for as_dir in $PATH
7243do
7244  IFS=$as_save_IFS
7245  test -z "$as_dir" && as_dir=.
7246    for ac_exec_ext in '' $ac_executable_extensions; do
7247  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250    break 2
7251  fi
7252done
7253  done
7254IFS=$as_save_IFS
7255
7256fi
7257fi
7258OTOOL=$ac_cv_prog_OTOOL
7259if test -n "$OTOOL"; then
7260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7261$as_echo "$OTOOL" >&6; }
7262else
7263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264$as_echo "no" >&6; }
7265fi
7266
7267
7268fi
7269if test -z "$ac_cv_prog_OTOOL"; then
7270  ac_ct_OTOOL=$OTOOL
7271  # Extract the first word of "otool", so it can be a program name with args.
7272set dummy otool; ac_word=$2
7273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274$as_echo_n "checking for $ac_word... " >&6; }
7275if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7276  $as_echo_n "(cached) " >&6
7277else
7278  if test -n "$ac_ct_OTOOL"; then
7279  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7280else
7281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282for as_dir in $PATH
7283do
7284  IFS=$as_save_IFS
7285  test -z "$as_dir" && as_dir=.
7286    for ac_exec_ext in '' $ac_executable_extensions; do
7287  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288    ac_cv_prog_ac_ct_OTOOL="otool"
7289    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290    break 2
7291  fi
7292done
7293  done
7294IFS=$as_save_IFS
7295
7296fi
7297fi
7298ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7299if test -n "$ac_ct_OTOOL"; then
7300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7301$as_echo "$ac_ct_OTOOL" >&6; }
7302else
7303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304$as_echo "no" >&6; }
7305fi
7306
7307  if test "x$ac_ct_OTOOL" = x; then
7308    OTOOL=":"
7309  else
7310    case $cross_compiling:$ac_tool_warned in
7311yes:)
7312{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314ac_tool_warned=yes ;;
7315esac
7316    OTOOL=$ac_ct_OTOOL
7317  fi
7318else
7319  OTOOL="$ac_cv_prog_OTOOL"
7320fi
7321
7322    if test -n "$ac_tool_prefix"; then
7323  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7324set dummy ${ac_tool_prefix}otool64; ac_word=$2
7325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326$as_echo_n "checking for $ac_word... " >&6; }
7327if ${ac_cv_prog_OTOOL64+:} false; then :
7328  $as_echo_n "(cached) " >&6
7329else
7330  if test -n "$OTOOL64"; then
7331  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7332else
7333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334for as_dir in $PATH
7335do
7336  IFS=$as_save_IFS
7337  test -z "$as_dir" && as_dir=.
7338    for ac_exec_ext in '' $ac_executable_extensions; do
7339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342    break 2
7343  fi
7344done
7345  done
7346IFS=$as_save_IFS
7347
7348fi
7349fi
7350OTOOL64=$ac_cv_prog_OTOOL64
7351if test -n "$OTOOL64"; then
7352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7353$as_echo "$OTOOL64" >&6; }
7354else
7355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356$as_echo "no" >&6; }
7357fi
7358
7359
7360fi
7361if test -z "$ac_cv_prog_OTOOL64"; then
7362  ac_ct_OTOOL64=$OTOOL64
7363  # Extract the first word of "otool64", so it can be a program name with args.
7364set dummy otool64; ac_word=$2
7365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366$as_echo_n "checking for $ac_word... " >&6; }
7367if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7368  $as_echo_n "(cached) " >&6
7369else
7370  if test -n "$ac_ct_OTOOL64"; then
7371  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7372else
7373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374for as_dir in $PATH
7375do
7376  IFS=$as_save_IFS
7377  test -z "$as_dir" && as_dir=.
7378    for ac_exec_ext in '' $ac_executable_extensions; do
7379  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380    ac_cv_prog_ac_ct_OTOOL64="otool64"
7381    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382    break 2
7383  fi
7384done
7385  done
7386IFS=$as_save_IFS
7387
7388fi
7389fi
7390ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7391if test -n "$ac_ct_OTOOL64"; then
7392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7393$as_echo "$ac_ct_OTOOL64" >&6; }
7394else
7395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396$as_echo "no" >&6; }
7397fi
7398
7399  if test "x$ac_ct_OTOOL64" = x; then
7400    OTOOL64=":"
7401  else
7402    case $cross_compiling:$ac_tool_warned in
7403yes:)
7404{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406ac_tool_warned=yes ;;
7407esac
7408    OTOOL64=$ac_ct_OTOOL64
7409  fi
7410else
7411  OTOOL64="$ac_cv_prog_OTOOL64"
7412fi
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7441$as_echo_n "checking for -single_module linker flag... " >&6; }
7442if ${lt_cv_apple_cc_single_mod+:} false; then :
7443  $as_echo_n "(cached) " >&6
7444else
7445  lt_cv_apple_cc_single_mod=no
7446      if test -z "$LT_MULTI_MODULE"; then
7447	# By default we will add the -single_module flag. You can override
7448	# by either setting the environment variable LT_MULTI_MODULE
7449	# non-empty at configure time, or by adding -multi_module to the
7450	# link flags.
7451	rm -rf libconftest.dylib*
7452	echo "int foo(void){return 1;}" > conftest.c
7453	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7454-dynamiclib -Wl,-single_module conftest.c" >&5
7455	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7456	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7457        _lt_result=$?
7458	# If there is a non-empty error log, and "single_module"
7459	# appears in it, assume the flag caused a linker warning
7460        if test -s conftest.err && $GREP single_module conftest.err; then
7461	  cat conftest.err >&5
7462	# Otherwise, if the output was created with a 0 exit code from
7463	# the compiler, it worked.
7464	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7465	  lt_cv_apple_cc_single_mod=yes
7466	else
7467	  cat conftest.err >&5
7468	fi
7469	rm -rf libconftest.dylib*
7470	rm -f conftest.*
7471      fi
7472fi
7473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7474$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7475
7476    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7477$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7478if ${lt_cv_ld_exported_symbols_list+:} false; then :
7479  $as_echo_n "(cached) " >&6
7480else
7481  lt_cv_ld_exported_symbols_list=no
7482      save_LDFLAGS=$LDFLAGS
7483      echo "_main" > conftest.sym
7484      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7485      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7486/* end confdefs.h.  */
7487
7488int
7489main ()
7490{
7491
7492  ;
7493  return 0;
7494}
7495_ACEOF
7496if ac_fn_c_try_link "$LINENO"; then :
7497  lt_cv_ld_exported_symbols_list=yes
7498else
7499  lt_cv_ld_exported_symbols_list=no
7500fi
7501rm -f core conftest.err conftest.$ac_objext \
7502    conftest$ac_exeext conftest.$ac_ext
7503	LDFLAGS=$save_LDFLAGS
7504
7505fi
7506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7507$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7508
7509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7510$as_echo_n "checking for -force_load linker flag... " >&6; }
7511if ${lt_cv_ld_force_load+:} false; then :
7512  $as_echo_n "(cached) " >&6
7513else
7514  lt_cv_ld_force_load=no
7515      cat > conftest.c << _LT_EOF
7516int forced_loaded() { return 2;}
7517_LT_EOF
7518      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7519      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7520      echo "$AR cr libconftest.a conftest.o" >&5
7521      $AR cr libconftest.a conftest.o 2>&5
7522      echo "$RANLIB libconftest.a" >&5
7523      $RANLIB libconftest.a 2>&5
7524      cat > conftest.c << _LT_EOF
7525int main() { return 0;}
7526_LT_EOF
7527      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7528      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7529      _lt_result=$?
7530      if test -s conftest.err && $GREP force_load conftest.err; then
7531	cat conftest.err >&5
7532      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7533	lt_cv_ld_force_load=yes
7534      else
7535	cat conftest.err >&5
7536      fi
7537        rm -f conftest.err libconftest.a conftest conftest.c
7538        rm -rf conftest.dSYM
7539
7540fi
7541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7542$as_echo "$lt_cv_ld_force_load" >&6; }
7543    case $host_os in
7544    rhapsody* | darwin1.[012])
7545      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7546    darwin1.*)
7547      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7548    darwin*) # darwin 5.x on
7549      # if running on 10.5 or later, the deployment target defaults
7550      # to the OS version, if on x86, and 10.4, the deployment
7551      # target defaults to 10.4. Don't you love it?
7552      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7553	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7554	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7555	10.[012][,.]*)
7556	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7557	10.*)
7558	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7559      esac
7560    ;;
7561  esac
7562    if test yes = "$lt_cv_apple_cc_single_mod"; then
7563      _lt_dar_single_mod='$single_module'
7564    fi
7565    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7566      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7567    else
7568      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7569    fi
7570    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7571      _lt_dsymutil='~$DSYMUTIL $lib || :'
7572    else
7573      _lt_dsymutil=
7574    fi
7575    ;;
7576  esac
7577
7578# func_munge_path_list VARIABLE PATH
7579# -----------------------------------
7580# VARIABLE is name of variable containing _space_ separated list of
7581# directories to be munged by the contents of PATH, which is string
7582# having a format:
7583# "DIR[:DIR]:"
7584#       string "DIR[ DIR]" will be prepended to VARIABLE
7585# ":DIR[:DIR]"
7586#       string "DIR[ DIR]" will be appended to VARIABLE
7587# "DIRP[:DIRP]::[DIRA:]DIRA"
7588#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7589#       "DIRA[ DIRA]" will be appended to VARIABLE
7590# "DIR[:DIR]"
7591#       VARIABLE will be replaced by "DIR[ DIR]"
7592func_munge_path_list ()
7593{
7594    case x$2 in
7595    x)
7596        ;;
7597    *:)
7598        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7599        ;;
7600    x:*)
7601        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7602        ;;
7603    *::*)
7604        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7605        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7606        ;;
7607    *)
7608        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7609        ;;
7610    esac
7611}
7612
7613ac_ext=c
7614ac_cpp='$CPP $CPPFLAGS'
7615ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7616ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7617ac_compiler_gnu=$ac_cv_c_compiler_gnu
7618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7619$as_echo_n "checking how to run the C preprocessor... " >&6; }
7620# On Suns, sometimes $CPP names a directory.
7621if test -n "$CPP" && test -d "$CPP"; then
7622  CPP=
7623fi
7624if test -z "$CPP"; then
7625  if ${ac_cv_prog_CPP+:} false; then :
7626  $as_echo_n "(cached) " >&6
7627else
7628      # Double quotes because CPP needs to be expanded
7629    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7630    do
7631      ac_preproc_ok=false
7632for ac_c_preproc_warn_flag in '' yes
7633do
7634  # Use a header file that comes with gcc, so configuring glibc
7635  # with a fresh cross-compiler works.
7636  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7637  # <limits.h> exists even on freestanding compilers.
7638  # On the NeXT, cc -E runs the code through the compiler's parser,
7639  # not just through cpp. "Syntax error" is here to catch this case.
7640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641/* end confdefs.h.  */
7642#ifdef __STDC__
7643# include <limits.h>
7644#else
7645# include <assert.h>
7646#endif
7647		     Syntax error
7648_ACEOF
7649if ac_fn_c_try_cpp "$LINENO"; then :
7650
7651else
7652  # Broken: fails on valid input.
7653continue
7654fi
7655rm -f conftest.err conftest.i conftest.$ac_ext
7656
7657  # OK, works on sane cases.  Now check whether nonexistent headers
7658  # can be detected and how.
7659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660/* end confdefs.h.  */
7661#include <ac_nonexistent.h>
7662_ACEOF
7663if ac_fn_c_try_cpp "$LINENO"; then :
7664  # Broken: success on invalid input.
7665continue
7666else
7667  # Passes both tests.
7668ac_preproc_ok=:
7669break
7670fi
7671rm -f conftest.err conftest.i conftest.$ac_ext
7672
7673done
7674# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7675rm -f conftest.i conftest.err conftest.$ac_ext
7676if $ac_preproc_ok; then :
7677  break
7678fi
7679
7680    done
7681    ac_cv_prog_CPP=$CPP
7682
7683fi
7684  CPP=$ac_cv_prog_CPP
7685else
7686  ac_cv_prog_CPP=$CPP
7687fi
7688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7689$as_echo "$CPP" >&6; }
7690ac_preproc_ok=false
7691for ac_c_preproc_warn_flag in '' yes
7692do
7693  # Use a header file that comes with gcc, so configuring glibc
7694  # with a fresh cross-compiler works.
7695  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7696  # <limits.h> exists even on freestanding compilers.
7697  # On the NeXT, cc -E runs the code through the compiler's parser,
7698  # not just through cpp. "Syntax error" is here to catch this case.
7699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700/* end confdefs.h.  */
7701#ifdef __STDC__
7702# include <limits.h>
7703#else
7704# include <assert.h>
7705#endif
7706		     Syntax error
7707_ACEOF
7708if ac_fn_c_try_cpp "$LINENO"; then :
7709
7710else
7711  # Broken: fails on valid input.
7712continue
7713fi
7714rm -f conftest.err conftest.i conftest.$ac_ext
7715
7716  # OK, works on sane cases.  Now check whether nonexistent headers
7717  # can be detected and how.
7718  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719/* end confdefs.h.  */
7720#include <ac_nonexistent.h>
7721_ACEOF
7722if ac_fn_c_try_cpp "$LINENO"; then :
7723  # Broken: success on invalid input.
7724continue
7725else
7726  # Passes both tests.
7727ac_preproc_ok=:
7728break
7729fi
7730rm -f conftest.err conftest.i conftest.$ac_ext
7731
7732done
7733# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7734rm -f conftest.i conftest.err conftest.$ac_ext
7735if $ac_preproc_ok; then :
7736
7737else
7738  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7739$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7740as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7741See \`config.log' for more details" "$LINENO" 5; }
7742fi
7743
7744ac_ext=c
7745ac_cpp='$CPP $CPPFLAGS'
7746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7748ac_compiler_gnu=$ac_cv_c_compiler_gnu
7749
7750
7751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7752$as_echo_n "checking for ANSI C header files... " >&6; }
7753if ${ac_cv_header_stdc+:} false; then :
7754  $as_echo_n "(cached) " >&6
7755else
7756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757/* end confdefs.h.  */
7758#include <stdlib.h>
7759#include <stdarg.h>
7760#include <string.h>
7761#include <float.h>
7762
7763int
7764main ()
7765{
7766
7767  ;
7768  return 0;
7769}
7770_ACEOF
7771if ac_fn_c_try_compile "$LINENO"; then :
7772  ac_cv_header_stdc=yes
7773else
7774  ac_cv_header_stdc=no
7775fi
7776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7777
7778if test $ac_cv_header_stdc = yes; then
7779  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781/* end confdefs.h.  */
7782#include <string.h>
7783
7784_ACEOF
7785if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7786  $EGREP "memchr" >/dev/null 2>&1; then :
7787
7788else
7789  ac_cv_header_stdc=no
7790fi
7791rm -f conftest*
7792
7793fi
7794
7795if test $ac_cv_header_stdc = yes; then
7796  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7798/* end confdefs.h.  */
7799#include <stdlib.h>
7800
7801_ACEOF
7802if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7803  $EGREP "free" >/dev/null 2>&1; then :
7804
7805else
7806  ac_cv_header_stdc=no
7807fi
7808rm -f conftest*
7809
7810fi
7811
7812if test $ac_cv_header_stdc = yes; then
7813  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7814  if test "$cross_compiling" = yes; then :
7815  :
7816else
7817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7818/* end confdefs.h.  */
7819#include <ctype.h>
7820#include <stdlib.h>
7821#if ((' ' & 0x0FF) == 0x020)
7822# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7823# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7824#else
7825# define ISLOWER(c) \
7826		   (('a' <= (c) && (c) <= 'i') \
7827		     || ('j' <= (c) && (c) <= 'r') \
7828		     || ('s' <= (c) && (c) <= 'z'))
7829# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7830#endif
7831
7832#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7833int
7834main ()
7835{
7836  int i;
7837  for (i = 0; i < 256; i++)
7838    if (XOR (islower (i), ISLOWER (i))
7839	|| toupper (i) != TOUPPER (i))
7840      return 2;
7841  return 0;
7842}
7843_ACEOF
7844if ac_fn_c_try_run "$LINENO"; then :
7845
7846else
7847  ac_cv_header_stdc=no
7848fi
7849rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7850  conftest.$ac_objext conftest.beam conftest.$ac_ext
7851fi
7852
7853fi
7854fi
7855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7856$as_echo "$ac_cv_header_stdc" >&6; }
7857if test $ac_cv_header_stdc = yes; then
7858
7859$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7860
7861fi
7862
7863# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7864for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7865		  inttypes.h stdint.h unistd.h
7866do :
7867  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7868ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7869"
7870if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7871  cat >>confdefs.h <<_ACEOF
7872#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7873_ACEOF
7874
7875fi
7876
7877done
7878
7879
7880for ac_header in dlfcn.h
7881do :
7882  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7883"
7884if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7885  cat >>confdefs.h <<_ACEOF
7886#define HAVE_DLFCN_H 1
7887_ACEOF
7888
7889fi
7890
7891done
7892
7893
7894
7895
7896
7897# Set options
7898# Check whether --enable-static was given.
7899if test "${enable_static+set}" = set; then :
7900  enableval=$enable_static; p=${PACKAGE-default}
7901    case $enableval in
7902    yes) enable_static=yes ;;
7903    no) enable_static=no ;;
7904    *)
7905     enable_static=no
7906      # Look at the argument we got.  We use all the common list separators.
7907      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7908      for pkg in $enableval; do
7909	IFS=$lt_save_ifs
7910	if test "X$pkg" = "X$p"; then
7911	  enable_static=yes
7912	fi
7913      done
7914      IFS=$lt_save_ifs
7915      ;;
7916    esac
7917else
7918  enable_static=no
7919fi
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930        enable_dlopen=no
7931
7932
7933  enable_win32_dll=no
7934
7935
7936            # Check whether --enable-shared was given.
7937if test "${enable_shared+set}" = set; then :
7938  enableval=$enable_shared; p=${PACKAGE-default}
7939    case $enableval in
7940    yes) enable_shared=yes ;;
7941    no) enable_shared=no ;;
7942    *)
7943      enable_shared=no
7944      # Look at the argument we got.  We use all the common list separators.
7945      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7946      for pkg in $enableval; do
7947	IFS=$lt_save_ifs
7948	if test "X$pkg" = "X$p"; then
7949	  enable_shared=yes
7950	fi
7951      done
7952      IFS=$lt_save_ifs
7953      ;;
7954    esac
7955else
7956  enable_shared=yes
7957fi
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969# Check whether --with-pic was given.
7970if test "${with_pic+set}" = set; then :
7971  withval=$with_pic; lt_p=${PACKAGE-default}
7972    case $withval in
7973    yes|no) pic_mode=$withval ;;
7974    *)
7975      pic_mode=default
7976      # Look at the argument we got.  We use all the common list separators.
7977      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7978      for lt_pkg in $withval; do
7979	IFS=$lt_save_ifs
7980	if test "X$lt_pkg" = "X$lt_p"; then
7981	  pic_mode=yes
7982	fi
7983      done
7984      IFS=$lt_save_ifs
7985      ;;
7986    esac
7987else
7988  pic_mode=default
7989fi
7990
7991
7992
7993
7994
7995
7996
7997
7998  # Check whether --enable-fast-install was given.
7999if test "${enable_fast_install+set}" = set; then :
8000  enableval=$enable_fast_install; p=${PACKAGE-default}
8001    case $enableval in
8002    yes) enable_fast_install=yes ;;
8003    no) enable_fast_install=no ;;
8004    *)
8005      enable_fast_install=no
8006      # Look at the argument we got.  We use all the common list separators.
8007      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8008      for pkg in $enableval; do
8009	IFS=$lt_save_ifs
8010	if test "X$pkg" = "X$p"; then
8011	  enable_fast_install=yes
8012	fi
8013      done
8014      IFS=$lt_save_ifs
8015      ;;
8016    esac
8017else
8018  enable_fast_install=yes
8019fi
8020
8021
8022
8023
8024
8025
8026
8027
8028  shared_archive_member_spec=
8029case $host,$enable_shared in
8030power*-*-aix[5-9]*,yes)
8031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8032$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8033
8034# Check whether --with-aix-soname was given.
8035if test "${with_aix_soname+set}" = set; then :
8036  withval=$with_aix_soname; case $withval in
8037    aix|svr4|both)
8038      ;;
8039    *)
8040      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8041      ;;
8042    esac
8043    lt_cv_with_aix_soname=$with_aix_soname
8044else
8045  if ${lt_cv_with_aix_soname+:} false; then :
8046  $as_echo_n "(cached) " >&6
8047else
8048  lt_cv_with_aix_soname=aix
8049fi
8050
8051    with_aix_soname=$lt_cv_with_aix_soname
8052fi
8053
8054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8055$as_echo "$with_aix_soname" >&6; }
8056  if test aix != "$with_aix_soname"; then
8057    # For the AIX way of multilib, we name the shared archive member
8058    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8059    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8060    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8061    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8062    if test 64 = "${OBJECT_MODE-32}"; then
8063      shared_archive_member_spec=shr_64
8064    else
8065      shared_archive_member_spec=shr
8066    fi
8067  fi
8068  ;;
8069*)
8070  with_aix_soname=aix
8071  ;;
8072esac
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083# This can be used to rebuild libtool when needed
8084LIBTOOL_DEPS=$ltmain
8085
8086# Always use our own libtool.
8087LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118test -z "$LN_S" && LN_S="ln -s"
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133if test -n "${ZSH_VERSION+set}"; then
8134   setopt NO_GLOB_SUBST
8135fi
8136
8137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8138$as_echo_n "checking for objdir... " >&6; }
8139if ${lt_cv_objdir+:} false; then :
8140  $as_echo_n "(cached) " >&6
8141else
8142  rm -f .libs 2>/dev/null
8143mkdir .libs 2>/dev/null
8144if test -d .libs; then
8145  lt_cv_objdir=.libs
8146else
8147  # MS-DOS does not allow filenames that begin with a dot.
8148  lt_cv_objdir=_libs
8149fi
8150rmdir .libs 2>/dev/null
8151fi
8152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8153$as_echo "$lt_cv_objdir" >&6; }
8154objdir=$lt_cv_objdir
8155
8156
8157
8158
8159
8160cat >>confdefs.h <<_ACEOF
8161#define LT_OBJDIR "$lt_cv_objdir/"
8162_ACEOF
8163
8164
8165
8166
8167case $host_os in
8168aix3*)
8169  # AIX sometimes has problems with the GCC collect2 program.  For some
8170  # reason, if we set the COLLECT_NAMES environment variable, the problems
8171  # vanish in a puff of smoke.
8172  if test set != "${COLLECT_NAMES+set}"; then
8173    COLLECT_NAMES=
8174    export COLLECT_NAMES
8175  fi
8176  ;;
8177esac
8178
8179# Global variables:
8180ofile=libtool
8181can_build_shared=yes
8182
8183# All known linkers require a '.a' archive for static linking (except MSVC,
8184# which needs '.lib').
8185libext=a
8186
8187with_gnu_ld=$lt_cv_prog_gnu_ld
8188
8189old_CC=$CC
8190old_CFLAGS=$CFLAGS
8191
8192# Set sane defaults for various variables
8193test -z "$CC" && CC=cc
8194test -z "$LTCC" && LTCC=$CC
8195test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8196test -z "$LD" && LD=ld
8197test -z "$ac_objext" && ac_objext=o
8198
8199func_cc_basename $compiler
8200cc_basename=$func_cc_basename_result
8201
8202
8203# Only perform the check for file, if the check method requires it
8204test -z "$MAGIC_CMD" && MAGIC_CMD=file
8205case $deplibs_check_method in
8206file_magic*)
8207  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8208    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8209$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8210if ${lt_cv_path_MAGIC_CMD+:} false; then :
8211  $as_echo_n "(cached) " >&6
8212else
8213  case $MAGIC_CMD in
8214[\\/*] |  ?:[\\/]*)
8215  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8216  ;;
8217*)
8218  lt_save_MAGIC_CMD=$MAGIC_CMD
8219  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8220  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8221  for ac_dir in $ac_dummy; do
8222    IFS=$lt_save_ifs
8223    test -z "$ac_dir" && ac_dir=.
8224    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8225      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8226      if test -n "$file_magic_test_file"; then
8227	case $deplibs_check_method in
8228	"file_magic "*)
8229	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8230	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8231	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8232	    $EGREP "$file_magic_regex" > /dev/null; then
8233	    :
8234	  else
8235	    cat <<_LT_EOF 1>&2
8236
8237*** Warning: the command libtool uses to detect shared libraries,
8238*** $file_magic_cmd, produces output that libtool cannot recognize.
8239*** The result is that libtool may fail to recognize shared libraries
8240*** as such.  This will affect the creation of libtool libraries that
8241*** depend on shared libraries, but programs linked with such libtool
8242*** libraries will work regardless of this problem.  Nevertheless, you
8243*** may want to report the problem to your system manager and/or to
8244*** bug-libtool@gnu.org
8245
8246_LT_EOF
8247	  fi ;;
8248	esac
8249      fi
8250      break
8251    fi
8252  done
8253  IFS=$lt_save_ifs
8254  MAGIC_CMD=$lt_save_MAGIC_CMD
8255  ;;
8256esac
8257fi
8258
8259MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8260if test -n "$MAGIC_CMD"; then
8261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8262$as_echo "$MAGIC_CMD" >&6; }
8263else
8264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265$as_echo "no" >&6; }
8266fi
8267
8268
8269
8270
8271
8272if test -z "$lt_cv_path_MAGIC_CMD"; then
8273  if test -n "$ac_tool_prefix"; then
8274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8275$as_echo_n "checking for file... " >&6; }
8276if ${lt_cv_path_MAGIC_CMD+:} false; then :
8277  $as_echo_n "(cached) " >&6
8278else
8279  case $MAGIC_CMD in
8280[\\/*] |  ?:[\\/]*)
8281  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8282  ;;
8283*)
8284  lt_save_MAGIC_CMD=$MAGIC_CMD
8285  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8286  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8287  for ac_dir in $ac_dummy; do
8288    IFS=$lt_save_ifs
8289    test -z "$ac_dir" && ac_dir=.
8290    if test -f "$ac_dir/file"; then
8291      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8292      if test -n "$file_magic_test_file"; then
8293	case $deplibs_check_method in
8294	"file_magic "*)
8295	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8296	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8297	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8298	    $EGREP "$file_magic_regex" > /dev/null; then
8299	    :
8300	  else
8301	    cat <<_LT_EOF 1>&2
8302
8303*** Warning: the command libtool uses to detect shared libraries,
8304*** $file_magic_cmd, produces output that libtool cannot recognize.
8305*** The result is that libtool may fail to recognize shared libraries
8306*** as such.  This will affect the creation of libtool libraries that
8307*** depend on shared libraries, but programs linked with such libtool
8308*** libraries will work regardless of this problem.  Nevertheless, you
8309*** may want to report the problem to your system manager and/or to
8310*** bug-libtool@gnu.org
8311
8312_LT_EOF
8313	  fi ;;
8314	esac
8315      fi
8316      break
8317    fi
8318  done
8319  IFS=$lt_save_ifs
8320  MAGIC_CMD=$lt_save_MAGIC_CMD
8321  ;;
8322esac
8323fi
8324
8325MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8326if test -n "$MAGIC_CMD"; then
8327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8328$as_echo "$MAGIC_CMD" >&6; }
8329else
8330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331$as_echo "no" >&6; }
8332fi
8333
8334
8335  else
8336    MAGIC_CMD=:
8337  fi
8338fi
8339
8340  fi
8341  ;;
8342esac
8343
8344# Use C for the default configuration in the libtool script
8345
8346lt_save_CC=$CC
8347ac_ext=c
8348ac_cpp='$CPP $CPPFLAGS'
8349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8351ac_compiler_gnu=$ac_cv_c_compiler_gnu
8352
8353
8354# Source file extension for C test sources.
8355ac_ext=c
8356
8357# Object file extension for compiled C test sources.
8358objext=o
8359objext=$objext
8360
8361# Code to be used in simple compile tests
8362lt_simple_compile_test_code="int some_variable = 0;"
8363
8364# Code to be used in simple link tests
8365lt_simple_link_test_code='int main(){return(0);}'
8366
8367
8368
8369
8370
8371
8372
8373# If no C compiler was specified, use CC.
8374LTCC=${LTCC-"$CC"}
8375
8376# If no C compiler flags were specified, use CFLAGS.
8377LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8378
8379# Allow CC to be a program name with arguments.
8380compiler=$CC
8381
8382# Save the default compiler, since it gets overwritten when the other
8383# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8384compiler_DEFAULT=$CC
8385
8386# save warnings/boilerplate of simple test code
8387ac_outfile=conftest.$ac_objext
8388echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8389eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8390_lt_compiler_boilerplate=`cat conftest.err`
8391$RM conftest*
8392
8393ac_outfile=conftest.$ac_objext
8394echo "$lt_simple_link_test_code" >conftest.$ac_ext
8395eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8396_lt_linker_boilerplate=`cat conftest.err`
8397$RM -r conftest*
8398
8399
8400if test -n "$compiler"; then
8401
8402lt_prog_compiler_no_builtin_flag=
8403
8404if test yes = "$GCC"; then
8405  case $cc_basename in
8406  nvcc*)
8407    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8408  *)
8409    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8410  esac
8411
8412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8413$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8414if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8415  $as_echo_n "(cached) " >&6
8416else
8417  lt_cv_prog_compiler_rtti_exceptions=no
8418   ac_outfile=conftest.$ac_objext
8419   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8420   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8421   # Insert the option either (1) after the last *FLAGS variable, or
8422   # (2) before a word containing "conftest.", or (3) at the end.
8423   # Note that $ac_compile itself does not contain backslashes and begins
8424   # with a dollar sign (not a hyphen), so the echo should work correctly.
8425   # The option is referenced via a variable to avoid confusing sed.
8426   lt_compile=`echo "$ac_compile" | $SED \
8427   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8428   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8429   -e 's:$: $lt_compiler_flag:'`
8430   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8431   (eval "$lt_compile" 2>conftest.err)
8432   ac_status=$?
8433   cat conftest.err >&5
8434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435   if (exit $ac_status) && test -s "$ac_outfile"; then
8436     # The compiler can only warn and ignore the option if not recognized
8437     # So say no if there are warnings other than the usual output.
8438     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8439     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8440     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8441       lt_cv_prog_compiler_rtti_exceptions=yes
8442     fi
8443   fi
8444   $RM conftest*
8445
8446fi
8447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8448$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8449
8450if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8451    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8452else
8453    :
8454fi
8455
8456fi
8457
8458
8459
8460
8461
8462
8463  lt_prog_compiler_wl=
8464lt_prog_compiler_pic=
8465lt_prog_compiler_static=
8466
8467
8468  if test yes = "$GCC"; then
8469    lt_prog_compiler_wl='-Wl,'
8470    lt_prog_compiler_static='-static'
8471
8472    case $host_os in
8473      aix*)
8474      # All AIX code is PIC.
8475      if test ia64 = "$host_cpu"; then
8476	# AIX 5 now supports IA64 processor
8477	lt_prog_compiler_static='-Bstatic'
8478      fi
8479      lt_prog_compiler_pic='-fPIC'
8480      ;;
8481
8482    amigaos*)
8483      case $host_cpu in
8484      powerpc)
8485            # see comment about AmigaOS4 .so support
8486            lt_prog_compiler_pic='-fPIC'
8487        ;;
8488      m68k)
8489            # FIXME: we need at least 68020 code to build shared libraries, but
8490            # adding the '-m68020' flag to GCC prevents building anything better,
8491            # like '-m68040'.
8492            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8493        ;;
8494      esac
8495      ;;
8496
8497    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8498      # PIC is the default for these OSes.
8499      ;;
8500
8501    mingw* | cygwin* | pw32* | os2* | cegcc*)
8502      # This hack is so that the source file can tell whether it is being
8503      # built for inclusion in a dll (and should export symbols for example).
8504      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8505      # (--disable-auto-import) libraries
8506      lt_prog_compiler_pic='-DDLL_EXPORT'
8507      case $host_os in
8508      os2*)
8509	lt_prog_compiler_static='$wl-static'
8510	;;
8511      esac
8512      ;;
8513
8514    darwin* | rhapsody*)
8515      # PIC is the default on this platform
8516      # Common symbols not allowed in MH_DYLIB files
8517      lt_prog_compiler_pic='-fno-common'
8518      ;;
8519
8520    haiku*)
8521      # PIC is the default for Haiku.
8522      # The "-static" flag exists, but is broken.
8523      lt_prog_compiler_static=
8524      ;;
8525
8526    hpux*)
8527      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8528      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8529      # sets the default TLS model and affects inlining.
8530      case $host_cpu in
8531      hppa*64*)
8532	# +Z the default
8533	;;
8534      *)
8535	lt_prog_compiler_pic='-fPIC'
8536	;;
8537      esac
8538      ;;
8539
8540    interix[3-9]*)
8541      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8542      # Instead, we relocate shared libraries at runtime.
8543      ;;
8544
8545    msdosdjgpp*)
8546      # Just because we use GCC doesn't mean we suddenly get shared libraries
8547      # on systems that don't support them.
8548      lt_prog_compiler_can_build_shared=no
8549      enable_shared=no
8550      ;;
8551
8552    *nto* | *qnx*)
8553      # QNX uses GNU C++, but need to define -shared option too, otherwise
8554      # it will coredump.
8555      lt_prog_compiler_pic='-fPIC -shared'
8556      ;;
8557
8558    sysv4*MP*)
8559      if test -d /usr/nec; then
8560	lt_prog_compiler_pic=-Kconform_pic
8561      fi
8562      ;;
8563
8564    *)
8565      lt_prog_compiler_pic='-fPIC'
8566      ;;
8567    esac
8568
8569    case $cc_basename in
8570    nvcc*) # Cuda Compiler Driver 2.2
8571      lt_prog_compiler_wl='-Xlinker '
8572      if test -n "$lt_prog_compiler_pic"; then
8573        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8574      fi
8575      ;;
8576    esac
8577  else
8578    # PORTME Check for flag to pass linker flags through the system compiler.
8579    case $host_os in
8580    aix*)
8581      lt_prog_compiler_wl='-Wl,'
8582      if test ia64 = "$host_cpu"; then
8583	# AIX 5 now supports IA64 processor
8584	lt_prog_compiler_static='-Bstatic'
8585      else
8586	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8587      fi
8588      ;;
8589
8590    darwin* | rhapsody*)
8591      # PIC is the default on this platform
8592      # Common symbols not allowed in MH_DYLIB files
8593      lt_prog_compiler_pic='-fno-common'
8594      case $cc_basename in
8595      nagfor*)
8596        # NAG Fortran compiler
8597        lt_prog_compiler_wl='-Wl,-Wl,,'
8598        lt_prog_compiler_pic='-PIC'
8599        lt_prog_compiler_static='-Bstatic'
8600        ;;
8601      esac
8602      ;;
8603
8604    mingw* | cygwin* | pw32* | os2* | cegcc*)
8605      # This hack is so that the source file can tell whether it is being
8606      # built for inclusion in a dll (and should export symbols for example).
8607      lt_prog_compiler_pic='-DDLL_EXPORT'
8608      case $host_os in
8609      os2*)
8610	lt_prog_compiler_static='$wl-static'
8611	;;
8612      esac
8613      ;;
8614
8615    hpux9* | hpux10* | hpux11*)
8616      lt_prog_compiler_wl='-Wl,'
8617      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8618      # not for PA HP-UX.
8619      case $host_cpu in
8620      hppa*64*|ia64*)
8621	# +Z the default
8622	;;
8623      *)
8624	lt_prog_compiler_pic='+Z'
8625	;;
8626      esac
8627      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8628      lt_prog_compiler_static='$wl-a ${wl}archive'
8629      ;;
8630
8631    irix5* | irix6* | nonstopux*)
8632      lt_prog_compiler_wl='-Wl,'
8633      # PIC (with -KPIC) is the default.
8634      lt_prog_compiler_static='-non_shared'
8635      ;;
8636
8637    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8638      case $cc_basename in
8639      # old Intel for x86_64, which still supported -KPIC.
8640      ecc*)
8641	lt_prog_compiler_wl='-Wl,'
8642	lt_prog_compiler_pic='-KPIC'
8643	lt_prog_compiler_static='-static'
8644        ;;
8645      # flang / f18. f95 an alias for gfortran or flang on Debian
8646      flang* | f18* | f95*)
8647	lt_prog_compiler_wl='-Wl,'
8648	lt_prog_compiler_pic='-fPIC'
8649	lt_prog_compiler_static='-static'
8650        ;;
8651      # icc used to be incompatible with GCC.
8652      # ICC 10 doesn't accept -KPIC any more.
8653      icc* | ifort*)
8654	lt_prog_compiler_wl='-Wl,'
8655	lt_prog_compiler_pic='-fPIC'
8656	lt_prog_compiler_static='-static'
8657        ;;
8658      # Lahey Fortran 8.1.
8659      lf95*)
8660	lt_prog_compiler_wl='-Wl,'
8661	lt_prog_compiler_pic='--shared'
8662	lt_prog_compiler_static='--static'
8663	;;
8664      nagfor*)
8665	# NAG Fortran compiler
8666	lt_prog_compiler_wl='-Wl,-Wl,,'
8667	lt_prog_compiler_pic='-PIC'
8668	lt_prog_compiler_static='-Bstatic'
8669	;;
8670      tcc*)
8671	# Fabrice Bellard et al's Tiny C Compiler
8672	lt_prog_compiler_wl='-Wl,'
8673	lt_prog_compiler_pic='-fPIC'
8674	lt_prog_compiler_static='-static'
8675	;;
8676      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8677        # Portland Group compilers (*not* the Pentium gcc compiler,
8678	# which looks to be a dead project)
8679	lt_prog_compiler_wl='-Wl,'
8680	lt_prog_compiler_pic='-fpic'
8681	lt_prog_compiler_static='-Bstatic'
8682        ;;
8683      ccc*)
8684        lt_prog_compiler_wl='-Wl,'
8685        # All Alpha code is PIC.
8686        lt_prog_compiler_static='-non_shared'
8687        ;;
8688      xl* | bgxl* | bgf* | mpixl*)
8689	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8690	lt_prog_compiler_wl='-Wl,'
8691	lt_prog_compiler_pic='-qpic'
8692	lt_prog_compiler_static='-qstaticlink'
8693	;;
8694      *)
8695	case `$CC -V 2>&1 | sed 5q` in
8696	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8697	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8698	  lt_prog_compiler_pic='-KPIC'
8699	  lt_prog_compiler_static='-Bstatic'
8700	  lt_prog_compiler_wl=''
8701	  ;;
8702	*Sun\ F* | *Sun*Fortran*)
8703	  lt_prog_compiler_pic='-KPIC'
8704	  lt_prog_compiler_static='-Bstatic'
8705	  lt_prog_compiler_wl='-Qoption ld '
8706	  ;;
8707	*Sun\ C*)
8708	  # Sun C 5.9
8709	  lt_prog_compiler_pic='-KPIC'
8710	  lt_prog_compiler_static='-Bstatic'
8711	  lt_prog_compiler_wl='-Wl,'
8712	  ;;
8713        *Intel*\ [CF]*Compiler*)
8714	  lt_prog_compiler_wl='-Wl,'
8715	  lt_prog_compiler_pic='-fPIC'
8716	  lt_prog_compiler_static='-static'
8717	  ;;
8718	*Portland\ Group*)
8719	  lt_prog_compiler_wl='-Wl,'
8720	  lt_prog_compiler_pic='-fpic'
8721	  lt_prog_compiler_static='-Bstatic'
8722	  ;;
8723	esac
8724	;;
8725      esac
8726      ;;
8727
8728    newsos6)
8729      lt_prog_compiler_pic='-KPIC'
8730      lt_prog_compiler_static='-Bstatic'
8731      ;;
8732
8733    *nto* | *qnx*)
8734      # QNX uses GNU C++, but need to define -shared option too, otherwise
8735      # it will coredump.
8736      lt_prog_compiler_pic='-fPIC -shared'
8737      ;;
8738
8739    osf3* | osf4* | osf5*)
8740      lt_prog_compiler_wl='-Wl,'
8741      # All OSF/1 code is PIC.
8742      lt_prog_compiler_static='-non_shared'
8743      ;;
8744
8745    rdos*)
8746      lt_prog_compiler_static='-non_shared'
8747      ;;
8748
8749    solaris*)
8750      lt_prog_compiler_pic='-KPIC'
8751      lt_prog_compiler_static='-Bstatic'
8752      case $cc_basename in
8753      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8754	lt_prog_compiler_wl='-Qoption ld ';;
8755      *)
8756	lt_prog_compiler_wl='-Wl,';;
8757      esac
8758      ;;
8759
8760    sunos4*)
8761      lt_prog_compiler_wl='-Qoption ld '
8762      lt_prog_compiler_pic='-PIC'
8763      lt_prog_compiler_static='-Bstatic'
8764      ;;
8765
8766    sysv4 | sysv4.2uw2* | sysv4.3*)
8767      lt_prog_compiler_wl='-Wl,'
8768      lt_prog_compiler_pic='-KPIC'
8769      lt_prog_compiler_static='-Bstatic'
8770      ;;
8771
8772    sysv4*MP*)
8773      if test -d /usr/nec; then
8774	lt_prog_compiler_pic='-Kconform_pic'
8775	lt_prog_compiler_static='-Bstatic'
8776      fi
8777      ;;
8778
8779    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8780      lt_prog_compiler_wl='-Wl,'
8781      lt_prog_compiler_pic='-KPIC'
8782      lt_prog_compiler_static='-Bstatic'
8783      ;;
8784
8785    unicos*)
8786      lt_prog_compiler_wl='-Wl,'
8787      lt_prog_compiler_can_build_shared=no
8788      ;;
8789
8790    uts4*)
8791      lt_prog_compiler_pic='-pic'
8792      lt_prog_compiler_static='-Bstatic'
8793      ;;
8794
8795    *)
8796      lt_prog_compiler_can_build_shared=no
8797      ;;
8798    esac
8799  fi
8800
8801case $host_os in
8802  # For platforms that do not support PIC, -DPIC is meaningless:
8803  *djgpp*)
8804    lt_prog_compiler_pic=
8805    ;;
8806  *)
8807    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8808    ;;
8809esac
8810
8811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8812$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8813if ${lt_cv_prog_compiler_pic+:} false; then :
8814  $as_echo_n "(cached) " >&6
8815else
8816  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8817fi
8818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8819$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8820lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8821
8822#
8823# Check to make sure the PIC flag actually works.
8824#
8825if test -n "$lt_prog_compiler_pic"; then
8826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828if ${lt_cv_prog_compiler_pic_works+:} false; then :
8829  $as_echo_n "(cached) " >&6
8830else
8831  lt_cv_prog_compiler_pic_works=no
8832   ac_outfile=conftest.$ac_objext
8833   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8835   # Insert the option either (1) after the last *FLAGS variable, or
8836   # (2) before a word containing "conftest.", or (3) at the end.
8837   # Note that $ac_compile itself does not contain backslashes and begins
8838   # with a dollar sign (not a hyphen), so the echo should work correctly.
8839   # The option is referenced via a variable to avoid confusing sed.
8840   lt_compile=`echo "$ac_compile" | $SED \
8841   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843   -e 's:$: $lt_compiler_flag:'`
8844   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845   (eval "$lt_compile" 2>conftest.err)
8846   ac_status=$?
8847   cat conftest.err >&5
8848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849   if (exit $ac_status) && test -s "$ac_outfile"; then
8850     # The compiler can only warn and ignore the option if not recognized
8851     # So say no if there are warnings other than the usual output.
8852     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855       lt_cv_prog_compiler_pic_works=yes
8856     fi
8857   fi
8858   $RM conftest*
8859
8860fi
8861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864if test yes = "$lt_cv_prog_compiler_pic_works"; then
8865    case $lt_prog_compiler_pic in
8866     "" | " "*) ;;
8867     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868     esac
8869else
8870    lt_prog_compiler_pic=
8871     lt_prog_compiler_can_build_shared=no
8872fi
8873
8874fi
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886#
8887# Check to make sure the static flag actually works.
8888#
8889wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8891$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8892if ${lt_cv_prog_compiler_static_works+:} false; then :
8893  $as_echo_n "(cached) " >&6
8894else
8895  lt_cv_prog_compiler_static_works=no
8896   save_LDFLAGS=$LDFLAGS
8897   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8898   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8899   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8900     # The linker can only warn and ignore the option if not recognized
8901     # So say no if there are warnings
8902     if test -s conftest.err; then
8903       # Append any errors to the config.log.
8904       cat conftest.err 1>&5
8905       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8906       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8907       if diff conftest.exp conftest.er2 >/dev/null; then
8908         lt_cv_prog_compiler_static_works=yes
8909       fi
8910     else
8911       lt_cv_prog_compiler_static_works=yes
8912     fi
8913   fi
8914   $RM -r conftest*
8915   LDFLAGS=$save_LDFLAGS
8916
8917fi
8918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8919$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8920
8921if test yes = "$lt_cv_prog_compiler_static_works"; then
8922    :
8923else
8924    lt_prog_compiler_static=
8925fi
8926
8927
8928
8929
8930
8931
8932
8933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8934$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8935if ${lt_cv_prog_compiler_c_o+:} false; then :
8936  $as_echo_n "(cached) " >&6
8937else
8938  lt_cv_prog_compiler_c_o=no
8939   $RM -r conftest 2>/dev/null
8940   mkdir conftest
8941   cd conftest
8942   mkdir out
8943   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8944
8945   lt_compiler_flag="-o out/conftest2.$ac_objext"
8946   # Insert the option either (1) after the last *FLAGS variable, or
8947   # (2) before a word containing "conftest.", or (3) at the end.
8948   # Note that $ac_compile itself does not contain backslashes and begins
8949   # with a dollar sign (not a hyphen), so the echo should work correctly.
8950   lt_compile=`echo "$ac_compile" | $SED \
8951   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8952   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8953   -e 's:$: $lt_compiler_flag:'`
8954   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8955   (eval "$lt_compile" 2>out/conftest.err)
8956   ac_status=$?
8957   cat out/conftest.err >&5
8958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8960   then
8961     # The compiler can only warn and ignore the option if not recognized
8962     # So say no if there are warnings
8963     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8964     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8965     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8966       lt_cv_prog_compiler_c_o=yes
8967     fi
8968   fi
8969   chmod u+w . 2>&5
8970   $RM conftest*
8971   # SGI C++ compiler will create directory out/ii_files/ for
8972   # template instantiation
8973   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8974   $RM out/* && rmdir out
8975   cd ..
8976   $RM -r conftest
8977   $RM conftest*
8978
8979fi
8980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8981$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8982
8983
8984
8985
8986
8987
8988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8989$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8990if ${lt_cv_prog_compiler_c_o+:} false; then :
8991  $as_echo_n "(cached) " >&6
8992else
8993  lt_cv_prog_compiler_c_o=no
8994   $RM -r conftest 2>/dev/null
8995   mkdir conftest
8996   cd conftest
8997   mkdir out
8998   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8999
9000   lt_compiler_flag="-o out/conftest2.$ac_objext"
9001   # Insert the option either (1) after the last *FLAGS variable, or
9002   # (2) before a word containing "conftest.", or (3) at the end.
9003   # Note that $ac_compile itself does not contain backslashes and begins
9004   # with a dollar sign (not a hyphen), so the echo should work correctly.
9005   lt_compile=`echo "$ac_compile" | $SED \
9006   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9007   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9008   -e 's:$: $lt_compiler_flag:'`
9009   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9010   (eval "$lt_compile" 2>out/conftest.err)
9011   ac_status=$?
9012   cat out/conftest.err >&5
9013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9015   then
9016     # The compiler can only warn and ignore the option if not recognized
9017     # So say no if there are warnings
9018     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9019     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9020     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9021       lt_cv_prog_compiler_c_o=yes
9022     fi
9023   fi
9024   chmod u+w . 2>&5
9025   $RM conftest*
9026   # SGI C++ compiler will create directory out/ii_files/ for
9027   # template instantiation
9028   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9029   $RM out/* && rmdir out
9030   cd ..
9031   $RM -r conftest
9032   $RM conftest*
9033
9034fi
9035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9036$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9037
9038
9039
9040
9041hard_links=nottested
9042if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9043  # do not overwrite the value of need_locks provided by the user
9044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9045$as_echo_n "checking if we can lock with hard links... " >&6; }
9046  hard_links=yes
9047  $RM conftest*
9048  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9049  touch conftest.a
9050  ln conftest.a conftest.b 2>&5 || hard_links=no
9051  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9053$as_echo "$hard_links" >&6; }
9054  if test no = "$hard_links"; then
9055    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9056$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9057    need_locks=warn
9058  fi
9059else
9060  need_locks=no
9061fi
9062
9063
9064
9065
9066
9067
9068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9069$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9070
9071  runpath_var=
9072  allow_undefined_flag=
9073  always_export_symbols=no
9074  archive_cmds=
9075  archive_expsym_cmds=
9076  compiler_needs_object=no
9077  enable_shared_with_static_runtimes=no
9078  export_dynamic_flag_spec=
9079  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9080  hardcode_automatic=no
9081  hardcode_direct=no
9082  hardcode_direct_absolute=no
9083  hardcode_libdir_flag_spec=
9084  hardcode_libdir_separator=
9085  hardcode_minus_L=no
9086  hardcode_shlibpath_var=unsupported
9087  inherit_rpath=no
9088  link_all_deplibs=unknown
9089  module_cmds=
9090  module_expsym_cmds=
9091  old_archive_from_new_cmds=
9092  old_archive_from_expsyms_cmds=
9093  thread_safe_flag_spec=
9094  whole_archive_flag_spec=
9095  # include_expsyms should be a list of space-separated symbols to be *always*
9096  # included in the symbol list
9097  include_expsyms=
9098  # exclude_expsyms can be an extended regexp of symbols to exclude
9099  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9100  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9101  # as well as any symbol that contains 'd'.
9102  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9103  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9104  # platforms (ab)use it in PIC code, but their linkers get confused if
9105  # the symbol is explicitly referenced.  Since portable code cannot
9106  # rely on this symbol name, it's probably fine to never include it in
9107  # preloaded symbol tables.
9108  # Exclude shared library initialization/finalization symbols.
9109  extract_expsyms_cmds=
9110
9111  case $host_os in
9112  cygwin* | mingw* | pw32* | cegcc*)
9113    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9114    # When not using gcc, we currently assume that we are using
9115    # Microsoft Visual C++.
9116    if test yes != "$GCC"; then
9117      with_gnu_ld=no
9118    fi
9119    ;;
9120  interix*)
9121    # we just hope/assume this is gcc and not c89 (= MSVC++)
9122    with_gnu_ld=yes
9123    ;;
9124  openbsd* | bitrig*)
9125    with_gnu_ld=no
9126    ;;
9127  linux* | k*bsd*-gnu | gnu*)
9128    link_all_deplibs=no
9129    ;;
9130  esac
9131
9132  ld_shlibs=yes
9133
9134  # On some targets, GNU ld is compatible enough with the native linker
9135  # that we're better off using the native interface for both.
9136  lt_use_gnu_ld_interface=no
9137  if test yes = "$with_gnu_ld"; then
9138    case $host_os in
9139      aix*)
9140	# The AIX port of GNU ld has always aspired to compatibility
9141	# with the native linker.  However, as the warning in the GNU ld
9142	# block says, versions before 2.19.5* couldn't really create working
9143	# shared libraries, regardless of the interface used.
9144	case `$LD -v 2>&1` in
9145	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9146	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9147	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9148	  *)
9149	    lt_use_gnu_ld_interface=yes
9150	    ;;
9151	esac
9152	;;
9153      *)
9154	lt_use_gnu_ld_interface=yes
9155	;;
9156    esac
9157  fi
9158
9159  if test yes = "$lt_use_gnu_ld_interface"; then
9160    # If archive_cmds runs LD, not CC, wlarc should be empty
9161    wlarc='$wl'
9162
9163    # Set some defaults for GNU ld with shared library support. These
9164    # are reset later if shared libraries are not supported. Putting them
9165    # here allows them to be overridden if necessary.
9166    runpath_var=LD_RUN_PATH
9167    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9168    export_dynamic_flag_spec='$wl--export-dynamic'
9169    # ancient GNU ld didn't support --whole-archive et. al.
9170    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9171      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9172    else
9173      whole_archive_flag_spec=
9174    fi
9175    supports_anon_versioning=no
9176    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9177      *GNU\ gold*) supports_anon_versioning=yes ;;
9178      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9179      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9180      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9181      *\ 2.11.*) ;; # other 2.11 versions
9182      *) supports_anon_versioning=yes ;;
9183    esac
9184
9185    # See if GNU ld supports shared libraries.
9186    case $host_os in
9187    aix[3-9]*)
9188      # On AIX/PPC, the GNU linker is very broken
9189      if test ia64 != "$host_cpu"; then
9190	ld_shlibs=no
9191	cat <<_LT_EOF 1>&2
9192
9193*** Warning: the GNU linker, at least up to release 2.19, is reported
9194*** to be unable to reliably create shared libraries on AIX.
9195*** Therefore, libtool is disabling shared libraries support.  If you
9196*** really care for shared libraries, you may want to install binutils
9197*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9198*** You will then need to restart the configuration process.
9199
9200_LT_EOF
9201      fi
9202      ;;
9203
9204    amigaos*)
9205      case $host_cpu in
9206      powerpc)
9207            # see comment about AmigaOS4 .so support
9208            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9209            archive_expsym_cmds=''
9210        ;;
9211      m68k)
9212            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)'
9213            hardcode_libdir_flag_spec='-L$libdir'
9214            hardcode_minus_L=yes
9215        ;;
9216      esac
9217      ;;
9218
9219    beos*)
9220      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9221	allow_undefined_flag=unsupported
9222	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9223	# support --undefined.  This deserves some investigation.  FIXME
9224	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9225      else
9226	ld_shlibs=no
9227      fi
9228      ;;
9229
9230    cygwin* | mingw* | pw32* | cegcc*)
9231      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9232      # as there is no search path for DLLs.
9233      hardcode_libdir_flag_spec='-L$libdir'
9234      export_dynamic_flag_spec='$wl--export-all-symbols'
9235      allow_undefined_flag=unsupported
9236      always_export_symbols=no
9237      enable_shared_with_static_runtimes=yes
9238      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'
9239      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9240
9241      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9242        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9243	# If the export-symbols file already is a .def file, use it as
9244	# is; otherwise, prepend EXPORTS...
9245	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9246          cp $export_symbols $output_objdir/$soname.def;
9247        else
9248          echo EXPORTS > $output_objdir/$soname.def;
9249          cat $export_symbols >> $output_objdir/$soname.def;
9250        fi~
9251        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9252      else
9253	ld_shlibs=no
9254      fi
9255      ;;
9256
9257    haiku*)
9258      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9259      link_all_deplibs=yes
9260      ;;
9261
9262    os2*)
9263      hardcode_libdir_flag_spec='-L$libdir'
9264      hardcode_minus_L=yes
9265      allow_undefined_flag=unsupported
9266      shrext_cmds=.dll
9267      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9268	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9269	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9270	$ECHO EXPORTS >> $output_objdir/$libname.def~
9271	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9272	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9273	emximp -o $lib $output_objdir/$libname.def'
9274      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9275	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9276	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9277	$ECHO EXPORTS >> $output_objdir/$libname.def~
9278	prefix_cmds="$SED"~
9279	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9280	  prefix_cmds="$prefix_cmds -e 1d";
9281	fi~
9282	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9283	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9284	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9285	emximp -o $lib $output_objdir/$libname.def'
9286      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9287      enable_shared_with_static_runtimes=yes
9288      ;;
9289
9290    interix[3-9]*)
9291      hardcode_direct=no
9292      hardcode_shlibpath_var=no
9293      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9294      export_dynamic_flag_spec='$wl-E'
9295      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9296      # Instead, shared libraries are loaded at an image base (0x10000000 by
9297      # default) and relocated if they conflict, which is a slow very memory
9298      # consuming and fragmenting process.  To avoid this, we pick a random,
9299      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9300      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9301      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9302      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'
9303      ;;
9304
9305    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9306      tmp_diet=no
9307      if test linux-dietlibc = "$host_os"; then
9308	case $cc_basename in
9309	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9310	esac
9311      fi
9312      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9313	 && test no = "$tmp_diet"
9314      then
9315	tmp_addflag=' $pic_flag'
9316	tmp_sharedflag='-shared'
9317	case $cc_basename,$host_cpu in
9318        pgcc*)				# Portland Group C compiler
9319	  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'
9320	  tmp_addflag=' $pic_flag'
9321	  ;;
9322	pgf77* | pgf90* | pgf95* | pgfortran*)
9323					# Portland Group f77 and f90 compilers
9324	  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'
9325	  tmp_addflag=' $pic_flag -Mnomain' ;;
9326	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9327	  tmp_addflag=' -i_dynamic' ;;
9328	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9329	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9330	ifc* | ifort*)			# Intel Fortran compiler
9331	  tmp_addflag=' -nofor_main' ;;
9332	lf95*)				# Lahey Fortran 8.1
9333	  whole_archive_flag_spec=
9334	  tmp_sharedflag='--shared' ;;
9335        nagfor*)                        # NAGFOR 5.3
9336          tmp_sharedflag='-Wl,-shared' ;;
9337	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9338	  tmp_sharedflag='-qmkshrobj'
9339	  tmp_addflag= ;;
9340	nvcc*)	# Cuda Compiler Driver 2.2
9341	  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'
9342	  compiler_needs_object=yes
9343	  ;;
9344	esac
9345	case `$CC -V 2>&1 | sed 5q` in
9346	*Sun\ C*)			# Sun C 5.9
9347	  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'
9348	  compiler_needs_object=yes
9349	  tmp_sharedflag='-G' ;;
9350	*Sun\ F*)			# Sun Fortran 8.3
9351	  tmp_sharedflag='-G' ;;
9352	esac
9353	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9354
9355        if test yes = "$supports_anon_versioning"; then
9356          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9357            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9358            echo "local: *; };" >> $output_objdir/$libname.ver~
9359            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9360        fi
9361
9362	case $cc_basename in
9363	tcc*)
9364	  export_dynamic_flag_spec='-rdynamic'
9365	  ;;
9366	xlf* | bgf* | bgxlf* | mpixlf*)
9367	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9368	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9369	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9370	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9371	  if test yes = "$supports_anon_versioning"; then
9372	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9373              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9374              echo "local: *; };" >> $output_objdir/$libname.ver~
9375              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9376	  fi
9377	  ;;
9378	esac
9379      else
9380        ld_shlibs=no
9381      fi
9382      ;;
9383
9384    netbsd* | netbsdelf*-gnu)
9385      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9386	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9387	wlarc=
9388      else
9389	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9390	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9391      fi
9392      ;;
9393
9394    solaris*)
9395      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9396	ld_shlibs=no
9397	cat <<_LT_EOF 1>&2
9398
9399*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9400*** create shared libraries on Solaris systems.  Therefore, libtool
9401*** is disabling shared libraries support.  We urge you to upgrade GNU
9402*** binutils to release 2.9.1 or newer.  Another option is to modify
9403*** your PATH or compiler configuration so that the native linker is
9404*** used, and then restart.
9405
9406_LT_EOF
9407      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9408	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9409	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9410      else
9411	ld_shlibs=no
9412      fi
9413      ;;
9414
9415    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9416      case `$LD -v 2>&1` in
9417        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9418	ld_shlibs=no
9419	cat <<_LT_EOF 1>&2
9420
9421*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9422*** reliably create shared libraries on SCO systems.  Therefore, libtool
9423*** is disabling shared libraries support.  We urge you to upgrade GNU
9424*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9425*** your PATH or compiler configuration so that the native linker is
9426*** used, and then restart.
9427
9428_LT_EOF
9429	;;
9430	*)
9431	  # For security reasons, it is highly recommended that you always
9432	  # use absolute paths for naming shared libraries, and exclude the
9433	  # DT_RUNPATH tag from executables and libraries.  But doing so
9434	  # requires that you compile everything twice, which is a pain.
9435	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9436	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9437	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9438	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9439	  else
9440	    ld_shlibs=no
9441	  fi
9442	;;
9443      esac
9444      ;;
9445
9446    sunos4*)
9447      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9448      wlarc=
9449      hardcode_direct=yes
9450      hardcode_shlibpath_var=no
9451      ;;
9452
9453    *)
9454      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9455	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9456	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9457      else
9458	ld_shlibs=no
9459      fi
9460      ;;
9461    esac
9462
9463    if test no = "$ld_shlibs"; then
9464      runpath_var=
9465      hardcode_libdir_flag_spec=
9466      export_dynamic_flag_spec=
9467      whole_archive_flag_spec=
9468    fi
9469  else
9470    # PORTME fill in a description of your system's linker (not GNU ld)
9471    case $host_os in
9472    aix3*)
9473      allow_undefined_flag=unsupported
9474      always_export_symbols=yes
9475      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'
9476      # Note: this linker hardcodes the directories in LIBPATH if there
9477      # are no directories specified by -L.
9478      hardcode_minus_L=yes
9479      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9480	# Neither direct hardcoding nor static linking is supported with a
9481	# broken collect2.
9482	hardcode_direct=unsupported
9483      fi
9484      ;;
9485
9486    aix[4-9]*)
9487      if test ia64 = "$host_cpu"; then
9488	# On IA64, the linker does run time linking by default, so we don't
9489	# have to do anything special.
9490	aix_use_runtimelinking=no
9491	exp_sym_flag='-Bexport'
9492	no_entry_flag=
9493      else
9494	# If we're using GNU nm, then we don't want the "-C" option.
9495	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9496	# Without the "-l" option, or with the "-B" option, AIX nm treats
9497	# weak defined symbols like other global defined symbols, whereas
9498	# GNU nm marks them as "W".
9499	# While the 'weak' keyword is ignored in the Export File, we need
9500	# it in the Import File for the 'aix-soname' feature, so we have
9501	# to replace the "-B" option with "-P" for AIX nm.
9502	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9503	  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'
9504	else
9505	  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'
9506	fi
9507	aix_use_runtimelinking=no
9508
9509	# Test if we are trying to use run time linking or normal
9510	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9511	# have runtime linking enabled, and use it for executables.
9512	# For shared libraries, we enable/disable runtime linking
9513	# depending on the kind of the shared library created -
9514	# when "with_aix_soname,aix_use_runtimelinking" is:
9515	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9516	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9517	#            lib.a           static archive
9518	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9519	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9520	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9521	#            lib.a(lib.so.V) shared, rtl:no
9522	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9523	#            lib.a           static archive
9524	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9525	  for ld_flag in $LDFLAGS; do
9526	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9527	    aix_use_runtimelinking=yes
9528	    break
9529	  fi
9530	  done
9531	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9532	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9533	    # so we don't have lib.a shared libs to link our executables.
9534	    # We have to force runtime linking in this case.
9535	    aix_use_runtimelinking=yes
9536	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9537	  fi
9538	  ;;
9539	esac
9540
9541	exp_sym_flag='-bexport'
9542	no_entry_flag='-bnoentry'
9543      fi
9544
9545      # When large executables or shared objects are built, AIX ld can
9546      # have problems creating the table of contents.  If linking a library
9547      # or program results in "error TOC overflow" add -mminimal-toc to
9548      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9549      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9550
9551      archive_cmds=''
9552      hardcode_direct=yes
9553      hardcode_direct_absolute=yes
9554      hardcode_libdir_separator=':'
9555      link_all_deplibs=yes
9556      file_list_spec='$wl-f,'
9557      case $with_aix_soname,$aix_use_runtimelinking in
9558      aix,*) ;; # traditional, no import file
9559      svr4,* | *,yes) # use import file
9560	# The Import File defines what to hardcode.
9561	hardcode_direct=no
9562	hardcode_direct_absolute=no
9563	;;
9564      esac
9565
9566      if test yes = "$GCC"; then
9567	case $host_os in aix4.[012]|aix4.[012].*)
9568	# We only want to do this on AIX 4.2 and lower, the check
9569	# below for broken collect2 doesn't work under 4.3+
9570	  collect2name=`$CC -print-prog-name=collect2`
9571	  if test -f "$collect2name" &&
9572	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9573	  then
9574	  # We have reworked collect2
9575	  :
9576	  else
9577	  # We have old collect2
9578	  hardcode_direct=unsupported
9579	  # It fails to find uninstalled libraries when the uninstalled
9580	  # path is not listed in the libpath.  Setting hardcode_minus_L
9581	  # to unsupported forces relinking
9582	  hardcode_minus_L=yes
9583	  hardcode_libdir_flag_spec='-L$libdir'
9584	  hardcode_libdir_separator=
9585	  fi
9586	  ;;
9587	esac
9588	shared_flag='-shared'
9589	if test yes = "$aix_use_runtimelinking"; then
9590	  shared_flag="$shared_flag "'$wl-G'
9591	fi
9592	# Need to ensure runtime linking is disabled for the traditional
9593	# shared library, or the linker may eventually find shared libraries
9594	# /with/ Import File - we do not want to mix them.
9595	shared_flag_aix='-shared'
9596	shared_flag_svr4='-shared $wl-G'
9597      else
9598	# not using gcc
9599	if test ia64 = "$host_cpu"; then
9600	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9601	# chokes on -Wl,-G. The following line is correct:
9602	  shared_flag='-G'
9603	else
9604	  if test yes = "$aix_use_runtimelinking"; then
9605	    shared_flag='$wl-G'
9606	  else
9607	    shared_flag='$wl-bM:SRE'
9608	  fi
9609	  shared_flag_aix='$wl-bM:SRE'
9610	  shared_flag_svr4='$wl-G'
9611	fi
9612      fi
9613
9614      export_dynamic_flag_spec='$wl-bexpall'
9615      # It seems that -bexpall does not export symbols beginning with
9616      # underscore (_), so it is better to generate a list of symbols to export.
9617      always_export_symbols=yes
9618      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9619	# Warning - without using the other runtime loading flags (-brtl),
9620	# -berok will link without error, but may produce a broken library.
9621	allow_undefined_flag='-berok'
9622        # Determine the default libpath from the value encoded in an
9623        # empty executable.
9624        if test set = "${lt_cv_aix_libpath+set}"; then
9625  aix_libpath=$lt_cv_aix_libpath
9626else
9627  if ${lt_cv_aix_libpath_+:} false; then :
9628  $as_echo_n "(cached) " >&6
9629else
9630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631/* end confdefs.h.  */
9632
9633int
9634main ()
9635{
9636
9637  ;
9638  return 0;
9639}
9640_ACEOF
9641if ac_fn_c_try_link "$LINENO"; then :
9642
9643  lt_aix_libpath_sed='
9644      /Import File Strings/,/^$/ {
9645	  /^0/ {
9646	      s/^0  *\([^ ]*\) *$/\1/
9647	      p
9648	  }
9649      }'
9650  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651  # Check for a 64-bit object if we didn't find anything.
9652  if test -z "$lt_cv_aix_libpath_"; then
9653    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654  fi
9655fi
9656rm -f core conftest.err conftest.$ac_objext \
9657    conftest$ac_exeext conftest.$ac_ext
9658  if test -z "$lt_cv_aix_libpath_"; then
9659    lt_cv_aix_libpath_=/usr/lib:/lib
9660  fi
9661
9662fi
9663
9664  aix_libpath=$lt_cv_aix_libpath_
9665fi
9666
9667        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9668        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
9669      else
9670	if test ia64 = "$host_cpu"; then
9671	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9672	  allow_undefined_flag="-z nodefs"
9673	  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"
9674	else
9675	 # Determine the default libpath from the value encoded in an
9676	 # empty executable.
9677	 if test set = "${lt_cv_aix_libpath+set}"; then
9678  aix_libpath=$lt_cv_aix_libpath
9679else
9680  if ${lt_cv_aix_libpath_+:} false; then :
9681  $as_echo_n "(cached) " >&6
9682else
9683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684/* end confdefs.h.  */
9685
9686int
9687main ()
9688{
9689
9690  ;
9691  return 0;
9692}
9693_ACEOF
9694if ac_fn_c_try_link "$LINENO"; then :
9695
9696  lt_aix_libpath_sed='
9697      /Import File Strings/,/^$/ {
9698	  /^0/ {
9699	      s/^0  *\([^ ]*\) *$/\1/
9700	      p
9701	  }
9702      }'
9703  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9704  # Check for a 64-bit object if we didn't find anything.
9705  if test -z "$lt_cv_aix_libpath_"; then
9706    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707  fi
9708fi
9709rm -f core conftest.err conftest.$ac_objext \
9710    conftest$ac_exeext conftest.$ac_ext
9711  if test -z "$lt_cv_aix_libpath_"; then
9712    lt_cv_aix_libpath_=/usr/lib:/lib
9713  fi
9714
9715fi
9716
9717  aix_libpath=$lt_cv_aix_libpath_
9718fi
9719
9720	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9721	  # Warning - without using the other run time loading flags,
9722	  # -berok will link without error, but may produce a broken library.
9723	  no_undefined_flag=' $wl-bernotok'
9724	  allow_undefined_flag=' $wl-berok'
9725	  if test yes = "$with_gnu_ld"; then
9726	    # We only use this code for GNU lds that support --whole-archive.
9727	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9728	  else
9729	    # Exported symbols can be pulled into shared objects from archives
9730	    whole_archive_flag_spec='$convenience'
9731	  fi
9732	  archive_cmds_need_lc=yes
9733	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9734	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9735	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9736	  if test svr4 != "$with_aix_soname"; then
9737	    # This is similar to how AIX traditionally builds its shared libraries.
9738	    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'
9739	  fi
9740	  if test aix != "$with_aix_soname"; then
9741	    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'
9742	  else
9743	    # used by -dlpreopen to get the symbols
9744	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9745	  fi
9746	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9747	fi
9748      fi
9749      ;;
9750
9751    amigaos*)
9752      case $host_cpu in
9753      powerpc)
9754            # see comment about AmigaOS4 .so support
9755            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9756            archive_expsym_cmds=''
9757        ;;
9758      m68k)
9759            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)'
9760            hardcode_libdir_flag_spec='-L$libdir'
9761            hardcode_minus_L=yes
9762        ;;
9763      esac
9764      ;;
9765
9766    bsdi[45]*)
9767      export_dynamic_flag_spec=-rdynamic
9768      ;;
9769
9770    cygwin* | mingw* | pw32* | cegcc*)
9771      # When not using gcc, we currently assume that we are using
9772      # Microsoft Visual C++.
9773      # hardcode_libdir_flag_spec is actually meaningless, as there is
9774      # no search path for DLLs.
9775      case $cc_basename in
9776      cl*)
9777	# Native MSVC
9778	hardcode_libdir_flag_spec=' '
9779	allow_undefined_flag=unsupported
9780	always_export_symbols=yes
9781	file_list_spec='@'
9782	# Tell ltmain to make .lib files, not .a files.
9783	libext=lib
9784	# Tell ltmain to make .dll files, not .so files.
9785	shrext_cmds=.dll
9786	# FIXME: Setting linknames here is a bad hack.
9787	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9788	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9789            cp "$export_symbols" "$output_objdir/$soname.def";
9790            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9791          else
9792            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9793          fi~
9794          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9795          linknames='
9796	# The linker will not automatically build a static lib if we build a DLL.
9797	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9798	enable_shared_with_static_runtimes=yes
9799	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9800	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9801	# Don't use ranlib
9802	old_postinstall_cmds='chmod 644 $oldlib'
9803	postlink_cmds='lt_outputfile="@OUTPUT@"~
9804          lt_tool_outputfile="@TOOL_OUTPUT@"~
9805          case $lt_outputfile in
9806            *.exe|*.EXE) ;;
9807            *)
9808              lt_outputfile=$lt_outputfile.exe
9809              lt_tool_outputfile=$lt_tool_outputfile.exe
9810              ;;
9811          esac~
9812          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9813            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9814            $RM "$lt_outputfile.manifest";
9815          fi'
9816	;;
9817      *)
9818	# Assume MSVC wrapper
9819	hardcode_libdir_flag_spec=' '
9820	allow_undefined_flag=unsupported
9821	# Tell ltmain to make .lib files, not .a files.
9822	libext=lib
9823	# Tell ltmain to make .dll files, not .so files.
9824	shrext_cmds=.dll
9825	# FIXME: Setting linknames here is a bad hack.
9826	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9827	# The linker will automatically build a .lib file if we build a DLL.
9828	old_archive_from_new_cmds='true'
9829	# FIXME: Should let the user specify the lib program.
9830	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9831	enable_shared_with_static_runtimes=yes
9832	;;
9833      esac
9834      ;;
9835
9836    darwin* | rhapsody*)
9837
9838
9839  archive_cmds_need_lc=no
9840  hardcode_direct=no
9841  hardcode_automatic=yes
9842  hardcode_shlibpath_var=unsupported
9843  if test yes = "$lt_cv_ld_force_load"; then
9844    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\"`'
9845
9846  else
9847    whole_archive_flag_spec=''
9848  fi
9849  link_all_deplibs=yes
9850  allow_undefined_flag=$_lt_dar_allow_undefined
9851  case $cc_basename in
9852     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9853     *) _lt_dar_can_shared=$GCC ;;
9854  esac
9855  if test yes = "$_lt_dar_can_shared"; then
9856    output_verbose_link_cmd=func_echo_all
9857    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9858    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9859    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"
9860    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"
9861
9862  else
9863  ld_shlibs=no
9864  fi
9865
9866      ;;
9867
9868    dgux*)
9869      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870      hardcode_libdir_flag_spec='-L$libdir'
9871      hardcode_shlibpath_var=no
9872      ;;
9873
9874    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9875    # support.  Future versions do this automatically, but an explicit c++rt0.o
9876    # does not break anything, and helps significantly (at the cost of a little
9877    # extra space).
9878    freebsd2.2*)
9879      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9880      hardcode_libdir_flag_spec='-R$libdir'
9881      hardcode_direct=yes
9882      hardcode_shlibpath_var=no
9883      ;;
9884
9885    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9886    freebsd2.*)
9887      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9888      hardcode_direct=yes
9889      hardcode_minus_L=yes
9890      hardcode_shlibpath_var=no
9891      ;;
9892
9893    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9894    freebsd* | dragonfly*)
9895      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9896      hardcode_libdir_flag_spec='-R$libdir'
9897      hardcode_direct=yes
9898      hardcode_shlibpath_var=no
9899      ;;
9900
9901    hpux9*)
9902      if test yes = "$GCC"; then
9903	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'
9904      else
9905	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'
9906      fi
9907      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9908      hardcode_libdir_separator=:
9909      hardcode_direct=yes
9910
9911      # hardcode_minus_L: Not really in the search PATH,
9912      # but as the default location of the library.
9913      hardcode_minus_L=yes
9914      export_dynamic_flag_spec='$wl-E'
9915      ;;
9916
9917    hpux10*)
9918      if test yes,no = "$GCC,$with_gnu_ld"; then
9919	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9920      else
9921	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9922      fi
9923      if test no = "$with_gnu_ld"; then
9924	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9925	hardcode_libdir_separator=:
9926	hardcode_direct=yes
9927	hardcode_direct_absolute=yes
9928	export_dynamic_flag_spec='$wl-E'
9929	# hardcode_minus_L: Not really in the search PATH,
9930	# but as the default location of the library.
9931	hardcode_minus_L=yes
9932      fi
9933      ;;
9934
9935    hpux11*)
9936      if test yes,no = "$GCC,$with_gnu_ld"; then
9937	case $host_cpu in
9938	hppa*64*)
9939	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9940	  ;;
9941	ia64*)
9942	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9943	  ;;
9944	*)
9945	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9946	  ;;
9947	esac
9948      else
9949	case $host_cpu in
9950	hppa*64*)
9951	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9952	  ;;
9953	ia64*)
9954	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9955	  ;;
9956	*)
9957
9958	  # Older versions of the 11.00 compiler do not understand -b yet
9959	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9960	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9961$as_echo_n "checking if $CC understands -b... " >&6; }
9962if ${lt_cv_prog_compiler__b+:} false; then :
9963  $as_echo_n "(cached) " >&6
9964else
9965  lt_cv_prog_compiler__b=no
9966   save_LDFLAGS=$LDFLAGS
9967   LDFLAGS="$LDFLAGS -b"
9968   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9969   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9970     # The linker can only warn and ignore the option if not recognized
9971     # So say no if there are warnings
9972     if test -s conftest.err; then
9973       # Append any errors to the config.log.
9974       cat conftest.err 1>&5
9975       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9976       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9977       if diff conftest.exp conftest.er2 >/dev/null; then
9978         lt_cv_prog_compiler__b=yes
9979       fi
9980     else
9981       lt_cv_prog_compiler__b=yes
9982     fi
9983   fi
9984   $RM -r conftest*
9985   LDFLAGS=$save_LDFLAGS
9986
9987fi
9988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9989$as_echo "$lt_cv_prog_compiler__b" >&6; }
9990
9991if test yes = "$lt_cv_prog_compiler__b"; then
9992    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9993else
9994    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9995fi
9996
9997	  ;;
9998	esac
9999      fi
10000      if test no = "$with_gnu_ld"; then
10001	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10002	hardcode_libdir_separator=:
10003
10004	case $host_cpu in
10005	hppa*64*|ia64*)
10006	  hardcode_direct=no
10007	  hardcode_shlibpath_var=no
10008	  ;;
10009	*)
10010	  hardcode_direct=yes
10011	  hardcode_direct_absolute=yes
10012	  export_dynamic_flag_spec='$wl-E'
10013
10014	  # hardcode_minus_L: Not really in the search PATH,
10015	  # but as the default location of the library.
10016	  hardcode_minus_L=yes
10017	  ;;
10018	esac
10019      fi
10020      ;;
10021
10022    irix5* | irix6* | nonstopux*)
10023      if test yes = "$GCC"; then
10024	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'
10025	# Try to use the -exported_symbol ld option, if it does not
10026	# work, assume that -exports_file does not work either and
10027	# implicitly export all symbols.
10028	# This should be the same for all languages, so no per-tag cache variable.
10029	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10030$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10031if ${lt_cv_irix_exported_symbol+:} false; then :
10032  $as_echo_n "(cached) " >&6
10033else
10034  save_LDFLAGS=$LDFLAGS
10035	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10036	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037/* end confdefs.h.  */
10038int foo (void) { return 0; }
10039_ACEOF
10040if ac_fn_c_try_link "$LINENO"; then :
10041  lt_cv_irix_exported_symbol=yes
10042else
10043  lt_cv_irix_exported_symbol=no
10044fi
10045rm -f core conftest.err conftest.$ac_objext \
10046    conftest$ac_exeext conftest.$ac_ext
10047           LDFLAGS=$save_LDFLAGS
10048fi
10049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10050$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10051	if test yes = "$lt_cv_irix_exported_symbol"; then
10052          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'
10053	fi
10054	link_all_deplibs=no
10055      else
10056	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'
10057	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'
10058      fi
10059      archive_cmds_need_lc='no'
10060      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10061      hardcode_libdir_separator=:
10062      inherit_rpath=yes
10063      link_all_deplibs=yes
10064      ;;
10065
10066    linux*)
10067      case $cc_basename in
10068      tcc*)
10069	# Fabrice Bellard et al's Tiny C Compiler
10070	ld_shlibs=yes
10071	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10072	;;
10073      esac
10074      ;;
10075
10076    netbsd* | netbsdelf*-gnu)
10077      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10078	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10079      else
10080	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10081      fi
10082      hardcode_libdir_flag_spec='-R$libdir'
10083      hardcode_direct=yes
10084      hardcode_shlibpath_var=no
10085      ;;
10086
10087    newsos6)
10088      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10089      hardcode_direct=yes
10090      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10091      hardcode_libdir_separator=:
10092      hardcode_shlibpath_var=no
10093      ;;
10094
10095    *nto* | *qnx*)
10096      ;;
10097
10098    openbsd* | bitrig*)
10099      if test -f /usr/libexec/ld.so; then
10100	hardcode_direct=yes
10101	hardcode_shlibpath_var=no
10102	hardcode_direct_absolute=yes
10103	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10104	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10105	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10106	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10107	  export_dynamic_flag_spec='$wl-E'
10108	else
10109	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10110	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10111	fi
10112      else
10113	ld_shlibs=no
10114      fi
10115      ;;
10116
10117    os2*)
10118      hardcode_libdir_flag_spec='-L$libdir'
10119      hardcode_minus_L=yes
10120      allow_undefined_flag=unsupported
10121      shrext_cmds=.dll
10122      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10123	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10124	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10125	$ECHO EXPORTS >> $output_objdir/$libname.def~
10126	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10127	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10128	emximp -o $lib $output_objdir/$libname.def'
10129      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10130	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10131	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10132	$ECHO EXPORTS >> $output_objdir/$libname.def~
10133	prefix_cmds="$SED"~
10134	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10135	  prefix_cmds="$prefix_cmds -e 1d";
10136	fi~
10137	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10138	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10139	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10140	emximp -o $lib $output_objdir/$libname.def'
10141      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10142      enable_shared_with_static_runtimes=yes
10143      ;;
10144
10145    osf3*)
10146      if test yes = "$GCC"; then
10147	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10148	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'
10149      else
10150	allow_undefined_flag=' -expect_unresolved \*'
10151	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'
10152      fi
10153      archive_cmds_need_lc='no'
10154      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10155      hardcode_libdir_separator=:
10156      ;;
10157
10158    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10159      if test yes = "$GCC"; then
10160	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10161	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'
10162	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10163      else
10164	allow_undefined_flag=' -expect_unresolved \*'
10165	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'
10166	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~
10167          $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'
10168
10169	# Both c and cxx compiler support -rpath directly
10170	hardcode_libdir_flag_spec='-rpath $libdir'
10171      fi
10172      archive_cmds_need_lc='no'
10173      hardcode_libdir_separator=:
10174      ;;
10175
10176    solaris*)
10177      no_undefined_flag=' -z defs'
10178      if test yes = "$GCC"; then
10179	wlarc='$wl'
10180	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10181	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10182          $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'
10183      else
10184	case `$CC -V 2>&1` in
10185	*"Compilers 5.0"*)
10186	  wlarc=''
10187	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10188	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10189            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10190	  ;;
10191	*)
10192	  wlarc='$wl'
10193	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10194	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10195            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10196	  ;;
10197	esac
10198      fi
10199      hardcode_libdir_flag_spec='-R$libdir'
10200      hardcode_shlibpath_var=no
10201      case $host_os in
10202      solaris2.[0-5] | solaris2.[0-5].*) ;;
10203      *)
10204	# The compiler driver will combine and reorder linker options,
10205	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10206	# but is careful enough not to reorder.
10207	# Supported since Solaris 2.6 (maybe 2.5.1?)
10208	if test yes = "$GCC"; then
10209	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10210	else
10211	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10212	fi
10213	;;
10214      esac
10215      link_all_deplibs=yes
10216      ;;
10217
10218    sunos4*)
10219      if test sequent = "$host_vendor"; then
10220	# Use $CC to link under sequent, because it throws in some extra .o
10221	# files that make .init and .fini sections work.
10222	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10223      else
10224	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10225      fi
10226      hardcode_libdir_flag_spec='-L$libdir'
10227      hardcode_direct=yes
10228      hardcode_minus_L=yes
10229      hardcode_shlibpath_var=no
10230      ;;
10231
10232    sysv4)
10233      case $host_vendor in
10234	sni)
10235	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10236	  hardcode_direct=yes # is this really true???
10237	;;
10238	siemens)
10239	  ## LD is ld it makes a PLAMLIB
10240	  ## CC just makes a GrossModule.
10241	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10242	  reload_cmds='$CC -r -o $output$reload_objs'
10243	  hardcode_direct=no
10244        ;;
10245	motorola)
10246	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10247	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10248	;;
10249      esac
10250      runpath_var='LD_RUN_PATH'
10251      hardcode_shlibpath_var=no
10252      ;;
10253
10254    sysv4.3*)
10255      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256      hardcode_shlibpath_var=no
10257      export_dynamic_flag_spec='-Bexport'
10258      ;;
10259
10260    sysv4*MP*)
10261      if test -d /usr/nec; then
10262	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10263	hardcode_shlibpath_var=no
10264	runpath_var=LD_RUN_PATH
10265	hardcode_runpath_var=yes
10266	ld_shlibs=yes
10267      fi
10268      ;;
10269
10270    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10271      no_undefined_flag='$wl-z,text'
10272      archive_cmds_need_lc=no
10273      hardcode_shlibpath_var=no
10274      runpath_var='LD_RUN_PATH'
10275
10276      if test yes = "$GCC"; then
10277	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10278	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10279      else
10280	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10281	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10282      fi
10283      ;;
10284
10285    sysv5* | sco3.2v5* | sco5v6*)
10286      # Note: We CANNOT use -z defs as we might desire, because we do not
10287      # link with -lc, and that would cause any symbols used from libc to
10288      # always be unresolved, which means just about no library would
10289      # ever link correctly.  If we're not using GNU ld we use -z text
10290      # though, which does catch some bad symbols but isn't as heavy-handed
10291      # as -z defs.
10292      no_undefined_flag='$wl-z,text'
10293      allow_undefined_flag='$wl-z,nodefs'
10294      archive_cmds_need_lc=no
10295      hardcode_shlibpath_var=no
10296      hardcode_libdir_flag_spec='$wl-R,$libdir'
10297      hardcode_libdir_separator=':'
10298      link_all_deplibs=yes
10299      export_dynamic_flag_spec='$wl-Bexport'
10300      runpath_var='LD_RUN_PATH'
10301
10302      if test yes = "$GCC"; then
10303	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10304	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10305      else
10306	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10307	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10308      fi
10309      ;;
10310
10311    uts4*)
10312      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10313      hardcode_libdir_flag_spec='-L$libdir'
10314      hardcode_shlibpath_var=no
10315      ;;
10316
10317    *)
10318      ld_shlibs=no
10319      ;;
10320    esac
10321
10322    if test sni = "$host_vendor"; then
10323      case $host in
10324      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10325	export_dynamic_flag_spec='$wl-Blargedynsym'
10326	;;
10327      esac
10328    fi
10329  fi
10330
10331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10332$as_echo "$ld_shlibs" >&6; }
10333test no = "$ld_shlibs" && can_build_shared=no
10334
10335with_gnu_ld=$with_gnu_ld
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351#
10352# Do we need to explicitly link libc?
10353#
10354case "x$archive_cmds_need_lc" in
10355x|xyes)
10356  # Assume -lc should be added
10357  archive_cmds_need_lc=yes
10358
10359  if test yes,yes = "$GCC,$enable_shared"; then
10360    case $archive_cmds in
10361    *'~'*)
10362      # FIXME: we may have to deal with multi-command sequences.
10363      ;;
10364    '$CC '*)
10365      # Test whether the compiler implicitly links with -lc since on some
10366      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10367      # to ld, don't add -lc before -lgcc.
10368      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10369$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10370if ${lt_cv_archive_cmds_need_lc+:} false; then :
10371  $as_echo_n "(cached) " >&6
10372else
10373  $RM conftest*
10374	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10375
10376	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10377  (eval $ac_compile) 2>&5
10378  ac_status=$?
10379  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10380  test $ac_status = 0; } 2>conftest.err; then
10381	  soname=conftest
10382	  lib=conftest
10383	  libobjs=conftest.$ac_objext
10384	  deplibs=
10385	  wl=$lt_prog_compiler_wl
10386	  pic_flag=$lt_prog_compiler_pic
10387	  compiler_flags=-v
10388	  linker_flags=-v
10389	  verstring=
10390	  output_objdir=.
10391	  libname=conftest
10392	  lt_save_allow_undefined_flag=$allow_undefined_flag
10393	  allow_undefined_flag=
10394	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10395  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10396  ac_status=$?
10397  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10398  test $ac_status = 0; }
10399	  then
10400	    lt_cv_archive_cmds_need_lc=no
10401	  else
10402	    lt_cv_archive_cmds_need_lc=yes
10403	  fi
10404	  allow_undefined_flag=$lt_save_allow_undefined_flag
10405	else
10406	  cat conftest.err 1>&5
10407	fi
10408	$RM conftest*
10409
10410fi
10411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10412$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10413      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10414      ;;
10415    esac
10416  fi
10417  ;;
10418esac
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10572$as_echo_n "checking dynamic linker characteristics... " >&6; }
10573
10574if test yes = "$GCC"; then
10575  case $host_os in
10576    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10577    *) lt_awk_arg='/^libraries:/' ;;
10578  esac
10579  case $host_os in
10580    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10581    *) lt_sed_strip_eq='s|=/|/|g' ;;
10582  esac
10583  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10584  case $lt_search_path_spec in
10585  *\;*)
10586    # if the path contains ";" then we assume it to be the separator
10587    # otherwise default to the standard path separator (i.e. ":") - it is
10588    # assumed that no part of a normal pathname contains ";" but that should
10589    # okay in the real world where ";" in dirpaths is itself problematic.
10590    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10591    ;;
10592  *)
10593    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10594    ;;
10595  esac
10596  # Ok, now we have the path, separated by spaces, we can step through it
10597  # and add multilib dir if necessary...
10598  lt_tmp_lt_search_path_spec=
10599  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10600  # ...but if some path component already ends with the multilib dir we assume
10601  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10602  case "$lt_multi_os_dir; $lt_search_path_spec " in
10603  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10604    lt_multi_os_dir=
10605    ;;
10606  esac
10607  for lt_sys_path in $lt_search_path_spec; do
10608    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10609      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10610    elif test -n "$lt_multi_os_dir"; then
10611      test -d "$lt_sys_path" && \
10612	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10613    fi
10614  done
10615  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10616BEGIN {RS = " "; FS = "/|\n";} {
10617  lt_foo = "";
10618  lt_count = 0;
10619  for (lt_i = NF; lt_i > 0; lt_i--) {
10620    if ($lt_i != "" && $lt_i != ".") {
10621      if ($lt_i == "..") {
10622        lt_count++;
10623      } else {
10624        if (lt_count == 0) {
10625          lt_foo = "/" $lt_i lt_foo;
10626        } else {
10627          lt_count--;
10628        }
10629      }
10630    }
10631  }
10632  if (lt_foo != "") { lt_freq[lt_foo]++; }
10633  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10634}'`
10635  # AWK program above erroneously prepends '/' to C:/dos/paths
10636  # for these hosts.
10637  case $host_os in
10638    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10639      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10640  esac
10641  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10642else
10643  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10644fi
10645library_names_spec=
10646libname_spec='lib$name'
10647soname_spec=
10648shrext_cmds=.so
10649postinstall_cmds=
10650postuninstall_cmds=
10651finish_cmds=
10652finish_eval=
10653shlibpath_var=
10654shlibpath_overrides_runpath=unknown
10655version_type=none
10656dynamic_linker="$host_os ld.so"
10657sys_lib_dlsearch_path_spec="/lib /usr/lib"
10658need_lib_prefix=unknown
10659hardcode_into_libs=no
10660
10661# when you set need_version to no, make sure it does not cause -set_version
10662# flags to be left without arguments
10663need_version=unknown
10664
10665
10666
10667case $host_os in
10668aix3*)
10669  version_type=linux # correct to gnu/linux during the next big refactor
10670  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10671  shlibpath_var=LIBPATH
10672
10673  # AIX 3 has no versioning support, so we append a major version to the name.
10674  soname_spec='$libname$release$shared_ext$major'
10675  ;;
10676
10677aix[4-9]*)
10678  version_type=linux # correct to gnu/linux during the next big refactor
10679  need_lib_prefix=no
10680  need_version=no
10681  hardcode_into_libs=yes
10682  if test ia64 = "$host_cpu"; then
10683    # AIX 5 supports IA64
10684    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10685    shlibpath_var=LD_LIBRARY_PATH
10686  else
10687    # With GCC up to 2.95.x, collect2 would create an import file
10688    # for dependence libraries.  The import file would start with
10689    # the line '#! .'.  This would cause the generated library to
10690    # depend on '.', always an invalid library.  This was fixed in
10691    # development snapshots of GCC prior to 3.0.
10692    case $host_os in
10693      aix4 | aix4.[01] | aix4.[01].*)
10694      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10695	   echo ' yes '
10696	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10697	:
10698      else
10699	can_build_shared=no
10700      fi
10701      ;;
10702    esac
10703    # Using Import Files as archive members, it is possible to support
10704    # filename-based versioning of shared library archives on AIX. While
10705    # this would work for both with and without runtime linking, it will
10706    # prevent static linking of such archives. So we do filename-based
10707    # shared library versioning with .so extension only, which is used
10708    # when both runtime linking and shared linking is enabled.
10709    # Unfortunately, runtime linking may impact performance, so we do
10710    # not want this to be the default eventually. Also, we use the
10711    # versioned .so libs for executables only if there is the -brtl
10712    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10713    # To allow for filename-based versioning support, we need to create
10714    # libNAME.so.V as an archive file, containing:
10715    # *) an Import File, referring to the versioned filename of the
10716    #    archive as well as the shared archive member, telling the
10717    #    bitwidth (32 or 64) of that shared object, and providing the
10718    #    list of exported symbols of that shared object, eventually
10719    #    decorated with the 'weak' keyword
10720    # *) the shared object with the F_LOADONLY flag set, to really avoid
10721    #    it being seen by the linker.
10722    # At run time we better use the real file rather than another symlink,
10723    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10724
10725    case $with_aix_soname,$aix_use_runtimelinking in
10726    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10727    # soname into executable. Probably we can add versioning support to
10728    # collect2, so additional links can be useful in future.
10729    aix,yes) # traditional libtool
10730      dynamic_linker='AIX unversionable lib.so'
10731      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10732      # instead of lib<name>.a to let people know that these are not
10733      # typical AIX shared libraries.
10734      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10735      ;;
10736    aix,no) # traditional AIX only
10737      dynamic_linker='AIX lib.a(lib.so.V)'
10738      # We preserve .a as extension for shared libraries through AIX4.2
10739      # and later when we are not doing run time linking.
10740      library_names_spec='$libname$release.a $libname.a'
10741      soname_spec='$libname$release$shared_ext$major'
10742      ;;
10743    svr4,*) # full svr4 only
10744      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10745      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10746      # We do not specify a path in Import Files, so LIBPATH fires.
10747      shlibpath_overrides_runpath=yes
10748      ;;
10749    *,yes) # both, prefer svr4
10750      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10751      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10752      # unpreferred sharedlib libNAME.a needs extra handling
10753      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"'
10754      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"'
10755      # We do not specify a path in Import Files, so LIBPATH fires.
10756      shlibpath_overrides_runpath=yes
10757      ;;
10758    *,no) # both, prefer aix
10759      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10760      library_names_spec='$libname$release.a $libname.a'
10761      soname_spec='$libname$release$shared_ext$major'
10762      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10763      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)'
10764      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"'
10765      ;;
10766    esac
10767    shlibpath_var=LIBPATH
10768  fi
10769  ;;
10770
10771amigaos*)
10772  case $host_cpu in
10773  powerpc)
10774    # Since July 2007 AmigaOS4 officially supports .so libraries.
10775    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10776    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10777    ;;
10778  m68k)
10779    library_names_spec='$libname.ixlibrary $libname.a'
10780    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10781    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'
10782    ;;
10783  esac
10784  ;;
10785
10786beos*)
10787  library_names_spec='$libname$shared_ext'
10788  dynamic_linker="$host_os ld.so"
10789  shlibpath_var=LIBRARY_PATH
10790  ;;
10791
10792bsdi[45]*)
10793  version_type=linux # correct to gnu/linux during the next big refactor
10794  need_version=no
10795  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10796  soname_spec='$libname$release$shared_ext$major'
10797  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10798  shlibpath_var=LD_LIBRARY_PATH
10799  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10800  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10801  # the default ld.so.conf also contains /usr/contrib/lib and
10802  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10803  # libtool to hard-code these into programs
10804  ;;
10805
10806cygwin* | mingw* | pw32* | cegcc*)
10807  version_type=windows
10808  shrext_cmds=.dll
10809  need_version=no
10810  need_lib_prefix=no
10811
10812  case $GCC,$cc_basename in
10813  yes,*)
10814    # gcc
10815    library_names_spec='$libname.dll.a'
10816    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10817    postinstall_cmds='base_file=`basename \$file`~
10818      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10819      dldir=$destdir/`dirname \$dlpath`~
10820      test -d \$dldir || mkdir -p \$dldir~
10821      $install_prog $dir/$dlname \$dldir/$dlname~
10822      chmod a+x \$dldir/$dlname~
10823      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10824        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10825      fi'
10826    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10827      dlpath=$dir/\$dldll~
10828       $RM \$dlpath'
10829    shlibpath_overrides_runpath=yes
10830
10831    case $host_os in
10832    cygwin*)
10833      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10834      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10835
10836      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10837      ;;
10838    mingw* | cegcc*)
10839      # MinGW DLLs use traditional 'lib' prefix
10840      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10841      ;;
10842    pw32*)
10843      # pw32 DLLs use 'pw' prefix rather than 'lib'
10844      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10845      ;;
10846    esac
10847    dynamic_linker='Win32 ld.exe'
10848    ;;
10849
10850  *,cl*)
10851    # Native MSVC
10852    libname_spec='$name'
10853    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10854    library_names_spec='$libname.dll.lib'
10855
10856    case $build_os in
10857    mingw*)
10858      sys_lib_search_path_spec=
10859      lt_save_ifs=$IFS
10860      IFS=';'
10861      for lt_path in $LIB
10862      do
10863        IFS=$lt_save_ifs
10864        # Let DOS variable expansion print the short 8.3 style file name.
10865        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10866        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10867      done
10868      IFS=$lt_save_ifs
10869      # Convert to MSYS style.
10870      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10871      ;;
10872    cygwin*)
10873      # Convert to unix form, then to dos form, then back to unix form
10874      # but this time dos style (no spaces!) so that the unix form looks
10875      # like /cygdrive/c/PROGRA~1:/cygdr...
10876      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10877      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10878      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10879      ;;
10880    *)
10881      sys_lib_search_path_spec=$LIB
10882      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10883        # It is most probably a Windows format PATH.
10884        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10885      else
10886        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10887      fi
10888      # FIXME: find the short name or the path components, as spaces are
10889      # common. (e.g. "Program Files" -> "PROGRA~1")
10890      ;;
10891    esac
10892
10893    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10894    postinstall_cmds='base_file=`basename \$file`~
10895      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10896      dldir=$destdir/`dirname \$dlpath`~
10897      test -d \$dldir || mkdir -p \$dldir~
10898      $install_prog $dir/$dlname \$dldir/$dlname'
10899    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10900      dlpath=$dir/\$dldll~
10901       $RM \$dlpath'
10902    shlibpath_overrides_runpath=yes
10903    dynamic_linker='Win32 link.exe'
10904    ;;
10905
10906  *)
10907    # Assume MSVC wrapper
10908    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10909    dynamic_linker='Win32 ld.exe'
10910    ;;
10911  esac
10912  # FIXME: first we should search . and the directory the executable is in
10913  shlibpath_var=PATH
10914  ;;
10915
10916darwin* | rhapsody*)
10917  dynamic_linker="$host_os dyld"
10918  version_type=darwin
10919  need_lib_prefix=no
10920  need_version=no
10921  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10922  soname_spec='$libname$release$major$shared_ext'
10923  shlibpath_overrides_runpath=yes
10924  shlibpath_var=DYLD_LIBRARY_PATH
10925  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10926
10927  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10928  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10929  ;;
10930
10931dgux*)
10932  version_type=linux # correct to gnu/linux during the next big refactor
10933  need_lib_prefix=no
10934  need_version=no
10935  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10936  soname_spec='$libname$release$shared_ext$major'
10937  shlibpath_var=LD_LIBRARY_PATH
10938  ;;
10939
10940freebsd* | dragonfly*)
10941  # DragonFly does not have aout.  When/if they implement a new
10942  # versioning mechanism, adjust this.
10943  if test -x /usr/bin/objformat; then
10944    objformat=`/usr/bin/objformat`
10945  else
10946    case $host_os in
10947    freebsd[23].*) objformat=aout ;;
10948    *) objformat=elf ;;
10949    esac
10950  fi
10951  version_type=freebsd-$objformat
10952  case $version_type in
10953    freebsd-elf*)
10954      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10955      soname_spec='$libname$release$shared_ext$major'
10956      need_version=no
10957      need_lib_prefix=no
10958      ;;
10959    freebsd-*)
10960      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10961      need_version=yes
10962      ;;
10963  esac
10964  shlibpath_var=LD_LIBRARY_PATH
10965  case $host_os in
10966  freebsd2.*)
10967    shlibpath_overrides_runpath=yes
10968    ;;
10969  freebsd3.[01]* | freebsdelf3.[01]*)
10970    shlibpath_overrides_runpath=yes
10971    hardcode_into_libs=yes
10972    ;;
10973  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10974  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10975    shlibpath_overrides_runpath=no
10976    hardcode_into_libs=yes
10977    ;;
10978  *) # from 4.6 on, and DragonFly
10979    shlibpath_overrides_runpath=yes
10980    hardcode_into_libs=yes
10981    ;;
10982  esac
10983  ;;
10984
10985haiku*)
10986  version_type=linux # correct to gnu/linux during the next big refactor
10987  need_lib_prefix=no
10988  need_version=no
10989  dynamic_linker="$host_os runtime_loader"
10990  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10991  soname_spec='$libname$release$shared_ext$major'
10992  shlibpath_var=LIBRARY_PATH
10993  shlibpath_overrides_runpath=no
10994  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10995  hardcode_into_libs=yes
10996  ;;
10997
10998hpux9* | hpux10* | hpux11*)
10999  # Give a soname corresponding to the major version so that dld.sl refuses to
11000  # link against other versions.
11001  version_type=sunos
11002  need_lib_prefix=no
11003  need_version=no
11004  case $host_cpu in
11005  ia64*)
11006    shrext_cmds='.so'
11007    hardcode_into_libs=yes
11008    dynamic_linker="$host_os dld.so"
11009    shlibpath_var=LD_LIBRARY_PATH
11010    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11011    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11012    soname_spec='$libname$release$shared_ext$major'
11013    if test 32 = "$HPUX_IA64_MODE"; then
11014      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11015      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11016    else
11017      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11018      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11019    fi
11020    ;;
11021  hppa*64*)
11022    shrext_cmds='.sl'
11023    hardcode_into_libs=yes
11024    dynamic_linker="$host_os dld.sl"
11025    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11026    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11027    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11028    soname_spec='$libname$release$shared_ext$major'
11029    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11030    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11031    ;;
11032  *)
11033    shrext_cmds='.sl'
11034    dynamic_linker="$host_os dld.sl"
11035    shlibpath_var=SHLIB_PATH
11036    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11037    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11038    soname_spec='$libname$release$shared_ext$major'
11039    ;;
11040  esac
11041  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11042  postinstall_cmds='chmod 555 $lib'
11043  # or fails outright, so override atomically:
11044  install_override_mode=555
11045  ;;
11046
11047interix[3-9]*)
11048  version_type=linux # correct to gnu/linux during the next big refactor
11049  need_lib_prefix=no
11050  need_version=no
11051  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11052  soname_spec='$libname$release$shared_ext$major'
11053  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11054  shlibpath_var=LD_LIBRARY_PATH
11055  shlibpath_overrides_runpath=no
11056  hardcode_into_libs=yes
11057  ;;
11058
11059irix5* | irix6* | nonstopux*)
11060  case $host_os in
11061    nonstopux*) version_type=nonstopux ;;
11062    *)
11063	if test yes = "$lt_cv_prog_gnu_ld"; then
11064		version_type=linux # correct to gnu/linux during the next big refactor
11065	else
11066		version_type=irix
11067	fi ;;
11068  esac
11069  need_lib_prefix=no
11070  need_version=no
11071  soname_spec='$libname$release$shared_ext$major'
11072  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11073  case $host_os in
11074  irix5* | nonstopux*)
11075    libsuff= shlibsuff=
11076    ;;
11077  *)
11078    case $LD in # libtool.m4 will add one of these switches to LD
11079    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11080      libsuff= shlibsuff= libmagic=32-bit;;
11081    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11082      libsuff=32 shlibsuff=N32 libmagic=N32;;
11083    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11084      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11085    *) libsuff= shlibsuff= libmagic=never-match;;
11086    esac
11087    ;;
11088  esac
11089  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11090  shlibpath_overrides_runpath=no
11091  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11092  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11093  hardcode_into_libs=yes
11094  ;;
11095
11096# No shared lib support for Linux oldld, aout, or coff.
11097linux*oldld* | linux*aout* | linux*coff*)
11098  dynamic_linker=no
11099  ;;
11100
11101linux*android*)
11102  version_type=none # Android doesn't support versioned libraries.
11103  need_lib_prefix=no
11104  need_version=no
11105  library_names_spec='$libname$release$shared_ext'
11106  soname_spec='$libname$release$shared_ext'
11107  finish_cmds=
11108  shlibpath_var=LD_LIBRARY_PATH
11109  shlibpath_overrides_runpath=yes
11110
11111  # This implies no fast_install, which is unacceptable.
11112  # Some rework will be needed to allow for fast_install
11113  # before this can be enabled.
11114  hardcode_into_libs=yes
11115
11116  dynamic_linker='Android linker'
11117  # Don't embed -rpath directories since the linker doesn't support them.
11118  hardcode_libdir_flag_spec='-L$libdir'
11119  ;;
11120
11121# This must be glibc/ELF.
11122linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11123  version_type=linux # correct to gnu/linux during the next big refactor
11124  need_lib_prefix=no
11125  need_version=no
11126  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11127  soname_spec='$libname$release$shared_ext$major'
11128  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11129  shlibpath_var=LD_LIBRARY_PATH
11130  shlibpath_overrides_runpath=no
11131
11132  # Some binutils ld are patched to set DT_RUNPATH
11133  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11134  $as_echo_n "(cached) " >&6
11135else
11136  lt_cv_shlibpath_overrides_runpath=no
11137    save_LDFLAGS=$LDFLAGS
11138    save_libdir=$libdir
11139    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11140	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11141    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142/* end confdefs.h.  */
11143
11144int
11145main ()
11146{
11147
11148  ;
11149  return 0;
11150}
11151_ACEOF
11152if ac_fn_c_try_link "$LINENO"; then :
11153  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11154  lt_cv_shlibpath_overrides_runpath=yes
11155fi
11156fi
11157rm -f core conftest.err conftest.$ac_objext \
11158    conftest$ac_exeext conftest.$ac_ext
11159    LDFLAGS=$save_LDFLAGS
11160    libdir=$save_libdir
11161
11162fi
11163
11164  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11165
11166  # This implies no fast_install, which is unacceptable.
11167  # Some rework will be needed to allow for fast_install
11168  # before this can be enabled.
11169  hardcode_into_libs=yes
11170
11171  # Ideally, we could use ldconfig to report *all* directores which are
11172  # searched for libraries, however this is still not possible.  Aside from not
11173  # being certain /sbin/ldconfig is available, command
11174  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11175  # even though it is searched at run-time.  Try to do the best guess by
11176  # appending ld.so.conf contents (and includes) to the search path.
11177  if test -f /etc/ld.so.conf; then
11178    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' ' '`
11179    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11180  fi
11181
11182  # We used to test for /lib/ld.so.1 and disable shared libraries on
11183  # powerpc, because MkLinux only supported shared libraries with the
11184  # GNU dynamic linker.  Since this was broken with cross compilers,
11185  # most powerpc-linux boxes support dynamic linking these days and
11186  # people can always --disable-shared, the test was removed, and we
11187  # assume the GNU/Linux dynamic linker is in use.
11188  dynamic_linker='GNU/Linux ld.so'
11189  ;;
11190
11191netbsdelf*-gnu)
11192  version_type=linux
11193  need_lib_prefix=no
11194  need_version=no
11195  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11196  soname_spec='${libname}${release}${shared_ext}$major'
11197  shlibpath_var=LD_LIBRARY_PATH
11198  shlibpath_overrides_runpath=no
11199  hardcode_into_libs=yes
11200  dynamic_linker='NetBSD ld.elf_so'
11201  ;;
11202
11203netbsd*)
11204  version_type=sunos
11205  need_lib_prefix=no
11206  need_version=no
11207  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11208    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11209    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11210    dynamic_linker='NetBSD (a.out) ld.so'
11211  else
11212    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11213    soname_spec='$libname$release$shared_ext$major'
11214    dynamic_linker='NetBSD ld.elf_so'
11215  fi
11216  shlibpath_var=LD_LIBRARY_PATH
11217  shlibpath_overrides_runpath=yes
11218  hardcode_into_libs=yes
11219  ;;
11220
11221newsos6)
11222  version_type=linux # correct to gnu/linux during the next big refactor
11223  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11224  shlibpath_var=LD_LIBRARY_PATH
11225  shlibpath_overrides_runpath=yes
11226  ;;
11227
11228*nto* | *qnx*)
11229  version_type=qnx
11230  need_lib_prefix=no
11231  need_version=no
11232  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11233  soname_spec='$libname$release$shared_ext$major'
11234  shlibpath_var=LD_LIBRARY_PATH
11235  shlibpath_overrides_runpath=no
11236  hardcode_into_libs=yes
11237  dynamic_linker='ldqnx.so'
11238  ;;
11239
11240openbsd* | bitrig*)
11241  version_type=sunos
11242  sys_lib_dlsearch_path_spec=/usr/lib
11243  need_lib_prefix=no
11244  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11245    need_version=no
11246  else
11247    need_version=yes
11248  fi
11249  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11250  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11251  shlibpath_var=LD_LIBRARY_PATH
11252  shlibpath_overrides_runpath=yes
11253  ;;
11254
11255os2*)
11256  libname_spec='$name'
11257  version_type=windows
11258  shrext_cmds=.dll
11259  need_version=no
11260  need_lib_prefix=no
11261  # OS/2 can only load a DLL with a base name of 8 characters or less.
11262  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11263    v=$($ECHO $release$versuffix | tr -d .-);
11264    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11265    $ECHO $n$v`$shared_ext'
11266  library_names_spec='${libname}_dll.$libext'
11267  dynamic_linker='OS/2 ld.exe'
11268  shlibpath_var=BEGINLIBPATH
11269  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11270  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11271  postinstall_cmds='base_file=`basename \$file`~
11272    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11273    dldir=$destdir/`dirname \$dlpath`~
11274    test -d \$dldir || mkdir -p \$dldir~
11275    $install_prog $dir/$dlname \$dldir/$dlname~
11276    chmod a+x \$dldir/$dlname~
11277    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11278      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11279    fi'
11280  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11281    dlpath=$dir/\$dldll~
11282    $RM \$dlpath'
11283  ;;
11284
11285osf3* | osf4* | osf5*)
11286  version_type=osf
11287  need_lib_prefix=no
11288  need_version=no
11289  soname_spec='$libname$release$shared_ext$major'
11290  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11291  shlibpath_var=LD_LIBRARY_PATH
11292  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11293  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11294  ;;
11295
11296rdos*)
11297  dynamic_linker=no
11298  ;;
11299
11300solaris*)
11301  version_type=linux # correct to gnu/linux during the next big refactor
11302  need_lib_prefix=no
11303  need_version=no
11304  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11305  soname_spec='$libname$release$shared_ext$major'
11306  shlibpath_var=LD_LIBRARY_PATH
11307  shlibpath_overrides_runpath=yes
11308  hardcode_into_libs=yes
11309  # ldd complains unless libraries are executable
11310  postinstall_cmds='chmod +x $lib'
11311  ;;
11312
11313sunos4*)
11314  version_type=sunos
11315  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11316  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11317  shlibpath_var=LD_LIBRARY_PATH
11318  shlibpath_overrides_runpath=yes
11319  if test yes = "$with_gnu_ld"; then
11320    need_lib_prefix=no
11321  fi
11322  need_version=yes
11323  ;;
11324
11325sysv4 | sysv4.3*)
11326  version_type=linux # correct to gnu/linux during the next big refactor
11327  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11328  soname_spec='$libname$release$shared_ext$major'
11329  shlibpath_var=LD_LIBRARY_PATH
11330  case $host_vendor in
11331    sni)
11332      shlibpath_overrides_runpath=no
11333      need_lib_prefix=no
11334      runpath_var=LD_RUN_PATH
11335      ;;
11336    siemens)
11337      need_lib_prefix=no
11338      ;;
11339    motorola)
11340      need_lib_prefix=no
11341      need_version=no
11342      shlibpath_overrides_runpath=no
11343      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11344      ;;
11345  esac
11346  ;;
11347
11348sysv4*MP*)
11349  if test -d /usr/nec; then
11350    version_type=linux # correct to gnu/linux during the next big refactor
11351    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11352    soname_spec='$libname$shared_ext.$major'
11353    shlibpath_var=LD_LIBRARY_PATH
11354  fi
11355  ;;
11356
11357sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11358  version_type=sco
11359  need_lib_prefix=no
11360  need_version=no
11361  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11362  soname_spec='$libname$release$shared_ext$major'
11363  shlibpath_var=LD_LIBRARY_PATH
11364  shlibpath_overrides_runpath=yes
11365  hardcode_into_libs=yes
11366  if test yes = "$with_gnu_ld"; then
11367    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11368  else
11369    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11370    case $host_os in
11371      sco3.2v5*)
11372        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11373	;;
11374    esac
11375  fi
11376  sys_lib_dlsearch_path_spec='/usr/lib'
11377  ;;
11378
11379tpf*)
11380  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11381  version_type=linux # correct to gnu/linux during the next big refactor
11382  need_lib_prefix=no
11383  need_version=no
11384  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11385  shlibpath_var=LD_LIBRARY_PATH
11386  shlibpath_overrides_runpath=no
11387  hardcode_into_libs=yes
11388  ;;
11389
11390uts4*)
11391  version_type=linux # correct to gnu/linux during the next big refactor
11392  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11393  soname_spec='$libname$release$shared_ext$major'
11394  shlibpath_var=LD_LIBRARY_PATH
11395  ;;
11396
11397*)
11398  dynamic_linker=no
11399  ;;
11400esac
11401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11402$as_echo "$dynamic_linker" >&6; }
11403test no = "$dynamic_linker" && can_build_shared=no
11404
11405variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11406if test yes = "$GCC"; then
11407  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11408fi
11409
11410if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11411  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11412fi
11413
11414if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11415  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11416fi
11417
11418# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11419configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11420
11421# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11422func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11423
11424# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11425configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11524$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11525hardcode_action=
11526if test -n "$hardcode_libdir_flag_spec" ||
11527   test -n "$runpath_var" ||
11528   test yes = "$hardcode_automatic"; then
11529
11530  # We can hardcode non-existent directories.
11531  if test no != "$hardcode_direct" &&
11532     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11533     # have to relink, otherwise we might link with an installed library
11534     # when we should be linking with a yet-to-be-installed one
11535     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11536     test no != "$hardcode_minus_L"; then
11537    # Linking always hardcodes the temporary library directory.
11538    hardcode_action=relink
11539  else
11540    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11541    hardcode_action=immediate
11542  fi
11543else
11544  # We cannot hardcode anything, or else we can only hardcode existing
11545  # directories.
11546  hardcode_action=unsupported
11547fi
11548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11549$as_echo "$hardcode_action" >&6; }
11550
11551if test relink = "$hardcode_action" ||
11552   test yes = "$inherit_rpath"; then
11553  # Fast installation is not supported
11554  enable_fast_install=no
11555elif test yes = "$shlibpath_overrides_runpath" ||
11556     test no = "$enable_shared"; then
11557  # Fast installation is not necessary
11558  enable_fast_install=needless
11559fi
11560
11561
11562
11563
11564
11565
11566  if test yes != "$enable_dlopen"; then
11567  enable_dlopen=unknown
11568  enable_dlopen_self=unknown
11569  enable_dlopen_self_static=unknown
11570else
11571  lt_cv_dlopen=no
11572  lt_cv_dlopen_libs=
11573
11574  case $host_os in
11575  beos*)
11576    lt_cv_dlopen=load_add_on
11577    lt_cv_dlopen_libs=
11578    lt_cv_dlopen_self=yes
11579    ;;
11580
11581  mingw* | pw32* | cegcc*)
11582    lt_cv_dlopen=LoadLibrary
11583    lt_cv_dlopen_libs=
11584    ;;
11585
11586  cygwin*)
11587    lt_cv_dlopen=dlopen
11588    lt_cv_dlopen_libs=
11589    ;;
11590
11591  darwin*)
11592    # if libdl is installed we need to link against it
11593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11594$as_echo_n "checking for dlopen in -ldl... " >&6; }
11595if ${ac_cv_lib_dl_dlopen+:} false; then :
11596  $as_echo_n "(cached) " >&6
11597else
11598  ac_check_lib_save_LIBS=$LIBS
11599LIBS="-ldl  $LIBS"
11600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601/* end confdefs.h.  */
11602
11603/* Override any GCC internal prototype to avoid an error.
11604   Use char because int might match the return type of a GCC
11605   builtin and then its argument prototype would still apply.  */
11606#ifdef __cplusplus
11607extern "C"
11608#endif
11609char dlopen ();
11610int
11611main ()
11612{
11613return dlopen ();
11614  ;
11615  return 0;
11616}
11617_ACEOF
11618if ac_fn_c_try_link "$LINENO"; then :
11619  ac_cv_lib_dl_dlopen=yes
11620else
11621  ac_cv_lib_dl_dlopen=no
11622fi
11623rm -f core conftest.err conftest.$ac_objext \
11624    conftest$ac_exeext conftest.$ac_ext
11625LIBS=$ac_check_lib_save_LIBS
11626fi
11627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11628$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11629if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11630  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11631else
11632
11633    lt_cv_dlopen=dyld
11634    lt_cv_dlopen_libs=
11635    lt_cv_dlopen_self=yes
11636
11637fi
11638
11639    ;;
11640
11641  tpf*)
11642    # Don't try to run any link tests for TPF.  We know it's impossible
11643    # because TPF is a cross-compiler, and we know how we open DSOs.
11644    lt_cv_dlopen=dlopen
11645    lt_cv_dlopen_libs=
11646    lt_cv_dlopen_self=no
11647    ;;
11648
11649  *)
11650    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11651if test "x$ac_cv_func_shl_load" = xyes; then :
11652  lt_cv_dlopen=shl_load
11653else
11654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11655$as_echo_n "checking for shl_load in -ldld... " >&6; }
11656if ${ac_cv_lib_dld_shl_load+:} false; then :
11657  $as_echo_n "(cached) " >&6
11658else
11659  ac_check_lib_save_LIBS=$LIBS
11660LIBS="-ldld  $LIBS"
11661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662/* end confdefs.h.  */
11663
11664/* Override any GCC internal prototype to avoid an error.
11665   Use char because int might match the return type of a GCC
11666   builtin and then its argument prototype would still apply.  */
11667#ifdef __cplusplus
11668extern "C"
11669#endif
11670char shl_load ();
11671int
11672main ()
11673{
11674return shl_load ();
11675  ;
11676  return 0;
11677}
11678_ACEOF
11679if ac_fn_c_try_link "$LINENO"; then :
11680  ac_cv_lib_dld_shl_load=yes
11681else
11682  ac_cv_lib_dld_shl_load=no
11683fi
11684rm -f core conftest.err conftest.$ac_objext \
11685    conftest$ac_exeext conftest.$ac_ext
11686LIBS=$ac_check_lib_save_LIBS
11687fi
11688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11689$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11690if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11691  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11692else
11693  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11694if test "x$ac_cv_func_dlopen" = xyes; then :
11695  lt_cv_dlopen=dlopen
11696else
11697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11698$as_echo_n "checking for dlopen in -ldl... " >&6; }
11699if ${ac_cv_lib_dl_dlopen+:} false; then :
11700  $as_echo_n "(cached) " >&6
11701else
11702  ac_check_lib_save_LIBS=$LIBS
11703LIBS="-ldl  $LIBS"
11704cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11705/* end confdefs.h.  */
11706
11707/* Override any GCC internal prototype to avoid an error.
11708   Use char because int might match the return type of a GCC
11709   builtin and then its argument prototype would still apply.  */
11710#ifdef __cplusplus
11711extern "C"
11712#endif
11713char dlopen ();
11714int
11715main ()
11716{
11717return dlopen ();
11718  ;
11719  return 0;
11720}
11721_ACEOF
11722if ac_fn_c_try_link "$LINENO"; then :
11723  ac_cv_lib_dl_dlopen=yes
11724else
11725  ac_cv_lib_dl_dlopen=no
11726fi
11727rm -f core conftest.err conftest.$ac_objext \
11728    conftest$ac_exeext conftest.$ac_ext
11729LIBS=$ac_check_lib_save_LIBS
11730fi
11731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11732$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11733if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11734  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11735else
11736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11737$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11738if ${ac_cv_lib_svld_dlopen+:} false; then :
11739  $as_echo_n "(cached) " >&6
11740else
11741  ac_check_lib_save_LIBS=$LIBS
11742LIBS="-lsvld  $LIBS"
11743cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744/* end confdefs.h.  */
11745
11746/* Override any GCC internal prototype to avoid an error.
11747   Use char because int might match the return type of a GCC
11748   builtin and then its argument prototype would still apply.  */
11749#ifdef __cplusplus
11750extern "C"
11751#endif
11752char dlopen ();
11753int
11754main ()
11755{
11756return dlopen ();
11757  ;
11758  return 0;
11759}
11760_ACEOF
11761if ac_fn_c_try_link "$LINENO"; then :
11762  ac_cv_lib_svld_dlopen=yes
11763else
11764  ac_cv_lib_svld_dlopen=no
11765fi
11766rm -f core conftest.err conftest.$ac_objext \
11767    conftest$ac_exeext conftest.$ac_ext
11768LIBS=$ac_check_lib_save_LIBS
11769fi
11770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11771$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11772if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11773  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11774else
11775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11776$as_echo_n "checking for dld_link in -ldld... " >&6; }
11777if ${ac_cv_lib_dld_dld_link+:} false; then :
11778  $as_echo_n "(cached) " >&6
11779else
11780  ac_check_lib_save_LIBS=$LIBS
11781LIBS="-ldld  $LIBS"
11782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783/* end confdefs.h.  */
11784
11785/* Override any GCC internal prototype to avoid an error.
11786   Use char because int might match the return type of a GCC
11787   builtin and then its argument prototype would still apply.  */
11788#ifdef __cplusplus
11789extern "C"
11790#endif
11791char dld_link ();
11792int
11793main ()
11794{
11795return dld_link ();
11796  ;
11797  return 0;
11798}
11799_ACEOF
11800if ac_fn_c_try_link "$LINENO"; then :
11801  ac_cv_lib_dld_dld_link=yes
11802else
11803  ac_cv_lib_dld_dld_link=no
11804fi
11805rm -f core conftest.err conftest.$ac_objext \
11806    conftest$ac_exeext conftest.$ac_ext
11807LIBS=$ac_check_lib_save_LIBS
11808fi
11809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11810$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11811if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11812  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11813fi
11814
11815
11816fi
11817
11818
11819fi
11820
11821
11822fi
11823
11824
11825fi
11826
11827
11828fi
11829
11830    ;;
11831  esac
11832
11833  if test no = "$lt_cv_dlopen"; then
11834    enable_dlopen=no
11835  else
11836    enable_dlopen=yes
11837  fi
11838
11839  case $lt_cv_dlopen in
11840  dlopen)
11841    save_CPPFLAGS=$CPPFLAGS
11842    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11843
11844    save_LDFLAGS=$LDFLAGS
11845    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11846
11847    save_LIBS=$LIBS
11848    LIBS="$lt_cv_dlopen_libs $LIBS"
11849
11850    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11851$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11852if ${lt_cv_dlopen_self+:} false; then :
11853  $as_echo_n "(cached) " >&6
11854else
11855  	  if test yes = "$cross_compiling"; then :
11856  lt_cv_dlopen_self=cross
11857else
11858  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11859  lt_status=$lt_dlunknown
11860  cat > conftest.$ac_ext <<_LT_EOF
11861#line $LINENO "configure"
11862#include "confdefs.h"
11863
11864#if HAVE_DLFCN_H
11865#include <dlfcn.h>
11866#endif
11867
11868#include <stdio.h>
11869
11870#ifdef RTLD_GLOBAL
11871#  define LT_DLGLOBAL		RTLD_GLOBAL
11872#else
11873#  ifdef DL_GLOBAL
11874#    define LT_DLGLOBAL		DL_GLOBAL
11875#  else
11876#    define LT_DLGLOBAL		0
11877#  endif
11878#endif
11879
11880/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11881   find out it does not work in some platform. */
11882#ifndef LT_DLLAZY_OR_NOW
11883#  ifdef RTLD_LAZY
11884#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11885#  else
11886#    ifdef DL_LAZY
11887#      define LT_DLLAZY_OR_NOW		DL_LAZY
11888#    else
11889#      ifdef RTLD_NOW
11890#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11891#      else
11892#        ifdef DL_NOW
11893#          define LT_DLLAZY_OR_NOW	DL_NOW
11894#        else
11895#          define LT_DLLAZY_OR_NOW	0
11896#        endif
11897#      endif
11898#    endif
11899#  endif
11900#endif
11901
11902/* When -fvisibility=hidden is used, assume the code has been annotated
11903   correspondingly for the symbols needed.  */
11904#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11905int fnord () __attribute__((visibility("default")));
11906#endif
11907
11908int fnord () { return 42; }
11909int main ()
11910{
11911  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11912  int status = $lt_dlunknown;
11913
11914  if (self)
11915    {
11916      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11917      else
11918        {
11919	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11920          else puts (dlerror ());
11921	}
11922      /* dlclose (self); */
11923    }
11924  else
11925    puts (dlerror ());
11926
11927  return status;
11928}
11929_LT_EOF
11930  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11931  (eval $ac_link) 2>&5
11932  ac_status=$?
11933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11935    (./conftest; exit; ) >&5 2>/dev/null
11936    lt_status=$?
11937    case x$lt_status in
11938      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11939      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11940      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11941    esac
11942  else :
11943    # compilation failed
11944    lt_cv_dlopen_self=no
11945  fi
11946fi
11947rm -fr conftest*
11948
11949
11950fi
11951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11952$as_echo "$lt_cv_dlopen_self" >&6; }
11953
11954    if test yes = "$lt_cv_dlopen_self"; then
11955      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11956      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11957$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11958if ${lt_cv_dlopen_self_static+:} false; then :
11959  $as_echo_n "(cached) " >&6
11960else
11961  	  if test yes = "$cross_compiling"; then :
11962  lt_cv_dlopen_self_static=cross
11963else
11964  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11965  lt_status=$lt_dlunknown
11966  cat > conftest.$ac_ext <<_LT_EOF
11967#line $LINENO "configure"
11968#include "confdefs.h"
11969
11970#if HAVE_DLFCN_H
11971#include <dlfcn.h>
11972#endif
11973
11974#include <stdio.h>
11975
11976#ifdef RTLD_GLOBAL
11977#  define LT_DLGLOBAL		RTLD_GLOBAL
11978#else
11979#  ifdef DL_GLOBAL
11980#    define LT_DLGLOBAL		DL_GLOBAL
11981#  else
11982#    define LT_DLGLOBAL		0
11983#  endif
11984#endif
11985
11986/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11987   find out it does not work in some platform. */
11988#ifndef LT_DLLAZY_OR_NOW
11989#  ifdef RTLD_LAZY
11990#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11991#  else
11992#    ifdef DL_LAZY
11993#      define LT_DLLAZY_OR_NOW		DL_LAZY
11994#    else
11995#      ifdef RTLD_NOW
11996#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11997#      else
11998#        ifdef DL_NOW
11999#          define LT_DLLAZY_OR_NOW	DL_NOW
12000#        else
12001#          define LT_DLLAZY_OR_NOW	0
12002#        endif
12003#      endif
12004#    endif
12005#  endif
12006#endif
12007
12008/* When -fvisibility=hidden is used, assume the code has been annotated
12009   correspondingly for the symbols needed.  */
12010#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12011int fnord () __attribute__((visibility("default")));
12012#endif
12013
12014int fnord () { return 42; }
12015int main ()
12016{
12017  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12018  int status = $lt_dlunknown;
12019
12020  if (self)
12021    {
12022      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12023      else
12024        {
12025	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12026          else puts (dlerror ());
12027	}
12028      /* dlclose (self); */
12029    }
12030  else
12031    puts (dlerror ());
12032
12033  return status;
12034}
12035_LT_EOF
12036  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12037  (eval $ac_link) 2>&5
12038  ac_status=$?
12039  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12040  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12041    (./conftest; exit; ) >&5 2>/dev/null
12042    lt_status=$?
12043    case x$lt_status in
12044      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12045      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12046      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12047    esac
12048  else :
12049    # compilation failed
12050    lt_cv_dlopen_self_static=no
12051  fi
12052fi
12053rm -fr conftest*
12054
12055
12056fi
12057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12058$as_echo "$lt_cv_dlopen_self_static" >&6; }
12059    fi
12060
12061    CPPFLAGS=$save_CPPFLAGS
12062    LDFLAGS=$save_LDFLAGS
12063    LIBS=$save_LIBS
12064    ;;
12065  esac
12066
12067  case $lt_cv_dlopen_self in
12068  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12069  *) enable_dlopen_self=unknown ;;
12070  esac
12071
12072  case $lt_cv_dlopen_self_static in
12073  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12074  *) enable_dlopen_self_static=unknown ;;
12075  esac
12076fi
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094striplib=
12095old_striplib=
12096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12097$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12098if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12099  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12100  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12102$as_echo "yes" >&6; }
12103else
12104# FIXME - insert some real tests, host_os isn't really good enough
12105  case $host_os in
12106  darwin*)
12107    if test -n "$STRIP"; then
12108      striplib="$STRIP -x"
12109      old_striplib="$STRIP -S"
12110      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12111$as_echo "yes" >&6; }
12112    else
12113      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12114$as_echo "no" >&6; }
12115    fi
12116    ;;
12117  *)
12118    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12119$as_echo "no" >&6; }
12120    ;;
12121  esac
12122fi
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135  # Report what library types will actually be built
12136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12137$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12139$as_echo "$can_build_shared" >&6; }
12140
12141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12142$as_echo_n "checking whether to build shared libraries... " >&6; }
12143  test no = "$can_build_shared" && enable_shared=no
12144
12145  # On AIX, shared libraries and static libraries use the same namespace, and
12146  # are all built from PIC.
12147  case $host_os in
12148  aix3*)
12149    test yes = "$enable_shared" && enable_static=no
12150    if test -n "$RANLIB"; then
12151      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12152      postinstall_cmds='$RANLIB $lib'
12153    fi
12154    ;;
12155
12156  aix[4-9]*)
12157    if test ia64 != "$host_cpu"; then
12158      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12159      yes,aix,yes) ;;			# shared object as lib.so file only
12160      yes,svr4,*) ;;			# shared object as lib.so archive member only
12161      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12162      esac
12163    fi
12164    ;;
12165  esac
12166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12167$as_echo "$enable_shared" >&6; }
12168
12169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12170$as_echo_n "checking whether to build static libraries... " >&6; }
12171  # Make sure either enable_shared or enable_static is yes.
12172  test yes = "$enable_shared" || enable_static=yes
12173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12174$as_echo "$enable_static" >&6; }
12175
12176
12177
12178
12179fi
12180ac_ext=c
12181ac_cpp='$CPP $CPPFLAGS'
12182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12184ac_compiler_gnu=$ac_cv_c_compiler_gnu
12185
12186CC=$lt_save_CC
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202        ac_config_commands="$ac_config_commands libtool"
12203
12204
12205
12206
12207# Only expand once:
12208
12209
12210
12211ac_ext=c
12212ac_cpp='$CPP $CPPFLAGS'
12213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12215ac_compiler_gnu=$ac_cv_c_compiler_gnu
12216if test -n "$ac_tool_prefix"; then
12217  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12218set dummy ${ac_tool_prefix}gcc; ac_word=$2
12219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12220$as_echo_n "checking for $ac_word... " >&6; }
12221if ${ac_cv_prog_CC+:} false; then :
12222  $as_echo_n "(cached) " >&6
12223else
12224  if test -n "$CC"; then
12225  ac_cv_prog_CC="$CC" # Let the user override the test.
12226else
12227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228for as_dir in $PATH
12229do
12230  IFS=$as_save_IFS
12231  test -z "$as_dir" && as_dir=.
12232    for ac_exec_ext in '' $ac_executable_extensions; do
12233  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12234    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12235    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12236    break 2
12237  fi
12238done
12239  done
12240IFS=$as_save_IFS
12241
12242fi
12243fi
12244CC=$ac_cv_prog_CC
12245if test -n "$CC"; then
12246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12247$as_echo "$CC" >&6; }
12248else
12249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250$as_echo "no" >&6; }
12251fi
12252
12253
12254fi
12255if test -z "$ac_cv_prog_CC"; then
12256  ac_ct_CC=$CC
12257  # Extract the first word of "gcc", so it can be a program name with args.
12258set dummy gcc; ac_word=$2
12259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12260$as_echo_n "checking for $ac_word... " >&6; }
12261if ${ac_cv_prog_ac_ct_CC+:} false; then :
12262  $as_echo_n "(cached) " >&6
12263else
12264  if test -n "$ac_ct_CC"; then
12265  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12266else
12267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12268for as_dir in $PATH
12269do
12270  IFS=$as_save_IFS
12271  test -z "$as_dir" && as_dir=.
12272    for ac_exec_ext in '' $ac_executable_extensions; do
12273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12274    ac_cv_prog_ac_ct_CC="gcc"
12275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12276    break 2
12277  fi
12278done
12279  done
12280IFS=$as_save_IFS
12281
12282fi
12283fi
12284ac_ct_CC=$ac_cv_prog_ac_ct_CC
12285if test -n "$ac_ct_CC"; then
12286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12287$as_echo "$ac_ct_CC" >&6; }
12288else
12289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290$as_echo "no" >&6; }
12291fi
12292
12293  if test "x$ac_ct_CC" = x; then
12294    CC=""
12295  else
12296    case $cross_compiling:$ac_tool_warned in
12297yes:)
12298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12300ac_tool_warned=yes ;;
12301esac
12302    CC=$ac_ct_CC
12303  fi
12304else
12305  CC="$ac_cv_prog_CC"
12306fi
12307
12308if test -z "$CC"; then
12309          if test -n "$ac_tool_prefix"; then
12310    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12311set dummy ${ac_tool_prefix}cc; ac_word=$2
12312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12313$as_echo_n "checking for $ac_word... " >&6; }
12314if ${ac_cv_prog_CC+:} false; then :
12315  $as_echo_n "(cached) " >&6
12316else
12317  if test -n "$CC"; then
12318  ac_cv_prog_CC="$CC" # Let the user override the test.
12319else
12320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12321for as_dir in $PATH
12322do
12323  IFS=$as_save_IFS
12324  test -z "$as_dir" && as_dir=.
12325    for ac_exec_ext in '' $ac_executable_extensions; do
12326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12327    ac_cv_prog_CC="${ac_tool_prefix}cc"
12328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12329    break 2
12330  fi
12331done
12332  done
12333IFS=$as_save_IFS
12334
12335fi
12336fi
12337CC=$ac_cv_prog_CC
12338if test -n "$CC"; then
12339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12340$as_echo "$CC" >&6; }
12341else
12342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12343$as_echo "no" >&6; }
12344fi
12345
12346
12347  fi
12348fi
12349if test -z "$CC"; then
12350  # Extract the first word of "cc", so it can be a program name with args.
12351set dummy cc; ac_word=$2
12352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12353$as_echo_n "checking for $ac_word... " >&6; }
12354if ${ac_cv_prog_CC+:} false; then :
12355  $as_echo_n "(cached) " >&6
12356else
12357  if test -n "$CC"; then
12358  ac_cv_prog_CC="$CC" # Let the user override the test.
12359else
12360  ac_prog_rejected=no
12361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12362for as_dir in $PATH
12363do
12364  IFS=$as_save_IFS
12365  test -z "$as_dir" && as_dir=.
12366    for ac_exec_ext in '' $ac_executable_extensions; do
12367  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12368    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12369       ac_prog_rejected=yes
12370       continue
12371     fi
12372    ac_cv_prog_CC="cc"
12373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12374    break 2
12375  fi
12376done
12377  done
12378IFS=$as_save_IFS
12379
12380if test $ac_prog_rejected = yes; then
12381  # We found a bogon in the path, so make sure we never use it.
12382  set dummy $ac_cv_prog_CC
12383  shift
12384  if test $# != 0; then
12385    # We chose a different compiler from the bogus one.
12386    # However, it has the same basename, so the bogon will be chosen
12387    # first if we set CC to just the basename; use the full file name.
12388    shift
12389    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12390  fi
12391fi
12392fi
12393fi
12394CC=$ac_cv_prog_CC
12395if test -n "$CC"; then
12396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12397$as_echo "$CC" >&6; }
12398else
12399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12400$as_echo "no" >&6; }
12401fi
12402
12403
12404fi
12405if test -z "$CC"; then
12406  if test -n "$ac_tool_prefix"; then
12407  for ac_prog in cl.exe
12408  do
12409    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12410set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12412$as_echo_n "checking for $ac_word... " >&6; }
12413if ${ac_cv_prog_CC+:} false; then :
12414  $as_echo_n "(cached) " >&6
12415else
12416  if test -n "$CC"; then
12417  ac_cv_prog_CC="$CC" # Let the user override the test.
12418else
12419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420for as_dir in $PATH
12421do
12422  IFS=$as_save_IFS
12423  test -z "$as_dir" && as_dir=.
12424    for ac_exec_ext in '' $ac_executable_extensions; do
12425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12426    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12428    break 2
12429  fi
12430done
12431  done
12432IFS=$as_save_IFS
12433
12434fi
12435fi
12436CC=$ac_cv_prog_CC
12437if test -n "$CC"; then
12438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12439$as_echo "$CC" >&6; }
12440else
12441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12442$as_echo "no" >&6; }
12443fi
12444
12445
12446    test -n "$CC" && break
12447  done
12448fi
12449if test -z "$CC"; then
12450  ac_ct_CC=$CC
12451  for ac_prog in cl.exe
12452do
12453  # Extract the first word of "$ac_prog", so it can be a program name with args.
12454set dummy $ac_prog; ac_word=$2
12455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12456$as_echo_n "checking for $ac_word... " >&6; }
12457if ${ac_cv_prog_ac_ct_CC+:} false; then :
12458  $as_echo_n "(cached) " >&6
12459else
12460  if test -n "$ac_ct_CC"; then
12461  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12462else
12463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12464for as_dir in $PATH
12465do
12466  IFS=$as_save_IFS
12467  test -z "$as_dir" && as_dir=.
12468    for ac_exec_ext in '' $ac_executable_extensions; do
12469  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12470    ac_cv_prog_ac_ct_CC="$ac_prog"
12471    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12472    break 2
12473  fi
12474done
12475  done
12476IFS=$as_save_IFS
12477
12478fi
12479fi
12480ac_ct_CC=$ac_cv_prog_ac_ct_CC
12481if test -n "$ac_ct_CC"; then
12482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12483$as_echo "$ac_ct_CC" >&6; }
12484else
12485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486$as_echo "no" >&6; }
12487fi
12488
12489
12490  test -n "$ac_ct_CC" && break
12491done
12492
12493  if test "x$ac_ct_CC" = x; then
12494    CC=""
12495  else
12496    case $cross_compiling:$ac_tool_warned in
12497yes:)
12498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12500ac_tool_warned=yes ;;
12501esac
12502    CC=$ac_ct_CC
12503  fi
12504fi
12505
12506fi
12507
12508
12509test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12511as_fn_error $? "no acceptable C compiler found in \$PATH
12512See \`config.log' for more details" "$LINENO" 5; }
12513
12514# Provide some information about the compiler.
12515$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12516set X $ac_compile
12517ac_compiler=$2
12518for ac_option in --version -v -V -qversion; do
12519  { { ac_try="$ac_compiler $ac_option >&5"
12520case "(($ac_try" in
12521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12522  *) ac_try_echo=$ac_try;;
12523esac
12524eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12525$as_echo "$ac_try_echo"; } >&5
12526  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12527  ac_status=$?
12528  if test -s conftest.err; then
12529    sed '10a\
12530... rest of stderr output deleted ...
12531         10q' conftest.err >conftest.er1
12532    cat conftest.er1 >&5
12533  fi
12534  rm -f conftest.er1 conftest.err
12535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536  test $ac_status = 0; }
12537done
12538
12539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12540$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12541if ${ac_cv_c_compiler_gnu+:} false; then :
12542  $as_echo_n "(cached) " >&6
12543else
12544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545/* end confdefs.h.  */
12546
12547int
12548main ()
12549{
12550#ifndef __GNUC__
12551       choke me
12552#endif
12553
12554  ;
12555  return 0;
12556}
12557_ACEOF
12558if ac_fn_c_try_compile "$LINENO"; then :
12559  ac_compiler_gnu=yes
12560else
12561  ac_compiler_gnu=no
12562fi
12563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12564ac_cv_c_compiler_gnu=$ac_compiler_gnu
12565
12566fi
12567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12568$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12569if test $ac_compiler_gnu = yes; then
12570  GCC=yes
12571else
12572  GCC=
12573fi
12574ac_test_CFLAGS=${CFLAGS+set}
12575ac_save_CFLAGS=$CFLAGS
12576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12577$as_echo_n "checking whether $CC accepts -g... " >&6; }
12578if ${ac_cv_prog_cc_g+:} false; then :
12579  $as_echo_n "(cached) " >&6
12580else
12581  ac_save_c_werror_flag=$ac_c_werror_flag
12582   ac_c_werror_flag=yes
12583   ac_cv_prog_cc_g=no
12584   CFLAGS="-g"
12585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586/* end confdefs.h.  */
12587
12588int
12589main ()
12590{
12591
12592  ;
12593  return 0;
12594}
12595_ACEOF
12596if ac_fn_c_try_compile "$LINENO"; then :
12597  ac_cv_prog_cc_g=yes
12598else
12599  CFLAGS=""
12600      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601/* end confdefs.h.  */
12602
12603int
12604main ()
12605{
12606
12607  ;
12608  return 0;
12609}
12610_ACEOF
12611if ac_fn_c_try_compile "$LINENO"; then :
12612
12613else
12614  ac_c_werror_flag=$ac_save_c_werror_flag
12615	 CFLAGS="-g"
12616	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617/* end confdefs.h.  */
12618
12619int
12620main ()
12621{
12622
12623  ;
12624  return 0;
12625}
12626_ACEOF
12627if ac_fn_c_try_compile "$LINENO"; then :
12628  ac_cv_prog_cc_g=yes
12629fi
12630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12631fi
12632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12633fi
12634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12635   ac_c_werror_flag=$ac_save_c_werror_flag
12636fi
12637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12638$as_echo "$ac_cv_prog_cc_g" >&6; }
12639if test "$ac_test_CFLAGS" = set; then
12640  CFLAGS=$ac_save_CFLAGS
12641elif test $ac_cv_prog_cc_g = yes; then
12642  if test "$GCC" = yes; then
12643    CFLAGS="-g -O2"
12644  else
12645    CFLAGS="-g"
12646  fi
12647else
12648  if test "$GCC" = yes; then
12649    CFLAGS="-O2"
12650  else
12651    CFLAGS=
12652  fi
12653fi
12654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12655$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12656if ${ac_cv_prog_cc_c89+:} false; then :
12657  $as_echo_n "(cached) " >&6
12658else
12659  ac_cv_prog_cc_c89=no
12660ac_save_CC=$CC
12661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662/* end confdefs.h.  */
12663#include <stdarg.h>
12664#include <stdio.h>
12665struct stat;
12666/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12667struct buf { int x; };
12668FILE * (*rcsopen) (struct buf *, struct stat *, int);
12669static char *e (p, i)
12670     char **p;
12671     int i;
12672{
12673  return p[i];
12674}
12675static char *f (char * (*g) (char **, int), char **p, ...)
12676{
12677  char *s;
12678  va_list v;
12679  va_start (v,p);
12680  s = g (p, va_arg (v,int));
12681  va_end (v);
12682  return s;
12683}
12684
12685/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12686   function prototypes and stuff, but not '\xHH' hex character constants.
12687   These don't provoke an error unfortunately, instead are silently treated
12688   as 'x'.  The following induces an error, until -std is added to get
12689   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12690   array size at least.  It's necessary to write '\x00'==0 to get something
12691   that's true only with -std.  */
12692int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12693
12694/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12695   inside strings and character constants.  */
12696#define FOO(x) 'x'
12697int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12698
12699int test (int i, double x);
12700struct s1 {int (*f) (int a);};
12701struct s2 {int (*f) (double a);};
12702int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12703int argc;
12704char **argv;
12705int
12706main ()
12707{
12708return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12709  ;
12710  return 0;
12711}
12712_ACEOF
12713for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12714	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12715do
12716  CC="$ac_save_CC $ac_arg"
12717  if ac_fn_c_try_compile "$LINENO"; then :
12718  ac_cv_prog_cc_c89=$ac_arg
12719fi
12720rm -f core conftest.err conftest.$ac_objext
12721  test "x$ac_cv_prog_cc_c89" != "xno" && break
12722done
12723rm -f conftest.$ac_ext
12724CC=$ac_save_CC
12725
12726fi
12727# AC_CACHE_VAL
12728case "x$ac_cv_prog_cc_c89" in
12729  x)
12730    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12731$as_echo "none needed" >&6; } ;;
12732  xno)
12733    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12734$as_echo "unsupported" >&6; } ;;
12735  *)
12736    CC="$CC $ac_cv_prog_cc_c89"
12737    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12738$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12739esac
12740if test "x$ac_cv_prog_cc_c89" != xno; then :
12741
12742fi
12743
12744ac_ext=c
12745ac_cpp='$CPP $CPPFLAGS'
12746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12748ac_compiler_gnu=$ac_cv_c_compiler_gnu
12749
12750ac_ext=c
12751ac_cpp='$CPP $CPPFLAGS'
12752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12754ac_compiler_gnu=$ac_cv_c_compiler_gnu
12755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12756$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12757if ${am_cv_prog_cc_c_o+:} false; then :
12758  $as_echo_n "(cached) " >&6
12759else
12760  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761/* end confdefs.h.  */
12762
12763int
12764main ()
12765{
12766
12767  ;
12768  return 0;
12769}
12770_ACEOF
12771  # Make sure it works both with $CC and with simple cc.
12772  # Following AC_PROG_CC_C_O, we do the test twice because some
12773  # compilers refuse to overwrite an existing .o file with -o,
12774  # though they will create one.
12775  am_cv_prog_cc_c_o=yes
12776  for am_i in 1 2; do
12777    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12778   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12779   ac_status=$?
12780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781   (exit $ac_status); } \
12782         && test -f conftest2.$ac_objext; then
12783      : OK
12784    else
12785      am_cv_prog_cc_c_o=no
12786      break
12787    fi
12788  done
12789  rm -f core conftest*
12790  unset am_i
12791fi
12792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12793$as_echo "$am_cv_prog_cc_c_o" >&6; }
12794if test "$am_cv_prog_cc_c_o" != yes; then
12795   # Losing compiler, so override with the script.
12796   # FIXME: It is wrong to rewrite CC.
12797   # But if we don't then we get into trouble of one sort or another.
12798   # A longer-term fix would be to have automake use am__CC in this case,
12799   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12800   CC="$am_aux_dir/compile $CC"
12801fi
12802ac_ext=c
12803ac_cpp='$CPP $CPPFLAGS'
12804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12806ac_compiler_gnu=$ac_cv_c_compiler_gnu
12807
12808
12809depcc="$CC"   am_compiler_list=
12810
12811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12812$as_echo_n "checking dependency style of $depcc... " >&6; }
12813if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12814  $as_echo_n "(cached) " >&6
12815else
12816  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12817  # We make a subdir and do the tests there.  Otherwise we can end up
12818  # making bogus files that we don't know about and never remove.  For
12819  # instance it was reported that on HP-UX the gcc test will end up
12820  # making a dummy file named 'D' -- because '-MD' means "put the output
12821  # in D".
12822  rm -rf conftest.dir
12823  mkdir conftest.dir
12824  # Copy depcomp to subdir because otherwise we won't find it if we're
12825  # using a relative directory.
12826  cp "$am_depcomp" conftest.dir
12827  cd conftest.dir
12828  # We will build objects and dependencies in a subdirectory because
12829  # it helps to detect inapplicable dependency modes.  For instance
12830  # both Tru64's cc and ICC support -MD to output dependencies as a
12831  # side effect of compilation, but ICC will put the dependencies in
12832  # the current directory while Tru64 will put them in the object
12833  # directory.
12834  mkdir sub
12835
12836  am_cv_CC_dependencies_compiler_type=none
12837  if test "$am_compiler_list" = ""; then
12838     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12839  fi
12840  am__universal=false
12841  case " $depcc " in #(
12842     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12843     esac
12844
12845  for depmode in $am_compiler_list; do
12846    # Setup a source with many dependencies, because some compilers
12847    # like to wrap large dependency lists on column 80 (with \), and
12848    # we should not choose a depcomp mode which is confused by this.
12849    #
12850    # We need to recreate these files for each test, as the compiler may
12851    # overwrite some of them when testing with obscure command lines.
12852    # This happens at least with the AIX C compiler.
12853    : > sub/conftest.c
12854    for i in 1 2 3 4 5 6; do
12855      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12856      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12857      # Solaris 10 /bin/sh.
12858      echo '/* dummy */' > sub/conftst$i.h
12859    done
12860    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12861
12862    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12863    # mode.  It turns out that the SunPro C++ compiler does not properly
12864    # handle '-M -o', and we need to detect this.  Also, some Intel
12865    # versions had trouble with output in subdirs.
12866    am__obj=sub/conftest.${OBJEXT-o}
12867    am__minus_obj="-o $am__obj"
12868    case $depmode in
12869    gcc)
12870      # This depmode causes a compiler race in universal mode.
12871      test "$am__universal" = false || continue
12872      ;;
12873    nosideeffect)
12874      # After this tag, mechanisms are not by side-effect, so they'll
12875      # only be used when explicitly requested.
12876      if test "x$enable_dependency_tracking" = xyes; then
12877	continue
12878      else
12879	break
12880      fi
12881      ;;
12882    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12883      # This compiler won't grok '-c -o', but also, the minuso test has
12884      # not run yet.  These depmodes are late enough in the game, and
12885      # so weak that their functioning should not be impacted.
12886      am__obj=conftest.${OBJEXT-o}
12887      am__minus_obj=
12888      ;;
12889    none) break ;;
12890    esac
12891    if depmode=$depmode \
12892       source=sub/conftest.c object=$am__obj \
12893       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12894       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12895         >/dev/null 2>conftest.err &&
12896       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12897       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12898       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12899       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12900      # icc doesn't choke on unknown options, it will just issue warnings
12901      # or remarks (even with -Werror).  So we grep stderr for any message
12902      # that says an option was ignored or not supported.
12903      # When given -MP, icc 7.0 and 7.1 complain thusly:
12904      #   icc: Command line warning: ignoring option '-M'; no argument required
12905      # The diagnosis changed in icc 8.0:
12906      #   icc: Command line remark: option '-MP' not supported
12907      if (grep 'ignoring option' conftest.err ||
12908          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12909        am_cv_CC_dependencies_compiler_type=$depmode
12910        break
12911      fi
12912    fi
12913  done
12914
12915  cd ..
12916  rm -rf conftest.dir
12917else
12918  am_cv_CC_dependencies_compiler_type=none
12919fi
12920
12921fi
12922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12923$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12924CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12925
12926 if
12927  test "x$enable_dependency_tracking" != xno \
12928  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12929  am__fastdepCC_TRUE=
12930  am__fastdepCC_FALSE='#'
12931else
12932  am__fastdepCC_TRUE='#'
12933  am__fastdepCC_FALSE=
12934fi
12935
12936
12937
12938
12939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12940$as_echo_n "checking whether NLS is requested... " >&6; }
12941    # Check whether --enable-nls was given.
12942if test "${enable_nls+set}" = set; then :
12943  enableval=$enable_nls; USE_NLS=$enableval
12944else
12945  USE_NLS=yes
12946fi
12947
12948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12949$as_echo "$USE_NLS" >&6; }
12950
12951
12952
12953
12954case "$am__api_version" in
12955    1.01234)
12956	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12957    ;;
12958    *)
12959    ;;
12960esac
12961
12962INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12963INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12964INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12965if test -n "0.35.0"; then
12966    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12967$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12968    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12969$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12970    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12971	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
12972fi
12973
12974# Extract the first word of "intltool-update", so it can be a program name with args.
12975set dummy intltool-update; ac_word=$2
12976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12977$as_echo_n "checking for $ac_word... " >&6; }
12978if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12979  $as_echo_n "(cached) " >&6
12980else
12981  case $INTLTOOL_UPDATE in
12982  [\\/]* | ?:[\\/]*)
12983  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12984  ;;
12985  *)
12986  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12987for as_dir in $PATH
12988do
12989  IFS=$as_save_IFS
12990  test -z "$as_dir" && as_dir=.
12991    for ac_exec_ext in '' $ac_executable_extensions; do
12992  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12993    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12995    break 2
12996  fi
12997done
12998  done
12999IFS=$as_save_IFS
13000
13001  ;;
13002esac
13003fi
13004INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13005if test -n "$INTLTOOL_UPDATE"; then
13006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13007$as_echo "$INTLTOOL_UPDATE" >&6; }
13008else
13009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13010$as_echo "no" >&6; }
13011fi
13012
13013
13014# Extract the first word of "intltool-merge", so it can be a program name with args.
13015set dummy intltool-merge; ac_word=$2
13016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13017$as_echo_n "checking for $ac_word... " >&6; }
13018if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13019  $as_echo_n "(cached) " >&6
13020else
13021  case $INTLTOOL_MERGE in
13022  [\\/]* | ?:[\\/]*)
13023  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13024  ;;
13025  *)
13026  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13027for as_dir in $PATH
13028do
13029  IFS=$as_save_IFS
13030  test -z "$as_dir" && as_dir=.
13031    for ac_exec_ext in '' $ac_executable_extensions; do
13032  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13033    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13035    break 2
13036  fi
13037done
13038  done
13039IFS=$as_save_IFS
13040
13041  ;;
13042esac
13043fi
13044INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13045if test -n "$INTLTOOL_MERGE"; then
13046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13047$as_echo "$INTLTOOL_MERGE" >&6; }
13048else
13049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13050$as_echo "no" >&6; }
13051fi
13052
13053
13054# Extract the first word of "intltool-extract", so it can be a program name with args.
13055set dummy intltool-extract; ac_word=$2
13056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13057$as_echo_n "checking for $ac_word... " >&6; }
13058if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13059  $as_echo_n "(cached) " >&6
13060else
13061  case $INTLTOOL_EXTRACT in
13062  [\\/]* | ?:[\\/]*)
13063  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13064  ;;
13065  *)
13066  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13067for as_dir in $PATH
13068do
13069  IFS=$as_save_IFS
13070  test -z "$as_dir" && as_dir=.
13071    for ac_exec_ext in '' $ac_executable_extensions; do
13072  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13073    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13075    break 2
13076  fi
13077done
13078  done
13079IFS=$as_save_IFS
13080
13081  ;;
13082esac
13083fi
13084INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13085if test -n "$INTLTOOL_EXTRACT"; then
13086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13087$as_echo "$INTLTOOL_EXTRACT" >&6; }
13088else
13089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13090$as_echo "no" >&6; }
13091fi
13092
13093
13094if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13095    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13096fi
13097
13098if test -z "$AM_DEFAULT_VERBOSITY"; then
13099  AM_DEFAULT_VERBOSITY=1
13100fi
13101
13102
13103INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13104INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13105INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13106
13107
13108
13109
13110INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13111intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13112intltool__v_merge_options_0='-q'
13113
13114
13115
13116
13117  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 $< $@'
13118INTLTOOL_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 $< $@'
13119     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 $< $@'
13120     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 $< $@'
13121      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 $< $@'
13122     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 $< $@'
13123   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 $< $@'
13124    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 $< $@'
13125INTLTOOL_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 $< $@'
13126       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 $< $@'
13127      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 $< $@'
13128if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13129      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 $< $@'
13130else
13131      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'
13132fi
13133      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 $< $@'
13134      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 $< $@'
13135    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 $< $@'
13136  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 $< $@'
13137    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 $< $@'
13138    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 $< $@'
13139   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 $< $@'
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
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237# Check the gettext tools to make sure they are GNU
13238# Extract the first word of "xgettext", so it can be a program name with args.
13239set dummy xgettext; ac_word=$2
13240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13241$as_echo_n "checking for $ac_word... " >&6; }
13242if ${ac_cv_path_XGETTEXT+:} false; then :
13243  $as_echo_n "(cached) " >&6
13244else
13245  case $XGETTEXT in
13246  [\\/]* | ?:[\\/]*)
13247  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13248  ;;
13249  *)
13250  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251for as_dir in $PATH
13252do
13253  IFS=$as_save_IFS
13254  test -z "$as_dir" && as_dir=.
13255    for ac_exec_ext in '' $ac_executable_extensions; do
13256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13257    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13259    break 2
13260  fi
13261done
13262  done
13263IFS=$as_save_IFS
13264
13265  ;;
13266esac
13267fi
13268XGETTEXT=$ac_cv_path_XGETTEXT
13269if test -n "$XGETTEXT"; then
13270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13271$as_echo "$XGETTEXT" >&6; }
13272else
13273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13274$as_echo "no" >&6; }
13275fi
13276
13277
13278# Extract the first word of "msgmerge", so it can be a program name with args.
13279set dummy msgmerge; ac_word=$2
13280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13281$as_echo_n "checking for $ac_word... " >&6; }
13282if ${ac_cv_path_MSGMERGE+:} false; then :
13283  $as_echo_n "(cached) " >&6
13284else
13285  case $MSGMERGE in
13286  [\\/]* | ?:[\\/]*)
13287  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13288  ;;
13289  *)
13290  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13291for as_dir in $PATH
13292do
13293  IFS=$as_save_IFS
13294  test -z "$as_dir" && as_dir=.
13295    for ac_exec_ext in '' $ac_executable_extensions; do
13296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13297    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13299    break 2
13300  fi
13301done
13302  done
13303IFS=$as_save_IFS
13304
13305  ;;
13306esac
13307fi
13308MSGMERGE=$ac_cv_path_MSGMERGE
13309if test -n "$MSGMERGE"; then
13310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13311$as_echo "$MSGMERGE" >&6; }
13312else
13313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13314$as_echo "no" >&6; }
13315fi
13316
13317
13318# Extract the first word of "msgfmt", so it can be a program name with args.
13319set dummy msgfmt; ac_word=$2
13320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13321$as_echo_n "checking for $ac_word... " >&6; }
13322if ${ac_cv_path_MSGFMT+:} false; then :
13323  $as_echo_n "(cached) " >&6
13324else
13325  case $MSGFMT in
13326  [\\/]* | ?:[\\/]*)
13327  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13328  ;;
13329  *)
13330  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13331for as_dir in $PATH
13332do
13333  IFS=$as_save_IFS
13334  test -z "$as_dir" && as_dir=.
13335    for ac_exec_ext in '' $ac_executable_extensions; do
13336  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13337    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13339    break 2
13340  fi
13341done
13342  done
13343IFS=$as_save_IFS
13344
13345  ;;
13346esac
13347fi
13348MSGFMT=$ac_cv_path_MSGFMT
13349if test -n "$MSGFMT"; then
13350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13351$as_echo "$MSGFMT" >&6; }
13352else
13353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354$as_echo "no" >&6; }
13355fi
13356
13357
13358# Extract the first word of "gmsgfmt", so it can be a program name with args.
13359set dummy gmsgfmt; ac_word=$2
13360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13361$as_echo_n "checking for $ac_word... " >&6; }
13362if ${ac_cv_path_GMSGFMT+:} false; then :
13363  $as_echo_n "(cached) " >&6
13364else
13365  case $GMSGFMT in
13366  [\\/]* | ?:[\\/]*)
13367  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13368  ;;
13369  *)
13370  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13371for as_dir in $PATH
13372do
13373  IFS=$as_save_IFS
13374  test -z "$as_dir" && as_dir=.
13375    for ac_exec_ext in '' $ac_executable_extensions; do
13376  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13377    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13378    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13379    break 2
13380  fi
13381done
13382  done
13383IFS=$as_save_IFS
13384
13385  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13386  ;;
13387esac
13388fi
13389GMSGFMT=$ac_cv_path_GMSGFMT
13390if test -n "$GMSGFMT"; then
13391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13392$as_echo "$GMSGFMT" >&6; }
13393else
13394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13395$as_echo "no" >&6; }
13396fi
13397
13398
13399if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13400    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13401fi
13402xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13403mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13404mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13405if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13406    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13407fi
13408
13409# Extract the first word of "perl", so it can be a program name with args.
13410set dummy perl; ac_word=$2
13411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13412$as_echo_n "checking for $ac_word... " >&6; }
13413if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13414  $as_echo_n "(cached) " >&6
13415else
13416  case $INTLTOOL_PERL in
13417  [\\/]* | ?:[\\/]*)
13418  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13419  ;;
13420  *)
13421  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13422for as_dir in $PATH
13423do
13424  IFS=$as_save_IFS
13425  test -z "$as_dir" && as_dir=.
13426    for ac_exec_ext in '' $ac_executable_extensions; do
13427  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13428    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13429    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13430    break 2
13431  fi
13432done
13433  done
13434IFS=$as_save_IFS
13435
13436  ;;
13437esac
13438fi
13439INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13440if test -n "$INTLTOOL_PERL"; then
13441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13442$as_echo "$INTLTOOL_PERL" >&6; }
13443else
13444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445$as_echo "no" >&6; }
13446fi
13447
13448
13449if test -z "$INTLTOOL_PERL"; then
13450   as_fn_error $? "perl not found" "$LINENO" 5
13451fi
13452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13453$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13454$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13455if test $? -ne 0; then
13456   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13457else
13458   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13460$as_echo "$IT_PERL_VERSION" >&6; }
13461fi
13462if test "x" != "xno-xml"; then
13463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13464$as_echo_n "checking for XML::Parser... " >&6; }
13465   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13466       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13467$as_echo "ok" >&6; }
13468   else
13469       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13470   fi
13471fi
13472
13473# Substitute ALL_LINGUAS so we can use it in po/Makefile
13474
13475
13476
13477
13478
13479
13480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13481$as_echo_n "checking for ANSI C header files... " >&6; }
13482if ${ac_cv_header_stdc+:} false; then :
13483  $as_echo_n "(cached) " >&6
13484else
13485  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486/* end confdefs.h.  */
13487#include <stdlib.h>
13488#include <stdarg.h>
13489#include <string.h>
13490#include <float.h>
13491
13492int
13493main ()
13494{
13495
13496  ;
13497  return 0;
13498}
13499_ACEOF
13500if ac_fn_c_try_compile "$LINENO"; then :
13501  ac_cv_header_stdc=yes
13502else
13503  ac_cv_header_stdc=no
13504fi
13505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13506
13507if test $ac_cv_header_stdc = yes; then
13508  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13509  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510/* end confdefs.h.  */
13511#include <string.h>
13512
13513_ACEOF
13514if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13515  $EGREP "memchr" >/dev/null 2>&1; then :
13516
13517else
13518  ac_cv_header_stdc=no
13519fi
13520rm -f conftest*
13521
13522fi
13523
13524if test $ac_cv_header_stdc = yes; then
13525  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527/* end confdefs.h.  */
13528#include <stdlib.h>
13529
13530_ACEOF
13531if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13532  $EGREP "free" >/dev/null 2>&1; then :
13533
13534else
13535  ac_cv_header_stdc=no
13536fi
13537rm -f conftest*
13538
13539fi
13540
13541if test $ac_cv_header_stdc = yes; then
13542  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13543  if test "$cross_compiling" = yes; then :
13544  :
13545else
13546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547/* end confdefs.h.  */
13548#include <ctype.h>
13549#include <stdlib.h>
13550#if ((' ' & 0x0FF) == 0x020)
13551# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13552# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13553#else
13554# define ISLOWER(c) \
13555		   (('a' <= (c) && (c) <= 'i') \
13556		     || ('j' <= (c) && (c) <= 'r') \
13557		     || ('s' <= (c) && (c) <= 'z'))
13558# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13559#endif
13560
13561#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13562int
13563main ()
13564{
13565  int i;
13566  for (i = 0; i < 256; i++)
13567    if (XOR (islower (i), ISLOWER (i))
13568	|| toupper (i) != TOUPPER (i))
13569      return 2;
13570  return 0;
13571}
13572_ACEOF
13573if ac_fn_c_try_run "$LINENO"; then :
13574
13575else
13576  ac_cv_header_stdc=no
13577fi
13578rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13579  conftest.$ac_objext conftest.beam conftest.$ac_ext
13580fi
13581
13582fi
13583fi
13584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13585$as_echo "$ac_cv_header_stdc" >&6; }
13586if test $ac_cv_header_stdc = yes; then
13587
13588$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13589
13590fi
13591
13592
13593
13594
13595for ac_func in gethostname
13596do :
13597  ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
13598if test "x$ac_cv_func_gethostname" = xyes; then :
13599  cat >>confdefs.h <<_ACEOF
13600#define HAVE_GETHOSTNAME 1
13601_ACEOF
13602
13603fi
13604done
13605
13606for ac_func in memset
13607do :
13608  ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
13609if test "x$ac_cv_func_memset" = xyes; then :
13610  cat >>confdefs.h <<_ACEOF
13611#define HAVE_MEMSET 1
13612_ACEOF
13613
13614fi
13615done
13616
13617for ac_func in socket
13618do :
13619  ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
13620if test "x$ac_cv_func_socket" = xyes; then :
13621  cat >>confdefs.h <<_ACEOF
13622#define HAVE_SOCKET 1
13623_ACEOF
13624
13625fi
13626done
13627
13628for ac_func in strstr
13629do :
13630  ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
13631if test "x$ac_cv_func_strstr" = xyes; then :
13632  cat >>confdefs.h <<_ACEOF
13633#define HAVE_STRSTR 1
13634_ACEOF
13635
13636fi
13637done
13638
13639for ac_func in malloc
13640do :
13641  ac_fn_c_check_func "$LINENO" "malloc" "ac_cv_func_malloc"
13642if test "x$ac_cv_func_malloc" = xyes; then :
13643  cat >>confdefs.h <<_ACEOF
13644#define HAVE_MALLOC 1
13645_ACEOF
13646
13647fi
13648done
13649
13650for ac_func in bzero
13651do :
13652  ac_fn_c_check_func "$LINENO" "bzero" "ac_cv_func_bzero"
13653if test "x$ac_cv_func_bzero" = xyes; then :
13654  cat >>confdefs.h <<_ACEOF
13655#define HAVE_BZERO 1
13656_ACEOF
13657
13658fi
13659done
13660
13661for ac_header in arpa/inet.h
13662do :
13663  ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
13664if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
13665  cat >>confdefs.h <<_ACEOF
13666#define HAVE_ARPA_INET_H 1
13667_ACEOF
13668
13669fi
13670
13671done
13672
13673for ac_header in netinet/in.h
13674do :
13675  ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
13676if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13677  cat >>confdefs.h <<_ACEOF
13678#define HAVE_NETINET_IN_H 1
13679_ACEOF
13680
13681fi
13682
13683done
13684
13685for ac_header in stdlib.h
13686do :
13687  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13688if test "x$ac_cv_header_stdlib_h" = xyes; then :
13689  cat >>confdefs.h <<_ACEOF
13690#define HAVE_STDLIB_H 1
13691_ACEOF
13692
13693fi
13694
13695done
13696
13697for ac_header in string.h
13698do :
13699  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
13700if test "x$ac_cv_header_string_h" = xyes; then :
13701  cat >>confdefs.h <<_ACEOF
13702#define HAVE_STRING_H 1
13703_ACEOF
13704
13705fi
13706
13707done
13708
13709for ac_header in sys/ioctl.h
13710do :
13711  ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
13712if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
13713  cat >>confdefs.h <<_ACEOF
13714#define HAVE_SYS_IOCTL_H 1
13715_ACEOF
13716
13717fi
13718
13719done
13720
13721for ac_header in sys/param.h
13722do :
13723  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
13724if test "x$ac_cv_header_sys_param_h" = xyes; then :
13725  cat >>confdefs.h <<_ACEOF
13726#define HAVE_SYS_PARAM_H 1
13727_ACEOF
13728
13729fi
13730
13731done
13732
13733for ac_header in sys/socket.h
13734do :
13735  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
13736if test "x$ac_cv_header_sys_socket_h" = xyes; then :
13737  cat >>confdefs.h <<_ACEOF
13738#define HAVE_SYS_SOCKET_H 1
13739_ACEOF
13740
13741fi
13742
13743done
13744
13745for ac_header in sys/time.h
13746do :
13747  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13748if test "x$ac_cv_header_sys_time_h" = xyes; then :
13749  cat >>confdefs.h <<_ACEOF
13750#define HAVE_SYS_TIME_H 1
13751_ACEOF
13752
13753fi
13754
13755done
13756
13757for ac_header in unistd.h
13758do :
13759  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13760if test "x$ac_cv_header_unistd_h" = xyes; then :
13761  cat >>confdefs.h <<_ACEOF
13762#define HAVE_UNISTD_H 1
13763_ACEOF
13764
13765fi
13766
13767done
13768
13769for ac_header in sys/sockio.h
13770do :
13771  ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
13772if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
13773  cat >>confdefs.h <<_ACEOF
13774#define HAVE_SYS_SOCKIO_H 1
13775_ACEOF
13776
13777fi
13778
13779done
13780
13781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
13782$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
13783if ${ac_cv_header_sys_wait_h+:} false; then :
13784  $as_echo_n "(cached) " >&6
13785else
13786  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13787/* end confdefs.h.  */
13788#include <sys/types.h>
13789#include <sys/wait.h>
13790#ifndef WEXITSTATUS
13791# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
13792#endif
13793#ifndef WIFEXITED
13794# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
13795#endif
13796
13797int
13798main ()
13799{
13800  int s;
13801  wait (&s);
13802  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
13803  ;
13804  return 0;
13805}
13806_ACEOF
13807if ac_fn_c_try_compile "$LINENO"; then :
13808  ac_cv_header_sys_wait_h=yes
13809else
13810  ac_cv_header_sys_wait_h=no
13811fi
13812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13813fi
13814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
13815$as_echo "$ac_cv_header_sys_wait_h" >&6; }
13816if test $ac_cv_header_sys_wait_h = yes; then
13817
13818$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
13819
13820fi
13821
13822if test $ac_cv_c_compiler_gnu = yes; then
13823    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
13824$as_echo_n "checking whether $CC needs -traditional... " >&6; }
13825if ${ac_cv_prog_gcc_traditional+:} false; then :
13826  $as_echo_n "(cached) " >&6
13827else
13828    ac_pattern="Autoconf.*'x'"
13829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830/* end confdefs.h.  */
13831#include <sgtty.h>
13832Autoconf TIOCGETP
13833_ACEOF
13834if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13835  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
13836  ac_cv_prog_gcc_traditional=yes
13837else
13838  ac_cv_prog_gcc_traditional=no
13839fi
13840rm -f conftest*
13841
13842
13843  if test $ac_cv_prog_gcc_traditional = no; then
13844    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845/* end confdefs.h.  */
13846#include <termio.h>
13847Autoconf TCGETA
13848_ACEOF
13849if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13850  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
13851  ac_cv_prog_gcc_traditional=yes
13852fi
13853rm -f conftest*
13854
13855  fi
13856fi
13857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
13858$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
13859  if test $ac_cv_prog_gcc_traditional = yes; then
13860    CC="$CC -traditional"
13861  fi
13862fi
13863
13864ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13865if test "x$ac_cv_type_size_t" = xyes; then :
13866
13867else
13868
13869cat >>confdefs.h <<_ACEOF
13870#define size_t unsigned int
13871_ACEOF
13872
13873fi
13874
13875
13876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13877$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13878if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13879  $as_echo_n "(cached) " >&6
13880else
13881  ac_check_lib_save_LIBS=$LIBS
13882LIBS="-lkstat  $LIBS"
13883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884/* end confdefs.h.  */
13885
13886/* Override any GCC internal prototype to avoid an error.
13887   Use char because int might match the return type of a GCC
13888   builtin and then its argument prototype would still apply.  */
13889#ifdef __cplusplus
13890extern "C"
13891#endif
13892char kstat_open ();
13893int
13894main ()
13895{
13896return kstat_open ();
13897  ;
13898  return 0;
13899}
13900_ACEOF
13901if ac_fn_c_try_link "$LINENO"; then :
13902  ac_cv_lib_kstat_kstat_open=yes
13903else
13904  ac_cv_lib_kstat_kstat_open=no
13905fi
13906rm -f core conftest.err conftest.$ac_objext \
13907    conftest$ac_exeext conftest.$ac_ext
13908LIBS=$ac_check_lib_save_LIBS
13909fi
13910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13911$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13912if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13913  SOLLIBS="-lkstat -lsocket"
13914else
13915  SOLLIBS=""
13916fi
13917
13918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lnsl" >&5
13919$as_echo_n "checking for kstat_open in -lnsl... " >&6; }
13920if ${ac_cv_lib_nsl_kstat_open+:} false; then :
13921  $as_echo_n "(cached) " >&6
13922else
13923  ac_check_lib_save_LIBS=$LIBS
13924LIBS="-lnsl  $LIBS"
13925cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926/* end confdefs.h.  */
13927
13928/* Override any GCC internal prototype to avoid an error.
13929   Use char because int might match the return type of a GCC
13930   builtin and then its argument prototype would still apply.  */
13931#ifdef __cplusplus
13932extern "C"
13933#endif
13934char kstat_open ();
13935int
13936main ()
13937{
13938return kstat_open ();
13939  ;
13940  return 0;
13941}
13942_ACEOF
13943if ac_fn_c_try_link "$LINENO"; then :
13944  ac_cv_lib_nsl_kstat_open=yes
13945else
13946  ac_cv_lib_nsl_kstat_open=no
13947fi
13948rm -f core conftest.err conftest.$ac_objext \
13949    conftest$ac_exeext conftest.$ac_ext
13950LIBS=$ac_check_lib_save_LIBS
13951fi
13952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_kstat_open" >&5
13953$as_echo "$ac_cv_lib_nsl_kstat_open" >&6; }
13954if test "x$ac_cv_lib_nsl_kstat_open" = xyes; then :
13955  SOLLIBS="$SOLLIBS -linet_ntop"
13956else
13957  SOLLIBS="$SOLLIBS"
13958fi
13959
13960
13961
13962
13963
13964  # minimum supported version of pkg-config
13965  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13976	if test -n "$ac_tool_prefix"; then
13977  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13978set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980$as_echo_n "checking for $ac_word... " >&6; }
13981if ${ac_cv_path_PKG_CONFIG+:} false; then :
13982  $as_echo_n "(cached) " >&6
13983else
13984  case $PKG_CONFIG in
13985  [\\/]* | ?:[\\/]*)
13986  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13987  ;;
13988  *)
13989  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990for as_dir in $PATH
13991do
13992  IFS=$as_save_IFS
13993  test -z "$as_dir" && as_dir=.
13994    for ac_exec_ext in '' $ac_executable_extensions; do
13995  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13996    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13998    break 2
13999  fi
14000done
14001  done
14002IFS=$as_save_IFS
14003
14004  ;;
14005esac
14006fi
14007PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14008if test -n "$PKG_CONFIG"; then
14009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14010$as_echo "$PKG_CONFIG" >&6; }
14011else
14012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14013$as_echo "no" >&6; }
14014fi
14015
14016
14017fi
14018if test -z "$ac_cv_path_PKG_CONFIG"; then
14019  ac_pt_PKG_CONFIG=$PKG_CONFIG
14020  # Extract the first word of "pkg-config", so it can be a program name with args.
14021set dummy pkg-config; ac_word=$2
14022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14023$as_echo_n "checking for $ac_word... " >&6; }
14024if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14025  $as_echo_n "(cached) " >&6
14026else
14027  case $ac_pt_PKG_CONFIG in
14028  [\\/]* | ?:[\\/]*)
14029  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14030  ;;
14031  *)
14032  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033for as_dir in $PATH
14034do
14035  IFS=$as_save_IFS
14036  test -z "$as_dir" && as_dir=.
14037    for ac_exec_ext in '' $ac_executable_extensions; do
14038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14039    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14041    break 2
14042  fi
14043done
14044  done
14045IFS=$as_save_IFS
14046
14047  ;;
14048esac
14049fi
14050ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14051if test -n "$ac_pt_PKG_CONFIG"; then
14052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14053$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14054else
14055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14056$as_echo "no" >&6; }
14057fi
14058
14059  if test "x$ac_pt_PKG_CONFIG" = x; then
14060    PKG_CONFIG=""
14061  else
14062    case $cross_compiling:$ac_tool_warned in
14063yes:)
14064{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14065$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14066ac_tool_warned=yes ;;
14067esac
14068    PKG_CONFIG=$ac_pt_PKG_CONFIG
14069  fi
14070else
14071  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14072fi
14073
14074fi
14075if test -n "$PKG_CONFIG"; then
14076	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14077	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14078$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14079	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14080		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14081$as_echo "yes" >&6; }
14082	else
14083		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14084$as_echo "no" >&6; }
14085		PKG_CONFIG=""
14086	fi
14087fi
14088
14089      if test x"$PKG_CONFIG" = x""; then
14090        echo
14091        echo "*** Your version of pkg-config is too old. You need atleast"
14092        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14093        echo "*** from the freedesktop.org software repository at"
14094        echo "***"
14095        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14096        echo "***"
14097        exit 1;
14098      fi
14099
14100
14101
14102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.12.0" >&5
14103$as_echo_n "checking for libxfce4panel-2.0 >= 4.12.0... " >&6; }
14104  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4panel-2.0" >/dev/null 2>&1; then
14105    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14106    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
14107$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
14108
14109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
14110$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
14111    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"`
14112    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
14113$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
14114
14115    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
14116$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
14117    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"`
14118    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
14119$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
14120
14121    LIBXFCE4PANEL_REQUIRED_VERSION=4.12.0
14122
14123
14124
14125
14126
14127
14128
14129  elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
14130    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14131    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14132$as_echo "found, but $xdt_cv_version" >&6; }
14133
14134
14135      echo "*** The required package libxfce4panel-2.0 was found on your system,"
14136      echo "*** but the installed version ($xdt_cv_version) is too old."
14137      echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.12.0, or adjust"
14138      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14139      echo "*** the new version of the package in a nonstandard prefix so"
14140      echo "*** pkg-config is able to find it."
14141      exit 1
14142
14143  else
14144    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14145$as_echo "not found" >&6; }
14146
14147
14148      echo "*** The required package libxfce4panel-2.0 was not found on your system."
14149      echo "*** Please install libxfce4panel-2.0 (atleast version 4.12.0) or adjust"
14150      echo "*** the PKG_CONFIG_PATH environment variable if you"
14151      echo "*** installed the package in a nonstandard prefix so that"
14152      echo "*** pkg-config is able to find it."
14153      exit 1
14154
14155  fi
14156
14157
14158
14159
14160  # minimum supported version of pkg-config
14161  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14172	if test -n "$ac_tool_prefix"; then
14173  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14174set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14176$as_echo_n "checking for $ac_word... " >&6; }
14177if ${ac_cv_path_PKG_CONFIG+:} false; then :
14178  $as_echo_n "(cached) " >&6
14179else
14180  case $PKG_CONFIG in
14181  [\\/]* | ?:[\\/]*)
14182  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14183  ;;
14184  *)
14185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186for as_dir in $PATH
14187do
14188  IFS=$as_save_IFS
14189  test -z "$as_dir" && as_dir=.
14190    for ac_exec_ext in '' $ac_executable_extensions; do
14191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14192    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14194    break 2
14195  fi
14196done
14197  done
14198IFS=$as_save_IFS
14199
14200  ;;
14201esac
14202fi
14203PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14204if test -n "$PKG_CONFIG"; then
14205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14206$as_echo "$PKG_CONFIG" >&6; }
14207else
14208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14209$as_echo "no" >&6; }
14210fi
14211
14212
14213fi
14214if test -z "$ac_cv_path_PKG_CONFIG"; then
14215  ac_pt_PKG_CONFIG=$PKG_CONFIG
14216  # Extract the first word of "pkg-config", so it can be a program name with args.
14217set dummy pkg-config; ac_word=$2
14218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14219$as_echo_n "checking for $ac_word... " >&6; }
14220if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14221  $as_echo_n "(cached) " >&6
14222else
14223  case $ac_pt_PKG_CONFIG in
14224  [\\/]* | ?:[\\/]*)
14225  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14226  ;;
14227  *)
14228  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229for as_dir in $PATH
14230do
14231  IFS=$as_save_IFS
14232  test -z "$as_dir" && as_dir=.
14233    for ac_exec_ext in '' $ac_executable_extensions; do
14234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14235    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14237    break 2
14238  fi
14239done
14240  done
14241IFS=$as_save_IFS
14242
14243  ;;
14244esac
14245fi
14246ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14247if test -n "$ac_pt_PKG_CONFIG"; then
14248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14249$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14250else
14251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14252$as_echo "no" >&6; }
14253fi
14254
14255  if test "x$ac_pt_PKG_CONFIG" = x; then
14256    PKG_CONFIG=""
14257  else
14258    case $cross_compiling:$ac_tool_warned in
14259yes:)
14260{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14261$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14262ac_tool_warned=yes ;;
14263esac
14264    PKG_CONFIG=$ac_pt_PKG_CONFIG
14265  fi
14266else
14267  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14268fi
14269
14270fi
14271if test -n "$PKG_CONFIG"; then
14272	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14273	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14274$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14275	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14276		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14277$as_echo "yes" >&6; }
14278	else
14279		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14280$as_echo "no" >&6; }
14281		PKG_CONFIG=""
14282	fi
14283fi
14284
14285      if test x"$PKG_CONFIG" = x""; then
14286        echo
14287        echo "*** Your version of pkg-config is too old. You need atleast"
14288        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14289        echo "*** from the freedesktop.org software repository at"
14290        echo "***"
14291        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14292        echo "***"
14293        exit 1;
14294      fi
14295
14296
14297
14298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5
14299$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; }
14300  if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then
14301    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14302    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14303$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14304
14305    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14306$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14307    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14308    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14309$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14310
14311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14312$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14313    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14314    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14315$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14316
14317    LIBXFCE4UI_REQUIRED_VERSION=4.12.0
14318
14319
14320
14321
14322
14323
14324
14325  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14326    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14327    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14328$as_echo "found, but $xdt_cv_version" >&6; }
14329
14330
14331      echo "*** The required package libxfce4ui-2 was found on your system,"
14332      echo "*** but the installed version ($xdt_cv_version) is too old."
14333      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust"
14334      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14335      echo "*** the new version of the package in a nonstandard prefix so"
14336      echo "*** pkg-config is able to find it."
14337      exit 1
14338
14339  else
14340    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14341$as_echo "not found" >&6; }
14342
14343
14344      echo "*** The required package libxfce4ui-2 was not found on your system."
14345      echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust"
14346      echo "*** the PKG_CONFIG_PATH environment variable if you"
14347      echo "*** installed the package in a nonstandard prefix so that"
14348      echo "*** pkg-config is able to find it."
14349      exit 1
14350
14351  fi
14352
14353
14354
14355    GETTEXT_PACKAGE=xfce4-netload-plugin
14356
14357cat >>confdefs.h <<_ACEOF
14358#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14359_ACEOF
14360
14361
14362
14363    ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_CA en_GB eo es eu fi fr gl he hr hu hye id ie is it ja kk ko lt lv ms nb nl oc pa pl pt pt_BR ru sk sl sq sr sv th tr ug uk ur ur_PK vi zh_CN zh_TW"
14364
14365   for ac_header in locale.h
14366do :
14367  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14368if test "x$ac_cv_header_locale_h" = xyes; then :
14369  cat >>confdefs.h <<_ACEOF
14370#define HAVE_LOCALE_H 1
14371_ACEOF
14372
14373fi
14374
14375done
14376
14377    if test $ac_cv_header_locale_h = yes; then
14378    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14379$as_echo_n "checking for LC_MESSAGES... " >&6; }
14380if ${am_cv_val_LC_MESSAGES+:} false; then :
14381  $as_echo_n "(cached) " >&6
14382else
14383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384/* end confdefs.h.  */
14385#include <locale.h>
14386int
14387main ()
14388{
14389return LC_MESSAGES
14390  ;
14391  return 0;
14392}
14393_ACEOF
14394if ac_fn_c_try_link "$LINENO"; then :
14395  am_cv_val_LC_MESSAGES=yes
14396else
14397  am_cv_val_LC_MESSAGES=no
14398fi
14399rm -f core conftest.err conftest.$ac_objext \
14400    conftest$ac_exeext conftest.$ac_ext
14401fi
14402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14403$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14404    if test $am_cv_val_LC_MESSAGES = yes; then
14405
14406$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14407
14408    fi
14409  fi
14410     USE_NLS=yes
14411
14412
14413    gt_cv_have_gettext=no
14414
14415    CATOBJEXT=NONE
14416    XGETTEXT=:
14417    INTLLIBS=
14418
14419
14420    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14421$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14422if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14423  $as_echo_n "(cached) " >&6
14424else
14425  gt_save_LIBS="$LIBS"
14426     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14427     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428/* end confdefs.h.  */
14429#include <CoreFoundation/CFPreferences.h>
14430int
14431main ()
14432{
14433CFPreferencesCopyAppValue(NULL, NULL)
14434  ;
14435  return 0;
14436}
14437_ACEOF
14438if ac_fn_c_try_link "$LINENO"; then :
14439  gt_cv_func_CFPreferencesCopyAppValue=yes
14440else
14441  gt_cv_func_CFPreferencesCopyAppValue=no
14442fi
14443rm -f core conftest.err conftest.$ac_objext \
14444    conftest$ac_exeext conftest.$ac_ext
14445     LIBS="$gt_save_LIBS"
14446fi
14447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14448$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14449  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14450
14451$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14452
14453  fi
14454    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14455$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14456if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14457  $as_echo_n "(cached) " >&6
14458else
14459  gt_save_LIBS="$LIBS"
14460     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14461     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462/* end confdefs.h.  */
14463#include <CoreFoundation/CFLocale.h>
14464int
14465main ()
14466{
14467CFLocaleCopyCurrent();
14468  ;
14469  return 0;
14470}
14471_ACEOF
14472if ac_fn_c_try_link "$LINENO"; then :
14473  gt_cv_func_CFLocaleCopyCurrent=yes
14474else
14475  gt_cv_func_CFLocaleCopyCurrent=no
14476fi
14477rm -f core conftest.err conftest.$ac_objext \
14478    conftest$ac_exeext conftest.$ac_ext
14479     LIBS="$gt_save_LIBS"
14480fi
14481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14482$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14483  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14484
14485$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14486
14487  fi
14488  INTL_MACOSX_LIBS=
14489  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14490    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14491  fi
14492
14493
14494
14495    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14496if test "x$ac_cv_header_libintl_h" = xyes; then :
14497  gt_cv_func_dgettext_libintl="no"
14498      libintl_extra_libs=""
14499
14500      #
14501      # First check in libc
14502      #
14503      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14504$as_echo_n "checking for ngettext in libc... " >&6; }
14505if ${gt_cv_func_ngettext_libc+:} false; then :
14506  $as_echo_n "(cached) " >&6
14507else
14508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509/* end confdefs.h.  */
14510
14511#include <libintl.h>
14512
14513int
14514main ()
14515{
14516return !ngettext ("","", 1)
14517  ;
14518  return 0;
14519}
14520_ACEOF
14521if ac_fn_c_try_link "$LINENO"; then :
14522  gt_cv_func_ngettext_libc=yes
14523else
14524  gt_cv_func_ngettext_libc=no
14525fi
14526rm -f core conftest.err conftest.$ac_objext \
14527    conftest$ac_exeext conftest.$ac_ext
14528
14529fi
14530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14531$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14532
14533      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14534	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14535$as_echo_n "checking for dgettext in libc... " >&6; }
14536if ${gt_cv_func_dgettext_libc+:} false; then :
14537  $as_echo_n "(cached) " >&6
14538else
14539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540/* end confdefs.h.  */
14541
14542#include <libintl.h>
14543
14544int
14545main ()
14546{
14547return !dgettext ("","")
14548  ;
14549  return 0;
14550}
14551_ACEOF
14552if ac_fn_c_try_link "$LINENO"; then :
14553  gt_cv_func_dgettext_libc=yes
14554else
14555  gt_cv_func_dgettext_libc=no
14556fi
14557rm -f core conftest.err conftest.$ac_objext \
14558    conftest$ac_exeext conftest.$ac_ext
14559
14560fi
14561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14562$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14563      fi
14564
14565      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14566        for ac_func in bind_textdomain_codeset
14567do :
14568  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14569if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14570  cat >>confdefs.h <<_ACEOF
14571#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14572_ACEOF
14573
14574fi
14575done
14576
14577      fi
14578
14579      #
14580      # If we don't have everything we want, check in libintl
14581      #
14582      if test "$gt_cv_func_dgettext_libc" != "yes" \
14583	 || test "$gt_cv_func_ngettext_libc" != "yes" \
14584         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14585
14586        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14587$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14588if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14589  $as_echo_n "(cached) " >&6
14590else
14591  ac_check_lib_save_LIBS=$LIBS
14592LIBS="-lintl  $LIBS"
14593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594/* end confdefs.h.  */
14595
14596/* Override any GCC internal prototype to avoid an error.
14597   Use char because int might match the return type of a GCC
14598   builtin and then its argument prototype would still apply.  */
14599#ifdef __cplusplus
14600extern "C"
14601#endif
14602char bindtextdomain ();
14603int
14604main ()
14605{
14606return bindtextdomain ();
14607  ;
14608  return 0;
14609}
14610_ACEOF
14611if ac_fn_c_try_link "$LINENO"; then :
14612  ac_cv_lib_intl_bindtextdomain=yes
14613else
14614  ac_cv_lib_intl_bindtextdomain=no
14615fi
14616rm -f core conftest.err conftest.$ac_objext \
14617    conftest$ac_exeext conftest.$ac_ext
14618LIBS=$ac_check_lib_save_LIBS
14619fi
14620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14621$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14622if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14623  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14624$as_echo_n "checking for ngettext in -lintl... " >&6; }
14625if ${ac_cv_lib_intl_ngettext+:} false; then :
14626  $as_echo_n "(cached) " >&6
14627else
14628  ac_check_lib_save_LIBS=$LIBS
14629LIBS="-lintl  $LIBS"
14630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631/* end confdefs.h.  */
14632
14633/* Override any GCC internal prototype to avoid an error.
14634   Use char because int might match the return type of a GCC
14635   builtin and then its argument prototype would still apply.  */
14636#ifdef __cplusplus
14637extern "C"
14638#endif
14639char ngettext ();
14640int
14641main ()
14642{
14643return ngettext ();
14644  ;
14645  return 0;
14646}
14647_ACEOF
14648if ac_fn_c_try_link "$LINENO"; then :
14649  ac_cv_lib_intl_ngettext=yes
14650else
14651  ac_cv_lib_intl_ngettext=no
14652fi
14653rm -f core conftest.err conftest.$ac_objext \
14654    conftest$ac_exeext conftest.$ac_ext
14655LIBS=$ac_check_lib_save_LIBS
14656fi
14657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14658$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14659if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14661$as_echo_n "checking for dgettext in -lintl... " >&6; }
14662if ${ac_cv_lib_intl_dgettext+:} false; then :
14663  $as_echo_n "(cached) " >&6
14664else
14665  ac_check_lib_save_LIBS=$LIBS
14666LIBS="-lintl  $LIBS"
14667cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668/* end confdefs.h.  */
14669
14670/* Override any GCC internal prototype to avoid an error.
14671   Use char because int might match the return type of a GCC
14672   builtin and then its argument prototype would still apply.  */
14673#ifdef __cplusplus
14674extern "C"
14675#endif
14676char dgettext ();
14677int
14678main ()
14679{
14680return dgettext ();
14681  ;
14682  return 0;
14683}
14684_ACEOF
14685if ac_fn_c_try_link "$LINENO"; then :
14686  ac_cv_lib_intl_dgettext=yes
14687else
14688  ac_cv_lib_intl_dgettext=no
14689fi
14690rm -f core conftest.err conftest.$ac_objext \
14691    conftest$ac_exeext conftest.$ac_ext
14692LIBS=$ac_check_lib_save_LIBS
14693fi
14694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14695$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14696if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14697  gt_cv_func_dgettext_libintl=yes
14698fi
14699
14700fi
14701
14702fi
14703
14704
14705	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14706	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14707$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14708	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14709$as_echo "" >&6; }
14710  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14711$as_echo_n "checking for ngettext in -lintl... " >&6; }
14712if ${ac_cv_lib_intl_ngettext+:} false; then :
14713  $as_echo_n "(cached) " >&6
14714else
14715  ac_check_lib_save_LIBS=$LIBS
14716LIBS="-lintl -liconv $LIBS"
14717cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718/* end confdefs.h.  */
14719
14720/* Override any GCC internal prototype to avoid an error.
14721   Use char because int might match the return type of a GCC
14722   builtin and then its argument prototype would still apply.  */
14723#ifdef __cplusplus
14724extern "C"
14725#endif
14726char ngettext ();
14727int
14728main ()
14729{
14730return ngettext ();
14731  ;
14732  return 0;
14733}
14734_ACEOF
14735if ac_fn_c_try_link "$LINENO"; then :
14736  ac_cv_lib_intl_ngettext=yes
14737else
14738  ac_cv_lib_intl_ngettext=no
14739fi
14740rm -f core conftest.err conftest.$ac_objext \
14741    conftest$ac_exeext conftest.$ac_ext
14742LIBS=$ac_check_lib_save_LIBS
14743fi
14744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14745$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14746if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14748$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14749if ${ac_cv_lib_intl_dcgettext+:} false; then :
14750  $as_echo_n "(cached) " >&6
14751else
14752  ac_check_lib_save_LIBS=$LIBS
14753LIBS="-lintl -liconv $LIBS"
14754cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755/* end confdefs.h.  */
14756
14757/* Override any GCC internal prototype to avoid an error.
14758   Use char because int might match the return type of a GCC
14759   builtin and then its argument prototype would still apply.  */
14760#ifdef __cplusplus
14761extern "C"
14762#endif
14763char dcgettext ();
14764int
14765main ()
14766{
14767return dcgettext ();
14768  ;
14769  return 0;
14770}
14771_ACEOF
14772if ac_fn_c_try_link "$LINENO"; then :
14773  ac_cv_lib_intl_dcgettext=yes
14774else
14775  ac_cv_lib_intl_dcgettext=no
14776fi
14777rm -f core conftest.err conftest.$ac_objext \
14778    conftest$ac_exeext conftest.$ac_ext
14779LIBS=$ac_check_lib_save_LIBS
14780fi
14781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14782$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14783if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14784  gt_cv_func_dgettext_libintl=yes
14785			libintl_extra_libs=-liconv
14786else
14787  :
14788fi
14789
14790else
14791  :
14792fi
14793
14794        fi
14795
14796        #
14797        # If we found libintl, then check in it for bind_textdomain_codeset();
14798        # we'll prefer libc if neither have bind_textdomain_codeset(),
14799        # and both have dgettext and ngettext
14800        #
14801        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14802          glib_save_LIBS="$LIBS"
14803          LIBS="$LIBS -lintl $libintl_extra_libs"
14804          unset ac_cv_func_bind_textdomain_codeset
14805          for ac_func in bind_textdomain_codeset
14806do :
14807  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14808if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14809  cat >>confdefs.h <<_ACEOF
14810#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14811_ACEOF
14812
14813fi
14814done
14815
14816          LIBS="$glib_save_LIBS"
14817
14818          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14819            gt_cv_func_dgettext_libc=no
14820          else
14821            if test "$gt_cv_func_dgettext_libc" = "yes" \
14822		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14823              gt_cv_func_dgettext_libintl=no
14824            fi
14825          fi
14826        fi
14827      fi
14828
14829      if test "$gt_cv_func_dgettext_libc" = "yes" \
14830	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14831        gt_cv_have_gettext=yes
14832      fi
14833
14834      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14835        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
14836      fi
14837
14838      if test "$gt_cv_have_gettext" = "yes"; then
14839
14840$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14841
14842	# Extract the first word of "msgfmt", so it can be a program name with args.
14843set dummy msgfmt; ac_word=$2
14844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14845$as_echo_n "checking for $ac_word... " >&6; }
14846if ${ac_cv_path_MSGFMT+:} false; then :
14847  $as_echo_n "(cached) " >&6
14848else
14849  case "$MSGFMT" in
14850  /*)
14851  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14852  ;;
14853  *)
14854  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14855  for ac_dir in $PATH; do
14856    test -z "$ac_dir" && ac_dir=.
14857    if test -f $ac_dir/$ac_word; then
14858      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14859	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14860	break
14861      fi
14862    fi
14863  done
14864  IFS="$ac_save_ifs"
14865  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14866  ;;
14867esac
14868fi
14869MSGFMT="$ac_cv_path_MSGFMT"
14870if test "$MSGFMT" != "no"; then
14871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14872$as_echo "$MSGFMT" >&6; }
14873else
14874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14875$as_echo "no" >&6; }
14876fi
14877	if test "$MSGFMT" != "no"; then
14878          glib_save_LIBS="$LIBS"
14879          LIBS="$LIBS $INTLLIBS"
14880	  for ac_func in dcgettext
14881do :
14882  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14883if test "x$ac_cv_func_dcgettext" = xyes; then :
14884  cat >>confdefs.h <<_ACEOF
14885#define HAVE_DCGETTEXT 1
14886_ACEOF
14887
14888fi
14889done
14890
14891	  MSGFMT_OPTS=
14892	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14893$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14894	  cat >conftest.foo <<_ACEOF
14895
14896msgid ""
14897msgstr ""
14898"Content-Type: text/plain; charset=UTF-8\n"
14899"Project-Id-Version: test 1.0\n"
14900"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14901"Last-Translator: test <foo@bar.xx>\n"
14902"Language-Team: C <LL@li.org>\n"
14903"MIME-Version: 1.0\n"
14904"Content-Transfer-Encoding: 8bit\n"
14905
14906_ACEOF
14907if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14908  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14909  ac_status=$?
14910  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14911  test $ac_status = 0; }; then
14912  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14913$as_echo "yes" >&6; }
14914else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14915$as_echo "no" >&6; }
14916echo "$as_me: failed input was:" >&5
14917sed 's/^/| /' conftest.foo >&5
14918fi
14919
14920	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14921set dummy gmsgfmt; ac_word=$2
14922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14923$as_echo_n "checking for $ac_word... " >&6; }
14924if ${ac_cv_path_GMSGFMT+:} false; then :
14925  $as_echo_n "(cached) " >&6
14926else
14927  case $GMSGFMT in
14928  [\\/]* | ?:[\\/]*)
14929  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14930  ;;
14931  *)
14932  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14933for as_dir in $PATH
14934do
14935  IFS=$as_save_IFS
14936  test -z "$as_dir" && as_dir=.
14937    for ac_exec_ext in '' $ac_executable_extensions; do
14938  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14939    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14941    break 2
14942  fi
14943done
14944  done
14945IFS=$as_save_IFS
14946
14947  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14948  ;;
14949esac
14950fi
14951GMSGFMT=$ac_cv_path_GMSGFMT
14952if test -n "$GMSGFMT"; then
14953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14954$as_echo "$GMSGFMT" >&6; }
14955else
14956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14957$as_echo "no" >&6; }
14958fi
14959
14960
14961	  # Extract the first word of "xgettext", so it can be a program name with args.
14962set dummy xgettext; ac_word=$2
14963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14964$as_echo_n "checking for $ac_word... " >&6; }
14965if ${ac_cv_path_XGETTEXT+:} false; then :
14966  $as_echo_n "(cached) " >&6
14967else
14968  case "$XGETTEXT" in
14969  /*)
14970  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14971  ;;
14972  *)
14973  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14974  for ac_dir in $PATH; do
14975    test -z "$ac_dir" && ac_dir=.
14976    if test -f $ac_dir/$ac_word; then
14977      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14978	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14979	break
14980      fi
14981    fi
14982  done
14983  IFS="$ac_save_ifs"
14984  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14985  ;;
14986esac
14987fi
14988XGETTEXT="$ac_cv_path_XGETTEXT"
14989if test "$XGETTEXT" != ":"; then
14990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14991$as_echo "$XGETTEXT" >&6; }
14992else
14993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14994$as_echo "no" >&6; }
14995fi
14996
14997	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998/* end confdefs.h.  */
14999
15000int
15001main ()
15002{
15003extern int _nl_msg_cat_cntr;
15004			 return _nl_msg_cat_cntr
15005  ;
15006  return 0;
15007}
15008_ACEOF
15009if ac_fn_c_try_link "$LINENO"; then :
15010  CATOBJEXT=.gmo
15011             DATADIRNAME=share
15012else
15013  case $host in
15014	    *-*-solaris*)
15015	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15016if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15017  CATOBJEXT=.gmo
15018               DATADIRNAME=share
15019else
15020  CATOBJEXT=.mo
15021               DATADIRNAME=lib
15022fi
15023
15024	    ;;
15025	    *-*-openbsd*)
15026	    CATOBJEXT=.mo
15027            DATADIRNAME=share
15028	    ;;
15029	    *)
15030	    CATOBJEXT=.mo
15031            DATADIRNAME=lib
15032	    ;;
15033	    esac
15034fi
15035rm -f core conftest.err conftest.$ac_objext \
15036    conftest$ac_exeext conftest.$ac_ext
15037          LIBS="$glib_save_LIBS"
15038	  INSTOBJEXT=.mo
15039	else
15040	  gt_cv_have_gettext=no
15041	fi
15042      fi
15043
15044fi
15045
15046
15047
15048    if test "$gt_cv_have_gettext" = "yes" ; then
15049
15050$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15051
15052    fi
15053
15054        if test "$XGETTEXT" != ":"; then
15055                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15056        : ;
15057      else
15058        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15059$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15060        XGETTEXT=":"
15061      fi
15062    fi
15063
15064    # We need to process the po/ directory.
15065    POSUB=po
15066
15067    ac_config_commands="$ac_config_commands default-1"
15068
15069
15070                for lang in $ALL_LINGUAS; do
15071      GMOFILES="$GMOFILES $lang.gmo"
15072      POFILES="$POFILES $lang.po"
15073    done
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087   if test "$gt_cv_have_gettext" = "yes"; then
15088     if test "x$ALL_LINGUAS" = "x"; then
15089       LINGUAS=
15090     else
15091       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15092$as_echo_n "checking for catalogs to be installed... " >&6; }
15093       NEW_LINGUAS=
15094       for presentlang in $ALL_LINGUAS; do
15095         useit=no
15096         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15097           desiredlanguages="$LINGUAS"
15098         else
15099           desiredlanguages="$ALL_LINGUAS"
15100         fi
15101         for desiredlang in $desiredlanguages; do
15102 	   # Use the presentlang catalog if desiredlang is
15103           #   a. equal to presentlang, or
15104           #   b. a variant of presentlang (because in this case,
15105           #      presentlang can be used as a fallback for messages
15106           #      which are not translated in the desiredlang catalog).
15107           case "$desiredlang" in
15108             "$presentlang"*) useit=yes;;
15109           esac
15110         done
15111         if test $useit = yes; then
15112           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15113         fi
15114       done
15115       LINGUAS=$NEW_LINGUAS
15116       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15117$as_echo "$LINGUAS" >&6; }
15118     fi
15119
15120          if test -n "$LINGUAS"; then
15121       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15122     fi
15123   fi
15124
15125            MKINSTALLDIRS=
15126   if test -n "$ac_aux_dir"; then
15127     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15128   fi
15129   if test -z "$MKINSTALLDIRS"; then
15130     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15131   fi
15132
15133
15134         test -d po || mkdir po
15135   if test "x$srcdir" != "x."; then
15136     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15137       posrcprefix="$srcdir/"
15138     else
15139       posrcprefix="../$srcdir/"
15140     fi
15141   else
15142     posrcprefix="../"
15143   fi
15144   rm -f po/POTFILES
15145   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15146	< $srcdir/po/POTFILES.in > po/POTFILES
15147
15148
15149    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15150if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15151
15152fi
15153
15154
15155    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
15156$as_echo_n "checking for locales directory... " >&6; }
15157
15158# Check whether --with-locales-dir was given.
15159if test "${with_locales_dir+set}" = set; then :
15160  withval=$with_locales_dir; localedir=$withval
15161else
15162
15163    if test x"$CATOBJEXT" = x".mo"; then
15164      localedir=$libdir/locale
15165    else
15166      localedir=$datarootdir/locale
15167    fi
15168
15169fi
15170
15171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
15172$as_echo "$localedir" >&6; }
15173
15174
15175    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
15176$as_echo_n "checking for additional xgettext flags... " >&6; }
15177  if test x"$XGETTEXT_ARGS" = x""; then
15178    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
15179  else
15180    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
15181  fi
15182
15183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
15184$as_echo "$XGETTEXT_ARGS" >&6; }
15185
15186
15187
15188    # Check whether --enable-debug was given.
15189if test "${enable_debug+set}" = set; then :
15190  enableval=$enable_debug; enable_debug=$enableval
15191else
15192  enable_debug=minimum
15193fi
15194
15195
15196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
15197$as_echo_n "checking whether to build with debugging support... " >&6; }
15198  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
15199
15200$as_echo "#define DEBUG 1" >>confdefs.h
15201
15202
15203    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
15204                              -Wall -Wextra \
15205                              -Wno-missing-field-initializers \
15206                              -Wno-unused-parameter -Wold-style-definition \
15207                              -Wdeclaration-after-statement \
15208                              -Wmissing-declarations \
15209                              -Wmissing-noreturn -Wpointer-arith \
15210                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
15211                              -Winit-self -Wmissing-include-dirs -Wundef \
15212                              -Wnested-externs"
15213    CPPFLAGS="$CPPFLAGS"
15214
15215    if test x`uname` = x"Linux"; then
15216      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
15217    fi
15218
15219        if test x`uname` != x"OpenBSD"; then
15220      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
15221    fi
15222
15223    if test x"$enable_debug" = x"full"; then
15224
15225$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
15226
15227      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
15228      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
15229      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
15230$as_echo "full" >&6; }
15231    else
15232      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
15233      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15234$as_echo "yes" >&6; }
15235    fi
15236
15237
15238  for flag in $xdt_cv_additional_CFLAGS; do
15239    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
15240$as_echo_n "checking if $CC supports $flag... " >&6; }
15241    saved_CFLAGS="$CFLAGS"
15242    CFLAGS="$CFLAGS $flag"
15243    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244/* end confdefs.h.  */
15245
15246_ACEOF
15247if ac_fn_c_try_compile "$LINENO"; then :
15248  flag_supported=yes
15249else
15250  flag_supported=no
15251fi
15252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253    CFLAGS="$saved_CFLAGS"
15254    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
15255$as_echo "$flag_supported" >&6; }
15256
15257    if test "x$flag_supported" = "xyes"; then
15258      supported_CFLAGS="$supported_CFLAGS $flag"
15259    fi
15260  done
15261
15262
15263
15264                                                supported_CXXFLAGS="$supported_CFLAGS"
15265
15266
15267    CFLAGS="$CFLAGS $supported_CFLAGS"
15268    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
15269  else
15270    CPPFLAGS="$CPPFLAGS -DNDEBUG"
15271
15272    if test x"$enable_debug" = x"no"; then
15273      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
15274      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15275$as_echo "no" >&6; }
15276    else
15277      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
15278$as_echo "minimum" >&6; }
15279    fi
15280  fi
15281
15282
15283ac_config_files="$ac_config_files Makefile panel-plugin/Makefile po/Makefile.in icons/Makefile icons/16x16/Makefile icons/32x32/Makefile icons/128x128/Makefile icons/scalable/Makefile"
15284
15285cat >confcache <<\_ACEOF
15286# This file is a shell script that caches the results of configure
15287# tests run on this system so they can be shared between configure
15288# scripts and configure runs, see configure's option --config-cache.
15289# It is not useful on other systems.  If it contains results you don't
15290# want to keep, you may remove or edit it.
15291#
15292# config.status only pays attention to the cache file if you give it
15293# the --recheck option to rerun configure.
15294#
15295# `ac_cv_env_foo' variables (set or unset) will be overridden when
15296# loading this file, other *unset* `ac_cv_foo' will be assigned the
15297# following values.
15298
15299_ACEOF
15300
15301# The following way of writing the cache mishandles newlines in values,
15302# but we know of no workaround that is simple, portable, and efficient.
15303# So, we kill variables containing newlines.
15304# Ultrix sh set writes to stderr and can't be redirected directly,
15305# and sets the high bit in the cache file unless we assign to the vars.
15306(
15307  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15308    eval ac_val=\$$ac_var
15309    case $ac_val in #(
15310    *${as_nl}*)
15311      case $ac_var in #(
15312      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15313$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15314      esac
15315      case $ac_var in #(
15316      _ | IFS | as_nl) ;; #(
15317      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15318      *) { eval $ac_var=; unset $ac_var;} ;;
15319      esac ;;
15320    esac
15321  done
15322
15323  (set) 2>&1 |
15324    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15325    *${as_nl}ac_space=\ *)
15326      # `set' does not quote correctly, so add quotes: double-quote
15327      # substitution turns \\\\ into \\, and sed turns \\ into \.
15328      sed -n \
15329	"s/'/'\\\\''/g;
15330	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15331      ;; #(
15332    *)
15333      # `set' quotes correctly as required by POSIX, so do not add quotes.
15334      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15335      ;;
15336    esac |
15337    sort
15338) |
15339  sed '
15340     /^ac_cv_env_/b end
15341     t clear
15342     :clear
15343     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15344     t end
15345     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15346     :end' >>confcache
15347if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15348  if test -w "$cache_file"; then
15349    if test "x$cache_file" != "x/dev/null"; then
15350      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15351$as_echo "$as_me: updating cache $cache_file" >&6;}
15352      if test ! -f "$cache_file" || test -h "$cache_file"; then
15353	cat confcache >"$cache_file"
15354      else
15355        case $cache_file in #(
15356        */* | ?:*)
15357	  mv -f confcache "$cache_file"$$ &&
15358	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15359        *)
15360	  mv -f confcache "$cache_file" ;;
15361	esac
15362      fi
15363    fi
15364  else
15365    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15366$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15367  fi
15368fi
15369rm -f confcache
15370
15371test "x$prefix" = xNONE && prefix=$ac_default_prefix
15372# Let make expand exec_prefix.
15373test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15374
15375DEFS=-DHAVE_CONFIG_H
15376
15377ac_libobjs=
15378ac_ltlibobjs=
15379U=
15380for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15381  # 1. Remove the extension, and $U if already installed.
15382  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15383  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15384  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15385  #    will be set to the directory where LIBOBJS objects are built.
15386  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15387  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15388done
15389LIBOBJS=$ac_libobjs
15390
15391LTLIBOBJS=$ac_ltlibobjs
15392
15393
15394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15395$as_echo_n "checking that generated files are newer than configure... " >&6; }
15396   if test -n "$am_sleep_pid"; then
15397     # Hide warnings about reused PIDs.
15398     wait $am_sleep_pid 2>/dev/null
15399   fi
15400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15401$as_echo "done" >&6; }
15402 if test -n "$EXEEXT"; then
15403  am__EXEEXT_TRUE=
15404  am__EXEEXT_FALSE='#'
15405else
15406  am__EXEEXT_TRUE='#'
15407  am__EXEEXT_FALSE=
15408fi
15409
15410if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15411  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15412Usually this means the macro was only invoked conditionally." "$LINENO" 5
15413fi
15414if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15415  as_fn_error $? "conditional \"AMDEP\" was never defined.
15416Usually this means the macro was only invoked conditionally." "$LINENO" 5
15417fi
15418if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15419  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15420Usually this means the macro was only invoked conditionally." "$LINENO" 5
15421fi
15422if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15423  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15424Usually this means the macro was only invoked conditionally." "$LINENO" 5
15425fi
15426
15427  ac_config_commands="$ac_config_commands po/stamp-it"
15428
15429
15430
15431: "${CONFIG_STATUS=./config.status}"
15432ac_write_fail=0
15433ac_clean_files_save=$ac_clean_files
15434ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15435{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15436$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15437as_write_fail=0
15438cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15439#! $SHELL
15440# Generated by $as_me.
15441# Run this file to recreate the current configuration.
15442# Compiler output produced by configure, useful for debugging
15443# configure, is in config.log if it exists.
15444
15445debug=false
15446ac_cs_recheck=false
15447ac_cs_silent=false
15448
15449SHELL=\${CONFIG_SHELL-$SHELL}
15450export SHELL
15451_ASEOF
15452cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15453## -------------------- ##
15454## M4sh Initialization. ##
15455## -------------------- ##
15456
15457# Be more Bourne compatible
15458DUALCASE=1; export DUALCASE # for MKS sh
15459if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15460  emulate sh
15461  NULLCMD=:
15462  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15463  # is contrary to our usage.  Disable this feature.
15464  alias -g '${1+"$@"}'='"$@"'
15465  setopt NO_GLOB_SUBST
15466else
15467  case `(set -o) 2>/dev/null` in #(
15468  *posix*) :
15469    set -o posix ;; #(
15470  *) :
15471     ;;
15472esac
15473fi
15474
15475
15476as_nl='
15477'
15478export as_nl
15479# Printing a long string crashes Solaris 7 /usr/bin/printf.
15480as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15481as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15482as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15483# Prefer a ksh shell builtin over an external printf program on Solaris,
15484# but without wasting forks for bash or zsh.
15485if test -z "$BASH_VERSION$ZSH_VERSION" \
15486    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15487  as_echo='print -r --'
15488  as_echo_n='print -rn --'
15489elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15490  as_echo='printf %s\n'
15491  as_echo_n='printf %s'
15492else
15493  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15494    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15495    as_echo_n='/usr/ucb/echo -n'
15496  else
15497    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15498    as_echo_n_body='eval
15499      arg=$1;
15500      case $arg in #(
15501      *"$as_nl"*)
15502	expr "X$arg" : "X\\(.*\\)$as_nl";
15503	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15504      esac;
15505      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15506    '
15507    export as_echo_n_body
15508    as_echo_n='sh -c $as_echo_n_body as_echo'
15509  fi
15510  export as_echo_body
15511  as_echo='sh -c $as_echo_body as_echo'
15512fi
15513
15514# The user is always right.
15515if test "${PATH_SEPARATOR+set}" != set; then
15516  PATH_SEPARATOR=:
15517  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15518    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15519      PATH_SEPARATOR=';'
15520  }
15521fi
15522
15523
15524# IFS
15525# We need space, tab and new line, in precisely that order.  Quoting is
15526# there to prevent editors from complaining about space-tab.
15527# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15528# splitting by setting IFS to empty value.)
15529IFS=" ""	$as_nl"
15530
15531# Find who we are.  Look in the path if we contain no directory separator.
15532as_myself=
15533case $0 in #((
15534  *[\\/]* ) as_myself=$0 ;;
15535  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15536for as_dir in $PATH
15537do
15538  IFS=$as_save_IFS
15539  test -z "$as_dir" && as_dir=.
15540    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15541  done
15542IFS=$as_save_IFS
15543
15544     ;;
15545esac
15546# We did not find ourselves, most probably we were run as `sh COMMAND'
15547# in which case we are not to be found in the path.
15548if test "x$as_myself" = x; then
15549  as_myself=$0
15550fi
15551if test ! -f "$as_myself"; then
15552  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15553  exit 1
15554fi
15555
15556# Unset variables that we do not need and which cause bugs (e.g. in
15557# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15558# suppresses any "Segmentation fault" message there.  '((' could
15559# trigger a bug in pdksh 5.2.14.
15560for as_var in BASH_ENV ENV MAIL MAILPATH
15561do eval test x\${$as_var+set} = xset \
15562  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15563done
15564PS1='$ '
15565PS2='> '
15566PS4='+ '
15567
15568# NLS nuisances.
15569LC_ALL=C
15570export LC_ALL
15571LANGUAGE=C
15572export LANGUAGE
15573
15574# CDPATH.
15575(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15576
15577
15578# as_fn_error STATUS ERROR [LINENO LOG_FD]
15579# ----------------------------------------
15580# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15581# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15582# script with STATUS, using 1 if that was 0.
15583as_fn_error ()
15584{
15585  as_status=$1; test $as_status -eq 0 && as_status=1
15586  if test "$4"; then
15587    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15588    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15589  fi
15590  $as_echo "$as_me: error: $2" >&2
15591  as_fn_exit $as_status
15592} # as_fn_error
15593
15594
15595# as_fn_set_status STATUS
15596# -----------------------
15597# Set $? to STATUS, without forking.
15598as_fn_set_status ()
15599{
15600  return $1
15601} # as_fn_set_status
15602
15603# as_fn_exit STATUS
15604# -----------------
15605# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15606as_fn_exit ()
15607{
15608  set +e
15609  as_fn_set_status $1
15610  exit $1
15611} # as_fn_exit
15612
15613# as_fn_unset VAR
15614# ---------------
15615# Portably unset VAR.
15616as_fn_unset ()
15617{
15618  { eval $1=; unset $1;}
15619}
15620as_unset=as_fn_unset
15621# as_fn_append VAR VALUE
15622# ----------------------
15623# Append the text in VALUE to the end of the definition contained in VAR. Take
15624# advantage of any shell optimizations that allow amortized linear growth over
15625# repeated appends, instead of the typical quadratic growth present in naive
15626# implementations.
15627if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15628  eval 'as_fn_append ()
15629  {
15630    eval $1+=\$2
15631  }'
15632else
15633  as_fn_append ()
15634  {
15635    eval $1=\$$1\$2
15636  }
15637fi # as_fn_append
15638
15639# as_fn_arith ARG...
15640# ------------------
15641# Perform arithmetic evaluation on the ARGs, and store the result in the
15642# global $as_val. Take advantage of shells that can avoid forks. The arguments
15643# must be portable across $(()) and expr.
15644if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15645  eval 'as_fn_arith ()
15646  {
15647    as_val=$(( $* ))
15648  }'
15649else
15650  as_fn_arith ()
15651  {
15652    as_val=`expr "$@" || test $? -eq 1`
15653  }
15654fi # as_fn_arith
15655
15656
15657if expr a : '\(a\)' >/dev/null 2>&1 &&
15658   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15659  as_expr=expr
15660else
15661  as_expr=false
15662fi
15663
15664if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15665  as_basename=basename
15666else
15667  as_basename=false
15668fi
15669
15670if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15671  as_dirname=dirname
15672else
15673  as_dirname=false
15674fi
15675
15676as_me=`$as_basename -- "$0" ||
15677$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15678	 X"$0" : 'X\(//\)$' \| \
15679	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15680$as_echo X/"$0" |
15681    sed '/^.*\/\([^/][^/]*\)\/*$/{
15682	    s//\1/
15683	    q
15684	  }
15685	  /^X\/\(\/\/\)$/{
15686	    s//\1/
15687	    q
15688	  }
15689	  /^X\/\(\/\).*/{
15690	    s//\1/
15691	    q
15692	  }
15693	  s/.*/./; q'`
15694
15695# Avoid depending upon Character Ranges.
15696as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15697as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15698as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15699as_cr_digits='0123456789'
15700as_cr_alnum=$as_cr_Letters$as_cr_digits
15701
15702ECHO_C= ECHO_N= ECHO_T=
15703case `echo -n x` in #(((((
15704-n*)
15705  case `echo 'xy\c'` in
15706  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15707  xy)  ECHO_C='\c';;
15708  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15709       ECHO_T='	';;
15710  esac;;
15711*)
15712  ECHO_N='-n';;
15713esac
15714
15715rm -f conf$$ conf$$.exe conf$$.file
15716if test -d conf$$.dir; then
15717  rm -f conf$$.dir/conf$$.file
15718else
15719  rm -f conf$$.dir
15720  mkdir conf$$.dir 2>/dev/null
15721fi
15722if (echo >conf$$.file) 2>/dev/null; then
15723  if ln -s conf$$.file conf$$ 2>/dev/null; then
15724    as_ln_s='ln -s'
15725    # ... but there are two gotchas:
15726    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15727    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15728    # In both cases, we have to default to `cp -pR'.
15729    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15730      as_ln_s='cp -pR'
15731  elif ln conf$$.file conf$$ 2>/dev/null; then
15732    as_ln_s=ln
15733  else
15734    as_ln_s='cp -pR'
15735  fi
15736else
15737  as_ln_s='cp -pR'
15738fi
15739rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15740rmdir conf$$.dir 2>/dev/null
15741
15742
15743# as_fn_mkdir_p
15744# -------------
15745# Create "$as_dir" as a directory, including parents if necessary.
15746as_fn_mkdir_p ()
15747{
15748
15749  case $as_dir in #(
15750  -*) as_dir=./$as_dir;;
15751  esac
15752  test -d "$as_dir" || eval $as_mkdir_p || {
15753    as_dirs=
15754    while :; do
15755      case $as_dir in #(
15756      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15757      *) as_qdir=$as_dir;;
15758      esac
15759      as_dirs="'$as_qdir' $as_dirs"
15760      as_dir=`$as_dirname -- "$as_dir" ||
15761$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15762	 X"$as_dir" : 'X\(//\)[^/]' \| \
15763	 X"$as_dir" : 'X\(//\)$' \| \
15764	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15765$as_echo X"$as_dir" |
15766    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15767	    s//\1/
15768	    q
15769	  }
15770	  /^X\(\/\/\)[^/].*/{
15771	    s//\1/
15772	    q
15773	  }
15774	  /^X\(\/\/\)$/{
15775	    s//\1/
15776	    q
15777	  }
15778	  /^X\(\/\).*/{
15779	    s//\1/
15780	    q
15781	  }
15782	  s/.*/./; q'`
15783      test -d "$as_dir" && break
15784    done
15785    test -z "$as_dirs" || eval "mkdir $as_dirs"
15786  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15787
15788
15789} # as_fn_mkdir_p
15790if mkdir -p . 2>/dev/null; then
15791  as_mkdir_p='mkdir -p "$as_dir"'
15792else
15793  test -d ./-p && rmdir ./-p
15794  as_mkdir_p=false
15795fi
15796
15797
15798# as_fn_executable_p FILE
15799# -----------------------
15800# Test if FILE is an executable regular file.
15801as_fn_executable_p ()
15802{
15803  test -f "$1" && test -x "$1"
15804} # as_fn_executable_p
15805as_test_x='test -x'
15806as_executable_p=as_fn_executable_p
15807
15808# Sed expression to map a string onto a valid CPP name.
15809as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15810
15811# Sed expression to map a string onto a valid variable name.
15812as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15813
15814
15815exec 6>&1
15816## ----------------------------------- ##
15817## Main body of $CONFIG_STATUS script. ##
15818## ----------------------------------- ##
15819_ASEOF
15820test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15821
15822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15823# Save the log message, to keep $0 and so on meaningful, and to
15824# report actual input values of CONFIG_FILES etc. instead of their
15825# values after options handling.
15826ac_log="
15827This file was extended by xfce4-netload-plugin $as_me 1.4.0, which was
15828generated by GNU Autoconf 2.69.  Invocation command line was
15829
15830  CONFIG_FILES    = $CONFIG_FILES
15831  CONFIG_HEADERS  = $CONFIG_HEADERS
15832  CONFIG_LINKS    = $CONFIG_LINKS
15833  CONFIG_COMMANDS = $CONFIG_COMMANDS
15834  $ $0 $@
15835
15836on `(hostname || uname -n) 2>/dev/null | sed 1q`
15837"
15838
15839_ACEOF
15840
15841case $ac_config_files in *"
15842"*) set x $ac_config_files; shift; ac_config_files=$*;;
15843esac
15844
15845case $ac_config_headers in *"
15846"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15847esac
15848
15849
15850cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15851# Files that config.status was made for.
15852config_files="$ac_config_files"
15853config_headers="$ac_config_headers"
15854config_commands="$ac_config_commands"
15855
15856_ACEOF
15857
15858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15859ac_cs_usage="\
15860\`$as_me' instantiates files and other configuration actions
15861from templates according to the current configuration.  Unless the files
15862and actions are specified as TAGs, all are instantiated by default.
15863
15864Usage: $0 [OPTION]... [TAG]...
15865
15866  -h, --help       print this help, then exit
15867  -V, --version    print version number and configuration settings, then exit
15868      --config     print configuration, then exit
15869  -q, --quiet, --silent
15870                   do not print progress messages
15871  -d, --debug      don't remove temporary files
15872      --recheck    update $as_me by reconfiguring in the same conditions
15873      --file=FILE[:TEMPLATE]
15874                   instantiate the configuration file FILE
15875      --header=FILE[:TEMPLATE]
15876                   instantiate the configuration header FILE
15877
15878Configuration files:
15879$config_files
15880
15881Configuration headers:
15882$config_headers
15883
15884Configuration commands:
15885$config_commands
15886
15887Report bugs to <xfce-dev@xfce.org>."
15888
15889_ACEOF
15890cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15891ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15892ac_cs_version="\\
15893xfce4-netload-plugin config.status 1.4.0
15894configured by $0, generated by GNU Autoconf 2.69,
15895  with options \\"\$ac_cs_config\\"
15896
15897Copyright (C) 2012 Free Software Foundation, Inc.
15898This config.status script is free software; the Free Software Foundation
15899gives unlimited permission to copy, distribute and modify it."
15900
15901ac_pwd='$ac_pwd'
15902srcdir='$srcdir'
15903INSTALL='$INSTALL'
15904MKDIR_P='$MKDIR_P'
15905AWK='$AWK'
15906test -n "\$AWK" || AWK=awk
15907_ACEOF
15908
15909cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15910# The default lists apply if the user does not specify any file.
15911ac_need_defaults=:
15912while test $# != 0
15913do
15914  case $1 in
15915  --*=?*)
15916    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15917    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15918    ac_shift=:
15919    ;;
15920  --*=)
15921    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15922    ac_optarg=
15923    ac_shift=:
15924    ;;
15925  *)
15926    ac_option=$1
15927    ac_optarg=$2
15928    ac_shift=shift
15929    ;;
15930  esac
15931
15932  case $ac_option in
15933  # Handling of the options.
15934  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15935    ac_cs_recheck=: ;;
15936  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15937    $as_echo "$ac_cs_version"; exit ;;
15938  --config | --confi | --conf | --con | --co | --c )
15939    $as_echo "$ac_cs_config"; exit ;;
15940  --debug | --debu | --deb | --de | --d | -d )
15941    debug=: ;;
15942  --file | --fil | --fi | --f )
15943    $ac_shift
15944    case $ac_optarg in
15945    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15946    '') as_fn_error $? "missing file argument" ;;
15947    esac
15948    as_fn_append CONFIG_FILES " '$ac_optarg'"
15949    ac_need_defaults=false;;
15950  --header | --heade | --head | --hea )
15951    $ac_shift
15952    case $ac_optarg in
15953    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15954    esac
15955    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15956    ac_need_defaults=false;;
15957  --he | --h)
15958    # Conflict between --help and --header
15959    as_fn_error $? "ambiguous option: \`$1'
15960Try \`$0 --help' for more information.";;
15961  --help | --hel | -h )
15962    $as_echo "$ac_cs_usage"; exit ;;
15963  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15964  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15965    ac_cs_silent=: ;;
15966
15967  # This is an error.
15968  -*) as_fn_error $? "unrecognized option: \`$1'
15969Try \`$0 --help' for more information." ;;
15970
15971  *) as_fn_append ac_config_targets " $1"
15972     ac_need_defaults=false ;;
15973
15974  esac
15975  shift
15976done
15977
15978ac_configure_extra_args=
15979
15980if $ac_cs_silent; then
15981  exec 6>/dev/null
15982  ac_configure_extra_args="$ac_configure_extra_args --silent"
15983fi
15984
15985_ACEOF
15986cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15987if \$ac_cs_recheck; then
15988  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15989  shift
15990  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15991  CONFIG_SHELL='$SHELL'
15992  export CONFIG_SHELL
15993  exec "\$@"
15994fi
15995
15996_ACEOF
15997cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15998exec 5>>config.log
15999{
16000  echo
16001  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16002## Running $as_me. ##
16003_ASBOX
16004  $as_echo "$ac_log"
16005} >&5
16006
16007_ACEOF
16008cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16009#
16010# INIT-COMMANDS
16011#
16012AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16013
16014
16015# The HP-UX ksh and POSIX shell print the target directory to stdout
16016# if CDPATH is set.
16017(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16018
16019sed_quote_subst='$sed_quote_subst'
16020double_quote_subst='$double_quote_subst'
16021delay_variable_subst='$delay_variable_subst'
16022macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16023macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16024enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16025enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16026pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16027enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16028shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16029SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16030ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16031PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16032host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16033host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16034host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16035build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16036build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16037build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16038SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16039Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16040GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16041EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16042FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16043LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16044NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16045LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16046max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16047ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16048exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16049lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16050lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16051lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16052lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16053lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16054reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16055reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16056OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16057deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16058file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16059file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16060want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16061DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16062sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16063AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16064AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16065archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16066STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16067RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16068old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16069old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16070old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16071lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16072CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16073CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16074compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16075GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16076lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16077lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16078lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16079lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16080lt_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"`'
16081lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16082nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16083lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16084lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16085objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16086MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16087lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16088lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16089lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16090lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16091lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16092need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16093MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16094DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16095NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16096LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16097OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16098OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16099libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16100shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16101extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16102archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16103enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16104export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16105whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16106compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16107old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16108old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16109archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16110archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16111module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16112module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16113with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16114allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16115no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16116hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16117hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16118hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16119hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16120hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16121hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16122hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16123inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16124link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16125always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16126export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16127exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16128include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16129prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16130postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16131file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16132variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16133need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16134need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16135version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16136runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16137shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16138shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16139libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16140library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16141soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16142install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16143postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16144postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16145finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16146finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16147hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16148sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16149configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16150configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16151hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16152enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16153enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16154enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16155old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16156striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16157
16158LTCC='$LTCC'
16159LTCFLAGS='$LTCFLAGS'
16160compiler='$compiler_DEFAULT'
16161
16162# A function that is used when there is no print builtin or printf.
16163func_fallback_echo ()
16164{
16165  eval 'cat <<_LTECHO_EOF
16166\$1
16167_LTECHO_EOF'
16168}
16169
16170# Quote evaled strings.
16171for var in SHELL \
16172ECHO \
16173PATH_SEPARATOR \
16174SED \
16175GREP \
16176EGREP \
16177FGREP \
16178LD \
16179NM \
16180LN_S \
16181lt_SP2NL \
16182lt_NL2SP \
16183reload_flag \
16184OBJDUMP \
16185deplibs_check_method \
16186file_magic_cmd \
16187file_magic_glob \
16188want_nocaseglob \
16189DLLTOOL \
16190sharedlib_from_linklib_cmd \
16191AR \
16192AR_FLAGS \
16193archiver_list_spec \
16194STRIP \
16195RANLIB \
16196CC \
16197CFLAGS \
16198compiler \
16199lt_cv_sys_global_symbol_pipe \
16200lt_cv_sys_global_symbol_to_cdecl \
16201lt_cv_sys_global_symbol_to_import \
16202lt_cv_sys_global_symbol_to_c_name_address \
16203lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16204lt_cv_nm_interface \
16205nm_file_list_spec \
16206lt_cv_truncate_bin \
16207lt_prog_compiler_no_builtin_flag \
16208lt_prog_compiler_pic \
16209lt_prog_compiler_wl \
16210lt_prog_compiler_static \
16211lt_cv_prog_compiler_c_o \
16212need_locks \
16213MANIFEST_TOOL \
16214DSYMUTIL \
16215NMEDIT \
16216LIPO \
16217OTOOL \
16218OTOOL64 \
16219shrext_cmds \
16220export_dynamic_flag_spec \
16221whole_archive_flag_spec \
16222compiler_needs_object \
16223with_gnu_ld \
16224allow_undefined_flag \
16225no_undefined_flag \
16226hardcode_libdir_flag_spec \
16227hardcode_libdir_separator \
16228exclude_expsyms \
16229include_expsyms \
16230file_list_spec \
16231variables_saved_for_relink \
16232libname_spec \
16233library_names_spec \
16234soname_spec \
16235install_override_mode \
16236finish_eval \
16237old_striplib \
16238striplib; do
16239    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16240    *[\\\\\\\`\\"\\\$]*)
16241      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16242      ;;
16243    *)
16244      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16245      ;;
16246    esac
16247done
16248
16249# Double-quote double-evaled strings.
16250for var in reload_cmds \
16251old_postinstall_cmds \
16252old_postuninstall_cmds \
16253old_archive_cmds \
16254extract_expsyms_cmds \
16255old_archive_from_new_cmds \
16256old_archive_from_expsyms_cmds \
16257archive_cmds \
16258archive_expsym_cmds \
16259module_cmds \
16260module_expsym_cmds \
16261export_symbols_cmds \
16262prelink_cmds \
16263postlink_cmds \
16264postinstall_cmds \
16265postuninstall_cmds \
16266finish_cmds \
16267sys_lib_search_path_spec \
16268configure_time_dlsearch_path \
16269configure_time_lt_sys_library_path; do
16270    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16271    *[\\\\\\\`\\"\\\$]*)
16272      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16273      ;;
16274    *)
16275      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16276      ;;
16277    esac
16278done
16279
16280ac_aux_dir='$ac_aux_dir'
16281
16282# See if we are running on zsh, and set the options that allow our
16283# commands through without removal of \ escapes INIT.
16284if test -n "\${ZSH_VERSION+set}"; then
16285   setopt NO_GLOB_SUBST
16286fi
16287
16288
16289    PACKAGE='$PACKAGE'
16290    VERSION='$VERSION'
16291    RM='$RM'
16292    ofile='$ofile'
16293
16294
16295
16296
16297
16298_ACEOF
16299
16300cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16301
16302# Handling of arguments.
16303for ac_config_target in $ac_config_targets
16304do
16305  case $ac_config_target in
16306    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16307    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16308    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16309    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16310    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16311    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
16312    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16313    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
16314    "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;;
16315    "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;;
16316    "icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;;
16317    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
16318    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16319
16320  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16321  esac
16322done
16323
16324
16325# If the user did not use the arguments to specify the items to instantiate,
16326# then the envvar interface is used.  Set only those that are not.
16327# We use the long form for the default assignment because of an extremely
16328# bizarre bug on SunOS 4.1.3.
16329if $ac_need_defaults; then
16330  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16331  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16332  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16333fi
16334
16335# Have a temporary directory for convenience.  Make it in the build tree
16336# simply because there is no reason against having it here, and in addition,
16337# creating and moving files from /tmp can sometimes cause problems.
16338# Hook for its removal unless debugging.
16339# Note that there is a small window in which the directory will not be cleaned:
16340# after its creation but before its name has been assigned to `$tmp'.
16341$debug ||
16342{
16343  tmp= ac_tmp=
16344  trap 'exit_status=$?
16345  : "${ac_tmp:=$tmp}"
16346  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16347' 0
16348  trap 'as_fn_exit 1' 1 2 13 15
16349}
16350# Create a (secure) tmp directory for tmp files.
16351
16352{
16353  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16354  test -d "$tmp"
16355}  ||
16356{
16357  tmp=./conf$$-$RANDOM
16358  (umask 077 && mkdir "$tmp")
16359} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16360ac_tmp=$tmp
16361
16362# Set up the scripts for CONFIG_FILES section.
16363# No need to generate them if there are no CONFIG_FILES.
16364# This happens for instance with `./config.status config.h'.
16365if test -n "$CONFIG_FILES"; then
16366
16367
16368ac_cr=`echo X | tr X '\015'`
16369# On cygwin, bash can eat \r inside `` if the user requested igncr.
16370# But we know of no other shell where ac_cr would be empty at this
16371# point, so we can use a bashism as a fallback.
16372if test "x$ac_cr" = x; then
16373  eval ac_cr=\$\'\\r\'
16374fi
16375ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16376if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16377  ac_cs_awk_cr='\\r'
16378else
16379  ac_cs_awk_cr=$ac_cr
16380fi
16381
16382echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16383_ACEOF
16384
16385
16386{
16387  echo "cat >conf$$subs.awk <<_ACEOF" &&
16388  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16389  echo "_ACEOF"
16390} >conf$$subs.sh ||
16391  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16392ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16393ac_delim='%!_!# '
16394for ac_last_try in false false false false false :; do
16395  . ./conf$$subs.sh ||
16396    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16397
16398  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16399  if test $ac_delim_n = $ac_delim_num; then
16400    break
16401  elif $ac_last_try; then
16402    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16403  else
16404    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16405  fi
16406done
16407rm -f conf$$subs.sh
16408
16409cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16410cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16411_ACEOF
16412sed -n '
16413h
16414s/^/S["/; s/!.*/"]=/
16415p
16416g
16417s/^[^!]*!//
16418:repl
16419t repl
16420s/'"$ac_delim"'$//
16421t delim
16422:nl
16423h
16424s/\(.\{148\}\)..*/\1/
16425t more1
16426s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16427p
16428n
16429b repl
16430:more1
16431s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16432p
16433g
16434s/.\{148\}//
16435t nl
16436:delim
16437h
16438s/\(.\{148\}\)..*/\1/
16439t more2
16440s/["\\]/\\&/g; s/^/"/; s/$/"/
16441p
16442b
16443:more2
16444s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16445p
16446g
16447s/.\{148\}//
16448t delim
16449' <conf$$subs.awk | sed '
16450/^[^""]/{
16451  N
16452  s/\n//
16453}
16454' >>$CONFIG_STATUS || ac_write_fail=1
16455rm -f conf$$subs.awk
16456cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16457_ACAWK
16458cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16459  for (key in S) S_is_set[key] = 1
16460  FS = ""
16461
16462}
16463{
16464  line = $ 0
16465  nfields = split(line, field, "@")
16466  substed = 0
16467  len = length(field[1])
16468  for (i = 2; i < nfields; i++) {
16469    key = field[i]
16470    keylen = length(key)
16471    if (S_is_set[key]) {
16472      value = S[key]
16473      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16474      len += length(value) + length(field[++i])
16475      substed = 1
16476    } else
16477      len += 1 + keylen
16478  }
16479
16480  print line
16481}
16482
16483_ACAWK
16484_ACEOF
16485cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16486if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16487  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16488else
16489  cat
16490fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16491  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16492_ACEOF
16493
16494# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16495# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16496# trailing colons and then remove the whole line if VPATH becomes empty
16497# (actually we leave an empty line to preserve line numbers).
16498if test "x$srcdir" = x.; then
16499  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16500h
16501s///
16502s/^/:/
16503s/[	 ]*$/:/
16504s/:\$(srcdir):/:/g
16505s/:\${srcdir}:/:/g
16506s/:@srcdir@:/:/g
16507s/^:*//
16508s/:*$//
16509x
16510s/\(=[	 ]*\).*/\1/
16511G
16512s/\n//
16513s/^[^=]*=[	 ]*$//
16514}'
16515fi
16516
16517cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16518fi # test -n "$CONFIG_FILES"
16519
16520# Set up the scripts for CONFIG_HEADERS section.
16521# No need to generate them if there are no CONFIG_HEADERS.
16522# This happens for instance with `./config.status Makefile'.
16523if test -n "$CONFIG_HEADERS"; then
16524cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16525BEGIN {
16526_ACEOF
16527
16528# Transform confdefs.h into an awk script `defines.awk', embedded as
16529# here-document in config.status, that substitutes the proper values into
16530# config.h.in to produce config.h.
16531
16532# Create a delimiter string that does not exist in confdefs.h, to ease
16533# handling of long lines.
16534ac_delim='%!_!# '
16535for ac_last_try in false false :; do
16536  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16537  if test -z "$ac_tt"; then
16538    break
16539  elif $ac_last_try; then
16540    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16541  else
16542    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16543  fi
16544done
16545
16546# For the awk script, D is an array of macro values keyed by name,
16547# likewise P contains macro parameters if any.  Preserve backslash
16548# newline sequences.
16549
16550ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16551sed -n '
16552s/.\{148\}/&'"$ac_delim"'/g
16553t rset
16554:rset
16555s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16556t def
16557d
16558:def
16559s/\\$//
16560t bsnl
16561s/["\\]/\\&/g
16562s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16563D["\1"]=" \3"/p
16564s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16565d
16566:bsnl
16567s/["\\]/\\&/g
16568s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16569D["\1"]=" \3\\\\\\n"\\/p
16570t cont
16571s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16572t cont
16573d
16574:cont
16575n
16576s/.\{148\}/&'"$ac_delim"'/g
16577t clear
16578:clear
16579s/\\$//
16580t bsnlc
16581s/["\\]/\\&/g; s/^/"/; s/$/"/p
16582d
16583:bsnlc
16584s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16585b cont
16586' <confdefs.h | sed '
16587s/'"$ac_delim"'/"\\\
16588"/g' >>$CONFIG_STATUS || ac_write_fail=1
16589
16590cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16591  for (key in D) D_is_set[key] = 1
16592  FS = ""
16593}
16594/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16595  line = \$ 0
16596  split(line, arg, " ")
16597  if (arg[1] == "#") {
16598    defundef = arg[2]
16599    mac1 = arg[3]
16600  } else {
16601    defundef = substr(arg[1], 2)
16602    mac1 = arg[2]
16603  }
16604  split(mac1, mac2, "(") #)
16605  macro = mac2[1]
16606  prefix = substr(line, 1, index(line, defundef) - 1)
16607  if (D_is_set[macro]) {
16608    # Preserve the white space surrounding the "#".
16609    print prefix "define", macro P[macro] D[macro]
16610    next
16611  } else {
16612    # Replace #undef with comments.  This is necessary, for example,
16613    # in the case of _POSIX_SOURCE, which is predefined and required
16614    # on some systems where configure will not decide to define it.
16615    if (defundef == "undef") {
16616      print "/*", prefix defundef, macro, "*/"
16617      next
16618    }
16619  }
16620}
16621{ print }
16622_ACAWK
16623_ACEOF
16624cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16625  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16626fi # test -n "$CONFIG_HEADERS"
16627
16628
16629eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16630shift
16631for ac_tag
16632do
16633  case $ac_tag in
16634  :[FHLC]) ac_mode=$ac_tag; continue;;
16635  esac
16636  case $ac_mode$ac_tag in
16637  :[FHL]*:*);;
16638  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16639  :[FH]-) ac_tag=-:-;;
16640  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16641  esac
16642  ac_save_IFS=$IFS
16643  IFS=:
16644  set x $ac_tag
16645  IFS=$ac_save_IFS
16646  shift
16647  ac_file=$1
16648  shift
16649
16650  case $ac_mode in
16651  :L) ac_source=$1;;
16652  :[FH])
16653    ac_file_inputs=
16654    for ac_f
16655    do
16656      case $ac_f in
16657      -) ac_f="$ac_tmp/stdin";;
16658      *) # Look for the file first in the build tree, then in the source tree
16659	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16660	 # because $ac_f cannot contain `:'.
16661	 test -f "$ac_f" ||
16662	   case $ac_f in
16663	   [\\/$]*) false;;
16664	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16665	   esac ||
16666	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16667      esac
16668      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16669      as_fn_append ac_file_inputs " '$ac_f'"
16670    done
16671
16672    # Let's still pretend it is `configure' which instantiates (i.e., don't
16673    # use $as_me), people would be surprised to read:
16674    #    /* config.h.  Generated by config.status.  */
16675    configure_input='Generated from '`
16676	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16677	`' by configure.'
16678    if test x"$ac_file" != x-; then
16679      configure_input="$ac_file.  $configure_input"
16680      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16681$as_echo "$as_me: creating $ac_file" >&6;}
16682    fi
16683    # Neutralize special characters interpreted by sed in replacement strings.
16684    case $configure_input in #(
16685    *\&* | *\|* | *\\* )
16686       ac_sed_conf_input=`$as_echo "$configure_input" |
16687       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16688    *) ac_sed_conf_input=$configure_input;;
16689    esac
16690
16691    case $ac_tag in
16692    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16693      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16694    esac
16695    ;;
16696  esac
16697
16698  ac_dir=`$as_dirname -- "$ac_file" ||
16699$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16700	 X"$ac_file" : 'X\(//\)[^/]' \| \
16701	 X"$ac_file" : 'X\(//\)$' \| \
16702	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16703$as_echo X"$ac_file" |
16704    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16705	    s//\1/
16706	    q
16707	  }
16708	  /^X\(\/\/\)[^/].*/{
16709	    s//\1/
16710	    q
16711	  }
16712	  /^X\(\/\/\)$/{
16713	    s//\1/
16714	    q
16715	  }
16716	  /^X\(\/\).*/{
16717	    s//\1/
16718	    q
16719	  }
16720	  s/.*/./; q'`
16721  as_dir="$ac_dir"; as_fn_mkdir_p
16722  ac_builddir=.
16723
16724case "$ac_dir" in
16725.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16726*)
16727  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16728  # A ".." for each directory in $ac_dir_suffix.
16729  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16730  case $ac_top_builddir_sub in
16731  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16732  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16733  esac ;;
16734esac
16735ac_abs_top_builddir=$ac_pwd
16736ac_abs_builddir=$ac_pwd$ac_dir_suffix
16737# for backward compatibility:
16738ac_top_builddir=$ac_top_build_prefix
16739
16740case $srcdir in
16741  .)  # We are building in place.
16742    ac_srcdir=.
16743    ac_top_srcdir=$ac_top_builddir_sub
16744    ac_abs_top_srcdir=$ac_pwd ;;
16745  [\\/]* | ?:[\\/]* )  # Absolute name.
16746    ac_srcdir=$srcdir$ac_dir_suffix;
16747    ac_top_srcdir=$srcdir
16748    ac_abs_top_srcdir=$srcdir ;;
16749  *) # Relative name.
16750    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16751    ac_top_srcdir=$ac_top_build_prefix$srcdir
16752    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16753esac
16754ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16755
16756
16757  case $ac_mode in
16758  :F)
16759  #
16760  # CONFIG_FILE
16761  #
16762
16763  case $INSTALL in
16764  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16765  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16766  esac
16767  ac_MKDIR_P=$MKDIR_P
16768  case $MKDIR_P in
16769  [\\/$]* | ?:[\\/]* ) ;;
16770  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16771  esac
16772_ACEOF
16773
16774cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16775# If the template does not know about datarootdir, expand it.
16776# FIXME: This hack should be removed a few years after 2.60.
16777ac_datarootdir_hack=; ac_datarootdir_seen=
16778ac_sed_dataroot='
16779/datarootdir/ {
16780  p
16781  q
16782}
16783/@datadir@/p
16784/@docdir@/p
16785/@infodir@/p
16786/@localedir@/p
16787/@mandir@/p'
16788case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16789*datarootdir*) ac_datarootdir_seen=yes;;
16790*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16791  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16792$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16793_ACEOF
16794cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16795  ac_datarootdir_hack='
16796  s&@datadir@&$datadir&g
16797  s&@docdir@&$docdir&g
16798  s&@infodir@&$infodir&g
16799  s&@localedir@&$localedir&g
16800  s&@mandir@&$mandir&g
16801  s&\\\${datarootdir}&$datarootdir&g' ;;
16802esac
16803_ACEOF
16804
16805# Neutralize VPATH when `$srcdir' = `.'.
16806# Shell code in configure.ac might set extrasub.
16807# FIXME: do we really want to maintain this feature?
16808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16809ac_sed_extra="$ac_vpsub
16810$extrasub
16811_ACEOF
16812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16813:t
16814/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16815s|@configure_input@|$ac_sed_conf_input|;t t
16816s&@top_builddir@&$ac_top_builddir_sub&;t t
16817s&@top_build_prefix@&$ac_top_build_prefix&;t t
16818s&@srcdir@&$ac_srcdir&;t t
16819s&@abs_srcdir@&$ac_abs_srcdir&;t t
16820s&@top_srcdir@&$ac_top_srcdir&;t t
16821s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16822s&@builddir@&$ac_builddir&;t t
16823s&@abs_builddir@&$ac_abs_builddir&;t t
16824s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16825s&@INSTALL@&$ac_INSTALL&;t t
16826s&@MKDIR_P@&$ac_MKDIR_P&;t t
16827$ac_datarootdir_hack
16828"
16829eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16830  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16831
16832test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16833  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16834  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16835      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16836  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16837which seems to be undefined.  Please make sure it is defined" >&5
16838$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16839which seems to be undefined.  Please make sure it is defined" >&2;}
16840
16841  rm -f "$ac_tmp/stdin"
16842  case $ac_file in
16843  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16844  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16845  esac \
16846  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16847 ;;
16848  :H)
16849  #
16850  # CONFIG_HEADER
16851  #
16852  if test x"$ac_file" != x-; then
16853    {
16854      $as_echo "/* $configure_input  */" \
16855      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16856    } >"$ac_tmp/config.h" \
16857      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16858    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16859      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16860$as_echo "$as_me: $ac_file is unchanged" >&6;}
16861    else
16862      rm -f "$ac_file"
16863      mv "$ac_tmp/config.h" "$ac_file" \
16864	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16865    fi
16866  else
16867    $as_echo "/* $configure_input  */" \
16868      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16869      || as_fn_error $? "could not create -" "$LINENO" 5
16870  fi
16871# Compute "$ac_file"'s index in $config_headers.
16872_am_arg="$ac_file"
16873_am_stamp_count=1
16874for _am_header in $config_headers :; do
16875  case $_am_header in
16876    $_am_arg | $_am_arg:* )
16877      break ;;
16878    * )
16879      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16880  esac
16881done
16882echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16883$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16884	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16885	 X"$_am_arg" : 'X\(//\)$' \| \
16886	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16887$as_echo X"$_am_arg" |
16888    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16889	    s//\1/
16890	    q
16891	  }
16892	  /^X\(\/\/\)[^/].*/{
16893	    s//\1/
16894	    q
16895	  }
16896	  /^X\(\/\/\)$/{
16897	    s//\1/
16898	    q
16899	  }
16900	  /^X\(\/\).*/{
16901	    s//\1/
16902	    q
16903	  }
16904	  s/.*/./; q'`/stamp-h$_am_stamp_count
16905 ;;
16906
16907  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16908$as_echo "$as_me: executing $ac_file commands" >&6;}
16909 ;;
16910  esac
16911
16912
16913  case $ac_file$ac_mode in
16914    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16915  # Older Autoconf quotes --file arguments for eval, but not when files
16916  # are listed without --file.  Let's play safe and only enable the eval
16917  # if we detect the quoting.
16918  # TODO: see whether this extra hack can be removed once we start
16919  # requiring Autoconf 2.70 or later.
16920  case $CONFIG_FILES in #(
16921  *\'*) :
16922    eval set x "$CONFIG_FILES" ;; #(
16923  *) :
16924    set x $CONFIG_FILES ;; #(
16925  *) :
16926     ;;
16927esac
16928  shift
16929  # Used to flag and report bootstrapping failures.
16930  am_rc=0
16931  for am_mf
16932  do
16933    # Strip MF so we end up with the name of the file.
16934    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16935    # Check whether this is an Automake generated Makefile which includes
16936    # dependency-tracking related rules and includes.
16937    # Grep'ing the whole file directly is not great: AIX grep has a line
16938    # limit of 2048, but all sed's we know have understand at least 4000.
16939    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16940      || continue
16941    am_dirpart=`$as_dirname -- "$am_mf" ||
16942$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16943	 X"$am_mf" : 'X\(//\)[^/]' \| \
16944	 X"$am_mf" : 'X\(//\)$' \| \
16945	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16946$as_echo X"$am_mf" |
16947    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16948	    s//\1/
16949	    q
16950	  }
16951	  /^X\(\/\/\)[^/].*/{
16952	    s//\1/
16953	    q
16954	  }
16955	  /^X\(\/\/\)$/{
16956	    s//\1/
16957	    q
16958	  }
16959	  /^X\(\/\).*/{
16960	    s//\1/
16961	    q
16962	  }
16963	  s/.*/./; q'`
16964    am_filepart=`$as_basename -- "$am_mf" ||
16965$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16966	 X"$am_mf" : 'X\(//\)$' \| \
16967	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16968$as_echo X/"$am_mf" |
16969    sed '/^.*\/\([^/][^/]*\)\/*$/{
16970	    s//\1/
16971	    q
16972	  }
16973	  /^X\/\(\/\/\)$/{
16974	    s//\1/
16975	    q
16976	  }
16977	  /^X\/\(\/\).*/{
16978	    s//\1/
16979	    q
16980	  }
16981	  s/.*/./; q'`
16982    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16983      && sed -e '/# am--include-marker/d' "$am_filepart" \
16984        | $MAKE -f - am--depfiles" >&5
16985   (cd "$am_dirpart" \
16986      && sed -e '/# am--include-marker/d' "$am_filepart" \
16987        | $MAKE -f - am--depfiles) >&5 2>&5
16988   ac_status=$?
16989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990   (exit $ac_status); } || am_rc=$?
16991  done
16992  if test $am_rc -ne 0; then
16993    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16995as_fn_error $? "Something went wrong bootstrapping makefile fragments
16996    for automatic dependency tracking.  Try re-running configure with the
16997    '--disable-dependency-tracking' option to at least be able to build
16998    the package (albeit without support for automatic dependency tracking).
16999See \`config.log' for more details" "$LINENO" 5; }
17000  fi
17001  { am_dirpart=; unset am_dirpart;}
17002  { am_filepart=; unset am_filepart;}
17003  { am_mf=; unset am_mf;}
17004  { am_rc=; unset am_rc;}
17005  rm -f conftest-deps.mk
17006}
17007 ;;
17008    "libtool":C)
17009
17010    # See if we are running on zsh, and set the options that allow our
17011    # commands through without removal of \ escapes.
17012    if test -n "${ZSH_VERSION+set}"; then
17013      setopt NO_GLOB_SUBST
17014    fi
17015
17016    cfgfile=${ofile}T
17017    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17018    $RM "$cfgfile"
17019
17020    cat <<_LT_EOF >> "$cfgfile"
17021#! $SHELL
17022# Generated automatically by $as_me ($PACKAGE) $VERSION
17023# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17024
17025# Provide generalized library-building support services.
17026# Written by Gordon Matzigkeit, 1996
17027
17028# Copyright (C) 2014 Free Software Foundation, Inc.
17029# This is free software; see the source for copying conditions.  There is NO
17030# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17031
17032# GNU Libtool is free software; you can redistribute it and/or modify
17033# it under the terms of the GNU General Public License as published by
17034# the Free Software Foundation; either version 2 of of the License, or
17035# (at your option) any later version.
17036#
17037# As a special exception to the GNU General Public License, if you
17038# distribute this file as part of a program or library that is built
17039# using GNU Libtool, you may include this file under the  same
17040# distribution terms that you use for the rest of that program.
17041#
17042# GNU Libtool is distributed in the hope that it will be useful, but
17043# WITHOUT ANY WARRANTY; without even the implied warranty of
17044# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17045# GNU General Public License for more details.
17046#
17047# You should have received a copy of the GNU General Public License
17048# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17049
17050
17051# The names of the tagged configurations supported by this script.
17052available_tags=''
17053
17054# Configured defaults for sys_lib_dlsearch_path munging.
17055: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17056
17057# ### BEGIN LIBTOOL CONFIG
17058
17059# Which release of libtool.m4 was used?
17060macro_version=$macro_version
17061macro_revision=$macro_revision
17062
17063# Whether or not to build static libraries.
17064build_old_libs=$enable_static
17065
17066# Whether or not to build shared libraries.
17067build_libtool_libs=$enable_shared
17068
17069# What type of objects to build.
17070pic_mode=$pic_mode
17071
17072# Whether or not to optimize for fast installation.
17073fast_install=$enable_fast_install
17074
17075# Shared archive member basename,for filename based shared library versioning on AIX.
17076shared_archive_member_spec=$shared_archive_member_spec
17077
17078# Shell to use when invoking shell scripts.
17079SHELL=$lt_SHELL
17080
17081# An echo program that protects backslashes.
17082ECHO=$lt_ECHO
17083
17084# The PATH separator for the build system.
17085PATH_SEPARATOR=$lt_PATH_SEPARATOR
17086
17087# The host system.
17088host_alias=$host_alias
17089host=$host
17090host_os=$host_os
17091
17092# The build system.
17093build_alias=$build_alias
17094build=$build
17095build_os=$build_os
17096
17097# A sed program that does not truncate output.
17098SED=$lt_SED
17099
17100# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17101Xsed="\$SED -e 1s/^X//"
17102
17103# A grep program that handles long lines.
17104GREP=$lt_GREP
17105
17106# An ERE matcher.
17107EGREP=$lt_EGREP
17108
17109# A literal string matcher.
17110FGREP=$lt_FGREP
17111
17112# A BSD- or MS-compatible name lister.
17113NM=$lt_NM
17114
17115# Whether we need soft or hard links.
17116LN_S=$lt_LN_S
17117
17118# What is the maximum length of a command?
17119max_cmd_len=$max_cmd_len
17120
17121# Object file suffix (normally "o").
17122objext=$ac_objext
17123
17124# Executable file suffix (normally "").
17125exeext=$exeext
17126
17127# whether the shell understands "unset".
17128lt_unset=$lt_unset
17129
17130# turn spaces into newlines.
17131SP2NL=$lt_lt_SP2NL
17132
17133# turn newlines into spaces.
17134NL2SP=$lt_lt_NL2SP
17135
17136# convert \$build file names to \$host format.
17137to_host_file_cmd=$lt_cv_to_host_file_cmd
17138
17139# convert \$build files to toolchain format.
17140to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17141
17142# An object symbol dumper.
17143OBJDUMP=$lt_OBJDUMP
17144
17145# Method to check whether dependent libraries are shared objects.
17146deplibs_check_method=$lt_deplibs_check_method
17147
17148# Command to use when deplibs_check_method = "file_magic".
17149file_magic_cmd=$lt_file_magic_cmd
17150
17151# How to find potential files when deplibs_check_method = "file_magic".
17152file_magic_glob=$lt_file_magic_glob
17153
17154# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17155want_nocaseglob=$lt_want_nocaseglob
17156
17157# DLL creation program.
17158DLLTOOL=$lt_DLLTOOL
17159
17160# Command to associate shared and link libraries.
17161sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17162
17163# The archiver.
17164AR=$lt_AR
17165
17166# Flags to create an archive.
17167AR_FLAGS=$lt_AR_FLAGS
17168
17169# How to feed a file listing to the archiver.
17170archiver_list_spec=$lt_archiver_list_spec
17171
17172# A symbol stripping program.
17173STRIP=$lt_STRIP
17174
17175# Commands used to install an old-style archive.
17176RANLIB=$lt_RANLIB
17177old_postinstall_cmds=$lt_old_postinstall_cmds
17178old_postuninstall_cmds=$lt_old_postuninstall_cmds
17179
17180# Whether to use a lock for old archive extraction.
17181lock_old_archive_extraction=$lock_old_archive_extraction
17182
17183# A C compiler.
17184LTCC=$lt_CC
17185
17186# LTCC compiler flags.
17187LTCFLAGS=$lt_CFLAGS
17188
17189# Take the output of nm and produce a listing of raw symbols and C names.
17190global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17191
17192# Transform the output of nm in a proper C declaration.
17193global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17194
17195# Transform the output of nm into a list of symbols to manually relocate.
17196global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17197
17198# Transform the output of nm in a C name address pair.
17199global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17200
17201# Transform the output of nm in a C name address pair when lib prefix is needed.
17202global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17203
17204# The name lister interface.
17205nm_interface=$lt_lt_cv_nm_interface
17206
17207# Specify filename containing input files for \$NM.
17208nm_file_list_spec=$lt_nm_file_list_spec
17209
17210# The root where to search for dependent libraries,and where our libraries should be installed.
17211lt_sysroot=$lt_sysroot
17212
17213# Command to truncate a binary pipe.
17214lt_truncate_bin=$lt_lt_cv_truncate_bin
17215
17216# The name of the directory that contains temporary libtool files.
17217objdir=$objdir
17218
17219# Used to examine libraries when file_magic_cmd begins with "file".
17220MAGIC_CMD=$MAGIC_CMD
17221
17222# Must we lock files when doing compilation?
17223need_locks=$lt_need_locks
17224
17225# Manifest tool.
17226MANIFEST_TOOL=$lt_MANIFEST_TOOL
17227
17228# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17229DSYMUTIL=$lt_DSYMUTIL
17230
17231# Tool to change global to local symbols on Mac OS X.
17232NMEDIT=$lt_NMEDIT
17233
17234# Tool to manipulate fat objects and archives on Mac OS X.
17235LIPO=$lt_LIPO
17236
17237# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17238OTOOL=$lt_OTOOL
17239
17240# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17241OTOOL64=$lt_OTOOL64
17242
17243# Old archive suffix (normally "a").
17244libext=$libext
17245
17246# Shared library suffix (normally ".so").
17247shrext_cmds=$lt_shrext_cmds
17248
17249# The commands to extract the exported symbol list from a shared archive.
17250extract_expsyms_cmds=$lt_extract_expsyms_cmds
17251
17252# Variables whose values should be saved in libtool wrapper scripts and
17253# restored at link time.
17254variables_saved_for_relink=$lt_variables_saved_for_relink
17255
17256# Do we need the "lib" prefix for modules?
17257need_lib_prefix=$need_lib_prefix
17258
17259# Do we need a version for libraries?
17260need_version=$need_version
17261
17262# Library versioning type.
17263version_type=$version_type
17264
17265# Shared library runtime path variable.
17266runpath_var=$runpath_var
17267
17268# Shared library path variable.
17269shlibpath_var=$shlibpath_var
17270
17271# Is shlibpath searched before the hard-coded library search path?
17272shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17273
17274# Format of library name prefix.
17275libname_spec=$lt_libname_spec
17276
17277# List of archive names.  First name is the real one, the rest are links.
17278# The last name is the one that the linker finds with -lNAME
17279library_names_spec=$lt_library_names_spec
17280
17281# The coded name of the library, if different from the real name.
17282soname_spec=$lt_soname_spec
17283
17284# Permission mode override for installation of shared libraries.
17285install_override_mode=$lt_install_override_mode
17286
17287# Command to use after installation of a shared archive.
17288postinstall_cmds=$lt_postinstall_cmds
17289
17290# Command to use after uninstallation of a shared archive.
17291postuninstall_cmds=$lt_postuninstall_cmds
17292
17293# Commands used to finish a libtool library installation in a directory.
17294finish_cmds=$lt_finish_cmds
17295
17296# As "finish_cmds", except a single script fragment to be evaled but
17297# not shown.
17298finish_eval=$lt_finish_eval
17299
17300# Whether we should hardcode library paths into libraries.
17301hardcode_into_libs=$hardcode_into_libs
17302
17303# Compile-time system search path for libraries.
17304sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17305
17306# Detected run-time system search path for libraries.
17307sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17308
17309# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17310configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17311
17312# Whether dlopen is supported.
17313dlopen_support=$enable_dlopen
17314
17315# Whether dlopen of programs is supported.
17316dlopen_self=$enable_dlopen_self
17317
17318# Whether dlopen of statically linked programs is supported.
17319dlopen_self_static=$enable_dlopen_self_static
17320
17321# Commands to strip libraries.
17322old_striplib=$lt_old_striplib
17323striplib=$lt_striplib
17324
17325
17326# The linker used to build libraries.
17327LD=$lt_LD
17328
17329# How to create reloadable object files.
17330reload_flag=$lt_reload_flag
17331reload_cmds=$lt_reload_cmds
17332
17333# Commands used to build an old-style archive.
17334old_archive_cmds=$lt_old_archive_cmds
17335
17336# A language specific compiler.
17337CC=$lt_compiler
17338
17339# Is the compiler the GNU compiler?
17340with_gcc=$GCC
17341
17342# Compiler flag to turn off builtin functions.
17343no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17344
17345# Additional compiler flags for building library objects.
17346pic_flag=$lt_lt_prog_compiler_pic
17347
17348# How to pass a linker flag through the compiler.
17349wl=$lt_lt_prog_compiler_wl
17350
17351# Compiler flag to prevent dynamic linking.
17352link_static_flag=$lt_lt_prog_compiler_static
17353
17354# Does compiler simultaneously support -c and -o options?
17355compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17356
17357# Whether or not to add -lc for building shared libraries.
17358build_libtool_need_lc=$archive_cmds_need_lc
17359
17360# Whether or not to disallow shared libs when runtime libs are static.
17361allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17362
17363# Compiler flag to allow reflexive dlopens.
17364export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17365
17366# Compiler flag to generate shared objects directly from archives.
17367whole_archive_flag_spec=$lt_whole_archive_flag_spec
17368
17369# Whether the compiler copes with passing no objects directly.
17370compiler_needs_object=$lt_compiler_needs_object
17371
17372# Create an old-style archive from a shared archive.
17373old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17374
17375# Create a temporary old-style archive to link instead of a shared archive.
17376old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17377
17378# Commands used to build a shared archive.
17379archive_cmds=$lt_archive_cmds
17380archive_expsym_cmds=$lt_archive_expsym_cmds
17381
17382# Commands used to build a loadable module if different from building
17383# a shared archive.
17384module_cmds=$lt_module_cmds
17385module_expsym_cmds=$lt_module_expsym_cmds
17386
17387# Whether we are building with GNU ld or not.
17388with_gnu_ld=$lt_with_gnu_ld
17389
17390# Flag that allows shared libraries with undefined symbols to be built.
17391allow_undefined_flag=$lt_allow_undefined_flag
17392
17393# Flag that enforces no undefined symbols.
17394no_undefined_flag=$lt_no_undefined_flag
17395
17396# Flag to hardcode \$libdir into a binary during linking.
17397# This must work even if \$libdir does not exist
17398hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17399
17400# Whether we need a single "-rpath" flag with a separated argument.
17401hardcode_libdir_separator=$lt_hardcode_libdir_separator
17402
17403# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17404# DIR into the resulting binary.
17405hardcode_direct=$hardcode_direct
17406
17407# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17408# DIR into the resulting binary and the resulting library dependency is
17409# "absolute",i.e impossible to change by setting \$shlibpath_var if the
17410# library is relocated.
17411hardcode_direct_absolute=$hardcode_direct_absolute
17412
17413# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17414# into the resulting binary.
17415hardcode_minus_L=$hardcode_minus_L
17416
17417# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17418# into the resulting binary.
17419hardcode_shlibpath_var=$hardcode_shlibpath_var
17420
17421# Set to "yes" if building a shared library automatically hardcodes DIR
17422# into the library and all subsequent libraries and executables linked
17423# against it.
17424hardcode_automatic=$hardcode_automatic
17425
17426# Set to yes if linker adds runtime paths of dependent libraries
17427# to runtime path list.
17428inherit_rpath=$inherit_rpath
17429
17430# Whether libtool must link a program against all its dependency libraries.
17431link_all_deplibs=$link_all_deplibs
17432
17433# Set to "yes" if exported symbols are required.
17434always_export_symbols=$always_export_symbols
17435
17436# The commands to list exported symbols.
17437export_symbols_cmds=$lt_export_symbols_cmds
17438
17439# Symbols that should not be listed in the preloaded symbols.
17440exclude_expsyms=$lt_exclude_expsyms
17441
17442# Symbols that must always be exported.
17443include_expsyms=$lt_include_expsyms
17444
17445# Commands necessary for linking programs (against libraries) with templates.
17446prelink_cmds=$lt_prelink_cmds
17447
17448# Commands necessary for finishing linking programs.
17449postlink_cmds=$lt_postlink_cmds
17450
17451# Specify filename containing input files.
17452file_list_spec=$lt_file_list_spec
17453
17454# How to hardcode a shared library path into an executable.
17455hardcode_action=$hardcode_action
17456
17457# ### END LIBTOOL CONFIG
17458
17459_LT_EOF
17460
17461    cat <<'_LT_EOF' >> "$cfgfile"
17462
17463# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17464
17465# func_munge_path_list VARIABLE PATH
17466# -----------------------------------
17467# VARIABLE is name of variable containing _space_ separated list of
17468# directories to be munged by the contents of PATH, which is string
17469# having a format:
17470# "DIR[:DIR]:"
17471#       string "DIR[ DIR]" will be prepended to VARIABLE
17472# ":DIR[:DIR]"
17473#       string "DIR[ DIR]" will be appended to VARIABLE
17474# "DIRP[:DIRP]::[DIRA:]DIRA"
17475#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17476#       "DIRA[ DIRA]" will be appended to VARIABLE
17477# "DIR[:DIR]"
17478#       VARIABLE will be replaced by "DIR[ DIR]"
17479func_munge_path_list ()
17480{
17481    case x$2 in
17482    x)
17483        ;;
17484    *:)
17485        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17486        ;;
17487    x:*)
17488        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17489        ;;
17490    *::*)
17491        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17492        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17493        ;;
17494    *)
17495        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17496        ;;
17497    esac
17498}
17499
17500
17501# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17502func_cc_basename ()
17503{
17504    for cc_temp in $*""; do
17505      case $cc_temp in
17506        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17507        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17508        \-*) ;;
17509        *) break;;
17510      esac
17511    done
17512    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17513}
17514
17515
17516# ### END FUNCTIONS SHARED WITH CONFIGURE
17517
17518_LT_EOF
17519
17520  case $host_os in
17521  aix3*)
17522    cat <<\_LT_EOF >> "$cfgfile"
17523# AIX sometimes has problems with the GCC collect2 program.  For some
17524# reason, if we set the COLLECT_NAMES environment variable, the problems
17525# vanish in a puff of smoke.
17526if test set != "${COLLECT_NAMES+set}"; then
17527  COLLECT_NAMES=
17528  export COLLECT_NAMES
17529fi
17530_LT_EOF
17531    ;;
17532  esac
17533
17534
17535ltmain=$ac_aux_dir/ltmain.sh
17536
17537
17538  # We use sed instead of cat because bash on DJGPP gets confused if
17539  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17540  # text mode, it properly converts lines to CR/LF.  This bash problem
17541  # is reportedly fixed, but why not run on old versions too?
17542  sed '$q' "$ltmain" >> "$cfgfile" \
17543     || (rm -f "$cfgfile"; exit 1)
17544
17545   mv -f "$cfgfile" "$ofile" ||
17546    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17547  chmod +x "$ofile"
17548
17549 ;;
17550    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17551        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17552      esac ;;
17553    "po/stamp-it":C)
17554    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17555       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17556    fi
17557    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17558    >"po/stamp-it.tmp"
17559    sed '/^#/d
17560	 s/^[[].*] *//
17561	 /^[ 	]*$/d
17562	'"s|^|	$ac_top_srcdir/|" \
17563      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17564
17565    sed '/^POTFILES =/,/[^\\]$/ {
17566		/^POTFILES =/!d
17567		r po/POTFILES
17568	  }
17569	 ' "po/Makefile.in" >"po/Makefile"
17570    rm -f "po/Makefile.tmp"
17571    mv "po/stamp-it.tmp" "po/stamp-it"
17572   ;;
17573
17574  esac
17575done # for ac_tag
17576
17577
17578as_fn_exit 0
17579_ACEOF
17580ac_clean_files=$ac_clean_files_save
17581
17582test $ac_write_fail = 0 ||
17583  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17584
17585
17586# configure is writing to config.log, and then calls config.status.
17587# config.status does its own redirection, appending to config.log.
17588# Unfortunately, on DOS this fails, as config.log is still kept open
17589# by configure, so config.status won't be able to write to it; its
17590# output is simply discarded.  So we exec the FD to /dev/null,
17591# effectively closing config.log, so it can be properly (re)opened and
17592# appended to by config.status.  When coming back to configure, we
17593# need to make the FD available again.
17594if test "$no_create" != yes; then
17595  ac_cs_success=:
17596  ac_config_status_args=
17597  test "$silent" = yes &&
17598    ac_config_status_args="$ac_config_status_args --quiet"
17599  exec 5>/dev/null
17600  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17601  exec 5>>config.log
17602  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17603  # would make configure fail if this is the last instruction.
17604  $ac_cs_success || as_fn_exit 1
17605fi
17606if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17607  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17608$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17609fi
17610
17611