1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for rodent-fuse 5.3.16.3.
4#
5# Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-fuse/>.
6#
7# "Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>"
8#
9#
10# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139# Use a proper internal environment variable to ensure we don't fall
140  # into an infinite loop, continuously re-executing ourselves.
141  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142    _as_can_reexec=no; export _as_can_reexec;
143    # We cannot yet assume a decent shell, so we have to provide a
144# neutralization value for shells without unset; and this also
145# works around shells that cannot unset nonexistent variables.
146# Preserve -v and -x to the replacement shell.
147BASH_ENV=/dev/null
148ENV=/dev/null
149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150case $- in # ((((
151  *v*x* | *x*v* ) as_opts=-vx ;;
152  *v* ) as_opts=-v ;;
153  *x* ) as_opts=-x ;;
154  * ) as_opts= ;;
155esac
156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157# Admittedly, this is quite paranoid, since all the known shells bail
158# out after a failed `exec'.
159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160as_fn_exit 255
161  fi
162  # We don't want this to propagate to other subprocesses.
163          { _as_can_reexec=; unset _as_can_reexec;}
164if test "x$CONFIG_SHELL" = x; then
165  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166  emulate sh
167  NULLCMD=:
168  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169  # is contrary to our usage.  Disable this feature.
170  alias -g '\${1+\"\$@\"}'='\"\$@\"'
171  setopt NO_GLOB_SUBST
172else
173  case \`(set -o) 2>/dev/null\` in #(
174  *posix*) :
175    set -o posix ;; #(
176  *) :
177     ;;
178esac
179fi
180"
181  as_required="as_fn_return () { (exit \$1); }
182as_fn_success () { as_fn_return 0; }
183as_fn_failure () { as_fn_return 1; }
184as_fn_ret_success () { return 0; }
185as_fn_ret_failure () { return 1; }
186
187exitcode=0
188as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194else
195  exitcode=1; echo positional parameters were not saved.
196fi
197test x\$exitcode = x0 || exit 1
198test -x / || exit 1"
199  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203
204  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208    PATH=/empty FPATH=/empty; export PATH FPATH
209    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211test \$(( 1 + 1 )) = 2 || exit 1"
212  if (eval "$as_required") 2>/dev/null; then :
213  as_have_required=yes
214else
215  as_have_required=no
216fi
217  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
219else
220  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221as_found=false
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  as_found=:
227  case $as_dir in #(
228	 /*)
229	   for as_base in sh bash ksh sh5; do
230	     # Try only shells that exist, to save several forks.
231	     as_shell=$as_dir/$as_base
232	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  CONFIG_SHELL=$as_shell as_have_required=yes
235		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236  break 2
237fi
238fi
239	   done;;
240       esac
241  as_found=false
242done
243$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245  CONFIG_SHELL=$SHELL as_have_required=yes
246fi; }
247IFS=$as_save_IFS
248
249
250      if test "x$CONFIG_SHELL" != x; then :
251  export CONFIG_SHELL
252             # We cannot yet assume a decent shell, so we have to provide a
253# neutralization value for shells without unset; and this also
254# works around shells that cannot unset nonexistent variables.
255# Preserve -v and -x to the replacement shell.
256BASH_ENV=/dev/null
257ENV=/dev/null
258(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
259case $- in # ((((
260  *v*x* | *x*v* ) as_opts=-vx ;;
261  *v* ) as_opts=-v ;;
262  *x* ) as_opts=-x ;;
263  * ) as_opts= ;;
264esac
265exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266# Admittedly, this is quite paranoid, since all the known shells bail
267# out after a failed `exec'.
268$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269exit 255
270fi
271
272    if test x$as_have_required = xno; then :
273  $as_echo "$0: This script requires a shell more modern than all"
274  $as_echo "$0: the shells that I found on your system."
275  if test x${ZSH_VERSION+set} = xset ; then
276    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278  else
279    $as_echo "$0: Please tell bug-autoconf@gnu.org and https://sourceforge.net/p/xffm/bugs/milestone/rodent-fuse/ about
280$0: your system, including any error possibly output before
281$0: this message. Then install a modern shell, or manually
282$0: run the script under such a shell if you do have one."
283  fi
284  exit 1
285fi
286fi
287fi
288SHELL=${CONFIG_SHELL-/bin/sh}
289export SHELL
290# Unset more variables known to interfere with behavior of common tools.
291CLICOLOR_FORCE= GREP_OPTIONS=
292unset CLICOLOR_FORCE GREP_OPTIONS
293
294## --------------------- ##
295## M4sh Shell Functions. ##
296## --------------------- ##
297# as_fn_unset VAR
298# ---------------
299# Portably unset VAR.
300as_fn_unset ()
301{
302  { eval $1=; unset $1;}
303}
304as_unset=as_fn_unset
305
306# as_fn_set_status STATUS
307# -----------------------
308# Set $? to STATUS, without forking.
309as_fn_set_status ()
310{
311  return $1
312} # as_fn_set_status
313
314# as_fn_exit STATUS
315# -----------------
316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317as_fn_exit ()
318{
319  set +e
320  as_fn_set_status $1
321  exit $1
322} # as_fn_exit
323
324# as_fn_mkdir_p
325# -------------
326# Create "$as_dir" as a directory, including parents if necessary.
327as_fn_mkdir_p ()
328{
329
330  case $as_dir in #(
331  -*) as_dir=./$as_dir;;
332  esac
333  test -d "$as_dir" || eval $as_mkdir_p || {
334    as_dirs=
335    while :; do
336      case $as_dir in #(
337      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338      *) as_qdir=$as_dir;;
339      esac
340      as_dirs="'$as_qdir' $as_dirs"
341      as_dir=`$as_dirname -- "$as_dir" ||
342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343	 X"$as_dir" : 'X\(//\)[^/]' \| \
344	 X"$as_dir" : 'X\(//\)$' \| \
345	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346$as_echo X"$as_dir" |
347    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)[^/].*/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\/\)$/{
356	    s//\1/
357	    q
358	  }
359	  /^X\(\/\).*/{
360	    s//\1/
361	    q
362	  }
363	  s/.*/./; q'`
364      test -d "$as_dir" && break
365    done
366    test -z "$as_dirs" || eval "mkdir $as_dirs"
367  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370} # as_fn_mkdir_p
371
372# as_fn_executable_p FILE
373# -----------------------
374# Test if FILE is an executable regular file.
375as_fn_executable_p ()
376{
377  test -f "$1" && test -x "$1"
378} # as_fn_executable_p
379# as_fn_append VAR VALUE
380# ----------------------
381# Append the text in VALUE to the end of the definition contained in VAR. Take
382# advantage of any shell optimizations that allow amortized linear growth over
383# repeated appends, instead of the typical quadratic growth present in naive
384# implementations.
385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386  eval 'as_fn_append ()
387  {
388    eval $1+=\$2
389  }'
390else
391  as_fn_append ()
392  {
393    eval $1=\$$1\$2
394  }
395fi # as_fn_append
396
397# as_fn_arith ARG...
398# ------------------
399# Perform arithmetic evaluation on the ARGs, and store the result in the
400# global $as_val. Take advantage of shells that can avoid forks. The arguments
401# must be portable across $(()) and expr.
402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403  eval 'as_fn_arith ()
404  {
405    as_val=$(( $* ))
406  }'
407else
408  as_fn_arith ()
409  {
410    as_val=`expr "$@" || test $? -eq 1`
411  }
412fi # as_fn_arith
413
414
415# as_fn_error STATUS ERROR [LINENO LOG_FD]
416# ----------------------------------------
417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419# script with STATUS, using 1 if that was 0.
420as_fn_error ()
421{
422  as_status=$1; test $as_status -eq 0 && as_status=1
423  if test "$4"; then
424    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426  fi
427  $as_echo "$as_me: error: $2" >&2
428  as_fn_exit $as_status
429} # as_fn_error
430
431if expr a : '\(a\)' >/dev/null 2>&1 &&
432   test "X`expr 00001 : '.*\(...\)'`" = X001; then
433  as_expr=expr
434else
435  as_expr=false
436fi
437
438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439  as_basename=basename
440else
441  as_basename=false
442fi
443
444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445  as_dirname=dirname
446else
447  as_dirname=false
448fi
449
450as_me=`$as_basename -- "$0" ||
451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452	 X"$0" : 'X\(//\)$' \| \
453	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454$as_echo X/"$0" |
455    sed '/^.*\/\([^/][^/]*\)\/*$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\/\)$/{
460	    s//\1/
461	    q
462	  }
463	  /^X\/\(\/\).*/{
464	    s//\1/
465	    q
466	  }
467	  s/.*/./; q'`
468
469# Avoid depending upon Character Ranges.
470as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473as_cr_digits='0123456789'
474as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477  as_lineno_1=$LINENO as_lineno_1a=$LINENO
478  as_lineno_2=$LINENO as_lineno_2a=$LINENO
479  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482  sed -n '
483    p
484    /[$]LINENO/=
485  ' <$as_myself |
486    sed '
487      s/[$]LINENO.*/&-/
488      t lineno
489      b
490      :lineno
491      N
492      :loop
493      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494      t loop
495      s/-\n.*//
496    ' >$as_me.lineno &&
497  chmod +x "$as_me.lineno" ||
498    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501  # already done that, so ensure we don't try to do so again and fall
502  # in an infinite loop.  This has already happened in practice.
503  _as_can_reexec=no; export _as_can_reexec
504  # Don't try to exec as it changes $[0], causing all sort of problems
505  # (the dirname of $[0] is not the place where we might find the
506  # original and so on.  Autoconf is especially sensitive to this).
507  . "./$as_me.lineno"
508  # Exit status is that of the last command.
509  exit
510}
511
512ECHO_C= ECHO_N= ECHO_T=
513case `echo -n x` in #(((((
514-n*)
515  case `echo 'xy\c'` in
516  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
517  xy)  ECHO_C='\c';;
518  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519       ECHO_T='	';;
520  esac;;
521*)
522  ECHO_N='-n';;
523esac
524
525rm -f conf$$ conf$$.exe conf$$.file
526if test -d conf$$.dir; then
527  rm -f conf$$.dir/conf$$.file
528else
529  rm -f conf$$.dir
530  mkdir conf$$.dir 2>/dev/null
531fi
532if (echo >conf$$.file) 2>/dev/null; then
533  if ln -s conf$$.file conf$$ 2>/dev/null; then
534    as_ln_s='ln -s'
535    # ... but there are two gotchas:
536    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538    # In both cases, we have to default to `cp -pR'.
539    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540      as_ln_s='cp -pR'
541  elif ln conf$$.file conf$$ 2>/dev/null; then
542    as_ln_s=ln
543  else
544    as_ln_s='cp -pR'
545  fi
546else
547  as_ln_s='cp -pR'
548fi
549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550rmdir conf$$.dir 2>/dev/null
551
552if mkdir -p . 2>/dev/null; then
553  as_mkdir_p='mkdir -p "$as_dir"'
554else
555  test -d ./-p && rmdir ./-p
556  as_mkdir_p=false
557fi
558
559as_test_x='test -x'
560as_executable_p=as_fn_executable_p
561
562# Sed expression to map a string onto a valid CPP name.
563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565# Sed expression to map a string onto a valid variable name.
566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571test -n "$DJDIR" || exec 7<&0 </dev/null
572exec 6>&1
573
574# Name of the host.
575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576# so uname gets run too.
577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579#
580# Initializations.
581#
582ac_default_prefix=/usr/local
583ac_clean_files=
584ac_config_libobj_dir=.
585LIBOBJS=
586cross_compiling=no
587subdirs=
588MFLAGS=
589MAKEFLAGS=
590
591# Identity of this package.
592PACKAGE_NAME='rodent-fuse'
593PACKAGE_TARNAME='rodent-fuse'
594PACKAGE_VERSION='5.3.16.3'
595PACKAGE_STRING='rodent-fuse 5.3.16.3'
596PACKAGE_BUGREPORT='https://sourceforge.net/p/xffm/bugs/milestone/rodent-fuse/'
597PACKAGE_URL='"http://xffm.org"'
598
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639LIBDIR
640HAVE_BSD_W_FALSE
641HAVE_BSD_W_TRUE
642HAVE_BSD_O_FALSE
643HAVE_BSD_O_TRUE
644HAVE_BSD_AUX_FALSE
645HAVE_BSD_AUX_TRUE
646HAVE_BSD_L_FALSE
647HAVE_BSD_L_TRUE
648HAVE_BSD_XF_FALSE
649HAVE_BSD_XF_TRUE
650HAVE_UNIX_W_FALSE
651HAVE_UNIX_W_TRUE
652HAVE_UNIX_O_FALSE
653HAVE_UNIX_O_TRUE
654HAVE_UNIX_EF_FALSE
655HAVE_UNIX_EF_TRUE
656HAVE_UNIX_LY_FALSE
657HAVE_UNIX_LY_TRUE
658HAVE_UNIX_JH_FALSE
659HAVE_UNIX_JH_TRUE
660HAVE_UNIX_O_RSS_FALSE
661HAVE_UNIX_O_RSS_TRUE
662ps
663XGETTEXT_ARGS
664MKINSTALLDIRS
665POSUB
666POFILES
667PO_IN_DATADIR_FALSE
668PO_IN_DATADIR_TRUE
669INTLLIBS
670INSTOBJEXT
671GMOFILES
672CATOBJEXT
673CATALOGS
674MSGFMT_OPTS
675GETTEXT_PACKAGE
676WITH_CIFS
677WANT_CIFS_P_FALSE
678WANT_CIFS_P_TRUE
679WITH_ECRYPTFS
680WANT_ECRYPTFS_P_FALSE
681WANT_ECRYPTFS_P_TRUE
682WITH_FTP
683WANT_FTP_P_FALSE
684WANT_FTP_P_TRUE
685WITH_OBEX
686WANT_OBEX_P_FALSE
687WANT_OBEX_P_TRUE
688WITH_SSHFS
689WANT_SSHFS_P_FALSE
690WANT_SSHFS_P_TRUE
691WITH_NFS
692WANT_NFS_P_FALSE
693WANT_NFS_P_TRUE
694DEBUG_TRACE
695WITH_TRACE
696DEBUG
697WITH_DEBUG
698CORE
699WITH_CORE
700WANT_DEBIAN_FALSE
701WANT_DEBIAN_TRUE
702cv_dpkg
703WANT_GENTOO_FALSE
704WANT_GENTOO_TRUE
705cv_emerge
706DISTRO_X_VERSION
707DISTRO_X
708LIBRSVG_NAME
709WITH_GNU_GS
710GNU_SHRED
711WITH_GNU_SHRED
712GNU_RM
713WITH_GNU_RM
714GNU_LN
715WITH_GNU_LN
716GNU_MV
717WITH_GNU_MV
718GNU_CP
719WITH_GNU_CP
720GNU_LS
721WITH_GNU_LS
722GNU_GREP
723WITH_GNU_GREP
724ONLY_LINUX_FALSE
725ONLY_LINUX_TRUE
726WANT_FREEBSD_FALSE
727WANT_FREEBSD_TRUE
728UNAME_S
729gawk
730intltoolize
731PREFIX
732cv_pkgconfig
733HAVE_PTHREAD_TRYJOIN
734FILE_POINTER
735SIZEOF_FILE_POINTER
736FILE_OFFSET_BITS
737DATADIRNAME
738ALL_LINGUAS
739INTLTOOL_PERL
740GMSGFMT
741MSGFMT
742MSGMERGE
743XGETTEXT
744INTLTOOL_POLICY_RULE
745INTLTOOL_SERVICE_RULE
746INTLTOOL_THEME_RULE
747INTLTOOL_SCHEMAS_RULE
748INTLTOOL_CAVES_RULE
749INTLTOOL_XML_NOMERGE_RULE
750INTLTOOL_XML_RULE
751INTLTOOL_KBD_RULE
752INTLTOOL_XAM_RULE
753INTLTOOL_UI_RULE
754INTLTOOL_SOUNDLIST_RULE
755INTLTOOL_SHEET_RULE
756INTLTOOL_SERVER_RULE
757INTLTOOL_PONG_RULE
758INTLTOOL_OAF_RULE
759INTLTOOL_PROP_RULE
760INTLTOOL_KEYS_RULE
761INTLTOOL_DIRECTORY_RULE
762INTLTOOL_DESKTOP_RULE
763intltool__v_merge_options_0
764intltool__v_merge_options_
765INTLTOOL_V_MERGE_OPTIONS
766INTLTOOL__v_MERGE_0
767INTLTOOL__v_MERGE_
768INTLTOOL_V_MERGE
769INTLTOOL_EXTRACT
770INTLTOOL_MERGE
771INTLTOOL_UPDATE
772USE_NLS
773DBH_VERSION
774DBH_FILE_VERSION
775MASTER_SITE
776BUGMAIL
777LICENSE
778SRC_URI
779HOMEPAGE
780DESCRIPTION
781SUMMARY
782WITH_MPT
783MAINT
784MAINTAINER_MODE_FALSE
785MAINTAINER_MODE_TRUE
786RFM_VERINFO
787AM_BACKSLASH
788AM_DEFAULT_VERBOSITY
789am__fastdepCC_FALSE
790am__fastdepCC_TRUE
791CCDEPMODE
792am__nodep
793AMDEPBACKSLASH
794AMDEP_FALSE
795AMDEP_TRUE
796am__quote
797am__include
798DEPDIR
799am__untar
800am__tar
801AMTAR
802am__leading_dot
803SET_MAKE
804mkdir_p
805MKDIR_P
806INSTALL_STRIP_PROGRAM
807install_sh
808MAKEINFO
809AUTOHEADER
810AUTOMAKE
811AUTOCONF
812ACLOCAL
813VERSION
814PACKAGE
815CYGPATH_W
816am__isrc
817INSTALL_DATA
818INSTALL_SCRIPT
819INSTALL_PROGRAM
820TCMALLOC
821RFM_MODULE_DIR
822RFM_PREFIX
823GTK_PREFIX
824GTK_VERSION
825LIBRFM_REQUIRED_VERSION
826LIBRFM_LIBS
827LIBRFM_CFLAGS
828LIBRFM_VERSION
829PKG_CONFIG
830PACKAGE_COPYRIGHT
831COPYRIGHT
832_GNU_SOURCE
833RPM_UDF_REQUIRES
834RPM_FDUPES_REQUIRES
835RPM_GROUP
836RPM_LICENSE
837RPM_COMMENT
838CPP
839LT_SYS_LIBRARY_PATH
840OTOOL64
841OTOOL
842LIPO
843NMEDIT
844DSYMUTIL
845MANIFEST_TOOL
846AWK
847RANLIB
848STRIP
849ac_ct_AR
850AR
851DLLTOOL
852OBJDUMP
853LN_S
854NM
855ac_ct_DUMPBIN
856DUMPBIN
857LD
858FGREP
859EGREP
860GREP
861SED
862OBJEXT
863EXEEXT
864ac_ct_CC
865CPPFLAGS
866LDFLAGS
867CFLAGS
868CC
869host_os
870host_vendor
871host_cpu
872host
873build_os
874build_vendor
875build_cpu
876build
877LIBTOOL
878target_alias
879host_alias
880build_alias
881LIBS
882ECHO_T
883ECHO_N
884ECHO_C
885DEFS
886mandir
887localedir
888libdir
889psdir
890pdfdir
891dvidir
892htmldir
893infodir
894docdir
895oldincludedir
896includedir
897localstatedir
898sharedstatedir
899sysconfdir
900datadir
901datarootdir
902libexecdir
903sbindir
904bindir
905program_transform_name
906prefix
907exec_prefix
908PACKAGE_URL
909PACKAGE_BUGREPORT
910PACKAGE_STRING
911PACKAGE_VERSION
912PACKAGE_TARNAME
913PACKAGE_NAME
914PATH_SEPARATOR
915SHELL'
916ac_subst_files=''
917ac_user_opts='
918enable_option_checking
919enable_static
920enable_shared
921with_pic
922enable_fast_install
923with_aix_soname
924with_gnu_ld
925with_sysroot
926enable_libtool_lock
927with_centos
928with_tcmalloc
929enable_dependency_tracking
930enable_silent_rules
931enable_maintainer_mode
932with_mpt
933enable_nls
934enable_largefile
935with_debug
936with_trace
937with_core
938enable_nfs
939enable_sftp
940enable_bluetooth
941enable_ftp
942enable_ecryptfs
943enable_cifs
944with_locales_dir
945'
946      ac_precious_vars='build_alias
947host_alias
948target_alias
949CC
950CFLAGS
951LDFLAGS
952LIBS
953CPPFLAGS
954LT_SYS_LIBRARY_PATH
955CPP'
956
957
958# Initialize some variables set by options.
959ac_init_help=
960ac_init_version=false
961ac_unrecognized_opts=
962ac_unrecognized_sep=
963# The variables have the same names as the options, with
964# dashes changed to underlines.
965cache_file=/dev/null
966exec_prefix=NONE
967no_create=
968no_recursion=
969prefix=NONE
970program_prefix=NONE
971program_suffix=NONE
972program_transform_name=s,x,x,
973silent=
974site=
975srcdir=
976verbose=
977x_includes=NONE
978x_libraries=NONE
979
980# Installation directory options.
981# These are left unexpanded so users can "make install exec_prefix=/foo"
982# and all the variables that are supposed to be based on exec_prefix
983# by default will actually change.
984# Use braces instead of parens because sh, perl, etc. also accept them.
985# (The list follows the same order as the GNU Coding Standards.)
986bindir='${exec_prefix}/bin'
987sbindir='${exec_prefix}/sbin'
988libexecdir='${exec_prefix}/libexec'
989datarootdir='${prefix}/share'
990datadir='${datarootdir}'
991sysconfdir='${prefix}/etc'
992sharedstatedir='${prefix}/com'
993localstatedir='${prefix}/var'
994includedir='${prefix}/include'
995oldincludedir='/usr/include'
996docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
997infodir='${datarootdir}/info'
998htmldir='${docdir}'
999dvidir='${docdir}'
1000pdfdir='${docdir}'
1001psdir='${docdir}'
1002libdir='${exec_prefix}/lib'
1003localedir='${datarootdir}/locale'
1004mandir='${datarootdir}/man'
1005
1006ac_prev=
1007ac_dashdash=
1008for ac_option
1009do
1010  # If the previous option needs an argument, assign it.
1011  if test -n "$ac_prev"; then
1012    eval $ac_prev=\$ac_option
1013    ac_prev=
1014    continue
1015  fi
1016
1017  case $ac_option in
1018  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019  *=)   ac_optarg= ;;
1020  *)    ac_optarg=yes ;;
1021  esac
1022
1023  # Accept the important Cygnus configure options, so we can diagnose typos.
1024
1025  case $ac_dashdash$ac_option in
1026  --)
1027    ac_dashdash=yes ;;
1028
1029  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1030    ac_prev=bindir ;;
1031  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1032    bindir=$ac_optarg ;;
1033
1034  -build | --build | --buil | --bui | --bu)
1035    ac_prev=build_alias ;;
1036  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1037    build_alias=$ac_optarg ;;
1038
1039  -cache-file | --cache-file | --cache-fil | --cache-fi \
1040  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1041    ac_prev=cache_file ;;
1042  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1043  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1044    cache_file=$ac_optarg ;;
1045
1046  --config-cache | -C)
1047    cache_file=config.cache ;;
1048
1049  -datadir | --datadir | --datadi | --datad)
1050    ac_prev=datadir ;;
1051  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1052    datadir=$ac_optarg ;;
1053
1054  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1055  | --dataroo | --dataro | --datar)
1056    ac_prev=datarootdir ;;
1057  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1058  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1059    datarootdir=$ac_optarg ;;
1060
1061  -disable-* | --disable-*)
1062    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063    # Reject names that are not valid shell variable names.
1064    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065      as_fn_error $? "invalid feature name: $ac_useropt"
1066    ac_useropt_orig=$ac_useropt
1067    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068    case $ac_user_opts in
1069      *"
1070"enable_$ac_useropt"
1071"*) ;;
1072      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073	 ac_unrecognized_sep=', ';;
1074    esac
1075    eval enable_$ac_useropt=no ;;
1076
1077  -docdir | --docdir | --docdi | --doc | --do)
1078    ac_prev=docdir ;;
1079  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1080    docdir=$ac_optarg ;;
1081
1082  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1083    ac_prev=dvidir ;;
1084  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1085    dvidir=$ac_optarg ;;
1086
1087  -enable-* | --enable-*)
1088    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089    # Reject names that are not valid shell variable names.
1090    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091      as_fn_error $? "invalid feature name: $ac_useropt"
1092    ac_useropt_orig=$ac_useropt
1093    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094    case $ac_user_opts in
1095      *"
1096"enable_$ac_useropt"
1097"*) ;;
1098      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1099	 ac_unrecognized_sep=', ';;
1100    esac
1101    eval enable_$ac_useropt=\$ac_optarg ;;
1102
1103  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1104  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1105  | --exec | --exe | --ex)
1106    ac_prev=exec_prefix ;;
1107  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1108  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1109  | --exec=* | --exe=* | --ex=*)
1110    exec_prefix=$ac_optarg ;;
1111
1112  -gas | --gas | --ga | --g)
1113    # Obsolete; use --with-gas.
1114    with_gas=yes ;;
1115
1116  -help | --help | --hel | --he | -h)
1117    ac_init_help=long ;;
1118  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1119    ac_init_help=recursive ;;
1120  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1121    ac_init_help=short ;;
1122
1123  -host | --host | --hos | --ho)
1124    ac_prev=host_alias ;;
1125  -host=* | --host=* | --hos=* | --ho=*)
1126    host_alias=$ac_optarg ;;
1127
1128  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1129    ac_prev=htmldir ;;
1130  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1131  | --ht=*)
1132    htmldir=$ac_optarg ;;
1133
1134  -includedir | --includedir | --includedi | --included | --include \
1135  | --includ | --inclu | --incl | --inc)
1136    ac_prev=includedir ;;
1137  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1138  | --includ=* | --inclu=* | --incl=* | --inc=*)
1139    includedir=$ac_optarg ;;
1140
1141  -infodir | --infodir | --infodi | --infod | --info | --inf)
1142    ac_prev=infodir ;;
1143  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1144    infodir=$ac_optarg ;;
1145
1146  -libdir | --libdir | --libdi | --libd)
1147    ac_prev=libdir ;;
1148  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1149    libdir=$ac_optarg ;;
1150
1151  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1152  | --libexe | --libex | --libe)
1153    ac_prev=libexecdir ;;
1154  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1155  | --libexe=* | --libex=* | --libe=*)
1156    libexecdir=$ac_optarg ;;
1157
1158  -localedir | --localedir | --localedi | --localed | --locale)
1159    ac_prev=localedir ;;
1160  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1161    localedir=$ac_optarg ;;
1162
1163  -localstatedir | --localstatedir | --localstatedi | --localstated \
1164  | --localstate | --localstat | --localsta | --localst | --locals)
1165    ac_prev=localstatedir ;;
1166  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1167  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1168    localstatedir=$ac_optarg ;;
1169
1170  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1171    ac_prev=mandir ;;
1172  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1173    mandir=$ac_optarg ;;
1174
1175  -nfp | --nfp | --nf)
1176    # Obsolete; use --without-fp.
1177    with_fp=no ;;
1178
1179  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1180  | --no-cr | --no-c | -n)
1181    no_create=yes ;;
1182
1183  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1184  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1185    no_recursion=yes ;;
1186
1187  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1188  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1189  | --oldin | --oldi | --old | --ol | --o)
1190    ac_prev=oldincludedir ;;
1191  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1192  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1193  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1194    oldincludedir=$ac_optarg ;;
1195
1196  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1197    ac_prev=prefix ;;
1198  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1199    prefix=$ac_optarg ;;
1200
1201  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1202  | --program-pre | --program-pr | --program-p)
1203    ac_prev=program_prefix ;;
1204  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1205  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1206    program_prefix=$ac_optarg ;;
1207
1208  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1209  | --program-suf | --program-su | --program-s)
1210    ac_prev=program_suffix ;;
1211  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1212  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1213    program_suffix=$ac_optarg ;;
1214
1215  -program-transform-name | --program-transform-name \
1216  | --program-transform-nam | --program-transform-na \
1217  | --program-transform-n | --program-transform- \
1218  | --program-transform | --program-transfor \
1219  | --program-transfo | --program-transf \
1220  | --program-trans | --program-tran \
1221  | --progr-tra | --program-tr | --program-t)
1222    ac_prev=program_transform_name ;;
1223  -program-transform-name=* | --program-transform-name=* \
1224  | --program-transform-nam=* | --program-transform-na=* \
1225  | --program-transform-n=* | --program-transform-=* \
1226  | --program-transform=* | --program-transfor=* \
1227  | --program-transfo=* | --program-transf=* \
1228  | --program-trans=* | --program-tran=* \
1229  | --progr-tra=* | --program-tr=* | --program-t=*)
1230    program_transform_name=$ac_optarg ;;
1231
1232  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1233    ac_prev=pdfdir ;;
1234  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1235    pdfdir=$ac_optarg ;;
1236
1237  -psdir | --psdir | --psdi | --psd | --ps)
1238    ac_prev=psdir ;;
1239  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1240    psdir=$ac_optarg ;;
1241
1242  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243  | -silent | --silent | --silen | --sile | --sil)
1244    silent=yes ;;
1245
1246  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1247    ac_prev=sbindir ;;
1248  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1249  | --sbi=* | --sb=*)
1250    sbindir=$ac_optarg ;;
1251
1252  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1253  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1254  | --sharedst | --shareds | --shared | --share | --shar \
1255  | --sha | --sh)
1256    ac_prev=sharedstatedir ;;
1257  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1258  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1259  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1260  | --sha=* | --sh=*)
1261    sharedstatedir=$ac_optarg ;;
1262
1263  -site | --site | --sit)
1264    ac_prev=site ;;
1265  -site=* | --site=* | --sit=*)
1266    site=$ac_optarg ;;
1267
1268  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1269    ac_prev=srcdir ;;
1270  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1271    srcdir=$ac_optarg ;;
1272
1273  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1274  | --syscon | --sysco | --sysc | --sys | --sy)
1275    ac_prev=sysconfdir ;;
1276  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1277  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1278    sysconfdir=$ac_optarg ;;
1279
1280  -target | --target | --targe | --targ | --tar | --ta | --t)
1281    ac_prev=target_alias ;;
1282  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1283    target_alias=$ac_optarg ;;
1284
1285  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1286    verbose=yes ;;
1287
1288  -version | --version | --versio | --versi | --5.3.16.3 | -V)
1289    ac_init_version=: ;;
1290
1291  -with-* | --with-*)
1292    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1293    # Reject names that are not valid shell variable names.
1294    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295      as_fn_error $? "invalid rodent-fuse name: $ac_useropt"
1296    ac_useropt_orig=$ac_useropt
1297    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298    case $ac_user_opts in
1299      *"
1300"with_$ac_useropt"
1301"*) ;;
1302      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1303	 ac_unrecognized_sep=', ';;
1304    esac
1305    eval with_$ac_useropt=\$ac_optarg ;;
1306
1307  -without-* | --without-*)
1308    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1309    # Reject names that are not valid shell variable names.
1310    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1311      as_fn_error $? "invalid rodent-fuse name: $ac_useropt"
1312    ac_useropt_orig=$ac_useropt
1313    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314    case $ac_user_opts in
1315      *"
1316"with_$ac_useropt"
1317"*) ;;
1318      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1319	 ac_unrecognized_sep=', ';;
1320    esac
1321    eval with_$ac_useropt=no ;;
1322
1323  --x)
1324    # Obsolete; use --with-x.
1325    with_x=yes ;;
1326
1327  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1328  | --x-incl | --x-inc | --x-in | --x-i)
1329    ac_prev=x_includes ;;
1330  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1331  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1332    x_includes=$ac_optarg ;;
1333
1334  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1335  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1336    ac_prev=x_libraries ;;
1337  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1338  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1339    x_libraries=$ac_optarg ;;
1340
1341  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1342Try \`$0 --help' for more information"
1343    ;;
1344
1345  *=*)
1346    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1347    # Reject names that are not valid shell variable names.
1348    case $ac_envvar in #(
1349      '' | [0-9]* | *[!_$as_cr_alnum]* )
1350      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1351    esac
1352    eval $ac_envvar=\$ac_optarg
1353    export $ac_envvar ;;
1354
1355  *)
1356    # FIXME: should be removed in autoconf 3.0.
1357    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1358    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1359      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1361    ;;
1362
1363  esac
1364done
1365
1366if test -n "$ac_prev"; then
1367  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1368  as_fn_error $? "missing argument to $ac_option"
1369fi
1370
1371if test -n "$ac_unrecognized_opts"; then
1372  case $enable_option_checking in
1373    no) ;;
1374    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1375    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376  esac
1377fi
1378
1379# Check all directory arguments for consistency.
1380for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381		datadir sysconfdir sharedstatedir localstatedir includedir \
1382		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383		libdir localedir mandir
1384do
1385  eval ac_val=\$$ac_var
1386  # Remove trailing slashes.
1387  case $ac_val in
1388    */ )
1389      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390      eval $ac_var=\$ac_val;;
1391  esac
1392  # Be sure to have absolute directory names.
1393  case $ac_val in
1394    [\\/$]* | ?:[\\/]* )  continue;;
1395    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1396  esac
1397  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1398done
1399
1400# There might be people who depend on the old broken behavior: `$host'
1401# used to hold the argument of --host etc.
1402# FIXME: To remove some day.
1403build=$build_alias
1404host=$host_alias
1405target=$target_alias
1406
1407# FIXME: To remove some day.
1408if test "x$host_alias" != x; then
1409  if test "x$build_alias" = x; then
1410    cross_compiling=maybe
1411  elif test "x$build_alias" != "x$host_alias"; then
1412    cross_compiling=yes
1413  fi
1414fi
1415
1416ac_tool_prefix=
1417test -n "$host_alias" && ac_tool_prefix=$host_alias-
1418
1419test "$silent" = yes && exec 6>/dev/null
1420
1421
1422ac_pwd=`pwd` && test -n "$ac_pwd" &&
1423ac_ls_di=`ls -di .` &&
1424ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1425  as_fn_error $? "working directory cannot be determined"
1426test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1427  as_fn_error $? "pwd does not report name of working directory"
1428
1429
1430# Find the source files, if location was not specified.
1431if test -z "$srcdir"; then
1432  ac_srcdir_defaulted=yes
1433  # Try the directory containing this script, then the parent directory.
1434  ac_confdir=`$as_dirname -- "$as_myself" ||
1435$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1436	 X"$as_myself" : 'X\(//\)[^/]' \| \
1437	 X"$as_myself" : 'X\(//\)$' \| \
1438	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1439$as_echo X"$as_myself" |
1440    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1441	    s//\1/
1442	    q
1443	  }
1444	  /^X\(\/\/\)[^/].*/{
1445	    s//\1/
1446	    q
1447	  }
1448	  /^X\(\/\/\)$/{
1449	    s//\1/
1450	    q
1451	  }
1452	  /^X\(\/\).*/{
1453	    s//\1/
1454	    q
1455	  }
1456	  s/.*/./; q'`
1457  srcdir=$ac_confdir
1458  if test ! -r "$srcdir/$ac_unique_file"; then
1459    srcdir=..
1460  fi
1461else
1462  ac_srcdir_defaulted=no
1463fi
1464if test ! -r "$srcdir/$ac_unique_file"; then
1465  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1466  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1467fi
1468ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1469ac_abs_confdir=`(
1470	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1471	pwd)`
1472# When building in place, set srcdir=.
1473if test "$ac_abs_confdir" = "$ac_pwd"; then
1474  srcdir=.
1475fi
1476# Remove unnecessary trailing slashes from srcdir.
1477# Double slashes in file names in object file debugging info
1478# mess up M-x gdb in Emacs.
1479case $srcdir in
1480*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1481esac
1482for ac_var in $ac_precious_vars; do
1483  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1484  eval ac_env_${ac_var}_value=\$${ac_var}
1485  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1486  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1487done
1488
1489#
1490# Report the --help message.
1491#
1492if test "$ac_init_help" = "long"; then
1493  # Omit some internal or obsolete options to make the list less imposing.
1494  # This message is too long to be a string in the A/UX 3.1 sh.
1495  cat <<_ACEOF
1496\`configure' configures rodent-fuse 5.3.16.3 to adapt to many kinds of systems.
1497
1498Usage: $0 [OPTION]... [VAR=VALUE]...
1499
1500To assign environment variables (e.g., CC, CFLAGS...), specify them as
1501VAR=VALUE.  See below for descriptions of some of the useful variables.
1502
1503Defaults for the options are specified in brackets.
1504
1505Configuration:
1506  -h, --help              display this help and exit
1507      --help=short        display options specific to this package
1508      --help=recursive    display the short help of all the included packages
1509  -V, --version           display version information and exit
1510  -q, --quiet, --silent   do not print \`checking ...' messages
1511      --cache-file=FILE   cache test results in FILE [disabled]
1512  -C, --config-cache      alias for \`--cache-file=config.cache'
1513  -n, --no-create         do not create output files
1514      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1515
1516Installation directories:
1517  --prefix=PREFIX         install architecture-independent files in PREFIX
1518                          [$ac_default_prefix]
1519  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1520                          [PREFIX]
1521
1522By default, \`make install' will install all the files in
1523\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1524an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1525for instance \`--prefix=\$HOME'.
1526
1527For better control, use the options below.
1528
1529Fine tuning of the installation directories:
1530  --bindir=DIR            user executables [EPREFIX/bin]
1531  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1532  --libexecdir=DIR        program executables [EPREFIX/libexec]
1533  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1534  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1535  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1536  --libdir=DIR            object code libraries [EPREFIX/lib]
1537  --includedir=DIR        C header files [PREFIX/include]
1538  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1539  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1540  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1541  --infodir=DIR           info documentation [DATAROOTDIR/info]
1542  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1543  --mandir=DIR            man documentation [DATAROOTDIR/man]
1544  --docdir=DIR            documentation root [DATAROOTDIR/doc/rodent-fuse]
1545  --htmldir=DIR           html documentation [DOCDIR]
1546  --dvidir=DIR            dvi documentation [DOCDIR]
1547  --pdfdir=DIR            pdf documentation [DOCDIR]
1548  --psdir=DIR             ps documentation [DOCDIR]
1549_ACEOF
1550
1551  cat <<\_ACEOF
1552
1553Program names:
1554  --program-prefix=PREFIX            prepend PREFIX to installed program names
1555  --program-suffix=SUFFIX            append SUFFIX to installed program names
1556  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1557
1558System types:
1559  --build=BUILD     configure for building on BUILD [guessed]
1560  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1561_ACEOF
1562fi
1563
1564if test -n "$ac_init_help"; then
1565  case $ac_init_help in
1566     short | recursive ) echo "Configuration of rodent-fuse 5.3.16.3:";;
1567   esac
1568  cat <<\_ACEOF
1569
1570Optional Features:
1571  --disable-option-checking  ignore unrecognized --enable/--with options
1572  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1573  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1574  --enable-static[=PKGS]  build static libraries [default=no]
1575  --enable-shared[=PKGS]  build shared libraries [default=yes]
1576  --enable-fast-install[=PKGS]
1577                          optimize for fast installation [default=yes]
1578  --disable-libtool-lock  avoid locking (might break parallel builds)
1579  --enable-dependency-tracking
1580                          do not reject slow dependency extractors
1581  --disable-dependency-tracking
1582                          speeds up one-time build
1583  --enable-silent-rules          less verbose build output (undo: `make V=1')
1584  --disable-silent-rules         verbose build output (undo: `make V=0')
1585  --enable-maintainer-mode
1586                          enable make rules and dependencies not useful (and
1587                          sometimes confusing) to the casual installer
1588  --disable-nls           do not use Native Language Support
1589  --disable-largefile     omit support for large files
1590  --enable-nfs            Create "Network file system" plugin (requires fuse
1591                          plugin) [[default=yes]]
1592  --enable-sftp           Create "SSH file system" plugin (requires fuse
1593                          plugin) [[default=yes]]
1594  --enable-bluetooth      Create "Bluetooth obex)" plugin (requires fuse
1595                          plugin) [[default=yes]]
1596  --enable-ftp            Create "FTP file system" plugin (requires fuse
1597                          plugin) [[default=yes]]
1598  --enable-ecryptfs       Create "Encrypted file system" plugin (requires fuse
1599                          plugin) [[default=yes]]
1600  --enable-bluetooth      Create "Bluetooth obex)" plugin (requires fuse
1601                          plugin) [[default=no]]
1602  --enable-ftp            Create "FTP file system" plugin (requires fuse
1603                          plugin) [[default=no]]
1604  --enable-ecryptfs       Create "Encrypted file system" plugin (requires fuse
1605                          plugin) [[default=no]]
1606  --enable-cifs           Create "Windows network file system" plugin
1607                          (requires fuse plugin) [[default=yes]]
1608
1609Optional Packages:
1610  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1611  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1612  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1613                          both]
1614  --with-aix-soname=aix|svr4|both
1615                          shared library versioning (aka "SONAME") variant to
1616                          provide on AIX, [default=aix].
1617  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1618  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1619                          compiler's sysroot if not specified).
1620  --with-centos           Create CentOS spec file instead of the default
1621                          OpenSUSE spec file (packagers only)
1622  --with-tcmalloc         enable tcmalloc (developers only)
1623  --with-mpt              max preview threads (default=4)
1624  --with-debug            Enable debug
1625  --with-trace            Enable trace
1626  --with-core             Enable core dumps
1627  --with-locales-dir=DIR  Install locales into DIR
1628
1629Some influential environment variables:
1630  CC          C compiler command
1631  CFLAGS      C compiler flags
1632  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1633              nonstandard directory <lib dir>
1634  LIBS        libraries to pass to the linker, e.g. -l<library>
1635  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1636              you have headers in a nonstandard directory <include dir>
1637  LT_SYS_LIBRARY_PATH
1638              User-defined run-time library search path.
1639  CPP         C preprocessor
1640
1641Use these variables to override the choices made by `configure' or to help
1642it to find libraries and programs with nonstandard names/locations.
1643
1644Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-fuse/>.
1645rodent-fuse home page: <"http://xffm.org">.
1646_ACEOF
1647ac_status=$?
1648fi
1649
1650if test "$ac_init_help" = "recursive"; then
1651  # If there are subdirs, report their specific --help.
1652  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1653    test -d "$ac_dir" ||
1654      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1655      continue
1656    ac_builddir=.
1657
1658case "$ac_dir" in
1659.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660*)
1661  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1662  # A ".." for each directory in $ac_dir_suffix.
1663  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1664  case $ac_top_builddir_sub in
1665  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1666  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1667  esac ;;
1668esac
1669ac_abs_top_builddir=$ac_pwd
1670ac_abs_builddir=$ac_pwd$ac_dir_suffix
1671# for backward compatibility:
1672ac_top_builddir=$ac_top_build_prefix
1673
1674case $srcdir in
1675  .)  # We are building in place.
1676    ac_srcdir=.
1677    ac_top_srcdir=$ac_top_builddir_sub
1678    ac_abs_top_srcdir=$ac_pwd ;;
1679  [\\/]* | ?:[\\/]* )  # Absolute name.
1680    ac_srcdir=$srcdir$ac_dir_suffix;
1681    ac_top_srcdir=$srcdir
1682    ac_abs_top_srcdir=$srcdir ;;
1683  *) # Relative name.
1684    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1685    ac_top_srcdir=$ac_top_build_prefix$srcdir
1686    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1687esac
1688ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1689
1690    cd "$ac_dir" || { ac_status=$?; continue; }
1691    # Check for guested configure.
1692    if test -f "$ac_srcdir/configure.gnu"; then
1693      echo &&
1694      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1695    elif test -f "$ac_srcdir/configure"; then
1696      echo &&
1697      $SHELL "$ac_srcdir/configure" --help=recursive
1698    else
1699      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1700    fi || ac_status=$?
1701    cd "$ac_pwd" || { ac_status=$?; break; }
1702  done
1703fi
1704
1705test -n "$ac_init_help" && exit $ac_status
1706if $ac_init_version; then
1707  cat <<\_ACEOF
1708rodent-fuse configure 5.3.16.3
1709generated by GNU Autoconf 2.69
1710
1711Copyright (C) 2012 Free Software Foundation, Inc.
1712This configure script is free software; the Free Software Foundation
1713gives unlimited permission to copy, distribute and modify it.
1714
1715"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>"
1716_ACEOF
1717  exit
1718fi
1719
1720## ------------------------ ##
1721## Autoconf initialization. ##
1722## ------------------------ ##
1723
1724# ac_fn_c_try_compile LINENO
1725# --------------------------
1726# Try to compile conftest.$ac_ext, and return whether this succeeded.
1727ac_fn_c_try_compile ()
1728{
1729  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730  rm -f conftest.$ac_objext
1731  if { { ac_try="$ac_compile"
1732case "(($ac_try" in
1733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734  *) ac_try_echo=$ac_try;;
1735esac
1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737$as_echo "$ac_try_echo"; } >&5
1738  (eval "$ac_compile") 2>conftest.err
1739  ac_status=$?
1740  if test -s conftest.err; then
1741    grep -v '^ *+' conftest.err >conftest.er1
1742    cat conftest.er1 >&5
1743    mv -f conftest.er1 conftest.err
1744  fi
1745  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746  test $ac_status = 0; } && {
1747	 test -z "$ac_c_werror_flag" ||
1748	 test ! -s conftest.err
1749       } && test -s conftest.$ac_objext; then :
1750  ac_retval=0
1751else
1752  $as_echo "$as_me: failed program was:" >&5
1753sed 's/^/| /' conftest.$ac_ext >&5
1754
1755	ac_retval=1
1756fi
1757  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758  as_fn_set_status $ac_retval
1759
1760} # ac_fn_c_try_compile
1761
1762# ac_fn_c_try_link LINENO
1763# -----------------------
1764# Try to link conftest.$ac_ext, and return whether this succeeded.
1765ac_fn_c_try_link ()
1766{
1767  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768  rm -f conftest.$ac_objext conftest$ac_exeext
1769  if { { ac_try="$ac_link"
1770case "(($ac_try" in
1771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772  *) ac_try_echo=$ac_try;;
1773esac
1774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775$as_echo "$ac_try_echo"; } >&5
1776  (eval "$ac_link") 2>conftest.err
1777  ac_status=$?
1778  if test -s conftest.err; then
1779    grep -v '^ *+' conftest.err >conftest.er1
1780    cat conftest.er1 >&5
1781    mv -f conftest.er1 conftest.err
1782  fi
1783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784  test $ac_status = 0; } && {
1785	 test -z "$ac_c_werror_flag" ||
1786	 test ! -s conftest.err
1787       } && test -s conftest$ac_exeext && {
1788	 test "$cross_compiling" = yes ||
1789	 test -x conftest$ac_exeext
1790       }; then :
1791  ac_retval=0
1792else
1793  $as_echo "$as_me: failed program was:" >&5
1794sed 's/^/| /' conftest.$ac_ext >&5
1795
1796	ac_retval=1
1797fi
1798  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800  # interfere with the next link command; also delete a directory that is
1801  # left behind by Apple's compiler.  We do this before executing the actions.
1802  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804  as_fn_set_status $ac_retval
1805
1806} # ac_fn_c_try_link
1807
1808# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1809# -------------------------------------------------------
1810# Tests whether HEADER exists and can be compiled using the include files in
1811# INCLUDES, setting the cache variable VAR accordingly.
1812ac_fn_c_check_header_compile ()
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$4
1823#include <$2>
1824_ACEOF
1825if ac_fn_c_try_compile "$LINENO"; then :
1826  eval "$3=yes"
1827else
1828  eval "$3=no"
1829fi
1830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831fi
1832eval ac_res=\$$3
1833	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834$as_echo "$ac_res" >&6; }
1835  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836
1837} # ac_fn_c_check_header_compile
1838
1839# ac_fn_c_try_cpp LINENO
1840# ----------------------
1841# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1842ac_fn_c_try_cpp ()
1843{
1844  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845  if { { ac_try="$ac_cpp conftest.$ac_ext"
1846case "(($ac_try" in
1847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848  *) ac_try_echo=$ac_try;;
1849esac
1850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851$as_echo "$ac_try_echo"; } >&5
1852  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853  ac_status=$?
1854  if test -s conftest.err; then
1855    grep -v '^ *+' conftest.err >conftest.er1
1856    cat conftest.er1 >&5
1857    mv -f conftest.er1 conftest.err
1858  fi
1859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860  test $ac_status = 0; } > conftest.i && {
1861	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1862	 test ! -s conftest.err
1863       }; then :
1864  ac_retval=0
1865else
1866  $as_echo "$as_me: failed program was:" >&5
1867sed 's/^/| /' conftest.$ac_ext >&5
1868
1869    ac_retval=1
1870fi
1871  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872  as_fn_set_status $ac_retval
1873
1874} # ac_fn_c_try_cpp
1875
1876# ac_fn_c_try_run LINENO
1877# ----------------------
1878# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879# that executables *can* be run.
1880ac_fn_c_try_run ()
1881{
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  if { { ac_try="$ac_link"
1884case "(($ac_try" in
1885  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886  *) ac_try_echo=$ac_try;;
1887esac
1888eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889$as_echo "$ac_try_echo"; } >&5
1890  (eval "$ac_link") 2>&5
1891  ac_status=$?
1892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1894  { { case "(($ac_try" in
1895  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896  *) ac_try_echo=$ac_try;;
1897esac
1898eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899$as_echo "$ac_try_echo"; } >&5
1900  (eval "$ac_try") 2>&5
1901  ac_status=$?
1902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903  test $ac_status = 0; }; }; then :
1904  ac_retval=0
1905else
1906  $as_echo "$as_me: program exited with status $ac_status" >&5
1907       $as_echo "$as_me: failed program was:" >&5
1908sed 's/^/| /' conftest.$ac_ext >&5
1909
1910       ac_retval=$ac_status
1911fi
1912  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914  as_fn_set_status $ac_retval
1915
1916} # ac_fn_c_try_run
1917
1918# ac_fn_c_check_func LINENO FUNC VAR
1919# ----------------------------------
1920# Tests whether FUNC exists, setting the cache variable VAR accordingly
1921ac_fn_c_check_func ()
1922{
1923  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925$as_echo_n "checking for $2... " >&6; }
1926if eval \${$3+:} false; then :
1927  $as_echo_n "(cached) " >&6
1928else
1929  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930/* end confdefs.h.  */
1931/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1932   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1933#define $2 innocuous_$2
1934
1935/* System header to define __stub macros and hopefully few prototypes,
1936    which can conflict with char $2 (); below.
1937    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1938    <limits.h> exists even on freestanding compilers.  */
1939
1940#ifdef __STDC__
1941# include <limits.h>
1942#else
1943# include <assert.h>
1944#endif
1945
1946#undef $2
1947
1948/* Override any GCC internal prototype to avoid an error.
1949   Use char because int might match the return type of a GCC
1950   builtin and then its argument prototype would still apply.  */
1951#ifdef __cplusplus
1952extern "C"
1953#endif
1954char $2 ();
1955/* The GNU C library defines this for functions which it implements
1956    to always fail with ENOSYS.  Some functions are actually named
1957    something starting with __ and the normal name is an alias.  */
1958#if defined __stub_$2 || defined __stub___$2
1959choke me
1960#endif
1961
1962int
1963main ()
1964{
1965return $2 ();
1966  ;
1967  return 0;
1968}
1969_ACEOF
1970if ac_fn_c_try_link "$LINENO"; then :
1971  eval "$3=yes"
1972else
1973  eval "$3=no"
1974fi
1975rm -f core conftest.err conftest.$ac_objext \
1976    conftest$ac_exeext conftest.$ac_ext
1977fi
1978eval ac_res=\$$3
1979	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980$as_echo "$ac_res" >&6; }
1981  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982
1983} # ac_fn_c_check_func
1984
1985# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1986# --------------------------------------------
1987# Tries to find the compile-time value of EXPR in a program that includes
1988# INCLUDES, setting VAR accordingly. Returns whether the value could be
1989# computed
1990ac_fn_c_compute_int ()
1991{
1992  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993  if test "$cross_compiling" = yes; then
1994    # Depending upon the size, compute the lo and hi bounds.
1995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996/* end confdefs.h.  */
1997$4
1998int
1999main ()
2000{
2001static int test_array [1 - 2 * !(($2) >= 0)];
2002test_array [0] = 0;
2003return test_array [0];
2004
2005  ;
2006  return 0;
2007}
2008_ACEOF
2009if ac_fn_c_try_compile "$LINENO"; then :
2010  ac_lo=0 ac_mid=0
2011  while :; do
2012    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013/* end confdefs.h.  */
2014$4
2015int
2016main ()
2017{
2018static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2019test_array [0] = 0;
2020return test_array [0];
2021
2022  ;
2023  return 0;
2024}
2025_ACEOF
2026if ac_fn_c_try_compile "$LINENO"; then :
2027  ac_hi=$ac_mid; break
2028else
2029  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2030			if test $ac_lo -le $ac_mid; then
2031			  ac_lo= ac_hi=
2032			  break
2033			fi
2034			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2035fi
2036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037  done
2038else
2039  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040/* end confdefs.h.  */
2041$4
2042int
2043main ()
2044{
2045static int test_array [1 - 2 * !(($2) < 0)];
2046test_array [0] = 0;
2047return test_array [0];
2048
2049  ;
2050  return 0;
2051}
2052_ACEOF
2053if ac_fn_c_try_compile "$LINENO"; then :
2054  ac_hi=-1 ac_mid=-1
2055  while :; do
2056    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057/* end confdefs.h.  */
2058$4
2059int
2060main ()
2061{
2062static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2063test_array [0] = 0;
2064return test_array [0];
2065
2066  ;
2067  return 0;
2068}
2069_ACEOF
2070if ac_fn_c_try_compile "$LINENO"; then :
2071  ac_lo=$ac_mid; break
2072else
2073  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2074			if test $ac_mid -le $ac_hi; then
2075			  ac_lo= ac_hi=
2076			  break
2077			fi
2078			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2079fi
2080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081  done
2082else
2083  ac_lo= ac_hi=
2084fi
2085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086fi
2087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088# Binary search between lo and hi bounds.
2089while test "x$ac_lo" != "x$ac_hi"; do
2090  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2091  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092/* end confdefs.h.  */
2093$4
2094int
2095main ()
2096{
2097static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2098test_array [0] = 0;
2099return test_array [0];
2100
2101  ;
2102  return 0;
2103}
2104_ACEOF
2105if ac_fn_c_try_compile "$LINENO"; then :
2106  ac_hi=$ac_mid
2107else
2108  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2109fi
2110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111done
2112case $ac_lo in #((
2113?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2114'') ac_retval=1 ;;
2115esac
2116  else
2117    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118/* end confdefs.h.  */
2119$4
2120static long int longval () { return $2; }
2121static unsigned long int ulongval () { return $2; }
2122#include <stdio.h>
2123#include <stdlib.h>
2124int
2125main ()
2126{
2127
2128  FILE *f = fopen ("conftest.val", "w");
2129  if (! f)
2130    return 1;
2131  if (($2) < 0)
2132    {
2133      long int i = longval ();
2134      if (i != ($2))
2135	return 1;
2136      fprintf (f, "%ld", i);
2137    }
2138  else
2139    {
2140      unsigned long int i = ulongval ();
2141      if (i != ($2))
2142	return 1;
2143      fprintf (f, "%lu", i);
2144    }
2145  /* Do not output a trailing newline, as this causes \r\n confusion
2146     on some platforms.  */
2147  return ferror (f) || fclose (f) != 0;
2148
2149  ;
2150  return 0;
2151}
2152_ACEOF
2153if ac_fn_c_try_run "$LINENO"; then :
2154  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2155else
2156  ac_retval=1
2157fi
2158rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2159  conftest.$ac_objext conftest.beam conftest.$ac_ext
2160rm -f conftest.val
2161
2162  fi
2163  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164  as_fn_set_status $ac_retval
2165
2166} # ac_fn_c_compute_int
2167
2168# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2169# -------------------------------------------------------
2170# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2171# the include files in INCLUDES and setting the cache variable VAR
2172# accordingly.
2173ac_fn_c_check_header_mongrel ()
2174{
2175  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176  if eval \${$3+:} false; then :
2177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178$as_echo_n "checking for $2... " >&6; }
2179if eval \${$3+:} false; then :
2180  $as_echo_n "(cached) " >&6
2181fi
2182eval ac_res=\$$3
2183	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184$as_echo "$ac_res" >&6; }
2185else
2186  # Is the header compilable?
2187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2188$as_echo_n "checking $2 usability... " >&6; }
2189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190/* end confdefs.h.  */
2191$4
2192#include <$2>
2193_ACEOF
2194if ac_fn_c_try_compile "$LINENO"; then :
2195  ac_header_compiler=yes
2196else
2197  ac_header_compiler=no
2198fi
2199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2201$as_echo "$ac_header_compiler" >&6; }
2202
2203# Is the header present?
2204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2205$as_echo_n "checking $2 presence... " >&6; }
2206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207/* end confdefs.h.  */
2208#include <$2>
2209_ACEOF
2210if ac_fn_c_try_cpp "$LINENO"; then :
2211  ac_header_preproc=yes
2212else
2213  ac_header_preproc=no
2214fi
2215rm -f conftest.err conftest.i conftest.$ac_ext
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2217$as_echo "$ac_header_preproc" >&6; }
2218
2219# So?  What about this header?
2220case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2221  yes:no: )
2222    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2223$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2224    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226    ;;
2227  no:yes:* )
2228    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2229$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2230    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2231$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2232    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2233$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2234    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2235$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2236    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2237$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2238( $as_echo "## ------------------------------------------------------------------------- ##
2239## Report this to https://sourceforge.net/p/xffm/bugs/milestone/rodent-fuse/ ##
2240## ------------------------------------------------------------------------- ##"
2241     ) | sed "s/^/$as_me: WARNING:     /" >&2
2242    ;;
2243esac
2244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245$as_echo_n "checking for $2... " >&6; }
2246if eval \${$3+:} false; then :
2247  $as_echo_n "(cached) " >&6
2248else
2249  eval "$3=\$ac_header_compiler"
2250fi
2251eval ac_res=\$$3
2252	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253$as_echo "$ac_res" >&6; }
2254fi
2255  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2256
2257} # ac_fn_c_check_header_mongrel
2258
2259# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260# ----------------------------------------------------
2261# Tries to find if the field MEMBER exists in type AGGR, after including
2262# INCLUDES, setting cache variable VAR accordingly.
2263ac_fn_c_check_member ()
2264{
2265  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267$as_echo_n "checking for $2.$3... " >&6; }
2268if eval \${$4+:} false; then :
2269  $as_echo_n "(cached) " >&6
2270else
2271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272/* end confdefs.h.  */
2273$5
2274int
2275main ()
2276{
2277static $2 ac_aggr;
2278if (ac_aggr.$3)
2279return 0;
2280  ;
2281  return 0;
2282}
2283_ACEOF
2284if ac_fn_c_try_compile "$LINENO"; then :
2285  eval "$4=yes"
2286else
2287  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288/* end confdefs.h.  */
2289$5
2290int
2291main ()
2292{
2293static $2 ac_aggr;
2294if (sizeof ac_aggr.$3)
2295return 0;
2296  ;
2297  return 0;
2298}
2299_ACEOF
2300if ac_fn_c_try_compile "$LINENO"; then :
2301  eval "$4=yes"
2302else
2303  eval "$4=no"
2304fi
2305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2306fi
2307rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2308fi
2309eval ac_res=\$$4
2310	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311$as_echo "$ac_res" >&6; }
2312  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2313
2314} # ac_fn_c_check_member
2315
2316# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2317# ---------------------------------------------
2318# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2319# accordingly.
2320ac_fn_c_check_decl ()
2321{
2322  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2323  as_decl_name=`echo $2|sed 's/ *(.*//'`
2324  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2325  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2326$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2327if eval \${$3+:} false; then :
2328  $as_echo_n "(cached) " >&6
2329else
2330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331/* end confdefs.h.  */
2332$4
2333int
2334main ()
2335{
2336#ifndef $as_decl_name
2337#ifdef __cplusplus
2338  (void) $as_decl_use;
2339#else
2340  (void) $as_decl_name;
2341#endif
2342#endif
2343
2344  ;
2345  return 0;
2346}
2347_ACEOF
2348if ac_fn_c_try_compile "$LINENO"; then :
2349  eval "$3=yes"
2350else
2351  eval "$3=no"
2352fi
2353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354fi
2355eval ac_res=\$$3
2356	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2357$as_echo "$ac_res" >&6; }
2358  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2359
2360} # ac_fn_c_check_decl
2361cat >config.log <<_ACEOF
2362This file contains any messages produced by compilers while
2363running configure, to aid debugging if configure makes a mistake.
2364
2365It was created by rodent-fuse $as_me 5.3.16.3, which was
2366generated by GNU Autoconf 2.69.  Invocation command line was
2367
2368  $ $0 $@
2369
2370_ACEOF
2371exec 5>>config.log
2372{
2373cat <<_ASUNAME
2374## --------- ##
2375## Platform. ##
2376## --------- ##
2377
2378hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2379uname -m = `(uname -m) 2>/dev/null || echo unknown`
2380uname -r = `(uname -r) 2>/dev/null || echo unknown`
2381uname -s = `(uname -s) 2>/dev/null || echo unknown`
2382uname -v = `(uname -v) 2>/dev/null || echo unknown`
2383
2384/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2385/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2386
2387/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2388/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2389/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2390/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2391/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2392/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2393/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2394
2395_ASUNAME
2396
2397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398for as_dir in $PATH
2399do
2400  IFS=$as_save_IFS
2401  test -z "$as_dir" && as_dir=.
2402    $as_echo "PATH: $as_dir"
2403  done
2404IFS=$as_save_IFS
2405
2406} >&5
2407
2408cat >&5 <<_ACEOF
2409
2410
2411## ----------- ##
2412## Core tests. ##
2413## ----------- ##
2414
2415_ACEOF
2416
2417
2418# Keep a trace of the command line.
2419# Strip out --no-create and --no-recursion so they do not pile up.
2420# Strip out --silent because we don't want to record it for future runs.
2421# Also quote any args containing shell meta-characters.
2422# Make two passes to allow for proper duplicate-argument suppression.
2423ac_configure_args=
2424ac_configure_args0=
2425ac_configure_args1=
2426ac_must_keep_next=false
2427for ac_pass in 1 2
2428do
2429  for ac_arg
2430  do
2431    case $ac_arg in
2432    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2433    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2434    | -silent | --silent | --silen | --sile | --sil)
2435      continue ;;
2436    *\'*)
2437      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2438    esac
2439    case $ac_pass in
2440    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2441    2)
2442      as_fn_append ac_configure_args1 " '$ac_arg'"
2443      if test $ac_must_keep_next = true; then
2444	ac_must_keep_next=false # Got value, back to normal.
2445      else
2446	case $ac_arg in
2447	  *=* | --config-cache | -C | -disable-* | --disable-* \
2448	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2449	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2450	  | -with-* | --with-* | -without-* | --without-* | --x)
2451	    case "$ac_configure_args0 " in
2452	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2453	    esac
2454	    ;;
2455	  -* ) ac_must_keep_next=true ;;
2456	esac
2457      fi
2458      as_fn_append ac_configure_args " '$ac_arg'"
2459      ;;
2460    esac
2461  done
2462done
2463{ ac_configure_args0=; unset ac_configure_args0;}
2464{ ac_configure_args1=; unset ac_configure_args1;}
2465
2466# When interrupted or exit'd, cleanup temporary files, and complete
2467# config.log.  We remove comments because anyway the quotes in there
2468# would cause problems or look ugly.
2469# WARNING: Use '\'' to represent an apostrophe within the trap.
2470# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2471trap 'exit_status=$?
2472  # Save into config.log some information that might help in debugging.
2473  {
2474    echo
2475
2476    $as_echo "## ---------------- ##
2477## Cache variables. ##
2478## ---------------- ##"
2479    echo
2480    # The following way of writing the cache mishandles newlines in values,
2481(
2482  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2483    eval ac_val=\$$ac_var
2484    case $ac_val in #(
2485    *${as_nl}*)
2486      case $ac_var in #(
2487      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2488$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2489      esac
2490      case $ac_var in #(
2491      _ | IFS | as_nl) ;; #(
2492      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2493      *) { eval $ac_var=; unset $ac_var;} ;;
2494      esac ;;
2495    esac
2496  done
2497  (set) 2>&1 |
2498    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2499    *${as_nl}ac_space=\ *)
2500      sed -n \
2501	"s/'\''/'\''\\\\'\'''\''/g;
2502	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2503      ;; #(
2504    *)
2505      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2506      ;;
2507    esac |
2508    sort
2509)
2510    echo
2511
2512    $as_echo "## ----------------- ##
2513## Output variables. ##
2514## ----------------- ##"
2515    echo
2516    for ac_var in $ac_subst_vars
2517    do
2518      eval ac_val=\$$ac_var
2519      case $ac_val in
2520      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2521      esac
2522      $as_echo "$ac_var='\''$ac_val'\''"
2523    done | sort
2524    echo
2525
2526    if test -n "$ac_subst_files"; then
2527      $as_echo "## ------------------- ##
2528## File substitutions. ##
2529## ------------------- ##"
2530      echo
2531      for ac_var in $ac_subst_files
2532      do
2533	eval ac_val=\$$ac_var
2534	case $ac_val in
2535	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2536	esac
2537	$as_echo "$ac_var='\''$ac_val'\''"
2538      done | sort
2539      echo
2540    fi
2541
2542    if test -s confdefs.h; then
2543      $as_echo "## ----------- ##
2544## confdefs.h. ##
2545## ----------- ##"
2546      echo
2547      cat confdefs.h
2548      echo
2549    fi
2550    test "$ac_signal" != 0 &&
2551      $as_echo "$as_me: caught signal $ac_signal"
2552    $as_echo "$as_me: exit $exit_status"
2553  } >&5
2554  rm -f core *.core core.conftest.* &&
2555    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2556    exit $exit_status
2557' 0
2558for ac_signal in 1 2 13 15; do
2559  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2560done
2561ac_signal=0
2562
2563# confdefs.h avoids OS command line length limits that DEFS can exceed.
2564rm -f -r conftest* confdefs.h
2565
2566$as_echo "/* confdefs.h */" > confdefs.h
2567
2568# Predefined preprocessor variables.
2569
2570cat >>confdefs.h <<_ACEOF
2571#define PACKAGE_NAME "$PACKAGE_NAME"
2572_ACEOF
2573
2574cat >>confdefs.h <<_ACEOF
2575#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2576_ACEOF
2577
2578cat >>confdefs.h <<_ACEOF
2579#define PACKAGE_VERSION "$PACKAGE_VERSION"
2580_ACEOF
2581
2582cat >>confdefs.h <<_ACEOF
2583#define PACKAGE_STRING "$PACKAGE_STRING"
2584_ACEOF
2585
2586cat >>confdefs.h <<_ACEOF
2587#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2588_ACEOF
2589
2590cat >>confdefs.h <<_ACEOF
2591#define PACKAGE_URL "$PACKAGE_URL"
2592_ACEOF
2593
2594
2595# Let the site file select an alternate cache file if it wants to.
2596# Prefer an explicitly selected file to automatically selected ones.
2597ac_site_file1=NONE
2598ac_site_file2=NONE
2599if test -n "$CONFIG_SITE"; then
2600  # We do not want a PATH search for config.site.
2601  case $CONFIG_SITE in #((
2602    -*)  ac_site_file1=./$CONFIG_SITE;;
2603    */*) ac_site_file1=$CONFIG_SITE;;
2604    *)   ac_site_file1=./$CONFIG_SITE;;
2605  esac
2606elif test "x$prefix" != xNONE; then
2607  ac_site_file1=$prefix/share/config.site
2608  ac_site_file2=$prefix/etc/config.site
2609else
2610  ac_site_file1=$ac_default_prefix/share/config.site
2611  ac_site_file2=$ac_default_prefix/etc/config.site
2612fi
2613for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2614do
2615  test "x$ac_site_file" = xNONE && continue
2616  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2617    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2618$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2619    sed 's/^/| /' "$ac_site_file" >&5
2620    . "$ac_site_file" \
2621      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2622$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2623as_fn_error $? "failed to load site script $ac_site_file
2624See \`config.log' for more details" "$LINENO" 5; }
2625  fi
2626done
2627
2628if test -r "$cache_file"; then
2629  # Some versions of bash will fail to source /dev/null (special files
2630  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2631  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2632    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2633$as_echo "$as_me: loading cache $cache_file" >&6;}
2634    case $cache_file in
2635      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2636      *)                      . "./$cache_file";;
2637    esac
2638  fi
2639else
2640  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2641$as_echo "$as_me: creating cache $cache_file" >&6;}
2642  >$cache_file
2643fi
2644
2645# Check that the precious variables saved in the cache have kept the same
2646# value.
2647ac_cache_corrupted=false
2648for ac_var in $ac_precious_vars; do
2649  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2650  eval ac_new_set=\$ac_env_${ac_var}_set
2651  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2652  eval ac_new_val=\$ac_env_${ac_var}_value
2653  case $ac_old_set,$ac_new_set in
2654    set,)
2655      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2656$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2657      ac_cache_corrupted=: ;;
2658    ,set)
2659      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2660$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2661      ac_cache_corrupted=: ;;
2662    ,);;
2663    *)
2664      if test "x$ac_old_val" != "x$ac_new_val"; then
2665	# differences in whitespace do not lead to failure.
2666	ac_old_val_w=`echo x $ac_old_val`
2667	ac_new_val_w=`echo x $ac_new_val`
2668	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2669	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2670$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2671	  ac_cache_corrupted=:
2672	else
2673	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2674$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2675	  eval $ac_var=\$ac_old_val
2676	fi
2677	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2678$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2679	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2680$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2681      fi;;
2682  esac
2683  # Pass precious variables to config.status.
2684  if test "$ac_new_set" = set; then
2685    case $ac_new_val in
2686    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2687    *) ac_arg=$ac_var=$ac_new_val ;;
2688    esac
2689    case " $ac_configure_args " in
2690      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2691      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2692    esac
2693  fi
2694done
2695if $ac_cache_corrupted; then
2696  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2698  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2699$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2700  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2701fi
2702## -------------------- ##
2703## Main body of script. ##
2704## -------------------- ##
2705
2706ac_ext=c
2707ac_cpp='$CPP $CPPFLAGS'
2708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2710ac_compiler_gnu=$ac_cv_c_compiler_gnu
2711
2712
2713
2714ac_aux_dir=
2715for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2716  if test -f "$ac_dir/install-sh"; then
2717    ac_aux_dir=$ac_dir
2718    ac_install_sh="$ac_aux_dir/install-sh -c"
2719    break
2720  elif test -f "$ac_dir/install.sh"; then
2721    ac_aux_dir=$ac_dir
2722    ac_install_sh="$ac_aux_dir/install.sh -c"
2723    break
2724  elif test -f "$ac_dir/shtool"; then
2725    ac_aux_dir=$ac_dir
2726    ac_install_sh="$ac_aux_dir/shtool install -c"
2727    break
2728  fi
2729done
2730if test -z "$ac_aux_dir"; then
2731  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2732fi
2733
2734# These three variables are undocumented and unsupported,
2735# and are intended to be withdrawn in a future Autoconf release.
2736# They can cause serious problems if a builder's source tree is in a directory
2737# whose full name contains unusual characters.
2738ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2739ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2740ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2741
2742
2743case `pwd` in
2744  *\ * | *\	*)
2745    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2746$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2747esac
2748
2749
2750
2751macro_version='2.4.6'
2752macro_revision='2.4.6'
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766ltmain=$ac_aux_dir/ltmain.sh
2767
2768# Make sure we can run config.sub.
2769$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2770  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2771
2772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2773$as_echo_n "checking build system type... " >&6; }
2774if ${ac_cv_build+:} false; then :
2775  $as_echo_n "(cached) " >&6
2776else
2777  ac_build_alias=$build_alias
2778test "x$ac_build_alias" = x &&
2779  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2780test "x$ac_build_alias" = x &&
2781  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2782ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2783  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2784
2785fi
2786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2787$as_echo "$ac_cv_build" >&6; }
2788case $ac_cv_build in
2789*-*-*) ;;
2790*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2791esac
2792build=$ac_cv_build
2793ac_save_IFS=$IFS; IFS='-'
2794set x $ac_cv_build
2795shift
2796build_cpu=$1
2797build_vendor=$2
2798shift; shift
2799# Remember, the first character of IFS is used to create $*,
2800# except with old shells:
2801build_os=$*
2802IFS=$ac_save_IFS
2803case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2804
2805
2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2807$as_echo_n "checking host system type... " >&6; }
2808if ${ac_cv_host+:} false; then :
2809  $as_echo_n "(cached) " >&6
2810else
2811  if test "x$host_alias" = x; then
2812  ac_cv_host=$ac_cv_build
2813else
2814  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2815    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2816fi
2817
2818fi
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2820$as_echo "$ac_cv_host" >&6; }
2821case $ac_cv_host in
2822*-*-*) ;;
2823*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2824esac
2825host=$ac_cv_host
2826ac_save_IFS=$IFS; IFS='-'
2827set x $ac_cv_host
2828shift
2829host_cpu=$1
2830host_vendor=$2
2831shift; shift
2832# Remember, the first character of IFS is used to create $*,
2833# except with old shells:
2834host_os=$*
2835IFS=$ac_save_IFS
2836case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2837
2838
2839# Backslashify metacharacters that are still active within
2840# double-quoted strings.
2841sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2842
2843# Same as above, but do not quote variable references.
2844double_quote_subst='s/\(["`\\]\)/\\\1/g'
2845
2846# Sed substitution to delay expansion of an escaped shell variable in a
2847# double_quote_subst'ed string.
2848delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2849
2850# Sed substitution to delay expansion of an escaped single quote.
2851delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2852
2853# Sed substitution to avoid accidental globbing in evaled expressions
2854no_glob_subst='s/\*/\\\*/g'
2855
2856ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2857ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2858ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2859
2860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2861$as_echo_n "checking how to print strings... " >&6; }
2862# Test print first, because it will be a builtin if present.
2863if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2864   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2865  ECHO='print -r --'
2866elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2867  ECHO='printf %s\n'
2868else
2869  # Use this function as a fallback that always works.
2870  func_fallback_echo ()
2871  {
2872    eval 'cat <<_LTECHO_EOF
2873$1
2874_LTECHO_EOF'
2875  }
2876  ECHO='func_fallback_echo'
2877fi
2878
2879# func_echo_all arg...
2880# Invoke $ECHO with all args, space-separated.
2881func_echo_all ()
2882{
2883    $ECHO ""
2884}
2885
2886case $ECHO in
2887  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2888$as_echo "printf" >&6; } ;;
2889  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2890$as_echo "print -r" >&6; } ;;
2891  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2892$as_echo "cat" >&6; } ;;
2893esac
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908# Expand $ac_aux_dir to an absolute path.
2909am_aux_dir=`cd "$ac_aux_dir" && pwd`
2910
2911ac_ext=c
2912ac_cpp='$CPP $CPPFLAGS'
2913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915ac_compiler_gnu=$ac_cv_c_compiler_gnu
2916if test -n "$ac_tool_prefix"; then
2917  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2918set dummy ${ac_tool_prefix}gcc; ac_word=$2
2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920$as_echo_n "checking for $ac_word... " >&6; }
2921if ${ac_cv_prog_CC+:} false; then :
2922  $as_echo_n "(cached) " >&6
2923else
2924  if test -n "$CC"; then
2925  ac_cv_prog_CC="$CC" # Let the user override the test.
2926else
2927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928for as_dir in $PATH
2929do
2930  IFS=$as_save_IFS
2931  test -z "$as_dir" && as_dir=.
2932    for ac_exec_ext in '' $ac_executable_extensions; do
2933  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2935    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936    break 2
2937  fi
2938done
2939  done
2940IFS=$as_save_IFS
2941
2942fi
2943fi
2944CC=$ac_cv_prog_CC
2945if test -n "$CC"; then
2946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2947$as_echo "$CC" >&6; }
2948else
2949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950$as_echo "no" >&6; }
2951fi
2952
2953
2954fi
2955if test -z "$ac_cv_prog_CC"; then
2956  ac_ct_CC=$CC
2957  # Extract the first word of "gcc", so it can be a program name with args.
2958set dummy gcc; ac_word=$2
2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960$as_echo_n "checking for $ac_word... " >&6; }
2961if ${ac_cv_prog_ac_ct_CC+:} false; then :
2962  $as_echo_n "(cached) " >&6
2963else
2964  if test -n "$ac_ct_CC"; then
2965  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2966else
2967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968for as_dir in $PATH
2969do
2970  IFS=$as_save_IFS
2971  test -z "$as_dir" && as_dir=.
2972    for ac_exec_ext in '' $ac_executable_extensions; do
2973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2974    ac_cv_prog_ac_ct_CC="gcc"
2975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976    break 2
2977  fi
2978done
2979  done
2980IFS=$as_save_IFS
2981
2982fi
2983fi
2984ac_ct_CC=$ac_cv_prog_ac_ct_CC
2985if test -n "$ac_ct_CC"; then
2986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2987$as_echo "$ac_ct_CC" >&6; }
2988else
2989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990$as_echo "no" >&6; }
2991fi
2992
2993  if test "x$ac_ct_CC" = x; then
2994    CC=""
2995  else
2996    case $cross_compiling:$ac_tool_warned in
2997yes:)
2998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000ac_tool_warned=yes ;;
3001esac
3002    CC=$ac_ct_CC
3003  fi
3004else
3005  CC="$ac_cv_prog_CC"
3006fi
3007
3008if test -z "$CC"; then
3009          if test -n "$ac_tool_prefix"; then
3010    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3011set dummy ${ac_tool_prefix}cc; ac_word=$2
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013$as_echo_n "checking for $ac_word... " >&6; }
3014if ${ac_cv_prog_CC+:} false; then :
3015  $as_echo_n "(cached) " >&6
3016else
3017  if test -n "$CC"; then
3018  ac_cv_prog_CC="$CC" # Let the user override the test.
3019else
3020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021for as_dir in $PATH
3022do
3023  IFS=$as_save_IFS
3024  test -z "$as_dir" && as_dir=.
3025    for ac_exec_ext in '' $ac_executable_extensions; do
3026  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027    ac_cv_prog_CC="${ac_tool_prefix}cc"
3028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029    break 2
3030  fi
3031done
3032  done
3033IFS=$as_save_IFS
3034
3035fi
3036fi
3037CC=$ac_cv_prog_CC
3038if test -n "$CC"; then
3039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3040$as_echo "$CC" >&6; }
3041else
3042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043$as_echo "no" >&6; }
3044fi
3045
3046
3047  fi
3048fi
3049if test -z "$CC"; then
3050  # Extract the first word of "cc", so it can be a program name with args.
3051set dummy cc; ac_word=$2
3052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053$as_echo_n "checking for $ac_word... " >&6; }
3054if ${ac_cv_prog_CC+:} false; then :
3055  $as_echo_n "(cached) " >&6
3056else
3057  if test -n "$CC"; then
3058  ac_cv_prog_CC="$CC" # Let the user override the test.
3059else
3060  ac_prog_rejected=no
3061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062for as_dir in $PATH
3063do
3064  IFS=$as_save_IFS
3065  test -z "$as_dir" && as_dir=.
3066    for ac_exec_ext in '' $ac_executable_extensions; do
3067  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3068    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3069       ac_prog_rejected=yes
3070       continue
3071     fi
3072    ac_cv_prog_CC="cc"
3073    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074    break 2
3075  fi
3076done
3077  done
3078IFS=$as_save_IFS
3079
3080if test $ac_prog_rejected = yes; then
3081  # We found a bogon in the path, so make sure we never use it.
3082  set dummy $ac_cv_prog_CC
3083  shift
3084  if test $# != 0; then
3085    # We chose a different compiler from the bogus one.
3086    # However, it has the same basename, so the bogon will be chosen
3087    # first if we set CC to just the basename; use the full file name.
3088    shift
3089    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3090  fi
3091fi
3092fi
3093fi
3094CC=$ac_cv_prog_CC
3095if test -n "$CC"; then
3096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3097$as_echo "$CC" >&6; }
3098else
3099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100$as_echo "no" >&6; }
3101fi
3102
3103
3104fi
3105if test -z "$CC"; then
3106  if test -n "$ac_tool_prefix"; then
3107  for ac_prog in cl.exe
3108  do
3109    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3110set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3112$as_echo_n "checking for $ac_word... " >&6; }
3113if ${ac_cv_prog_CC+:} false; then :
3114  $as_echo_n "(cached) " >&6
3115else
3116  if test -n "$CC"; then
3117  ac_cv_prog_CC="$CC" # Let the user override the test.
3118else
3119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120for as_dir in $PATH
3121do
3122  IFS=$as_save_IFS
3123  test -z "$as_dir" && as_dir=.
3124    for ac_exec_ext in '' $ac_executable_extensions; do
3125  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3127    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128    break 2
3129  fi
3130done
3131  done
3132IFS=$as_save_IFS
3133
3134fi
3135fi
3136CC=$ac_cv_prog_CC
3137if test -n "$CC"; then
3138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3139$as_echo "$CC" >&6; }
3140else
3141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142$as_echo "no" >&6; }
3143fi
3144
3145
3146    test -n "$CC" && break
3147  done
3148fi
3149if test -z "$CC"; then
3150  ac_ct_CC=$CC
3151  for ac_prog in cl.exe
3152do
3153  # Extract the first word of "$ac_prog", so it can be a program name with args.
3154set dummy $ac_prog; ac_word=$2
3155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156$as_echo_n "checking for $ac_word... " >&6; }
3157if ${ac_cv_prog_ac_ct_CC+:} false; then :
3158  $as_echo_n "(cached) " >&6
3159else
3160  if test -n "$ac_ct_CC"; then
3161  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3162else
3163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164for as_dir in $PATH
3165do
3166  IFS=$as_save_IFS
3167  test -z "$as_dir" && as_dir=.
3168    for ac_exec_ext in '' $ac_executable_extensions; do
3169  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170    ac_cv_prog_ac_ct_CC="$ac_prog"
3171    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172    break 2
3173  fi
3174done
3175  done
3176IFS=$as_save_IFS
3177
3178fi
3179fi
3180ac_ct_CC=$ac_cv_prog_ac_ct_CC
3181if test -n "$ac_ct_CC"; then
3182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3183$as_echo "$ac_ct_CC" >&6; }
3184else
3185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186$as_echo "no" >&6; }
3187fi
3188
3189
3190  test -n "$ac_ct_CC" && break
3191done
3192
3193  if test "x$ac_ct_CC" = x; then
3194    CC=""
3195  else
3196    case $cross_compiling:$ac_tool_warned in
3197yes:)
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200ac_tool_warned=yes ;;
3201esac
3202    CC=$ac_ct_CC
3203  fi
3204fi
3205
3206fi
3207
3208
3209test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211as_fn_error $? "no acceptable C compiler found in \$PATH
3212See \`config.log' for more details" "$LINENO" 5; }
3213
3214# Provide some information about the compiler.
3215$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3216set X $ac_compile
3217ac_compiler=$2
3218for ac_option in --version -v -V -qversion; do
3219  { { ac_try="$ac_compiler $ac_option >&5"
3220case "(($ac_try" in
3221  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222  *) ac_try_echo=$ac_try;;
3223esac
3224eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225$as_echo "$ac_try_echo"; } >&5
3226  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3227  ac_status=$?
3228  if test -s conftest.err; then
3229    sed '10a\
3230... rest of stderr output deleted ...
3231         10q' conftest.err >conftest.er1
3232    cat conftest.er1 >&5
3233  fi
3234  rm -f conftest.er1 conftest.err
3235  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236  test $ac_status = 0; }
3237done
3238
3239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240/* end confdefs.h.  */
3241
3242int
3243main ()
3244{
3245
3246  ;
3247  return 0;
3248}
3249_ACEOF
3250ac_clean_files_save=$ac_clean_files
3251ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3252# Try to create an executable without -o first, disregard a.out.
3253# It will help us diagnose broken compilers, and finding out an intuition
3254# of exeext.
3255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3256$as_echo_n "checking whether the C compiler works... " >&6; }
3257ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3258
3259# The possible output files:
3260ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3261
3262ac_rmfiles=
3263for ac_file in $ac_files
3264do
3265  case $ac_file in
3266    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3267    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3268  esac
3269done
3270rm -f $ac_rmfiles
3271
3272if { { ac_try="$ac_link_default"
3273case "(($ac_try" in
3274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275  *) ac_try_echo=$ac_try;;
3276esac
3277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278$as_echo "$ac_try_echo"; } >&5
3279  (eval "$ac_link_default") 2>&5
3280  ac_status=$?
3281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282  test $ac_status = 0; }; then :
3283  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3284# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3285# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3286# so that the user can short-circuit this test for compilers unknown to
3287# Autoconf.
3288for ac_file in $ac_files ''
3289do
3290  test -f "$ac_file" || continue
3291  case $ac_file in
3292    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3293	;;
3294    [ab].out )
3295	# We found the default executable, but exeext='' is most
3296	# certainly right.
3297	break;;
3298    *.* )
3299	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3300	then :; else
3301	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3302	fi
3303	# We set ac_cv_exeext here because the later test for it is not
3304	# safe: cross compilers may not add the suffix if given an `-o'
3305	# argument, so we may need to know it at that point already.
3306	# Even if this section looks crufty: it has the advantage of
3307	# actually working.
3308	break;;
3309    * )
3310	break;;
3311  esac
3312done
3313test "$ac_cv_exeext" = no && ac_cv_exeext=
3314
3315else
3316  ac_file=''
3317fi
3318if test -z "$ac_file"; then :
3319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320$as_echo "no" >&6; }
3321$as_echo "$as_me: failed program was:" >&5
3322sed 's/^/| /' conftest.$ac_ext >&5
3323
3324{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326as_fn_error 77 "C compiler cannot create executables
3327See \`config.log' for more details" "$LINENO" 5; }
3328else
3329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330$as_echo "yes" >&6; }
3331fi
3332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3333$as_echo_n "checking for C compiler default output file name... " >&6; }
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3335$as_echo "$ac_file" >&6; }
3336ac_exeext=$ac_cv_exeext
3337
3338rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3339ac_clean_files=$ac_clean_files_save
3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3341$as_echo_n "checking for suffix of executables... " >&6; }
3342if { { ac_try="$ac_link"
3343case "(($ac_try" in
3344  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345  *) ac_try_echo=$ac_try;;
3346esac
3347eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3348$as_echo "$ac_try_echo"; } >&5
3349  (eval "$ac_link") 2>&5
3350  ac_status=$?
3351  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3352  test $ac_status = 0; }; then :
3353  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3354# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3355# work properly (i.e., refer to `conftest.exe'), while it won't with
3356# `rm'.
3357for ac_file in conftest.exe conftest conftest.*; do
3358  test -f "$ac_file" || continue
3359  case $ac_file in
3360    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3361    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3362	  break;;
3363    * ) break;;
3364  esac
3365done
3366else
3367  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3370See \`config.log' for more details" "$LINENO" 5; }
3371fi
3372rm -f conftest conftest$ac_cv_exeext
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3374$as_echo "$ac_cv_exeext" >&6; }
3375
3376rm -f conftest.$ac_ext
3377EXEEXT=$ac_cv_exeext
3378ac_exeext=$EXEEXT
3379cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380/* end confdefs.h.  */
3381#include <stdio.h>
3382int
3383main ()
3384{
3385FILE *f = fopen ("conftest.out", "w");
3386 return ferror (f) || fclose (f) != 0;
3387
3388  ;
3389  return 0;
3390}
3391_ACEOF
3392ac_clean_files="$ac_clean_files conftest.out"
3393# Check that the compiler produces executables we can run.  If not, either
3394# the compiler is broken, or we cross compile.
3395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3396$as_echo_n "checking whether we are cross compiling... " >&6; }
3397if test "$cross_compiling" != yes; then
3398  { { ac_try="$ac_link"
3399case "(($ac_try" in
3400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401  *) ac_try_echo=$ac_try;;
3402esac
3403eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404$as_echo "$ac_try_echo"; } >&5
3405  (eval "$ac_link") 2>&5
3406  ac_status=$?
3407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408  test $ac_status = 0; }
3409  if { ac_try='./conftest$ac_cv_exeext'
3410  { { case "(($ac_try" in
3411  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412  *) ac_try_echo=$ac_try;;
3413esac
3414eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415$as_echo "$ac_try_echo"; } >&5
3416  (eval "$ac_try") 2>&5
3417  ac_status=$?
3418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419  test $ac_status = 0; }; }; then
3420    cross_compiling=no
3421  else
3422    if test "$cross_compiling" = maybe; then
3423	cross_compiling=yes
3424    else
3425	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427as_fn_error $? "cannot run C compiled programs.
3428If you meant to cross compile, use \`--host'.
3429See \`config.log' for more details" "$LINENO" 5; }
3430    fi
3431  fi
3432fi
3433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3434$as_echo "$cross_compiling" >&6; }
3435
3436rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3437ac_clean_files=$ac_clean_files_save
3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3439$as_echo_n "checking for suffix of object files... " >&6; }
3440if ${ac_cv_objext+:} false; then :
3441  $as_echo_n "(cached) " >&6
3442else
3443  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444/* end confdefs.h.  */
3445
3446int
3447main ()
3448{
3449
3450  ;
3451  return 0;
3452}
3453_ACEOF
3454rm -f conftest.o conftest.obj
3455if { { ac_try="$ac_compile"
3456case "(($ac_try" in
3457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458  *) ac_try_echo=$ac_try;;
3459esac
3460eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461$as_echo "$ac_try_echo"; } >&5
3462  (eval "$ac_compile") 2>&5
3463  ac_status=$?
3464  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465  test $ac_status = 0; }; then :
3466  for ac_file in conftest.o conftest.obj conftest.*; do
3467  test -f "$ac_file" || continue;
3468  case $ac_file in
3469    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3470    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3471       break;;
3472  esac
3473done
3474else
3475  $as_echo "$as_me: failed program was:" >&5
3476sed 's/^/| /' conftest.$ac_ext >&5
3477
3478{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480as_fn_error $? "cannot compute suffix of object files: cannot compile
3481See \`config.log' for more details" "$LINENO" 5; }
3482fi
3483rm -f conftest.$ac_cv_objext conftest.$ac_ext
3484fi
3485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3486$as_echo "$ac_cv_objext" >&6; }
3487OBJEXT=$ac_cv_objext
3488ac_objext=$OBJEXT
3489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3490$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3491if ${ac_cv_c_compiler_gnu+:} false; then :
3492  $as_echo_n "(cached) " >&6
3493else
3494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495/* end confdefs.h.  */
3496
3497int
3498main ()
3499{
3500#ifndef __GNUC__
3501       choke me
3502#endif
3503
3504  ;
3505  return 0;
3506}
3507_ACEOF
3508if ac_fn_c_try_compile "$LINENO"; then :
3509  ac_compiler_gnu=yes
3510else
3511  ac_compiler_gnu=no
3512fi
3513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514ac_cv_c_compiler_gnu=$ac_compiler_gnu
3515
3516fi
3517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3518$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3519if test $ac_compiler_gnu = yes; then
3520  GCC=yes
3521else
3522  GCC=
3523fi
3524ac_test_CFLAGS=${CFLAGS+set}
3525ac_save_CFLAGS=$CFLAGS
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3527$as_echo_n "checking whether $CC accepts -g... " >&6; }
3528if ${ac_cv_prog_cc_g+:} false; then :
3529  $as_echo_n "(cached) " >&6
3530else
3531  ac_save_c_werror_flag=$ac_c_werror_flag
3532   ac_c_werror_flag=yes
3533   ac_cv_prog_cc_g=no
3534   CFLAGS="-g"
3535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536/* end confdefs.h.  */
3537
3538int
3539main ()
3540{
3541
3542  ;
3543  return 0;
3544}
3545_ACEOF
3546if ac_fn_c_try_compile "$LINENO"; then :
3547  ac_cv_prog_cc_g=yes
3548else
3549  CFLAGS=""
3550      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h.  */
3552
3553int
3554main ()
3555{
3556
3557  ;
3558  return 0;
3559}
3560_ACEOF
3561if ac_fn_c_try_compile "$LINENO"; then :
3562
3563else
3564  ac_c_werror_flag=$ac_save_c_werror_flag
3565	 CFLAGS="-g"
3566	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567/* end confdefs.h.  */
3568
3569int
3570main ()
3571{
3572
3573  ;
3574  return 0;
3575}
3576_ACEOF
3577if ac_fn_c_try_compile "$LINENO"; then :
3578  ac_cv_prog_cc_g=yes
3579fi
3580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581fi
3582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583fi
3584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585   ac_c_werror_flag=$ac_save_c_werror_flag
3586fi
3587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3588$as_echo "$ac_cv_prog_cc_g" >&6; }
3589if test "$ac_test_CFLAGS" = set; then
3590  CFLAGS=$ac_save_CFLAGS
3591elif test $ac_cv_prog_cc_g = yes; then
3592  if test "$GCC" = yes; then
3593    CFLAGS="-g -O2"
3594  else
3595    CFLAGS="-g"
3596  fi
3597else
3598  if test "$GCC" = yes; then
3599    CFLAGS="-O2"
3600  else
3601    CFLAGS=
3602  fi
3603fi
3604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3605$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3606if ${ac_cv_prog_cc_c89+:} false; then :
3607  $as_echo_n "(cached) " >&6
3608else
3609  ac_cv_prog_cc_c89=no
3610ac_save_CC=$CC
3611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612/* end confdefs.h.  */
3613#include <stdarg.h>
3614#include <stdio.h>
3615struct stat;
3616/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3617struct buf { int x; };
3618FILE * (*rcsopen) (struct buf *, struct stat *, int);
3619static char *e (p, i)
3620     char **p;
3621     int i;
3622{
3623  return p[i];
3624}
3625static char *f (char * (*g) (char **, int), char **p, ...)
3626{
3627  char *s;
3628  va_list v;
3629  va_start (v,p);
3630  s = g (p, va_arg (v,int));
3631  va_end (v);
3632  return s;
3633}
3634
3635/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3636   function prototypes and stuff, but not '\xHH' hex character constants.
3637   These don't provoke an error unfortunately, instead are silently treated
3638   as 'x'.  The following induces an error, until -std is added to get
3639   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3640   array size at least.  It's necessary to write '\x00'==0 to get something
3641   that's true only with -std.  */
3642int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3643
3644/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3645   inside strings and character constants.  */
3646#define FOO(x) 'x'
3647int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3648
3649int test (int i, double x);
3650struct s1 {int (*f) (int a);};
3651struct s2 {int (*f) (double a);};
3652int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3653int argc;
3654char **argv;
3655int
3656main ()
3657{
3658return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3659  ;
3660  return 0;
3661}
3662_ACEOF
3663for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3664	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3665do
3666  CC="$ac_save_CC $ac_arg"
3667  if ac_fn_c_try_compile "$LINENO"; then :
3668  ac_cv_prog_cc_c89=$ac_arg
3669fi
3670rm -f core conftest.err conftest.$ac_objext
3671  test "x$ac_cv_prog_cc_c89" != "xno" && break
3672done
3673rm -f conftest.$ac_ext
3674CC=$ac_save_CC
3675
3676fi
3677# AC_CACHE_VAL
3678case "x$ac_cv_prog_cc_c89" in
3679  x)
3680    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3681$as_echo "none needed" >&6; } ;;
3682  xno)
3683    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3684$as_echo "unsupported" >&6; } ;;
3685  *)
3686    CC="$CC $ac_cv_prog_cc_c89"
3687    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3688$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3689esac
3690if test "x$ac_cv_prog_cc_c89" != xno; then :
3691
3692fi
3693
3694ac_ext=c
3695ac_cpp='$CPP $CPPFLAGS'
3696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699
3700ac_ext=c
3701ac_cpp='$CPP $CPPFLAGS'
3702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3706$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3707if ${am_cv_prog_cc_c_o+:} false; then :
3708  $as_echo_n "(cached) " >&6
3709else
3710  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711/* end confdefs.h.  */
3712
3713int
3714main ()
3715{
3716
3717  ;
3718  return 0;
3719}
3720_ACEOF
3721  # Make sure it works both with $CC and with simple cc.
3722  # Following AC_PROG_CC_C_O, we do the test twice because some
3723  # compilers refuse to overwrite an existing .o file with -o,
3724  # though they will create one.
3725  am_cv_prog_cc_c_o=yes
3726  for am_i in 1 2; do
3727    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3728   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3729   ac_status=$?
3730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731   (exit $ac_status); } \
3732         && test -f conftest2.$ac_objext; then
3733      : OK
3734    else
3735      am_cv_prog_cc_c_o=no
3736      break
3737    fi
3738  done
3739  rm -f core conftest*
3740  unset am_i
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3743$as_echo "$am_cv_prog_cc_c_o" >&6; }
3744if test "$am_cv_prog_cc_c_o" != yes; then
3745   # Losing compiler, so override with the script.
3746   # FIXME: It is wrong to rewrite CC.
3747   # But if we don't then we get into trouble of one sort or another.
3748   # A longer-term fix would be to have automake use am__CC in this case,
3749   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3750   CC="$am_aux_dir/compile $CC"
3751fi
3752ac_ext=c
3753ac_cpp='$CPP $CPPFLAGS'
3754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3756ac_compiler_gnu=$ac_cv_c_compiler_gnu
3757
3758
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3760$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3761if ${ac_cv_path_SED+:} false; then :
3762  $as_echo_n "(cached) " >&6
3763else
3764            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3765     for ac_i in 1 2 3 4 5 6 7; do
3766       ac_script="$ac_script$as_nl$ac_script"
3767     done
3768     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3769     { ac_script=; unset ac_script;}
3770     if test -z "$SED"; then
3771  ac_path_SED_found=false
3772  # Loop through the user's path and test for each of PROGNAME-LIST
3773  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774for as_dir in $PATH
3775do
3776  IFS=$as_save_IFS
3777  test -z "$as_dir" && as_dir=.
3778    for ac_prog in sed gsed; do
3779    for ac_exec_ext in '' $ac_executable_extensions; do
3780      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3781      as_fn_executable_p "$ac_path_SED" || continue
3782# Check for GNU ac_path_SED and select it if it is found.
3783  # Check for GNU $ac_path_SED
3784case `"$ac_path_SED" --version 2>&1` in
3785*GNU*)
3786  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3787*)
3788  ac_count=0
3789  $as_echo_n 0123456789 >"conftest.in"
3790  while :
3791  do
3792    cat "conftest.in" "conftest.in" >"conftest.tmp"
3793    mv "conftest.tmp" "conftest.in"
3794    cp "conftest.in" "conftest.nl"
3795    $as_echo '' >> "conftest.nl"
3796    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3797    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3798    as_fn_arith $ac_count + 1 && ac_count=$as_val
3799    if test $ac_count -gt ${ac_path_SED_max-0}; then
3800      # Best one so far, save it but keep looking for a better one
3801      ac_cv_path_SED="$ac_path_SED"
3802      ac_path_SED_max=$ac_count
3803    fi
3804    # 10*(2^10) chars as input seems more than enough
3805    test $ac_count -gt 10 && break
3806  done
3807  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3808esac
3809
3810      $ac_path_SED_found && break 3
3811    done
3812  done
3813  done
3814IFS=$as_save_IFS
3815  if test -z "$ac_cv_path_SED"; then
3816    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3817  fi
3818else
3819  ac_cv_path_SED=$SED
3820fi
3821
3822fi
3823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3824$as_echo "$ac_cv_path_SED" >&6; }
3825 SED="$ac_cv_path_SED"
3826  rm -f conftest.sed
3827
3828test -z "$SED" && SED=sed
3829Xsed="$SED -e 1s/^X//"
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3842$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3843if ${ac_cv_path_GREP+:} false; then :
3844  $as_echo_n "(cached) " >&6
3845else
3846  if test -z "$GREP"; then
3847  ac_path_GREP_found=false
3848  # Loop through the user's path and test for each of PROGNAME-LIST
3849  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3851do
3852  IFS=$as_save_IFS
3853  test -z "$as_dir" && as_dir=.
3854    for ac_prog in grep ggrep; do
3855    for ac_exec_ext in '' $ac_executable_extensions; do
3856      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3857      as_fn_executable_p "$ac_path_GREP" || continue
3858# Check for GNU ac_path_GREP and select it if it is found.
3859  # Check for GNU $ac_path_GREP
3860case `"$ac_path_GREP" --version 2>&1` in
3861*GNU*)
3862  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3863*)
3864  ac_count=0
3865  $as_echo_n 0123456789 >"conftest.in"
3866  while :
3867  do
3868    cat "conftest.in" "conftest.in" >"conftest.tmp"
3869    mv "conftest.tmp" "conftest.in"
3870    cp "conftest.in" "conftest.nl"
3871    $as_echo 'GREP' >> "conftest.nl"
3872    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3873    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3874    as_fn_arith $ac_count + 1 && ac_count=$as_val
3875    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3876      # Best one so far, save it but keep looking for a better one
3877      ac_cv_path_GREP="$ac_path_GREP"
3878      ac_path_GREP_max=$ac_count
3879    fi
3880    # 10*(2^10) chars as input seems more than enough
3881    test $ac_count -gt 10 && break
3882  done
3883  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3884esac
3885
3886      $ac_path_GREP_found && break 3
3887    done
3888  done
3889  done
3890IFS=$as_save_IFS
3891  if test -z "$ac_cv_path_GREP"; then
3892    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3893  fi
3894else
3895  ac_cv_path_GREP=$GREP
3896fi
3897
3898fi
3899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3900$as_echo "$ac_cv_path_GREP" >&6; }
3901 GREP="$ac_cv_path_GREP"
3902
3903
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3905$as_echo_n "checking for egrep... " >&6; }
3906if ${ac_cv_path_EGREP+:} false; then :
3907  $as_echo_n "(cached) " >&6
3908else
3909  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3910   then ac_cv_path_EGREP="$GREP -E"
3911   else
3912     if test -z "$EGREP"; then
3913  ac_path_EGREP_found=false
3914  # Loop through the user's path and test for each of PROGNAME-LIST
3915  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3917do
3918  IFS=$as_save_IFS
3919  test -z "$as_dir" && as_dir=.
3920    for ac_prog in egrep; do
3921    for ac_exec_ext in '' $ac_executable_extensions; do
3922      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3923      as_fn_executable_p "$ac_path_EGREP" || continue
3924# Check for GNU ac_path_EGREP and select it if it is found.
3925  # Check for GNU $ac_path_EGREP
3926case `"$ac_path_EGREP" --version 2>&1` in
3927*GNU*)
3928  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3929*)
3930  ac_count=0
3931  $as_echo_n 0123456789 >"conftest.in"
3932  while :
3933  do
3934    cat "conftest.in" "conftest.in" >"conftest.tmp"
3935    mv "conftest.tmp" "conftest.in"
3936    cp "conftest.in" "conftest.nl"
3937    $as_echo 'EGREP' >> "conftest.nl"
3938    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3939    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3940    as_fn_arith $ac_count + 1 && ac_count=$as_val
3941    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3942      # Best one so far, save it but keep looking for a better one
3943      ac_cv_path_EGREP="$ac_path_EGREP"
3944      ac_path_EGREP_max=$ac_count
3945    fi
3946    # 10*(2^10) chars as input seems more than enough
3947    test $ac_count -gt 10 && break
3948  done
3949  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3950esac
3951
3952      $ac_path_EGREP_found && break 3
3953    done
3954  done
3955  done
3956IFS=$as_save_IFS
3957  if test -z "$ac_cv_path_EGREP"; then
3958    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3959  fi
3960else
3961  ac_cv_path_EGREP=$EGREP
3962fi
3963
3964   fi
3965fi
3966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3967$as_echo "$ac_cv_path_EGREP" >&6; }
3968 EGREP="$ac_cv_path_EGREP"
3969
3970
3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3972$as_echo_n "checking for fgrep... " >&6; }
3973if ${ac_cv_path_FGREP+:} false; then :
3974  $as_echo_n "(cached) " >&6
3975else
3976  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3977   then ac_cv_path_FGREP="$GREP -F"
3978   else
3979     if test -z "$FGREP"; then
3980  ac_path_FGREP_found=false
3981  # Loop through the user's path and test for each of PROGNAME-LIST
3982  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3984do
3985  IFS=$as_save_IFS
3986  test -z "$as_dir" && as_dir=.
3987    for ac_prog in fgrep; do
3988    for ac_exec_ext in '' $ac_executable_extensions; do
3989      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3990      as_fn_executable_p "$ac_path_FGREP" || continue
3991# Check for GNU ac_path_FGREP and select it if it is found.
3992  # Check for GNU $ac_path_FGREP
3993case `"$ac_path_FGREP" --version 2>&1` in
3994*GNU*)
3995  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3996*)
3997  ac_count=0
3998  $as_echo_n 0123456789 >"conftest.in"
3999  while :
4000  do
4001    cat "conftest.in" "conftest.in" >"conftest.tmp"
4002    mv "conftest.tmp" "conftest.in"
4003    cp "conftest.in" "conftest.nl"
4004    $as_echo 'FGREP' >> "conftest.nl"
4005    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4006    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4007    as_fn_arith $ac_count + 1 && ac_count=$as_val
4008    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4009      # Best one so far, save it but keep looking for a better one
4010      ac_cv_path_FGREP="$ac_path_FGREP"
4011      ac_path_FGREP_max=$ac_count
4012    fi
4013    # 10*(2^10) chars as input seems more than enough
4014    test $ac_count -gt 10 && break
4015  done
4016  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4017esac
4018
4019      $ac_path_FGREP_found && break 3
4020    done
4021  done
4022  done
4023IFS=$as_save_IFS
4024  if test -z "$ac_cv_path_FGREP"; then
4025    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4026  fi
4027else
4028  ac_cv_path_FGREP=$FGREP
4029fi
4030
4031   fi
4032fi
4033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4034$as_echo "$ac_cv_path_FGREP" >&6; }
4035 FGREP="$ac_cv_path_FGREP"
4036
4037
4038test -z "$GREP" && GREP=grep
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058# Check whether --with-gnu-ld was given.
4059if test "${with_gnu_ld+set}" = set; then :
4060  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4061else
4062  with_gnu_ld=no
4063fi
4064
4065ac_prog=ld
4066if test yes = "$GCC"; then
4067  # Check if gcc -print-prog-name=ld gives a path.
4068  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4069$as_echo_n "checking for ld used by $CC... " >&6; }
4070  case $host in
4071  *-*-mingw*)
4072    # gcc leaves a trailing carriage return, which upsets mingw
4073    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4074  *)
4075    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4076  esac
4077  case $ac_prog in
4078    # Accept absolute paths.
4079    [\\/]* | ?:[\\/]*)
4080      re_direlt='/[^/][^/]*/\.\./'
4081      # Canonicalize the pathname of ld
4082      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4083      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4084	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4085      done
4086      test -z "$LD" && LD=$ac_prog
4087      ;;
4088  "")
4089    # If it fails, then pretend we aren't using GCC.
4090    ac_prog=ld
4091    ;;
4092  *)
4093    # If it is relative, then search for the first ld in PATH.
4094    with_gnu_ld=unknown
4095    ;;
4096  esac
4097elif test yes = "$with_gnu_ld"; then
4098  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4099$as_echo_n "checking for GNU ld... " >&6; }
4100else
4101  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4102$as_echo_n "checking for non-GNU ld... " >&6; }
4103fi
4104if ${lt_cv_path_LD+:} false; then :
4105  $as_echo_n "(cached) " >&6
4106else
4107  if test -z "$LD"; then
4108  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4109  for ac_dir in $PATH; do
4110    IFS=$lt_save_ifs
4111    test -z "$ac_dir" && ac_dir=.
4112    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4113      lt_cv_path_LD=$ac_dir/$ac_prog
4114      # Check to see if the program is GNU ld.  I'd rather use --version,
4115      # but apparently some variants of GNU ld only accept -v.
4116      # Break only if it was the GNU/non-GNU ld that we prefer.
4117      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4118      *GNU* | *'with BFD'*)
4119	test no != "$with_gnu_ld" && break
4120	;;
4121      *)
4122	test yes != "$with_gnu_ld" && break
4123	;;
4124      esac
4125    fi
4126  done
4127  IFS=$lt_save_ifs
4128else
4129  lt_cv_path_LD=$LD # Let the user override the test with a path.
4130fi
4131fi
4132
4133LD=$lt_cv_path_LD
4134if test -n "$LD"; then
4135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4136$as_echo "$LD" >&6; }
4137else
4138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139$as_echo "no" >&6; }
4140fi
4141test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4143$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4144if ${lt_cv_prog_gnu_ld+:} false; then :
4145  $as_echo_n "(cached) " >&6
4146else
4147  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4148case `$LD -v 2>&1 </dev/null` in
4149*GNU* | *'with BFD'*)
4150  lt_cv_prog_gnu_ld=yes
4151  ;;
4152*)
4153  lt_cv_prog_gnu_ld=no
4154  ;;
4155esac
4156fi
4157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4158$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4159with_gnu_ld=$lt_cv_prog_gnu_ld
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4170$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4171if ${lt_cv_path_NM+:} false; then :
4172  $as_echo_n "(cached) " >&6
4173else
4174  if test -n "$NM"; then
4175  # Let the user override the test.
4176  lt_cv_path_NM=$NM
4177else
4178  lt_nm_to_check=${ac_tool_prefix}nm
4179  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4180    lt_nm_to_check="$lt_nm_to_check nm"
4181  fi
4182  for lt_tmp_nm in $lt_nm_to_check; do
4183    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4184    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4185      IFS=$lt_save_ifs
4186      test -z "$ac_dir" && ac_dir=.
4187      tmp_nm=$ac_dir/$lt_tmp_nm
4188      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4189	# Check to see if the nm accepts a BSD-compat flag.
4190	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4191	#   nm: unknown option "B" ignored
4192	# Tru64's nm complains that /dev/null is an invalid object file
4193	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4194	case $build_os in
4195	mingw*) lt_bad_file=conftest.nm/nofile ;;
4196	*) lt_bad_file=/dev/null ;;
4197	esac
4198	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4199	*$lt_bad_file* | *'Invalid file or object type'*)
4200	  lt_cv_path_NM="$tmp_nm -B"
4201	  break 2
4202	  ;;
4203	*)
4204	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4205	  */dev/null*)
4206	    lt_cv_path_NM="$tmp_nm -p"
4207	    break 2
4208	    ;;
4209	  *)
4210	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4211	    continue # so that we can try to find one that supports BSD flags
4212	    ;;
4213	  esac
4214	  ;;
4215	esac
4216      fi
4217    done
4218    IFS=$lt_save_ifs
4219  done
4220  : ${lt_cv_path_NM=no}
4221fi
4222fi
4223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4224$as_echo "$lt_cv_path_NM" >&6; }
4225if test no != "$lt_cv_path_NM"; then
4226  NM=$lt_cv_path_NM
4227else
4228  # Didn't find any BSD compatible name lister, look for dumpbin.
4229  if test -n "$DUMPBIN"; then :
4230    # Let the user override the test.
4231  else
4232    if test -n "$ac_tool_prefix"; then
4233  for ac_prog in dumpbin "link -dump"
4234  do
4235    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4236set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238$as_echo_n "checking for $ac_word... " >&6; }
4239if ${ac_cv_prog_DUMPBIN+:} false; then :
4240  $as_echo_n "(cached) " >&6
4241else
4242  if test -n "$DUMPBIN"; then
4243  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4244else
4245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246for as_dir in $PATH
4247do
4248  IFS=$as_save_IFS
4249  test -z "$as_dir" && as_dir=.
4250    for ac_exec_ext in '' $ac_executable_extensions; do
4251  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254    break 2
4255  fi
4256done
4257  done
4258IFS=$as_save_IFS
4259
4260fi
4261fi
4262DUMPBIN=$ac_cv_prog_DUMPBIN
4263if test -n "$DUMPBIN"; then
4264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4265$as_echo "$DUMPBIN" >&6; }
4266else
4267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268$as_echo "no" >&6; }
4269fi
4270
4271
4272    test -n "$DUMPBIN" && break
4273  done
4274fi
4275if test -z "$DUMPBIN"; then
4276  ac_ct_DUMPBIN=$DUMPBIN
4277  for ac_prog in dumpbin "link -dump"
4278do
4279  # Extract the first word of "$ac_prog", so it can be a program name with args.
4280set dummy $ac_prog; ac_word=$2
4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282$as_echo_n "checking for $ac_word... " >&6; }
4283if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4284  $as_echo_n "(cached) " >&6
4285else
4286  if test -n "$ac_ct_DUMPBIN"; then
4287  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4288else
4289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290for as_dir in $PATH
4291do
4292  IFS=$as_save_IFS
4293  test -z "$as_dir" && as_dir=.
4294    for ac_exec_ext in '' $ac_executable_extensions; do
4295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298    break 2
4299  fi
4300done
4301  done
4302IFS=$as_save_IFS
4303
4304fi
4305fi
4306ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4307if test -n "$ac_ct_DUMPBIN"; then
4308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4309$as_echo "$ac_ct_DUMPBIN" >&6; }
4310else
4311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312$as_echo "no" >&6; }
4313fi
4314
4315
4316  test -n "$ac_ct_DUMPBIN" && break
4317done
4318
4319  if test "x$ac_ct_DUMPBIN" = x; then
4320    DUMPBIN=":"
4321  else
4322    case $cross_compiling:$ac_tool_warned in
4323yes:)
4324{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4326ac_tool_warned=yes ;;
4327esac
4328    DUMPBIN=$ac_ct_DUMPBIN
4329  fi
4330fi
4331
4332    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4333    *COFF*)
4334      DUMPBIN="$DUMPBIN -symbols -headers"
4335      ;;
4336    *)
4337      DUMPBIN=:
4338      ;;
4339    esac
4340  fi
4341
4342  if test : != "$DUMPBIN"; then
4343    NM=$DUMPBIN
4344  fi
4345fi
4346test -z "$NM" && NM=nm
4347
4348
4349
4350
4351
4352
4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4354$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4355if ${lt_cv_nm_interface+:} false; then :
4356  $as_echo_n "(cached) " >&6
4357else
4358  lt_cv_nm_interface="BSD nm"
4359  echo "int some_variable = 0;" > conftest.$ac_ext
4360  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4361  (eval "$ac_compile" 2>conftest.err)
4362  cat conftest.err >&5
4363  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4364  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4365  cat conftest.err >&5
4366  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4367  cat conftest.out >&5
4368  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4369    lt_cv_nm_interface="MS dumpbin"
4370  fi
4371  rm -f conftest*
4372fi
4373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4374$as_echo "$lt_cv_nm_interface" >&6; }
4375
4376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4377$as_echo_n "checking whether ln -s works... " >&6; }
4378LN_S=$as_ln_s
4379if test "$LN_S" = "ln -s"; then
4380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4381$as_echo "yes" >&6; }
4382else
4383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4384$as_echo "no, using $LN_S" >&6; }
4385fi
4386
4387# find the maximum length of command line arguments
4388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4389$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4390if ${lt_cv_sys_max_cmd_len+:} false; then :
4391  $as_echo_n "(cached) " >&6
4392else
4393    i=0
4394  teststring=ABCD
4395
4396  case $build_os in
4397  msdosdjgpp*)
4398    # On DJGPP, this test can blow up pretty badly due to problems in libc
4399    # (any single argument exceeding 2000 bytes causes a buffer overrun
4400    # during glob expansion).  Even if it were fixed, the result of this
4401    # check would be larger than it should be.
4402    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4403    ;;
4404
4405  gnu*)
4406    # Under GNU Hurd, this test is not required because there is
4407    # no limit to the length of command line arguments.
4408    # Libtool will interpret -1 as no limit whatsoever
4409    lt_cv_sys_max_cmd_len=-1;
4410    ;;
4411
4412  cygwin* | mingw* | cegcc*)
4413    # On Win9x/ME, this test blows up -- it succeeds, but takes
4414    # about 5 minutes as the teststring grows exponentially.
4415    # Worse, since 9x/ME are not pre-emptively multitasking,
4416    # you end up with a "frozen" computer, even though with patience
4417    # the test eventually succeeds (with a max line length of 256k).
4418    # Instead, let's just punt: use the minimum linelength reported by
4419    # all of the supported platforms: 8192 (on NT/2K/XP).
4420    lt_cv_sys_max_cmd_len=8192;
4421    ;;
4422
4423  mint*)
4424    # On MiNT this can take a long time and run out of memory.
4425    lt_cv_sys_max_cmd_len=8192;
4426    ;;
4427
4428  amigaos*)
4429    # On AmigaOS with pdksh, this test takes hours, literally.
4430    # So we just punt and use a minimum line length of 8192.
4431    lt_cv_sys_max_cmd_len=8192;
4432    ;;
4433
4434  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4435    # This has been around since 386BSD, at least.  Likely further.
4436    if test -x /sbin/sysctl; then
4437      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4438    elif test -x /usr/sbin/sysctl; then
4439      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4440    else
4441      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4442    fi
4443    # And add a safety zone
4444    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4445    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4446    ;;
4447
4448  interix*)
4449    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4450    lt_cv_sys_max_cmd_len=196608
4451    ;;
4452
4453  os2*)
4454    # The test takes a long time on OS/2.
4455    lt_cv_sys_max_cmd_len=8192
4456    ;;
4457
4458  osf*)
4459    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4460    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4461    # nice to cause kernel panics so lets avoid the loop below.
4462    # First set a reasonable default.
4463    lt_cv_sys_max_cmd_len=16384
4464    #
4465    if test -x /sbin/sysconfig; then
4466      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4467        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4468      esac
4469    fi
4470    ;;
4471  sco3.2v5*)
4472    lt_cv_sys_max_cmd_len=102400
4473    ;;
4474  sysv5* | sco5v6* | sysv4.2uw2*)
4475    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4476    if test -n "$kargmax"; then
4477      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4478    else
4479      lt_cv_sys_max_cmd_len=32768
4480    fi
4481    ;;
4482  *)
4483    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4484    if test -n "$lt_cv_sys_max_cmd_len" && \
4485       test undefined != "$lt_cv_sys_max_cmd_len"; then
4486      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4487      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4488    else
4489      # Make teststring a little bigger before we do anything with it.
4490      # a 1K string should be a reasonable start.
4491      for i in 1 2 3 4 5 6 7 8; do
4492        teststring=$teststring$teststring
4493      done
4494      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4495      # If test is not a shell built-in, we'll probably end up computing a
4496      # maximum length that is only half of the actual maximum length, but
4497      # we can't tell.
4498      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4499	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4500	      test 17 != "$i" # 1/2 MB should be enough
4501      do
4502        i=`expr $i + 1`
4503        teststring=$teststring$teststring
4504      done
4505      # Only check the string length outside the loop.
4506      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4507      teststring=
4508      # Add a significant safety factor because C++ compilers can tack on
4509      # massive amounts of additional arguments before passing them to the
4510      # linker.  It appears as though 1/2 is a usable value.
4511      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4512    fi
4513    ;;
4514  esac
4515
4516fi
4517
4518if test -n "$lt_cv_sys_max_cmd_len"; then
4519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4520$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4521else
4522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4523$as_echo "none" >&6; }
4524fi
4525max_cmd_len=$lt_cv_sys_max_cmd_len
4526
4527
4528
4529
4530
4531
4532: ${CP="cp -f"}
4533: ${MV="mv -f"}
4534: ${RM="rm -f"}
4535
4536if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4537  lt_unset=unset
4538else
4539  lt_unset=false
4540fi
4541
4542
4543
4544
4545
4546# test EBCDIC or ASCII
4547case `echo X|tr X '\101'` in
4548 A) # ASCII based system
4549    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4550  lt_SP2NL='tr \040 \012'
4551  lt_NL2SP='tr \015\012 \040\040'
4552  ;;
4553 *) # EBCDIC based system
4554  lt_SP2NL='tr \100 \n'
4555  lt_NL2SP='tr \r\n \100\100'
4556  ;;
4557esac
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4568$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4569if ${lt_cv_to_host_file_cmd+:} false; then :
4570  $as_echo_n "(cached) " >&6
4571else
4572  case $host in
4573  *-*-mingw* )
4574    case $build in
4575      *-*-mingw* ) # actually msys
4576        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4577        ;;
4578      *-*-cygwin* )
4579        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4580        ;;
4581      * ) # otherwise, assume *nix
4582        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4583        ;;
4584    esac
4585    ;;
4586  *-*-cygwin* )
4587    case $build in
4588      *-*-mingw* ) # actually msys
4589        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4590        ;;
4591      *-*-cygwin* )
4592        lt_cv_to_host_file_cmd=func_convert_file_noop
4593        ;;
4594      * ) # otherwise, assume *nix
4595        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4596        ;;
4597    esac
4598    ;;
4599  * ) # unhandled hosts (and "normal" native builds)
4600    lt_cv_to_host_file_cmd=func_convert_file_noop
4601    ;;
4602esac
4603
4604fi
4605
4606to_host_file_cmd=$lt_cv_to_host_file_cmd
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4608$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4609
4610
4611
4612
4613
4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4615$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4616if ${lt_cv_to_tool_file_cmd+:} false; then :
4617  $as_echo_n "(cached) " >&6
4618else
4619  #assume ordinary cross tools, or native build.
4620lt_cv_to_tool_file_cmd=func_convert_file_noop
4621case $host in
4622  *-*-mingw* )
4623    case $build in
4624      *-*-mingw* ) # actually msys
4625        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4626        ;;
4627    esac
4628    ;;
4629esac
4630
4631fi
4632
4633to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4635$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4636
4637
4638
4639
4640
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4642$as_echo_n "checking for $LD option to reload object files... " >&6; }
4643if ${lt_cv_ld_reload_flag+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  lt_cv_ld_reload_flag='-r'
4647fi
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4649$as_echo "$lt_cv_ld_reload_flag" >&6; }
4650reload_flag=$lt_cv_ld_reload_flag
4651case $reload_flag in
4652"" | " "*) ;;
4653*) reload_flag=" $reload_flag" ;;
4654esac
4655reload_cmds='$LD$reload_flag -o $output$reload_objs'
4656case $host_os in
4657  cygwin* | mingw* | pw32* | cegcc*)
4658    if test yes != "$GCC"; then
4659      reload_cmds=false
4660    fi
4661    ;;
4662  darwin*)
4663    if test yes = "$GCC"; then
4664      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4665    else
4666      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4667    fi
4668    ;;
4669esac
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679if test -n "$ac_tool_prefix"; then
4680  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4681set dummy ${ac_tool_prefix}objdump; ac_word=$2
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683$as_echo_n "checking for $ac_word... " >&6; }
4684if ${ac_cv_prog_OBJDUMP+:} false; then :
4685  $as_echo_n "(cached) " >&6
4686else
4687  if test -n "$OBJDUMP"; then
4688  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4689else
4690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691for as_dir in $PATH
4692do
4693  IFS=$as_save_IFS
4694  test -z "$as_dir" && as_dir=.
4695    for ac_exec_ext in '' $ac_executable_extensions; do
4696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699    break 2
4700  fi
4701done
4702  done
4703IFS=$as_save_IFS
4704
4705fi
4706fi
4707OBJDUMP=$ac_cv_prog_OBJDUMP
4708if test -n "$OBJDUMP"; then
4709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4710$as_echo "$OBJDUMP" >&6; }
4711else
4712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713$as_echo "no" >&6; }
4714fi
4715
4716
4717fi
4718if test -z "$ac_cv_prog_OBJDUMP"; then
4719  ac_ct_OBJDUMP=$OBJDUMP
4720  # Extract the first word of "objdump", so it can be a program name with args.
4721set dummy objdump; ac_word=$2
4722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723$as_echo_n "checking for $ac_word... " >&6; }
4724if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4725  $as_echo_n "(cached) " >&6
4726else
4727  if test -n "$ac_ct_OBJDUMP"; then
4728  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4729else
4730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731for as_dir in $PATH
4732do
4733  IFS=$as_save_IFS
4734  test -z "$as_dir" && as_dir=.
4735    for ac_exec_ext in '' $ac_executable_extensions; do
4736  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4737    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4738    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739    break 2
4740  fi
4741done
4742  done
4743IFS=$as_save_IFS
4744
4745fi
4746fi
4747ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4748if test -n "$ac_ct_OBJDUMP"; then
4749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4750$as_echo "$ac_ct_OBJDUMP" >&6; }
4751else
4752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753$as_echo "no" >&6; }
4754fi
4755
4756  if test "x$ac_ct_OBJDUMP" = x; then
4757    OBJDUMP="false"
4758  else
4759    case $cross_compiling:$ac_tool_warned in
4760yes:)
4761{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4762$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4763ac_tool_warned=yes ;;
4764esac
4765    OBJDUMP=$ac_ct_OBJDUMP
4766  fi
4767else
4768  OBJDUMP="$ac_cv_prog_OBJDUMP"
4769fi
4770
4771test -z "$OBJDUMP" && OBJDUMP=objdump
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4782$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4783if ${lt_cv_deplibs_check_method+:} false; then :
4784  $as_echo_n "(cached) " >&6
4785else
4786  lt_cv_file_magic_cmd='$MAGIC_CMD'
4787lt_cv_file_magic_test_file=
4788lt_cv_deplibs_check_method='unknown'
4789# Need to set the preceding variable on all platforms that support
4790# interlibrary dependencies.
4791# 'none' -- dependencies not supported.
4792# 'unknown' -- same as none, but documents that we really don't know.
4793# 'pass_all' -- all dependencies passed with no checks.
4794# 'test_compile' -- check by making test program.
4795# 'file_magic [[regex]]' -- check by looking for files in library path
4796# that responds to the $file_magic_cmd with a given extended regex.
4797# If you have 'file' or equivalent on your system and you're not sure
4798# whether 'pass_all' will *always* work, you probably want this one.
4799
4800case $host_os in
4801aix[4-9]*)
4802  lt_cv_deplibs_check_method=pass_all
4803  ;;
4804
4805beos*)
4806  lt_cv_deplibs_check_method=pass_all
4807  ;;
4808
4809bsdi[45]*)
4810  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4811  lt_cv_file_magic_cmd='/usr/bin/file -L'
4812  lt_cv_file_magic_test_file=/shlib/libc.so
4813  ;;
4814
4815cygwin*)
4816  # func_win32_libid is a shell function defined in ltmain.sh
4817  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4818  lt_cv_file_magic_cmd='func_win32_libid'
4819  ;;
4820
4821mingw* | pw32*)
4822  # Base MSYS/MinGW do not provide the 'file' command needed by
4823  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4824  # unless we find 'file', for example because we are cross-compiling.
4825  if ( file / ) >/dev/null 2>&1; then
4826    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4827    lt_cv_file_magic_cmd='func_win32_libid'
4828  else
4829    # Keep this pattern in sync with the one in func_win32_libid.
4830    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4831    lt_cv_file_magic_cmd='$OBJDUMP -f'
4832  fi
4833  ;;
4834
4835cegcc*)
4836  # use the weaker test based on 'objdump'. See mingw*.
4837  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4838  lt_cv_file_magic_cmd='$OBJDUMP -f'
4839  ;;
4840
4841darwin* | rhapsody*)
4842  lt_cv_deplibs_check_method=pass_all
4843  ;;
4844
4845freebsd* | dragonfly*)
4846  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4847    case $host_cpu in
4848    i*86 )
4849      # Not sure whether the presence of OpenBSD here was a mistake.
4850      # Let's accept both of them until this is cleared up.
4851      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4852      lt_cv_file_magic_cmd=/usr/bin/file
4853      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4854      ;;
4855    esac
4856  else
4857    lt_cv_deplibs_check_method=pass_all
4858  fi
4859  ;;
4860
4861haiku*)
4862  lt_cv_deplibs_check_method=pass_all
4863  ;;
4864
4865hpux10.20* | hpux11*)
4866  lt_cv_file_magic_cmd=/usr/bin/file
4867  case $host_cpu in
4868  ia64*)
4869    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4870    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4871    ;;
4872  hppa*64*)
4873    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]'
4874    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4875    ;;
4876  *)
4877    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4878    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4879    ;;
4880  esac
4881  ;;
4882
4883interix[3-9]*)
4884  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4885  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4886  ;;
4887
4888irix5* | irix6* | nonstopux*)
4889  case $LD in
4890  *-32|*"-32 ") libmagic=32-bit;;
4891  *-n32|*"-n32 ") libmagic=N32;;
4892  *-64|*"-64 ") libmagic=64-bit;;
4893  *) libmagic=never-match;;
4894  esac
4895  lt_cv_deplibs_check_method=pass_all
4896  ;;
4897
4898# This must be glibc/ELF.
4899linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4900  lt_cv_deplibs_check_method=pass_all
4901  ;;
4902
4903netbsd*)
4904  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4905    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4906  else
4907    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4908  fi
4909  ;;
4910
4911newos6*)
4912  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4913  lt_cv_file_magic_cmd=/usr/bin/file
4914  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4915  ;;
4916
4917*nto* | *qnx*)
4918  lt_cv_deplibs_check_method=pass_all
4919  ;;
4920
4921openbsd* | bitrig*)
4922  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4923    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4924  else
4925    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4926  fi
4927  ;;
4928
4929osf3* | osf4* | osf5*)
4930  lt_cv_deplibs_check_method=pass_all
4931  ;;
4932
4933rdos*)
4934  lt_cv_deplibs_check_method=pass_all
4935  ;;
4936
4937solaris*)
4938  lt_cv_deplibs_check_method=pass_all
4939  ;;
4940
4941sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4942  lt_cv_deplibs_check_method=pass_all
4943  ;;
4944
4945sysv4 | sysv4.3*)
4946  case $host_vendor in
4947  motorola)
4948    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]'
4949    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4950    ;;
4951  ncr)
4952    lt_cv_deplibs_check_method=pass_all
4953    ;;
4954  sequent)
4955    lt_cv_file_magic_cmd='/bin/file'
4956    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4957    ;;
4958  sni)
4959    lt_cv_file_magic_cmd='/bin/file'
4960    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4961    lt_cv_file_magic_test_file=/lib/libc.so
4962    ;;
4963  siemens)
4964    lt_cv_deplibs_check_method=pass_all
4965    ;;
4966  pc)
4967    lt_cv_deplibs_check_method=pass_all
4968    ;;
4969  esac
4970  ;;
4971
4972tpf*)
4973  lt_cv_deplibs_check_method=pass_all
4974  ;;
4975os2*)
4976  lt_cv_deplibs_check_method=pass_all
4977  ;;
4978esac
4979
4980fi
4981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4982$as_echo "$lt_cv_deplibs_check_method" >&6; }
4983
4984file_magic_glob=
4985want_nocaseglob=no
4986if test "$build" = "$host"; then
4987  case $host_os in
4988  mingw* | pw32*)
4989    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4990      want_nocaseglob=yes
4991    else
4992      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4993    fi
4994    ;;
4995  esac
4996fi
4997
4998file_magic_cmd=$lt_cv_file_magic_cmd
4999deplibs_check_method=$lt_cv_deplibs_check_method
5000test -z "$deplibs_check_method" && deplibs_check_method=unknown
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023if test -n "$ac_tool_prefix"; then
5024  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5025set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027$as_echo_n "checking for $ac_word... " >&6; }
5028if ${ac_cv_prog_DLLTOOL+:} false; then :
5029  $as_echo_n "(cached) " >&6
5030else
5031  if test -n "$DLLTOOL"; then
5032  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5033else
5034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035for as_dir in $PATH
5036do
5037  IFS=$as_save_IFS
5038  test -z "$as_dir" && as_dir=.
5039    for ac_exec_ext in '' $ac_executable_extensions; do
5040  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5041    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043    break 2
5044  fi
5045done
5046  done
5047IFS=$as_save_IFS
5048
5049fi
5050fi
5051DLLTOOL=$ac_cv_prog_DLLTOOL
5052if test -n "$DLLTOOL"; then
5053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5054$as_echo "$DLLTOOL" >&6; }
5055else
5056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057$as_echo "no" >&6; }
5058fi
5059
5060
5061fi
5062if test -z "$ac_cv_prog_DLLTOOL"; then
5063  ac_ct_DLLTOOL=$DLLTOOL
5064  # Extract the first word of "dlltool", so it can be a program name with args.
5065set dummy dlltool; ac_word=$2
5066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067$as_echo_n "checking for $ac_word... " >&6; }
5068if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5069  $as_echo_n "(cached) " >&6
5070else
5071  if test -n "$ac_ct_DLLTOOL"; then
5072  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5073else
5074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075for as_dir in $PATH
5076do
5077  IFS=$as_save_IFS
5078  test -z "$as_dir" && as_dir=.
5079    for ac_exec_ext in '' $ac_executable_extensions; do
5080  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5081    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083    break 2
5084  fi
5085done
5086  done
5087IFS=$as_save_IFS
5088
5089fi
5090fi
5091ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5092if test -n "$ac_ct_DLLTOOL"; then
5093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5094$as_echo "$ac_ct_DLLTOOL" >&6; }
5095else
5096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097$as_echo "no" >&6; }
5098fi
5099
5100  if test "x$ac_ct_DLLTOOL" = x; then
5101    DLLTOOL="false"
5102  else
5103    case $cross_compiling:$ac_tool_warned in
5104yes:)
5105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107ac_tool_warned=yes ;;
5108esac
5109    DLLTOOL=$ac_ct_DLLTOOL
5110  fi
5111else
5112  DLLTOOL="$ac_cv_prog_DLLTOOL"
5113fi
5114
5115test -z "$DLLTOOL" && DLLTOOL=dlltool
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5127$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5128if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5129  $as_echo_n "(cached) " >&6
5130else
5131  lt_cv_sharedlib_from_linklib_cmd='unknown'
5132
5133case $host_os in
5134cygwin* | mingw* | pw32* | cegcc*)
5135  # two different shell functions defined in ltmain.sh;
5136  # decide which one to use based on capabilities of $DLLTOOL
5137  case `$DLLTOOL --help 2>&1` in
5138  *--identify-strict*)
5139    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5140    ;;
5141  *)
5142    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5143    ;;
5144  esac
5145  ;;
5146*)
5147  # fallback: assume linklib IS sharedlib
5148  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5149  ;;
5150esac
5151
5152fi
5153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5154$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5155sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5156test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5157
5158
5159
5160
5161
5162
5163
5164
5165if test -n "$ac_tool_prefix"; then
5166  for ac_prog in ar
5167  do
5168    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5169set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171$as_echo_n "checking for $ac_word... " >&6; }
5172if ${ac_cv_prog_AR+:} false; then :
5173  $as_echo_n "(cached) " >&6
5174else
5175  if test -n "$AR"; then
5176  ac_cv_prog_AR="$AR" # Let the user override the test.
5177else
5178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179for as_dir in $PATH
5180do
5181  IFS=$as_save_IFS
5182  test -z "$as_dir" && as_dir=.
5183    for ac_exec_ext in '' $ac_executable_extensions; do
5184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187    break 2
5188  fi
5189done
5190  done
5191IFS=$as_save_IFS
5192
5193fi
5194fi
5195AR=$ac_cv_prog_AR
5196if test -n "$AR"; then
5197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5198$as_echo "$AR" >&6; }
5199else
5200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201$as_echo "no" >&6; }
5202fi
5203
5204
5205    test -n "$AR" && break
5206  done
5207fi
5208if test -z "$AR"; then
5209  ac_ct_AR=$AR
5210  for ac_prog in ar
5211do
5212  # Extract the first word of "$ac_prog", so it can be a program name with args.
5213set dummy $ac_prog; ac_word=$2
5214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215$as_echo_n "checking for $ac_word... " >&6; }
5216if ${ac_cv_prog_ac_ct_AR+:} false; then :
5217  $as_echo_n "(cached) " >&6
5218else
5219  if test -n "$ac_ct_AR"; then
5220  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5221else
5222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223for as_dir in $PATH
5224do
5225  IFS=$as_save_IFS
5226  test -z "$as_dir" && as_dir=.
5227    for ac_exec_ext in '' $ac_executable_extensions; do
5228  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229    ac_cv_prog_ac_ct_AR="$ac_prog"
5230    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231    break 2
5232  fi
5233done
5234  done
5235IFS=$as_save_IFS
5236
5237fi
5238fi
5239ac_ct_AR=$ac_cv_prog_ac_ct_AR
5240if test -n "$ac_ct_AR"; then
5241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5242$as_echo "$ac_ct_AR" >&6; }
5243else
5244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245$as_echo "no" >&6; }
5246fi
5247
5248
5249  test -n "$ac_ct_AR" && break
5250done
5251
5252  if test "x$ac_ct_AR" = x; then
5253    AR="false"
5254  else
5255    case $cross_compiling:$ac_tool_warned in
5256yes:)
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259ac_tool_warned=yes ;;
5260esac
5261    AR=$ac_ct_AR
5262  fi
5263fi
5264
5265: ${AR=ar}
5266: ${AR_FLAGS=cru}
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5279$as_echo_n "checking for archiver @FILE support... " >&6; }
5280if ${lt_cv_ar_at_file+:} false; then :
5281  $as_echo_n "(cached) " >&6
5282else
5283  lt_cv_ar_at_file=no
5284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5285/* end confdefs.h.  */
5286
5287int
5288main ()
5289{
5290
5291  ;
5292  return 0;
5293}
5294_ACEOF
5295if ac_fn_c_try_compile "$LINENO"; then :
5296  echo conftest.$ac_objext > conftest.lst
5297      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5298      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5299  (eval $lt_ar_try) 2>&5
5300  ac_status=$?
5301  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5302  test $ac_status = 0; }
5303      if test 0 -eq "$ac_status"; then
5304	# Ensure the archiver fails upon bogus file names.
5305	rm -f conftest.$ac_objext libconftest.a
5306	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5307  (eval $lt_ar_try) 2>&5
5308  ac_status=$?
5309  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5310  test $ac_status = 0; }
5311	if test 0 -ne "$ac_status"; then
5312          lt_cv_ar_at_file=@
5313        fi
5314      fi
5315      rm -f conftest.* libconftest.a
5316
5317fi
5318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5319
5320fi
5321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5322$as_echo "$lt_cv_ar_at_file" >&6; }
5323
5324if test no = "$lt_cv_ar_at_file"; then
5325  archiver_list_spec=
5326else
5327  archiver_list_spec=$lt_cv_ar_at_file
5328fi
5329
5330
5331
5332
5333
5334
5335
5336if test -n "$ac_tool_prefix"; then
5337  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5338set dummy ${ac_tool_prefix}strip; ac_word=$2
5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340$as_echo_n "checking for $ac_word... " >&6; }
5341if ${ac_cv_prog_STRIP+:} false; then :
5342  $as_echo_n "(cached) " >&6
5343else
5344  if test -n "$STRIP"; then
5345  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5346else
5347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348for as_dir in $PATH
5349do
5350  IFS=$as_save_IFS
5351  test -z "$as_dir" && as_dir=.
5352    for ac_exec_ext in '' $ac_executable_extensions; do
5353  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5354    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5355    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356    break 2
5357  fi
5358done
5359  done
5360IFS=$as_save_IFS
5361
5362fi
5363fi
5364STRIP=$ac_cv_prog_STRIP
5365if test -n "$STRIP"; then
5366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5367$as_echo "$STRIP" >&6; }
5368else
5369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370$as_echo "no" >&6; }
5371fi
5372
5373
5374fi
5375if test -z "$ac_cv_prog_STRIP"; then
5376  ac_ct_STRIP=$STRIP
5377  # Extract the first word of "strip", so it can be a program name with args.
5378set dummy strip; ac_word=$2
5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380$as_echo_n "checking for $ac_word... " >&6; }
5381if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5382  $as_echo_n "(cached) " >&6
5383else
5384  if test -n "$ac_ct_STRIP"; then
5385  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5386else
5387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388for as_dir in $PATH
5389do
5390  IFS=$as_save_IFS
5391  test -z "$as_dir" && as_dir=.
5392    for ac_exec_ext in '' $ac_executable_extensions; do
5393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394    ac_cv_prog_ac_ct_STRIP="strip"
5395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396    break 2
5397  fi
5398done
5399  done
5400IFS=$as_save_IFS
5401
5402fi
5403fi
5404ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5405if test -n "$ac_ct_STRIP"; then
5406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5407$as_echo "$ac_ct_STRIP" >&6; }
5408else
5409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410$as_echo "no" >&6; }
5411fi
5412
5413  if test "x$ac_ct_STRIP" = x; then
5414    STRIP=":"
5415  else
5416    case $cross_compiling:$ac_tool_warned in
5417yes:)
5418{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420ac_tool_warned=yes ;;
5421esac
5422    STRIP=$ac_ct_STRIP
5423  fi
5424else
5425  STRIP="$ac_cv_prog_STRIP"
5426fi
5427
5428test -z "$STRIP" && STRIP=:
5429
5430
5431
5432
5433
5434
5435if test -n "$ac_tool_prefix"; then
5436  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5437set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439$as_echo_n "checking for $ac_word... " >&6; }
5440if ${ac_cv_prog_RANLIB+:} false; then :
5441  $as_echo_n "(cached) " >&6
5442else
5443  if test -n "$RANLIB"; then
5444  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5445else
5446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447for as_dir in $PATH
5448do
5449  IFS=$as_save_IFS
5450  test -z "$as_dir" && as_dir=.
5451    for ac_exec_ext in '' $ac_executable_extensions; do
5452  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455    break 2
5456  fi
5457done
5458  done
5459IFS=$as_save_IFS
5460
5461fi
5462fi
5463RANLIB=$ac_cv_prog_RANLIB
5464if test -n "$RANLIB"; then
5465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5466$as_echo "$RANLIB" >&6; }
5467else
5468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469$as_echo "no" >&6; }
5470fi
5471
5472
5473fi
5474if test -z "$ac_cv_prog_RANLIB"; then
5475  ac_ct_RANLIB=$RANLIB
5476  # Extract the first word of "ranlib", so it can be a program name with args.
5477set dummy ranlib; ac_word=$2
5478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479$as_echo_n "checking for $ac_word... " >&6; }
5480if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5481  $as_echo_n "(cached) " >&6
5482else
5483  if test -n "$ac_ct_RANLIB"; then
5484  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5485else
5486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487for as_dir in $PATH
5488do
5489  IFS=$as_save_IFS
5490  test -z "$as_dir" && as_dir=.
5491    for ac_exec_ext in '' $ac_executable_extensions; do
5492  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493    ac_cv_prog_ac_ct_RANLIB="ranlib"
5494    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495    break 2
5496  fi
5497done
5498  done
5499IFS=$as_save_IFS
5500
5501fi
5502fi
5503ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5504if test -n "$ac_ct_RANLIB"; then
5505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5506$as_echo "$ac_ct_RANLIB" >&6; }
5507else
5508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509$as_echo "no" >&6; }
5510fi
5511
5512  if test "x$ac_ct_RANLIB" = x; then
5513    RANLIB=":"
5514  else
5515    case $cross_compiling:$ac_tool_warned in
5516yes:)
5517{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5518$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5519ac_tool_warned=yes ;;
5520esac
5521    RANLIB=$ac_ct_RANLIB
5522  fi
5523else
5524  RANLIB="$ac_cv_prog_RANLIB"
5525fi
5526
5527test -z "$RANLIB" && RANLIB=:
5528
5529
5530
5531
5532
5533
5534# Determine commands to create old-style static archives.
5535old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5536old_postinstall_cmds='chmod 644 $oldlib'
5537old_postuninstall_cmds=
5538
5539if test -n "$RANLIB"; then
5540  case $host_os in
5541  bitrig* | openbsd*)
5542    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5543    ;;
5544  *)
5545    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5546    ;;
5547  esac
5548  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5549fi
5550
5551case $host_os in
5552  darwin*)
5553    lock_old_archive_extraction=yes ;;
5554  *)
5555    lock_old_archive_extraction=no ;;
5556esac
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578for ac_prog in gawk mawk nawk awk
5579do
5580  # Extract the first word of "$ac_prog", so it can be a program name with args.
5581set dummy $ac_prog; ac_word=$2
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583$as_echo_n "checking for $ac_word... " >&6; }
5584if ${ac_cv_prog_AWK+:} false; then :
5585  $as_echo_n "(cached) " >&6
5586else
5587  if test -n "$AWK"; then
5588  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5589else
5590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591for as_dir in $PATH
5592do
5593  IFS=$as_save_IFS
5594  test -z "$as_dir" && as_dir=.
5595    for ac_exec_ext in '' $ac_executable_extensions; do
5596  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597    ac_cv_prog_AWK="$ac_prog"
5598    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599    break 2
5600  fi
5601done
5602  done
5603IFS=$as_save_IFS
5604
5605fi
5606fi
5607AWK=$ac_cv_prog_AWK
5608if test -n "$AWK"; then
5609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5610$as_echo "$AWK" >&6; }
5611else
5612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613$as_echo "no" >&6; }
5614fi
5615
5616
5617  test -n "$AWK" && break
5618done
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638# If no C compiler was specified, use CC.
5639LTCC=${LTCC-"$CC"}
5640
5641# If no C compiler flags were specified, use CFLAGS.
5642LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5643
5644# Allow CC to be a program name with arguments.
5645compiler=$CC
5646
5647
5648# Check for command to grab the raw symbol name followed by C symbol from nm.
5649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5650$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5651if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5652  $as_echo_n "(cached) " >&6
5653else
5654
5655# These are sane defaults that work on at least a few old systems.
5656# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5657
5658# Character class describing NM global symbol codes.
5659symcode='[BCDEGRST]'
5660
5661# Regexp to match symbols that can be accessed directly from C.
5662sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5663
5664# Define system-specific variables.
5665case $host_os in
5666aix*)
5667  symcode='[BCDT]'
5668  ;;
5669cygwin* | mingw* | pw32* | cegcc*)
5670  symcode='[ABCDGISTW]'
5671  ;;
5672hpux*)
5673  if test ia64 = "$host_cpu"; then
5674    symcode='[ABCDEGRST]'
5675  fi
5676  ;;
5677irix* | nonstopux*)
5678  symcode='[BCDEGRST]'
5679  ;;
5680osf*)
5681  symcode='[BCDEGQRST]'
5682  ;;
5683solaris*)
5684  symcode='[BDRT]'
5685  ;;
5686sco3.2v5*)
5687  symcode='[DT]'
5688  ;;
5689sysv4.2uw2*)
5690  symcode='[DT]'
5691  ;;
5692sysv5* | sco5v6* | unixware* | OpenUNIX*)
5693  symcode='[ABDT]'
5694  ;;
5695sysv4)
5696  symcode='[DFNSTU]'
5697  ;;
5698esac
5699
5700# If we're using GNU nm, then use its standard symbol codes.
5701case `$NM -V 2>&1` in
5702*GNU* | *'with BFD'*)
5703  symcode='[ABCDGIRSTW]' ;;
5704esac
5705
5706if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5707  # Gets list of data symbols to import.
5708  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5709  # Adjust the below global symbol transforms to fixup imported variables.
5710  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5711  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
5712  lt_c_name_lib_hook="\
5713  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
5714  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
5715else
5716  # Disable hooks by default.
5717  lt_cv_sys_global_symbol_to_import=
5718  lt_cdecl_hook=
5719  lt_c_name_hook=
5720  lt_c_name_lib_hook=
5721fi
5722
5723# Transform an extracted symbol line into a proper C declaration.
5724# Some systems (esp. on ia64) link data and code symbols differently,
5725# so use this general approach.
5726lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5727$lt_cdecl_hook\
5728" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5729" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5730
5731# Transform an extracted symbol line into symbol name and symbol address
5732lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5733$lt_c_name_hook\
5734" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
5735" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
5736
5737# Transform an extracted symbol line into symbol name with lib prefix and
5738# symbol address.
5739lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5740$lt_c_name_lib_hook\
5741" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
5742" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
5743" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
5744
5745# Handle CRLF in mingw tool chain
5746opt_cr=
5747case $build_os in
5748mingw*)
5749  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5750  ;;
5751esac
5752
5753# Try without a prefix underscore, then with it.
5754for ac_symprfx in "" "_"; do
5755
5756  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5757  symxfrm="\\1 $ac_symprfx\\2 \\2"
5758
5759  # Write the raw and C identifiers.
5760  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5761    # Fake it for dumpbin and say T for any non-static function,
5762    # D for any global variable and I for any imported variable.
5763    # Also find C++ and __fastcall symbols from MSVC++,
5764    # which start with @ or ?.
5765    lt_cv_sys_global_symbol_pipe="$AWK '"\
5766"     {last_section=section; section=\$ 3};"\
5767"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5768"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5769"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5770"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5771"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5772"     \$ 0!~/External *\|/{next};"\
5773"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5774"     {if(hide[section]) next};"\
5775"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5776"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5777"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5778"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5779"     ' prfx=^$ac_symprfx"
5780  else
5781    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5782  fi
5783  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5784
5785  # Check to see that the pipe works correctly.
5786  pipe_works=no
5787
5788  rm -f conftest*
5789  cat > conftest.$ac_ext <<_LT_EOF
5790#ifdef __cplusplus
5791extern "C" {
5792#endif
5793char nm_test_var;
5794void nm_test_func(void);
5795void nm_test_func(void){}
5796#ifdef __cplusplus
5797}
5798#endif
5799int main(){nm_test_var='a';nm_test_func();return(0);}
5800_LT_EOF
5801
5802  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5803  (eval $ac_compile) 2>&5
5804  ac_status=$?
5805  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5806  test $ac_status = 0; }; then
5807    # Now try to grab the symbols.
5808    nlist=conftest.nm
5809    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5810  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5811  ac_status=$?
5812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5813  test $ac_status = 0; } && test -s "$nlist"; then
5814      # Try sorting and uniquifying the output.
5815      if sort "$nlist" | uniq > "$nlist"T; then
5816	mv -f "$nlist"T "$nlist"
5817      else
5818	rm -f "$nlist"T
5819      fi
5820
5821      # Make sure that we snagged all the symbols we need.
5822      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5823	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5824	  cat <<_LT_EOF > conftest.$ac_ext
5825/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5826#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5827/* DATA imports from DLLs on WIN32 can't be const, because runtime
5828   relocations are performed -- see ld's documentation on pseudo-relocs.  */
5829# define LT_DLSYM_CONST
5830#elif defined __osf__
5831/* This system does not cope well with relocations in const data.  */
5832# define LT_DLSYM_CONST
5833#else
5834# define LT_DLSYM_CONST const
5835#endif
5836
5837#ifdef __cplusplus
5838extern "C" {
5839#endif
5840
5841_LT_EOF
5842	  # Now generate the symbol file.
5843	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5844
5845	  cat <<_LT_EOF >> conftest.$ac_ext
5846
5847/* The mapping between symbol names and symbols.  */
5848LT_DLSYM_CONST struct {
5849  const char *name;
5850  void       *address;
5851}
5852lt__PROGRAM__LTX_preloaded_symbols[] =
5853{
5854  { "@PROGRAM@", (void *) 0 },
5855_LT_EOF
5856	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5857	  cat <<\_LT_EOF >> conftest.$ac_ext
5858  {0, (void *) 0}
5859};
5860
5861/* This works around a problem in FreeBSD linker */
5862#ifdef FREEBSD_WORKAROUND
5863static const void *lt_preloaded_setup() {
5864  return lt__PROGRAM__LTX_preloaded_symbols;
5865}
5866#endif
5867
5868#ifdef __cplusplus
5869}
5870#endif
5871_LT_EOF
5872	  # Now try linking the two files.
5873	  mv conftest.$ac_objext conftstm.$ac_objext
5874	  lt_globsym_save_LIBS=$LIBS
5875	  lt_globsym_save_CFLAGS=$CFLAGS
5876	  LIBS=conftstm.$ac_objext
5877	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5878	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5879  (eval $ac_link) 2>&5
5880  ac_status=$?
5881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5882  test $ac_status = 0; } && test -s conftest$ac_exeext; then
5883	    pipe_works=yes
5884	  fi
5885	  LIBS=$lt_globsym_save_LIBS
5886	  CFLAGS=$lt_globsym_save_CFLAGS
5887	else
5888	  echo "cannot find nm_test_func in $nlist" >&5
5889	fi
5890      else
5891	echo "cannot find nm_test_var in $nlist" >&5
5892      fi
5893    else
5894      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5895    fi
5896  else
5897    echo "$progname: failed program was:" >&5
5898    cat conftest.$ac_ext >&5
5899  fi
5900  rm -rf conftest* conftst*
5901
5902  # Do not use the global_symbol_pipe unless it works.
5903  if test yes = "$pipe_works"; then
5904    break
5905  else
5906    lt_cv_sys_global_symbol_pipe=
5907  fi
5908done
5909
5910fi
5911
5912if test -z "$lt_cv_sys_global_symbol_pipe"; then
5913  lt_cv_sys_global_symbol_to_cdecl=
5914fi
5915if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5917$as_echo "failed" >&6; }
5918else
5919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5920$as_echo "ok" >&6; }
5921fi
5922
5923# Response file support.
5924if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5925  nm_file_list_spec='@'
5926elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5927  nm_file_list_spec='@'
5928fi
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5967$as_echo_n "checking for sysroot... " >&6; }
5968
5969# Check whether --with-sysroot was given.
5970if test "${with_sysroot+set}" = set; then :
5971  withval=$with_sysroot;
5972else
5973  with_sysroot=no
5974fi
5975
5976
5977lt_sysroot=
5978case $with_sysroot in #(
5979 yes)
5980   if test yes = "$GCC"; then
5981     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5982   fi
5983   ;; #(
5984 /*)
5985   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5986   ;; #(
5987 no|'')
5988   ;; #(
5989 *)
5990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5991$as_echo "$with_sysroot" >&6; }
5992   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5993   ;;
5994esac
5995
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5997$as_echo "${lt_sysroot:-no}" >&6; }
5998
5999
6000
6001
6002
6003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6004$as_echo_n "checking for a working dd... " >&6; }
6005if ${ac_cv_path_lt_DD+:} false; then :
6006  $as_echo_n "(cached) " >&6
6007else
6008  printf 0123456789abcdef0123456789abcdef >conftest.i
6009cat conftest.i conftest.i >conftest2.i
6010: ${lt_DD:=$DD}
6011if test -z "$lt_DD"; then
6012  ac_path_lt_DD_found=false
6013  # Loop through the user's path and test for each of PROGNAME-LIST
6014  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015for as_dir in $PATH
6016do
6017  IFS=$as_save_IFS
6018  test -z "$as_dir" && as_dir=.
6019    for ac_prog in dd; do
6020    for ac_exec_ext in '' $ac_executable_extensions; do
6021      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6022      as_fn_executable_p "$ac_path_lt_DD" || continue
6023if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6024  cmp -s conftest.i conftest.out \
6025  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6026fi
6027      $ac_path_lt_DD_found && break 3
6028    done
6029  done
6030  done
6031IFS=$as_save_IFS
6032  if test -z "$ac_cv_path_lt_DD"; then
6033    :
6034  fi
6035else
6036  ac_cv_path_lt_DD=$lt_DD
6037fi
6038
6039rm -f conftest.i conftest2.i conftest.out
6040fi
6041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6042$as_echo "$ac_cv_path_lt_DD" >&6; }
6043
6044
6045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6046$as_echo_n "checking how to truncate binary pipes... " >&6; }
6047if ${lt_cv_truncate_bin+:} false; then :
6048  $as_echo_n "(cached) " >&6
6049else
6050  printf 0123456789abcdef0123456789abcdef >conftest.i
6051cat conftest.i conftest.i >conftest2.i
6052lt_cv_truncate_bin=
6053if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6054  cmp -s conftest.i conftest.out \
6055  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6056fi
6057rm -f conftest.i conftest2.i conftest.out
6058test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6059fi
6060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6061$as_echo "$lt_cv_truncate_bin" >&6; }
6062
6063
6064
6065
6066
6067
6068
6069# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6070func_cc_basename ()
6071{
6072    for cc_temp in $*""; do
6073      case $cc_temp in
6074        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6075        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6076        \-*) ;;
6077        *) break;;
6078      esac
6079    done
6080    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6081}
6082
6083# Check whether --enable-libtool-lock was given.
6084if test "${enable_libtool_lock+set}" = set; then :
6085  enableval=$enable_libtool_lock;
6086fi
6087
6088test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6089
6090# Some flags need to be propagated to the compiler or linker for good
6091# libtool support.
6092case $host in
6093ia64-*-hpux*)
6094  # Find out what ABI is being produced by ac_compile, and set mode
6095  # options accordingly.
6096  echo 'int i;' > conftest.$ac_ext
6097  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6098  (eval $ac_compile) 2>&5
6099  ac_status=$?
6100  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6101  test $ac_status = 0; }; then
6102    case `/usr/bin/file conftest.$ac_objext` in
6103      *ELF-32*)
6104	HPUX_IA64_MODE=32
6105	;;
6106      *ELF-64*)
6107	HPUX_IA64_MODE=64
6108	;;
6109    esac
6110  fi
6111  rm -rf conftest*
6112  ;;
6113*-*-irix6*)
6114  # Find out what ABI is being produced by ac_compile, and set linker
6115  # options accordingly.
6116  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6117  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6118  (eval $ac_compile) 2>&5
6119  ac_status=$?
6120  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121  test $ac_status = 0; }; then
6122    if test yes = "$lt_cv_prog_gnu_ld"; then
6123      case `/usr/bin/file conftest.$ac_objext` in
6124	*32-bit*)
6125	  LD="${LD-ld} -melf32bsmip"
6126	  ;;
6127	*N32*)
6128	  LD="${LD-ld} -melf32bmipn32"
6129	  ;;
6130	*64-bit*)
6131	  LD="${LD-ld} -melf64bmip"
6132	;;
6133      esac
6134    else
6135      case `/usr/bin/file conftest.$ac_objext` in
6136	*32-bit*)
6137	  LD="${LD-ld} -32"
6138	  ;;
6139	*N32*)
6140	  LD="${LD-ld} -n32"
6141	  ;;
6142	*64-bit*)
6143	  LD="${LD-ld} -64"
6144	  ;;
6145      esac
6146    fi
6147  fi
6148  rm -rf conftest*
6149  ;;
6150
6151mips64*-*linux*)
6152  # Find out what ABI is being produced by ac_compile, and set linker
6153  # options accordingly.
6154  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6155  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6156  (eval $ac_compile) 2>&5
6157  ac_status=$?
6158  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6159  test $ac_status = 0; }; then
6160    emul=elf
6161    case `/usr/bin/file conftest.$ac_objext` in
6162      *32-bit*)
6163	emul="${emul}32"
6164	;;
6165      *64-bit*)
6166	emul="${emul}64"
6167	;;
6168    esac
6169    case `/usr/bin/file conftest.$ac_objext` in
6170      *MSB*)
6171	emul="${emul}btsmip"
6172	;;
6173      *LSB*)
6174	emul="${emul}ltsmip"
6175	;;
6176    esac
6177    case `/usr/bin/file conftest.$ac_objext` in
6178      *N32*)
6179	emul="${emul}n32"
6180	;;
6181    esac
6182    LD="${LD-ld} -m $emul"
6183  fi
6184  rm -rf conftest*
6185  ;;
6186
6187x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6188s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6189  # Find out what ABI is being produced by ac_compile, and set linker
6190  # options accordingly.  Note that the listed cases only cover the
6191  # situations where additional linker options are needed (such as when
6192  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6193  # vice versa); the common cases where no linker options are needed do
6194  # not appear in the list.
6195  echo 'int i;' > conftest.$ac_ext
6196  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6197  (eval $ac_compile) 2>&5
6198  ac_status=$?
6199  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6200  test $ac_status = 0; }; then
6201    case `/usr/bin/file conftest.o` in
6202      *32-bit*)
6203	case $host in
6204	  x86_64-*kfreebsd*-gnu)
6205	    LD="${LD-ld} -m elf_i386_fbsd"
6206	    ;;
6207	  x86_64-*linux*)
6208	    case `/usr/bin/file conftest.o` in
6209	      *x86-64*)
6210		LD="${LD-ld} -m elf32_x86_64"
6211		;;
6212	      *)
6213		LD="${LD-ld} -m elf_i386"
6214		;;
6215	    esac
6216	    ;;
6217	  powerpc64le-*linux*)
6218	    LD="${LD-ld} -m elf32lppclinux"
6219	    ;;
6220	  powerpc64-*linux*)
6221	    LD="${LD-ld} -m elf32ppclinux"
6222	    ;;
6223	  s390x-*linux*)
6224	    LD="${LD-ld} -m elf_s390"
6225	    ;;
6226	  sparc64-*linux*)
6227	    LD="${LD-ld} -m elf32_sparc"
6228	    ;;
6229	esac
6230	;;
6231      *64-bit*)
6232	case $host in
6233	  x86_64-*kfreebsd*-gnu)
6234	    LD="${LD-ld} -m elf_x86_64_fbsd"
6235	    ;;
6236	  x86_64-*linux*)
6237	    LD="${LD-ld} -m elf_x86_64"
6238	    ;;
6239	  powerpcle-*linux*)
6240	    LD="${LD-ld} -m elf64lppc"
6241	    ;;
6242	  powerpc-*linux*)
6243	    LD="${LD-ld} -m elf64ppc"
6244	    ;;
6245	  s390*-*linux*|s390*-*tpf*)
6246	    LD="${LD-ld} -m elf64_s390"
6247	    ;;
6248	  sparc*-*linux*)
6249	    LD="${LD-ld} -m elf64_sparc"
6250	    ;;
6251	esac
6252	;;
6253    esac
6254  fi
6255  rm -rf conftest*
6256  ;;
6257
6258*-*-sco3.2v5*)
6259  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6260  SAVE_CFLAGS=$CFLAGS
6261  CFLAGS="$CFLAGS -belf"
6262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6263$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6264if ${lt_cv_cc_needs_belf+:} false; then :
6265  $as_echo_n "(cached) " >&6
6266else
6267  ac_ext=c
6268ac_cpp='$CPP $CPPFLAGS'
6269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6271ac_compiler_gnu=$ac_cv_c_compiler_gnu
6272
6273     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6274/* end confdefs.h.  */
6275
6276int
6277main ()
6278{
6279
6280  ;
6281  return 0;
6282}
6283_ACEOF
6284if ac_fn_c_try_link "$LINENO"; then :
6285  lt_cv_cc_needs_belf=yes
6286else
6287  lt_cv_cc_needs_belf=no
6288fi
6289rm -f core conftest.err conftest.$ac_objext \
6290    conftest$ac_exeext conftest.$ac_ext
6291     ac_ext=c
6292ac_cpp='$CPP $CPPFLAGS'
6293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6295ac_compiler_gnu=$ac_cv_c_compiler_gnu
6296
6297fi
6298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6299$as_echo "$lt_cv_cc_needs_belf" >&6; }
6300  if test yes != "$lt_cv_cc_needs_belf"; then
6301    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6302    CFLAGS=$SAVE_CFLAGS
6303  fi
6304  ;;
6305*-*solaris*)
6306  # Find out what ABI is being produced by ac_compile, and set linker
6307  # options accordingly.
6308  echo 'int i;' > conftest.$ac_ext
6309  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6310  (eval $ac_compile) 2>&5
6311  ac_status=$?
6312  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6313  test $ac_status = 0; }; then
6314    case `/usr/bin/file conftest.o` in
6315    *64-bit*)
6316      case $lt_cv_prog_gnu_ld in
6317      yes*)
6318        case $host in
6319        i?86-*-solaris*|x86_64-*-solaris*)
6320          LD="${LD-ld} -m elf_x86_64"
6321          ;;
6322        sparc*-*-solaris*)
6323          LD="${LD-ld} -m elf64_sparc"
6324          ;;
6325        esac
6326        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6327        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6328          LD=${LD-ld}_sol2
6329        fi
6330        ;;
6331      *)
6332	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6333	  LD="${LD-ld} -64"
6334	fi
6335	;;
6336      esac
6337      ;;
6338    esac
6339  fi
6340  rm -rf conftest*
6341  ;;
6342esac
6343
6344need_locks=$enable_libtool_lock
6345
6346if test -n "$ac_tool_prefix"; then
6347  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6348set dummy ${ac_tool_prefix}mt; ac_word=$2
6349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350$as_echo_n "checking for $ac_word... " >&6; }
6351if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6352  $as_echo_n "(cached) " >&6
6353else
6354  if test -n "$MANIFEST_TOOL"; then
6355  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6356else
6357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358for as_dir in $PATH
6359do
6360  IFS=$as_save_IFS
6361  test -z "$as_dir" && as_dir=.
6362    for ac_exec_ext in '' $ac_executable_extensions; do
6363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366    break 2
6367  fi
6368done
6369  done
6370IFS=$as_save_IFS
6371
6372fi
6373fi
6374MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6375if test -n "$MANIFEST_TOOL"; then
6376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6377$as_echo "$MANIFEST_TOOL" >&6; }
6378else
6379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380$as_echo "no" >&6; }
6381fi
6382
6383
6384fi
6385if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6386  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6387  # Extract the first word of "mt", so it can be a program name with args.
6388set dummy mt; ac_word=$2
6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390$as_echo_n "checking for $ac_word... " >&6; }
6391if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6392  $as_echo_n "(cached) " >&6
6393else
6394  if test -n "$ac_ct_MANIFEST_TOOL"; then
6395  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6396else
6397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398for as_dir in $PATH
6399do
6400  IFS=$as_save_IFS
6401  test -z "$as_dir" && as_dir=.
6402    for ac_exec_ext in '' $ac_executable_extensions; do
6403  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406    break 2
6407  fi
6408done
6409  done
6410IFS=$as_save_IFS
6411
6412fi
6413fi
6414ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6415if test -n "$ac_ct_MANIFEST_TOOL"; then
6416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6417$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6418else
6419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420$as_echo "no" >&6; }
6421fi
6422
6423  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6424    MANIFEST_TOOL=":"
6425  else
6426    case $cross_compiling:$ac_tool_warned in
6427yes:)
6428{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6429$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430ac_tool_warned=yes ;;
6431esac
6432    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6433  fi
6434else
6435  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6436fi
6437
6438test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6440$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6441if ${lt_cv_path_mainfest_tool+:} false; then :
6442  $as_echo_n "(cached) " >&6
6443else
6444  lt_cv_path_mainfest_tool=no
6445  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6446  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6447  cat conftest.err >&5
6448  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6449    lt_cv_path_mainfest_tool=yes
6450  fi
6451  rm -f conftest*
6452fi
6453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6454$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6455if test yes != "$lt_cv_path_mainfest_tool"; then
6456  MANIFEST_TOOL=:
6457fi
6458
6459
6460
6461
6462
6463
6464  case $host_os in
6465    rhapsody* | darwin*)
6466    if test -n "$ac_tool_prefix"; then
6467  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6468set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470$as_echo_n "checking for $ac_word... " >&6; }
6471if ${ac_cv_prog_DSYMUTIL+:} false; then :
6472  $as_echo_n "(cached) " >&6
6473else
6474  if test -n "$DSYMUTIL"; then
6475  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6476else
6477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478for as_dir in $PATH
6479do
6480  IFS=$as_save_IFS
6481  test -z "$as_dir" && as_dir=.
6482    for ac_exec_ext in '' $ac_executable_extensions; do
6483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486    break 2
6487  fi
6488done
6489  done
6490IFS=$as_save_IFS
6491
6492fi
6493fi
6494DSYMUTIL=$ac_cv_prog_DSYMUTIL
6495if test -n "$DSYMUTIL"; then
6496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6497$as_echo "$DSYMUTIL" >&6; }
6498else
6499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500$as_echo "no" >&6; }
6501fi
6502
6503
6504fi
6505if test -z "$ac_cv_prog_DSYMUTIL"; then
6506  ac_ct_DSYMUTIL=$DSYMUTIL
6507  # Extract the first word of "dsymutil", so it can be a program name with args.
6508set dummy dsymutil; ac_word=$2
6509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510$as_echo_n "checking for $ac_word... " >&6; }
6511if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6512  $as_echo_n "(cached) " >&6
6513else
6514  if test -n "$ac_ct_DSYMUTIL"; then
6515  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6516else
6517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518for as_dir in $PATH
6519do
6520  IFS=$as_save_IFS
6521  test -z "$as_dir" && as_dir=.
6522    for ac_exec_ext in '' $ac_executable_extensions; do
6523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526    break 2
6527  fi
6528done
6529  done
6530IFS=$as_save_IFS
6531
6532fi
6533fi
6534ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6535if test -n "$ac_ct_DSYMUTIL"; then
6536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6537$as_echo "$ac_ct_DSYMUTIL" >&6; }
6538else
6539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540$as_echo "no" >&6; }
6541fi
6542
6543  if test "x$ac_ct_DSYMUTIL" = x; then
6544    DSYMUTIL=":"
6545  else
6546    case $cross_compiling:$ac_tool_warned in
6547yes:)
6548{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550ac_tool_warned=yes ;;
6551esac
6552    DSYMUTIL=$ac_ct_DSYMUTIL
6553  fi
6554else
6555  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6556fi
6557
6558    if test -n "$ac_tool_prefix"; then
6559  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6560set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562$as_echo_n "checking for $ac_word... " >&6; }
6563if ${ac_cv_prog_NMEDIT+:} false; then :
6564  $as_echo_n "(cached) " >&6
6565else
6566  if test -n "$NMEDIT"; then
6567  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6568else
6569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570for as_dir in $PATH
6571do
6572  IFS=$as_save_IFS
6573  test -z "$as_dir" && as_dir=.
6574    for ac_exec_ext in '' $ac_executable_extensions; do
6575  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6577    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578    break 2
6579  fi
6580done
6581  done
6582IFS=$as_save_IFS
6583
6584fi
6585fi
6586NMEDIT=$ac_cv_prog_NMEDIT
6587if test -n "$NMEDIT"; then
6588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6589$as_echo "$NMEDIT" >&6; }
6590else
6591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592$as_echo "no" >&6; }
6593fi
6594
6595
6596fi
6597if test -z "$ac_cv_prog_NMEDIT"; then
6598  ac_ct_NMEDIT=$NMEDIT
6599  # Extract the first word of "nmedit", so it can be a program name with args.
6600set dummy nmedit; ac_word=$2
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602$as_echo_n "checking for $ac_word... " >&6; }
6603if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6604  $as_echo_n "(cached) " >&6
6605else
6606  if test -n "$ac_ct_NMEDIT"; then
6607  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6608else
6609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610for as_dir in $PATH
6611do
6612  IFS=$as_save_IFS
6613  test -z "$as_dir" && as_dir=.
6614    for ac_exec_ext in '' $ac_executable_extensions; do
6615  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618    break 2
6619  fi
6620done
6621  done
6622IFS=$as_save_IFS
6623
6624fi
6625fi
6626ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6627if test -n "$ac_ct_NMEDIT"; then
6628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6629$as_echo "$ac_ct_NMEDIT" >&6; }
6630else
6631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632$as_echo "no" >&6; }
6633fi
6634
6635  if test "x$ac_ct_NMEDIT" = x; then
6636    NMEDIT=":"
6637  else
6638    case $cross_compiling:$ac_tool_warned in
6639yes:)
6640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642ac_tool_warned=yes ;;
6643esac
6644    NMEDIT=$ac_ct_NMEDIT
6645  fi
6646else
6647  NMEDIT="$ac_cv_prog_NMEDIT"
6648fi
6649
6650    if test -n "$ac_tool_prefix"; then
6651  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6652set dummy ${ac_tool_prefix}lipo; ac_word=$2
6653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654$as_echo_n "checking for $ac_word... " >&6; }
6655if ${ac_cv_prog_LIPO+:} false; then :
6656  $as_echo_n "(cached) " >&6
6657else
6658  if test -n "$LIPO"; then
6659  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6660else
6661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662for as_dir in $PATH
6663do
6664  IFS=$as_save_IFS
6665  test -z "$as_dir" && as_dir=.
6666    for ac_exec_ext in '' $ac_executable_extensions; do
6667  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6669    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670    break 2
6671  fi
6672done
6673  done
6674IFS=$as_save_IFS
6675
6676fi
6677fi
6678LIPO=$ac_cv_prog_LIPO
6679if test -n "$LIPO"; then
6680  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6681$as_echo "$LIPO" >&6; }
6682else
6683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684$as_echo "no" >&6; }
6685fi
6686
6687
6688fi
6689if test -z "$ac_cv_prog_LIPO"; then
6690  ac_ct_LIPO=$LIPO
6691  # Extract the first word of "lipo", so it can be a program name with args.
6692set dummy lipo; ac_word=$2
6693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694$as_echo_n "checking for $ac_word... " >&6; }
6695if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6696  $as_echo_n "(cached) " >&6
6697else
6698  if test -n "$ac_ct_LIPO"; then
6699  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6700else
6701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702for as_dir in $PATH
6703do
6704  IFS=$as_save_IFS
6705  test -z "$as_dir" && as_dir=.
6706    for ac_exec_ext in '' $ac_executable_extensions; do
6707  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708    ac_cv_prog_ac_ct_LIPO="lipo"
6709    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710    break 2
6711  fi
6712done
6713  done
6714IFS=$as_save_IFS
6715
6716fi
6717fi
6718ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6719if test -n "$ac_ct_LIPO"; then
6720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6721$as_echo "$ac_ct_LIPO" >&6; }
6722else
6723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724$as_echo "no" >&6; }
6725fi
6726
6727  if test "x$ac_ct_LIPO" = x; then
6728    LIPO=":"
6729  else
6730    case $cross_compiling:$ac_tool_warned in
6731yes:)
6732{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734ac_tool_warned=yes ;;
6735esac
6736    LIPO=$ac_ct_LIPO
6737  fi
6738else
6739  LIPO="$ac_cv_prog_LIPO"
6740fi
6741
6742    if test -n "$ac_tool_prefix"; then
6743  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6744set dummy ${ac_tool_prefix}otool; ac_word=$2
6745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746$as_echo_n "checking for $ac_word... " >&6; }
6747if ${ac_cv_prog_OTOOL+:} false; then :
6748  $as_echo_n "(cached) " >&6
6749else
6750  if test -n "$OTOOL"; then
6751  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6752else
6753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754for as_dir in $PATH
6755do
6756  IFS=$as_save_IFS
6757  test -z "$as_dir" && as_dir=.
6758    for ac_exec_ext in '' $ac_executable_extensions; do
6759  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6760    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6761    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762    break 2
6763  fi
6764done
6765  done
6766IFS=$as_save_IFS
6767
6768fi
6769fi
6770OTOOL=$ac_cv_prog_OTOOL
6771if test -n "$OTOOL"; then
6772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6773$as_echo "$OTOOL" >&6; }
6774else
6775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776$as_echo "no" >&6; }
6777fi
6778
6779
6780fi
6781if test -z "$ac_cv_prog_OTOOL"; then
6782  ac_ct_OTOOL=$OTOOL
6783  # Extract the first word of "otool", so it can be a program name with args.
6784set dummy otool; ac_word=$2
6785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786$as_echo_n "checking for $ac_word... " >&6; }
6787if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6788  $as_echo_n "(cached) " >&6
6789else
6790  if test -n "$ac_ct_OTOOL"; then
6791  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6792else
6793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794for as_dir in $PATH
6795do
6796  IFS=$as_save_IFS
6797  test -z "$as_dir" && as_dir=.
6798    for ac_exec_ext in '' $ac_executable_extensions; do
6799  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6800    ac_cv_prog_ac_ct_OTOOL="otool"
6801    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802    break 2
6803  fi
6804done
6805  done
6806IFS=$as_save_IFS
6807
6808fi
6809fi
6810ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6811if test -n "$ac_ct_OTOOL"; then
6812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6813$as_echo "$ac_ct_OTOOL" >&6; }
6814else
6815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816$as_echo "no" >&6; }
6817fi
6818
6819  if test "x$ac_ct_OTOOL" = x; then
6820    OTOOL=":"
6821  else
6822    case $cross_compiling:$ac_tool_warned in
6823yes:)
6824{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6825$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6826ac_tool_warned=yes ;;
6827esac
6828    OTOOL=$ac_ct_OTOOL
6829  fi
6830else
6831  OTOOL="$ac_cv_prog_OTOOL"
6832fi
6833
6834    if test -n "$ac_tool_prefix"; then
6835  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6836set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+:} false; then :
6840  $as_echo_n "(cached) " >&6
6841else
6842  if test -n "$OTOOL64"; then
6843  ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64"
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
6862OTOOL64=$ac_cv_prog_OTOOL64
6863if test -n "$OTOOL64"; then
6864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6865$as_echo "$OTOOL64" >&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_OTOOL64"; then
6874  ac_ct_OTOOL64=$OTOOL64
6875  # Extract the first word of "otool64", so it can be a program name with args.
6876set dummy otool64; 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_OTOOL64+:} false; then :
6880  $as_echo_n "(cached) " >&6
6881else
6882  if test -n "$ac_ct_OTOOL64"; then
6883  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_OTOOL64="otool64"
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_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6903if test -n "$ac_ct_OTOOL64"; then
6904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6905$as_echo "$ac_ct_OTOOL64" >&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_OTOOL64" = x; then
6912    OTOOL64=":"
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    OTOOL64=$ac_ct_OTOOL64
6921  fi
6922else
6923  OTOOL64="$ac_cv_prog_OTOOL64"
6924fi
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6953$as_echo_n "checking for -single_module linker flag... " >&6; }
6954if ${lt_cv_apple_cc_single_mod+:} false; then :
6955  $as_echo_n "(cached) " >&6
6956else
6957  lt_cv_apple_cc_single_mod=no
6958      if test -z "$LT_MULTI_MODULE"; then
6959	# By default we will add the -single_module flag. You can override
6960	# by either setting the environment variable LT_MULTI_MODULE
6961	# non-empty at configure time, or by adding -multi_module to the
6962	# link flags.
6963	rm -rf libconftest.dylib*
6964	echo "int foo(void){return 1;}" > conftest.c
6965	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6966-dynamiclib -Wl,-single_module conftest.c" >&5
6967	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6968	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6969        _lt_result=$?
6970	# If there is a non-empty error log, and "single_module"
6971	# appears in it, assume the flag caused a linker warning
6972        if test -s conftest.err && $GREP single_module conftest.err; then
6973	  cat conftest.err >&5
6974	# Otherwise, if the output was created with a 0 exit code from
6975	# the compiler, it worked.
6976	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
6977	  lt_cv_apple_cc_single_mod=yes
6978	else
6979	  cat conftest.err >&5
6980	fi
6981	rm -rf libconftest.dylib*
6982	rm -f conftest.*
6983      fi
6984fi
6985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6986$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6987
6988    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6989$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6990if ${lt_cv_ld_exported_symbols_list+:} false; then :
6991  $as_echo_n "(cached) " >&6
6992else
6993  lt_cv_ld_exported_symbols_list=no
6994      save_LDFLAGS=$LDFLAGS
6995      echo "_main" > conftest.sym
6996      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6997      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998/* end confdefs.h.  */
6999
7000int
7001main ()
7002{
7003
7004  ;
7005  return 0;
7006}
7007_ACEOF
7008if ac_fn_c_try_link "$LINENO"; then :
7009  lt_cv_ld_exported_symbols_list=yes
7010else
7011  lt_cv_ld_exported_symbols_list=no
7012fi
7013rm -f core conftest.err conftest.$ac_objext \
7014    conftest$ac_exeext conftest.$ac_ext
7015	LDFLAGS=$save_LDFLAGS
7016
7017fi
7018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7019$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7020
7021    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7022$as_echo_n "checking for -force_load linker flag... " >&6; }
7023if ${lt_cv_ld_force_load+:} false; then :
7024  $as_echo_n "(cached) " >&6
7025else
7026  lt_cv_ld_force_load=no
7027      cat > conftest.c << _LT_EOF
7028int forced_loaded() { return 2;}
7029_LT_EOF
7030      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7031      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7032      echo "$AR cru libconftest.a conftest.o" >&5
7033      $AR cru libconftest.a conftest.o 2>&5
7034      echo "$RANLIB libconftest.a" >&5
7035      $RANLIB libconftest.a 2>&5
7036      cat > conftest.c << _LT_EOF
7037int main() { return 0;}
7038_LT_EOF
7039      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7040      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7041      _lt_result=$?
7042      if test -s conftest.err && $GREP force_load conftest.err; then
7043	cat conftest.err >&5
7044      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7045	lt_cv_ld_force_load=yes
7046      else
7047	cat conftest.err >&5
7048      fi
7049        rm -f conftest.err libconftest.a conftest conftest.c
7050        rm -rf conftest.dSYM
7051
7052fi
7053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7054$as_echo "$lt_cv_ld_force_load" >&6; }
7055    case $host_os in
7056    rhapsody* | darwin1.[012])
7057      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7058    darwin1.*)
7059      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7060    darwin*) # darwin 5.x on
7061      # if running on 10.5 or later, the deployment target defaults
7062      # to the OS version, if on x86, and 10.4, the deployment
7063      # target defaults to 10.4. Don't you love it?
7064      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7065	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7066	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7067	10.[012][,.]*)
7068	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7069	10.*)
7070	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7071      esac
7072    ;;
7073  esac
7074    if test yes = "$lt_cv_apple_cc_single_mod"; then
7075      _lt_dar_single_mod='$single_module'
7076    fi
7077    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7078      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7079    else
7080      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7081    fi
7082    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7083      _lt_dsymutil='~$DSYMUTIL $lib || :'
7084    else
7085      _lt_dsymutil=
7086    fi
7087    ;;
7088  esac
7089
7090# func_munge_path_list VARIABLE PATH
7091# -----------------------------------
7092# VARIABLE is name of variable containing _space_ separated list of
7093# directories to be munged by the contents of PATH, which is string
7094# having a format:
7095# "DIR[:DIR]:"
7096#       string "DIR[ DIR]" will be prepended to VARIABLE
7097# ":DIR[:DIR]"
7098#       string "DIR[ DIR]" will be appended to VARIABLE
7099# "DIRP[:DIRP]::[DIRA:]DIRA"
7100#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7101#       "DIRA[ DIRA]" will be appended to VARIABLE
7102# "DIR[:DIR]"
7103#       VARIABLE will be replaced by "DIR[ DIR]"
7104func_munge_path_list ()
7105{
7106    case x$2 in
7107    x)
7108        ;;
7109    *:)
7110        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7111        ;;
7112    x:*)
7113        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7114        ;;
7115    *::*)
7116        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7117        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7118        ;;
7119    *)
7120        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7121        ;;
7122    esac
7123}
7124
7125ac_ext=c
7126ac_cpp='$CPP $CPPFLAGS'
7127ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7128ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7129ac_compiler_gnu=$ac_cv_c_compiler_gnu
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7131$as_echo_n "checking how to run the C preprocessor... " >&6; }
7132# On Suns, sometimes $CPP names a directory.
7133if test -n "$CPP" && test -d "$CPP"; then
7134  CPP=
7135fi
7136if test -z "$CPP"; then
7137  if ${ac_cv_prog_CPP+:} false; then :
7138  $as_echo_n "(cached) " >&6
7139else
7140      # Double quotes because CPP needs to be expanded
7141    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7142    do
7143      ac_preproc_ok=false
7144for ac_c_preproc_warn_flag in '' yes
7145do
7146  # Use a header file that comes with gcc, so configuring glibc
7147  # with a fresh cross-compiler works.
7148  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7149  # <limits.h> exists even on freestanding compilers.
7150  # On the NeXT, cc -E runs the code through the compiler's parser,
7151  # not just through cpp. "Syntax error" is here to catch this case.
7152  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7153/* end confdefs.h.  */
7154#ifdef __STDC__
7155# include <limits.h>
7156#else
7157# include <assert.h>
7158#endif
7159		     Syntax error
7160_ACEOF
7161if ac_fn_c_try_cpp "$LINENO"; then :
7162
7163else
7164  # Broken: fails on valid input.
7165continue
7166fi
7167rm -f conftest.err conftest.i conftest.$ac_ext
7168
7169  # OK, works on sane cases.  Now check whether nonexistent headers
7170  # can be detected and how.
7171  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172/* end confdefs.h.  */
7173#include <ac_nonexistent.h>
7174_ACEOF
7175if ac_fn_c_try_cpp "$LINENO"; then :
7176  # Broken: success on invalid input.
7177continue
7178else
7179  # Passes both tests.
7180ac_preproc_ok=:
7181break
7182fi
7183rm -f conftest.err conftest.i conftest.$ac_ext
7184
7185done
7186# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7187rm -f conftest.i conftest.err conftest.$ac_ext
7188if $ac_preproc_ok; then :
7189  break
7190fi
7191
7192    done
7193    ac_cv_prog_CPP=$CPP
7194
7195fi
7196  CPP=$ac_cv_prog_CPP
7197else
7198  ac_cv_prog_CPP=$CPP
7199fi
7200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7201$as_echo "$CPP" >&6; }
7202ac_preproc_ok=false
7203for ac_c_preproc_warn_flag in '' yes
7204do
7205  # Use a header file that comes with gcc, so configuring glibc
7206  # with a fresh cross-compiler works.
7207  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7208  # <limits.h> exists even on freestanding compilers.
7209  # On the NeXT, cc -E runs the code through the compiler's parser,
7210  # not just through cpp. "Syntax error" is here to catch this case.
7211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212/* end confdefs.h.  */
7213#ifdef __STDC__
7214# include <limits.h>
7215#else
7216# include <assert.h>
7217#endif
7218		     Syntax error
7219_ACEOF
7220if ac_fn_c_try_cpp "$LINENO"; then :
7221
7222else
7223  # Broken: fails on valid input.
7224continue
7225fi
7226rm -f conftest.err conftest.i conftest.$ac_ext
7227
7228  # OK, works on sane cases.  Now check whether nonexistent headers
7229  # can be detected and how.
7230  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231/* end confdefs.h.  */
7232#include <ac_nonexistent.h>
7233_ACEOF
7234if ac_fn_c_try_cpp "$LINENO"; then :
7235  # Broken: success on invalid input.
7236continue
7237else
7238  # Passes both tests.
7239ac_preproc_ok=:
7240break
7241fi
7242rm -f conftest.err conftest.i conftest.$ac_ext
7243
7244done
7245# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7246rm -f conftest.i conftest.err conftest.$ac_ext
7247if $ac_preproc_ok; then :
7248
7249else
7250  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7252as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7253See \`config.log' for more details" "$LINENO" 5; }
7254fi
7255
7256ac_ext=c
7257ac_cpp='$CPP $CPPFLAGS'
7258ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7259ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7260ac_compiler_gnu=$ac_cv_c_compiler_gnu
7261
7262
7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7264$as_echo_n "checking for ANSI C header files... " >&6; }
7265if ${ac_cv_header_stdc+:} false; then :
7266  $as_echo_n "(cached) " >&6
7267else
7268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269/* end confdefs.h.  */
7270#include <stdlib.h>
7271#include <stdarg.h>
7272#include <string.h>
7273#include <float.h>
7274
7275int
7276main ()
7277{
7278
7279  ;
7280  return 0;
7281}
7282_ACEOF
7283if ac_fn_c_try_compile "$LINENO"; then :
7284  ac_cv_header_stdc=yes
7285else
7286  ac_cv_header_stdc=no
7287fi
7288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7289
7290if test $ac_cv_header_stdc = yes; then
7291  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7292  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293/* end confdefs.h.  */
7294#include <string.h>
7295
7296_ACEOF
7297if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7298  $EGREP "memchr" >/dev/null 2>&1; then :
7299
7300else
7301  ac_cv_header_stdc=no
7302fi
7303rm -f conftest*
7304
7305fi
7306
7307if test $ac_cv_header_stdc = yes; then
7308  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7309  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310/* end confdefs.h.  */
7311#include <stdlib.h>
7312
7313_ACEOF
7314if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7315  $EGREP "free" >/dev/null 2>&1; then :
7316
7317else
7318  ac_cv_header_stdc=no
7319fi
7320rm -f conftest*
7321
7322fi
7323
7324if test $ac_cv_header_stdc = yes; then
7325  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7326  if test "$cross_compiling" = yes; then :
7327  :
7328else
7329  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330/* end confdefs.h.  */
7331#include <ctype.h>
7332#include <stdlib.h>
7333#if ((' ' & 0x0FF) == 0x020)
7334# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7335# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7336#else
7337# define ISLOWER(c) \
7338		   (('a' <= (c) && (c) <= 'i') \
7339		     || ('j' <= (c) && (c) <= 'r') \
7340		     || ('s' <= (c) && (c) <= 'z'))
7341# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7342#endif
7343
7344#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7345int
7346main ()
7347{
7348  int i;
7349  for (i = 0; i < 256; i++)
7350    if (XOR (islower (i), ISLOWER (i))
7351	|| toupper (i) != TOUPPER (i))
7352      return 2;
7353  return 0;
7354}
7355_ACEOF
7356if ac_fn_c_try_run "$LINENO"; then :
7357
7358else
7359  ac_cv_header_stdc=no
7360fi
7361rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7362  conftest.$ac_objext conftest.beam conftest.$ac_ext
7363fi
7364
7365fi
7366fi
7367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7368$as_echo "$ac_cv_header_stdc" >&6; }
7369if test $ac_cv_header_stdc = yes; then
7370
7371$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7372
7373fi
7374
7375# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7376for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7377		  inttypes.h stdint.h unistd.h
7378do :
7379  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7380ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7381"
7382if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7383  cat >>confdefs.h <<_ACEOF
7384#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7385_ACEOF
7386
7387fi
7388
7389done
7390
7391
7392for ac_header in dlfcn.h
7393do :
7394  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7395"
7396if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7397  cat >>confdefs.h <<_ACEOF
7398#define HAVE_DLFCN_H 1
7399_ACEOF
7400
7401fi
7402
7403done
7404
7405
7406
7407
7408
7409# Set options
7410# Check whether --enable-static was given.
7411if test "${enable_static+set}" = set; then :
7412  enableval=$enable_static; p=${PACKAGE-default}
7413    case $enableval in
7414    yes) enable_static=yes ;;
7415    no) enable_static=no ;;
7416    *)
7417     enable_static=no
7418      # Look at the argument we got.  We use all the common list separators.
7419      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7420      for pkg in $enableval; do
7421	IFS=$lt_save_ifs
7422	if test "X$pkg" = "X$p"; then
7423	  enable_static=yes
7424	fi
7425      done
7426      IFS=$lt_save_ifs
7427      ;;
7428    esac
7429else
7430  enable_static=no
7431fi
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442        enable_dlopen=no
7443
7444
7445  enable_win32_dll=no
7446
7447
7448            # Check whether --enable-shared was given.
7449if test "${enable_shared+set}" = set; then :
7450  enableval=$enable_shared; p=${PACKAGE-default}
7451    case $enableval in
7452    yes) enable_shared=yes ;;
7453    no) enable_shared=no ;;
7454    *)
7455      enable_shared=no
7456      # Look at the argument we got.  We use all the common list separators.
7457      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7458      for pkg in $enableval; do
7459	IFS=$lt_save_ifs
7460	if test "X$pkg" = "X$p"; then
7461	  enable_shared=yes
7462	fi
7463      done
7464      IFS=$lt_save_ifs
7465      ;;
7466    esac
7467else
7468  enable_shared=yes
7469fi
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481# Check whether --with-pic was given.
7482if test "${with_pic+set}" = set; then :
7483  withval=$with_pic; lt_p=${PACKAGE-default}
7484    case $withval in
7485    yes|no) pic_mode=$withval ;;
7486    *)
7487      pic_mode=default
7488      # Look at the argument we got.  We use all the common list separators.
7489      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7490      for lt_pkg in $withval; do
7491	IFS=$lt_save_ifs
7492	if test "X$lt_pkg" = "X$lt_p"; then
7493	  pic_mode=yes
7494	fi
7495      done
7496      IFS=$lt_save_ifs
7497      ;;
7498    esac
7499else
7500  pic_mode=default
7501fi
7502
7503
7504
7505
7506
7507
7508
7509
7510  # Check whether --enable-fast-install was given.
7511if test "${enable_fast_install+set}" = set; then :
7512  enableval=$enable_fast_install; p=${PACKAGE-default}
7513    case $enableval in
7514    yes) enable_fast_install=yes ;;
7515    no) enable_fast_install=no ;;
7516    *)
7517      enable_fast_install=no
7518      # Look at the argument we got.  We use all the common list separators.
7519      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7520      for pkg in $enableval; do
7521	IFS=$lt_save_ifs
7522	if test "X$pkg" = "X$p"; then
7523	  enable_fast_install=yes
7524	fi
7525      done
7526      IFS=$lt_save_ifs
7527      ;;
7528    esac
7529else
7530  enable_fast_install=yes
7531fi
7532
7533
7534
7535
7536
7537
7538
7539
7540  shared_archive_member_spec=
7541case $host,$enable_shared in
7542power*-*-aix[5-9]*,yes)
7543  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7544$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7545
7546# Check whether --with-aix-soname was given.
7547if test "${with_aix_soname+set}" = set; then :
7548  withval=$with_aix_soname; case $withval in
7549    aix|svr4|both)
7550      ;;
7551    *)
7552      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7553      ;;
7554    esac
7555    lt_cv_with_aix_soname=$with_aix_soname
7556else
7557  if ${lt_cv_with_aix_soname+:} false; then :
7558  $as_echo_n "(cached) " >&6
7559else
7560  lt_cv_with_aix_soname=aix
7561fi
7562
7563    with_aix_soname=$lt_cv_with_aix_soname
7564fi
7565
7566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7567$as_echo "$with_aix_soname" >&6; }
7568  if test aix != "$with_aix_soname"; then
7569    # For the AIX way of multilib, we name the shared archive member
7570    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7571    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7572    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7573    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7574    if test 64 = "${OBJECT_MODE-32}"; then
7575      shared_archive_member_spec=shr_64
7576    else
7577      shared_archive_member_spec=shr
7578    fi
7579  fi
7580  ;;
7581*)
7582  with_aix_soname=aix
7583  ;;
7584esac
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595# This can be used to rebuild libtool when needed
7596LIBTOOL_DEPS=$ltmain
7597
7598# Always use our own libtool.
7599LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630test -z "$LN_S" && LN_S="ln -s"
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645if test -n "${ZSH_VERSION+set}"; then
7646   setopt NO_GLOB_SUBST
7647fi
7648
7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7650$as_echo_n "checking for objdir... " >&6; }
7651if ${lt_cv_objdir+:} false; then :
7652  $as_echo_n "(cached) " >&6
7653else
7654  rm -f .libs 2>/dev/null
7655mkdir .libs 2>/dev/null
7656if test -d .libs; then
7657  lt_cv_objdir=.libs
7658else
7659  # MS-DOS does not allow filenames that begin with a dot.
7660  lt_cv_objdir=_libs
7661fi
7662rmdir .libs 2>/dev/null
7663fi
7664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7665$as_echo "$lt_cv_objdir" >&6; }
7666objdir=$lt_cv_objdir
7667
7668
7669
7670
7671
7672cat >>confdefs.h <<_ACEOF
7673#define LT_OBJDIR "$lt_cv_objdir/"
7674_ACEOF
7675
7676
7677
7678
7679case $host_os in
7680aix3*)
7681  # AIX sometimes has problems with the GCC collect2 program.  For some
7682  # reason, if we set the COLLECT_NAMES environment variable, the problems
7683  # vanish in a puff of smoke.
7684  if test set != "${COLLECT_NAMES+set}"; then
7685    COLLECT_NAMES=
7686    export COLLECT_NAMES
7687  fi
7688  ;;
7689esac
7690
7691# Global variables:
7692ofile=libtool
7693can_build_shared=yes
7694
7695# All known linkers require a '.a' archive for static linking (except MSVC,
7696# which needs '.lib').
7697libext=a
7698
7699with_gnu_ld=$lt_cv_prog_gnu_ld
7700
7701old_CC=$CC
7702old_CFLAGS=$CFLAGS
7703
7704# Set sane defaults for various variables
7705test -z "$CC" && CC=cc
7706test -z "$LTCC" && LTCC=$CC
7707test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7708test -z "$LD" && LD=ld
7709test -z "$ac_objext" && ac_objext=o
7710
7711func_cc_basename $compiler
7712cc_basename=$func_cc_basename_result
7713
7714
7715# Only perform the check for file, if the check method requires it
7716test -z "$MAGIC_CMD" && MAGIC_CMD=file
7717case $deplibs_check_method in
7718file_magic*)
7719  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7720    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7721$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7722if ${lt_cv_path_MAGIC_CMD+:} false; then :
7723  $as_echo_n "(cached) " >&6
7724else
7725  case $MAGIC_CMD in
7726[\\/*] |  ?:[\\/]*)
7727  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7728  ;;
7729*)
7730  lt_save_MAGIC_CMD=$MAGIC_CMD
7731  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7732  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7733  for ac_dir in $ac_dummy; do
7734    IFS=$lt_save_ifs
7735    test -z "$ac_dir" && ac_dir=.
7736    if test -f "$ac_dir/${ac_tool_prefix}file"; then
7737      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
7738      if test -n "$file_magic_test_file"; then
7739	case $deplibs_check_method in
7740	"file_magic "*)
7741	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7742	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7743	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7744	    $EGREP "$file_magic_regex" > /dev/null; then
7745	    :
7746	  else
7747	    cat <<_LT_EOF 1>&2
7748
7749*** Warning: the command libtool uses to detect shared libraries,
7750*** $file_magic_cmd, produces output that libtool cannot recognize.
7751*** The result is that libtool may fail to recognize shared libraries
7752*** as such.  This will affect the creation of libtool libraries that
7753*** depend on shared libraries, but programs linked with such libtool
7754*** libraries will work regardless of this problem.  Nevertheless, you
7755*** may want to report the problem to your system manager and/or to
7756*** bug-libtool@gnu.org
7757
7758_LT_EOF
7759	  fi ;;
7760	esac
7761      fi
7762      break
7763    fi
7764  done
7765  IFS=$lt_save_ifs
7766  MAGIC_CMD=$lt_save_MAGIC_CMD
7767  ;;
7768esac
7769fi
7770
7771MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7772if test -n "$MAGIC_CMD"; then
7773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7774$as_echo "$MAGIC_CMD" >&6; }
7775else
7776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777$as_echo "no" >&6; }
7778fi
7779
7780
7781
7782
7783
7784if test -z "$lt_cv_path_MAGIC_CMD"; then
7785  if test -n "$ac_tool_prefix"; then
7786    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7787$as_echo_n "checking for file... " >&6; }
7788if ${lt_cv_path_MAGIC_CMD+:} false; then :
7789  $as_echo_n "(cached) " >&6
7790else
7791  case $MAGIC_CMD in
7792[\\/*] |  ?:[\\/]*)
7793  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7794  ;;
7795*)
7796  lt_save_MAGIC_CMD=$MAGIC_CMD
7797  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7798  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7799  for ac_dir in $ac_dummy; do
7800    IFS=$lt_save_ifs
7801    test -z "$ac_dir" && ac_dir=.
7802    if test -f "$ac_dir/file"; then
7803      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
7804      if test -n "$file_magic_test_file"; then
7805	case $deplibs_check_method in
7806	"file_magic "*)
7807	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7808	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7809	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7810	    $EGREP "$file_magic_regex" > /dev/null; then
7811	    :
7812	  else
7813	    cat <<_LT_EOF 1>&2
7814
7815*** Warning: the command libtool uses to detect shared libraries,
7816*** $file_magic_cmd, produces output that libtool cannot recognize.
7817*** The result is that libtool may fail to recognize shared libraries
7818*** as such.  This will affect the creation of libtool libraries that
7819*** depend on shared libraries, but programs linked with such libtool
7820*** libraries will work regardless of this problem.  Nevertheless, you
7821*** may want to report the problem to your system manager and/or to
7822*** bug-libtool@gnu.org
7823
7824_LT_EOF
7825	  fi ;;
7826	esac
7827      fi
7828      break
7829    fi
7830  done
7831  IFS=$lt_save_ifs
7832  MAGIC_CMD=$lt_save_MAGIC_CMD
7833  ;;
7834esac
7835fi
7836
7837MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7838if test -n "$MAGIC_CMD"; then
7839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7840$as_echo "$MAGIC_CMD" >&6; }
7841else
7842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843$as_echo "no" >&6; }
7844fi
7845
7846
7847  else
7848    MAGIC_CMD=:
7849  fi
7850fi
7851
7852  fi
7853  ;;
7854esac
7855
7856# Use C for the default configuration in the libtool script
7857
7858lt_save_CC=$CC
7859ac_ext=c
7860ac_cpp='$CPP $CPPFLAGS'
7861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7863ac_compiler_gnu=$ac_cv_c_compiler_gnu
7864
7865
7866# Source file extension for C test sources.
7867ac_ext=c
7868
7869# Object file extension for compiled C test sources.
7870objext=o
7871objext=$objext
7872
7873# Code to be used in simple compile tests
7874lt_simple_compile_test_code="int some_variable = 0;"
7875
7876# Code to be used in simple link tests
7877lt_simple_link_test_code='int main(){return(0);}'
7878
7879
7880
7881
7882
7883
7884
7885# If no C compiler was specified, use CC.
7886LTCC=${LTCC-"$CC"}
7887
7888# If no C compiler flags were specified, use CFLAGS.
7889LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7890
7891# Allow CC to be a program name with arguments.
7892compiler=$CC
7893
7894# Save the default compiler, since it gets overwritten when the other
7895# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7896compiler_DEFAULT=$CC
7897
7898# save warnings/boilerplate of simple test code
7899ac_outfile=conftest.$ac_objext
7900echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7901eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7902_lt_compiler_boilerplate=`cat conftest.err`
7903$RM conftest*
7904
7905ac_outfile=conftest.$ac_objext
7906echo "$lt_simple_link_test_code" >conftest.$ac_ext
7907eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7908_lt_linker_boilerplate=`cat conftest.err`
7909$RM -r conftest*
7910
7911
7912## CAVEAT EMPTOR:
7913## There is no encapsulation within the following macros, do not change
7914## the running order or otherwise move them around unless you know exactly
7915## what you are doing...
7916if test -n "$compiler"; then
7917
7918lt_prog_compiler_no_builtin_flag=
7919
7920if test yes = "$GCC"; then
7921  case $cc_basename in
7922  nvcc*)
7923    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7924  *)
7925    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7926  esac
7927
7928  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7929$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7930if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7931  $as_echo_n "(cached) " >&6
7932else
7933  lt_cv_prog_compiler_rtti_exceptions=no
7934   ac_outfile=conftest.$ac_objext
7935   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7936   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
7937   # Insert the option either (1) after the last *FLAGS variable, or
7938   # (2) before a word containing "conftest.", or (3) at the end.
7939   # Note that $ac_compile itself does not contain backslashes and begins
7940   # with a dollar sign (not a hyphen), so the echo should work correctly.
7941   # The option is referenced via a variable to avoid confusing sed.
7942   lt_compile=`echo "$ac_compile" | $SED \
7943   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7944   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7945   -e 's:$: $lt_compiler_flag:'`
7946   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7947   (eval "$lt_compile" 2>conftest.err)
7948   ac_status=$?
7949   cat conftest.err >&5
7950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951   if (exit $ac_status) && test -s "$ac_outfile"; then
7952     # The compiler can only warn and ignore the option if not recognized
7953     # So say no if there are warnings other than the usual output.
7954     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7955     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7956     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7957       lt_cv_prog_compiler_rtti_exceptions=yes
7958     fi
7959   fi
7960   $RM conftest*
7961
7962fi
7963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7964$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7965
7966if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7967    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7968else
7969    :
7970fi
7971
7972fi
7973
7974
7975
7976
7977
7978
7979  lt_prog_compiler_wl=
7980lt_prog_compiler_pic=
7981lt_prog_compiler_static=
7982
7983
7984  if test yes = "$GCC"; then
7985    lt_prog_compiler_wl='-Wl,'
7986    lt_prog_compiler_static='-static'
7987
7988    case $host_os in
7989      aix*)
7990      # All AIX code is PIC.
7991      if test ia64 = "$host_cpu"; then
7992	# AIX 5 now supports IA64 processor
7993	lt_prog_compiler_static='-Bstatic'
7994      fi
7995      lt_prog_compiler_pic='-fPIC'
7996      ;;
7997
7998    amigaos*)
7999      case $host_cpu in
8000      powerpc)
8001            # see comment about AmigaOS4 .so support
8002            lt_prog_compiler_pic='-fPIC'
8003        ;;
8004      m68k)
8005            # FIXME: we need at least 68020 code to build shared libraries, but
8006            # adding the '-m68020' flag to GCC prevents building anything better,
8007            # like '-m68040'.
8008            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8009        ;;
8010      esac
8011      ;;
8012
8013    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8014      # PIC is the default for these OSes.
8015      ;;
8016
8017    mingw* | cygwin* | pw32* | os2* | cegcc*)
8018      # This hack is so that the source file can tell whether it is being
8019      # built for inclusion in a dll (and should export symbols for example).
8020      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8021      # (--disable-auto-import) libraries
8022      lt_prog_compiler_pic='-DDLL_EXPORT'
8023      case $host_os in
8024      os2*)
8025	lt_prog_compiler_static='$wl-static'
8026	;;
8027      esac
8028      ;;
8029
8030    darwin* | rhapsody*)
8031      # PIC is the default on this platform
8032      # Common symbols not allowed in MH_DYLIB files
8033      lt_prog_compiler_pic='-fno-common'
8034      ;;
8035
8036    haiku*)
8037      # PIC is the default for Haiku.
8038      # The "-static" flag exists, but is broken.
8039      lt_prog_compiler_static=
8040      ;;
8041
8042    hpux*)
8043      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8044      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8045      # sets the default TLS model and affects inlining.
8046      case $host_cpu in
8047      hppa*64*)
8048	# +Z the default
8049	;;
8050      *)
8051	lt_prog_compiler_pic='-fPIC'
8052	;;
8053      esac
8054      ;;
8055
8056    interix[3-9]*)
8057      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8058      # Instead, we relocate shared libraries at runtime.
8059      ;;
8060
8061    msdosdjgpp*)
8062      # Just because we use GCC doesn't mean we suddenly get shared libraries
8063      # on systems that don't support them.
8064      lt_prog_compiler_can_build_shared=no
8065      enable_shared=no
8066      ;;
8067
8068    *nto* | *qnx*)
8069      # QNX uses GNU C++, but need to define -shared option too, otherwise
8070      # it will coredump.
8071      lt_prog_compiler_pic='-fPIC -shared'
8072      ;;
8073
8074    sysv4*MP*)
8075      if test -d /usr/nec; then
8076	lt_prog_compiler_pic=-Kconform_pic
8077      fi
8078      ;;
8079
8080    *)
8081      lt_prog_compiler_pic='-fPIC'
8082      ;;
8083    esac
8084
8085    case $cc_basename in
8086    nvcc*) # Cuda Compiler Driver 2.2
8087      lt_prog_compiler_wl='-Xlinker '
8088      if test -n "$lt_prog_compiler_pic"; then
8089        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8090      fi
8091      ;;
8092    esac
8093  else
8094    # PORTME Check for flag to pass linker flags through the system compiler.
8095    case $host_os in
8096    aix*)
8097      lt_prog_compiler_wl='-Wl,'
8098      if test ia64 = "$host_cpu"; then
8099	# AIX 5 now supports IA64 processor
8100	lt_prog_compiler_static='-Bstatic'
8101      else
8102	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8103      fi
8104      ;;
8105
8106    darwin* | rhapsody*)
8107      # PIC is the default on this platform
8108      # Common symbols not allowed in MH_DYLIB files
8109      lt_prog_compiler_pic='-fno-common'
8110      case $cc_basename in
8111      nagfor*)
8112        # NAG Fortran compiler
8113        lt_prog_compiler_wl='-Wl,-Wl,,'
8114        lt_prog_compiler_pic='-PIC'
8115        lt_prog_compiler_static='-Bstatic'
8116        ;;
8117      esac
8118      ;;
8119
8120    mingw* | cygwin* | pw32* | os2* | cegcc*)
8121      # This hack is so that the source file can tell whether it is being
8122      # built for inclusion in a dll (and should export symbols for example).
8123      lt_prog_compiler_pic='-DDLL_EXPORT'
8124      case $host_os in
8125      os2*)
8126	lt_prog_compiler_static='$wl-static'
8127	;;
8128      esac
8129      ;;
8130
8131    hpux9* | hpux10* | hpux11*)
8132      lt_prog_compiler_wl='-Wl,'
8133      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8134      # not for PA HP-UX.
8135      case $host_cpu in
8136      hppa*64*|ia64*)
8137	# +Z the default
8138	;;
8139      *)
8140	lt_prog_compiler_pic='+Z'
8141	;;
8142      esac
8143      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8144      lt_prog_compiler_static='$wl-a ${wl}archive'
8145      ;;
8146
8147    irix5* | irix6* | nonstopux*)
8148      lt_prog_compiler_wl='-Wl,'
8149      # PIC (with -KPIC) is the default.
8150      lt_prog_compiler_static='-non_shared'
8151      ;;
8152
8153    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8154      case $cc_basename in
8155      # old Intel for x86_64, which still supported -KPIC.
8156      ecc*)
8157	lt_prog_compiler_wl='-Wl,'
8158	lt_prog_compiler_pic='-KPIC'
8159	lt_prog_compiler_static='-static'
8160        ;;
8161      # icc used to be incompatible with GCC.
8162      # ICC 10 doesn't accept -KPIC any more.
8163      icc* | ifort*)
8164	lt_prog_compiler_wl='-Wl,'
8165	lt_prog_compiler_pic='-fPIC'
8166	lt_prog_compiler_static='-static'
8167        ;;
8168      # Lahey Fortran 8.1.
8169      lf95*)
8170	lt_prog_compiler_wl='-Wl,'
8171	lt_prog_compiler_pic='--shared'
8172	lt_prog_compiler_static='--static'
8173	;;
8174      nagfor*)
8175	# NAG Fortran compiler
8176	lt_prog_compiler_wl='-Wl,-Wl,,'
8177	lt_prog_compiler_pic='-PIC'
8178	lt_prog_compiler_static='-Bstatic'
8179	;;
8180      tcc*)
8181	# Fabrice Bellard et al's Tiny C Compiler
8182	lt_prog_compiler_wl='-Wl,'
8183	lt_prog_compiler_pic='-fPIC'
8184	lt_prog_compiler_static='-static'
8185	;;
8186      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8187        # Portland Group compilers (*not* the Pentium gcc compiler,
8188	# which looks to be a dead project)
8189	lt_prog_compiler_wl='-Wl,'
8190	lt_prog_compiler_pic='-fpic'
8191	lt_prog_compiler_static='-Bstatic'
8192        ;;
8193      ccc*)
8194        lt_prog_compiler_wl='-Wl,'
8195        # All Alpha code is PIC.
8196        lt_prog_compiler_static='-non_shared'
8197        ;;
8198      xl* | bgxl* | bgf* | mpixl*)
8199	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8200	lt_prog_compiler_wl='-Wl,'
8201	lt_prog_compiler_pic='-qpic'
8202	lt_prog_compiler_static='-qstaticlink'
8203	;;
8204      *)
8205	case `$CC -V 2>&1 | sed 5q` in
8206	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8207	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8208	  lt_prog_compiler_pic='-KPIC'
8209	  lt_prog_compiler_static='-Bstatic'
8210	  lt_prog_compiler_wl=''
8211	  ;;
8212	*Sun\ F* | *Sun*Fortran*)
8213	  lt_prog_compiler_pic='-KPIC'
8214	  lt_prog_compiler_static='-Bstatic'
8215	  lt_prog_compiler_wl='-Qoption ld '
8216	  ;;
8217	*Sun\ C*)
8218	  # Sun C 5.9
8219	  lt_prog_compiler_pic='-KPIC'
8220	  lt_prog_compiler_static='-Bstatic'
8221	  lt_prog_compiler_wl='-Wl,'
8222	  ;;
8223        *Intel*\ [CF]*Compiler*)
8224	  lt_prog_compiler_wl='-Wl,'
8225	  lt_prog_compiler_pic='-fPIC'
8226	  lt_prog_compiler_static='-static'
8227	  ;;
8228	*Portland\ Group*)
8229	  lt_prog_compiler_wl='-Wl,'
8230	  lt_prog_compiler_pic='-fpic'
8231	  lt_prog_compiler_static='-Bstatic'
8232	  ;;
8233	esac
8234	;;
8235      esac
8236      ;;
8237
8238    newsos6)
8239      lt_prog_compiler_pic='-KPIC'
8240      lt_prog_compiler_static='-Bstatic'
8241      ;;
8242
8243    *nto* | *qnx*)
8244      # QNX uses GNU C++, but need to define -shared option too, otherwise
8245      # it will coredump.
8246      lt_prog_compiler_pic='-fPIC -shared'
8247      ;;
8248
8249    osf3* | osf4* | osf5*)
8250      lt_prog_compiler_wl='-Wl,'
8251      # All OSF/1 code is PIC.
8252      lt_prog_compiler_static='-non_shared'
8253      ;;
8254
8255    rdos*)
8256      lt_prog_compiler_static='-non_shared'
8257      ;;
8258
8259    solaris*)
8260      lt_prog_compiler_pic='-KPIC'
8261      lt_prog_compiler_static='-Bstatic'
8262      case $cc_basename in
8263      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8264	lt_prog_compiler_wl='-Qoption ld ';;
8265      *)
8266	lt_prog_compiler_wl='-Wl,';;
8267      esac
8268      ;;
8269
8270    sunos4*)
8271      lt_prog_compiler_wl='-Qoption ld '
8272      lt_prog_compiler_pic='-PIC'
8273      lt_prog_compiler_static='-Bstatic'
8274      ;;
8275
8276    sysv4 | sysv4.2uw2* | sysv4.3*)
8277      lt_prog_compiler_wl='-Wl,'
8278      lt_prog_compiler_pic='-KPIC'
8279      lt_prog_compiler_static='-Bstatic'
8280      ;;
8281
8282    sysv4*MP*)
8283      if test -d /usr/nec; then
8284	lt_prog_compiler_pic='-Kconform_pic'
8285	lt_prog_compiler_static='-Bstatic'
8286      fi
8287      ;;
8288
8289    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8290      lt_prog_compiler_wl='-Wl,'
8291      lt_prog_compiler_pic='-KPIC'
8292      lt_prog_compiler_static='-Bstatic'
8293      ;;
8294
8295    unicos*)
8296      lt_prog_compiler_wl='-Wl,'
8297      lt_prog_compiler_can_build_shared=no
8298      ;;
8299
8300    uts4*)
8301      lt_prog_compiler_pic='-pic'
8302      lt_prog_compiler_static='-Bstatic'
8303      ;;
8304
8305    *)
8306      lt_prog_compiler_can_build_shared=no
8307      ;;
8308    esac
8309  fi
8310
8311case $host_os in
8312  # For platforms that do not support PIC, -DPIC is meaningless:
8313  *djgpp*)
8314    lt_prog_compiler_pic=
8315    ;;
8316  *)
8317    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8318    ;;
8319esac
8320
8321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8322$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8323if ${lt_cv_prog_compiler_pic+:} false; then :
8324  $as_echo_n "(cached) " >&6
8325else
8326  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8327fi
8328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8329$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8330lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8331
8332#
8333# Check to make sure the PIC flag actually works.
8334#
8335if test -n "$lt_prog_compiler_pic"; then
8336  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8337$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8338if ${lt_cv_prog_compiler_pic_works+:} false; then :
8339  $as_echo_n "(cached) " >&6
8340else
8341  lt_cv_prog_compiler_pic_works=no
8342   ac_outfile=conftest.$ac_objext
8343   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8344   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8345   # Insert the option either (1) after the last *FLAGS variable, or
8346   # (2) before a word containing "conftest.", or (3) at the end.
8347   # Note that $ac_compile itself does not contain backslashes and begins
8348   # with a dollar sign (not a hyphen), so the echo should work correctly.
8349   # The option is referenced via a variable to avoid confusing sed.
8350   lt_compile=`echo "$ac_compile" | $SED \
8351   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8352   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8353   -e 's:$: $lt_compiler_flag:'`
8354   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8355   (eval "$lt_compile" 2>conftest.err)
8356   ac_status=$?
8357   cat conftest.err >&5
8358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359   if (exit $ac_status) && test -s "$ac_outfile"; then
8360     # The compiler can only warn and ignore the option if not recognized
8361     # So say no if there are warnings other than the usual output.
8362     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8363     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8364     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8365       lt_cv_prog_compiler_pic_works=yes
8366     fi
8367   fi
8368   $RM conftest*
8369
8370fi
8371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8372$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8373
8374if test yes = "$lt_cv_prog_compiler_pic_works"; then
8375    case $lt_prog_compiler_pic in
8376     "" | " "*) ;;
8377     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8378     esac
8379else
8380    lt_prog_compiler_pic=
8381     lt_prog_compiler_can_build_shared=no
8382fi
8383
8384fi
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396#
8397# Check to make sure the static flag actually works.
8398#
8399wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8401$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8402if ${lt_cv_prog_compiler_static_works+:} false; then :
8403  $as_echo_n "(cached) " >&6
8404else
8405  lt_cv_prog_compiler_static_works=no
8406   save_LDFLAGS=$LDFLAGS
8407   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8408   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8409   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8410     # The linker can only warn and ignore the option if not recognized
8411     # So say no if there are warnings
8412     if test -s conftest.err; then
8413       # Append any errors to the config.log.
8414       cat conftest.err 1>&5
8415       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8416       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8417       if diff conftest.exp conftest.er2 >/dev/null; then
8418         lt_cv_prog_compiler_static_works=yes
8419       fi
8420     else
8421       lt_cv_prog_compiler_static_works=yes
8422     fi
8423   fi
8424   $RM -r conftest*
8425   LDFLAGS=$save_LDFLAGS
8426
8427fi
8428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8429$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8430
8431if test yes = "$lt_cv_prog_compiler_static_works"; then
8432    :
8433else
8434    lt_prog_compiler_static=
8435fi
8436
8437
8438
8439
8440
8441
8442
8443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8444$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8445if ${lt_cv_prog_compiler_c_o+:} false; then :
8446  $as_echo_n "(cached) " >&6
8447else
8448  lt_cv_prog_compiler_c_o=no
8449   $RM -r conftest 2>/dev/null
8450   mkdir conftest
8451   cd conftest
8452   mkdir out
8453   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8454
8455   lt_compiler_flag="-o out/conftest2.$ac_objext"
8456   # Insert the option either (1) after the last *FLAGS variable, or
8457   # (2) before a word containing "conftest.", or (3) at the end.
8458   # Note that $ac_compile itself does not contain backslashes and begins
8459   # with a dollar sign (not a hyphen), so the echo should work correctly.
8460   lt_compile=`echo "$ac_compile" | $SED \
8461   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8462   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8463   -e 's:$: $lt_compiler_flag:'`
8464   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8465   (eval "$lt_compile" 2>out/conftest.err)
8466   ac_status=$?
8467   cat out/conftest.err >&5
8468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8470   then
8471     # The compiler can only warn and ignore the option if not recognized
8472     # So say no if there are warnings
8473     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8474     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8475     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8476       lt_cv_prog_compiler_c_o=yes
8477     fi
8478   fi
8479   chmod u+w . 2>&5
8480   $RM conftest*
8481   # SGI C++ compiler will create directory out/ii_files/ for
8482   # template instantiation
8483   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8484   $RM out/* && rmdir out
8485   cd ..
8486   $RM -r conftest
8487   $RM conftest*
8488
8489fi
8490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8491$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8492
8493
8494
8495
8496
8497
8498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8499$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8500if ${lt_cv_prog_compiler_c_o+:} false; then :
8501  $as_echo_n "(cached) " >&6
8502else
8503  lt_cv_prog_compiler_c_o=no
8504   $RM -r conftest 2>/dev/null
8505   mkdir conftest
8506   cd conftest
8507   mkdir out
8508   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8509
8510   lt_compiler_flag="-o out/conftest2.$ac_objext"
8511   # Insert the option either (1) after the last *FLAGS variable, or
8512   # (2) before a word containing "conftest.", or (3) at the end.
8513   # Note that $ac_compile itself does not contain backslashes and begins
8514   # with a dollar sign (not a hyphen), so the echo should work correctly.
8515   lt_compile=`echo "$ac_compile" | $SED \
8516   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8517   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8518   -e 's:$: $lt_compiler_flag:'`
8519   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8520   (eval "$lt_compile" 2>out/conftest.err)
8521   ac_status=$?
8522   cat out/conftest.err >&5
8523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8525   then
8526     # The compiler can only warn and ignore the option if not recognized
8527     # So say no if there are warnings
8528     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8529     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8530     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8531       lt_cv_prog_compiler_c_o=yes
8532     fi
8533   fi
8534   chmod u+w . 2>&5
8535   $RM conftest*
8536   # SGI C++ compiler will create directory out/ii_files/ for
8537   # template instantiation
8538   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8539   $RM out/* && rmdir out
8540   cd ..
8541   $RM -r conftest
8542   $RM conftest*
8543
8544fi
8545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8546$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8547
8548
8549
8550
8551hard_links=nottested
8552if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8553  # do not overwrite the value of need_locks provided by the user
8554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8555$as_echo_n "checking if we can lock with hard links... " >&6; }
8556  hard_links=yes
8557  $RM conftest*
8558  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8559  touch conftest.a
8560  ln conftest.a conftest.b 2>&5 || hard_links=no
8561  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8563$as_echo "$hard_links" >&6; }
8564  if test no = "$hard_links"; then
8565    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8566$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8567    need_locks=warn
8568  fi
8569else
8570  need_locks=no
8571fi
8572
8573
8574
8575
8576
8577
8578  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8579$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8580
8581  runpath_var=
8582  allow_undefined_flag=
8583  always_export_symbols=no
8584  archive_cmds=
8585  archive_expsym_cmds=
8586  compiler_needs_object=no
8587  enable_shared_with_static_runtimes=no
8588  export_dynamic_flag_spec=
8589  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8590  hardcode_automatic=no
8591  hardcode_direct=no
8592  hardcode_direct_absolute=no
8593  hardcode_libdir_flag_spec=
8594  hardcode_libdir_separator=
8595  hardcode_minus_L=no
8596  hardcode_shlibpath_var=unsupported
8597  inherit_rpath=no
8598  link_all_deplibs=unknown
8599  module_cmds=
8600  module_expsym_cmds=
8601  old_archive_from_new_cmds=
8602  old_archive_from_expsyms_cmds=
8603  thread_safe_flag_spec=
8604  whole_archive_flag_spec=
8605  # include_expsyms should be a list of space-separated symbols to be *always*
8606  # included in the symbol list
8607  include_expsyms=
8608  # exclude_expsyms can be an extended regexp of symbols to exclude
8609  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8610  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8611  # as well as any symbol that contains 'd'.
8612  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8613  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8614  # platforms (ab)use it in PIC code, but their linkers get confused if
8615  # the symbol is explicitly referenced.  Since portable code cannot
8616  # rely on this symbol name, it's probably fine to never include it in
8617  # preloaded symbol tables.
8618  # Exclude shared library initialization/finalization symbols.
8619  extract_expsyms_cmds=
8620
8621  case $host_os in
8622  cygwin* | mingw* | pw32* | cegcc*)
8623    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8624    # When not using gcc, we currently assume that we are using
8625    # Microsoft Visual C++.
8626    if test yes != "$GCC"; then
8627      with_gnu_ld=no
8628    fi
8629    ;;
8630  interix*)
8631    # we just hope/assume this is gcc and not c89 (= MSVC++)
8632    with_gnu_ld=yes
8633    ;;
8634  openbsd* | bitrig*)
8635    with_gnu_ld=no
8636    ;;
8637  esac
8638
8639  ld_shlibs=yes
8640
8641  # On some targets, GNU ld is compatible enough with the native linker
8642  # that we're better off using the native interface for both.
8643  lt_use_gnu_ld_interface=no
8644  if test yes = "$with_gnu_ld"; then
8645    case $host_os in
8646      aix*)
8647	# The AIX port of GNU ld has always aspired to compatibility
8648	# with the native linker.  However, as the warning in the GNU ld
8649	# block says, versions before 2.19.5* couldn't really create working
8650	# shared libraries, regardless of the interface used.
8651	case `$LD -v 2>&1` in
8652	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8653	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8654	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8655	  *)
8656	    lt_use_gnu_ld_interface=yes
8657	    ;;
8658	esac
8659	;;
8660      *)
8661	lt_use_gnu_ld_interface=yes
8662	;;
8663    esac
8664  fi
8665
8666  if test yes = "$lt_use_gnu_ld_interface"; then
8667    # If archive_cmds runs LD, not CC, wlarc should be empty
8668    wlarc='$wl'
8669
8670    # Set some defaults for GNU ld with shared library support. These
8671    # are reset later if shared libraries are not supported. Putting them
8672    # here allows them to be overridden if necessary.
8673    runpath_var=LD_RUN_PATH
8674    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8675    export_dynamic_flag_spec='$wl--export-dynamic'
8676    # ancient GNU ld didn't support --whole-archive et. al.
8677    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8678      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8679    else
8680      whole_archive_flag_spec=
8681    fi
8682    supports_anon_versioning=no
8683    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8684      *GNU\ gold*) supports_anon_versioning=yes ;;
8685      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8686      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8687      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8688      *\ 2.11.*) ;; # other 2.11 versions
8689      *) supports_anon_versioning=yes ;;
8690    esac
8691
8692    # See if GNU ld supports shared libraries.
8693    case $host_os in
8694    aix[3-9]*)
8695      # On AIX/PPC, the GNU linker is very broken
8696      if test ia64 != "$host_cpu"; then
8697	ld_shlibs=no
8698	cat <<_LT_EOF 1>&2
8699
8700*** Warning: the GNU linker, at least up to release 2.19, is reported
8701*** to be unable to reliably create shared libraries on AIX.
8702*** Therefore, libtool is disabling shared libraries support.  If you
8703*** really care for shared libraries, you may want to install binutils
8704*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8705*** You will then need to restart the configuration process.
8706
8707_LT_EOF
8708      fi
8709      ;;
8710
8711    amigaos*)
8712      case $host_cpu in
8713      powerpc)
8714            # see comment about AmigaOS4 .so support
8715            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8716            archive_expsym_cmds=''
8717        ;;
8718      m68k)
8719            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)'
8720            hardcode_libdir_flag_spec='-L$libdir'
8721            hardcode_minus_L=yes
8722        ;;
8723      esac
8724      ;;
8725
8726    beos*)
8727      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8728	allow_undefined_flag=unsupported
8729	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8730	# support --undefined.  This deserves some investigation.  FIXME
8731	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8732      else
8733	ld_shlibs=no
8734      fi
8735      ;;
8736
8737    cygwin* | mingw* | pw32* | cegcc*)
8738      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8739      # as there is no search path for DLLs.
8740      hardcode_libdir_flag_spec='-L$libdir'
8741      export_dynamic_flag_spec='$wl--export-all-symbols'
8742      allow_undefined_flag=unsupported
8743      always_export_symbols=no
8744      enable_shared_with_static_runtimes=yes
8745      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'
8746      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8747
8748      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8749        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8750	# If the export-symbols file already is a .def file, use it as
8751	# is; otherwise, prepend EXPORTS...
8752	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
8753          cp $export_symbols $output_objdir/$soname.def;
8754        else
8755          echo EXPORTS > $output_objdir/$soname.def;
8756          cat $export_symbols >> $output_objdir/$soname.def;
8757        fi~
8758        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8759      else
8760	ld_shlibs=no
8761      fi
8762      ;;
8763
8764    haiku*)
8765      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8766      link_all_deplibs=yes
8767      ;;
8768
8769    os2*)
8770      hardcode_libdir_flag_spec='-L$libdir'
8771      hardcode_minus_L=yes
8772      allow_undefined_flag=unsupported
8773      shrext_cmds=.dll
8774      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8775	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8776	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8777	$ECHO EXPORTS >> $output_objdir/$libname.def~
8778	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8779	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8780	emximp -o $lib $output_objdir/$libname.def'
8781      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8782	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8783	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8784	$ECHO EXPORTS >> $output_objdir/$libname.def~
8785	prefix_cmds="$SED"~
8786	if test EXPORTS = "`$SED 1q $export_symbols`"; then
8787	  prefix_cmds="$prefix_cmds -e 1d";
8788	fi~
8789	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8790	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8791	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8792	emximp -o $lib $output_objdir/$libname.def'
8793      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8794      enable_shared_with_static_runtimes=yes
8795      ;;
8796
8797    interix[3-9]*)
8798      hardcode_direct=no
8799      hardcode_shlibpath_var=no
8800      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
8801      export_dynamic_flag_spec='$wl-E'
8802      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8803      # Instead, shared libraries are loaded at an image base (0x10000000 by
8804      # default) and relocated if they conflict, which is a slow very memory
8805      # consuming and fragmenting process.  To avoid this, we pick a random,
8806      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8807      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8808      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8809      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'
8810      ;;
8811
8812    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8813      tmp_diet=no
8814      if test linux-dietlibc = "$host_os"; then
8815	case $cc_basename in
8816	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8817	esac
8818      fi
8819      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8820	 && test no = "$tmp_diet"
8821      then
8822	tmp_addflag=' $pic_flag'
8823	tmp_sharedflag='-shared'
8824	case $cc_basename,$host_cpu in
8825        pgcc*)				# Portland Group C compiler
8826	  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'
8827	  tmp_addflag=' $pic_flag'
8828	  ;;
8829	pgf77* | pgf90* | pgf95* | pgfortran*)
8830					# Portland Group f77 and f90 compilers
8831	  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'
8832	  tmp_addflag=' $pic_flag -Mnomain' ;;
8833	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8834	  tmp_addflag=' -i_dynamic' ;;
8835	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8836	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8837	ifc* | ifort*)			# Intel Fortran compiler
8838	  tmp_addflag=' -nofor_main' ;;
8839	lf95*)				# Lahey Fortran 8.1
8840	  whole_archive_flag_spec=
8841	  tmp_sharedflag='--shared' ;;
8842        nagfor*)                        # NAGFOR 5.3
8843          tmp_sharedflag='-Wl,-shared' ;;
8844	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8845	  tmp_sharedflag='-qmkshrobj'
8846	  tmp_addflag= ;;
8847	nvcc*)	# Cuda Compiler Driver 2.2
8848	  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'
8849	  compiler_needs_object=yes
8850	  ;;
8851	esac
8852	case `$CC -V 2>&1 | sed 5q` in
8853	*Sun\ C*)			# Sun C 5.9
8854	  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'
8855	  compiler_needs_object=yes
8856	  tmp_sharedflag='-G' ;;
8857	*Sun\ F*)			# Sun Fortran 8.3
8858	  tmp_sharedflag='-G' ;;
8859	esac
8860	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8861
8862        if test yes = "$supports_anon_versioning"; then
8863          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8864            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8865            echo "local: *; };" >> $output_objdir/$libname.ver~
8866            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8867        fi
8868
8869	case $cc_basename in
8870	tcc*)
8871	  export_dynamic_flag_spec='-rdynamic'
8872	  ;;
8873	xlf* | bgf* | bgxlf* | mpixlf*)
8874	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8875	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8876	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8877	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8878	  if test yes = "$supports_anon_versioning"; then
8879	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8880              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8881              echo "local: *; };" >> $output_objdir/$libname.ver~
8882              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8883	  fi
8884	  ;;
8885	esac
8886      else
8887        ld_shlibs=no
8888      fi
8889      ;;
8890
8891    netbsd*)
8892      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8893	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8894	wlarc=
8895      else
8896	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8897	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8898      fi
8899      ;;
8900
8901    solaris*)
8902      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8903	ld_shlibs=no
8904	cat <<_LT_EOF 1>&2
8905
8906*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8907*** create shared libraries on Solaris systems.  Therefore, libtool
8908*** is disabling shared libraries support.  We urge you to upgrade GNU
8909*** binutils to release 2.9.1 or newer.  Another option is to modify
8910*** your PATH or compiler configuration so that the native linker is
8911*** used, and then restart.
8912
8913_LT_EOF
8914      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8915	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8916	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8917      else
8918	ld_shlibs=no
8919      fi
8920      ;;
8921
8922    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8923      case `$LD -v 2>&1` in
8924        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8925	ld_shlibs=no
8926	cat <<_LT_EOF 1>&2
8927
8928*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8929*** reliably create shared libraries on SCO systems.  Therefore, libtool
8930*** is disabling shared libraries support.  We urge you to upgrade GNU
8931*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8932*** your PATH or compiler configuration so that the native linker is
8933*** used, and then restart.
8934
8935_LT_EOF
8936	;;
8937	*)
8938	  # For security reasons, it is highly recommended that you always
8939	  # use absolute paths for naming shared libraries, and exclude the
8940	  # DT_RUNPATH tag from executables and libraries.  But doing so
8941	  # requires that you compile everything twice, which is a pain.
8942	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8943	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8944	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8945	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8946	  else
8947	    ld_shlibs=no
8948	  fi
8949	;;
8950      esac
8951      ;;
8952
8953    sunos4*)
8954      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8955      wlarc=
8956      hardcode_direct=yes
8957      hardcode_shlibpath_var=no
8958      ;;
8959
8960    *)
8961      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8962	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8963	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8964      else
8965	ld_shlibs=no
8966      fi
8967      ;;
8968    esac
8969
8970    if test no = "$ld_shlibs"; then
8971      runpath_var=
8972      hardcode_libdir_flag_spec=
8973      export_dynamic_flag_spec=
8974      whole_archive_flag_spec=
8975    fi
8976  else
8977    # PORTME fill in a description of your system's linker (not GNU ld)
8978    case $host_os in
8979    aix3*)
8980      allow_undefined_flag=unsupported
8981      always_export_symbols=yes
8982      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'
8983      # Note: this linker hardcodes the directories in LIBPATH if there
8984      # are no directories specified by -L.
8985      hardcode_minus_L=yes
8986      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8987	# Neither direct hardcoding nor static linking is supported with a
8988	# broken collect2.
8989	hardcode_direct=unsupported
8990      fi
8991      ;;
8992
8993    aix[4-9]*)
8994      if test ia64 = "$host_cpu"; then
8995	# On IA64, the linker does run time linking by default, so we don't
8996	# have to do anything special.
8997	aix_use_runtimelinking=no
8998	exp_sym_flag='-Bexport'
8999	no_entry_flag=
9000      else
9001	# If we're using GNU nm, then we don't want the "-C" option.
9002	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9003	# Without the "-l" option, or with the "-B" option, AIX nm treats
9004	# weak defined symbols like other global defined symbols, whereas
9005	# GNU nm marks them as "W".
9006	# While the 'weak' keyword is ignored in the Export File, we need
9007	# it in the Import File for the 'aix-soname' feature, so we have
9008	# to replace the "-B" option with "-P" for AIX nm.
9009	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9010	  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'
9011	else
9012	  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'
9013	fi
9014	aix_use_runtimelinking=no
9015
9016	# Test if we are trying to use run time linking or normal
9017	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9018	# have runtime linking enabled, and use it for executables.
9019	# For shared libraries, we enable/disable runtime linking
9020	# depending on the kind of the shared library created -
9021	# when "with_aix_soname,aix_use_runtimelinking" is:
9022	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9023	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9024	#            lib.a           static archive
9025	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9026	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9027	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9028	#            lib.a(lib.so.V) shared, rtl:no
9029	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9030	#            lib.a           static archive
9031	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9032	  for ld_flag in $LDFLAGS; do
9033	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9034	    aix_use_runtimelinking=yes
9035	    break
9036	  fi
9037	  done
9038	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9039	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9040	    # so we don't have lib.a shared libs to link our executables.
9041	    # We have to force runtime linking in this case.
9042	    aix_use_runtimelinking=yes
9043	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9044	  fi
9045	  ;;
9046	esac
9047
9048	exp_sym_flag='-bexport'
9049	no_entry_flag='-bnoentry'
9050      fi
9051
9052      # When large executables or shared objects are built, AIX ld can
9053      # have problems creating the table of contents.  If linking a library
9054      # or program results in "error TOC overflow" add -mminimal-toc to
9055      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9056      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9057
9058      archive_cmds=''
9059      hardcode_direct=yes
9060      hardcode_direct_absolute=yes
9061      hardcode_libdir_separator=':'
9062      link_all_deplibs=yes
9063      file_list_spec='$wl-f,'
9064      case $with_aix_soname,$aix_use_runtimelinking in
9065      aix,*) ;; # traditional, no import file
9066      svr4,* | *,yes) # use import file
9067	# The Import File defines what to hardcode.
9068	hardcode_direct=no
9069	hardcode_direct_absolute=no
9070	;;
9071      esac
9072
9073      if test yes = "$GCC"; then
9074	case $host_os in aix4.[012]|aix4.[012].*)
9075	# We only want to do this on AIX 4.2 and lower, the check
9076	# below for broken collect2 doesn't work under 4.3+
9077	  collect2name=`$CC -print-prog-name=collect2`
9078	  if test -f "$collect2name" &&
9079	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9080	  then
9081	  # We have reworked collect2
9082	  :
9083	  else
9084	  # We have old collect2
9085	  hardcode_direct=unsupported
9086	  # It fails to find uninstalled libraries when the uninstalled
9087	  # path is not listed in the libpath.  Setting hardcode_minus_L
9088	  # to unsupported forces relinking
9089	  hardcode_minus_L=yes
9090	  hardcode_libdir_flag_spec='-L$libdir'
9091	  hardcode_libdir_separator=
9092	  fi
9093	  ;;
9094	esac
9095	shared_flag='-shared'
9096	if test yes = "$aix_use_runtimelinking"; then
9097	  shared_flag="$shared_flag "'$wl-G'
9098	fi
9099	# Need to ensure runtime linking is disabled for the traditional
9100	# shared library, or the linker may eventually find shared libraries
9101	# /with/ Import File - we do not want to mix them.
9102	shared_flag_aix='-shared'
9103	shared_flag_svr4='-shared $wl-G'
9104      else
9105	# not using gcc
9106	if test ia64 = "$host_cpu"; then
9107	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9108	# chokes on -Wl,-G. The following line is correct:
9109	  shared_flag='-G'
9110	else
9111	  if test yes = "$aix_use_runtimelinking"; then
9112	    shared_flag='$wl-G'
9113	  else
9114	    shared_flag='$wl-bM:SRE'
9115	  fi
9116	  shared_flag_aix='$wl-bM:SRE'
9117	  shared_flag_svr4='$wl-G'
9118	fi
9119      fi
9120
9121      export_dynamic_flag_spec='$wl-bexpall'
9122      # It seems that -bexpall does not export symbols beginning with
9123      # underscore (_), so it is better to generate a list of symbols to export.
9124      always_export_symbols=yes
9125      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9126	# Warning - without using the other runtime loading flags (-brtl),
9127	# -berok will link without error, but may produce a broken library.
9128	allow_undefined_flag='-berok'
9129        # Determine the default libpath from the value encoded in an
9130        # empty executable.
9131        if test set = "${lt_cv_aix_libpath+set}"; then
9132  aix_libpath=$lt_cv_aix_libpath
9133else
9134  if ${lt_cv_aix_libpath_+:} false; then :
9135  $as_echo_n "(cached) " >&6
9136else
9137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138/* end confdefs.h.  */
9139
9140int
9141main ()
9142{
9143
9144  ;
9145  return 0;
9146}
9147_ACEOF
9148if ac_fn_c_try_link "$LINENO"; then :
9149
9150  lt_aix_libpath_sed='
9151      /Import File Strings/,/^$/ {
9152	  /^0/ {
9153	      s/^0  *\([^ ]*\) *$/\1/
9154	      p
9155	  }
9156      }'
9157  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9158  # Check for a 64-bit object if we didn't find anything.
9159  if test -z "$lt_cv_aix_libpath_"; then
9160    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9161  fi
9162fi
9163rm -f core conftest.err conftest.$ac_objext \
9164    conftest$ac_exeext conftest.$ac_ext
9165  if test -z "$lt_cv_aix_libpath_"; then
9166    lt_cv_aix_libpath_=/usr/lib:/lib
9167  fi
9168
9169fi
9170
9171  aix_libpath=$lt_cv_aix_libpath_
9172fi
9173
9174        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9175        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
9176      else
9177	if test ia64 = "$host_cpu"; then
9178	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9179	  allow_undefined_flag="-z nodefs"
9180	  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"
9181	else
9182	 # Determine the default libpath from the value encoded in an
9183	 # empty executable.
9184	 if test set = "${lt_cv_aix_libpath+set}"; then
9185  aix_libpath=$lt_cv_aix_libpath
9186else
9187  if ${lt_cv_aix_libpath_+:} false; then :
9188  $as_echo_n "(cached) " >&6
9189else
9190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191/* end confdefs.h.  */
9192
9193int
9194main ()
9195{
9196
9197  ;
9198  return 0;
9199}
9200_ACEOF
9201if ac_fn_c_try_link "$LINENO"; then :
9202
9203  lt_aix_libpath_sed='
9204      /Import File Strings/,/^$/ {
9205	  /^0/ {
9206	      s/^0  *\([^ ]*\) *$/\1/
9207	      p
9208	  }
9209      }'
9210  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9211  # Check for a 64-bit object if we didn't find anything.
9212  if test -z "$lt_cv_aix_libpath_"; then
9213    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9214  fi
9215fi
9216rm -f core conftest.err conftest.$ac_objext \
9217    conftest$ac_exeext conftest.$ac_ext
9218  if test -z "$lt_cv_aix_libpath_"; then
9219    lt_cv_aix_libpath_=/usr/lib:/lib
9220  fi
9221
9222fi
9223
9224  aix_libpath=$lt_cv_aix_libpath_
9225fi
9226
9227	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9228	  # Warning - without using the other run time loading flags,
9229	  # -berok will link without error, but may produce a broken library.
9230	  no_undefined_flag=' $wl-bernotok'
9231	  allow_undefined_flag=' $wl-berok'
9232	  if test yes = "$with_gnu_ld"; then
9233	    # We only use this code for GNU lds that support --whole-archive.
9234	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9235	  else
9236	    # Exported symbols can be pulled into shared objects from archives
9237	    whole_archive_flag_spec='$convenience'
9238	  fi
9239	  archive_cmds_need_lc=yes
9240	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9241	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9242	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9243	  if test svr4 != "$with_aix_soname"; then
9244	    # This is similar to how AIX traditionally builds its shared libraries.
9245	    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'
9246	  fi
9247	  if test aix != "$with_aix_soname"; then
9248	    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'
9249	  else
9250	    # used by -dlpreopen to get the symbols
9251	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9252	  fi
9253	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9254	fi
9255      fi
9256      ;;
9257
9258    amigaos*)
9259      case $host_cpu in
9260      powerpc)
9261            # see comment about AmigaOS4 .so support
9262            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9263            archive_expsym_cmds=''
9264        ;;
9265      m68k)
9266            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)'
9267            hardcode_libdir_flag_spec='-L$libdir'
9268            hardcode_minus_L=yes
9269        ;;
9270      esac
9271      ;;
9272
9273    bsdi[45]*)
9274      export_dynamic_flag_spec=-rdynamic
9275      ;;
9276
9277    cygwin* | mingw* | pw32* | cegcc*)
9278      # When not using gcc, we currently assume that we are using
9279      # Microsoft Visual C++.
9280      # hardcode_libdir_flag_spec is actually meaningless, as there is
9281      # no search path for DLLs.
9282      case $cc_basename in
9283      cl*)
9284	# Native MSVC
9285	hardcode_libdir_flag_spec=' '
9286	allow_undefined_flag=unsupported
9287	always_export_symbols=yes
9288	file_list_spec='@'
9289	# Tell ltmain to make .lib files, not .a files.
9290	libext=lib
9291	# Tell ltmain to make .dll files, not .so files.
9292	shrext_cmds=.dll
9293	# FIXME: Setting linknames here is a bad hack.
9294	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9295	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9296            cp "$export_symbols" "$output_objdir/$soname.def";
9297            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9298          else
9299            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9300          fi~
9301          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9302          linknames='
9303	# The linker will not automatically build a static lib if we build a DLL.
9304	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9305	enable_shared_with_static_runtimes=yes
9306	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9307	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9308	# Don't use ranlib
9309	old_postinstall_cmds='chmod 644 $oldlib'
9310	postlink_cmds='lt_outputfile="@OUTPUT@"~
9311          lt_tool_outputfile="@TOOL_OUTPUT@"~
9312          case $lt_outputfile in
9313            *.exe|*.EXE) ;;
9314            *)
9315              lt_outputfile=$lt_outputfile.exe
9316              lt_tool_outputfile=$lt_tool_outputfile.exe
9317              ;;
9318          esac~
9319          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9320            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9321            $RM "$lt_outputfile.manifest";
9322          fi'
9323	;;
9324      *)
9325	# Assume MSVC wrapper
9326	hardcode_libdir_flag_spec=' '
9327	allow_undefined_flag=unsupported
9328	# Tell ltmain to make .lib files, not .a files.
9329	libext=lib
9330	# Tell ltmain to make .dll files, not .so files.
9331	shrext_cmds=.dll
9332	# FIXME: Setting linknames here is a bad hack.
9333	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9334	# The linker will automatically build a .lib file if we build a DLL.
9335	old_archive_from_new_cmds='true'
9336	# FIXME: Should let the user specify the lib program.
9337	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9338	enable_shared_with_static_runtimes=yes
9339	;;
9340      esac
9341      ;;
9342
9343    darwin* | rhapsody*)
9344
9345
9346  archive_cmds_need_lc=no
9347  hardcode_direct=no
9348  hardcode_automatic=yes
9349  hardcode_shlibpath_var=unsupported
9350  if test yes = "$lt_cv_ld_force_load"; then
9351    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\"`'
9352
9353  else
9354    whole_archive_flag_spec=''
9355  fi
9356  link_all_deplibs=yes
9357  allow_undefined_flag=$_lt_dar_allow_undefined
9358  case $cc_basename in
9359     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9360     *) _lt_dar_can_shared=$GCC ;;
9361  esac
9362  if test yes = "$_lt_dar_can_shared"; then
9363    output_verbose_link_cmd=func_echo_all
9364    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9365    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9366    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"
9367    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"
9368
9369  else
9370  ld_shlibs=no
9371  fi
9372
9373      ;;
9374
9375    dgux*)
9376      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9377      hardcode_libdir_flag_spec='-L$libdir'
9378      hardcode_shlibpath_var=no
9379      ;;
9380
9381    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9382    # support.  Future versions do this automatically, but an explicit c++rt0.o
9383    # does not break anything, and helps significantly (at the cost of a little
9384    # extra space).
9385    freebsd2.2*)
9386      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9387      hardcode_libdir_flag_spec='-R$libdir'
9388      hardcode_direct=yes
9389      hardcode_shlibpath_var=no
9390      ;;
9391
9392    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9393    freebsd2.*)
9394      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9395      hardcode_direct=yes
9396      hardcode_minus_L=yes
9397      hardcode_shlibpath_var=no
9398      ;;
9399
9400    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9401    freebsd* | dragonfly*)
9402      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9403      hardcode_libdir_flag_spec='-R$libdir'
9404      hardcode_direct=yes
9405      hardcode_shlibpath_var=no
9406      ;;
9407
9408    hpux9*)
9409      if test yes = "$GCC"; then
9410	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'
9411      else
9412	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'
9413      fi
9414      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9415      hardcode_libdir_separator=:
9416      hardcode_direct=yes
9417
9418      # hardcode_minus_L: Not really in the search PATH,
9419      # but as the default location of the library.
9420      hardcode_minus_L=yes
9421      export_dynamic_flag_spec='$wl-E'
9422      ;;
9423
9424    hpux10*)
9425      if test yes,no = "$GCC,$with_gnu_ld"; then
9426	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9427      else
9428	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9429      fi
9430      if test no = "$with_gnu_ld"; then
9431	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9432	hardcode_libdir_separator=:
9433	hardcode_direct=yes
9434	hardcode_direct_absolute=yes
9435	export_dynamic_flag_spec='$wl-E'
9436	# hardcode_minus_L: Not really in the search PATH,
9437	# but as the default location of the library.
9438	hardcode_minus_L=yes
9439      fi
9440      ;;
9441
9442    hpux11*)
9443      if test yes,no = "$GCC,$with_gnu_ld"; then
9444	case $host_cpu in
9445	hppa*64*)
9446	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9447	  ;;
9448	ia64*)
9449	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9450	  ;;
9451	*)
9452	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9453	  ;;
9454	esac
9455      else
9456	case $host_cpu in
9457	hppa*64*)
9458	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9459	  ;;
9460	ia64*)
9461	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9462	  ;;
9463	*)
9464
9465	  # Older versions of the 11.00 compiler do not understand -b yet
9466	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9467	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9468$as_echo_n "checking if $CC understands -b... " >&6; }
9469if ${lt_cv_prog_compiler__b+:} false; then :
9470  $as_echo_n "(cached) " >&6
9471else
9472  lt_cv_prog_compiler__b=no
9473   save_LDFLAGS=$LDFLAGS
9474   LDFLAGS="$LDFLAGS -b"
9475   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9476   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9477     # The linker can only warn and ignore the option if not recognized
9478     # So say no if there are warnings
9479     if test -s conftest.err; then
9480       # Append any errors to the config.log.
9481       cat conftest.err 1>&5
9482       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9483       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9484       if diff conftest.exp conftest.er2 >/dev/null; then
9485         lt_cv_prog_compiler__b=yes
9486       fi
9487     else
9488       lt_cv_prog_compiler__b=yes
9489     fi
9490   fi
9491   $RM -r conftest*
9492   LDFLAGS=$save_LDFLAGS
9493
9494fi
9495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9496$as_echo "$lt_cv_prog_compiler__b" >&6; }
9497
9498if test yes = "$lt_cv_prog_compiler__b"; then
9499    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9500else
9501    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9502fi
9503
9504	  ;;
9505	esac
9506      fi
9507      if test no = "$with_gnu_ld"; then
9508	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9509	hardcode_libdir_separator=:
9510
9511	case $host_cpu in
9512	hppa*64*|ia64*)
9513	  hardcode_direct=no
9514	  hardcode_shlibpath_var=no
9515	  ;;
9516	*)
9517	  hardcode_direct=yes
9518	  hardcode_direct_absolute=yes
9519	  export_dynamic_flag_spec='$wl-E'
9520
9521	  # hardcode_minus_L: Not really in the search PATH,
9522	  # but as the default location of the library.
9523	  hardcode_minus_L=yes
9524	  ;;
9525	esac
9526      fi
9527      ;;
9528
9529    irix5* | irix6* | nonstopux*)
9530      if test yes = "$GCC"; then
9531	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'
9532	# Try to use the -exported_symbol ld option, if it does not
9533	# work, assume that -exports_file does not work either and
9534	# implicitly export all symbols.
9535	# This should be the same for all languages, so no per-tag cache variable.
9536	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9537$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9538if ${lt_cv_irix_exported_symbol+:} false; then :
9539  $as_echo_n "(cached) " >&6
9540else
9541  save_LDFLAGS=$LDFLAGS
9542	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9543	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9544/* end confdefs.h.  */
9545int foo (void) { return 0; }
9546_ACEOF
9547if ac_fn_c_try_link "$LINENO"; then :
9548  lt_cv_irix_exported_symbol=yes
9549else
9550  lt_cv_irix_exported_symbol=no
9551fi
9552rm -f core conftest.err conftest.$ac_objext \
9553    conftest$ac_exeext conftest.$ac_ext
9554           LDFLAGS=$save_LDFLAGS
9555fi
9556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9557$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9558	if test yes = "$lt_cv_irix_exported_symbol"; then
9559          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'
9560	fi
9561      else
9562	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'
9563	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'
9564      fi
9565      archive_cmds_need_lc='no'
9566      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9567      hardcode_libdir_separator=:
9568      inherit_rpath=yes
9569      link_all_deplibs=yes
9570      ;;
9571
9572    linux*)
9573      case $cc_basename in
9574      tcc*)
9575	# Fabrice Bellard et al's Tiny C Compiler
9576	ld_shlibs=yes
9577	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9578	;;
9579      esac
9580      ;;
9581
9582    netbsd*)
9583      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9584	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9585      else
9586	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9587      fi
9588      hardcode_libdir_flag_spec='-R$libdir'
9589      hardcode_direct=yes
9590      hardcode_shlibpath_var=no
9591      ;;
9592
9593    newsos6)
9594      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595      hardcode_direct=yes
9596      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9597      hardcode_libdir_separator=:
9598      hardcode_shlibpath_var=no
9599      ;;
9600
9601    *nto* | *qnx*)
9602      ;;
9603
9604    openbsd* | bitrig*)
9605      if test -f /usr/libexec/ld.so; then
9606	hardcode_direct=yes
9607	hardcode_shlibpath_var=no
9608	hardcode_direct_absolute=yes
9609	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9610	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9611	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9612	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9613	  export_dynamic_flag_spec='$wl-E'
9614	else
9615	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9616	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9617	fi
9618      else
9619	ld_shlibs=no
9620      fi
9621      ;;
9622
9623    os2*)
9624      hardcode_libdir_flag_spec='-L$libdir'
9625      hardcode_minus_L=yes
9626      allow_undefined_flag=unsupported
9627      shrext_cmds=.dll
9628      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9629	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9630	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9631	$ECHO EXPORTS >> $output_objdir/$libname.def~
9632	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9633	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9634	emximp -o $lib $output_objdir/$libname.def'
9635      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9636	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9637	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9638	$ECHO EXPORTS >> $output_objdir/$libname.def~
9639	prefix_cmds="$SED"~
9640	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9641	  prefix_cmds="$prefix_cmds -e 1d";
9642	fi~
9643	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9644	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9645	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9646	emximp -o $lib $output_objdir/$libname.def'
9647      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9648      enable_shared_with_static_runtimes=yes
9649      ;;
9650
9651    osf3*)
9652      if test yes = "$GCC"; then
9653	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9654	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'
9655      else
9656	allow_undefined_flag=' -expect_unresolved \*'
9657	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'
9658      fi
9659      archive_cmds_need_lc='no'
9660      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9661      hardcode_libdir_separator=:
9662      ;;
9663
9664    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9665      if test yes = "$GCC"; then
9666	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9667	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'
9668	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9669      else
9670	allow_undefined_flag=' -expect_unresolved \*'
9671	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'
9672	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~
9673          $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'
9674
9675	# Both c and cxx compiler support -rpath directly
9676	hardcode_libdir_flag_spec='-rpath $libdir'
9677      fi
9678      archive_cmds_need_lc='no'
9679      hardcode_libdir_separator=:
9680      ;;
9681
9682    solaris*)
9683      no_undefined_flag=' -z defs'
9684      if test yes = "$GCC"; then
9685	wlarc='$wl'
9686	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9687	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9688          $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'
9689      else
9690	case `$CC -V 2>&1` in
9691	*"Compilers 5.0"*)
9692	  wlarc=''
9693	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9695            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9696	  ;;
9697	*)
9698	  wlarc='$wl'
9699	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9700	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9701            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9702	  ;;
9703	esac
9704      fi
9705      hardcode_libdir_flag_spec='-R$libdir'
9706      hardcode_shlibpath_var=no
9707      case $host_os in
9708      solaris2.[0-5] | solaris2.[0-5].*) ;;
9709      *)
9710	# The compiler driver will combine and reorder linker options,
9711	# but understands '-z linker_flag'.  GCC discards it without '$wl',
9712	# but is careful enough not to reorder.
9713	# Supported since Solaris 2.6 (maybe 2.5.1?)
9714	if test yes = "$GCC"; then
9715	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9716	else
9717	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9718	fi
9719	;;
9720      esac
9721      link_all_deplibs=yes
9722      ;;
9723
9724    sunos4*)
9725      if test sequent = "$host_vendor"; then
9726	# Use $CC to link under sequent, because it throws in some extra .o
9727	# files that make .init and .fini sections work.
9728	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9729      else
9730	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9731      fi
9732      hardcode_libdir_flag_spec='-L$libdir'
9733      hardcode_direct=yes
9734      hardcode_minus_L=yes
9735      hardcode_shlibpath_var=no
9736      ;;
9737
9738    sysv4)
9739      case $host_vendor in
9740	sni)
9741	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9742	  hardcode_direct=yes # is this really true???
9743	;;
9744	siemens)
9745	  ## LD is ld it makes a PLAMLIB
9746	  ## CC just makes a GrossModule.
9747	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9748	  reload_cmds='$CC -r -o $output$reload_objs'
9749	  hardcode_direct=no
9750        ;;
9751	motorola)
9752	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9753	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9754	;;
9755      esac
9756      runpath_var='LD_RUN_PATH'
9757      hardcode_shlibpath_var=no
9758      ;;
9759
9760    sysv4.3*)
9761      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9762      hardcode_shlibpath_var=no
9763      export_dynamic_flag_spec='-Bexport'
9764      ;;
9765
9766    sysv4*MP*)
9767      if test -d /usr/nec; then
9768	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769	hardcode_shlibpath_var=no
9770	runpath_var=LD_RUN_PATH
9771	hardcode_runpath_var=yes
9772	ld_shlibs=yes
9773      fi
9774      ;;
9775
9776    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9777      no_undefined_flag='$wl-z,text'
9778      archive_cmds_need_lc=no
9779      hardcode_shlibpath_var=no
9780      runpath_var='LD_RUN_PATH'
9781
9782      if test yes = "$GCC"; then
9783	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9784	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9785      else
9786	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9787	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9788      fi
9789      ;;
9790
9791    sysv5* | sco3.2v5* | sco5v6*)
9792      # Note: We CANNOT use -z defs as we might desire, because we do not
9793      # link with -lc, and that would cause any symbols used from libc to
9794      # always be unresolved, which means just about no library would
9795      # ever link correctly.  If we're not using GNU ld we use -z text
9796      # though, which does catch some bad symbols but isn't as heavy-handed
9797      # as -z defs.
9798      no_undefined_flag='$wl-z,text'
9799      allow_undefined_flag='$wl-z,nodefs'
9800      archive_cmds_need_lc=no
9801      hardcode_shlibpath_var=no
9802      hardcode_libdir_flag_spec='$wl-R,$libdir'
9803      hardcode_libdir_separator=':'
9804      link_all_deplibs=yes
9805      export_dynamic_flag_spec='$wl-Bexport'
9806      runpath_var='LD_RUN_PATH'
9807
9808      if test yes = "$GCC"; then
9809	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811      else
9812	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9813	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9814      fi
9815      ;;
9816
9817    uts4*)
9818      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9819      hardcode_libdir_flag_spec='-L$libdir'
9820      hardcode_shlibpath_var=no
9821      ;;
9822
9823    *)
9824      ld_shlibs=no
9825      ;;
9826    esac
9827
9828    if test sni = "$host_vendor"; then
9829      case $host in
9830      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9831	export_dynamic_flag_spec='$wl-Blargedynsym'
9832	;;
9833      esac
9834    fi
9835  fi
9836
9837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9838$as_echo "$ld_shlibs" >&6; }
9839test no = "$ld_shlibs" && can_build_shared=no
9840
9841with_gnu_ld=$with_gnu_ld
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857#
9858# Do we need to explicitly link libc?
9859#
9860case "x$archive_cmds_need_lc" in
9861x|xyes)
9862  # Assume -lc should be added
9863  archive_cmds_need_lc=yes
9864
9865  if test yes,yes = "$GCC,$enable_shared"; then
9866    case $archive_cmds in
9867    *'~'*)
9868      # FIXME: we may have to deal with multi-command sequences.
9869      ;;
9870    '$CC '*)
9871      # Test whether the compiler implicitly links with -lc since on some
9872      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9873      # to ld, don't add -lc before -lgcc.
9874      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9875$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9876if ${lt_cv_archive_cmds_need_lc+:} false; then :
9877  $as_echo_n "(cached) " >&6
9878else
9879  $RM conftest*
9880	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9881
9882	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9883  (eval $ac_compile) 2>&5
9884  ac_status=$?
9885  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9886  test $ac_status = 0; } 2>conftest.err; then
9887	  soname=conftest
9888	  lib=conftest
9889	  libobjs=conftest.$ac_objext
9890	  deplibs=
9891	  wl=$lt_prog_compiler_wl
9892	  pic_flag=$lt_prog_compiler_pic
9893	  compiler_flags=-v
9894	  linker_flags=-v
9895	  verstring=
9896	  output_objdir=.
9897	  libname=conftest
9898	  lt_save_allow_undefined_flag=$allow_undefined_flag
9899	  allow_undefined_flag=
9900	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9901  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9902  ac_status=$?
9903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9904  test $ac_status = 0; }
9905	  then
9906	    lt_cv_archive_cmds_need_lc=no
9907	  else
9908	    lt_cv_archive_cmds_need_lc=yes
9909	  fi
9910	  allow_undefined_flag=$lt_save_allow_undefined_flag
9911	else
9912	  cat conftest.err 1>&5
9913	fi
9914	$RM conftest*
9915
9916fi
9917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9918$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9919      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9920      ;;
9921    esac
9922  fi
9923  ;;
9924esac
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10078$as_echo_n "checking dynamic linker characteristics... " >&6; }
10079
10080if test yes = "$GCC"; then
10081  case $host_os in
10082    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10083    *) lt_awk_arg='/^libraries:/' ;;
10084  esac
10085  case $host_os in
10086    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10087    *) lt_sed_strip_eq='s|=/|/|g' ;;
10088  esac
10089  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10090  case $lt_search_path_spec in
10091  *\;*)
10092    # if the path contains ";" then we assume it to be the separator
10093    # otherwise default to the standard path separator (i.e. ":") - it is
10094    # assumed that no part of a normal pathname contains ";" but that should
10095    # okay in the real world where ";" in dirpaths is itself problematic.
10096    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10097    ;;
10098  *)
10099    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10100    ;;
10101  esac
10102  # Ok, now we have the path, separated by spaces, we can step through it
10103  # and add multilib dir if necessary...
10104  lt_tmp_lt_search_path_spec=
10105  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10106  # ...but if some path component already ends with the multilib dir we assume
10107  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10108  case "$lt_multi_os_dir; $lt_search_path_spec " in
10109  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10110    lt_multi_os_dir=
10111    ;;
10112  esac
10113  for lt_sys_path in $lt_search_path_spec; do
10114    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10115      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10116    elif test -n "$lt_multi_os_dir"; then
10117      test -d "$lt_sys_path" && \
10118	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10119    fi
10120  done
10121  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10122BEGIN {RS = " "; FS = "/|\n";} {
10123  lt_foo = "";
10124  lt_count = 0;
10125  for (lt_i = NF; lt_i > 0; lt_i--) {
10126    if ($lt_i != "" && $lt_i != ".") {
10127      if ($lt_i == "..") {
10128        lt_count++;
10129      } else {
10130        if (lt_count == 0) {
10131          lt_foo = "/" $lt_i lt_foo;
10132        } else {
10133          lt_count--;
10134        }
10135      }
10136    }
10137  }
10138  if (lt_foo != "") { lt_freq[lt_foo]++; }
10139  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10140}'`
10141  # AWK program above erroneously prepends '/' to C:/dos/paths
10142  # for these hosts.
10143  case $host_os in
10144    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10145      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10146  esac
10147  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10148else
10149  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10150fi
10151library_names_spec=
10152libname_spec='lib$name'
10153soname_spec=
10154shrext_cmds=.so
10155postinstall_cmds=
10156postuninstall_cmds=
10157finish_cmds=
10158finish_eval=
10159shlibpath_var=
10160shlibpath_overrides_runpath=unknown
10161version_type=none
10162dynamic_linker="$host_os ld.so"
10163sys_lib_dlsearch_path_spec="/lib /usr/lib"
10164need_lib_prefix=unknown
10165hardcode_into_libs=no
10166
10167# when you set need_version to no, make sure it does not cause -set_version
10168# flags to be left without arguments
10169need_version=unknown
10170
10171
10172
10173case $host_os in
10174aix3*)
10175  version_type=linux # correct to gnu/linux during the next big refactor
10176  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10177  shlibpath_var=LIBPATH
10178
10179  # AIX 3 has no versioning support, so we append a major version to the name.
10180  soname_spec='$libname$release$shared_ext$major'
10181  ;;
10182
10183aix[4-9]*)
10184  version_type=linux # correct to gnu/linux during the next big refactor
10185  need_lib_prefix=no
10186  need_version=no
10187  hardcode_into_libs=yes
10188  if test ia64 = "$host_cpu"; then
10189    # AIX 5 supports IA64
10190    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10191    shlibpath_var=LD_LIBRARY_PATH
10192  else
10193    # With GCC up to 2.95.x, collect2 would create an import file
10194    # for dependence libraries.  The import file would start with
10195    # the line '#! .'.  This would cause the generated library to
10196    # depend on '.', always an invalid library.  This was fixed in
10197    # development snapshots of GCC prior to 3.0.
10198    case $host_os in
10199      aix4 | aix4.[01] | aix4.[01].*)
10200      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10201	   echo ' yes '
10202	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10203	:
10204      else
10205	can_build_shared=no
10206      fi
10207      ;;
10208    esac
10209    # Using Import Files as archive members, it is possible to support
10210    # filename-based versioning of shared library archives on AIX. While
10211    # this would work for both with and without runtime linking, it will
10212    # prevent static linking of such archives. So we do filename-based
10213    # shared library versioning with .so extension only, which is used
10214    # when both runtime linking and shared linking is enabled.
10215    # Unfortunately, runtime linking may impact performance, so we do
10216    # not want this to be the default eventually. Also, we use the
10217    # versioned .so libs for executables only if there is the -brtl
10218    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10219    # To allow for filename-based versioning support, we need to create
10220    # libNAME.so.V as an archive file, containing:
10221    # *) an Import File, referring to the versioned filename of the
10222    #    archive as well as the shared archive member, telling the
10223    #    bitwidth (32 or 64) of that shared object, and providing the
10224    #    list of exported symbols of that shared object, eventually
10225    #    decorated with the 'weak' keyword
10226    # *) the shared object with the F_LOADONLY flag set, to really avoid
10227    #    it being seen by the linker.
10228    # At run time we better use the real file rather than another symlink,
10229    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10230
10231    case $with_aix_soname,$aix_use_runtimelinking in
10232    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10233    # soname into executable. Probably we can add versioning support to
10234    # collect2, so additional links can be useful in future.
10235    aix,yes) # traditional libtool
10236      dynamic_linker='AIX unversionable lib.so'
10237      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10238      # instead of lib<name>.a to let people know that these are not
10239      # typical AIX shared libraries.
10240      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10241      ;;
10242    aix,no) # traditional AIX only
10243      dynamic_linker='AIX lib.a(lib.so.V)'
10244      # We preserve .a as extension for shared libraries through AIX4.2
10245      # and later when we are not doing run time linking.
10246      library_names_spec='$libname$release.a $libname.a'
10247      soname_spec='$libname$release$shared_ext$major'
10248      ;;
10249    svr4,*) # full svr4 only
10250      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10251      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10252      # We do not specify a path in Import Files, so LIBPATH fires.
10253      shlibpath_overrides_runpath=yes
10254      ;;
10255    *,yes) # both, prefer svr4
10256      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10257      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10258      # unpreferred sharedlib libNAME.a needs extra handling
10259      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"'
10260      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"'
10261      # We do not specify a path in Import Files, so LIBPATH fires.
10262      shlibpath_overrides_runpath=yes
10263      ;;
10264    *,no) # both, prefer aix
10265      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10266      library_names_spec='$libname$release.a $libname.a'
10267      soname_spec='$libname$release$shared_ext$major'
10268      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10269      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)'
10270      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"'
10271      ;;
10272    esac
10273    shlibpath_var=LIBPATH
10274  fi
10275  ;;
10276
10277amigaos*)
10278  case $host_cpu in
10279  powerpc)
10280    # Since July 2007 AmigaOS4 officially supports .so libraries.
10281    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10282    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10283    ;;
10284  m68k)
10285    library_names_spec='$libname.ixlibrary $libname.a'
10286    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10287    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'
10288    ;;
10289  esac
10290  ;;
10291
10292beos*)
10293  library_names_spec='$libname$shared_ext'
10294  dynamic_linker="$host_os ld.so"
10295  shlibpath_var=LIBRARY_PATH
10296  ;;
10297
10298bsdi[45]*)
10299  version_type=linux # correct to gnu/linux during the next big refactor
10300  need_version=no
10301  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10302  soname_spec='$libname$release$shared_ext$major'
10303  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10304  shlibpath_var=LD_LIBRARY_PATH
10305  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10306  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10307  # the default ld.so.conf also contains /usr/contrib/lib and
10308  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10309  # libtool to hard-code these into programs
10310  ;;
10311
10312cygwin* | mingw* | pw32* | cegcc*)
10313  version_type=windows
10314  shrext_cmds=.dll
10315  need_version=no
10316  need_lib_prefix=no
10317
10318  case $GCC,$cc_basename in
10319  yes,*)
10320    # gcc
10321    library_names_spec='$libname.dll.a'
10322    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10323    postinstall_cmds='base_file=`basename \$file`~
10324      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10325      dldir=$destdir/`dirname \$dlpath`~
10326      test -d \$dldir || mkdir -p \$dldir~
10327      $install_prog $dir/$dlname \$dldir/$dlname~
10328      chmod a+x \$dldir/$dlname~
10329      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10330        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10331      fi'
10332    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10333      dlpath=$dir/\$dldll~
10334       $RM \$dlpath'
10335    shlibpath_overrides_runpath=yes
10336
10337    case $host_os in
10338    cygwin*)
10339      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10340      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10341
10342      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10343      ;;
10344    mingw* | cegcc*)
10345      # MinGW DLLs use traditional 'lib' prefix
10346      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10347      ;;
10348    pw32*)
10349      # pw32 DLLs use 'pw' prefix rather than 'lib'
10350      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10351      ;;
10352    esac
10353    dynamic_linker='Win32 ld.exe'
10354    ;;
10355
10356  *,cl*)
10357    # Native MSVC
10358    libname_spec='$name'
10359    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10360    library_names_spec='$libname.dll.lib'
10361
10362    case $build_os in
10363    mingw*)
10364      sys_lib_search_path_spec=
10365      lt_save_ifs=$IFS
10366      IFS=';'
10367      for lt_path in $LIB
10368      do
10369        IFS=$lt_save_ifs
10370        # Let DOS variable expansion print the short 8.3 style file name.
10371        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10372        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10373      done
10374      IFS=$lt_save_ifs
10375      # Convert to MSYS style.
10376      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10377      ;;
10378    cygwin*)
10379      # Convert to unix form, then to dos form, then back to unix form
10380      # but this time dos style (no spaces!) so that the unix form looks
10381      # like /cygdrive/c/PROGRA~1:/cygdr...
10382      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10383      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10384      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10385      ;;
10386    *)
10387      sys_lib_search_path_spec=$LIB
10388      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10389        # It is most probably a Windows format PATH.
10390        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10391      else
10392        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10393      fi
10394      # FIXME: find the short name or the path components, as spaces are
10395      # common. (e.g. "Program Files" -> "PROGRA~1")
10396      ;;
10397    esac
10398
10399    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10400    postinstall_cmds='base_file=`basename \$file`~
10401      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10402      dldir=$destdir/`dirname \$dlpath`~
10403      test -d \$dldir || mkdir -p \$dldir~
10404      $install_prog $dir/$dlname \$dldir/$dlname'
10405    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10406      dlpath=$dir/\$dldll~
10407       $RM \$dlpath'
10408    shlibpath_overrides_runpath=yes
10409    dynamic_linker='Win32 link.exe'
10410    ;;
10411
10412  *)
10413    # Assume MSVC wrapper
10414    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10415    dynamic_linker='Win32 ld.exe'
10416    ;;
10417  esac
10418  # FIXME: first we should search . and the directory the executable is in
10419  shlibpath_var=PATH
10420  ;;
10421
10422darwin* | rhapsody*)
10423  dynamic_linker="$host_os dyld"
10424  version_type=darwin
10425  need_lib_prefix=no
10426  need_version=no
10427  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10428  soname_spec='$libname$release$major$shared_ext'
10429  shlibpath_overrides_runpath=yes
10430  shlibpath_var=DYLD_LIBRARY_PATH
10431  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10432
10433  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10434  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10435  ;;
10436
10437dgux*)
10438  version_type=linux # correct to gnu/linux during the next big refactor
10439  need_lib_prefix=no
10440  need_version=no
10441  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10442  soname_spec='$libname$release$shared_ext$major'
10443  shlibpath_var=LD_LIBRARY_PATH
10444  ;;
10445
10446freebsd* | dragonfly*)
10447  # DragonFly does not have aout.  When/if they implement a new
10448  # versioning mechanism, adjust this.
10449  if test -x /usr/bin/objformat; then
10450    objformat=`/usr/bin/objformat`
10451  else
10452    case $host_os in
10453    freebsd[23].*) objformat=aout ;;
10454    *) objformat=elf ;;
10455    esac
10456  fi
10457  version_type=freebsd-$objformat
10458  case $version_type in
10459    freebsd-elf*)
10460      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10461      soname_spec='$libname$release$shared_ext$major'
10462      need_version=no
10463      need_lib_prefix=no
10464      ;;
10465    freebsd-*)
10466      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10467      need_version=yes
10468      ;;
10469  esac
10470  shlibpath_var=LD_LIBRARY_PATH
10471  case $host_os in
10472  freebsd2.*)
10473    shlibpath_overrides_runpath=yes
10474    ;;
10475  freebsd3.[01]* | freebsdelf3.[01]*)
10476    shlibpath_overrides_runpath=yes
10477    hardcode_into_libs=yes
10478    ;;
10479  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10480  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10481    shlibpath_overrides_runpath=no
10482    hardcode_into_libs=yes
10483    ;;
10484  *) # from 4.6 on, and DragonFly
10485    shlibpath_overrides_runpath=yes
10486    hardcode_into_libs=yes
10487    ;;
10488  esac
10489  ;;
10490
10491haiku*)
10492  version_type=linux # correct to gnu/linux during the next big refactor
10493  need_lib_prefix=no
10494  need_version=no
10495  dynamic_linker="$host_os runtime_loader"
10496  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10497  soname_spec='$libname$release$shared_ext$major'
10498  shlibpath_var=LIBRARY_PATH
10499  shlibpath_overrides_runpath=no
10500  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10501  hardcode_into_libs=yes
10502  ;;
10503
10504hpux9* | hpux10* | hpux11*)
10505  # Give a soname corresponding to the major version so that dld.sl refuses to
10506  # link against other versions.
10507  version_type=sunos
10508  need_lib_prefix=no
10509  need_version=no
10510  case $host_cpu in
10511  ia64*)
10512    shrext_cmds='.so'
10513    hardcode_into_libs=yes
10514    dynamic_linker="$host_os dld.so"
10515    shlibpath_var=LD_LIBRARY_PATH
10516    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10517    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10518    soname_spec='$libname$release$shared_ext$major'
10519    if test 32 = "$HPUX_IA64_MODE"; then
10520      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10521      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10522    else
10523      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10524      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10525    fi
10526    ;;
10527  hppa*64*)
10528    shrext_cmds='.sl'
10529    hardcode_into_libs=yes
10530    dynamic_linker="$host_os dld.sl"
10531    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10532    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10533    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10534    soname_spec='$libname$release$shared_ext$major'
10535    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10536    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10537    ;;
10538  *)
10539    shrext_cmds='.sl'
10540    dynamic_linker="$host_os dld.sl"
10541    shlibpath_var=SHLIB_PATH
10542    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10543    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10544    soname_spec='$libname$release$shared_ext$major'
10545    ;;
10546  esac
10547  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10548  postinstall_cmds='chmod 555 $lib'
10549  # or fails outright, so override atomically:
10550  install_override_mode=555
10551  ;;
10552
10553interix[3-9]*)
10554  version_type=linux # correct to gnu/linux during the next big refactor
10555  need_lib_prefix=no
10556  need_version=no
10557  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10558  soname_spec='$libname$release$shared_ext$major'
10559  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10560  shlibpath_var=LD_LIBRARY_PATH
10561  shlibpath_overrides_runpath=no
10562  hardcode_into_libs=yes
10563  ;;
10564
10565irix5* | irix6* | nonstopux*)
10566  case $host_os in
10567    nonstopux*) version_type=nonstopux ;;
10568    *)
10569	if test yes = "$lt_cv_prog_gnu_ld"; then
10570		version_type=linux # correct to gnu/linux during the next big refactor
10571	else
10572		version_type=irix
10573	fi ;;
10574  esac
10575  need_lib_prefix=no
10576  need_version=no
10577  soname_spec='$libname$release$shared_ext$major'
10578  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10579  case $host_os in
10580  irix5* | nonstopux*)
10581    libsuff= shlibsuff=
10582    ;;
10583  *)
10584    case $LD in # libtool.m4 will add one of these switches to LD
10585    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10586      libsuff= shlibsuff= libmagic=32-bit;;
10587    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10588      libsuff=32 shlibsuff=N32 libmagic=N32;;
10589    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10590      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10591    *) libsuff= shlibsuff= libmagic=never-match;;
10592    esac
10593    ;;
10594  esac
10595  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10596  shlibpath_overrides_runpath=no
10597  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10598  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10599  hardcode_into_libs=yes
10600  ;;
10601
10602# No shared lib support for Linux oldld, aout, or coff.
10603linux*oldld* | linux*aout* | linux*coff*)
10604  dynamic_linker=no
10605  ;;
10606
10607linux*android*)
10608  version_type=none # Android doesn't support versioned libraries.
10609  need_lib_prefix=no
10610  need_version=no
10611  library_names_spec='$libname$release$shared_ext'
10612  soname_spec='$libname$release$shared_ext'
10613  finish_cmds=
10614  shlibpath_var=LD_LIBRARY_PATH
10615  shlibpath_overrides_runpath=yes
10616
10617  # This implies no fast_install, which is unacceptable.
10618  # Some rework will be needed to allow for fast_install
10619  # before this can be enabled.
10620  hardcode_into_libs=yes
10621
10622  dynamic_linker='Android linker'
10623  # Don't embed -rpath directories since the linker doesn't support them.
10624  hardcode_libdir_flag_spec='-L$libdir'
10625  ;;
10626
10627# This must be glibc/ELF.
10628linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10629  version_type=linux # correct to gnu/linux during the next big refactor
10630  need_lib_prefix=no
10631  need_version=no
10632  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10633  soname_spec='$libname$release$shared_ext$major'
10634  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10635  shlibpath_var=LD_LIBRARY_PATH
10636  shlibpath_overrides_runpath=no
10637
10638  # Some binutils ld are patched to set DT_RUNPATH
10639  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10640  $as_echo_n "(cached) " >&6
10641else
10642  lt_cv_shlibpath_overrides_runpath=no
10643    save_LDFLAGS=$LDFLAGS
10644    save_libdir=$libdir
10645    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10646	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10647    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648/* end confdefs.h.  */
10649
10650int
10651main ()
10652{
10653
10654  ;
10655  return 0;
10656}
10657_ACEOF
10658if ac_fn_c_try_link "$LINENO"; then :
10659  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10660  lt_cv_shlibpath_overrides_runpath=yes
10661fi
10662fi
10663rm -f core conftest.err conftest.$ac_objext \
10664    conftest$ac_exeext conftest.$ac_ext
10665    LDFLAGS=$save_LDFLAGS
10666    libdir=$save_libdir
10667
10668fi
10669
10670  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10671
10672  # This implies no fast_install, which is unacceptable.
10673  # Some rework will be needed to allow for fast_install
10674  # before this can be enabled.
10675  hardcode_into_libs=yes
10676
10677  # Ideally, we could use ldconfig to report *all* directores which are
10678  # searched for libraries, however this is still not possible.  Aside from not
10679  # being certain /sbin/ldconfig is available, command
10680  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10681  # even though it is searched at run-time.  Try to do the best guess by
10682  # appending ld.so.conf contents (and includes) to the search path.
10683  if test -f /etc/ld.so.conf; then
10684    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' ' '`
10685    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10686  fi
10687
10688  # We used to test for /lib/ld.so.1 and disable shared libraries on
10689  # powerpc, because MkLinux only supported shared libraries with the
10690  # GNU dynamic linker.  Since this was broken with cross compilers,
10691  # most powerpc-linux boxes support dynamic linking these days and
10692  # people can always --disable-shared, the test was removed, and we
10693  # assume the GNU/Linux dynamic linker is in use.
10694  dynamic_linker='GNU/Linux ld.so'
10695  ;;
10696
10697netbsd*)
10698  version_type=sunos
10699  need_lib_prefix=no
10700  need_version=no
10701  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10702    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10703    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10704    dynamic_linker='NetBSD (a.out) ld.so'
10705  else
10706    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10707    soname_spec='$libname$release$shared_ext$major'
10708    dynamic_linker='NetBSD ld.elf_so'
10709  fi
10710  shlibpath_var=LD_LIBRARY_PATH
10711  shlibpath_overrides_runpath=yes
10712  hardcode_into_libs=yes
10713  ;;
10714
10715newsos6)
10716  version_type=linux # correct to gnu/linux during the next big refactor
10717  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10718  shlibpath_var=LD_LIBRARY_PATH
10719  shlibpath_overrides_runpath=yes
10720  ;;
10721
10722*nto* | *qnx*)
10723  version_type=qnx
10724  need_lib_prefix=no
10725  need_version=no
10726  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10727  soname_spec='$libname$release$shared_ext$major'
10728  shlibpath_var=LD_LIBRARY_PATH
10729  shlibpath_overrides_runpath=no
10730  hardcode_into_libs=yes
10731  dynamic_linker='ldqnx.so'
10732  ;;
10733
10734openbsd* | bitrig*)
10735  version_type=sunos
10736  sys_lib_dlsearch_path_spec=/usr/lib
10737  need_lib_prefix=no
10738  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10739    need_version=no
10740  else
10741    need_version=yes
10742  fi
10743  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10744  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10745  shlibpath_var=LD_LIBRARY_PATH
10746  shlibpath_overrides_runpath=yes
10747  ;;
10748
10749os2*)
10750  libname_spec='$name'
10751  version_type=windows
10752  shrext_cmds=.dll
10753  need_version=no
10754  need_lib_prefix=no
10755  # OS/2 can only load a DLL with a base name of 8 characters or less.
10756  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
10757    v=$($ECHO $release$versuffix | tr -d .-);
10758    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10759    $ECHO $n$v`$shared_ext'
10760  library_names_spec='${libname}_dll.$libext'
10761  dynamic_linker='OS/2 ld.exe'
10762  shlibpath_var=BEGINLIBPATH
10763  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10764  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10765  postinstall_cmds='base_file=`basename \$file`~
10766    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10767    dldir=$destdir/`dirname \$dlpath`~
10768    test -d \$dldir || mkdir -p \$dldir~
10769    $install_prog $dir/$dlname \$dldir/$dlname~
10770    chmod a+x \$dldir/$dlname~
10771    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10772      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10773    fi'
10774  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10775    dlpath=$dir/\$dldll~
10776    $RM \$dlpath'
10777  ;;
10778
10779osf3* | osf4* | osf5*)
10780  version_type=osf
10781  need_lib_prefix=no
10782  need_version=no
10783  soname_spec='$libname$release$shared_ext$major'
10784  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10785  shlibpath_var=LD_LIBRARY_PATH
10786  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10787  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10788  ;;
10789
10790rdos*)
10791  dynamic_linker=no
10792  ;;
10793
10794solaris*)
10795  version_type=linux # correct to gnu/linux during the next big refactor
10796  need_lib_prefix=no
10797  need_version=no
10798  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10799  soname_spec='$libname$release$shared_ext$major'
10800  shlibpath_var=LD_LIBRARY_PATH
10801  shlibpath_overrides_runpath=yes
10802  hardcode_into_libs=yes
10803  # ldd complains unless libraries are executable
10804  postinstall_cmds='chmod +x $lib'
10805  ;;
10806
10807sunos4*)
10808  version_type=sunos
10809  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10810  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10811  shlibpath_var=LD_LIBRARY_PATH
10812  shlibpath_overrides_runpath=yes
10813  if test yes = "$with_gnu_ld"; then
10814    need_lib_prefix=no
10815  fi
10816  need_version=yes
10817  ;;
10818
10819sysv4 | sysv4.3*)
10820  version_type=linux # correct to gnu/linux during the next big refactor
10821  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10822  soname_spec='$libname$release$shared_ext$major'
10823  shlibpath_var=LD_LIBRARY_PATH
10824  case $host_vendor in
10825    sni)
10826      shlibpath_overrides_runpath=no
10827      need_lib_prefix=no
10828      runpath_var=LD_RUN_PATH
10829      ;;
10830    siemens)
10831      need_lib_prefix=no
10832      ;;
10833    motorola)
10834      need_lib_prefix=no
10835      need_version=no
10836      shlibpath_overrides_runpath=no
10837      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10838      ;;
10839  esac
10840  ;;
10841
10842sysv4*MP*)
10843  if test -d /usr/nec; then
10844    version_type=linux # correct to gnu/linux during the next big refactor
10845    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10846    soname_spec='$libname$shared_ext.$major'
10847    shlibpath_var=LD_LIBRARY_PATH
10848  fi
10849  ;;
10850
10851sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10852  version_type=sco
10853  need_lib_prefix=no
10854  need_version=no
10855  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10856  soname_spec='$libname$release$shared_ext$major'
10857  shlibpath_var=LD_LIBRARY_PATH
10858  shlibpath_overrides_runpath=yes
10859  hardcode_into_libs=yes
10860  if test yes = "$with_gnu_ld"; then
10861    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10862  else
10863    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10864    case $host_os in
10865      sco3.2v5*)
10866        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10867	;;
10868    esac
10869  fi
10870  sys_lib_dlsearch_path_spec='/usr/lib'
10871  ;;
10872
10873tpf*)
10874  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10875  version_type=linux # correct to gnu/linux during the next big refactor
10876  need_lib_prefix=no
10877  need_version=no
10878  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10879  shlibpath_var=LD_LIBRARY_PATH
10880  shlibpath_overrides_runpath=no
10881  hardcode_into_libs=yes
10882  ;;
10883
10884uts4*)
10885  version_type=linux # correct to gnu/linux during the next big refactor
10886  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10887  soname_spec='$libname$release$shared_ext$major'
10888  shlibpath_var=LD_LIBRARY_PATH
10889  ;;
10890
10891*)
10892  dynamic_linker=no
10893  ;;
10894esac
10895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10896$as_echo "$dynamic_linker" >&6; }
10897test no = "$dynamic_linker" && can_build_shared=no
10898
10899variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10900if test yes = "$GCC"; then
10901  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10902fi
10903
10904if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10905  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
10906fi
10907
10908if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10909  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
10910fi
10911
10912# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10913configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
10914
10915# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10916func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
10917
10918# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10919configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11018$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11019hardcode_action=
11020if test -n "$hardcode_libdir_flag_spec" ||
11021   test -n "$runpath_var" ||
11022   test yes = "$hardcode_automatic"; then
11023
11024  # We can hardcode non-existent directories.
11025  if test no != "$hardcode_direct" &&
11026     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11027     # have to relink, otherwise we might link with an installed library
11028     # when we should be linking with a yet-to-be-installed one
11029     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11030     test no != "$hardcode_minus_L"; then
11031    # Linking always hardcodes the temporary library directory.
11032    hardcode_action=relink
11033  else
11034    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11035    hardcode_action=immediate
11036  fi
11037else
11038  # We cannot hardcode anything, or else we can only hardcode existing
11039  # directories.
11040  hardcode_action=unsupported
11041fi
11042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11043$as_echo "$hardcode_action" >&6; }
11044
11045if test relink = "$hardcode_action" ||
11046   test yes = "$inherit_rpath"; then
11047  # Fast installation is not supported
11048  enable_fast_install=no
11049elif test yes = "$shlibpath_overrides_runpath" ||
11050     test no = "$enable_shared"; then
11051  # Fast installation is not necessary
11052  enable_fast_install=needless
11053fi
11054
11055
11056
11057
11058
11059
11060  if test yes != "$enable_dlopen"; then
11061  enable_dlopen=unknown
11062  enable_dlopen_self=unknown
11063  enable_dlopen_self_static=unknown
11064else
11065  lt_cv_dlopen=no
11066  lt_cv_dlopen_libs=
11067
11068  case $host_os in
11069  beos*)
11070    lt_cv_dlopen=load_add_on
11071    lt_cv_dlopen_libs=
11072    lt_cv_dlopen_self=yes
11073    ;;
11074
11075  mingw* | pw32* | cegcc*)
11076    lt_cv_dlopen=LoadLibrary
11077    lt_cv_dlopen_libs=
11078    ;;
11079
11080  cygwin*)
11081    lt_cv_dlopen=dlopen
11082    lt_cv_dlopen_libs=
11083    ;;
11084
11085  darwin*)
11086    # if libdl is installed we need to link against it
11087    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11088$as_echo_n "checking for dlopen in -ldl... " >&6; }
11089if ${ac_cv_lib_dl_dlopen+:} false; then :
11090  $as_echo_n "(cached) " >&6
11091else
11092  ac_check_lib_save_LIBS=$LIBS
11093LIBS="-ldl  $LIBS"
11094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095/* end confdefs.h.  */
11096
11097/* Override any GCC internal prototype to avoid an error.
11098   Use char because int might match the return type of a GCC
11099   builtin and then its argument prototype would still apply.  */
11100#ifdef __cplusplus
11101extern "C"
11102#endif
11103char dlopen ();
11104int
11105main ()
11106{
11107return dlopen ();
11108  ;
11109  return 0;
11110}
11111_ACEOF
11112if ac_fn_c_try_link "$LINENO"; then :
11113  ac_cv_lib_dl_dlopen=yes
11114else
11115  ac_cv_lib_dl_dlopen=no
11116fi
11117rm -f core conftest.err conftest.$ac_objext \
11118    conftest$ac_exeext conftest.$ac_ext
11119LIBS=$ac_check_lib_save_LIBS
11120fi
11121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11122$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11123if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11124  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11125else
11126
11127    lt_cv_dlopen=dyld
11128    lt_cv_dlopen_libs=
11129    lt_cv_dlopen_self=yes
11130
11131fi
11132
11133    ;;
11134
11135  tpf*)
11136    # Don't try to run any link tests for TPF.  We know it's impossible
11137    # because TPF is a cross-compiler, and we know how we open DSOs.
11138    lt_cv_dlopen=dlopen
11139    lt_cv_dlopen_libs=
11140    lt_cv_dlopen_self=no
11141    ;;
11142
11143  *)
11144    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11145if test "x$ac_cv_func_shl_load" = xyes; then :
11146  lt_cv_dlopen=shl_load
11147else
11148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11149$as_echo_n "checking for shl_load in -ldld... " >&6; }
11150if ${ac_cv_lib_dld_shl_load+:} false; then :
11151  $as_echo_n "(cached) " >&6
11152else
11153  ac_check_lib_save_LIBS=$LIBS
11154LIBS="-ldld  $LIBS"
11155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156/* end confdefs.h.  */
11157
11158/* Override any GCC internal prototype to avoid an error.
11159   Use char because int might match the return type of a GCC
11160   builtin and then its argument prototype would still apply.  */
11161#ifdef __cplusplus
11162extern "C"
11163#endif
11164char shl_load ();
11165int
11166main ()
11167{
11168return shl_load ();
11169  ;
11170  return 0;
11171}
11172_ACEOF
11173if ac_fn_c_try_link "$LINENO"; then :
11174  ac_cv_lib_dld_shl_load=yes
11175else
11176  ac_cv_lib_dld_shl_load=no
11177fi
11178rm -f core conftest.err conftest.$ac_objext \
11179    conftest$ac_exeext conftest.$ac_ext
11180LIBS=$ac_check_lib_save_LIBS
11181fi
11182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11183$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11184if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11185  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11186else
11187  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11188if test "x$ac_cv_func_dlopen" = xyes; then :
11189  lt_cv_dlopen=dlopen
11190else
11191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11192$as_echo_n "checking for dlopen in -ldl... " >&6; }
11193if ${ac_cv_lib_dl_dlopen+:} false; then :
11194  $as_echo_n "(cached) " >&6
11195else
11196  ac_check_lib_save_LIBS=$LIBS
11197LIBS="-ldl  $LIBS"
11198cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199/* end confdefs.h.  */
11200
11201/* Override any GCC internal prototype to avoid an error.
11202   Use char because int might match the return type of a GCC
11203   builtin and then its argument prototype would still apply.  */
11204#ifdef __cplusplus
11205extern "C"
11206#endif
11207char dlopen ();
11208int
11209main ()
11210{
11211return dlopen ();
11212  ;
11213  return 0;
11214}
11215_ACEOF
11216if ac_fn_c_try_link "$LINENO"; then :
11217  ac_cv_lib_dl_dlopen=yes
11218else
11219  ac_cv_lib_dl_dlopen=no
11220fi
11221rm -f core conftest.err conftest.$ac_objext \
11222    conftest$ac_exeext conftest.$ac_ext
11223LIBS=$ac_check_lib_save_LIBS
11224fi
11225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11226$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11227if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11228  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11229else
11230  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11231$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11232if ${ac_cv_lib_svld_dlopen+:} false; then :
11233  $as_echo_n "(cached) " >&6
11234else
11235  ac_check_lib_save_LIBS=$LIBS
11236LIBS="-lsvld  $LIBS"
11237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238/* end confdefs.h.  */
11239
11240/* Override any GCC internal prototype to avoid an error.
11241   Use char because int might match the return type of a GCC
11242   builtin and then its argument prototype would still apply.  */
11243#ifdef __cplusplus
11244extern "C"
11245#endif
11246char dlopen ();
11247int
11248main ()
11249{
11250return dlopen ();
11251  ;
11252  return 0;
11253}
11254_ACEOF
11255if ac_fn_c_try_link "$LINENO"; then :
11256  ac_cv_lib_svld_dlopen=yes
11257else
11258  ac_cv_lib_svld_dlopen=no
11259fi
11260rm -f core conftest.err conftest.$ac_objext \
11261    conftest$ac_exeext conftest.$ac_ext
11262LIBS=$ac_check_lib_save_LIBS
11263fi
11264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11265$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11266if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11267  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11268else
11269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11270$as_echo_n "checking for dld_link in -ldld... " >&6; }
11271if ${ac_cv_lib_dld_dld_link+:} false; then :
11272  $as_echo_n "(cached) " >&6
11273else
11274  ac_check_lib_save_LIBS=$LIBS
11275LIBS="-ldld  $LIBS"
11276cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277/* end confdefs.h.  */
11278
11279/* Override any GCC internal prototype to avoid an error.
11280   Use char because int might match the return type of a GCC
11281   builtin and then its argument prototype would still apply.  */
11282#ifdef __cplusplus
11283extern "C"
11284#endif
11285char dld_link ();
11286int
11287main ()
11288{
11289return dld_link ();
11290  ;
11291  return 0;
11292}
11293_ACEOF
11294if ac_fn_c_try_link "$LINENO"; then :
11295  ac_cv_lib_dld_dld_link=yes
11296else
11297  ac_cv_lib_dld_dld_link=no
11298fi
11299rm -f core conftest.err conftest.$ac_objext \
11300    conftest$ac_exeext conftest.$ac_ext
11301LIBS=$ac_check_lib_save_LIBS
11302fi
11303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11304$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11305if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11306  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11307fi
11308
11309
11310fi
11311
11312
11313fi
11314
11315
11316fi
11317
11318
11319fi
11320
11321
11322fi
11323
11324    ;;
11325  esac
11326
11327  if test no = "$lt_cv_dlopen"; then
11328    enable_dlopen=no
11329  else
11330    enable_dlopen=yes
11331  fi
11332
11333  case $lt_cv_dlopen in
11334  dlopen)
11335    save_CPPFLAGS=$CPPFLAGS
11336    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11337
11338    save_LDFLAGS=$LDFLAGS
11339    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11340
11341    save_LIBS=$LIBS
11342    LIBS="$lt_cv_dlopen_libs $LIBS"
11343
11344    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11345$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11346if ${lt_cv_dlopen_self+:} false; then :
11347  $as_echo_n "(cached) " >&6
11348else
11349  	  if test yes = "$cross_compiling"; then :
11350  lt_cv_dlopen_self=cross
11351else
11352  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11353  lt_status=$lt_dlunknown
11354  cat > conftest.$ac_ext <<_LT_EOF
11355#line $LINENO "configure"
11356#include "confdefs.h"
11357
11358#if HAVE_DLFCN_H
11359#include <dlfcn.h>
11360#endif
11361
11362#include <stdio.h>
11363
11364#ifdef RTLD_GLOBAL
11365#  define LT_DLGLOBAL		RTLD_GLOBAL
11366#else
11367#  ifdef DL_GLOBAL
11368#    define LT_DLGLOBAL		DL_GLOBAL
11369#  else
11370#    define LT_DLGLOBAL		0
11371#  endif
11372#endif
11373
11374/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11375   find out it does not work in some platform. */
11376#ifndef LT_DLLAZY_OR_NOW
11377#  ifdef RTLD_LAZY
11378#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11379#  else
11380#    ifdef DL_LAZY
11381#      define LT_DLLAZY_OR_NOW		DL_LAZY
11382#    else
11383#      ifdef RTLD_NOW
11384#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11385#      else
11386#        ifdef DL_NOW
11387#          define LT_DLLAZY_OR_NOW	DL_NOW
11388#        else
11389#          define LT_DLLAZY_OR_NOW	0
11390#        endif
11391#      endif
11392#    endif
11393#  endif
11394#endif
11395
11396/* When -fvisibility=hidden is used, assume the code has been annotated
11397   correspondingly for the symbols needed.  */
11398#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11399int fnord () __attribute__((visibility("default")));
11400#endif
11401
11402int fnord () { return 42; }
11403int main ()
11404{
11405  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11406  int status = $lt_dlunknown;
11407
11408  if (self)
11409    {
11410      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11411      else
11412        {
11413	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11414          else puts (dlerror ());
11415	}
11416      /* dlclose (self); */
11417    }
11418  else
11419    puts (dlerror ());
11420
11421  return status;
11422}
11423_LT_EOF
11424  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11425  (eval $ac_link) 2>&5
11426  ac_status=$?
11427  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11428  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11429    (./conftest; exit; ) >&5 2>/dev/null
11430    lt_status=$?
11431    case x$lt_status in
11432      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11433      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11434      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11435    esac
11436  else :
11437    # compilation failed
11438    lt_cv_dlopen_self=no
11439  fi
11440fi
11441rm -fr conftest*
11442
11443
11444fi
11445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11446$as_echo "$lt_cv_dlopen_self" >&6; }
11447
11448    if test yes = "$lt_cv_dlopen_self"; then
11449      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11450      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11451$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11452if ${lt_cv_dlopen_self_static+:} false; then :
11453  $as_echo_n "(cached) " >&6
11454else
11455  	  if test yes = "$cross_compiling"; then :
11456  lt_cv_dlopen_self_static=cross
11457else
11458  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11459  lt_status=$lt_dlunknown
11460  cat > conftest.$ac_ext <<_LT_EOF
11461#line $LINENO "configure"
11462#include "confdefs.h"
11463
11464#if HAVE_DLFCN_H
11465#include <dlfcn.h>
11466#endif
11467
11468#include <stdio.h>
11469
11470#ifdef RTLD_GLOBAL
11471#  define LT_DLGLOBAL		RTLD_GLOBAL
11472#else
11473#  ifdef DL_GLOBAL
11474#    define LT_DLGLOBAL		DL_GLOBAL
11475#  else
11476#    define LT_DLGLOBAL		0
11477#  endif
11478#endif
11479
11480/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11481   find out it does not work in some platform. */
11482#ifndef LT_DLLAZY_OR_NOW
11483#  ifdef RTLD_LAZY
11484#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11485#  else
11486#    ifdef DL_LAZY
11487#      define LT_DLLAZY_OR_NOW		DL_LAZY
11488#    else
11489#      ifdef RTLD_NOW
11490#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11491#      else
11492#        ifdef DL_NOW
11493#          define LT_DLLAZY_OR_NOW	DL_NOW
11494#        else
11495#          define LT_DLLAZY_OR_NOW	0
11496#        endif
11497#      endif
11498#    endif
11499#  endif
11500#endif
11501
11502/* When -fvisibility=hidden is used, assume the code has been annotated
11503   correspondingly for the symbols needed.  */
11504#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11505int fnord () __attribute__((visibility("default")));
11506#endif
11507
11508int fnord () { return 42; }
11509int main ()
11510{
11511  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11512  int status = $lt_dlunknown;
11513
11514  if (self)
11515    {
11516      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11517      else
11518        {
11519	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11520          else puts (dlerror ());
11521	}
11522      /* dlclose (self); */
11523    }
11524  else
11525    puts (dlerror ());
11526
11527  return status;
11528}
11529_LT_EOF
11530  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11531  (eval $ac_link) 2>&5
11532  ac_status=$?
11533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11534  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11535    (./conftest; exit; ) >&5 2>/dev/null
11536    lt_status=$?
11537    case x$lt_status in
11538      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11539      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11540      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11541    esac
11542  else :
11543    # compilation failed
11544    lt_cv_dlopen_self_static=no
11545  fi
11546fi
11547rm -fr conftest*
11548
11549
11550fi
11551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11552$as_echo "$lt_cv_dlopen_self_static" >&6; }
11553    fi
11554
11555    CPPFLAGS=$save_CPPFLAGS
11556    LDFLAGS=$save_LDFLAGS
11557    LIBS=$save_LIBS
11558    ;;
11559  esac
11560
11561  case $lt_cv_dlopen_self in
11562  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11563  *) enable_dlopen_self=unknown ;;
11564  esac
11565
11566  case $lt_cv_dlopen_self_static in
11567  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11568  *) enable_dlopen_self_static=unknown ;;
11569  esac
11570fi
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588striplib=
11589old_striplib=
11590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11591$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11592if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11593  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11594  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11596$as_echo "yes" >&6; }
11597else
11598# FIXME - insert some real tests, host_os isn't really good enough
11599  case $host_os in
11600  darwin*)
11601    if test -n "$STRIP"; then
11602      striplib="$STRIP -x"
11603      old_striplib="$STRIP -S"
11604      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11605$as_echo "yes" >&6; }
11606    else
11607      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11608$as_echo "no" >&6; }
11609    fi
11610    ;;
11611  *)
11612    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11613$as_echo "no" >&6; }
11614    ;;
11615  esac
11616fi
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629  # Report what library types will actually be built
11630  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11631$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11633$as_echo "$can_build_shared" >&6; }
11634
11635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11636$as_echo_n "checking whether to build shared libraries... " >&6; }
11637  test no = "$can_build_shared" && enable_shared=no
11638
11639  # On AIX, shared libraries and static libraries use the same namespace, and
11640  # are all built from PIC.
11641  case $host_os in
11642  aix3*)
11643    test yes = "$enable_shared" && enable_static=no
11644    if test -n "$RANLIB"; then
11645      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11646      postinstall_cmds='$RANLIB $lib'
11647    fi
11648    ;;
11649
11650  aix[4-9]*)
11651    if test ia64 != "$host_cpu"; then
11652      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11653      yes,aix,yes) ;;			# shared object as lib.so file only
11654      yes,svr4,*) ;;			# shared object as lib.so archive member only
11655      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
11656      esac
11657    fi
11658    ;;
11659  esac
11660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11661$as_echo "$enable_shared" >&6; }
11662
11663  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11664$as_echo_n "checking whether to build static libraries... " >&6; }
11665  # Make sure either enable_shared or enable_static is yes.
11666  test yes = "$enable_shared" || enable_static=yes
11667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11668$as_echo "$enable_static" >&6; }
11669
11670
11671
11672
11673fi
11674ac_ext=c
11675ac_cpp='$CPP $CPPFLAGS'
11676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11678ac_compiler_gnu=$ac_cv_c_compiler_gnu
11679
11680CC=$lt_save_CC
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696        ac_config_commands="$ac_config_commands libtool"
11697
11698
11699
11700
11701# Only expand once:
11702
11703
11704
11705
11706# Check whether --with-centos was given.
11707if test "${with_centos+set}" = set; then :
11708  withval=$with_centos;
11709fi
11710
11711
11712
11713
11714
11715
11716
11717if test "$with_centos" = "yes"; then
11718    RPM_COMMENT="# RPM spec file for RedHat CentOS created by configure script."
11719    RPM_LICENSE="GPLv3"
11720    RPM_GROUP="User Interface/Desktops"
11721    RPM_FDUPES_REQUIRES=
11722    RPM_UDF_REQUIRES=
11723else
11724    RPM_COMMENT="# RPM spec file for SUSE OpenSUSE created by configure script."
11725    RPM_LICENSE="GPL-3.0"
11726    RPM_GROUP="System/GUI/Other"
11727    RPM_FDUPES_REQUIRES="BuildRequires: fdupes"
11728    RPM_UDF_REQUIRES="BuildRequires: update-desktop-files"
11729fi
11730
11731
11732
11733
11734$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
11735
11736
11737
11738$as_echo "#define COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h
11739
11740
11741
11742$as_echo "#define PACKAGE_COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h
11743
11744
11745
11746{ $as_echo "$as_me:${as_lineno-$LINENO}: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&5
11747$as_echo "$as_me: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&6;}
11748
11749
11750  # minimum supported version of pkg-config
11751  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
11752
11753  # lookup pkg-config utility
11754  if test x"$PKG_CONFIG" = x""; then
11755    # Extract the first word of "pkg-config", so it can be a program name with args.
11756set dummy pkg-config; ac_word=$2
11757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11758$as_echo_n "checking for $ac_word... " >&6; }
11759if ${ac_cv_path_PKG_CONFIG+:} false; then :
11760  $as_echo_n "(cached) " >&6
11761else
11762  case $PKG_CONFIG in
11763  [\\/]* | ?:[\\/]*)
11764  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11765  ;;
11766  *)
11767  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11768for as_dir in $PATH
11769do
11770  IFS=$as_save_IFS
11771  test -z "$as_dir" && as_dir=.
11772    for ac_exec_ext in '' $ac_executable_extensions; do
11773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11774    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11776    break 2
11777  fi
11778done
11779  done
11780IFS=$as_save_IFS
11781
11782  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11783  ;;
11784esac
11785fi
11786PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11787if test -n "$PKG_CONFIG"; then
11788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11789$as_echo "$PKG_CONFIG" >&6; }
11790else
11791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792$as_echo "no" >&6; }
11793fi
11794
11795
11796
11797    if test x"$PKG_CONFIG" = x"no"; then
11798      echo "*** The pkg-config utility could not be found on your system."
11799      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
11800      echo "*** environment variable to the full path to pkg-config."
11801      echo "*** You can download pkg-config from the freedesktop.org"
11802      echo "*** software repository at"
11803      echo "***"
11804      echo "***    http://www.freedesktop.org/software/pkgconfig"
11805      echo "***"
11806      exit 1
11807    fi
11808
11809    # check pkg-config version
11810    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
11811$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
11812    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
11813      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
11814      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
11815$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
11816    else
11817      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
11818      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
11819$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
11820      echo "*** Your version of pkg-config is too old. You need atleast"
11821      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
11822      echo "*** from the freedesktop.org software repository at"
11823      echo "***"
11824      echo "***    http://www.freedesktop.org/software/pkgconfig"
11825      echo "***"
11826      exit 1
11827    fi
11828  fi
11829
11830
11831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librfm >= 5.3.16.3" >&5
11832$as_echo_n "checking for librfm >= 5.3.16.3... " >&6; }
11833  if $PKG_CONFIG "--atleast-version=5.3.16.3" "librfm" >/dev/null 2>&1; then
11834    LIBRFM_VERSION=`$PKG_CONFIG --modversion "librfm"`
11835    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_VERSION" >&5
11836$as_echo "$LIBRFM_VERSION" >&6; }
11837
11838    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_CFLAGS" >&5
11839$as_echo_n "checking LIBRFM_CFLAGS... " >&6; }
11840    LIBRFM_CFLAGS=`$PKG_CONFIG --cflags "librfm"`
11841    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_CFLAGS" >&5
11842$as_echo "$LIBRFM_CFLAGS" >&6; }
11843
11844    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_LIBS" >&5
11845$as_echo_n "checking LIBRFM_LIBS... " >&6; }
11846    LIBRFM_LIBS=`$PKG_CONFIG --libs "librfm"`
11847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_LIBS" >&5
11848$as_echo "$LIBRFM_LIBS" >&6; }
11849
11850    LIBRFM_REQUIRED_VERSION=5.3.16.3
11851
11852
11853
11854
11855
11856
11857
11858  elif $PKG_CONFIG --exists "librfm" >/dev/null 2>&1; then
11859    xdg_cv_version=`$PKG_CONFIG --modversion "librfm"`
11860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
11861$as_echo "found, but $xdt_cv_version" >&6; }
11862
11863
11864      echo "*** The required rodent-fuse librfm was found on your system,"
11865      echo "*** but the installed version ($xdt_cv_version) is too old."
11866      echo "*** Please upgrade librfm to atleast version 5.3.16.3, or adjust"
11867      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
11868      echo "*** the new version of the rodent-fuse in a nonstandard prefix so"
11869      echo "*** pkg-config is able to find it."
11870      exit 1
11871
11872  else
11873    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11874$as_echo "not found" >&6; }
11875
11876
11877      echo "*** The required rodent-fuse librfm was not found on your system."
11878      echo "*** Please install librfm (atleast version 5.3.16.3) or adjust"
11879      echo "*** the PKG_CONFIG_PATH environment variable if you"
11880      echo "*** installed the rodent-fuse in a nonstandard prefix so that"
11881      echo "*** pkg-config is able to find it."
11882      exit 1
11883
11884  fi
11885
11886
11887
11888# check for libzip
11889
11890
11891
11892
11893
11894GTK_VERSION=`$PKG_CONFIG --variable gtk_version librfm`
11895GTK_PREFIX=`$PKG_CONFIG --variable prefix $GTK_VERSION`
11896RFM_PREFIX=`$PKG_CONFIG --variable prefix librfm`
11897RFM_MODULE_DIR=`$PKG_CONFIG --variable moduledir librfm`
11898
11899echo "GTK version used in librfm: $GTK_VERSION ($GTK_PREFIX)"
11900
11901
11902# Check whether --with-tcmalloc was given.
11903if test "${with_tcmalloc+set}" = set; then :
11904  withval=$with_tcmalloc;
11905fi
11906
11907
11908if test "$with_tcmalloc" = "yes"; then
11909
11910cat >>confdefs.h <<_ACEOF
11911#define TCMALLOC $with_tcmalloc
11912_ACEOF
11913
11914    TCMALLOC="-L/usr/local/lib/ -ltcmalloc"
11915else
11916    TCMALLOC=
11917fi
11918
11919
11920#deprecated: AM_INIT_AUTOMAKE([package()], [vers()])
11921#AM_INIT_AUTOMAKE([foreign])
11922#m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
11923am__api_version='1.15'
11924
11925# Find a good install program.  We prefer a C program (faster),
11926# so one script is as good as another.  But avoid the broken or
11927# incompatible versions:
11928# SysV /etc/install, /usr/sbin/install
11929# SunOS /usr/etc/install
11930# IRIX /sbin/install
11931# AIX /bin/install
11932# AmigaOS /C/install, which installs bootblocks on floppy discs
11933# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11934# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11935# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11936# OS/2's system install, which has a completely different semantic
11937# ./install, which can be erroneously created by make from ./install.sh.
11938# Reject install programs that cannot install multiple files.
11939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11940$as_echo_n "checking for a BSD-compatible install... " >&6; }
11941if test -z "$INSTALL"; then
11942if ${ac_cv_path_install+:} false; then :
11943  $as_echo_n "(cached) " >&6
11944else
11945  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11946for as_dir in $PATH
11947do
11948  IFS=$as_save_IFS
11949  test -z "$as_dir" && as_dir=.
11950    # Account for people who put trailing slashes in PATH elements.
11951case $as_dir/ in #((
11952  ./ | .// | /[cC]/* | \
11953  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11954  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
11955  /usr/ucb/* ) ;;
11956  *)
11957    # OSF1 and SCO ODT 3.0 have their own names for install.
11958    # Don't use installbsd from OSF since it installs stuff as root
11959    # by default.
11960    for ac_prog in ginstall scoinst install; do
11961      for ac_exec_ext in '' $ac_executable_extensions; do
11962	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11963	  if test $ac_prog = install &&
11964	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11965	    # AIX install.  It has an incompatible calling convention.
11966	    :
11967	  elif test $ac_prog = install &&
11968	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11969	    # program-specific install script used by HP pwplus--don't use.
11970	    :
11971	  else
11972	    rm -rf conftest.one conftest.two conftest.dir
11973	    echo one > conftest.one
11974	    echo two > conftest.two
11975	    mkdir conftest.dir
11976	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11977	      test -s conftest.one && test -s conftest.two &&
11978	      test -s conftest.dir/conftest.one &&
11979	      test -s conftest.dir/conftest.two
11980	    then
11981	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11982	      break 3
11983	    fi
11984	  fi
11985	fi
11986      done
11987    done
11988    ;;
11989esac
11990
11991  done
11992IFS=$as_save_IFS
11993
11994rm -rf conftest.one conftest.two conftest.dir
11995
11996fi
11997  if test "${ac_cv_path_install+set}" = set; then
11998    INSTALL=$ac_cv_path_install
11999  else
12000    # As a last resort, use the slow shell script.  Don't cache a
12001    # value for INSTALL within a source directory, because that will
12002    # break other packages using the cache if that directory is
12003    # removed, or if the value is a relative name.
12004    INSTALL=$ac_install_sh
12005  fi
12006fi
12007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
12008$as_echo "$INSTALL" >&6; }
12009
12010# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12011# It thinks the first close brace ends the variable substitution.
12012test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12013
12014test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12015
12016test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12017
12018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12019$as_echo_n "checking whether build environment is sane... " >&6; }
12020# Reject unsafe characters in $srcdir or the absolute working directory
12021# name.  Accept space and tab only in the latter.
12022am_lf='
12023'
12024case `pwd` in
12025  *[\\\"\#\$\&\'\`$am_lf]*)
12026    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
12027esac
12028case $srcdir in
12029  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
12030    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12031esac
12032
12033# Do 'set' in a subshell so we don't clobber the current shell's
12034# arguments.  Must try -L first in case configure is actually a
12035# symlink; some systems play weird games with the mod time of symlinks
12036# (eg FreeBSD returns the mod time of the symlink's containing
12037# directory).
12038if (
12039   am_has_slept=no
12040   for am_try in 1 2; do
12041     echo "timestamp, slept: $am_has_slept" > conftest.file
12042     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12043     if test "$*" = "X"; then
12044	# -L didn't work.
12045	set X `ls -t "$srcdir/configure" conftest.file`
12046     fi
12047     if test "$*" != "X $srcdir/configure conftest.file" \
12048	&& test "$*" != "X conftest.file $srcdir/configure"; then
12049
12050	# If neither matched, then we have a broken ls.  This can happen
12051	# if, for instance, CONFIG_SHELL is bash and it inherits a
12052	# broken ls alias from the environment.  This has actually
12053	# happened.  Such a system could not be considered "sane".
12054	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
12055  alias in your environment" "$LINENO" 5
12056     fi
12057     if test "$2" = conftest.file || test $am_try -eq 2; then
12058       break
12059     fi
12060     # Just in case.
12061     sleep 1
12062     am_has_slept=yes
12063   done
12064   test "$2" = conftest.file
12065   )
12066then
12067   # Ok.
12068   :
12069else
12070   as_fn_error $? "newly created file is older than distributed files!
12071Check your system clock" "$LINENO" 5
12072fi
12073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12074$as_echo "yes" >&6; }
12075# If we didn't sleep, we still need to ensure time stamps of config.status and
12076# generated files are strictly newer.
12077am_sleep_pid=
12078if grep 'slept: no' conftest.file >/dev/null 2>&1; then
12079  ( sleep 1 ) &
12080  am_sleep_pid=$!
12081fi
12082
12083rm -f conftest.file
12084
12085test "$program_prefix" != NONE &&
12086  program_transform_name="s&^&$program_prefix&;$program_transform_name"
12087# Use a double $ so make ignores it.
12088test "$program_suffix" != NONE &&
12089  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
12090# Double any \ or $.
12091# By default was `s,x,x', remove it if useless.
12092ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
12093program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
12094
12095if test x"${MISSING+set}" != xset; then
12096  case $am_aux_dir in
12097  *\ * | *\	*)
12098    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
12099  *)
12100    MISSING="\${SHELL} $am_aux_dir/missing" ;;
12101  esac
12102fi
12103# Use eval to expand $SHELL
12104if eval "$MISSING --is-lightweight"; then
12105  am_missing_run="$MISSING "
12106else
12107  am_missing_run=
12108  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12109$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12110fi
12111
12112if test x"${install_sh+set}" != xset; then
12113  case $am_aux_dir in
12114  *\ * | *\	*)
12115    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
12116  *)
12117    install_sh="\${SHELL} $am_aux_dir/install-sh"
12118  esac
12119fi
12120
12121# Installed binaries are usually stripped using 'strip' when the user
12122# run "make install-strip".  However 'strip' might not be the right
12123# tool to use in cross-compilation environments, therefore Automake
12124# will honor the 'STRIP' environment variable to overrule this program.
12125if test "$cross_compiling" != no; then
12126  if test -n "$ac_tool_prefix"; then
12127  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12128set dummy ${ac_tool_prefix}strip; ac_word=$2
12129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12130$as_echo_n "checking for $ac_word... " >&6; }
12131if ${ac_cv_prog_STRIP+:} false; then :
12132  $as_echo_n "(cached) " >&6
12133else
12134  if test -n "$STRIP"; then
12135  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12136else
12137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12138for as_dir in $PATH
12139do
12140  IFS=$as_save_IFS
12141  test -z "$as_dir" && as_dir=.
12142    for ac_exec_ext in '' $ac_executable_extensions; do
12143  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12144    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12145    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12146    break 2
12147  fi
12148done
12149  done
12150IFS=$as_save_IFS
12151
12152fi
12153fi
12154STRIP=$ac_cv_prog_STRIP
12155if test -n "$STRIP"; then
12156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12157$as_echo "$STRIP" >&6; }
12158else
12159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160$as_echo "no" >&6; }
12161fi
12162
12163
12164fi
12165if test -z "$ac_cv_prog_STRIP"; then
12166  ac_ct_STRIP=$STRIP
12167  # Extract the first word of "strip", so it can be a program name with args.
12168set dummy strip; ac_word=$2
12169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12170$as_echo_n "checking for $ac_word... " >&6; }
12171if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
12172  $as_echo_n "(cached) " >&6
12173else
12174  if test -n "$ac_ct_STRIP"; then
12175  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12176else
12177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12178for as_dir in $PATH
12179do
12180  IFS=$as_save_IFS
12181  test -z "$as_dir" && as_dir=.
12182    for ac_exec_ext in '' $ac_executable_extensions; do
12183  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12184    ac_cv_prog_ac_ct_STRIP="strip"
12185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12186    break 2
12187  fi
12188done
12189  done
12190IFS=$as_save_IFS
12191
12192fi
12193fi
12194ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12195if test -n "$ac_ct_STRIP"; then
12196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12197$as_echo "$ac_ct_STRIP" >&6; }
12198else
12199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200$as_echo "no" >&6; }
12201fi
12202
12203  if test "x$ac_ct_STRIP" = x; then
12204    STRIP=":"
12205  else
12206    case $cross_compiling:$ac_tool_warned in
12207yes:)
12208{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12209$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12210ac_tool_warned=yes ;;
12211esac
12212    STRIP=$ac_ct_STRIP
12213  fi
12214else
12215  STRIP="$ac_cv_prog_STRIP"
12216fi
12217
12218fi
12219INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
12220
12221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12222$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12223if test -z "$MKDIR_P"; then
12224  if ${ac_cv_path_mkdir+:} false; then :
12225  $as_echo_n "(cached) " >&6
12226else
12227  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
12229do
12230  IFS=$as_save_IFS
12231  test -z "$as_dir" && as_dir=.
12232    for ac_prog in mkdir gmkdir; do
12233	 for ac_exec_ext in '' $ac_executable_extensions; do
12234	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
12235	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12236	     'mkdir (GNU coreutils) '* | \
12237	     'mkdir (coreutils) '* | \
12238	     'mkdir (fileutils) '4.1*)
12239	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
12240	       break 3;;
12241	   esac
12242	 done
12243       done
12244  done
12245IFS=$as_save_IFS
12246
12247fi
12248
12249  test -d ./--version && rmdir ./--version
12250  if test "${ac_cv_path_mkdir+set}" = set; then
12251    MKDIR_P="$ac_cv_path_mkdir -p"
12252  else
12253    # As a last resort, use the slow shell script.  Don't cache a
12254    # value for MKDIR_P within a source directory, because that will
12255    # break other packages using the cache if that directory is
12256    # removed, or if the value is a relative name.
12257    MKDIR_P="$ac_install_sh -d"
12258  fi
12259fi
12260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12261$as_echo "$MKDIR_P" >&6; }
12262
12263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12264$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12265set x ${MAKE-make}
12266ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12267if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
12268  $as_echo_n "(cached) " >&6
12269else
12270  cat >conftest.make <<\_ACEOF
12271SHELL = /bin/sh
12272all:
12273	@echo '@@@%%%=$(MAKE)=@@@%%%'
12274_ACEOF
12275# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12276case `${MAKE-make} -f conftest.make 2>/dev/null` in
12277  *@@@%%%=?*=@@@%%%*)
12278    eval ac_cv_prog_make_${ac_make}_set=yes;;
12279  *)
12280    eval ac_cv_prog_make_${ac_make}_set=no;;
12281esac
12282rm -f conftest.make
12283fi
12284if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12286$as_echo "yes" >&6; }
12287  SET_MAKE=
12288else
12289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290$as_echo "no" >&6; }
12291  SET_MAKE="MAKE=${MAKE-make}"
12292fi
12293
12294rm -rf .tst 2>/dev/null
12295mkdir .tst 2>/dev/null
12296if test -d .tst; then
12297  am__leading_dot=.
12298else
12299  am__leading_dot=_
12300fi
12301rmdir .tst 2>/dev/null
12302
12303DEPDIR="${am__leading_dot}deps"
12304
12305ac_config_commands="$ac_config_commands depfiles"
12306
12307
12308am_make=${MAKE-make}
12309cat > confinc << 'END'
12310am__doit:
12311	@echo this is the am__doit target
12312.PHONY: am__doit
12313END
12314# If we don't find an include directive, just comment out the code.
12315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12316$as_echo_n "checking for style of include used by $am_make... " >&6; }
12317am__include="#"
12318am__quote=
12319_am_result=none
12320# First try GNU make style include.
12321echo "include confinc" > confmf
12322# Ignore all kinds of additional output from 'make'.
12323case `$am_make -s -f confmf 2> /dev/null` in #(
12324*the\ am__doit\ target*)
12325  am__include=include
12326  am__quote=
12327  _am_result=GNU
12328  ;;
12329esac
12330# Now try BSD make style include.
12331if test "$am__include" = "#"; then
12332   echo '.include "confinc"' > confmf
12333   case `$am_make -s -f confmf 2> /dev/null` in #(
12334   *the\ am__doit\ target*)
12335     am__include=.include
12336     am__quote="\""
12337     _am_result=BSD
12338     ;;
12339   esac
12340fi
12341
12342
12343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12344$as_echo "$_am_result" >&6; }
12345rm -f confinc confmf
12346
12347# Check whether --enable-dependency-tracking was given.
12348if test "${enable_dependency_tracking+set}" = set; then :
12349  enableval=$enable_dependency_tracking;
12350fi
12351
12352if test "x$enable_dependency_tracking" != xno; then
12353  am_depcomp="$ac_aux_dir/depcomp"
12354  AMDEPBACKSLASH='\'
12355  am__nodep='_no'
12356fi
12357 if test "x$enable_dependency_tracking" != xno; then
12358  AMDEP_TRUE=
12359  AMDEP_FALSE='#'
12360else
12361  AMDEP_TRUE='#'
12362  AMDEP_FALSE=
12363fi
12364
12365
12366# Check whether --enable-silent-rules was given.
12367if test "${enable_silent_rules+set}" = set; then :
12368  enableval=$enable_silent_rules;
12369fi
12370
12371case $enable_silent_rules in
12372yes) AM_DEFAULT_VERBOSITY=0;;
12373no)  AM_DEFAULT_VERBOSITY=1;;
12374*)   AM_DEFAULT_VERBOSITY=1;;
12375esac
12376AM_BACKSLASH='\'
12377
12378if test "`cd $srcdir && pwd`" != "`pwd`"; then
12379  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12380  # is not polluted with repeated "-I."
12381  am__isrc=' -I$(srcdir)'
12382  # test to see if srcdir already configured
12383  if test -f $srcdir/config.status; then
12384    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12385  fi
12386fi
12387
12388# test whether we have cygpath
12389if test -z "$CYGPATH_W"; then
12390  if (cygpath --version) >/dev/null 2>/dev/null; then
12391    CYGPATH_W='cygpath -w'
12392  else
12393    CYGPATH_W=echo
12394  fi
12395fi
12396
12397
12398# Define the identity of the package.
12399 PACKAGE='rodent-fuse'
12400 VERSION='5.3.16.3'
12401
12402
12403cat >>confdefs.h <<_ACEOF
12404#define PACKAGE "$PACKAGE"
12405_ACEOF
12406
12407
12408cat >>confdefs.h <<_ACEOF
12409#define VERSION "$VERSION"
12410_ACEOF
12411
12412# Some tools Automake needs.
12413
12414ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12415
12416
12417AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
12418
12419
12420AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12421
12422
12423AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
12424
12425
12426MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
12427
12428# For better backward compatibility.  To be removed once Automake 1.9.x
12429# dies out for good.  For more background, see:
12430# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12431# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12432mkdir_p='$(MKDIR_P)'
12433
12434# We need awk for the "check" target (and possibly the TAP driver).  The
12435# system "awk" is bad on some platforms.
12436# Always define AMTAR for backward compatibility.  Yes, it's still used
12437# in the wild :-(  We should find a proper way to deprecate it ...
12438AMTAR='$${TAR-tar}'
12439
12440
12441# We'll loop over all known methods to create a tar archive until one works.
12442_am_tools='gnutar  pax cpio none'
12443
12444am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
12445
12446
12447
12448
12449
12450depcc="$CC"   am_compiler_list=
12451
12452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12453$as_echo_n "checking dependency style of $depcc... " >&6; }
12454if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12455  $as_echo_n "(cached) " >&6
12456else
12457  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12458  # We make a subdir and do the tests there.  Otherwise we can end up
12459  # making bogus files that we don't know about and never remove.  For
12460  # instance it was reported that on HP-UX the gcc test will end up
12461  # making a dummy file named 'D' -- because '-MD' means "put the output
12462  # in D".
12463  rm -rf conftest.dir
12464  mkdir conftest.dir
12465  # Copy depcomp to subdir because otherwise we won't find it if we're
12466  # using a relative directory.
12467  cp "$am_depcomp" conftest.dir
12468  cd conftest.dir
12469  # We will build objects and dependencies in a subdirectory because
12470  # it helps to detect inapplicable dependency modes.  For instance
12471  # both Tru64's cc and ICC support -MD to output dependencies as a
12472  # side effect of compilation, but ICC will put the dependencies in
12473  # the current directory while Tru64 will put them in the object
12474  # directory.
12475  mkdir sub
12476
12477  am_cv_CC_dependencies_compiler_type=none
12478  if test "$am_compiler_list" = ""; then
12479     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12480  fi
12481  am__universal=false
12482  case " $depcc " in #(
12483     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12484     esac
12485
12486  for depmode in $am_compiler_list; do
12487    # Setup a source with many dependencies, because some compilers
12488    # like to wrap large dependency lists on column 80 (with \), and
12489    # we should not choose a depcomp mode which is confused by this.
12490    #
12491    # We need to recreate these files for each test, as the compiler may
12492    # overwrite some of them when testing with obscure command lines.
12493    # This happens at least with the AIX C compiler.
12494    : > sub/conftest.c
12495    for i in 1 2 3 4 5 6; do
12496      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12497      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12498      # Solaris 10 /bin/sh.
12499      echo '/* dummy */' > sub/conftst$i.h
12500    done
12501    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12502
12503    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12504    # mode.  It turns out that the SunPro C++ compiler does not properly
12505    # handle '-M -o', and we need to detect this.  Also, some Intel
12506    # versions had trouble with output in subdirs.
12507    am__obj=sub/conftest.${OBJEXT-o}
12508    am__minus_obj="-o $am__obj"
12509    case $depmode in
12510    gcc)
12511      # This depmode causes a compiler race in universal mode.
12512      test "$am__universal" = false || continue
12513      ;;
12514    nosideeffect)
12515      # After this tag, mechanisms are not by side-effect, so they'll
12516      # only be used when explicitly requested.
12517      if test "x$enable_dependency_tracking" = xyes; then
12518	continue
12519      else
12520	break
12521      fi
12522      ;;
12523    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12524      # This compiler won't grok '-c -o', but also, the minuso test has
12525      # not run yet.  These depmodes are late enough in the game, and
12526      # so weak that their functioning should not be impacted.
12527      am__obj=conftest.${OBJEXT-o}
12528      am__minus_obj=
12529      ;;
12530    none) break ;;
12531    esac
12532    if depmode=$depmode \
12533       source=sub/conftest.c object=$am__obj \
12534       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12535       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12536         >/dev/null 2>conftest.err &&
12537       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12538       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12539       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12540       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12541      # icc doesn't choke on unknown options, it will just issue warnings
12542      # or remarks (even with -Werror).  So we grep stderr for any message
12543      # that says an option was ignored or not supported.
12544      # When given -MP, icc 7.0 and 7.1 complain thusly:
12545      #   icc: Command line warning: ignoring option '-M'; no argument required
12546      # The diagnosis changed in icc 8.0:
12547      #   icc: Command line remark: option '-MP' not supported
12548      if (grep 'ignoring option' conftest.err ||
12549          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12550        am_cv_CC_dependencies_compiler_type=$depmode
12551        break
12552      fi
12553    fi
12554  done
12555
12556  cd ..
12557  rm -rf conftest.dir
12558else
12559  am_cv_CC_dependencies_compiler_type=none
12560fi
12561
12562fi
12563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12564$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12565CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12566
12567 if
12568  test "x$enable_dependency_tracking" != xno \
12569  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12570  am__fastdepCC_TRUE=
12571  am__fastdepCC_FALSE='#'
12572else
12573  am__fastdepCC_TRUE='#'
12574  am__fastdepCC_FALSE=
12575fi
12576
12577
12578
12579# POSIX will say in a future version that running "rm -f" with no argument
12580# is OK; and we want to be able to make that assumption in our Makefile
12581# recipes.  So use an aggressive probe to check that the usage we want is
12582# actually supported "in the wild" to an acceptable degree.
12583# See automake bug#10828.
12584# To make any issue more visible, cause the running configure to be aborted
12585# by default if the 'rm' program in use doesn't match our expectations; the
12586# user can still override this though.
12587if rm -f && rm -fr && rm -rf; then : OK; else
12588  cat >&2 <<'END'
12589Oops!
12590
12591Your 'rm' program seems unable to run without file operands specified
12592on the command line, even when the '-f' option is present.  This is contrary
12593to the behaviour of most rm programs out there, and not conforming with
12594the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
12595
12596Please tell bug-automake@gnu.org about your system, including the value
12597of your $PATH and any error possibly output before this message.  This
12598can help us improve future automake versions.
12599
12600END
12601  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
12602    echo 'Configuration will proceed anyway, since you have set the' >&2
12603    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
12604    echo >&2
12605  else
12606    cat >&2 <<'END'
12607Aborting the configuration process, to ensure you take notice of the issue.
12608
12609You can download and install GNU coreutils to get an 'rm' implementation
12610that behaves properly: <http://www.gnu.org/software/coreutils/>.
12611
12612If you want to complete the configuration process using your problematic
12613'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
12614to "yes", and re-run configure.
12615
12616END
12617    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
12618  fi
12619fi
12620
12621# Check whether --enable-silent-rules was given.
12622if test "${enable_silent_rules+set}" = set; then :
12623  enableval=$enable_silent_rules;
12624fi
12625
12626case $enable_silent_rules in
12627yes) AM_DEFAULT_VERBOSITY=0;;
12628no)  AM_DEFAULT_VERBOSITY=1;;
12629*)   AM_DEFAULT_VERBOSITY=0;;
12630esac
12631AM_BACKSLASH='\'
12632
12633RFM_VERINFO=1:0:0
12634
12635
12636
12637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12638$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12639    # Check whether --enable-maintainer-mode was given.
12640if test "${enable_maintainer_mode+set}" = set; then :
12641  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12642else
12643  USE_MAINTAINER_MODE=no
12644fi
12645
12646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12647$as_echo "$USE_MAINTAINER_MODE" >&6; }
12648   if test $USE_MAINTAINER_MODE = yes; then
12649  MAINTAINER_MODE_TRUE=
12650  MAINTAINER_MODE_FALSE='#'
12651else
12652  MAINTAINER_MODE_TRUE='#'
12653  MAINTAINER_MODE_FALSE=
12654fi
12655
12656  MAINT=$MAINTAINER_MODE_TRUE
12657
12658
12659ac_config_headers="$ac_config_headers config.h"
12660
12661
12662
12663
12664#RFM_ENABLE_PLUGIN([EXPERIMENTAL], [experimental], [Experimental], [plugins], [no])
12665
12666
12667# Check whether --with-mpt was given.
12668if test "${with_mpt+set}" = set; then :
12669  withval=$with_mpt;
12670fi
12671
12672if test "$with_mpt" != ""
12673then
12674	 WITH_MPT=$with_mpt
12675
12676cat >>confdefs.h <<_ACEOF
12677#define MAX_PREVIEW_THREADS $with_mpt
12678_ACEOF
12679
12680	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to $with_mpt" >&5
12681$as_echo "$as_me: Maximum preview threads set to $with_mpt" >&6;}
12682else
12683	 WITH_MPT=4
12684
12685cat >>confdefs.h <<_ACEOF
12686#define MAX_PREVIEW_THREADS 4
12687_ACEOF
12688
12689	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to 4" >&5
12690$as_echo "$as_me: Maximum preview threads set to 4" >&6;}
12691fi
12692
12693
12694SUMMARY="Custom Data Filesystems plugin"
12695DESCRIPTION="Custom Data Filesystems plugin"
12696RPM_DESCRIPTION="Custom Data Filesystems plugin"
12697HOMEPAGE="http://xffm.org"
12698
12699cat >>confdefs.h <<_ACEOF
12700#define HOMEPAGE "http://xffm.org"
12701_ACEOF
12702
12703
12704SRC_URI=http://sourceforge.net/projects/xffm/files/5.3.16.3/rodent-fuse-5.3.16.3.tar.gz
12705
12706LICENSE="  GNU General Public License version 3  "
12707
12708
12709cat >>confdefs.h <<_ACEOF
12710#define LICENSE "  GNU General Public License version 3  "
12711_ACEOF
12712
12713
12714BUGMAIL="https://sourceforge.net/p/xffm/bugs/"
12715
12716
12717cat >>confdefs.h <<_ACEOF
12718#define BUGMAIL "https://sourceforge.net/p/xffm/bugs/"
12719_ACEOF
12720
12721MASTER_SITE=http://sourceforge.net/projects/xffm/files
12722
12723
12724DBH_FILE_VERSION="DBH_2.0/64bit"
12725
12726
12727DBH_VERSION=5.3.16.3
12728
12729
12730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12731$as_echo_n "checking for library containing strerror... " >&6; }
12732if ${ac_cv_search_strerror+:} false; then :
12733  $as_echo_n "(cached) " >&6
12734else
12735  ac_func_search_save_LIBS=$LIBS
12736cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737/* end confdefs.h.  */
12738
12739/* Override any GCC internal prototype to avoid an error.
12740   Use char because int might match the return type of a GCC
12741   builtin and then its argument prototype would still apply.  */
12742#ifdef __cplusplus
12743extern "C"
12744#endif
12745char strerror ();
12746int
12747main ()
12748{
12749return strerror ();
12750  ;
12751  return 0;
12752}
12753_ACEOF
12754for ac_lib in '' cposix; do
12755  if test -z "$ac_lib"; then
12756    ac_res="none required"
12757  else
12758    ac_res=-l$ac_lib
12759    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12760  fi
12761  if ac_fn_c_try_link "$LINENO"; then :
12762  ac_cv_search_strerror=$ac_res
12763fi
12764rm -f core conftest.err conftest.$ac_objext \
12765    conftest$ac_exeext
12766  if ${ac_cv_search_strerror+:} false; then :
12767  break
12768fi
12769done
12770if ${ac_cv_search_strerror+:} false; then :
12771
12772else
12773  ac_cv_search_strerror=no
12774fi
12775rm conftest.$ac_ext
12776LIBS=$ac_func_search_save_LIBS
12777fi
12778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12779$as_echo "$ac_cv_search_strerror" >&6; }
12780ac_res=$ac_cv_search_strerror
12781if test "$ac_res" != no; then :
12782  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12783
12784fi
12785
12786
12787ac_ext=c
12788ac_cpp='$CPP $CPPFLAGS'
12789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12791ac_compiler_gnu=$ac_cv_c_compiler_gnu
12792if test -n "$ac_tool_prefix"; then
12793  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12794set dummy ${ac_tool_prefix}gcc; ac_word=$2
12795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12796$as_echo_n "checking for $ac_word... " >&6; }
12797if ${ac_cv_prog_CC+:} false; then :
12798  $as_echo_n "(cached) " >&6
12799else
12800  if test -n "$CC"; then
12801  ac_cv_prog_CC="$CC" # Let the user override the test.
12802else
12803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12804for as_dir in $PATH
12805do
12806  IFS=$as_save_IFS
12807  test -z "$as_dir" && as_dir=.
12808    for ac_exec_ext in '' $ac_executable_extensions; do
12809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12810    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12812    break 2
12813  fi
12814done
12815  done
12816IFS=$as_save_IFS
12817
12818fi
12819fi
12820CC=$ac_cv_prog_CC
12821if test -n "$CC"; then
12822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12823$as_echo "$CC" >&6; }
12824else
12825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12826$as_echo "no" >&6; }
12827fi
12828
12829
12830fi
12831if test -z "$ac_cv_prog_CC"; then
12832  ac_ct_CC=$CC
12833  # Extract the first word of "gcc", so it can be a program name with args.
12834set dummy gcc; ac_word=$2
12835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12836$as_echo_n "checking for $ac_word... " >&6; }
12837if ${ac_cv_prog_ac_ct_CC+:} false; then :
12838  $as_echo_n "(cached) " >&6
12839else
12840  if test -n "$ac_ct_CC"; then
12841  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12842else
12843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12844for as_dir in $PATH
12845do
12846  IFS=$as_save_IFS
12847  test -z "$as_dir" && as_dir=.
12848    for ac_exec_ext in '' $ac_executable_extensions; do
12849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12850    ac_cv_prog_ac_ct_CC="gcc"
12851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12852    break 2
12853  fi
12854done
12855  done
12856IFS=$as_save_IFS
12857
12858fi
12859fi
12860ac_ct_CC=$ac_cv_prog_ac_ct_CC
12861if test -n "$ac_ct_CC"; then
12862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12863$as_echo "$ac_ct_CC" >&6; }
12864else
12865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866$as_echo "no" >&6; }
12867fi
12868
12869  if test "x$ac_ct_CC" = x; then
12870    CC=""
12871  else
12872    case $cross_compiling:$ac_tool_warned in
12873yes:)
12874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12876ac_tool_warned=yes ;;
12877esac
12878    CC=$ac_ct_CC
12879  fi
12880else
12881  CC="$ac_cv_prog_CC"
12882fi
12883
12884if test -z "$CC"; then
12885          if test -n "$ac_tool_prefix"; then
12886    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12887set dummy ${ac_tool_prefix}cc; ac_word=$2
12888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12889$as_echo_n "checking for $ac_word... " >&6; }
12890if ${ac_cv_prog_CC+:} false; then :
12891  $as_echo_n "(cached) " >&6
12892else
12893  if test -n "$CC"; then
12894  ac_cv_prog_CC="$CC" # Let the user override the test.
12895else
12896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897for as_dir in $PATH
12898do
12899  IFS=$as_save_IFS
12900  test -z "$as_dir" && as_dir=.
12901    for ac_exec_ext in '' $ac_executable_extensions; do
12902  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12903    ac_cv_prog_CC="${ac_tool_prefix}cc"
12904    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12905    break 2
12906  fi
12907done
12908  done
12909IFS=$as_save_IFS
12910
12911fi
12912fi
12913CC=$ac_cv_prog_CC
12914if test -n "$CC"; then
12915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12916$as_echo "$CC" >&6; }
12917else
12918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12919$as_echo "no" >&6; }
12920fi
12921
12922
12923  fi
12924fi
12925if test -z "$CC"; then
12926  # Extract the first word of "cc", so it can be a program name with args.
12927set dummy cc; ac_word=$2
12928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12929$as_echo_n "checking for $ac_word... " >&6; }
12930if ${ac_cv_prog_CC+:} false; then :
12931  $as_echo_n "(cached) " >&6
12932else
12933  if test -n "$CC"; then
12934  ac_cv_prog_CC="$CC" # Let the user override the test.
12935else
12936  ac_prog_rejected=no
12937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12938for as_dir in $PATH
12939do
12940  IFS=$as_save_IFS
12941  test -z "$as_dir" && as_dir=.
12942    for ac_exec_ext in '' $ac_executable_extensions; do
12943  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12944    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12945       ac_prog_rejected=yes
12946       continue
12947     fi
12948    ac_cv_prog_CC="cc"
12949    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12950    break 2
12951  fi
12952done
12953  done
12954IFS=$as_save_IFS
12955
12956if test $ac_prog_rejected = yes; then
12957  # We found a bogon in the path, so make sure we never use it.
12958  set dummy $ac_cv_prog_CC
12959  shift
12960  if test $# != 0; then
12961    # We chose a different compiler from the bogus one.
12962    # However, it has the same basename, so the bogon will be chosen
12963    # first if we set CC to just the basename; use the full file name.
12964    shift
12965    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12966  fi
12967fi
12968fi
12969fi
12970CC=$ac_cv_prog_CC
12971if test -n "$CC"; then
12972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12973$as_echo "$CC" >&6; }
12974else
12975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12976$as_echo "no" >&6; }
12977fi
12978
12979
12980fi
12981if test -z "$CC"; then
12982  if test -n "$ac_tool_prefix"; then
12983  for ac_prog in cl.exe
12984  do
12985    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12986set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12988$as_echo_n "checking for $ac_word... " >&6; }
12989if ${ac_cv_prog_CC+:} false; then :
12990  $as_echo_n "(cached) " >&6
12991else
12992  if test -n "$CC"; then
12993  ac_cv_prog_CC="$CC" # Let the user override the test.
12994else
12995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996for as_dir in $PATH
12997do
12998  IFS=$as_save_IFS
12999  test -z "$as_dir" && as_dir=.
13000    for ac_exec_ext in '' $ac_executable_extensions; do
13001  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13002    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13003    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13004    break 2
13005  fi
13006done
13007  done
13008IFS=$as_save_IFS
13009
13010fi
13011fi
13012CC=$ac_cv_prog_CC
13013if test -n "$CC"; then
13014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13015$as_echo "$CC" >&6; }
13016else
13017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13018$as_echo "no" >&6; }
13019fi
13020
13021
13022    test -n "$CC" && break
13023  done
13024fi
13025if test -z "$CC"; then
13026  ac_ct_CC=$CC
13027  for ac_prog in cl.exe
13028do
13029  # Extract the first word of "$ac_prog", so it can be a program name with args.
13030set dummy $ac_prog; ac_word=$2
13031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13032$as_echo_n "checking for $ac_word... " >&6; }
13033if ${ac_cv_prog_ac_ct_CC+:} false; then :
13034  $as_echo_n "(cached) " >&6
13035else
13036  if test -n "$ac_ct_CC"; then
13037  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13038else
13039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040for as_dir in $PATH
13041do
13042  IFS=$as_save_IFS
13043  test -z "$as_dir" && as_dir=.
13044    for ac_exec_ext in '' $ac_executable_extensions; do
13045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13046    ac_cv_prog_ac_ct_CC="$ac_prog"
13047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13048    break 2
13049  fi
13050done
13051  done
13052IFS=$as_save_IFS
13053
13054fi
13055fi
13056ac_ct_CC=$ac_cv_prog_ac_ct_CC
13057if test -n "$ac_ct_CC"; then
13058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13059$as_echo "$ac_ct_CC" >&6; }
13060else
13061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13062$as_echo "no" >&6; }
13063fi
13064
13065
13066  test -n "$ac_ct_CC" && break
13067done
13068
13069  if test "x$ac_ct_CC" = x; then
13070    CC=""
13071  else
13072    case $cross_compiling:$ac_tool_warned in
13073yes:)
13074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13076ac_tool_warned=yes ;;
13077esac
13078    CC=$ac_ct_CC
13079  fi
13080fi
13081
13082fi
13083
13084
13085test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13087as_fn_error $? "no acceptable C compiler found in \$PATH
13088See \`config.log' for more details" "$LINENO" 5; }
13089
13090# Provide some information about the compiler.
13091$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13092set X $ac_compile
13093ac_compiler=$2
13094for ac_option in --version -v -V -qversion; do
13095  { { ac_try="$ac_compiler $ac_option >&5"
13096case "(($ac_try" in
13097  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13098  *) ac_try_echo=$ac_try;;
13099esac
13100eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13101$as_echo "$ac_try_echo"; } >&5
13102  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13103  ac_status=$?
13104  if test -s conftest.err; then
13105    sed '10a\
13106... rest of stderr output deleted ...
13107         10q' conftest.err >conftest.er1
13108    cat conftest.er1 >&5
13109  fi
13110  rm -f conftest.er1 conftest.err
13111  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112  test $ac_status = 0; }
13113done
13114
13115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13116$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13117if ${ac_cv_c_compiler_gnu+:} false; then :
13118  $as_echo_n "(cached) " >&6
13119else
13120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121/* end confdefs.h.  */
13122
13123int
13124main ()
13125{
13126#ifndef __GNUC__
13127       choke me
13128#endif
13129
13130  ;
13131  return 0;
13132}
13133_ACEOF
13134if ac_fn_c_try_compile "$LINENO"; then :
13135  ac_compiler_gnu=yes
13136else
13137  ac_compiler_gnu=no
13138fi
13139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13140ac_cv_c_compiler_gnu=$ac_compiler_gnu
13141
13142fi
13143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13144$as_echo "$ac_cv_c_compiler_gnu" >&6; }
13145if test $ac_compiler_gnu = yes; then
13146  GCC=yes
13147else
13148  GCC=
13149fi
13150ac_test_CFLAGS=${CFLAGS+set}
13151ac_save_CFLAGS=$CFLAGS
13152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13153$as_echo_n "checking whether $CC accepts -g... " >&6; }
13154if ${ac_cv_prog_cc_g+:} false; then :
13155  $as_echo_n "(cached) " >&6
13156else
13157  ac_save_c_werror_flag=$ac_c_werror_flag
13158   ac_c_werror_flag=yes
13159   ac_cv_prog_cc_g=no
13160   CFLAGS="-g"
13161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162/* end confdefs.h.  */
13163
13164int
13165main ()
13166{
13167
13168  ;
13169  return 0;
13170}
13171_ACEOF
13172if ac_fn_c_try_compile "$LINENO"; then :
13173  ac_cv_prog_cc_g=yes
13174else
13175  CFLAGS=""
13176      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177/* end confdefs.h.  */
13178
13179int
13180main ()
13181{
13182
13183  ;
13184  return 0;
13185}
13186_ACEOF
13187if ac_fn_c_try_compile "$LINENO"; then :
13188
13189else
13190  ac_c_werror_flag=$ac_save_c_werror_flag
13191	 CFLAGS="-g"
13192	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193/* end confdefs.h.  */
13194
13195int
13196main ()
13197{
13198
13199  ;
13200  return 0;
13201}
13202_ACEOF
13203if ac_fn_c_try_compile "$LINENO"; then :
13204  ac_cv_prog_cc_g=yes
13205fi
13206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13207fi
13208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13209fi
13210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13211   ac_c_werror_flag=$ac_save_c_werror_flag
13212fi
13213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13214$as_echo "$ac_cv_prog_cc_g" >&6; }
13215if test "$ac_test_CFLAGS" = set; then
13216  CFLAGS=$ac_save_CFLAGS
13217elif test $ac_cv_prog_cc_g = yes; then
13218  if test "$GCC" = yes; then
13219    CFLAGS="-g -O2"
13220  else
13221    CFLAGS="-g"
13222  fi
13223else
13224  if test "$GCC" = yes; then
13225    CFLAGS="-O2"
13226  else
13227    CFLAGS=
13228  fi
13229fi
13230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13231$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13232if ${ac_cv_prog_cc_c89+:} false; then :
13233  $as_echo_n "(cached) " >&6
13234else
13235  ac_cv_prog_cc_c89=no
13236ac_save_CC=$CC
13237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13238/* end confdefs.h.  */
13239#include <stdarg.h>
13240#include <stdio.h>
13241struct stat;
13242/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13243struct buf { int x; };
13244FILE * (*rcsopen) (struct buf *, struct stat *, int);
13245static char *e (p, i)
13246     char **p;
13247     int i;
13248{
13249  return p[i];
13250}
13251static char *f (char * (*g) (char **, int), char **p, ...)
13252{
13253  char *s;
13254  va_list v;
13255  va_start (v,p);
13256  s = g (p, va_arg (v,int));
13257  va_end (v);
13258  return s;
13259}
13260
13261/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13262   function prototypes and stuff, but not '\xHH' hex character constants.
13263   These don't provoke an error unfortunately, instead are silently treated
13264   as 'x'.  The following induces an error, until -std is added to get
13265   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13266   array size at least.  It's necessary to write '\x00'==0 to get something
13267   that's true only with -std.  */
13268int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13269
13270/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13271   inside strings and character constants.  */
13272#define FOO(x) 'x'
13273int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13274
13275int test (int i, double x);
13276struct s1 {int (*f) (int a);};
13277struct s2 {int (*f) (double a);};
13278int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13279int argc;
13280char **argv;
13281int
13282main ()
13283{
13284return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13285  ;
13286  return 0;
13287}
13288_ACEOF
13289for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13290	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13291do
13292  CC="$ac_save_CC $ac_arg"
13293  if ac_fn_c_try_compile "$LINENO"; then :
13294  ac_cv_prog_cc_c89=$ac_arg
13295fi
13296rm -f core conftest.err conftest.$ac_objext
13297  test "x$ac_cv_prog_cc_c89" != "xno" && break
13298done
13299rm -f conftest.$ac_ext
13300CC=$ac_save_CC
13301
13302fi
13303# AC_CACHE_VAL
13304case "x$ac_cv_prog_cc_c89" in
13305  x)
13306    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13307$as_echo "none needed" >&6; } ;;
13308  xno)
13309    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13310$as_echo "unsupported" >&6; } ;;
13311  *)
13312    CC="$CC $ac_cv_prog_cc_c89"
13313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13314$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13315esac
13316if test "x$ac_cv_prog_cc_c89" != xno; then :
13317
13318fi
13319
13320ac_ext=c
13321ac_cpp='$CPP $CPPFLAGS'
13322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325
13326ac_ext=c
13327ac_cpp='$CPP $CPPFLAGS'
13328ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330ac_compiler_gnu=$ac_cv_c_compiler_gnu
13331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13332$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13333if ${am_cv_prog_cc_c_o+:} false; then :
13334  $as_echo_n "(cached) " >&6
13335else
13336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13337/* end confdefs.h.  */
13338
13339int
13340main ()
13341{
13342
13343  ;
13344  return 0;
13345}
13346_ACEOF
13347  # Make sure it works both with $CC and with simple cc.
13348  # Following AC_PROG_CC_C_O, we do the test twice because some
13349  # compilers refuse to overwrite an existing .o file with -o,
13350  # though they will create one.
13351  am_cv_prog_cc_c_o=yes
13352  for am_i in 1 2; do
13353    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13354   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13355   ac_status=$?
13356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357   (exit $ac_status); } \
13358         && test -f conftest2.$ac_objext; then
13359      : OK
13360    else
13361      am_cv_prog_cc_c_o=no
13362      break
13363    fi
13364  done
13365  rm -f core conftest*
13366  unset am_i
13367fi
13368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13369$as_echo "$am_cv_prog_cc_c_o" >&6; }
13370if test "$am_cv_prog_cc_c_o" != yes; then
13371   # Losing compiler, so override with the script.
13372   # FIXME: It is wrong to rewrite CC.
13373   # But if we don't then we get into trouble of one sort or another.
13374   # A longer-term fix would be to have automake use am__CC in this case,
13375   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13376   CC="$am_aux_dir/compile $CC"
13377fi
13378ac_ext=c
13379ac_cpp='$CPP $CPPFLAGS'
13380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382ac_compiler_gnu=$ac_cv_c_compiler_gnu
13383
13384
13385
13386
13387
13388
13389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13390$as_echo_n "checking whether NLS is requested... " >&6; }
13391    # Check whether --enable-nls was given.
13392if test "${enable_nls+set}" = set; then :
13393  enableval=$enable_nls; USE_NLS=$enableval
13394else
13395  USE_NLS=yes
13396fi
13397
13398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13399$as_echo "$USE_NLS" >&6; }
13400
13401
13402
13403
13404case "$am__api_version" in
13405    1.01234)
13406	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13407    ;;
13408    *)
13409    ;;
13410esac
13411
13412INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13413INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13414INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13415if test -n ""; then
13416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
13417$as_echo_n "checking for intltool >= ... " >&6; }
13418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13419$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13420    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13421	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
13422fi
13423
13424# Extract the first word of "intltool-update", so it can be a program name with args.
13425set dummy intltool-update; ac_word=$2
13426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13427$as_echo_n "checking for $ac_word... " >&6; }
13428if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13429  $as_echo_n "(cached) " >&6
13430else
13431  case $INTLTOOL_UPDATE in
13432  [\\/]* | ?:[\\/]*)
13433  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13434  ;;
13435  *)
13436  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437for as_dir in $PATH
13438do
13439  IFS=$as_save_IFS
13440  test -z "$as_dir" && as_dir=.
13441    for ac_exec_ext in '' $ac_executable_extensions; do
13442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13443    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13445    break 2
13446  fi
13447done
13448  done
13449IFS=$as_save_IFS
13450
13451  ;;
13452esac
13453fi
13454INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13455if test -n "$INTLTOOL_UPDATE"; then
13456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13457$as_echo "$INTLTOOL_UPDATE" >&6; }
13458else
13459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460$as_echo "no" >&6; }
13461fi
13462
13463
13464# Extract the first word of "intltool-merge", so it can be a program name with args.
13465set dummy intltool-merge; ac_word=$2
13466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13467$as_echo_n "checking for $ac_word... " >&6; }
13468if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13469  $as_echo_n "(cached) " >&6
13470else
13471  case $INTLTOOL_MERGE in
13472  [\\/]* | ?:[\\/]*)
13473  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13474  ;;
13475  *)
13476  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13477for as_dir in $PATH
13478do
13479  IFS=$as_save_IFS
13480  test -z "$as_dir" && as_dir=.
13481    for ac_exec_ext in '' $ac_executable_extensions; do
13482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13483    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13485    break 2
13486  fi
13487done
13488  done
13489IFS=$as_save_IFS
13490
13491  ;;
13492esac
13493fi
13494INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13495if test -n "$INTLTOOL_MERGE"; then
13496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13497$as_echo "$INTLTOOL_MERGE" >&6; }
13498else
13499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13500$as_echo "no" >&6; }
13501fi
13502
13503
13504# Extract the first word of "intltool-extract", so it can be a program name with args.
13505set dummy intltool-extract; ac_word=$2
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13507$as_echo_n "checking for $ac_word... " >&6; }
13508if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13509  $as_echo_n "(cached) " >&6
13510else
13511  case $INTLTOOL_EXTRACT in
13512  [\\/]* | ?:[\\/]*)
13513  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13514  ;;
13515  *)
13516  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13517for as_dir in $PATH
13518do
13519  IFS=$as_save_IFS
13520  test -z "$as_dir" && as_dir=.
13521    for ac_exec_ext in '' $ac_executable_extensions; do
13522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13523    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13525    break 2
13526  fi
13527done
13528  done
13529IFS=$as_save_IFS
13530
13531  ;;
13532esac
13533fi
13534INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13535if test -n "$INTLTOOL_EXTRACT"; then
13536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13537$as_echo "$INTLTOOL_EXTRACT" >&6; }
13538else
13539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13540$as_echo "no" >&6; }
13541fi
13542
13543
13544if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13545    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13546fi
13547
13548if test -z "$AM_DEFAULT_VERBOSITY"; then
13549  AM_DEFAULT_VERBOSITY=1
13550fi
13551
13552
13553INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13554INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13555INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13556
13557
13558
13559
13560INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13561intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13562intltool__v_merge_options_0='-q'
13563
13564
13565
13566
13567  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 $< $@'
13568INTLTOOL_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 $< $@'
13569     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 $< $@'
13570     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 $< $@'
13571      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 $< $@'
13572     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 $< $@'
13573   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 $< $@'
13574    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 $< $@'
13575INTLTOOL_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 $< $@'
13576       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 $< $@'
13577      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 $< $@'
13578if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13579      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 $< $@'
13580else
13581      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'
13582fi
13583      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 $< $@'
13584      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 $< $@'
13585    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 $< $@'
13586  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 $< $@'
13587    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 $< $@'
13588    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 $< $@'
13589   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 $< $@'
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687# Check the gettext tools to make sure they are GNU
13688# Extract the first word of "xgettext", so it can be a program name with args.
13689set dummy xgettext; ac_word=$2
13690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13691$as_echo_n "checking for $ac_word... " >&6; }
13692if ${ac_cv_path_XGETTEXT+:} false; then :
13693  $as_echo_n "(cached) " >&6
13694else
13695  case $XGETTEXT in
13696  [\\/]* | ?:[\\/]*)
13697  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13698  ;;
13699  *)
13700  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13701for as_dir in $PATH
13702do
13703  IFS=$as_save_IFS
13704  test -z "$as_dir" && as_dir=.
13705    for ac_exec_ext in '' $ac_executable_extensions; do
13706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13707    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13709    break 2
13710  fi
13711done
13712  done
13713IFS=$as_save_IFS
13714
13715  ;;
13716esac
13717fi
13718XGETTEXT=$ac_cv_path_XGETTEXT
13719if test -n "$XGETTEXT"; then
13720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13721$as_echo "$XGETTEXT" >&6; }
13722else
13723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13724$as_echo "no" >&6; }
13725fi
13726
13727
13728# Extract the first word of "msgmerge", so it can be a program name with args.
13729set dummy msgmerge; ac_word=$2
13730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13731$as_echo_n "checking for $ac_word... " >&6; }
13732if ${ac_cv_path_MSGMERGE+:} false; then :
13733  $as_echo_n "(cached) " >&6
13734else
13735  case $MSGMERGE in
13736  [\\/]* | ?:[\\/]*)
13737  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13738  ;;
13739  *)
13740  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13741for as_dir in $PATH
13742do
13743  IFS=$as_save_IFS
13744  test -z "$as_dir" && as_dir=.
13745    for ac_exec_ext in '' $ac_executable_extensions; do
13746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13747    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13749    break 2
13750  fi
13751done
13752  done
13753IFS=$as_save_IFS
13754
13755  ;;
13756esac
13757fi
13758MSGMERGE=$ac_cv_path_MSGMERGE
13759if test -n "$MSGMERGE"; then
13760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13761$as_echo "$MSGMERGE" >&6; }
13762else
13763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764$as_echo "no" >&6; }
13765fi
13766
13767
13768# Extract the first word of "msgfmt", so it can be a program name with args.
13769set dummy msgfmt; ac_word=$2
13770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13771$as_echo_n "checking for $ac_word... " >&6; }
13772if ${ac_cv_path_MSGFMT+:} false; then :
13773  $as_echo_n "(cached) " >&6
13774else
13775  case $MSGFMT in
13776  [\\/]* | ?:[\\/]*)
13777  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13778  ;;
13779  *)
13780  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13781for as_dir in $PATH
13782do
13783  IFS=$as_save_IFS
13784  test -z "$as_dir" && as_dir=.
13785    for ac_exec_ext in '' $ac_executable_extensions; do
13786  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13787    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13788    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13789    break 2
13790  fi
13791done
13792  done
13793IFS=$as_save_IFS
13794
13795  ;;
13796esac
13797fi
13798MSGFMT=$ac_cv_path_MSGFMT
13799if test -n "$MSGFMT"; then
13800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13801$as_echo "$MSGFMT" >&6; }
13802else
13803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13804$as_echo "no" >&6; }
13805fi
13806
13807
13808# Extract the first word of "gmsgfmt", so it can be a program name with args.
13809set dummy gmsgfmt; ac_word=$2
13810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13811$as_echo_n "checking for $ac_word... " >&6; }
13812if ${ac_cv_path_GMSGFMT+:} false; then :
13813  $as_echo_n "(cached) " >&6
13814else
13815  case $GMSGFMT in
13816  [\\/]* | ?:[\\/]*)
13817  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13818  ;;
13819  *)
13820  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13821for as_dir in $PATH
13822do
13823  IFS=$as_save_IFS
13824  test -z "$as_dir" && as_dir=.
13825    for ac_exec_ext in '' $ac_executable_extensions; do
13826  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13827    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13829    break 2
13830  fi
13831done
13832  done
13833IFS=$as_save_IFS
13834
13835  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13836  ;;
13837esac
13838fi
13839GMSGFMT=$ac_cv_path_GMSGFMT
13840if test -n "$GMSGFMT"; then
13841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13842$as_echo "$GMSGFMT" >&6; }
13843else
13844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13845$as_echo "no" >&6; }
13846fi
13847
13848
13849if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13850    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13851fi
13852xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13853mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13854mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13855if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13856    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13857fi
13858
13859# Extract the first word of "perl", so it can be a program name with args.
13860set dummy perl; ac_word=$2
13861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13862$as_echo_n "checking for $ac_word... " >&6; }
13863if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13864  $as_echo_n "(cached) " >&6
13865else
13866  case $INTLTOOL_PERL in
13867  [\\/]* | ?:[\\/]*)
13868  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13869  ;;
13870  *)
13871  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13872for as_dir in $PATH
13873do
13874  IFS=$as_save_IFS
13875  test -z "$as_dir" && as_dir=.
13876    for ac_exec_ext in '' $ac_executable_extensions; do
13877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13878    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13880    break 2
13881  fi
13882done
13883  done
13884IFS=$as_save_IFS
13885
13886  ;;
13887esac
13888fi
13889INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13890if test -n "$INTLTOOL_PERL"; then
13891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13892$as_echo "$INTLTOOL_PERL" >&6; }
13893else
13894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13895$as_echo "no" >&6; }
13896fi
13897
13898
13899if test -z "$INTLTOOL_PERL"; then
13900   as_fn_error $? "perl not found" "$LINENO" 5
13901fi
13902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13903$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13904$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13905if test $? -ne 0; then
13906   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13907else
13908   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13910$as_echo "$IT_PERL_VERSION" >&6; }
13911fi
13912if test "x" != "xno-xml"; then
13913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13914$as_echo_n "checking for XML::Parser... " >&6; }
13915   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13916       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13917$as_echo "ok" >&6; }
13918   else
13919       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13920   fi
13921fi
13922
13923# Substitute ALL_LINGUAS so we can use it in po/Makefile
13924
13925
13926# Set DATADIRNAME correctly if it is not set yet
13927# (copied from glib-gettext.m4)
13928if test -z "$DATADIRNAME"; then
13929  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930/* end confdefs.h.  */
13931
13932int
13933main ()
13934{
13935extern int _nl_msg_cat_cntr;
13936                       return _nl_msg_cat_cntr
13937  ;
13938  return 0;
13939}
13940_ACEOF
13941if ac_fn_c_try_link "$LINENO"; then :
13942  DATADIRNAME=share
13943else
13944  case $host in
13945    *-*-solaris*)
13946                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13947if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13948  DATADIRNAME=share
13949else
13950  DATADIRNAME=lib
13951fi
13952
13953    ;;
13954    *)
13955    DATADIRNAME=lib
13956    ;;
13957    esac
13958fi
13959rm -f core conftest.err conftest.$ac_objext \
13960    conftest$ac_exeext conftest.$ac_ext
13961fi
13962
13963
13964
13965
13966
13967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13968$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13969set x ${MAKE-make}
13970ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13971if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
13972  $as_echo_n "(cached) " >&6
13973else
13974  cat >conftest.make <<\_ACEOF
13975SHELL = /bin/sh
13976all:
13977	@echo '@@@%%%=$(MAKE)=@@@%%%'
13978_ACEOF
13979# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13980case `${MAKE-make} -f conftest.make 2>/dev/null` in
13981  *@@@%%%=?*=@@@%%%*)
13982    eval ac_cv_prog_make_${ac_make}_set=yes;;
13983  *)
13984    eval ac_cv_prog_make_${ac_make}_set=no;;
13985esac
13986rm -f conftest.make
13987fi
13988if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
13989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13990$as_echo "yes" >&6; }
13991  SET_MAKE=
13992else
13993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13994$as_echo "no" >&6; }
13995  SET_MAKE="MAKE=${MAKE-make}"
13996fi
13997
13998
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14000$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14001if ${ac_cv_c_bigendian+:} false; then :
14002  $as_echo_n "(cached) " >&6
14003else
14004  ac_cv_c_bigendian=unknown
14005    # See if we're dealing with a universal compiler.
14006    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007/* end confdefs.h.  */
14008#ifndef __APPLE_CC__
14009	       not a universal capable compiler
14010	     #endif
14011	     typedef int dummy;
14012
14013_ACEOF
14014if ac_fn_c_try_compile "$LINENO"; then :
14015
14016	# Check for potential -arch flags.  It is not universal unless
14017	# there are at least two -arch flags with different values.
14018	ac_arch=
14019	ac_prev=
14020	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14021	 if test -n "$ac_prev"; then
14022	   case $ac_word in
14023	     i?86 | x86_64 | ppc | ppc64)
14024	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14025		 ac_arch=$ac_word
14026	       else
14027		 ac_cv_c_bigendian=universal
14028		 break
14029	       fi
14030	       ;;
14031	   esac
14032	   ac_prev=
14033	 elif test "x$ac_word" = "x-arch"; then
14034	   ac_prev=arch
14035	 fi
14036       done
14037fi
14038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14039    if test $ac_cv_c_bigendian = unknown; then
14040      # See if sys/param.h defines the BYTE_ORDER macro.
14041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042/* end confdefs.h.  */
14043#include <sys/types.h>
14044	     #include <sys/param.h>
14045
14046int
14047main ()
14048{
14049#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14050		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14051		     && LITTLE_ENDIAN)
14052	      bogus endian macros
14053	     #endif
14054
14055  ;
14056  return 0;
14057}
14058_ACEOF
14059if ac_fn_c_try_compile "$LINENO"; then :
14060  # It does; now see whether it defined to BIG_ENDIAN or not.
14061	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062/* end confdefs.h.  */
14063#include <sys/types.h>
14064		#include <sys/param.h>
14065
14066int
14067main ()
14068{
14069#if BYTE_ORDER != BIG_ENDIAN
14070		 not big endian
14071		#endif
14072
14073  ;
14074  return 0;
14075}
14076_ACEOF
14077if ac_fn_c_try_compile "$LINENO"; then :
14078  ac_cv_c_bigendian=yes
14079else
14080  ac_cv_c_bigendian=no
14081fi
14082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14083fi
14084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14085    fi
14086    if test $ac_cv_c_bigendian = unknown; then
14087      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14088      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089/* end confdefs.h.  */
14090#include <limits.h>
14091
14092int
14093main ()
14094{
14095#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14096	      bogus endian macros
14097	     #endif
14098
14099  ;
14100  return 0;
14101}
14102_ACEOF
14103if ac_fn_c_try_compile "$LINENO"; then :
14104  # It does; now see whether it defined to _BIG_ENDIAN or not.
14105	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106/* end confdefs.h.  */
14107#include <limits.h>
14108
14109int
14110main ()
14111{
14112#ifndef _BIG_ENDIAN
14113		 not big endian
14114		#endif
14115
14116  ;
14117  return 0;
14118}
14119_ACEOF
14120if ac_fn_c_try_compile "$LINENO"; then :
14121  ac_cv_c_bigendian=yes
14122else
14123  ac_cv_c_bigendian=no
14124fi
14125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14126fi
14127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14128    fi
14129    if test $ac_cv_c_bigendian = unknown; then
14130      # Compile a test program.
14131      if test "$cross_compiling" = yes; then :
14132  # Try to guess by grepping values from an object file.
14133	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134/* end confdefs.h.  */
14135short int ascii_mm[] =
14136		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14137		short int ascii_ii[] =
14138		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14139		int use_ascii (int i) {
14140		  return ascii_mm[i] + ascii_ii[i];
14141		}
14142		short int ebcdic_ii[] =
14143		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14144		short int ebcdic_mm[] =
14145		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14146		int use_ebcdic (int i) {
14147		  return ebcdic_mm[i] + ebcdic_ii[i];
14148		}
14149		extern int foo;
14150
14151int
14152main ()
14153{
14154return use_ascii (foo) == use_ebcdic (foo);
14155  ;
14156  return 0;
14157}
14158_ACEOF
14159if ac_fn_c_try_compile "$LINENO"; then :
14160  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14161	      ac_cv_c_bigendian=yes
14162	    fi
14163	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14164	      if test "$ac_cv_c_bigendian" = unknown; then
14165		ac_cv_c_bigendian=no
14166	      else
14167		# finding both strings is unlikely to happen, but who knows?
14168		ac_cv_c_bigendian=unknown
14169	      fi
14170	    fi
14171fi
14172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14173else
14174  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175/* end confdefs.h.  */
14176$ac_includes_default
14177int
14178main ()
14179{
14180
14181	     /* Are we little or big endian?  From Harbison&Steele.  */
14182	     union
14183	     {
14184	       long int l;
14185	       char c[sizeof (long int)];
14186	     } u;
14187	     u.l = 1;
14188	     return u.c[sizeof (long int) - 1] == 1;
14189
14190  ;
14191  return 0;
14192}
14193_ACEOF
14194if ac_fn_c_try_run "$LINENO"; then :
14195  ac_cv_c_bigendian=no
14196else
14197  ac_cv_c_bigendian=yes
14198fi
14199rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14200  conftest.$ac_objext conftest.beam conftest.$ac_ext
14201fi
14202
14203    fi
14204fi
14205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14206$as_echo "$ac_cv_c_bigendian" >&6; }
14207 case $ac_cv_c_bigendian in #(
14208   yes)
14209     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14210;; #(
14211   no)
14212      ;; #(
14213   universal)
14214
14215$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14216
14217     ;; #(
14218   *)
14219     as_fn_error $? "unknown endianness
14220 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14221 esac
14222
14223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14224$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14225if ${ac_cv_c_const+:} false; then :
14226  $as_echo_n "(cached) " >&6
14227else
14228  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229/* end confdefs.h.  */
14230
14231int
14232main ()
14233{
14234
14235#ifndef __cplusplus
14236  /* Ultrix mips cc rejects this sort of thing.  */
14237  typedef int charset[2];
14238  const charset cs = { 0, 0 };
14239  /* SunOS 4.1.1 cc rejects this.  */
14240  char const *const *pcpcc;
14241  char **ppc;
14242  /* NEC SVR4.0.2 mips cc rejects this.  */
14243  struct point {int x, y;};
14244  static struct point const zero = {0,0};
14245  /* AIX XL C 1.02.0.0 rejects this.
14246     It does not let you subtract one const X* pointer from another in
14247     an arm of an if-expression whose if-part is not a constant
14248     expression */
14249  const char *g = "string";
14250  pcpcc = &g + (g ? g-g : 0);
14251  /* HPUX 7.0 cc rejects these. */
14252  ++pcpcc;
14253  ppc = (char**) pcpcc;
14254  pcpcc = (char const *const *) ppc;
14255  { /* SCO 3.2v4 cc rejects this sort of thing.  */
14256    char tx;
14257    char *t = &tx;
14258    char const *s = 0 ? (char *) 0 : (char const *) 0;
14259
14260    *t++ = 0;
14261    if (s) return 0;
14262  }
14263  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14264    int x[] = {25, 17};
14265    const int *foo = &x[0];
14266    ++foo;
14267  }
14268  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14269    typedef const int *iptr;
14270    iptr p = 0;
14271    ++p;
14272  }
14273  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14274       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14275    struct s { int j; const int *ap[3]; } bx;
14276    struct s *b = &bx; b->j = 5;
14277  }
14278  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14279    const int foo = 10;
14280    if (!foo) return 0;
14281  }
14282  return !cs[0] && !zero.x;
14283#endif
14284
14285  ;
14286  return 0;
14287}
14288_ACEOF
14289if ac_fn_c_try_compile "$LINENO"; then :
14290  ac_cv_c_const=yes
14291else
14292  ac_cv_c_const=no
14293fi
14294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14295fi
14296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14297$as_echo "$ac_cv_c_const" >&6; }
14298if test $ac_cv_c_const = no; then
14299
14300$as_echo "#define const /**/" >>confdefs.h
14301
14302fi
14303
14304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14305$as_echo_n "checking for inline... " >&6; }
14306if ${ac_cv_c_inline+:} false; then :
14307  $as_echo_n "(cached) " >&6
14308else
14309  ac_cv_c_inline=no
14310for ac_kw in inline __inline__ __inline; do
14311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312/* end confdefs.h.  */
14313#ifndef __cplusplus
14314typedef int foo_t;
14315static $ac_kw foo_t static_foo () {return 0; }
14316$ac_kw foo_t foo () {return 0; }
14317#endif
14318
14319_ACEOF
14320if ac_fn_c_try_compile "$LINENO"; then :
14321  ac_cv_c_inline=$ac_kw
14322fi
14323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14324  test "$ac_cv_c_inline" != no && break
14325done
14326
14327fi
14328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14329$as_echo "$ac_cv_c_inline" >&6; }
14330
14331case $ac_cv_c_inline in
14332  inline | yes) ;;
14333  *)
14334    case $ac_cv_c_inline in
14335      no) ac_val=;;
14336      *) ac_val=$ac_cv_c_inline;;
14337    esac
14338    cat >>confdefs.h <<_ACEOF
14339#ifndef __cplusplus
14340#define inline $ac_val
14341#endif
14342_ACEOF
14343    ;;
14344esac
14345
14346
14347
14348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
14349$as_echo_n "checking for long double with more range or precision than double... " >&6; }
14350if ${ac_cv_type_long_double_wider+:} false; then :
14351  $as_echo_n "(cached) " >&6
14352else
14353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354/* end confdefs.h.  */
14355#include <float.h>
14356	    long double const a[] =
14357	      {
14358		 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
14359		 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
14360	      };
14361	    long double
14362	    f (long double x)
14363	    {
14364	       return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
14365			+ (x ? f (x) : 'c'));
14366	    }
14367
14368int
14369main ()
14370{
14371static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
14372		   + (DBL_MANT_DIG < LDBL_MANT_DIG)
14373		   - (LDBL_MAX_EXP < DBL_MAX_EXP)
14374		   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
14375	    && (int) LDBL_EPSILON == 0
14376	  )];
14377test_array [0] = 0;
14378return test_array [0];
14379
14380  ;
14381  return 0;
14382}
14383_ACEOF
14384if ac_fn_c_try_compile "$LINENO"; then :
14385  ac_cv_type_long_double_wider=yes
14386else
14387  ac_cv_type_long_double_wider=no
14388fi
14389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14390fi
14391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
14392$as_echo "$ac_cv_type_long_double_wider" >&6; }
14393  if test $ac_cv_type_long_double_wider = yes; then
14394
14395$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
14396
14397  fi
14398
14399    ac_cv_c_long_double=$ac_cv_type_long_double_wider
14400    if test $ac_cv_c_long_double = yes; then
14401
14402$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
14403
14404    fi
14405
14406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
14407$as_echo_n "checking for working volatile... " >&6; }
14408if ${ac_cv_c_volatile+:} false; then :
14409  $as_echo_n "(cached) " >&6
14410else
14411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412/* end confdefs.h.  */
14413
14414int
14415main ()
14416{
14417
14418volatile int x;
14419int * volatile y = (int *) 0;
14420return !x && !y;
14421  ;
14422  return 0;
14423}
14424_ACEOF
14425if ac_fn_c_try_compile "$LINENO"; then :
14426  ac_cv_c_volatile=yes
14427else
14428  ac_cv_c_volatile=no
14429fi
14430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14431fi
14432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
14433$as_echo "$ac_cv_c_volatile" >&6; }
14434if test $ac_cv_c_volatile = no; then
14435
14436$as_echo "#define volatile /**/" >>confdefs.h
14437
14438fi
14439
14440ac_header_dirent=no
14441for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14442  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14444$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14445if eval \${$as_ac_Header+:} false; then :
14446  $as_echo_n "(cached) " >&6
14447else
14448  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449/* end confdefs.h.  */
14450#include <sys/types.h>
14451#include <$ac_hdr>
14452
14453int
14454main ()
14455{
14456if ((DIR *) 0)
14457return 0;
14458  ;
14459  return 0;
14460}
14461_ACEOF
14462if ac_fn_c_try_compile "$LINENO"; then :
14463  eval "$as_ac_Header=yes"
14464else
14465  eval "$as_ac_Header=no"
14466fi
14467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14468fi
14469eval ac_res=\$$as_ac_Header
14470	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14471$as_echo "$ac_res" >&6; }
14472if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14473  cat >>confdefs.h <<_ACEOF
14474#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14475_ACEOF
14476
14477ac_header_dirent=$ac_hdr; break
14478fi
14479
14480done
14481# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14482if test $ac_header_dirent = dirent.h; then
14483  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14484$as_echo_n "checking for library containing opendir... " >&6; }
14485if ${ac_cv_search_opendir+:} false; then :
14486  $as_echo_n "(cached) " >&6
14487else
14488  ac_func_search_save_LIBS=$LIBS
14489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490/* end confdefs.h.  */
14491
14492/* Override any GCC internal prototype to avoid an error.
14493   Use char because int might match the return type of a GCC
14494   builtin and then its argument prototype would still apply.  */
14495#ifdef __cplusplus
14496extern "C"
14497#endif
14498char opendir ();
14499int
14500main ()
14501{
14502return opendir ();
14503  ;
14504  return 0;
14505}
14506_ACEOF
14507for ac_lib in '' dir; do
14508  if test -z "$ac_lib"; then
14509    ac_res="none required"
14510  else
14511    ac_res=-l$ac_lib
14512    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14513  fi
14514  if ac_fn_c_try_link "$LINENO"; then :
14515  ac_cv_search_opendir=$ac_res
14516fi
14517rm -f core conftest.err conftest.$ac_objext \
14518    conftest$ac_exeext
14519  if ${ac_cv_search_opendir+:} false; then :
14520  break
14521fi
14522done
14523if ${ac_cv_search_opendir+:} false; then :
14524
14525else
14526  ac_cv_search_opendir=no
14527fi
14528rm conftest.$ac_ext
14529LIBS=$ac_func_search_save_LIBS
14530fi
14531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14532$as_echo "$ac_cv_search_opendir" >&6; }
14533ac_res=$ac_cv_search_opendir
14534if test "$ac_res" != no; then :
14535  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14536
14537fi
14538
14539else
14540  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14541$as_echo_n "checking for library containing opendir... " >&6; }
14542if ${ac_cv_search_opendir+:} false; then :
14543  $as_echo_n "(cached) " >&6
14544else
14545  ac_func_search_save_LIBS=$LIBS
14546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547/* end confdefs.h.  */
14548
14549/* Override any GCC internal prototype to avoid an error.
14550   Use char because int might match the return type of a GCC
14551   builtin and then its argument prototype would still apply.  */
14552#ifdef __cplusplus
14553extern "C"
14554#endif
14555char opendir ();
14556int
14557main ()
14558{
14559return opendir ();
14560  ;
14561  return 0;
14562}
14563_ACEOF
14564for ac_lib in '' x; do
14565  if test -z "$ac_lib"; then
14566    ac_res="none required"
14567  else
14568    ac_res=-l$ac_lib
14569    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14570  fi
14571  if ac_fn_c_try_link "$LINENO"; then :
14572  ac_cv_search_opendir=$ac_res
14573fi
14574rm -f core conftest.err conftest.$ac_objext \
14575    conftest$ac_exeext
14576  if ${ac_cv_search_opendir+:} false; then :
14577  break
14578fi
14579done
14580if ${ac_cv_search_opendir+:} false; then :
14581
14582else
14583  ac_cv_search_opendir=no
14584fi
14585rm conftest.$ac_ext
14586LIBS=$ac_func_search_save_LIBS
14587fi
14588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14589$as_echo "$ac_cv_search_opendir" >&6; }
14590ac_res=$ac_cv_search_opendir
14591if test "$ac_res" != no; then :
14592  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14593
14594fi
14595
14596fi
14597
14598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14599$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14600if ${ac_cv_c_const+:} false; then :
14601  $as_echo_n "(cached) " >&6
14602else
14603  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604/* end confdefs.h.  */
14605
14606int
14607main ()
14608{
14609
14610#ifndef __cplusplus
14611  /* Ultrix mips cc rejects this sort of thing.  */
14612  typedef int charset[2];
14613  const charset cs = { 0, 0 };
14614  /* SunOS 4.1.1 cc rejects this.  */
14615  char const *const *pcpcc;
14616  char **ppc;
14617  /* NEC SVR4.0.2 mips cc rejects this.  */
14618  struct point {int x, y;};
14619  static struct point const zero = {0,0};
14620  /* AIX XL C 1.02.0.0 rejects this.
14621     It does not let you subtract one const X* pointer from another in
14622     an arm of an if-expression whose if-part is not a constant
14623     expression */
14624  const char *g = "string";
14625  pcpcc = &g + (g ? g-g : 0);
14626  /* HPUX 7.0 cc rejects these. */
14627  ++pcpcc;
14628  ppc = (char**) pcpcc;
14629  pcpcc = (char const *const *) ppc;
14630  { /* SCO 3.2v4 cc rejects this sort of thing.  */
14631    char tx;
14632    char *t = &tx;
14633    char const *s = 0 ? (char *) 0 : (char const *) 0;
14634
14635    *t++ = 0;
14636    if (s) return 0;
14637  }
14638  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14639    int x[] = {25, 17};
14640    const int *foo = &x[0];
14641    ++foo;
14642  }
14643  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14644    typedef const int *iptr;
14645    iptr p = 0;
14646    ++p;
14647  }
14648  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14649       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14650    struct s { int j; const int *ap[3]; } bx;
14651    struct s *b = &bx; b->j = 5;
14652  }
14653  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14654    const int foo = 10;
14655    if (!foo) return 0;
14656  }
14657  return !cs[0] && !zero.x;
14658#endif
14659
14660  ;
14661  return 0;
14662}
14663_ACEOF
14664if ac_fn_c_try_compile "$LINENO"; then :
14665  ac_cv_c_const=yes
14666else
14667  ac_cv_c_const=no
14668fi
14669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14670fi
14671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14672$as_echo "$ac_cv_c_const" >&6; }
14673if test $ac_cv_c_const = no; then
14674
14675$as_echo "#define const /**/" >>confdefs.h
14676
14677fi
14678
14679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14680$as_echo_n "checking for inline... " >&6; }
14681if ${ac_cv_c_inline+:} false; then :
14682  $as_echo_n "(cached) " >&6
14683else
14684  ac_cv_c_inline=no
14685for ac_kw in inline __inline__ __inline; do
14686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687/* end confdefs.h.  */
14688#ifndef __cplusplus
14689typedef int foo_t;
14690static $ac_kw foo_t static_foo () {return 0; }
14691$ac_kw foo_t foo () {return 0; }
14692#endif
14693
14694_ACEOF
14695if ac_fn_c_try_compile "$LINENO"; then :
14696  ac_cv_c_inline=$ac_kw
14697fi
14698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14699  test "$ac_cv_c_inline" != no && break
14700done
14701
14702fi
14703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14704$as_echo "$ac_cv_c_inline" >&6; }
14705
14706case $ac_cv_c_inline in
14707  inline | yes) ;;
14708  *)
14709    case $ac_cv_c_inline in
14710      no) ac_val=;;
14711      *) ac_val=$ac_cv_c_inline;;
14712    esac
14713    cat >>confdefs.h <<_ACEOF
14714#ifndef __cplusplus
14715#define inline $ac_val
14716#endif
14717_ACEOF
14718    ;;
14719esac
14720
14721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14722$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14723if ${ac_cv_header_time+:} false; then :
14724  $as_echo_n "(cached) " >&6
14725else
14726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727/* end confdefs.h.  */
14728#include <sys/types.h>
14729#include <sys/time.h>
14730#include <time.h>
14731
14732int
14733main ()
14734{
14735if ((struct tm *) 0)
14736return 0;
14737  ;
14738  return 0;
14739}
14740_ACEOF
14741if ac_fn_c_try_compile "$LINENO"; then :
14742  ac_cv_header_time=yes
14743else
14744  ac_cv_header_time=no
14745fi
14746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747fi
14748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14749$as_echo "$ac_cv_header_time" >&6; }
14750if test $ac_cv_header_time = yes; then
14751
14752$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14753
14754fi
14755
14756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14757$as_echo_n "checking return type of signal handlers... " >&6; }
14758if ${ac_cv_type_signal+:} false; then :
14759  $as_echo_n "(cached) " >&6
14760else
14761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762/* end confdefs.h.  */
14763#include <sys/types.h>
14764#include <signal.h>
14765
14766int
14767main ()
14768{
14769return *(signal (0, 0)) (0) == 1;
14770  ;
14771  return 0;
14772}
14773_ACEOF
14774if ac_fn_c_try_compile "$LINENO"; then :
14775  ac_cv_type_signal=int
14776else
14777  ac_cv_type_signal=void
14778fi
14779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780fi
14781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14782$as_echo "$ac_cv_type_signal" >&6; }
14783
14784cat >>confdefs.h <<_ACEOF
14785#define RETSIGTYPE $ac_cv_type_signal
14786_ACEOF
14787
14788
14789
14790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking integer bit order" >&5
14791$as_echo_n "checking integer bit order... " >&6; }
14792case xyes in
14793x$ac_cv_c_bigendian)
14794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: bigendian" >&5
14795$as_echo "bigendian" >&6; }
14796  CFLAGS="$CFLAGS -DTURN"
14797  ;;
14798*)
14799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: littleendian" >&5
14800$as_echo "littleendian" >&6; }
14801  ;;
14802esac
14803# The cast to long int works around a bug in the HP C Compiler
14804# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14805# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14806# This bug is HP SR number 8606223364.
14807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14808$as_echo_n "checking size of short... " >&6; }
14809if ${ac_cv_sizeof_short+:} false; then :
14810  $as_echo_n "(cached) " >&6
14811else
14812  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
14813
14814else
14815  if test "$ac_cv_type_short" = yes; then
14816     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14818as_fn_error 77 "cannot compute sizeof (short)
14819See \`config.log' for more details" "$LINENO" 5; }
14820   else
14821     ac_cv_sizeof_short=0
14822   fi
14823fi
14824
14825fi
14826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14827$as_echo "$ac_cv_sizeof_short" >&6; }
14828
14829
14830
14831cat >>confdefs.h <<_ACEOF
14832#define SIZEOF_SHORT $ac_cv_sizeof_short
14833_ACEOF
14834
14835
14836# The cast to long int works around a bug in the HP C Compiler
14837# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14838# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14839# This bug is HP SR number 8606223364.
14840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14841$as_echo_n "checking size of int... " >&6; }
14842if ${ac_cv_sizeof_int+:} false; then :
14843  $as_echo_n "(cached) " >&6
14844else
14845  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
14846
14847else
14848  if test "$ac_cv_type_int" = yes; then
14849     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14850$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14851as_fn_error 77 "cannot compute sizeof (int)
14852See \`config.log' for more details" "$LINENO" 5; }
14853   else
14854     ac_cv_sizeof_int=0
14855   fi
14856fi
14857
14858fi
14859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14860$as_echo "$ac_cv_sizeof_int" >&6; }
14861
14862
14863
14864cat >>confdefs.h <<_ACEOF
14865#define SIZEOF_INT $ac_cv_sizeof_int
14866_ACEOF
14867
14868
14869# The cast to long int works around a bug in the HP C Compiler
14870# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14871# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14872# This bug is HP SR number 8606223364.
14873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14874$as_echo_n "checking size of long... " >&6; }
14875if ${ac_cv_sizeof_long+:} false; then :
14876  $as_echo_n "(cached) " >&6
14877else
14878  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
14879
14880else
14881  if test "$ac_cv_type_long" = yes; then
14882     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14883$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14884as_fn_error 77 "cannot compute sizeof (long)
14885See \`config.log' for more details" "$LINENO" 5; }
14886   else
14887     ac_cv_sizeof_long=0
14888   fi
14889fi
14890
14891fi
14892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14893$as_echo "$ac_cv_sizeof_long" >&6; }
14894
14895
14896
14897cat >>confdefs.h <<_ACEOF
14898#define SIZEOF_LONG $ac_cv_sizeof_long
14899_ACEOF
14900
14901
14902# The cast to long int works around a bug in the HP C Compiler
14903# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14904# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14905# This bug is HP SR number 8606223364.
14906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
14907$as_echo_n "checking size of long long... " >&6; }
14908if ${ac_cv_sizeof_long_long+:} false; then :
14909  $as_echo_n "(cached) " >&6
14910else
14911  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
14912
14913else
14914  if test "$ac_cv_type_long_long" = yes; then
14915     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14917as_fn_error 77 "cannot compute sizeof (long long)
14918See \`config.log' for more details" "$LINENO" 5; }
14919   else
14920     ac_cv_sizeof_long_long=0
14921   fi
14922fi
14923
14924fi
14925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
14926$as_echo "$ac_cv_sizeof_long_long" >&6; }
14927
14928
14929
14930cat >>confdefs.h <<_ACEOF
14931#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14932_ACEOF
14933
14934
14935# The cast to long int works around a bug in the HP C Compiler
14936# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14937# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14938# This bug is HP SR number 8606223364.
14939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char *" >&5
14940$as_echo_n "checking size of unsigned char *... " >&6; }
14941if ${ac_cv_sizeof_unsigned_char_p+:} false; then :
14942  $as_echo_n "(cached) " >&6
14943else
14944  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p"        "$ac_includes_default"; then :
14945
14946else
14947  if test "$ac_cv_type_unsigned_char_p" = yes; then
14948     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14950as_fn_error 77 "cannot compute sizeof (unsigned char *)
14951See \`config.log' for more details" "$LINENO" 5; }
14952   else
14953     ac_cv_sizeof_unsigned_char_p=0
14954   fi
14955fi
14956
14957fi
14958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5
14959$as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; }
14960
14961
14962
14963cat >>confdefs.h <<_ACEOF
14964#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
14965_ACEOF
14966
14967
14968# Check whether --enable-largefile was given.
14969if test "${enable_largefile+set}" = set; then :
14970  enableval=$enable_largefile;
14971fi
14972
14973if test "$enable_largefile" != no; then
14974
14975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14976$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14977if ${ac_cv_sys_largefile_CC+:} false; then :
14978  $as_echo_n "(cached) " >&6
14979else
14980  ac_cv_sys_largefile_CC=no
14981     if test "$GCC" != yes; then
14982       ac_save_CC=$CC
14983       while :; do
14984	 # IRIX 6.2 and later do not support large files by default,
14985	 # so use the C compiler's -n32 option if that helps.
14986	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987/* end confdefs.h.  */
14988#include <sys/types.h>
14989 /* Check that off_t can represent 2**63 - 1 correctly.
14990    We can't simply define LARGE_OFF_T to be 9223372036854775807,
14991    since some C++ compilers masquerading as C compilers
14992    incorrectly reject 9223372036854775807.  */
14993#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14994  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14995		       && LARGE_OFF_T % 2147483647 == 1)
14996		      ? 1 : -1];
14997int
14998main ()
14999{
15000
15001  ;
15002  return 0;
15003}
15004_ACEOF
15005	 if ac_fn_c_try_compile "$LINENO"; then :
15006  break
15007fi
15008rm -f core conftest.err conftest.$ac_objext
15009	 CC="$CC -n32"
15010	 if ac_fn_c_try_compile "$LINENO"; then :
15011  ac_cv_sys_largefile_CC=' -n32'; break
15012fi
15013rm -f core conftest.err conftest.$ac_objext
15014	 break
15015       done
15016       CC=$ac_save_CC
15017       rm -f conftest.$ac_ext
15018    fi
15019fi
15020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15021$as_echo "$ac_cv_sys_largefile_CC" >&6; }
15022  if test "$ac_cv_sys_largefile_CC" != no; then
15023    CC=$CC$ac_cv_sys_largefile_CC
15024  fi
15025
15026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15027$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15028if ${ac_cv_sys_file_offset_bits+:} false; then :
15029  $as_echo_n "(cached) " >&6
15030else
15031  while :; do
15032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033/* end confdefs.h.  */
15034#include <sys/types.h>
15035 /* Check that off_t can represent 2**63 - 1 correctly.
15036    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15037    since some C++ compilers masquerading as C compilers
15038    incorrectly reject 9223372036854775807.  */
15039#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15040  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15041		       && LARGE_OFF_T % 2147483647 == 1)
15042		      ? 1 : -1];
15043int
15044main ()
15045{
15046
15047  ;
15048  return 0;
15049}
15050_ACEOF
15051if ac_fn_c_try_compile "$LINENO"; then :
15052  ac_cv_sys_file_offset_bits=no; break
15053fi
15054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15055  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056/* end confdefs.h.  */
15057#define _FILE_OFFSET_BITS 64
15058#include <sys/types.h>
15059 /* Check that off_t can represent 2**63 - 1 correctly.
15060    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15061    since some C++ compilers masquerading as C compilers
15062    incorrectly reject 9223372036854775807.  */
15063#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15064  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15065		       && LARGE_OFF_T % 2147483647 == 1)
15066		      ? 1 : -1];
15067int
15068main ()
15069{
15070
15071  ;
15072  return 0;
15073}
15074_ACEOF
15075if ac_fn_c_try_compile "$LINENO"; then :
15076  ac_cv_sys_file_offset_bits=64; break
15077fi
15078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15079  ac_cv_sys_file_offset_bits=unknown
15080  break
15081done
15082fi
15083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15084$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15085case $ac_cv_sys_file_offset_bits in #(
15086  no | unknown) ;;
15087  *)
15088cat >>confdefs.h <<_ACEOF
15089#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15090_ACEOF
15091;;
15092esac
15093rm -rf conftest*
15094  if test $ac_cv_sys_file_offset_bits = unknown; then
15095    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15096$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15097if ${ac_cv_sys_large_files+:} false; then :
15098  $as_echo_n "(cached) " >&6
15099else
15100  while :; do
15101  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102/* end confdefs.h.  */
15103#include <sys/types.h>
15104 /* Check that off_t can represent 2**63 - 1 correctly.
15105    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15106    since some C++ compilers masquerading as C compilers
15107    incorrectly reject 9223372036854775807.  */
15108#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15109  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15110		       && LARGE_OFF_T % 2147483647 == 1)
15111		      ? 1 : -1];
15112int
15113main ()
15114{
15115
15116  ;
15117  return 0;
15118}
15119_ACEOF
15120if ac_fn_c_try_compile "$LINENO"; then :
15121  ac_cv_sys_large_files=no; break
15122fi
15123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125/* end confdefs.h.  */
15126#define _LARGE_FILES 1
15127#include <sys/types.h>
15128 /* Check that off_t can represent 2**63 - 1 correctly.
15129    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15130    since some C++ compilers masquerading as C compilers
15131    incorrectly reject 9223372036854775807.  */
15132#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15133  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15134		       && LARGE_OFF_T % 2147483647 == 1)
15135		      ? 1 : -1];
15136int
15137main ()
15138{
15139
15140  ;
15141  return 0;
15142}
15143_ACEOF
15144if ac_fn_c_try_compile "$LINENO"; then :
15145  ac_cv_sys_large_files=1; break
15146fi
15147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148  ac_cv_sys_large_files=unknown
15149  break
15150done
15151fi
15152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15153$as_echo "$ac_cv_sys_large_files" >&6; }
15154case $ac_cv_sys_large_files in #(
15155  no | unknown) ;;
15156  *)
15157cat >>confdefs.h <<_ACEOF
15158#define _LARGE_FILES $ac_cv_sys_large_files
15159_ACEOF
15160;;
15161esac
15162rm -rf conftest*
15163  fi
15164
15165
15166fi
15167
15168
15169if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
15170    { $as_echo "$as_me:${as_lineno-$LINENO}: result: FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&5
15171$as_echo "FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&6; }
15172    FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits
15173
15174fi
15175# The cast to long int works around a bug in the HP C Compiler
15176# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15177# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15178# This bug is HP SR number 8606223364.
15179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
15180$as_echo_n "checking size of size_t... " >&6; }
15181if ${ac_cv_sizeof_size_t+:} false; then :
15182  $as_echo_n "(cached) " >&6
15183else
15184  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
15185
15186else
15187  if test "$ac_cv_type_size_t" = yes; then
15188     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15189$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15190as_fn_error 77 "cannot compute sizeof (size_t)
15191See \`config.log' for more details" "$LINENO" 5; }
15192   else
15193     ac_cv_sizeof_size_t=0
15194   fi
15195fi
15196
15197fi
15198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
15199$as_echo "$ac_cv_sizeof_size_t" >&6; }
15200
15201
15202
15203cat >>confdefs.h <<_ACEOF
15204#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
15205_ACEOF
15206
15207
15208# The cast to long int works around a bug in the HP C Compiler
15209# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15210# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15211# This bug is HP SR number 8606223364.
15212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
15213$as_echo_n "checking size of off_t... " >&6; }
15214if ${ac_cv_sizeof_off_t+:} false; then :
15215  $as_echo_n "(cached) " >&6
15216else
15217  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
15218
15219else
15220  if test "$ac_cv_type_off_t" = yes; then
15221     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15223as_fn_error 77 "cannot compute sizeof (off_t)
15224See \`config.log' for more details" "$LINENO" 5; }
15225   else
15226     ac_cv_sizeof_off_t=0
15227   fi
15228fi
15229
15230fi
15231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
15232$as_echo "$ac_cv_sizeof_off_t" >&6; }
15233
15234
15235
15236cat >>confdefs.h <<_ACEOF
15237#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
15238_ACEOF
15239
15240
15241
15242SIZEOF_FILE_POINTER=$ac_cv_sizeof_off_t
15243
15244FILE_POINTER="off_t"
15245if test $ac_cv_sizeof_int = $ac_cv_sizeof_off_t; then
15246    FILE_POINTER="int"
15247fi
15248if test $ac_cv_sizeof_long = $ac_cv_sizeof_off_t; then
15249    FILE_POINTER="long"
15250fi
15251if test $ac_cv_sizeof_long_long = $ac_cv_sizeof_off_t; then
15252    FILE_POINTER="long long"
15253fi
15254
15255
15256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
15257$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
15258if ${ac_cv_header_sys_types_h_makedev+:} false; then :
15259  $as_echo_n "(cached) " >&6
15260else
15261  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262/* end confdefs.h.  */
15263#include <sys/types.h>
15264int
15265main ()
15266{
15267return makedev(0, 0);
15268  ;
15269  return 0;
15270}
15271_ACEOF
15272if ac_fn_c_try_link "$LINENO"; then :
15273  ac_cv_header_sys_types_h_makedev=yes
15274else
15275  ac_cv_header_sys_types_h_makedev=no
15276fi
15277rm -f core conftest.err conftest.$ac_objext \
15278    conftest$ac_exeext conftest.$ac_ext
15279
15280fi
15281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
15282$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
15283
15284if test $ac_cv_header_sys_types_h_makedev = no; then
15285ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
15286if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
15287
15288$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
15289
15290fi
15291
15292
15293
15294  if test $ac_cv_header_sys_mkdev_h = no; then
15295    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
15296if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
15297
15298$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
15299
15300fi
15301
15302
15303  fi
15304fi
15305
15306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15307$as_echo_n "checking for ANSI C header files... " >&6; }
15308if ${ac_cv_header_stdc+:} false; then :
15309  $as_echo_n "(cached) " >&6
15310else
15311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312/* end confdefs.h.  */
15313#include <stdlib.h>
15314#include <stdarg.h>
15315#include <string.h>
15316#include <float.h>
15317
15318int
15319main ()
15320{
15321
15322  ;
15323  return 0;
15324}
15325_ACEOF
15326if ac_fn_c_try_compile "$LINENO"; then :
15327  ac_cv_header_stdc=yes
15328else
15329  ac_cv_header_stdc=no
15330fi
15331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15332
15333if test $ac_cv_header_stdc = yes; then
15334  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336/* end confdefs.h.  */
15337#include <string.h>
15338
15339_ACEOF
15340if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15341  $EGREP "memchr" >/dev/null 2>&1; then :
15342
15343else
15344  ac_cv_header_stdc=no
15345fi
15346rm -f conftest*
15347
15348fi
15349
15350if test $ac_cv_header_stdc = yes; then
15351  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353/* end confdefs.h.  */
15354#include <stdlib.h>
15355
15356_ACEOF
15357if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15358  $EGREP "free" >/dev/null 2>&1; then :
15359
15360else
15361  ac_cv_header_stdc=no
15362fi
15363rm -f conftest*
15364
15365fi
15366
15367if test $ac_cv_header_stdc = yes; then
15368  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15369  if test "$cross_compiling" = yes; then :
15370  :
15371else
15372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373/* end confdefs.h.  */
15374#include <ctype.h>
15375#include <stdlib.h>
15376#if ((' ' & 0x0FF) == 0x020)
15377# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15378# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15379#else
15380# define ISLOWER(c) \
15381		   (('a' <= (c) && (c) <= 'i') \
15382		     || ('j' <= (c) && (c) <= 'r') \
15383		     || ('s' <= (c) && (c) <= 'z'))
15384# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15385#endif
15386
15387#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15388int
15389main ()
15390{
15391  int i;
15392  for (i = 0; i < 256; i++)
15393    if (XOR (islower (i), ISLOWER (i))
15394	|| toupper (i) != TOUPPER (i))
15395      return 2;
15396  return 0;
15397}
15398_ACEOF
15399if ac_fn_c_try_run "$LINENO"; then :
15400
15401else
15402  ac_cv_header_stdc=no
15403fi
15404rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15405  conftest.$ac_objext conftest.beam conftest.$ac_ext
15406fi
15407
15408fi
15409fi
15410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15411$as_echo "$ac_cv_header_stdc" >&6; }
15412if test $ac_cv_header_stdc = yes; then
15413
15414$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15415
15416fi
15417
15418
15419for ac_header in features.h time.h utime.h unistd.h stdarg.h signal.h errno.h stdlib.h stdio.h string.h fcntl.h grp.h limits.h paths.h pwd.h regex.h varargs.h ctype.h
15420do :
15421  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15422ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15423if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15424  cat >>confdefs.h <<_ACEOF
15425#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15426_ACEOF
15427
15428fi
15429
15430done
15431
15432
15433for ac_header in sys/time.h sys/select.h sys/types.h sys/param.h sys/ucred sys/wait.h sys/mman.h sys/sysctl.h
15434do :
15435  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15436ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15437if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15438  cat >>confdefs.h <<_ACEOF
15439#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15440_ACEOF
15441
15442fi
15443
15444done
15445
15446
15447for ac_header in mntent.h
15448do :
15449  ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
15450if test "x$ac_cv_header_mntent_h" = xyes; then :
15451  cat >>confdefs.h <<_ACEOF
15452#define HAVE_MNTENT_H 1
15453_ACEOF
15454
15455fi
15456
15457done
15458
15459
15460for ac_header in fstab.h sys/param.h sys/ucred.h sys/mount.h
15461do :
15462  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15463ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15464if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15465  cat >>confdefs.h <<_ACEOF
15466#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15467_ACEOF
15468
15469fi
15470
15471done
15472
15473
15474for ac_func in setenv unsetenv
15475do :
15476  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15477ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15478if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15479  cat >>confdefs.h <<_ACEOF
15480#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15481_ACEOF
15482
15483fi
15484done
15485
15486for ac_func in strlcpy snprintf strlcat lseek snprintf vsnprintf strcasecmp strncasecmp memcpy memmove memset
15487do :
15488  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15489ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15490if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15491  cat >>confdefs.h <<_ACEOF
15492#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15493_ACEOF
15494
15495fi
15496done
15497
15498for ac_func in waitid signal sigaction
15499do :
15500  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15501ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15502if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15503  cat >>confdefs.h <<_ACEOF
15504#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15505_ACEOF
15506
15507fi
15508done
15509
15510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15511$as_echo_n "checking for library containing clock_gettime... " >&6; }
15512if ${ac_cv_search_clock_gettime+:} false; then :
15513  $as_echo_n "(cached) " >&6
15514else
15515  ac_func_search_save_LIBS=$LIBS
15516cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517/* end confdefs.h.  */
15518
15519/* Override any GCC internal prototype to avoid an error.
15520   Use char because int might match the return type of a GCC
15521   builtin and then its argument prototype would still apply.  */
15522#ifdef __cplusplus
15523extern "C"
15524#endif
15525char clock_gettime ();
15526int
15527main ()
15528{
15529return clock_gettime ();
15530  ;
15531  return 0;
15532}
15533_ACEOF
15534for ac_lib in '' rt posix4; do
15535  if test -z "$ac_lib"; then
15536    ac_res="none required"
15537  else
15538    ac_res=-l$ac_lib
15539    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15540  fi
15541  if ac_fn_c_try_link "$LINENO"; then :
15542  ac_cv_search_clock_gettime=$ac_res
15543fi
15544rm -f core conftest.err conftest.$ac_objext \
15545    conftest$ac_exeext
15546  if ${ac_cv_search_clock_gettime+:} false; then :
15547  break
15548fi
15549done
15550if ${ac_cv_search_clock_gettime+:} false; then :
15551
15552else
15553  ac_cv_search_clock_gettime=no
15554fi
15555rm conftest.$ac_ext
15556LIBS=$ac_func_search_save_LIBS
15557fi
15558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15559$as_echo "$ac_cv_search_clock_gettime" >&6; }
15560ac_res=$ac_cv_search_clock_gettime
15561if test "$ac_res" != no; then :
15562  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15563
15564fi
15565
15566for ac_func in clock_gettime localtime localtime_r gettimeofday strftime
15567do :
15568  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15569ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15570if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15571  cat >>confdefs.h <<_ACEOF
15572#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15573_ACEOF
15574
15575fi
15576done
15577
15578for ac_func in getmntinfo getfsent getmntent statfs
15579do :
15580  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15581ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15582if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15583  cat >>confdefs.h <<_ACEOF
15584#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15585_ACEOF
15586
15587fi
15588done
15589
15590for ac_func in signal sigaction
15591do :
15592  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15593ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15594if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15595  cat >>confdefs.h <<_ACEOF
15596#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15597_ACEOF
15598
15599fi
15600done
15601
15602for ac_func in fpathconf dirfd
15603do :
15604  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15605ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15606if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15607  cat >>confdefs.h <<_ACEOF
15608#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15609_ACEOF
15610
15611fi
15612done
15613
15614ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
15615"
15616if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
15617
15618cat >>confdefs.h <<_ACEOF
15619#define HAVE_STRUCT_DIRENT_D_TYPE 1
15620_ACEOF
15621
15622
15623fi
15624
15625
15626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
15627$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
15628if ${ac_cv_struct_tm+:} false; then :
15629  $as_echo_n "(cached) " >&6
15630else
15631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632/* end confdefs.h.  */
15633#include <sys/types.h>
15634#include <time.h>
15635
15636int
15637main ()
15638{
15639struct tm tm;
15640				     int *p = &tm.tm_sec;
15641				     return !p;
15642  ;
15643  return 0;
15644}
15645_ACEOF
15646if ac_fn_c_try_compile "$LINENO"; then :
15647  ac_cv_struct_tm=time.h
15648else
15649  ac_cv_struct_tm=sys/time.h
15650fi
15651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652fi
15653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
15654$as_echo "$ac_cv_struct_tm" >&6; }
15655if test $ac_cv_struct_tm = sys/time.h; then
15656
15657$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
15658
15659fi
15660
15661
15662
15663   for ac_func in localtime_r strftime
15664do :
15665  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15666ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15667if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15668  cat >>confdefs.h <<_ACEOF
15669#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15670_ACEOF
15671
15672fi
15673done
15674
15675
15676 for ac_header in limits.h
15677do :
15678  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15679if test "x$ac_cv_header_limits_h" = xyes; then :
15680  cat >>confdefs.h <<_ACEOF
15681#define HAVE_LIMITS_H 1
15682_ACEOF
15683
15684fi
15685
15686done
15687
15688 for ac_func in bcopy tzset mempcpy memcpy memset
15689do :
15690  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15691ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15692if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15693  cat >>confdefs.h <<_ACEOF
15694#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15695_ACEOF
15696
15697fi
15698done
15699
15700
15701 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
15702 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
15703#include <$ac_cv_struct_tm>
15704
15705"
15706if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
15707
15708cat >>confdefs.h <<_ACEOF
15709#define HAVE_STRUCT_TM_TM_ZONE 1
15710_ACEOF
15711
15712
15713fi
15714
15715if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
15716
15717$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
15718
15719else
15720  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
15721"
15722if test "x$ac_cv_have_decl_tzname" = xyes; then :
15723  ac_have_decl=1
15724else
15725  ac_have_decl=0
15726fi
15727
15728cat >>confdefs.h <<_ACEOF
15729#define HAVE_DECL_TZNAME $ac_have_decl
15730_ACEOF
15731
15732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
15733$as_echo_n "checking for tzname... " >&6; }
15734if ${ac_cv_var_tzname+:} false; then :
15735  $as_echo_n "(cached) " >&6
15736else
15737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738/* end confdefs.h.  */
15739#include <time.h>
15740#if !HAVE_DECL_TZNAME
15741extern char *tzname[];
15742#endif
15743
15744int
15745main ()
15746{
15747return tzname[0][0];
15748  ;
15749  return 0;
15750}
15751_ACEOF
15752if ac_fn_c_try_link "$LINENO"; then :
15753  ac_cv_var_tzname=yes
15754else
15755  ac_cv_var_tzname=no
15756fi
15757rm -f core conftest.err conftest.$ac_objext \
15758    conftest$ac_exeext conftest.$ac_ext
15759fi
15760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
15761$as_echo "$ac_cv_var_tzname" >&6; }
15762  if test $ac_cv_var_tzname = yes; then
15763
15764$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
15765
15766  fi
15767fi
15768
15769
15770 for ac_func in mblen mbrlen
15771do :
15772  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15773ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15774if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15775  cat >>confdefs.h <<_ACEOF
15776#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15777_ACEOF
15778
15779fi
15780done
15781
15782
15783 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
15784"
15785if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
15786
15787$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
15788
15789fi
15790
15791
15792
15793   for ac_header in sys/time.h
15794do :
15795  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
15796if test "x$ac_cv_header_sys_time_h" = xyes; then :
15797  cat >>confdefs.h <<_ACEOF
15798#define HAVE_SYS_TIME_H 1
15799_ACEOF
15800
15801fi
15802
15803done
15804
15805
15806$as_echo "#define my_strftime nstrftime" >>confdefs.h
15807
15808
15809
15810for ac_header in string.h
15811do :
15812  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15813if test "x$ac_cv_header_string_h" = xyes; then :
15814  cat >>confdefs.h <<_ACEOF
15815#define HAVE_STRING_H 1
15816_ACEOF
15817
15818fi
15819
15820done
15821
15822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working readdir" >&5
15823$as_echo_n "checking for working readdir... " >&6; }
15824if ${jm_cv_func_working_readdir+:} false; then :
15825  $as_echo_n "(cached) " >&6
15826else
15827    # Arrange for deletion of the temporary directory this test creates, in
15828  # case the test itself fails to delete everything -- as happens on Sunos.
15829  ac_clean_files="$ac_clean_files conf-dir"
15830
15831  if test "$cross_compiling" = yes; then :
15832  jm_cv_func_working_readdir=no
15833else
15834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15835/* end confdefs.h.  */
15836#   include <stdio.h>
15837#   include <sys/types.h>
15838#   if HAVE_STRING_H
15839#    include <string.h>
15840#   endif
15841
15842#   ifdef HAVE_DIRENT_H
15843#    include <dirent.h>
15844#    define NLENGTH(direct) (strlen((direct)->d_name))
15845#   else /* not HAVE_DIRENT_H */
15846#    define dirent direct
15847#    define NLENGTH(direct) ((direct)->d_namlen)
15848#    ifdef HAVE_SYS_NDIR_H
15849#     include <sys/ndir.h>
15850#    endif /* HAVE_SYS_NDIR_H */
15851#    ifdef HAVE_SYS_DIR_H
15852#     include <sys/dir.h>
15853#    endif /* HAVE_SYS_DIR_H */
15854#    ifdef HAVE_NDIR_H
15855#     include <ndir.h>
15856#    endif /* HAVE_NDIR_H */
15857#   endif /* HAVE_DIRENT_H */
15858
15859#   define DOT_OR_DOTDOT(Basename) \
15860     (Basename[0] == '.' && (Basename[1] == '\0' \
15861			     || (Basename[1] == '.' && Basename[2] == '\0')))
15862
15863/* Don't try to use replacement mkdir; it wouldn't resolve at link time.  */
15864#   undef mkdir
15865
15866    static void
15867    create_300_file_dir (const char *dir)
15868    {
15869      int i;
15870
15871      if (mkdir (dir, 0700))
15872	abort ();
15873      if (chdir (dir))
15874	abort ();
15875
15876      for (i = 0; i < 300; i++)
15877	{
15878	  char file_name[4];
15879	  FILE *out;
15880
15881	  sprintf (file_name, "%03d", i);
15882	  out = fopen (file_name, "w");
15883	  if (!out)
15884	    abort ();
15885	  if (fclose (out) == EOF)
15886	    abort ();
15887	}
15888
15889      if (chdir (".."))
15890	abort ();
15891    }
15892
15893    static void
15894    remove_dir (const char *dir)
15895    {
15896      DIR *dirp;
15897
15898      if (chdir (dir))
15899	abort ();
15900
15901      dirp = opendir (".");
15902      if (dirp == NULL)
15903	abort ();
15904
15905      while (1)
15906	{
15907	  struct dirent *dp = readdir (dirp);
15908	  if (dp == NULL)
15909	    break;
15910
15911	  if (DOT_OR_DOTDOT (dp->d_name))
15912	    continue;
15913
15914	  if (unlink (dp->d_name))
15915	    abort ();
15916	}
15917      closedir (dirp);
15918
15919      if (chdir (".."))
15920	abort ();
15921
15922      if (rmdir (dir))
15923	exit (1);
15924    }
15925
15926    int
15927    main ()
15928    {
15929      const char *dir = "conf-dir";
15930      create_300_file_dir (dir);
15931      remove_dir (dir);
15932      exit (0);
15933    }
15934_ACEOF
15935if ac_fn_c_try_run "$LINENO"; then :
15936  jm_cv_func_working_readdir=yes
15937else
15938  jm_cv_func_working_readdir=no
15939fi
15940rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15941  conftest.$ac_objext conftest.beam conftest.$ac_ext
15942fi
15943
15944fi
15945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_cv_func_working_readdir" >&5
15946$as_echo "$jm_cv_func_working_readdir" >&6; }
15947
15948  if test $jm_cv_func_working_readdir = yes; then
15949
15950$as_echo "#define HAVE_WORKING_READDIR 1" >>confdefs.h
15951
15952  fi
15953
15954
15955
15956
15957# check for POSIX shared memory
15958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
15959$as_echo_n "checking for shm_open in -lrt... " >&6; }
15960if ${ac_cv_lib_rt_shm_open+:} false; then :
15961  $as_echo_n "(cached) " >&6
15962else
15963  ac_check_lib_save_LIBS=$LIBS
15964LIBS="-lrt  $LIBS"
15965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966/* end confdefs.h.  */
15967
15968/* Override any GCC internal prototype to avoid an error.
15969   Use char because int might match the return type of a GCC
15970   builtin and then its argument prototype would still apply.  */
15971#ifdef __cplusplus
15972extern "C"
15973#endif
15974char shm_open ();
15975int
15976main ()
15977{
15978return shm_open ();
15979  ;
15980  return 0;
15981}
15982_ACEOF
15983if ac_fn_c_try_link "$LINENO"; then :
15984  ac_cv_lib_rt_shm_open=yes
15985else
15986  ac_cv_lib_rt_shm_open=no
15987fi
15988rm -f core conftest.err conftest.$ac_objext \
15989    conftest$ac_exeext conftest.$ac_ext
15990LIBS=$ac_check_lib_save_LIBS
15991fi
15992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
15993$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
15994if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
15995  cat >>confdefs.h <<_ACEOF
15996#define HAVE_LIBRT 1
15997_ACEOF
15998
15999  LIBS="-lrt $LIBS"
16000
16001fi
16002
16003# check for POSIX threads
16004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16005$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16006if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16007  $as_echo_n "(cached) " >&6
16008else
16009  ac_check_lib_save_LIBS=$LIBS
16010LIBS="-lpthread  $LIBS"
16011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012/* end confdefs.h.  */
16013
16014/* Override any GCC internal prototype to avoid an error.
16015   Use char because int might match the return type of a GCC
16016   builtin and then its argument prototype would still apply.  */
16017#ifdef __cplusplus
16018extern "C"
16019#endif
16020char pthread_create ();
16021int
16022main ()
16023{
16024return pthread_create ();
16025  ;
16026  return 0;
16027}
16028_ACEOF
16029if ac_fn_c_try_link "$LINENO"; then :
16030  ac_cv_lib_pthread_pthread_create=yes
16031else
16032  ac_cv_lib_pthread_pthread_create=no
16033fi
16034rm -f core conftest.err conftest.$ac_objext \
16035    conftest$ac_exeext conftest.$ac_ext
16036LIBS=$ac_check_lib_save_LIBS
16037fi
16038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16039$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16040if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16041  cat >>confdefs.h <<_ACEOF
16042#define HAVE_LIBPTHREAD 1
16043_ACEOF
16044
16045  LIBS="-lpthread $LIBS"
16046
16047fi
16048
16049# check for POSIX threads GNU_SOURCE
16050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_tryjoin_np in -lpthread" >&5
16051$as_echo_n "checking for pthread_tryjoin_np in -lpthread... " >&6; }
16052if ${ac_cv_lib_pthread_pthread_tryjoin_np+:} false; then :
16053  $as_echo_n "(cached) " >&6
16054else
16055  ac_check_lib_save_LIBS=$LIBS
16056LIBS="-lpthread  $LIBS"
16057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16058/* end confdefs.h.  */
16059
16060/* Override any GCC internal prototype to avoid an error.
16061   Use char because int might match the return type of a GCC
16062   builtin and then its argument prototype would still apply.  */
16063#ifdef __cplusplus
16064extern "C"
16065#endif
16066char pthread_tryjoin_np ();
16067int
16068main ()
16069{
16070return pthread_tryjoin_np ();
16071  ;
16072  return 0;
16073}
16074_ACEOF
16075if ac_fn_c_try_link "$LINENO"; then :
16076  ac_cv_lib_pthread_pthread_tryjoin_np=yes
16077else
16078  ac_cv_lib_pthread_pthread_tryjoin_np=no
16079fi
16080rm -f core conftest.err conftest.$ac_objext \
16081    conftest$ac_exeext conftest.$ac_ext
16082LIBS=$ac_check_lib_save_LIBS
16083fi
16084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_tryjoin_np" >&5
16085$as_echo "$ac_cv_lib_pthread_pthread_tryjoin_np" >&6; }
16086if test "x$ac_cv_lib_pthread_pthread_tryjoin_np" = xyes; then :
16087  cat >>confdefs.h <<_ACEOF
16088#define HAVE_LIBPTHREAD 1
16089_ACEOF
16090
16091  LIBS="-lpthread $LIBS"
16092
16093fi
16094
16095if test "$ac_cv_lib_pthread_pthread_tryjoin_np" = yes; then
16096  	{ $as_echo "$as_me:${as_lineno-$LINENO}: You have non portable GNU thread extensions. Good for you." >&5
16097$as_echo "$as_me: You have non portable GNU thread extensions. Good for you." >&6;}
16098
16099
16100cat >>confdefs.h <<_ACEOF
16101#define HAVE_PTHREAD_TRYJOIN $ac_cv_lib_pthread_pthread_tryjoin_np
16102_ACEOF
16103
16104fi
16105
16106# Extract the first word of "pkg-config", so it can be a program name with args.
16107set dummy pkg-config; ac_word=$2
16108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16109$as_echo_n "checking for $ac_word... " >&6; }
16110if ${ac_cv_prog_cv_pkgconfig+:} false; then :
16111  $as_echo_n "(cached) " >&6
16112else
16113  if test -n "$cv_pkgconfig"; then
16114  ac_cv_prog_cv_pkgconfig="$cv_pkgconfig" # Let the user override the test.
16115else
16116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16117for as_dir in $PATH
16118do
16119  IFS=$as_save_IFS
16120  test -z "$as_dir" && as_dir=.
16121    for ac_exec_ext in '' $ac_executable_extensions; do
16122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16123    ac_cv_prog_cv_pkgconfig="yes"
16124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16125    break 2
16126  fi
16127done
16128  done
16129IFS=$as_save_IFS
16130
16131  test -z "$ac_cv_prog_cv_pkgconfig" && ac_cv_prog_cv_pkgconfig="no"
16132fi
16133fi
16134cv_pkgconfig=$ac_cv_prog_cv_pkgconfig
16135if test -n "$cv_pkgconfig"; then
16136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_pkgconfig" >&5
16137$as_echo "$cv_pkgconfig" >&6; }
16138else
16139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16140$as_echo "no" >&6; }
16141fi
16142
16143
16144
16145# check for libmagic (from "file" utility)
16146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
16147$as_echo_n "checking for magic_file in -lmagic... " >&6; }
16148if ${ac_cv_lib_magic_magic_file+:} false; then :
16149  $as_echo_n "(cached) " >&6
16150else
16151  ac_check_lib_save_LIBS=$LIBS
16152LIBS="-lmagic  $LIBS"
16153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154/* end confdefs.h.  */
16155
16156/* Override any GCC internal prototype to avoid an error.
16157   Use char because int might match the return type of a GCC
16158   builtin and then its argument prototype would still apply.  */
16159#ifdef __cplusplus
16160extern "C"
16161#endif
16162char magic_file ();
16163int
16164main ()
16165{
16166return magic_file ();
16167  ;
16168  return 0;
16169}
16170_ACEOF
16171if ac_fn_c_try_link "$LINENO"; then :
16172  ac_cv_lib_magic_magic_file=yes
16173else
16174  ac_cv_lib_magic_magic_file=no
16175fi
16176rm -f core conftest.err conftest.$ac_objext \
16177    conftest$ac_exeext conftest.$ac_ext
16178LIBS=$ac_check_lib_save_LIBS
16179fi
16180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
16181$as_echo "$ac_cv_lib_magic_magic_file" >&6; }
16182if test "x$ac_cv_lib_magic_magic_file" = xyes; then :
16183  cat >>confdefs.h <<_ACEOF
16184#define HAVE_LIBMAGIC 1
16185_ACEOF
16186
16187  LIBS="-lmagic $LIBS"
16188
16189fi
16190
16191if test "yes" = "yes" ; then
16192if test "$ac_cv_lib_magic_magic_file" = "no" ; then
16193    as_fn_error $? "*** Shucks! *** Error: libmagic header files were not found.  Debian rodent-fuse is  \"libmagic-dev\" or you can obtain the original author´s latest version by anonymous FTP on ftp.astron.com in the directory /pub/file/file-X.YZ.tar.gz. The Debian version adds a number of new magic entries. It can be obtained from every site carrying a Debian distribution (that is ftp.debian.org and mirrors)
16194    In OpenSUSE/Fedora, the rodent-fuse is called \"file-devel\"." "$LINENO" 5
16195fi
16196fi
16197
16198if test $prefix = NONE; then
16199   echo "prefix = $ac_default_prefix"
16200else
16201   echo "prefix = $prefix"
16202   ac_default_prefix=$prefix
16203fi
16204
16205
16206cat >>confdefs.h <<_ACEOF
16207#define PREFIX "$ac_default_prefix"
16208_ACEOF
16209
16210
16211
16212
16213for ac_prog in intltoolize
16214do
16215  # Extract the first word of "$ac_prog", so it can be a program name with args.
16216set dummy $ac_prog; ac_word=$2
16217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16218$as_echo_n "checking for $ac_word... " >&6; }
16219if ${ac_cv_prog_intltoolize+:} false; then :
16220  $as_echo_n "(cached) " >&6
16221else
16222  if test -n "$intltoolize"; then
16223  ac_cv_prog_intltoolize="$intltoolize" # Let the user override the test.
16224else
16225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16226for as_dir in $PATH
16227do
16228  IFS=$as_save_IFS
16229  test -z "$as_dir" && as_dir=.
16230    for ac_exec_ext in '' $ac_executable_extensions; do
16231  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16232    ac_cv_prog_intltoolize="$ac_prog"
16233    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16234    break 2
16235  fi
16236done
16237  done
16238IFS=$as_save_IFS
16239
16240fi
16241fi
16242intltoolize=$ac_cv_prog_intltoolize
16243if test -n "$intltoolize"; then
16244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intltoolize" >&5
16245$as_echo "$intltoolize" >&6; }
16246else
16247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16248$as_echo "no" >&6; }
16249fi
16250
16251
16252  test -n "$intltoolize" && break
16253done
16254test -n "$intltoolize" || intltoolize="no"
16255
16256if test $intltoolize = "no" ; then
16257    as_fn_error $? "\"intltool utilities not found. Please install intltool to build this rodent-fuse from source.\"" "$LINENO" 5;
16258fi
16259for ac_prog in gawk
16260do
16261  # Extract the first word of "$ac_prog", so it can be a program name with args.
16262set dummy $ac_prog; ac_word=$2
16263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16264$as_echo_n "checking for $ac_word... " >&6; }
16265if ${ac_cv_prog_gawk+:} false; then :
16266  $as_echo_n "(cached) " >&6
16267else
16268  if test -n "$gawk"; then
16269  ac_cv_prog_gawk="$gawk" # Let the user override the test.
16270else
16271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16272for as_dir in $PATH
16273do
16274  IFS=$as_save_IFS
16275  test -z "$as_dir" && as_dir=.
16276    for ac_exec_ext in '' $ac_executable_extensions; do
16277  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16278    ac_cv_prog_gawk="$ac_prog"
16279    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16280    break 2
16281  fi
16282done
16283  done
16284IFS=$as_save_IFS
16285
16286fi
16287fi
16288gawk=$ac_cv_prog_gawk
16289if test -n "$gawk"; then
16290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gawk" >&5
16291$as_echo "$gawk" >&6; }
16292else
16293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16294$as_echo "no" >&6; }
16295fi
16296
16297
16298  test -n "$gawk" && break
16299done
16300test -n "$gawk" || gawk="no"
16301
16302if test $gawk = "no" ; then
16303    as_fn_error $? "\"gawk program not found. Please install gawk to build this rodent-fuse from source.\"" "$LINENO" 5;
16304fi
16305
16306
16307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux or BSD" >&5
16308$as_echo_n "checking for Linux or BSD... " >&6; }
16309#echo "system: $ac_uname_s"
16310os=`uname -a | grep BSD`
16311if test x"$os" == x ; then
16312    os=`uname -a | grep DragonFly`
16313fi
16314
16315if test x"$os" != x ; then
16316    { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is BSD." >&5
16317$as_echo "System is BSD." >&6; }
16318    rodentman1dir=${prefix}/man/man1
16319    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmake" >&5
16320$as_echo_n "checking for gmake... " >&6; };
16321    result_gmake=`gmake --version`
16322    if test x"${result_gmake}" = x; then
16323        as_fn_error $? "GNU make (gmake) not found! Please install and then rerun configure." "$LINENO" 5
16324    else
16325        echo "$result_gmake"
16326    fi
16327
16328cat >>confdefs.h <<_ACEOF
16329#define THIS_IS_BSD 1
16330_ACEOF
16331
16332# In FreeBSD gettext is in /usr/local
16333    CFLAGS="$CFLAGS -I/usr/local/include"
16334    LDFLAGS="$LDFLAGS  -L/usr/local/lib"
16335else
16336   rodentman1dir=${mandir}/man1
16337   ac_uname_s=`uname -s`
16338   if test "$ac_uname_s" = "Linux" ; then
16339
16340cat >>confdefs.h <<_ACEOF
16341#define THIS_IS_LINUX 1
16342_ACEOF
16343
16344	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: System is Linux." >&5
16345$as_echo "System is Linux." >&6; }
16346   else
16347        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not Linux." >&5
16348$as_echo "Not Linux." >&6; }
16349   fi
16350   CFLAGS="$CFLAGS"
16351   LDFLAGS="$LDFLAGS"
16352fi
16353ac_uname_s=`uname -s`
16354 UNAME_S=$ac_uname_s
16355 if test x"$os" != x ; then
16356  WANT_FREEBSD_TRUE=
16357  WANT_FREEBSD_FALSE='#'
16358else
16359  WANT_FREEBSD_TRUE='#'
16360  WANT_FREEBSD_FALSE=
16361fi
16362
16363
16364
16365
16366 if test "$ac_uname_s" = "Linux"; then
16367  ONLY_LINUX_TRUE=
16368  ONLY_LINUX_FALSE='#'
16369else
16370  ONLY_LINUX_TRUE='#'
16371  ONLY_LINUX_FALSE=
16372fi
16373
16374
16375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Awk" >&5
16376$as_echo_n "checking for GNU Awk... " >&6; }
16377GAWK_VERSION=`gawk --version`
16378INDEX=`expr "$GAWK_VERSION" : "GNU Awk"`
16379#echo "INDEX=$INDEX"
16380if test $INDEX -gt 0 ; then
16381    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU gawk found" >&5
16382$as_echo "GNU gawk found" >&6; }
16383else
16384    as_fn_error $? "GNU gawk not found! Please install and then rerun configure." "$LINENO" 5
16385fi
16386
16387
16388
16389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU grep" >&5
16390$as_echo_n "checking for GNU grep... " >&6; }
16391GAWK_VERSION=`grep --version`
16392INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16393
16394if test $INDEX -gt  0 ; then
16395    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU grep found" >&5
16396$as_echo "GNU grep found" >&6; }
16397    GNU_GREP=1
16398     WITH_GNU_GREP=yes
16399
16400
16401cat >>confdefs.h <<_ACEOF
16402#define GNU_GREP $GNU_GREP
16403_ACEOF
16404
16405else
16406     WITH_GNU_GREP=no
16407    { $as_echo "$as_me:${as_lineno-$LINENO}: result: grep is not GNU. Some features will be define by BSD!" >&5
16408$as_echo "grep is not GNU. Some features will be define by BSD!" >&6; }
16409fi
16410
16411
16412
16413
16414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ls" >&5
16415$as_echo_n "checking for GNU ls... " >&6; }
16416GAWK_VERSION=`ls --version`
16417INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16418
16419#   WITH_GNU_LS subst is for librfm-settings.in, configure script output.
16420#   GNU_LS subst is for .h.in preparations
16421if test $INDEX -gt  0 ; then
16422    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ls found" >&5
16423$as_echo "GNU ls found" >&6; }
16424     WITH_GNU_LS=yes
16425     GNU_LS="#define GNU_LS 1"
16426else
16427     GNU_LS="/*#define GNU_LS */"
16428     WITH_GNU_LS=no
16429    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ls is not GNU. Some features will be define by BSD ls." >&5
16430$as_echo "ls is not GNU. Some features will be define by BSD ls." >&6; }
16431fi
16432
16433
16434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU cp" >&5
16435$as_echo_n "checking for GNU cp... " >&6; }
16436GAWK_VERSION=`cp --version`
16437INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16438
16439if test $INDEX -gt  0 ; then
16440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU cp found" >&5
16441$as_echo "GNU cp found" >&6; }
16442     WITH_GNU_CP=yes
16443     GNU_CP="#define GNU_CP 1"
16444else
16445     WITH_GNU_CP=no
16446     GNU_CP="/*#define GNU_CP */"
16447    { $as_echo "$as_me:${as_lineno-$LINENO}: result: cp is not GNU. Some features will be define by BSD!" >&5
16448$as_echo "cp is not GNU. Some features will be define by BSD!" >&6; }
16449fi
16450
16451
16452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU mv" >&5
16453$as_echo_n "checking for GNU mv... " >&6; }
16454GAWK_VERSION=`mv --version`
16455INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16456
16457if test $INDEX -gt  0 ; then
16458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU mv found" >&5
16459$as_echo "GNU mv found" >&6; }
16460     WITH_GNU_MV=yes
16461     GNU_MV="#define GNU_MV 1"
16462else
16463     WITH_GNU_MV=no
16464     GNU_MV="/*#define GNU_MV */"
16465    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mv is not GNU. Some features will be define by BSD!" >&5
16466$as_echo "mv is not GNU. Some features will be define by BSD!" >&6; }
16467fi
16468
16469
16470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ln" >&5
16471$as_echo_n "checking for GNU ln... " >&6; }
16472GAWK_VERSION=`ln --version`
16473INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16474
16475if test $INDEX -gt  0 ; then
16476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ln found" >&5
16477$as_echo "GNU ln found" >&6; }
16478     WITH_GNU_LN=yes
16479     GNU_LN="#define GNU_LN 1"
16480else
16481     WITH_GNU_LN=no
16482     GNU_LN="/*#define GNU_LN */"
16483    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ln is not GNU. Some features will not be enabled!" >&5
16484$as_echo "ln is not GNU. Some features will not be enabled!" >&6; }
16485fi
16486
16487
16488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU rm" >&5
16489$as_echo_n "checking for GNU rm... " >&6; }
16490GAWK_VERSION=`rm --version`
16491INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16492#echo "INDEX=$INDEX"
16493
16494if test $INDEX -gt 0 ; then
16495    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU rm found" >&5
16496$as_echo "GNU rm found" >&6; }
16497     WITH_GNU_RM=yes
16498     GNU_RM="#define GNU_RM 1"
16499else
16500     WITH_GNU_RM=no
16501     GNU_RM="/*#define GNU_RM */"
16502    { $as_echo "$as_me:${as_lineno-$LINENO}: result: rm is not GNU. Some features will not be enabled!" >&5
16503$as_echo "rm is not GNU. Some features will not be enabled!" >&6; }
16504fi
16505
16506
16507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU shred" >&5
16508$as_echo_n "checking for GNU shred... " >&6; }
16509GAWK_VERSION=`shred --version`
16510INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16511#echo "INDEX=$INDEX"
16512
16513if test $INDEX -gt 0 ; then
16514    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU shred found" >&5
16515$as_echo "GNU shred found" >&6; }
16516     WITH_GNU_SHRED=yes
16517     GNU_SHRED="#define GNU_SHRED 1"
16518else
16519     WITH_GNU_SHRED=no
16520     GNU_SHRED="/*#define GNU_SHRED */"
16521    { $as_echo "$as_me:${as_lineno-$LINENO}: result: shred is not GNU. Some features will not be enabled!" >&5
16522$as_echo "shred is not GNU. Some features will not be enabled!" >&6; }
16523fi
16524
16525
16526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Ghostscript" >&5
16527$as_echo_n "checking for GNU Ghostscript... " >&6; }
16528GS_VERSION=`gs --version`
16529if test x"$GS_VERSION" = x; then
16530     WITH_GNU_GS=no
16531    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU Ghostscript not found" >&5
16532$as_echo "GNU Ghostscript not found" >&6; }
16533else
16534     WITH_GNU_GS=yes
16535    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ghostscript found" >&5
16536$as_echo "Ghostscript found" >&6; }
16537fi
16538
16539
16540
16541
16542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking distro" >&5
16543$as_echo_n "checking distro... " >&6; };
16544result=`ls -l /sbin/yast 2>/dev/null | grep yast2`
16545    if test x"${result}" = x; then
16546	{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  not Suse." >&5
16547$as_echo " not Suse." >&6; }
16548	 LIBRSVG_NAME=librsvg2
16549	 DISTRO_X=libSM-devel
16550	 DISTRO_X_VERSION=1.2
16551
16552    else
16553	{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  Suse." >&5
16554$as_echo " Suse." >&6; }
16555	 LIBRSVG_NAME=librsvg
16556	 DISTRO_X=xorg-x11-devel
16557	 DISTRO_X_VERSION=7.6
16558    fi
16559
16560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gentoo emerge" >&5
16561$as_echo_n "checking for gentoo emerge... " >&6; }
16562# Extract the first word of "emerge", so it can be a program name with args.
16563set dummy emerge; ac_word=$2
16564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16565$as_echo_n "checking for $ac_word... " >&6; }
16566if ${ac_cv_prog_cv_emerge+:} false; then :
16567  $as_echo_n "(cached) " >&6
16568else
16569  if test -n "$cv_emerge"; then
16570  ac_cv_prog_cv_emerge="$cv_emerge" # Let the user override the test.
16571else
16572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16573for as_dir in $PATH
16574do
16575  IFS=$as_save_IFS
16576  test -z "$as_dir" && as_dir=.
16577    for ac_exec_ext in '' $ac_executable_extensions; do
16578  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16579    ac_cv_prog_cv_emerge="yes"
16580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16581    break 2
16582  fi
16583done
16584  done
16585IFS=$as_save_IFS
16586
16587  test -z "$ac_cv_prog_cv_emerge" && ac_cv_prog_cv_emerge="no"
16588fi
16589fi
16590cv_emerge=$ac_cv_prog_cv_emerge
16591if test -n "$cv_emerge"; then
16592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_emerge" >&5
16593$as_echo "$cv_emerge" >&6; }
16594else
16595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16596$as_echo "no" >&6; }
16597fi
16598
16599
16600 if test "$cv_emerge" != no; then
16601  WANT_GENTOO_TRUE=
16602  WANT_GENTOO_FALSE='#'
16603else
16604  WANT_GENTOO_TRUE='#'
16605  WANT_GENTOO_FALSE=
16606fi
16607
16608
16609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debian dpkg" >&5
16610$as_echo_n "checking for debian dpkg... " >&6; }
16611# Extract the first word of "dpkg", so it can be a program name with args.
16612set dummy dpkg; ac_word=$2
16613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16614$as_echo_n "checking for $ac_word... " >&6; }
16615if ${ac_cv_prog_cv_dpkg+:} false; then :
16616  $as_echo_n "(cached) " >&6
16617else
16618  if test -n "$cv_dpkg"; then
16619  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
16620else
16621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16622for as_dir in $PATH
16623do
16624  IFS=$as_save_IFS
16625  test -z "$as_dir" && as_dir=.
16626    for ac_exec_ext in '' $ac_executable_extensions; do
16627  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16628    ac_cv_prog_cv_dpkg="yes"
16629    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16630    break 2
16631  fi
16632done
16633  done
16634IFS=$as_save_IFS
16635
16636  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
16637fi
16638fi
16639cv_dpkg=$ac_cv_prog_cv_dpkg
16640if test -n "$cv_dpkg"; then
16641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
16642$as_echo "$cv_dpkg" >&6; }
16643else
16644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16645$as_echo "no" >&6; }
16646fi
16647
16648
16649 if test "$cv_dpkg" != no; then
16650  WANT_DEBIAN_TRUE=
16651  WANT_DEBIAN_FALSE='#'
16652else
16653  WANT_DEBIAN_TRUE='#'
16654  WANT_DEBIAN_FALSE=
16655fi
16656
16657
16658
16659
16660
16661# Configurable options at script execution
16662# Enable Debug option (implies core dumps)
16663
16664
16665# Check whether --with-debug was given.
16666if test "${with_debug+set}" = set; then :
16667  withval=$with_debug;
16668fi
16669
16670if test "$with_debug" = "yes"
16671then
16672	 WITH_CORE=yes
16673
16674
16675cat >>confdefs.h <<_ACEOF
16676#define CORE $with_core
16677_ACEOF
16678
16679	 WITH_DEBUG=yes
16680
16681
16682cat >>confdefs.h <<_ACEOF
16683#define DEBUG $with_debug
16684_ACEOF
16685
16686	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled debug. Good for you." >&5
16687$as_echo "$as_me: You enabled debug. Good for you." >&6;}
16688	DB=--with-debug
16689	CFLAGS="-O0 -ggdb"
16690elif test "$with_debug" != ""
16691then
16692	 WITH_CORE=yes
16693
16694
16695cat >>confdefs.h <<_ACEOF
16696#define CORE $with_core
16697_ACEOF
16698
16699	 WITH_DEBUG=yes
16700	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of debug is $with_debug" >&5
16701$as_echo "$as_me: Your specific kind of debug is $with_debug" >&6;}
16702
16703
16704cat >>confdefs.h <<_ACEOF
16705#define DEBUG $with_debug
16706_ACEOF
16707
16708	CFLAGS="-O0 -ggdb"
16709
16710else
16711	 WITH_DEBUG=no
16712	{ $as_echo "$as_me:${as_lineno-$LINENO}: No debug for you." >&5
16713$as_echo "$as_me: No debug for you." >&6;}
16714	CFLAGS="-O2"
16715fi
16716
16717
16718# Enable Trace option (use with care)
16719
16720
16721# Check whether --with-trace was given.
16722if test "${with_trace+set}" = set; then :
16723  withval=$with_trace;
16724fi
16725
16726if test "$with_trace" = "yes"
16727then
16728	 WITH_CORE=yes
16729
16730
16731cat >>confdefs.h <<_ACEOF
16732#define CORE $with_core
16733_ACEOF
16734
16735	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled trace. Good for you." >&5
16736$as_echo "$as_me: You enabled trace. Good for you." >&6;}
16737	 WITH_TRACE=yes
16738	DEBUG_TRACE=yes
16739
16740
16741cat >>confdefs.h <<_ACEOF
16742#define DEBUG_TRACE $with_trace
16743_ACEOF
16744
16745	TR=--with-trace
16746elif test "$with_trace" != ""
16747then
16748	 WITH_CORE=yes
16749
16750
16751cat >>confdefs.h <<_ACEOF
16752#define CORE $with_core
16753_ACEOF
16754
16755	 WITH_TRACE=yes
16756	DEBUG_TRACE=yes
16757
16758
16759cat >>confdefs.h <<_ACEOF
16760#define DEBUG_TRACE $with_trace
16761_ACEOF
16762
16763	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of trace is $with_trace" >&5
16764$as_echo "$as_me: Your specific kind of trace is $with_trace" >&6;}
16765else
16766	 WITH_TRACE=no
16767
16768	{ $as_echo "$as_me:${as_lineno-$LINENO}: No trace for you." >&5
16769$as_echo "$as_me: No trace for you." >&6;}
16770fi
16771
16772# Enable core dumps option
16773
16774
16775# Check whether --with-core was given.
16776if test "${with_core+set}" = set; then :
16777  withval=$with_core;
16778fi
16779
16780if test "$with_core" = "yes"
16781then
16782	 WITH_CORE=yes
16783
16784
16785cat >>confdefs.h <<_ACEOF
16786#define CORE $with_core
16787_ACEOF
16788
16789	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled core dumps. Good for you." >&5
16790$as_echo "$as_me: You enabled core dumps. Good for you." >&6;}
16791	CFLAGS="-O0 -ggdb"
16792elif test "$with_core" != ""
16793then
16794	 WITH_CORE=yes
16795	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of core dumps is $with_core" >&5
16796$as_echo "$as_me: Your specific kind of core dumps is $with_core" >&6;}
16797
16798
16799cat >>confdefs.h <<_ACEOF
16800#define CORE $with_core
16801_ACEOF
16802
16803	CFLAGS="-O0 -ggdb"
16804
16805else
16806	 WITH_CORE=no
16807	{ $as_echo "$as_me:${as_lineno-$LINENO}: No core dumps for you." >&5
16808$as_echo "$as_me: No core dumps for you." >&6;}
16809fi
16810
16811
16812
16813
16814  # Check whether --enable-nfs was given.
16815if test "${enable_nfs+set}" = set; then :
16816  enableval=$enable_nfs;
16817fi
16818
16819   if test x$enable_nfs = xyes || ( test x$enable_nfs = x && test xyes=xyes ); then
16820  WANT_NFS_P_TRUE=
16821  WANT_NFS_P_FALSE='#'
16822else
16823  WANT_NFS_P_TRUE='#'
16824  WANT_NFS_P_FALSE=
16825fi
16826
16827
16828  if test x$enable_nfs = xno; then
16829	WITH_NFS=no
16830  else
16831    if test x$enable_nfs = xyes; then
16832	WITH_NFS=yes
16833    else
16834	WITH_NFS=yes
16835    fi
16836  fi
16837
16838
16839
16840  # Check whether --enable-sftp was given.
16841if test "${enable_sftp+set}" = set; then :
16842  enableval=$enable_sftp;
16843fi
16844
16845   if test x$enable_sftp = xyes || ( test x$enable_sftp = x && test xyes=xyes ); then
16846  WANT_SSHFS_P_TRUE=
16847  WANT_SSHFS_P_FALSE='#'
16848else
16849  WANT_SSHFS_P_TRUE='#'
16850  WANT_SSHFS_P_FALSE=
16851fi
16852
16853
16854  if test x$enable_sftp = xno; then
16855	WITH_SSHFS=no
16856  else
16857    if test x$enable_sftp = xyes; then
16858	WITH_SSHFS=yes
16859    else
16860	WITH_SSHFS=yes
16861    fi
16862  fi
16863
16864
16865if test "$ac_uname_s" = "Linux"; then
16866
16867
16868  # Check whether --enable-bluetooth was given.
16869if test "${enable_bluetooth+set}" = set; then :
16870  enableval=$enable_bluetooth;
16871fi
16872
16873   if test x$enable_bluetooth = xyes || ( test x$enable_bluetooth = x && test xyes=xyes ); then
16874  WANT_OBEX_P_TRUE=
16875  WANT_OBEX_P_FALSE='#'
16876else
16877  WANT_OBEX_P_TRUE='#'
16878  WANT_OBEX_P_FALSE=
16879fi
16880
16881
16882  if test x$enable_bluetooth = xno; then
16883	WITH_OBEX=no
16884  else
16885    if test x$enable_bluetooth = xyes; then
16886	WITH_OBEX=yes
16887    else
16888	WITH_OBEX=yes
16889    fi
16890  fi
16891
16892
16893
16894  # Check whether --enable-ftp was given.
16895if test "${enable_ftp+set}" = set; then :
16896  enableval=$enable_ftp;
16897fi
16898
16899   if test x$enable_ftp = xyes || ( test x$enable_ftp = x && test xyes=xyes ); then
16900  WANT_FTP_P_TRUE=
16901  WANT_FTP_P_FALSE='#'
16902else
16903  WANT_FTP_P_TRUE='#'
16904  WANT_FTP_P_FALSE=
16905fi
16906
16907
16908  if test x$enable_ftp = xno; then
16909	WITH_FTP=no
16910  else
16911    if test x$enable_ftp = xyes; then
16912	WITH_FTP=yes
16913    else
16914	WITH_FTP=yes
16915    fi
16916  fi
16917
16918
16919
16920  # Check whether --enable-ecryptfs was given.
16921if test "${enable_ecryptfs+set}" = set; then :
16922  enableval=$enable_ecryptfs;
16923fi
16924
16925   if test x$enable_ecryptfs = xyes || ( test x$enable_ecryptfs = x && test xyes=xyes ); then
16926  WANT_ECRYPTFS_P_TRUE=
16927  WANT_ECRYPTFS_P_FALSE='#'
16928else
16929  WANT_ECRYPTFS_P_TRUE='#'
16930  WANT_ECRYPTFS_P_FALSE=
16931fi
16932
16933
16934  if test x$enable_ecryptfs = xno; then
16935	WITH_ECRYPTFS=no
16936  else
16937    if test x$enable_ecryptfs = xyes; then
16938	WITH_ECRYPTFS=yes
16939    else
16940	WITH_ECRYPTFS=yes
16941    fi
16942  fi
16943
16944else
16945
16946
16947  # Check whether --enable-bluetooth was given.
16948if test "${enable_bluetooth+set}" = set; then :
16949  enableval=$enable_bluetooth;
16950fi
16951
16952   if test x$enable_bluetooth = xyes || ( test x$enable_bluetooth = x && test xno=xyes ); then
16953  WANT_OBEX_P_TRUE=
16954  WANT_OBEX_P_FALSE='#'
16955else
16956  WANT_OBEX_P_TRUE='#'
16957  WANT_OBEX_P_FALSE=
16958fi
16959
16960
16961  if test x$enable_bluetooth = xno; then
16962	WITH_OBEX=no
16963  else
16964    if test x$enable_bluetooth = xyes; then
16965	WITH_OBEX=yes
16966    else
16967	WITH_OBEX=no
16968    fi
16969  fi
16970
16971
16972
16973  # Check whether --enable-ftp was given.
16974if test "${enable_ftp+set}" = set; then :
16975  enableval=$enable_ftp;
16976fi
16977
16978   if test x$enable_ftp = xyes || ( test x$enable_ftp = x && test xno=xyes ); then
16979  WANT_FTP_P_TRUE=
16980  WANT_FTP_P_FALSE='#'
16981else
16982  WANT_FTP_P_TRUE='#'
16983  WANT_FTP_P_FALSE=
16984fi
16985
16986
16987  if test x$enable_ftp = xno; then
16988	WITH_FTP=no
16989  else
16990    if test x$enable_ftp = xyes; then
16991	WITH_FTP=yes
16992    else
16993	WITH_FTP=no
16994    fi
16995  fi
16996
16997
16998
16999  # Check whether --enable-ecryptfs was given.
17000if test "${enable_ecryptfs+set}" = set; then :
17001  enableval=$enable_ecryptfs;
17002fi
17003
17004   if test x$enable_ecryptfs = xyes || ( test x$enable_ecryptfs = x && test xno=xyes ); then
17005  WANT_ECRYPTFS_P_TRUE=
17006  WANT_ECRYPTFS_P_FALSE='#'
17007else
17008  WANT_ECRYPTFS_P_TRUE='#'
17009  WANT_ECRYPTFS_P_FALSE=
17010fi
17011
17012
17013  if test x$enable_ecryptfs = xno; then
17014	WITH_ECRYPTFS=no
17015  else
17016    if test x$enable_ecryptfs = xyes; then
17017	WITH_ECRYPTFS=yes
17018    else
17019	WITH_ECRYPTFS=no
17020    fi
17021  fi
17022
17023fi
17024
17025
17026
17027  # Check whether --enable-cifs was given.
17028if test "${enable_cifs+set}" = set; then :
17029  enableval=$enable_cifs;
17030fi
17031
17032   if test x$enable_cifs = xyes || ( test x$enable_cifs = x && test xyes=xyes ); then
17033  WANT_CIFS_P_TRUE=
17034  WANT_CIFS_P_FALSE='#'
17035else
17036  WANT_CIFS_P_TRUE='#'
17037  WANT_CIFS_P_FALSE=
17038fi
17039
17040
17041  if test x$enable_cifs = xno; then
17042	WITH_CIFS=no
17043  else
17044    if test x$enable_cifs = xyes; then
17045	WITH_CIFS=yes
17046    else
17047	WITH_CIFS=yes
17048    fi
17049  fi
17050
17051
17052
17053
17054    GETTEXT_PACKAGE=rodent-fuse
17055
17056cat >>confdefs.h <<_ACEOF
17057#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
17058_ACEOF
17059
17060
17061
17062    ALL_LINGUAS="af am  an ar as ast  az  be@latin  be bg bn_IN bn bo br  bs ca ca@valencia crh csb cs cy da de  dz el en_AU en_CA en_GB  en_US eo es et eu fa fi  fr fur fy ga gl  gu gv  he hi hne hr hsb hu hy ia id ig io is it ja ka kg  kk km kn ko  ks ku ky  lb lg li lt lv mai mg mi mk ml mn mr ms  my nb nds ne  nl nn no nso oc or  pa pl ps pt_BR pt pt_PT ro ru rw se si sk sl  sq sr@ijekavianlatin sr@ijekavian sr@ije sr@latin  sr sv   ta te tg th tk  tr tt ug uk  ur uz@cyrillic uz vi wa xh yi yo zh_CN zh_HK zh zh_TW.Big5 zh_TW zu"
17063
17064   for ac_header in locale.h
17065do :
17066  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
17067if test "x$ac_cv_header_locale_h" = xyes; then :
17068  cat >>confdefs.h <<_ACEOF
17069#define HAVE_LOCALE_H 1
17070_ACEOF
17071
17072fi
17073
17074done
17075
17076    if test $ac_cv_header_locale_h = yes; then
17077    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
17078$as_echo_n "checking for LC_MESSAGES... " >&6; }
17079if ${am_cv_val_LC_MESSAGES+:} false; then :
17080  $as_echo_n "(cached) " >&6
17081else
17082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083/* end confdefs.h.  */
17084#include <locale.h>
17085int
17086main ()
17087{
17088return LC_MESSAGES
17089  ;
17090  return 0;
17091}
17092_ACEOF
17093if ac_fn_c_try_link "$LINENO"; then :
17094  am_cv_val_LC_MESSAGES=yes
17095else
17096  am_cv_val_LC_MESSAGES=no
17097fi
17098rm -f core conftest.err conftest.$ac_objext \
17099    conftest$ac_exeext conftest.$ac_ext
17100fi
17101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
17102$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
17103    if test $am_cv_val_LC_MESSAGES = yes; then
17104
17105$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
17106
17107    fi
17108  fi
17109     USE_NLS=yes
17110
17111
17112    gt_cv_have_gettext=no
17113
17114    CATOBJEXT=NONE
17115    XGETTEXT=:
17116    INTLLIBS=
17117
17118    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
17119if test "x$ac_cv_header_libintl_h" = xyes; then :
17120  gt_cv_func_dgettext_libintl="no"
17121      libintl_extra_libs=""
17122
17123      #
17124      # First check in libc
17125      #
17126      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
17127$as_echo_n "checking for ngettext in libc... " >&6; }
17128if ${gt_cv_func_ngettext_libc+:} false; then :
17129  $as_echo_n "(cached) " >&6
17130else
17131  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132/* end confdefs.h.  */
17133
17134#include <libintl.h>
17135
17136int
17137main ()
17138{
17139return !ngettext ("","", 1)
17140  ;
17141  return 0;
17142}
17143_ACEOF
17144if ac_fn_c_try_link "$LINENO"; then :
17145  gt_cv_func_ngettext_libc=yes
17146else
17147  gt_cv_func_ngettext_libc=no
17148fi
17149rm -f core conftest.err conftest.$ac_objext \
17150    conftest$ac_exeext conftest.$ac_ext
17151
17152fi
17153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
17154$as_echo "$gt_cv_func_ngettext_libc" >&6; }
17155
17156      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
17157	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
17158$as_echo_n "checking for dgettext in libc... " >&6; }
17159if ${gt_cv_func_dgettext_libc+:} false; then :
17160  $as_echo_n "(cached) " >&6
17161else
17162  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163/* end confdefs.h.  */
17164
17165#include <libintl.h>
17166
17167int
17168main ()
17169{
17170return !dgettext ("","")
17171  ;
17172  return 0;
17173}
17174_ACEOF
17175if ac_fn_c_try_link "$LINENO"; then :
17176  gt_cv_func_dgettext_libc=yes
17177else
17178  gt_cv_func_dgettext_libc=no
17179fi
17180rm -f core conftest.err conftest.$ac_objext \
17181    conftest$ac_exeext conftest.$ac_ext
17182
17183fi
17184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
17185$as_echo "$gt_cv_func_dgettext_libc" >&6; }
17186      fi
17187
17188      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
17189        for ac_func in bind_textdomain_codeset
17190do :
17191  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17192if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17193  cat >>confdefs.h <<_ACEOF
17194#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17195_ACEOF
17196
17197fi
17198done
17199
17200      fi
17201
17202      #
17203      # If we don't have everything we want, check in libintl
17204      #
17205      if test "$gt_cv_func_dgettext_libc" != "yes" \
17206	 || test "$gt_cv_func_ngettext_libc" != "yes" \
17207         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
17208
17209        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
17210$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
17211if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
17212  $as_echo_n "(cached) " >&6
17213else
17214  ac_check_lib_save_LIBS=$LIBS
17215LIBS="-lintl  $LIBS"
17216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217/* end confdefs.h.  */
17218
17219/* Override any GCC internal prototype to avoid an error.
17220   Use char because int might match the return type of a GCC
17221   builtin and then its argument prototype would still apply.  */
17222#ifdef __cplusplus
17223extern "C"
17224#endif
17225char bindtextdomain ();
17226int
17227main ()
17228{
17229return bindtextdomain ();
17230  ;
17231  return 0;
17232}
17233_ACEOF
17234if ac_fn_c_try_link "$LINENO"; then :
17235  ac_cv_lib_intl_bindtextdomain=yes
17236else
17237  ac_cv_lib_intl_bindtextdomain=no
17238fi
17239rm -f core conftest.err conftest.$ac_objext \
17240    conftest$ac_exeext conftest.$ac_ext
17241LIBS=$ac_check_lib_save_LIBS
17242fi
17243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
17244$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
17245if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
17246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17247$as_echo_n "checking for ngettext in -lintl... " >&6; }
17248if ${ac_cv_lib_intl_ngettext+:} false; then :
17249  $as_echo_n "(cached) " >&6
17250else
17251  ac_check_lib_save_LIBS=$LIBS
17252LIBS="-lintl  $LIBS"
17253cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254/* end confdefs.h.  */
17255
17256/* Override any GCC internal prototype to avoid an error.
17257   Use char because int might match the return type of a GCC
17258   builtin and then its argument prototype would still apply.  */
17259#ifdef __cplusplus
17260extern "C"
17261#endif
17262char ngettext ();
17263int
17264main ()
17265{
17266return ngettext ();
17267  ;
17268  return 0;
17269}
17270_ACEOF
17271if ac_fn_c_try_link "$LINENO"; then :
17272  ac_cv_lib_intl_ngettext=yes
17273else
17274  ac_cv_lib_intl_ngettext=no
17275fi
17276rm -f core conftest.err conftest.$ac_objext \
17277    conftest$ac_exeext conftest.$ac_ext
17278LIBS=$ac_check_lib_save_LIBS
17279fi
17280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17281$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17282if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
17284$as_echo_n "checking for dgettext in -lintl... " >&6; }
17285if ${ac_cv_lib_intl_dgettext+:} false; then :
17286  $as_echo_n "(cached) " >&6
17287else
17288  ac_check_lib_save_LIBS=$LIBS
17289LIBS="-lintl  $LIBS"
17290cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291/* end confdefs.h.  */
17292
17293/* Override any GCC internal prototype to avoid an error.
17294   Use char because int might match the return type of a GCC
17295   builtin and then its argument prototype would still apply.  */
17296#ifdef __cplusplus
17297extern "C"
17298#endif
17299char dgettext ();
17300int
17301main ()
17302{
17303return dgettext ();
17304  ;
17305  return 0;
17306}
17307_ACEOF
17308if ac_fn_c_try_link "$LINENO"; then :
17309  ac_cv_lib_intl_dgettext=yes
17310else
17311  ac_cv_lib_intl_dgettext=no
17312fi
17313rm -f core conftest.err conftest.$ac_objext \
17314    conftest$ac_exeext conftest.$ac_ext
17315LIBS=$ac_check_lib_save_LIBS
17316fi
17317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
17318$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17319if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
17320  gt_cv_func_dgettext_libintl=yes
17321fi
17322
17323fi
17324
17325fi
17326
17327
17328	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
17329	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
17330$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
17331	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17332$as_echo "" >&6; }
17333  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17334$as_echo_n "checking for ngettext in -lintl... " >&6; }
17335if ${ac_cv_lib_intl_ngettext+:} false; then :
17336  $as_echo_n "(cached) " >&6
17337else
17338  ac_check_lib_save_LIBS=$LIBS
17339LIBS="-lintl -liconv $LIBS"
17340cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341/* end confdefs.h.  */
17342
17343/* Override any GCC internal prototype to avoid an error.
17344   Use char because int might match the return type of a GCC
17345   builtin and then its argument prototype would still apply.  */
17346#ifdef __cplusplus
17347extern "C"
17348#endif
17349char ngettext ();
17350int
17351main ()
17352{
17353return ngettext ();
17354  ;
17355  return 0;
17356}
17357_ACEOF
17358if ac_fn_c_try_link "$LINENO"; then :
17359  ac_cv_lib_intl_ngettext=yes
17360else
17361  ac_cv_lib_intl_ngettext=no
17362fi
17363rm -f core conftest.err conftest.$ac_objext \
17364    conftest$ac_exeext conftest.$ac_ext
17365LIBS=$ac_check_lib_save_LIBS
17366fi
17367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17368$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17369if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17370  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
17371$as_echo_n "checking for dcgettext in -lintl... " >&6; }
17372if ${ac_cv_lib_intl_dcgettext+:} false; then :
17373  $as_echo_n "(cached) " >&6
17374else
17375  ac_check_lib_save_LIBS=$LIBS
17376LIBS="-lintl -liconv $LIBS"
17377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378/* end confdefs.h.  */
17379
17380/* Override any GCC internal prototype to avoid an error.
17381   Use char because int might match the return type of a GCC
17382   builtin and then its argument prototype would still apply.  */
17383#ifdef __cplusplus
17384extern "C"
17385#endif
17386char dcgettext ();
17387int
17388main ()
17389{
17390return dcgettext ();
17391  ;
17392  return 0;
17393}
17394_ACEOF
17395if ac_fn_c_try_link "$LINENO"; then :
17396  ac_cv_lib_intl_dcgettext=yes
17397else
17398  ac_cv_lib_intl_dcgettext=no
17399fi
17400rm -f core conftest.err conftest.$ac_objext \
17401    conftest$ac_exeext conftest.$ac_ext
17402LIBS=$ac_check_lib_save_LIBS
17403fi
17404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
17405$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17406if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
17407  gt_cv_func_dgettext_libintl=yes
17408			libintl_extra_libs=-liconv
17409else
17410  :
17411fi
17412
17413else
17414  :
17415fi
17416
17417        fi
17418
17419        #
17420        # If we found libintl, then check in it for bind_textdomain_codeset();
17421        # we'll prefer libc if neither have bind_textdomain_codeset(),
17422        # and both have dgettext and ngettext
17423        #
17424        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
17425          glib_save_LIBS="$LIBS"
17426          LIBS="$LIBS -lintl $libintl_extra_libs"
17427          unset ac_cv_func_bind_textdomain_codeset
17428          for ac_func in bind_textdomain_codeset
17429do :
17430  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17431if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17432  cat >>confdefs.h <<_ACEOF
17433#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17434_ACEOF
17435
17436fi
17437done
17438
17439          LIBS="$glib_save_LIBS"
17440
17441          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
17442            gt_cv_func_dgettext_libc=no
17443          else
17444            if test "$gt_cv_func_dgettext_libc" = "yes" \
17445		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
17446              gt_cv_func_dgettext_libintl=no
17447            fi
17448          fi
17449        fi
17450      fi
17451
17452      if test "$gt_cv_func_dgettext_libc" = "yes" \
17453	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
17454        gt_cv_have_gettext=yes
17455      fi
17456
17457      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
17458        INTLLIBS="-lintl $libintl_extra_libs"
17459      fi
17460
17461      if test "$gt_cv_have_gettext" = "yes"; then
17462
17463$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17464
17465	# Extract the first word of "msgfmt", so it can be a program name with args.
17466set dummy msgfmt; ac_word=$2
17467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17468$as_echo_n "checking for $ac_word... " >&6; }
17469if ${ac_cv_path_MSGFMT+:} false; then :
17470  $as_echo_n "(cached) " >&6
17471else
17472  case "$MSGFMT" in
17473  /*)
17474  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17475  ;;
17476  *)
17477  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
17478  for ac_dir in $PATH; do
17479    test -z "$ac_dir" && ac_dir=.
17480    if test -f $ac_dir/$ac_word; then
17481      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
17482	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
17483	break
17484      fi
17485    fi
17486  done
17487  IFS="$ac_save_ifs"
17488  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
17489  ;;
17490esac
17491fi
17492MSGFMT="$ac_cv_path_MSGFMT"
17493if test "$MSGFMT" != "no"; then
17494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17495$as_echo "$MSGFMT" >&6; }
17496else
17497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498$as_echo "no" >&6; }
17499fi
17500	if test "$MSGFMT" != "no"; then
17501          glib_save_LIBS="$LIBS"
17502          LIBS="$LIBS $INTLLIBS"
17503	  for ac_func in dcgettext
17504do :
17505  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
17506if test "x$ac_cv_func_dcgettext" = xyes; then :
17507  cat >>confdefs.h <<_ACEOF
17508#define HAVE_DCGETTEXT 1
17509_ACEOF
17510
17511fi
17512done
17513
17514	  MSGFMT_OPTS=
17515	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
17516$as_echo_n "checking if msgfmt accepts -c... " >&6; }
17517	  cat >conftest.foo <<_ACEOF
17518
17519msgid ""
17520msgstr ""
17521"Content-Type: text/plain; charset=UTF-8\n"
17522"Project-Id-Version: test 1.0\n"
17523"PO-Revision-Date: 2007-02-15 12:01+0100\n"
17524"Last-Translator: test <foo@bar.xx>\n"
17525"Language-Team: C <LL@li.org>\n"
17526"MIME-Version: 1.0\n"
17527"Content-Transfer-Encoding: 8bit\n"
17528
17529_ACEOF
17530if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
17531  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
17532  ac_status=$?
17533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17534  test $ac_status = 0; }; then
17535  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17536$as_echo "yes" >&6; }
17537else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17538$as_echo "no" >&6; }
17539echo "$as_me: failed input was:" >&5
17540sed 's/^/| /' conftest.foo >&5
17541fi
17542
17543	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
17544set dummy gmsgfmt; ac_word=$2
17545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17546$as_echo_n "checking for $ac_word... " >&6; }
17547if ${ac_cv_path_GMSGFMT+:} false; then :
17548  $as_echo_n "(cached) " >&6
17549else
17550  case $GMSGFMT in
17551  [\\/]* | ?:[\\/]*)
17552  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17553  ;;
17554  *)
17555  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17556for as_dir in $PATH
17557do
17558  IFS=$as_save_IFS
17559  test -z "$as_dir" && as_dir=.
17560    for ac_exec_ext in '' $ac_executable_extensions; do
17561  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17562    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17564    break 2
17565  fi
17566done
17567  done
17568IFS=$as_save_IFS
17569
17570  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17571  ;;
17572esac
17573fi
17574GMSGFMT=$ac_cv_path_GMSGFMT
17575if test -n "$GMSGFMT"; then
17576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17577$as_echo "$GMSGFMT" >&6; }
17578else
17579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17580$as_echo "no" >&6; }
17581fi
17582
17583
17584	  # Extract the first word of "xgettext", so it can be a program name with args.
17585set dummy xgettext; ac_word=$2
17586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17587$as_echo_n "checking for $ac_word... " >&6; }
17588if ${ac_cv_path_XGETTEXT+:} false; then :
17589  $as_echo_n "(cached) " >&6
17590else
17591  case "$XGETTEXT" in
17592  /*)
17593  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17594  ;;
17595  *)
17596  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
17597  for ac_dir in $PATH; do
17598    test -z "$ac_dir" && ac_dir=.
17599    if test -f $ac_dir/$ac_word; then
17600      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
17601	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
17602	break
17603      fi
17604    fi
17605  done
17606  IFS="$ac_save_ifs"
17607  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17608  ;;
17609esac
17610fi
17611XGETTEXT="$ac_cv_path_XGETTEXT"
17612if test "$XGETTEXT" != ":"; then
17613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17614$as_echo "$XGETTEXT" >&6; }
17615else
17616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17617$as_echo "no" >&6; }
17618fi
17619
17620	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621/* end confdefs.h.  */
17622
17623int
17624main ()
17625{
17626extern int _nl_msg_cat_cntr;
17627			 return _nl_msg_cat_cntr
17628  ;
17629  return 0;
17630}
17631_ACEOF
17632if ac_fn_c_try_link "$LINENO"; then :
17633  CATOBJEXT=.gmo
17634             DATADIRNAME=share
17635else
17636  case $host in
17637	    *-*-solaris*)
17638	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17639if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17640  CATOBJEXT=.gmo
17641               DATADIRNAME=share
17642else
17643  CATOBJEXT=.mo
17644               DATADIRNAME=lib
17645fi
17646
17647	    ;;
17648	    *-*-openbsd*)
17649	    CATOBJEXT=.mo
17650            DATADIRNAME=share
17651	    ;;
17652	    *)
17653	    CATOBJEXT=.mo
17654            DATADIRNAME=lib
17655	    ;;
17656	    esac
17657fi
17658rm -f core conftest.err conftest.$ac_objext \
17659    conftest$ac_exeext conftest.$ac_ext
17660          LIBS="$glib_save_LIBS"
17661	  INSTOBJEXT=.mo
17662	else
17663	  gt_cv_have_gettext=no
17664	fi
17665      fi
17666
17667fi
17668
17669
17670
17671    if test "$gt_cv_have_gettext" = "yes" ; then
17672
17673$as_echo "#define ENABLE_NLS 1" >>confdefs.h
17674
17675    fi
17676
17677        if test "$XGETTEXT" != ":"; then
17678                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
17679        : ;
17680      else
17681        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
17682$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
17683        XGETTEXT=":"
17684      fi
17685    fi
17686
17687    # We need to process the po/ directory.
17688    POSUB=po
17689
17690    ac_config_commands="$ac_config_commands default-1"
17691
17692
17693                for lang in $ALL_LINGUAS; do
17694      GMOFILES="$GMOFILES $lang.gmo"
17695      POFILES="$POFILES $lang.po"
17696    done
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710   if test "$gt_cv_have_gettext" = "yes"; then
17711     if test "x$ALL_LINGUAS" = "x"; then
17712       LINGUAS=
17713     else
17714       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
17715$as_echo_n "checking for catalogs to be installed... " >&6; }
17716       NEW_LINGUAS=
17717       for presentlang in $ALL_LINGUAS; do
17718         useit=no
17719         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
17720           desiredlanguages="$LINGUAS"
17721         else
17722           desiredlanguages="$ALL_LINGUAS"
17723         fi
17724         for desiredlang in $desiredlanguages; do
17725 	   # Use the presentlang catalog if desiredlang is
17726           #   a. equal to presentlang, or
17727           #   b. a variant of presentlang (because in this case,
17728           #      presentlang can be used as a fallback for messages
17729           #      which are not translated in the desiredlang catalog).
17730           case "$desiredlang" in
17731             "$presentlang"*) useit=yes;;
17732           esac
17733         done
17734         if test $useit = yes; then
17735           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
17736         fi
17737       done
17738       LINGUAS=$NEW_LINGUAS
17739       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
17740$as_echo "$LINGUAS" >&6; }
17741     fi
17742
17743          if test -n "$LINGUAS"; then
17744       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
17745     fi
17746   fi
17747
17748            MKINSTALLDIRS=
17749   if test -n "$ac_aux_dir"; then
17750     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
17751   fi
17752   if test -z "$MKINSTALLDIRS"; then
17753     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
17754   fi
17755
17756
17757         test -d po || mkdir po
17758   if test "x$srcdir" != "x."; then
17759     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
17760       posrcprefix="$srcdir/"
17761     else
17762       posrcprefix="../$srcdir/"
17763     fi
17764   else
17765     posrcprefix="../"
17766   fi
17767   rm -f po/POTFILES
17768   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
17769	< $srcdir/po/POTFILES.in > po/POTFILES
17770
17771
17772    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17773if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17774
17775fi
17776
17777
17778    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
17779$as_echo_n "checking for locales directory... " >&6; }
17780
17781# Check whether --with-locales-dir was given.
17782if test "${with_locales_dir+set}" = set; then :
17783  withval=$with_locales_dir; localedir=$withval
17784else
17785
17786    if test x"$CATOBJEXT" = x".mo"; then
17787      localedir=$libdir/locale
17788    else
17789      localedir=$datadir/locale
17790    fi
17791
17792fi
17793
17794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
17795$as_echo "$localedir" >&6; }
17796
17797
17798    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
17799$as_echo_n "checking for additional xgettext flags... " >&6; }
17800  if test x"$XGETTEXT_ARGS" = x""; then
17801    XGETTEXT_ARGS="--keyword=Q_";
17802  else
17803    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
17804  fi
17805
17806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
17807$as_echo "$XGETTEXT_ARGS" >&6; }
17808
17809
17810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/pixmaps" >&5
17811$as_echo_n "checking for /usr/share/pixmaps... " >&6; }
17812if ${ac_cv_file__usr_share_pixmaps+:} false; then :
17813  $as_echo_n "(cached) " >&6
17814else
17815  test "$cross_compiling" = yes &&
17816  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17817if test -r "/usr/share/pixmaps"; then
17818  ac_cv_file__usr_share_pixmaps=yes
17819else
17820  ac_cv_file__usr_share_pixmaps=no
17821fi
17822fi
17823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_pixmaps" >&5
17824$as_echo "$ac_cv_file__usr_share_pixmaps" >&6; }
17825if test "x$ac_cv_file__usr_share_pixmaps" = xyes; then :
17826
17827cat >>confdefs.h <<_ACEOF
17828#define HAVE__USR_SHARE_PIXMAPS 1
17829_ACEOF
17830
17831fi
17832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/pixmaps" >&5
17833$as_echo_n "checking for /usr/local/share/pixmaps... " >&6; }
17834if ${ac_cv_file__usr_local_share_pixmaps+:} false; then :
17835  $as_echo_n "(cached) " >&6
17836else
17837  test "$cross_compiling" = yes &&
17838  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17839if test -r "/usr/local/share/pixmaps"; then
17840  ac_cv_file__usr_local_share_pixmaps=yes
17841else
17842  ac_cv_file__usr_local_share_pixmaps=no
17843fi
17844fi
17845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_pixmaps" >&5
17846$as_echo "$ac_cv_file__usr_local_share_pixmaps" >&6; }
17847if test "x$ac_cv_file__usr_local_share_pixmaps" = xyes; then :
17848
17849cat >>confdefs.h <<_ACEOF
17850#define HAVE__USR_LOCAL_SHARE_PIXMAPS 1
17851_ACEOF
17852
17853fi
17854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/icons" >&5
17855$as_echo_n "checking for /usr/share/icons... " >&6; }
17856if ${ac_cv_file__usr_share_icons+:} false; then :
17857  $as_echo_n "(cached) " >&6
17858else
17859  test "$cross_compiling" = yes &&
17860  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17861if test -r "/usr/share/icons"; then
17862  ac_cv_file__usr_share_icons=yes
17863else
17864  ac_cv_file__usr_share_icons=no
17865fi
17866fi
17867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_icons" >&5
17868$as_echo "$ac_cv_file__usr_share_icons" >&6; }
17869if test "x$ac_cv_file__usr_share_icons" = xyes; then :
17870
17871cat >>confdefs.h <<_ACEOF
17872#define HAVE__USR_SHARE_ICONS 1
17873_ACEOF
17874
17875fi
17876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/icons" >&5
17877$as_echo_n "checking for /usr/local/share/icons... " >&6; }
17878if ${ac_cv_file__usr_local_share_icons+:} false; then :
17879  $as_echo_n "(cached) " >&6
17880else
17881  test "$cross_compiling" = yes &&
17882  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17883if test -r "/usr/local/share/icons"; then
17884  ac_cv_file__usr_local_share_icons=yes
17885else
17886  ac_cv_file__usr_local_share_icons=no
17887fi
17888fi
17889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_icons" >&5
17890$as_echo "$ac_cv_file__usr_local_share_icons" >&6; }
17891if test "x$ac_cv_file__usr_local_share_icons" = xyes; then :
17892
17893cat >>confdefs.h <<_ACEOF
17894#define HAVE__USR_LOCAL_SHARE_ICONS 1
17895_ACEOF
17896
17897fi
17898
17899
17900
17901 for ac_prog in ps
17902do
17903  # Extract the first word of "$ac_prog", so it can be a program name with args.
17904set dummy $ac_prog; ac_word=$2
17905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17906$as_echo_n "checking for $ac_word... " >&6; }
17907if ${ac_cv_prog_ps+:} false; then :
17908  $as_echo_n "(cached) " >&6
17909else
17910  if test -n "$ps"; then
17911  ac_cv_prog_ps="$ps" # Let the user override the test.
17912else
17913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17914for as_dir in $PATH
17915do
17916  IFS=$as_save_IFS
17917  test -z "$as_dir" && as_dir=.
17918    for ac_exec_ext in '' $ac_executable_extensions; do
17919  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17920    ac_cv_prog_ps="$ac_prog"
17921    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17922    break 2
17923  fi
17924done
17925  done
17926IFS=$as_save_IFS
17927
17928fi
17929fi
17930ps=$ac_cv_prog_ps
17931if test -n "$ps"; then
17932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ps" >&5
17933$as_echo "$ps" >&6; }
17934else
17935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17936$as_echo "no" >&6; }
17937fi
17938
17939
17940  test -n "$ps" && break
17941done
17942test -n "$ps" || ps="no"
17943
17944 if test $ps = "no" ; then
17945    as_fn_error $? "Unable to find the ps application" "$LINENO" 5;
17946 else
17947    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ps capabilities" >&5
17948$as_echo_n "checking for ps capabilities... " >&6; }
17949    echo
17950
17951    result=`ps -o rss  2>/dev/null`;
17952
17953    if test x"${result}" = x; then
17954	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o rss option found" >&5
17955$as_echo "no -o rss option found" >&6; }
17956	OPTION_FOUND=no
17957    else
17958
17959$as_echo "#define HAVE_UNIX_O_RSS 1" >>confdefs.h
17960
17961	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o rss option found" >&5
17962$as_echo "-o rss option found" >&6; }
17963	OPTION_FOUND=yes
17964    fi
17965     if test x"_OPTION_FOUND" = x"yes"; then
17966  HAVE_UNIX_O_RSS_TRUE=
17967  HAVE_UNIX_O_RSS_FALSE='#'
17968else
17969  HAVE_UNIX_O_RSS_TRUE='#'
17970  HAVE_UNIX_O_RSS_FALSE=
17971fi
17972
17973
17974    result=`ps -jH  2>/dev/null`;
17975    if test x"${result}" = x; then
17976	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -jH option found" >&5
17977$as_echo "no -jH option found" >&6; }
17978	OPTION_FOUND=no
17979    else
17980
17981$as_echo "#define HAVE_UNIX_JH 1" >>confdefs.h
17982
17983	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -jH option found" >&5
17984$as_echo "-jH option found" >&6; }
17985	OPTION_FOUND=yes
17986    fi
17987     if test x"_OPTION_FOUND" = x"yes"; then
17988  HAVE_UNIX_JH_TRUE=
17989  HAVE_UNIX_JH_FALSE='#'
17990else
17991  HAVE_UNIX_JH_TRUE='#'
17992  HAVE_UNIX_JH_FALSE=
17993fi
17994
17995
17996    result=`ps -ly  2>/dev/null`;
17997    if test x"${result}" = x; then
17998	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ly option found" >&5
17999$as_echo "no -ly option found" >&6; }
18000	OPTION_FOUND=no
18001    else
18002
18003$as_echo "#define HAVE_UNIX_LY 1" >>confdefs.h
18004
18005	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ly option found" >&5
18006$as_echo "-ly option found" >&6; }
18007	OPTION_FOUND=yes
18008    fi
18009     if test x"OPTION_FOUND" = x"yes"; then
18010  HAVE_UNIX_LY_TRUE=
18011  HAVE_UNIX_LY_FALSE='#'
18012else
18013  HAVE_UNIX_LY_TRUE='#'
18014  HAVE_UNIX_LY_FALSE=
18015fi
18016
18017
18018    result=`ps -ef  2>/dev/null`;
18019    if test x"${result}" = x; then
18020	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ef option found" >&5
18021$as_echo "no -ef option found" >&6; }
18022	OPTION_FOUND=no
18023    else
18024
18025$as_echo "#define HAVE_UNIX_EF 1" >>confdefs.h
18026
18027	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ef option found" >&5
18028$as_echo "-ef option found" >&6; }
18029	OPTION_FOUND=yes
18030    fi
18031     if test x"OPTION_FOUND" = x"yes"; then
18032  HAVE_UNIX_EF_TRUE=
18033  HAVE_UNIX_EF_FALSE='#'
18034else
18035  HAVE_UNIX_EF_TRUE='#'
18036  HAVE_UNIX_EF_FALSE=
18037fi
18038
18039
18040    result=`ps -o pcpu 2>/dev/null`;
18041    if test x"${result}" = x; then
18042	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o option found" >&5
18043$as_echo "no -o option found" >&6; }
18044	OPTION_FOUND=no
18045    else
18046
18047$as_echo "#define HAVE_UNIX_O 1" >>confdefs.h
18048
18049	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o option found" >&5
18050$as_echo "-o option found" >&6; }
18051	OPTION_FOUND=yes
18052    fi
18053     if test x"OPTION_FOUND" = x"yes"; then
18054  HAVE_UNIX_O_TRUE=
18055  HAVE_UNIX_O_FALSE='#'
18056else
18057  HAVE_UNIX_O_TRUE='#'
18058  HAVE_UNIX_O_FALSE=
18059fi
18060
18061
18062    result=`ps -w  2>/dev/null`;
18063    if test x"${result}" = x; then
18064	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -w option found" >&5
18065$as_echo "no -w option found" >&6; }
18066	OPTION_FOUND=no
18067    else
18068
18069$as_echo "#define HAVE_UNIX_W 1" >>confdefs.h
18070
18071	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -w option found" >&5
18072$as_echo "-w option found" >&6; }
18073	OPTION_FOUND=yes
18074    fi
18075     if test x"OPTION_FOUND" = x"yes"; then
18076  HAVE_UNIX_W_TRUE=
18077  HAVE_UNIX_W_FALSE='#'
18078else
18079  HAVE_UNIX_W_TRUE='#'
18080  HAVE_UNIX_W_FALSE=
18081fi
18082
18083
18084    result=`ps xf  2>/dev/null`;
18085    if test x"${result}" = x; then
18086	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no xf option found" >&5
18087$as_echo "no xf option found" >&6; }
18088	OPTION_FOUND=no
18089    else
18090
18091$as_echo "#define HAVE_BSD_XF 1" >>confdefs.h
18092
18093	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: xf option found" >&5
18094$as_echo "xf option found" >&6; }
18095	OPTION_FOUND=yes
18096    fi
18097     if test x"OPTION_FOUND" = x"yes"; then
18098  HAVE_BSD_XF_TRUE=
18099  HAVE_BSD_XF_FALSE='#'
18100else
18101  HAVE_BSD_XF_TRUE='#'
18102  HAVE_BSD_XF_FALSE=
18103fi
18104
18105
18106    result=`ps l  2>/dev/null`;
18107    if test x"${result}" = x; then
18108	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no l option found" >&5
18109$as_echo "no l option found" >&6; }
18110	OPTION_FOUND=no
18111    else
18112
18113$as_echo "#define HAVE_BSD_L 1" >>confdefs.h
18114
18115	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: l option found" >&5
18116$as_echo "l option found" >&6; }
18117	OPTION_FOUND=yes
18118    fi
18119     if test x"OPTION_FOUND" = x"yes"; then
18120  HAVE_BSD_L_TRUE=
18121  HAVE_BSD_L_FALSE='#'
18122else
18123  HAVE_BSD_L_TRUE='#'
18124  HAVE_BSD_L_FALSE=
18125fi
18126
18127
18128    result=`ps aux  2>/dev/null`;
18129    if test x"${result}" = x; then
18130	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no aux option found" >&5
18131$as_echo "no aux option found" >&6; }
18132	OPTION_FOUND=no
18133    else
18134
18135$as_echo "#define HAVE_BSD_AUX 1" >>confdefs.h
18136
18137	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: aux option found" >&5
18138$as_echo "aux option found" >&6; }
18139	OPTION_FOUND=yes
18140    fi
18141     if test x"OPTION_FOUND" = x"yes"; then
18142  HAVE_BSD_AUX_TRUE=
18143  HAVE_BSD_AUX_FALSE='#'
18144else
18145  HAVE_BSD_AUX_TRUE='#'
18146  HAVE_BSD_AUX_FALSE=
18147fi
18148
18149
18150    result=`ps o pcpu  2>/dev/null`;
18151    if test x"${result}" = x; then
18152	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no o option found" >&5
18153$as_echo "no o option found" >&6; }
18154	OPTION_FOUND=no
18155    else
18156
18157$as_echo "#define HAVE_BSD_O 1" >>confdefs.h
18158
18159	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: o option found" >&5
18160$as_echo "o option found" >&6; }
18161	OPTION_FOUND=yes
18162    fi
18163     if test x"OPTION_FOUND" = x"yes"; then
18164  HAVE_BSD_O_TRUE=
18165  HAVE_BSD_O_FALSE='#'
18166else
18167  HAVE_BSD_O_TRUE='#'
18168  HAVE_BSD_O_FALSE=
18169fi
18170
18171
18172    result=`ps w  2>/dev/null`;
18173    if test x"${result}" = x; then
18174	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no w option found" >&5
18175$as_echo "no w option found" >&6; }
18176	OPTION_FOUND=no
18177    else
18178
18179$as_echo "#define HAVE_BSD_W 1" >>confdefs.h
18180
18181	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: w option found" >&5
18182$as_echo "w option found" >&6; }
18183	OPTION_FOUND=yes
18184    fi
18185     if test x"OPTION_FOUND" = x"yes"; then
18186  HAVE_BSD_W_TRUE=
18187  HAVE_BSD_W_FALSE='#'
18188else
18189  HAVE_BSD_W_TRUE='#'
18190  HAVE_BSD_W_FALSE=
18191fi
18192
18193
18194 fi
18195
18196
18197
18198# Extract the first word of "dpkg", so it can be a program name with args.
18199set dummy dpkg; ac_word=$2
18200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18201$as_echo_n "checking for $ac_word... " >&6; }
18202if ${ac_cv_prog_cv_dpkg+:} false; then :
18203  $as_echo_n "(cached) " >&6
18204else
18205  if test -n "$cv_dpkg"; then
18206  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
18207else
18208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18209for as_dir in $PATH
18210do
18211  IFS=$as_save_IFS
18212  test -z "$as_dir" && as_dir=.
18213    for ac_exec_ext in '' $ac_executable_extensions; do
18214  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18215    ac_cv_prog_cv_dpkg="yes"
18216    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18217    break 2
18218  fi
18219done
18220  done
18221IFS=$as_save_IFS
18222
18223  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
18224fi
18225fi
18226cv_dpkg=$ac_cv_prog_cv_dpkg
18227if test -n "$cv_dpkg"; then
18228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
18229$as_echo "$cv_dpkg" >&6; }
18230else
18231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18232$as_echo "no" >&6; }
18233fi
18234
18235
18236 if test "$cv_dpkg" = yes; then
18237  WANT_DEBIAN_TRUE=
18238  WANT_DEBIAN_FALSE='#'
18239else
18240  WANT_DEBIAN_TRUE='#'
18241  WANT_DEBIAN_FALSE=
18242fi
18243
18244#debian/changelog
18245
18246 LIBDIR=$libdir;
18247ac_config_files="$ac_config_files rodent-fuse.settings Makefile rodent-fuse.spec Rodent-fuse.desktop.in Rodent-fuse.appdata.xml po/Makefile.in Build/Makefile icons/Makefile icons/png/Makefile icons/svg/Makefile"
18248
18249cat >confcache <<\_ACEOF
18250# This file is a shell script that caches the results of configure
18251# tests run on this system so they can be shared between configure
18252# scripts and configure runs, see configure's option --config-cache.
18253# It is not useful on other systems.  If it contains results you don't
18254# want to keep, you may remove or edit it.
18255#
18256# config.status only pays attention to the cache file if you give it
18257# the --recheck option to rerun configure.
18258#
18259# `ac_cv_env_foo' variables (set or unset) will be overridden when
18260# loading this file, other *unset* `ac_cv_foo' will be assigned the
18261# following values.
18262
18263_ACEOF
18264
18265# The following way of writing the cache mishandles newlines in values,
18266# but we know of no workaround that is simple, portable, and efficient.
18267# So, we kill variables containing newlines.
18268# Ultrix sh set writes to stderr and can't be redirected directly,
18269# and sets the high bit in the cache file unless we assign to the vars.
18270(
18271  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18272    eval ac_val=\$$ac_var
18273    case $ac_val in #(
18274    *${as_nl}*)
18275      case $ac_var in #(
18276      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18277$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18278      esac
18279      case $ac_var in #(
18280      _ | IFS | as_nl) ;; #(
18281      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18282      *) { eval $ac_var=; unset $ac_var;} ;;
18283      esac ;;
18284    esac
18285  done
18286
18287  (set) 2>&1 |
18288    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18289    *${as_nl}ac_space=\ *)
18290      # `set' does not quote correctly, so add quotes: double-quote
18291      # substitution turns \\\\ into \\, and sed turns \\ into \.
18292      sed -n \
18293	"s/'/'\\\\''/g;
18294	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18295      ;; #(
18296    *)
18297      # `set' quotes correctly as required by POSIX, so do not add quotes.
18298      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18299      ;;
18300    esac |
18301    sort
18302) |
18303  sed '
18304     /^ac_cv_env_/b end
18305     t clear
18306     :clear
18307     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18308     t end
18309     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18310     :end' >>confcache
18311if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18312  if test -w "$cache_file"; then
18313    if test "x$cache_file" != "x/dev/null"; then
18314      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18315$as_echo "$as_me: updating cache $cache_file" >&6;}
18316      if test ! -f "$cache_file" || test -h "$cache_file"; then
18317	cat confcache >"$cache_file"
18318      else
18319        case $cache_file in #(
18320        */* | ?:*)
18321	  mv -f confcache "$cache_file"$$ &&
18322	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18323        *)
18324	  mv -f confcache "$cache_file" ;;
18325	esac
18326      fi
18327    fi
18328  else
18329    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18330$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18331  fi
18332fi
18333rm -f confcache
18334
18335test "x$prefix" = xNONE && prefix=$ac_default_prefix
18336# Let make expand exec_prefix.
18337test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18338
18339DEFS=-DHAVE_CONFIG_H
18340
18341ac_libobjs=
18342ac_ltlibobjs=
18343U=
18344for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18345  # 1. Remove the extension, and $U if already installed.
18346  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18347  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18348  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18349  #    will be set to the directory where LIBOBJS objects are built.
18350  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18351  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18352done
18353LIBOBJS=$ac_libobjs
18354
18355LTLIBOBJS=$ac_ltlibobjs
18356
18357
18358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18359$as_echo_n "checking that generated files are newer than configure... " >&6; }
18360   if test -n "$am_sleep_pid"; then
18361     # Hide warnings about reused PIDs.
18362     wait $am_sleep_pid 2>/dev/null
18363   fi
18364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18365$as_echo "done" >&6; }
18366if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18367  as_fn_error $? "conditional \"AMDEP\" was never defined.
18368Usually this means the macro was only invoked conditionally." "$LINENO" 5
18369fi
18370if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18371  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18372Usually this means the macro was only invoked conditionally." "$LINENO" 5
18373fi
18374 if test -n "$EXEEXT"; then
18375  am__EXEEXT_TRUE=
18376  am__EXEEXT_FALSE='#'
18377else
18378  am__EXEEXT_TRUE='#'
18379  am__EXEEXT_FALSE=
18380fi
18381
18382if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18383  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18384Usually this means the macro was only invoked conditionally." "$LINENO" 5
18385fi
18386
18387  ac_config_commands="$ac_config_commands po/stamp-it"
18388
18389
18390
18391if test -z "${WANT_FREEBSD_TRUE}" && test -z "${WANT_FREEBSD_FALSE}"; then
18392  as_fn_error $? "conditional \"WANT_FREEBSD\" was never defined.
18393Usually this means the macro was only invoked conditionally." "$LINENO" 5
18394fi
18395if test -z "${ONLY_LINUX_TRUE}" && test -z "${ONLY_LINUX_FALSE}"; then
18396  as_fn_error $? "conditional \"ONLY_LINUX\" was never defined.
18397Usually this means the macro was only invoked conditionally." "$LINENO" 5
18398fi
18399if test -z "${WANT_GENTOO_TRUE}" && test -z "${WANT_GENTOO_FALSE}"; then
18400  as_fn_error $? "conditional \"WANT_GENTOO\" was never defined.
18401Usually this means the macro was only invoked conditionally." "$LINENO" 5
18402fi
18403if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
18404  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
18405Usually this means the macro was only invoked conditionally." "$LINENO" 5
18406fi
18407if test -z "${WANT_NFS_P_TRUE}" && test -z "${WANT_NFS_P_FALSE}"; then
18408  as_fn_error $? "conditional \"WANT_NFS_P\" was never defined.
18409Usually this means the macro was only invoked conditionally." "$LINENO" 5
18410fi
18411if test -z "${WANT_SSHFS_P_TRUE}" && test -z "${WANT_SSHFS_P_FALSE}"; then
18412  as_fn_error $? "conditional \"WANT_SSHFS_P\" was never defined.
18413Usually this means the macro was only invoked conditionally." "$LINENO" 5
18414fi
18415if test -z "${WANT_OBEX_P_TRUE}" && test -z "${WANT_OBEX_P_FALSE}"; then
18416  as_fn_error $? "conditional \"WANT_OBEX_P\" was never defined.
18417Usually this means the macro was only invoked conditionally." "$LINENO" 5
18418fi
18419if test -z "${WANT_FTP_P_TRUE}" && test -z "${WANT_FTP_P_FALSE}"; then
18420  as_fn_error $? "conditional \"WANT_FTP_P\" was never defined.
18421Usually this means the macro was only invoked conditionally." "$LINENO" 5
18422fi
18423if test -z "${WANT_ECRYPTFS_P_TRUE}" && test -z "${WANT_ECRYPTFS_P_FALSE}"; then
18424  as_fn_error $? "conditional \"WANT_ECRYPTFS_P\" was never defined.
18425Usually this means the macro was only invoked conditionally." "$LINENO" 5
18426fi
18427if test -z "${WANT_OBEX_P_TRUE}" && test -z "${WANT_OBEX_P_FALSE}"; then
18428  as_fn_error $? "conditional \"WANT_OBEX_P\" was never defined.
18429Usually this means the macro was only invoked conditionally." "$LINENO" 5
18430fi
18431if test -z "${WANT_FTP_P_TRUE}" && test -z "${WANT_FTP_P_FALSE}"; then
18432  as_fn_error $? "conditional \"WANT_FTP_P\" was never defined.
18433Usually this means the macro was only invoked conditionally." "$LINENO" 5
18434fi
18435if test -z "${WANT_ECRYPTFS_P_TRUE}" && test -z "${WANT_ECRYPTFS_P_FALSE}"; then
18436  as_fn_error $? "conditional \"WANT_ECRYPTFS_P\" was never defined.
18437Usually this means the macro was only invoked conditionally." "$LINENO" 5
18438fi
18439if test -z "${WANT_CIFS_P_TRUE}" && test -z "${WANT_CIFS_P_FALSE}"; then
18440  as_fn_error $? "conditional \"WANT_CIFS_P\" was never defined.
18441Usually this means the macro was only invoked conditionally." "$LINENO" 5
18442fi
18443if test -z "${HAVE_UNIX_O_RSS_TRUE}" && test -z "${HAVE_UNIX_O_RSS_FALSE}"; then
18444  as_fn_error $? "conditional \"HAVE_UNIX_O_RSS\" was never defined.
18445Usually this means the macro was only invoked conditionally." "$LINENO" 5
18446fi
18447if test -z "${HAVE_UNIX_JH_TRUE}" && test -z "${HAVE_UNIX_JH_FALSE}"; then
18448  as_fn_error $? "conditional \"HAVE_UNIX_JH\" was never defined.
18449Usually this means the macro was only invoked conditionally." "$LINENO" 5
18450fi
18451if test -z "${HAVE_UNIX_LY_TRUE}" && test -z "${HAVE_UNIX_LY_FALSE}"; then
18452  as_fn_error $? "conditional \"HAVE_UNIX_LY\" was never defined.
18453Usually this means the macro was only invoked conditionally." "$LINENO" 5
18454fi
18455if test -z "${HAVE_UNIX_EF_TRUE}" && test -z "${HAVE_UNIX_EF_FALSE}"; then
18456  as_fn_error $? "conditional \"HAVE_UNIX_EF\" was never defined.
18457Usually this means the macro was only invoked conditionally." "$LINENO" 5
18458fi
18459if test -z "${HAVE_UNIX_O_TRUE}" && test -z "${HAVE_UNIX_O_FALSE}"; then
18460  as_fn_error $? "conditional \"HAVE_UNIX_O\" was never defined.
18461Usually this means the macro was only invoked conditionally." "$LINENO" 5
18462fi
18463if test -z "${HAVE_UNIX_W_TRUE}" && test -z "${HAVE_UNIX_W_FALSE}"; then
18464  as_fn_error $? "conditional \"HAVE_UNIX_W\" was never defined.
18465Usually this means the macro was only invoked conditionally." "$LINENO" 5
18466fi
18467if test -z "${HAVE_BSD_XF_TRUE}" && test -z "${HAVE_BSD_XF_FALSE}"; then
18468  as_fn_error $? "conditional \"HAVE_BSD_XF\" was never defined.
18469Usually this means the macro was only invoked conditionally." "$LINENO" 5
18470fi
18471if test -z "${HAVE_BSD_L_TRUE}" && test -z "${HAVE_BSD_L_FALSE}"; then
18472  as_fn_error $? "conditional \"HAVE_BSD_L\" was never defined.
18473Usually this means the macro was only invoked conditionally." "$LINENO" 5
18474fi
18475if test -z "${HAVE_BSD_AUX_TRUE}" && test -z "${HAVE_BSD_AUX_FALSE}"; then
18476  as_fn_error $? "conditional \"HAVE_BSD_AUX\" was never defined.
18477Usually this means the macro was only invoked conditionally." "$LINENO" 5
18478fi
18479if test -z "${HAVE_BSD_O_TRUE}" && test -z "${HAVE_BSD_O_FALSE}"; then
18480  as_fn_error $? "conditional \"HAVE_BSD_O\" was never defined.
18481Usually this means the macro was only invoked conditionally." "$LINENO" 5
18482fi
18483if test -z "${HAVE_BSD_W_TRUE}" && test -z "${HAVE_BSD_W_FALSE}"; then
18484  as_fn_error $? "conditional \"HAVE_BSD_W\" was never defined.
18485Usually this means the macro was only invoked conditionally." "$LINENO" 5
18486fi
18487if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
18488  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
18489Usually this means the macro was only invoked conditionally." "$LINENO" 5
18490fi
18491
18492: "${CONFIG_STATUS=./config.status}"
18493ac_write_fail=0
18494ac_clean_files_save=$ac_clean_files
18495ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18496{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18497$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18498as_write_fail=0
18499cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18500#! $SHELL
18501# Generated by $as_me.
18502# Run this file to recreate the current configuration.
18503# Compiler output produced by configure, useful for debugging
18504# configure, is in config.log if it exists.
18505
18506debug=false
18507ac_cs_recheck=false
18508ac_cs_silent=false
18509
18510SHELL=\${CONFIG_SHELL-$SHELL}
18511export SHELL
18512_ASEOF
18513cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18514## -------------------- ##
18515## M4sh Initialization. ##
18516## -------------------- ##
18517
18518# Be more Bourne compatible
18519DUALCASE=1; export DUALCASE # for MKS sh
18520if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18521  emulate sh
18522  NULLCMD=:
18523  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18524  # is contrary to our usage.  Disable this feature.
18525  alias -g '${1+"$@"}'='"$@"'
18526  setopt NO_GLOB_SUBST
18527else
18528  case `(set -o) 2>/dev/null` in #(
18529  *posix*) :
18530    set -o posix ;; #(
18531  *) :
18532     ;;
18533esac
18534fi
18535
18536
18537as_nl='
18538'
18539export as_nl
18540# Printing a long string crashes Solaris 7 /usr/bin/printf.
18541as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18542as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18543as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18544# Prefer a ksh shell builtin over an external printf program on Solaris,
18545# but without wasting forks for bash or zsh.
18546if test -z "$BASH_VERSION$ZSH_VERSION" \
18547    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18548  as_echo='print -r --'
18549  as_echo_n='print -rn --'
18550elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18551  as_echo='printf %s\n'
18552  as_echo_n='printf %s'
18553else
18554  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18555    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18556    as_echo_n='/usr/ucb/echo -n'
18557  else
18558    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18559    as_echo_n_body='eval
18560      arg=$1;
18561      case $arg in #(
18562      *"$as_nl"*)
18563	expr "X$arg" : "X\\(.*\\)$as_nl";
18564	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18565      esac;
18566      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18567    '
18568    export as_echo_n_body
18569    as_echo_n='sh -c $as_echo_n_body as_echo'
18570  fi
18571  export as_echo_body
18572  as_echo='sh -c $as_echo_body as_echo'
18573fi
18574
18575# The user is always right.
18576if test "${PATH_SEPARATOR+set}" != set; then
18577  PATH_SEPARATOR=:
18578  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18579    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18580      PATH_SEPARATOR=';'
18581  }
18582fi
18583
18584
18585# IFS
18586# We need space, tab and new line, in precisely that order.  Quoting is
18587# there to prevent editors from complaining about space-tab.
18588# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18589# splitting by setting IFS to empty value.)
18590IFS=" ""	$as_nl"
18591
18592# Find who we are.  Look in the path if we contain no directory separator.
18593as_myself=
18594case $0 in #((
18595  *[\\/]* ) as_myself=$0 ;;
18596  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18597for as_dir in $PATH
18598do
18599  IFS=$as_save_IFS
18600  test -z "$as_dir" && as_dir=.
18601    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18602  done
18603IFS=$as_save_IFS
18604
18605     ;;
18606esac
18607# We did not find ourselves, most probably we were run as `sh COMMAND'
18608# in which case we are not to be found in the path.
18609if test "x$as_myself" = x; then
18610  as_myself=$0
18611fi
18612if test ! -f "$as_myself"; then
18613  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18614  exit 1
18615fi
18616
18617# Unset variables that we do not need and which cause bugs (e.g. in
18618# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18619# suppresses any "Segmentation fault" message there.  '((' could
18620# trigger a bug in pdksh 5.2.14.
18621for as_var in BASH_ENV ENV MAIL MAILPATH
18622do eval test x\${$as_var+set} = xset \
18623  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18624done
18625PS1='$ '
18626PS2='> '
18627PS4='+ '
18628
18629# NLS nuisances.
18630LC_ALL=C
18631export LC_ALL
18632LANGUAGE=C
18633export LANGUAGE
18634
18635# CDPATH.
18636(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18637
18638
18639# as_fn_error STATUS ERROR [LINENO LOG_FD]
18640# ----------------------------------------
18641# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18642# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18643# script with STATUS, using 1 if that was 0.
18644as_fn_error ()
18645{
18646  as_status=$1; test $as_status -eq 0 && as_status=1
18647  if test "$4"; then
18648    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18649    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18650  fi
18651  $as_echo "$as_me: error: $2" >&2
18652  as_fn_exit $as_status
18653} # as_fn_error
18654
18655
18656# as_fn_set_status STATUS
18657# -----------------------
18658# Set $? to STATUS, without forking.
18659as_fn_set_status ()
18660{
18661  return $1
18662} # as_fn_set_status
18663
18664# as_fn_exit STATUS
18665# -----------------
18666# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18667as_fn_exit ()
18668{
18669  set +e
18670  as_fn_set_status $1
18671  exit $1
18672} # as_fn_exit
18673
18674# as_fn_unset VAR
18675# ---------------
18676# Portably unset VAR.
18677as_fn_unset ()
18678{
18679  { eval $1=; unset $1;}
18680}
18681as_unset=as_fn_unset
18682# as_fn_append VAR VALUE
18683# ----------------------
18684# Append the text in VALUE to the end of the definition contained in VAR. Take
18685# advantage of any shell optimizations that allow amortized linear growth over
18686# repeated appends, instead of the typical quadratic growth present in naive
18687# implementations.
18688if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18689  eval 'as_fn_append ()
18690  {
18691    eval $1+=\$2
18692  }'
18693else
18694  as_fn_append ()
18695  {
18696    eval $1=\$$1\$2
18697  }
18698fi # as_fn_append
18699
18700# as_fn_arith ARG...
18701# ------------------
18702# Perform arithmetic evaluation on the ARGs, and store the result in the
18703# global $as_val. Take advantage of shells that can avoid forks. The arguments
18704# must be portable across $(()) and expr.
18705if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18706  eval 'as_fn_arith ()
18707  {
18708    as_val=$(( $* ))
18709  }'
18710else
18711  as_fn_arith ()
18712  {
18713    as_val=`expr "$@" || test $? -eq 1`
18714  }
18715fi # as_fn_arith
18716
18717
18718if expr a : '\(a\)' >/dev/null 2>&1 &&
18719   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18720  as_expr=expr
18721else
18722  as_expr=false
18723fi
18724
18725if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18726  as_basename=basename
18727else
18728  as_basename=false
18729fi
18730
18731if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18732  as_dirname=dirname
18733else
18734  as_dirname=false
18735fi
18736
18737as_me=`$as_basename -- "$0" ||
18738$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18739	 X"$0" : 'X\(//\)$' \| \
18740	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18741$as_echo X/"$0" |
18742    sed '/^.*\/\([^/][^/]*\)\/*$/{
18743	    s//\1/
18744	    q
18745	  }
18746	  /^X\/\(\/\/\)$/{
18747	    s//\1/
18748	    q
18749	  }
18750	  /^X\/\(\/\).*/{
18751	    s//\1/
18752	    q
18753	  }
18754	  s/.*/./; q'`
18755
18756# Avoid depending upon Character Ranges.
18757as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18758as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18759as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18760as_cr_digits='0123456789'
18761as_cr_alnum=$as_cr_Letters$as_cr_digits
18762
18763ECHO_C= ECHO_N= ECHO_T=
18764case `echo -n x` in #(((((
18765-n*)
18766  case `echo 'xy\c'` in
18767  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18768  xy)  ECHO_C='\c';;
18769  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18770       ECHO_T='	';;
18771  esac;;
18772*)
18773  ECHO_N='-n';;
18774esac
18775
18776rm -f conf$$ conf$$.exe conf$$.file
18777if test -d conf$$.dir; then
18778  rm -f conf$$.dir/conf$$.file
18779else
18780  rm -f conf$$.dir
18781  mkdir conf$$.dir 2>/dev/null
18782fi
18783if (echo >conf$$.file) 2>/dev/null; then
18784  if ln -s conf$$.file conf$$ 2>/dev/null; then
18785    as_ln_s='ln -s'
18786    # ... but there are two gotchas:
18787    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18788    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18789    # In both cases, we have to default to `cp -pR'.
18790    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18791      as_ln_s='cp -pR'
18792  elif ln conf$$.file conf$$ 2>/dev/null; then
18793    as_ln_s=ln
18794  else
18795    as_ln_s='cp -pR'
18796  fi
18797else
18798  as_ln_s='cp -pR'
18799fi
18800rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18801rmdir conf$$.dir 2>/dev/null
18802
18803
18804# as_fn_mkdir_p
18805# -------------
18806# Create "$as_dir" as a directory, including parents if necessary.
18807as_fn_mkdir_p ()
18808{
18809
18810  case $as_dir in #(
18811  -*) as_dir=./$as_dir;;
18812  esac
18813  test -d "$as_dir" || eval $as_mkdir_p || {
18814    as_dirs=
18815    while :; do
18816      case $as_dir in #(
18817      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18818      *) as_qdir=$as_dir;;
18819      esac
18820      as_dirs="'$as_qdir' $as_dirs"
18821      as_dir=`$as_dirname -- "$as_dir" ||
18822$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18823	 X"$as_dir" : 'X\(//\)[^/]' \| \
18824	 X"$as_dir" : 'X\(//\)$' \| \
18825	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18826$as_echo X"$as_dir" |
18827    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18828	    s//\1/
18829	    q
18830	  }
18831	  /^X\(\/\/\)[^/].*/{
18832	    s//\1/
18833	    q
18834	  }
18835	  /^X\(\/\/\)$/{
18836	    s//\1/
18837	    q
18838	  }
18839	  /^X\(\/\).*/{
18840	    s//\1/
18841	    q
18842	  }
18843	  s/.*/./; q'`
18844      test -d "$as_dir" && break
18845    done
18846    test -z "$as_dirs" || eval "mkdir $as_dirs"
18847  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18848
18849
18850} # as_fn_mkdir_p
18851if mkdir -p . 2>/dev/null; then
18852  as_mkdir_p='mkdir -p "$as_dir"'
18853else
18854  test -d ./-p && rmdir ./-p
18855  as_mkdir_p=false
18856fi
18857
18858
18859# as_fn_executable_p FILE
18860# -----------------------
18861# Test if FILE is an executable regular file.
18862as_fn_executable_p ()
18863{
18864  test -f "$1" && test -x "$1"
18865} # as_fn_executable_p
18866as_test_x='test -x'
18867as_executable_p=as_fn_executable_p
18868
18869# Sed expression to map a string onto a valid CPP name.
18870as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18871
18872# Sed expression to map a string onto a valid variable name.
18873as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18874
18875
18876exec 6>&1
18877## ----------------------------------- ##
18878## Main body of $CONFIG_STATUS script. ##
18879## ----------------------------------- ##
18880_ASEOF
18881test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18882
18883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18884# Save the log message, to keep $0 and so on meaningful, and to
18885# report actual input values of CONFIG_FILES etc. instead of their
18886# values after options handling.
18887ac_log="
18888This file was extended by rodent-fuse $as_me 5.3.16.3, which was
18889generated by GNU Autoconf 2.69.  Invocation command line was
18890
18891  CONFIG_FILES    = $CONFIG_FILES
18892  CONFIG_HEADERS  = $CONFIG_HEADERS
18893  CONFIG_LINKS    = $CONFIG_LINKS
18894  CONFIG_COMMANDS = $CONFIG_COMMANDS
18895  $ $0 $@
18896
18897on `(hostname || uname -n) 2>/dev/null | sed 1q`
18898"
18899
18900_ACEOF
18901
18902case $ac_config_files in *"
18903"*) set x $ac_config_files; shift; ac_config_files=$*;;
18904esac
18905
18906case $ac_config_headers in *"
18907"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18908esac
18909
18910
18911cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18912# Files that config.status was made for.
18913config_files="$ac_config_files"
18914config_headers="$ac_config_headers"
18915config_commands="$ac_config_commands"
18916
18917_ACEOF
18918
18919cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18920ac_cs_usage="\
18921\`$as_me' instantiates files and other configuration actions
18922from templates according to the current configuration.  Unless the files
18923and actions are specified as TAGs, all are instantiated by default.
18924
18925Usage: $0 [OPTION]... [TAG]...
18926
18927  -h, --help       print this help, then exit
18928  -V, --version    print version number and configuration settings, then exit
18929      --config     print configuration, then exit
18930  -q, --quiet, --silent
18931                   do not print progress messages
18932  -d, --debug      don't remove temporary files
18933      --recheck    update $as_me by reconfiguring in the same conditions
18934      --file=FILE[:TEMPLATE]
18935                   instantiate the configuration file FILE
18936      --header=FILE[:TEMPLATE]
18937                   instantiate the configuration header FILE
18938
18939Configuration files:
18940$config_files
18941
18942Configuration headers:
18943$config_headers
18944
18945Configuration commands:
18946$config_commands
18947
18948Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-fuse/>.
18949rodent-fuse home page: <"http://xffm.org">."
18950
18951_ACEOF
18952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18953ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18954ac_cs_version="\\
18955rodent-fuse config.status 5.3.16.3
18956configured by $0, generated by GNU Autoconf 2.69,
18957  with options \\"\$ac_cs_config\\"
18958
18959Copyright (C) 2012 Free Software Foundation, Inc.
18960This config.status script is free software; the Free Software Foundation
18961gives unlimited permission to copy, distribute and modify it."
18962
18963ac_pwd='$ac_pwd'
18964srcdir='$srcdir'
18965INSTALL='$INSTALL'
18966MKDIR_P='$MKDIR_P'
18967AWK='$AWK'
18968test -n "\$AWK" || AWK=awk
18969_ACEOF
18970
18971cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18972# The default lists apply if the user does not specify any file.
18973ac_need_defaults=:
18974while test $# != 0
18975do
18976  case $1 in
18977  --*=?*)
18978    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18979    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18980    ac_shift=:
18981    ;;
18982  --*=)
18983    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18984    ac_optarg=
18985    ac_shift=:
18986    ;;
18987  *)
18988    ac_option=$1
18989    ac_optarg=$2
18990    ac_shift=shift
18991    ;;
18992  esac
18993
18994  case $ac_option in
18995  # Handling of the options.
18996  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18997    ac_cs_recheck=: ;;
18998  --version | --versio | --versi | --5.3.16.3 | --ver | --ve | --v | -V )
18999    $as_echo "$ac_cs_version"; exit ;;
19000  --config | --confi | --conf | --con | --co | --c )
19001    $as_echo "$ac_cs_config"; exit ;;
19002  --debug | --debu | --deb | --de | --d | -d )
19003    debug=: ;;
19004  --file | --fil | --fi | --f )
19005    $ac_shift
19006    case $ac_optarg in
19007    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19008    '') as_fn_error $? "missing file argument" ;;
19009    esac
19010    as_fn_append CONFIG_FILES " '$ac_optarg'"
19011    ac_need_defaults=false;;
19012  --header | --heade | --head | --hea )
19013    $ac_shift
19014    case $ac_optarg in
19015    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19016    esac
19017    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19018    ac_need_defaults=false;;
19019  --he | --h)
19020    # Conflict between --help and --header
19021    as_fn_error $? "ambiguous option: \`$1'
19022Try \`$0 --help' for more information.";;
19023  --help | --hel | -h )
19024    $as_echo "$ac_cs_usage"; exit ;;
19025  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19026  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19027    ac_cs_silent=: ;;
19028
19029  # This is an error.
19030  -*) as_fn_error $? "unrecognized option: \`$1'
19031Try \`$0 --help' for more information." ;;
19032
19033  *) as_fn_append ac_config_targets " $1"
19034     ac_need_defaults=false ;;
19035
19036  esac
19037  shift
19038done
19039
19040ac_configure_extra_args=
19041
19042if $ac_cs_silent; then
19043  exec 6>/dev/null
19044  ac_configure_extra_args="$ac_configure_extra_args --silent"
19045fi
19046
19047_ACEOF
19048cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19049if \$ac_cs_recheck; then
19050  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19051  shift
19052  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19053  CONFIG_SHELL='$SHELL'
19054  export CONFIG_SHELL
19055  exec "\$@"
19056fi
19057
19058_ACEOF
19059cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19060exec 5>>config.log
19061{
19062  echo
19063  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19064## Running $as_me. ##
19065_ASBOX
19066  $as_echo "$ac_log"
19067} >&5
19068
19069_ACEOF
19070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19071#
19072# INIT-COMMANDS
19073#
19074
19075
19076# The HP-UX ksh and POSIX shell print the target directory to stdout
19077# if CDPATH is set.
19078(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19079
19080sed_quote_subst='$sed_quote_subst'
19081double_quote_subst='$double_quote_subst'
19082delay_variable_subst='$delay_variable_subst'
19083macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19084macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19085enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19086enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19087pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19088enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19089shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19090SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19091ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19092PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19093host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19094host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19095host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19096build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19097build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19098build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19099SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19100Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19101GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19102EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19103FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19104LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19105NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19106LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19107max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19108ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19109exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19110lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19111lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19112lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19113lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19114lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19115reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19116reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19117OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19118deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19119file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19120file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19121want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19122DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19123sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19124AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19125AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19126archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19127STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19128RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19129old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19130old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19131old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19132lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19133CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19134CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19135compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19136GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19137lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19138lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19139lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19140lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19141lt_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"`'
19142lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19143nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19144lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19145lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19146objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19147MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19148lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19149lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19150lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19151lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19152lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19153need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19154MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19155DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19156NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19157LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19158OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19159OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19160libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19161shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19162extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19163archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19164enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19165export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19166whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19167compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19168old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19169old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19170archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19171archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19172module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19173module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19174with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19175allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19176no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19177hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19178hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19179hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19180hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19181hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19182hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19183hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19184inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19185link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19186always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19187export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19188exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19189include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19190prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19191postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19192file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19193variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19194need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19195need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19196version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19197runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19198shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19199shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19200libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19201library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19202soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19203install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19204postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19205postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19206finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19207finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19208hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19209sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19210configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19211configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19212hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19213enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19214enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19215enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19216old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19217striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19218
19219LTCC='$LTCC'
19220LTCFLAGS='$LTCFLAGS'
19221compiler='$compiler_DEFAULT'
19222
19223# A function that is used when there is no print builtin or printf.
19224func_fallback_echo ()
19225{
19226  eval 'cat <<_LTECHO_EOF
19227\$1
19228_LTECHO_EOF'
19229}
19230
19231# Quote evaled strings.
19232for var in SHELL \
19233ECHO \
19234PATH_SEPARATOR \
19235SED \
19236GREP \
19237EGREP \
19238FGREP \
19239LD \
19240NM \
19241LN_S \
19242lt_SP2NL \
19243lt_NL2SP \
19244reload_flag \
19245OBJDUMP \
19246deplibs_check_method \
19247file_magic_cmd \
19248file_magic_glob \
19249want_nocaseglob \
19250DLLTOOL \
19251sharedlib_from_linklib_cmd \
19252AR \
19253AR_FLAGS \
19254archiver_list_spec \
19255STRIP \
19256RANLIB \
19257CC \
19258CFLAGS \
19259compiler \
19260lt_cv_sys_global_symbol_pipe \
19261lt_cv_sys_global_symbol_to_cdecl \
19262lt_cv_sys_global_symbol_to_import \
19263lt_cv_sys_global_symbol_to_c_name_address \
19264lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19265lt_cv_nm_interface \
19266nm_file_list_spec \
19267lt_cv_truncate_bin \
19268lt_prog_compiler_no_builtin_flag \
19269lt_prog_compiler_pic \
19270lt_prog_compiler_wl \
19271lt_prog_compiler_static \
19272lt_cv_prog_compiler_c_o \
19273need_locks \
19274MANIFEST_TOOL \
19275DSYMUTIL \
19276NMEDIT \
19277LIPO \
19278OTOOL \
19279OTOOL64 \
19280shrext_cmds \
19281export_dynamic_flag_spec \
19282whole_archive_flag_spec \
19283compiler_needs_object \
19284with_gnu_ld \
19285allow_undefined_flag \
19286no_undefined_flag \
19287hardcode_libdir_flag_spec \
19288hardcode_libdir_separator \
19289exclude_expsyms \
19290include_expsyms \
19291file_list_spec \
19292variables_saved_for_relink \
19293libname_spec \
19294library_names_spec \
19295soname_spec \
19296install_override_mode \
19297finish_eval \
19298old_striplib \
19299striplib; do
19300    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19301    *[\\\\\\\`\\"\\\$]*)
19302      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19303      ;;
19304    *)
19305      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19306      ;;
19307    esac
19308done
19309
19310# Double-quote double-evaled strings.
19311for var in reload_cmds \
19312old_postinstall_cmds \
19313old_postuninstall_cmds \
19314old_archive_cmds \
19315extract_expsyms_cmds \
19316old_archive_from_new_cmds \
19317old_archive_from_expsyms_cmds \
19318archive_cmds \
19319archive_expsym_cmds \
19320module_cmds \
19321module_expsym_cmds \
19322export_symbols_cmds \
19323prelink_cmds \
19324postlink_cmds \
19325postinstall_cmds \
19326postuninstall_cmds \
19327finish_cmds \
19328sys_lib_search_path_spec \
19329configure_time_dlsearch_path \
19330configure_time_lt_sys_library_path; do
19331    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19332    *[\\\\\\\`\\"\\\$]*)
19333      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19334      ;;
19335    *)
19336      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19337      ;;
19338    esac
19339done
19340
19341ac_aux_dir='$ac_aux_dir'
19342
19343# See if we are running on zsh, and set the options that allow our
19344# commands through without removal of \ escapes INIT.
19345if test -n "\${ZSH_VERSION+set}"; then
19346   setopt NO_GLOB_SUBST
19347fi
19348
19349
19350    PACKAGE='$PACKAGE'
19351    VERSION='$VERSION'
19352    RM='$RM'
19353    ofile='$ofile'
19354
19355
19356
19357AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19358
19359
19360_ACEOF
19361
19362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19363
19364# Handling of arguments.
19365for ac_config_target in $ac_config_targets
19366do
19367  case $ac_config_target in
19368    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19369    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19370    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19371    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19372    "rodent-fuse.settings") CONFIG_FILES="$CONFIG_FILES rodent-fuse.settings" ;;
19373    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19374    "rodent-fuse.spec") CONFIG_FILES="$CONFIG_FILES rodent-fuse.spec" ;;
19375    "Rodent-fuse.desktop.in") CONFIG_FILES="$CONFIG_FILES Rodent-fuse.desktop.in" ;;
19376    "Rodent-fuse.appdata.xml") CONFIG_FILES="$CONFIG_FILES Rodent-fuse.appdata.xml" ;;
19377    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19378    "Build/Makefile") CONFIG_FILES="$CONFIG_FILES Build/Makefile" ;;
19379    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
19380    "icons/png/Makefile") CONFIG_FILES="$CONFIG_FILES icons/png/Makefile" ;;
19381    "icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES icons/svg/Makefile" ;;
19382    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19383
19384  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19385  esac
19386done
19387
19388
19389# If the user did not use the arguments to specify the items to instantiate,
19390# then the envvar interface is used.  Set only those that are not.
19391# We use the long form for the default assignment because of an extremely
19392# bizarre bug on SunOS 4.1.3.
19393if $ac_need_defaults; then
19394  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19395  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19396  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19397fi
19398
19399# Have a temporary directory for convenience.  Make it in the build tree
19400# simply because there is no reason against having it here, and in addition,
19401# creating and moving files from /tmp can sometimes cause problems.
19402# Hook for its removal unless debugging.
19403# Note that there is a small window in which the directory will not be cleaned:
19404# after its creation but before its name has been assigned to `$tmp'.
19405$debug ||
19406{
19407  tmp= ac_tmp=
19408  trap 'exit_status=$?
19409  : "${ac_tmp:=$tmp}"
19410  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19411' 0
19412  trap 'as_fn_exit 1' 1 2 13 15
19413}
19414# Create a (secure) tmp directory for tmp files.
19415
19416{
19417  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19418  test -d "$tmp"
19419}  ||
19420{
19421  tmp=./conf$$-$RANDOM
19422  (umask 077 && mkdir "$tmp")
19423} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19424ac_tmp=$tmp
19425
19426# Set up the scripts for CONFIG_FILES section.
19427# No need to generate them if there are no CONFIG_FILES.
19428# This happens for instance with `./config.status config.h'.
19429if test -n "$CONFIG_FILES"; then
19430
19431
19432ac_cr=`echo X | tr X '\015'`
19433# On cygwin, bash can eat \r inside `` if the user requested igncr.
19434# But we know of no other shell where ac_cr would be empty at this
19435# point, so we can use a bashism as a fallback.
19436if test "x$ac_cr" = x; then
19437  eval ac_cr=\$\'\\r\'
19438fi
19439ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19440if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19441  ac_cs_awk_cr='\\r'
19442else
19443  ac_cs_awk_cr=$ac_cr
19444fi
19445
19446echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19447_ACEOF
19448
19449
19450{
19451  echo "cat >conf$$subs.awk <<_ACEOF" &&
19452  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19453  echo "_ACEOF"
19454} >conf$$subs.sh ||
19455  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19456ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19457ac_delim='%!_!# '
19458for ac_last_try in false false false false false :; do
19459  . ./conf$$subs.sh ||
19460    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19461
19462  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19463  if test $ac_delim_n = $ac_delim_num; then
19464    break
19465  elif $ac_last_try; then
19466    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19467  else
19468    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19469  fi
19470done
19471rm -f conf$$subs.sh
19472
19473cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19474cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19475_ACEOF
19476sed -n '
19477h
19478s/^/S["/; s/!.*/"]=/
19479p
19480g
19481s/^[^!]*!//
19482:repl
19483t repl
19484s/'"$ac_delim"'$//
19485t delim
19486:nl
19487h
19488s/\(.\{148\}\)..*/\1/
19489t more1
19490s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19491p
19492n
19493b repl
19494:more1
19495s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19496p
19497g
19498s/.\{148\}//
19499t nl
19500:delim
19501h
19502s/\(.\{148\}\)..*/\1/
19503t more2
19504s/["\\]/\\&/g; s/^/"/; s/$/"/
19505p
19506b
19507:more2
19508s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19509p
19510g
19511s/.\{148\}//
19512t delim
19513' <conf$$subs.awk | sed '
19514/^[^""]/{
19515  N
19516  s/\n//
19517}
19518' >>$CONFIG_STATUS || ac_write_fail=1
19519rm -f conf$$subs.awk
19520cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19521_ACAWK
19522cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19523  for (key in S) S_is_set[key] = 1
19524  FS = ""
19525
19526}
19527{
19528  line = $ 0
19529  nfields = split(line, field, "@")
19530  substed = 0
19531  len = length(field[1])
19532  for (i = 2; i < nfields; i++) {
19533    key = field[i]
19534    keylen = length(key)
19535    if (S_is_set[key]) {
19536      value = S[key]
19537      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19538      len += length(value) + length(field[++i])
19539      substed = 1
19540    } else
19541      len += 1 + keylen
19542  }
19543
19544  print line
19545}
19546
19547_ACAWK
19548_ACEOF
19549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19550if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19551  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19552else
19553  cat
19554fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19555  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19556_ACEOF
19557
19558# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19559# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19560# trailing colons and then remove the whole line if VPATH becomes empty
19561# (actually we leave an empty line to preserve line numbers).
19562if test "x$srcdir" = x.; then
19563  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19564h
19565s///
19566s/^/:/
19567s/[	 ]*$/:/
19568s/:\$(srcdir):/:/g
19569s/:\${srcdir}:/:/g
19570s/:@srcdir@:/:/g
19571s/^:*//
19572s/:*$//
19573x
19574s/\(=[	 ]*\).*/\1/
19575G
19576s/\n//
19577s/^[^=]*=[	 ]*$//
19578}'
19579fi
19580
19581cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19582fi # test -n "$CONFIG_FILES"
19583
19584# Set up the scripts for CONFIG_HEADERS section.
19585# No need to generate them if there are no CONFIG_HEADERS.
19586# This happens for instance with `./config.status Makefile'.
19587if test -n "$CONFIG_HEADERS"; then
19588cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19589BEGIN {
19590_ACEOF
19591
19592# Transform confdefs.h into an awk script `defines.awk', embedded as
19593# here-document in config.status, that substitutes the proper values into
19594# config.h.in to produce config.h.
19595
19596# Create a delimiter string that does not exist in confdefs.h, to ease
19597# handling of long lines.
19598ac_delim='%!_!# '
19599for ac_last_try in false false :; do
19600  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19601  if test -z "$ac_tt"; then
19602    break
19603  elif $ac_last_try; then
19604    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19605  else
19606    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19607  fi
19608done
19609
19610# For the awk script, D is an array of macro values keyed by name,
19611# likewise P contains macro parameters if any.  Preserve backslash
19612# newline sequences.
19613
19614ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19615sed -n '
19616s/.\{148\}/&'"$ac_delim"'/g
19617t rset
19618:rset
19619s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19620t def
19621d
19622:def
19623s/\\$//
19624t bsnl
19625s/["\\]/\\&/g
19626s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19627D["\1"]=" \3"/p
19628s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19629d
19630:bsnl
19631s/["\\]/\\&/g
19632s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19633D["\1"]=" \3\\\\\\n"\\/p
19634t cont
19635s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19636t cont
19637d
19638:cont
19639n
19640s/.\{148\}/&'"$ac_delim"'/g
19641t clear
19642:clear
19643s/\\$//
19644t bsnlc
19645s/["\\]/\\&/g; s/^/"/; s/$/"/p
19646d
19647:bsnlc
19648s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19649b cont
19650' <confdefs.h | sed '
19651s/'"$ac_delim"'/"\\\
19652"/g' >>$CONFIG_STATUS || ac_write_fail=1
19653
19654cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19655  for (key in D) D_is_set[key] = 1
19656  FS = ""
19657}
19658/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19659  line = \$ 0
19660  split(line, arg, " ")
19661  if (arg[1] == "#") {
19662    defundef = arg[2]
19663    mac1 = arg[3]
19664  } else {
19665    defundef = substr(arg[1], 2)
19666    mac1 = arg[2]
19667  }
19668  split(mac1, mac2, "(") #)
19669  macro = mac2[1]
19670  prefix = substr(line, 1, index(line, defundef) - 1)
19671  if (D_is_set[macro]) {
19672    # Preserve the white space surrounding the "#".
19673    print prefix "define", macro P[macro] D[macro]
19674    next
19675  } else {
19676    # Replace #undef with comments.  This is necessary, for example,
19677    # in the case of _POSIX_SOURCE, which is predefined and required
19678    # on some systems where configure will not decide to define it.
19679    if (defundef == "undef") {
19680      print "/*", prefix defundef, macro, "*/"
19681      next
19682    }
19683  }
19684}
19685{ print }
19686_ACAWK
19687_ACEOF
19688cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19689  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19690fi # test -n "$CONFIG_HEADERS"
19691
19692
19693eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19694shift
19695for ac_tag
19696do
19697  case $ac_tag in
19698  :[FHLC]) ac_mode=$ac_tag; continue;;
19699  esac
19700  case $ac_mode$ac_tag in
19701  :[FHL]*:*);;
19702  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19703  :[FH]-) ac_tag=-:-;;
19704  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19705  esac
19706  ac_save_IFS=$IFS
19707  IFS=:
19708  set x $ac_tag
19709  IFS=$ac_save_IFS
19710  shift
19711  ac_file=$1
19712  shift
19713
19714  case $ac_mode in
19715  :L) ac_source=$1;;
19716  :[FH])
19717    ac_file_inputs=
19718    for ac_f
19719    do
19720      case $ac_f in
19721      -) ac_f="$ac_tmp/stdin";;
19722      *) # Look for the file first in the build tree, then in the source tree
19723	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19724	 # because $ac_f cannot contain `:'.
19725	 test -f "$ac_f" ||
19726	   case $ac_f in
19727	   [\\/$]*) false;;
19728	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19729	   esac ||
19730	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19731      esac
19732      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19733      as_fn_append ac_file_inputs " '$ac_f'"
19734    done
19735
19736    # Let's still pretend it is `configure' which instantiates (i.e., don't
19737    # use $as_me), people would be surprised to read:
19738    #    /* config.h.  Generated by config.status.  */
19739    configure_input='Generated from '`
19740	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19741	`' by configure.'
19742    if test x"$ac_file" != x-; then
19743      configure_input="$ac_file.  $configure_input"
19744      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19745$as_echo "$as_me: creating $ac_file" >&6;}
19746    fi
19747    # Neutralize special characters interpreted by sed in replacement strings.
19748    case $configure_input in #(
19749    *\&* | *\|* | *\\* )
19750       ac_sed_conf_input=`$as_echo "$configure_input" |
19751       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19752    *) ac_sed_conf_input=$configure_input;;
19753    esac
19754
19755    case $ac_tag in
19756    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19757      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19758    esac
19759    ;;
19760  esac
19761
19762  ac_dir=`$as_dirname -- "$ac_file" ||
19763$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19764	 X"$ac_file" : 'X\(//\)[^/]' \| \
19765	 X"$ac_file" : 'X\(//\)$' \| \
19766	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19767$as_echo X"$ac_file" |
19768    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19769	    s//\1/
19770	    q
19771	  }
19772	  /^X\(\/\/\)[^/].*/{
19773	    s//\1/
19774	    q
19775	  }
19776	  /^X\(\/\/\)$/{
19777	    s//\1/
19778	    q
19779	  }
19780	  /^X\(\/\).*/{
19781	    s//\1/
19782	    q
19783	  }
19784	  s/.*/./; q'`
19785  as_dir="$ac_dir"; as_fn_mkdir_p
19786  ac_builddir=.
19787
19788case "$ac_dir" in
19789.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19790*)
19791  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19792  # A ".." for each directory in $ac_dir_suffix.
19793  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19794  case $ac_top_builddir_sub in
19795  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19796  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19797  esac ;;
19798esac
19799ac_abs_top_builddir=$ac_pwd
19800ac_abs_builddir=$ac_pwd$ac_dir_suffix
19801# for backward compatibility:
19802ac_top_builddir=$ac_top_build_prefix
19803
19804case $srcdir in
19805  .)  # We are building in place.
19806    ac_srcdir=.
19807    ac_top_srcdir=$ac_top_builddir_sub
19808    ac_abs_top_srcdir=$ac_pwd ;;
19809  [\\/]* | ?:[\\/]* )  # Absolute name.
19810    ac_srcdir=$srcdir$ac_dir_suffix;
19811    ac_top_srcdir=$srcdir
19812    ac_abs_top_srcdir=$srcdir ;;
19813  *) # Relative name.
19814    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19815    ac_top_srcdir=$ac_top_build_prefix$srcdir
19816    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19817esac
19818ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19819
19820
19821  case $ac_mode in
19822  :F)
19823  #
19824  # CONFIG_FILE
19825  #
19826
19827  case $INSTALL in
19828  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19829  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19830  esac
19831  ac_MKDIR_P=$MKDIR_P
19832  case $MKDIR_P in
19833  [\\/$]* | ?:[\\/]* ) ;;
19834  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19835  esac
19836_ACEOF
19837
19838cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19839# If the template does not know about datarootdir, expand it.
19840# FIXME: This hack should be removed a few years after 2.60.
19841ac_datarootdir_hack=; ac_datarootdir_seen=
19842ac_sed_dataroot='
19843/datarootdir/ {
19844  p
19845  q
19846}
19847/@datadir@/p
19848/@docdir@/p
19849/@infodir@/p
19850/@localedir@/p
19851/@mandir@/p'
19852case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19853*datarootdir*) ac_datarootdir_seen=yes;;
19854*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19855  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19856$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19857_ACEOF
19858cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19859  ac_datarootdir_hack='
19860  s&@datadir@&$datadir&g
19861  s&@docdir@&$docdir&g
19862  s&@infodir@&$infodir&g
19863  s&@localedir@&$localedir&g
19864  s&@mandir@&$mandir&g
19865  s&\\\${datarootdir}&$datarootdir&g' ;;
19866esac
19867_ACEOF
19868
19869# Neutralize VPATH when `$srcdir' = `.'.
19870# Shell code in configure.ac might set extrasub.
19871# FIXME: do we really want to maintain this feature?
19872cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19873ac_sed_extra="$ac_vpsub
19874$extrasub
19875_ACEOF
19876cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19877:t
19878/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19879s|@configure_input@|$ac_sed_conf_input|;t t
19880s&@top_builddir@&$ac_top_builddir_sub&;t t
19881s&@top_build_prefix@&$ac_top_build_prefix&;t t
19882s&@srcdir@&$ac_srcdir&;t t
19883s&@abs_srcdir@&$ac_abs_srcdir&;t t
19884s&@top_srcdir@&$ac_top_srcdir&;t t
19885s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19886s&@builddir@&$ac_builddir&;t t
19887s&@abs_builddir@&$ac_abs_builddir&;t t
19888s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19889s&@INSTALL@&$ac_INSTALL&;t t
19890s&@MKDIR_P@&$ac_MKDIR_P&;t t
19891$ac_datarootdir_hack
19892"
19893eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19894  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19895
19896test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19897  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19898  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19899      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19900  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19901which seems to be undefined.  Please make sure it is defined" >&5
19902$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19903which seems to be undefined.  Please make sure it is defined" >&2;}
19904
19905  rm -f "$ac_tmp/stdin"
19906  case $ac_file in
19907  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19908  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19909  esac \
19910  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19911 ;;
19912  :H)
19913  #
19914  # CONFIG_HEADER
19915  #
19916  if test x"$ac_file" != x-; then
19917    {
19918      $as_echo "/* $configure_input  */" \
19919      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19920    } >"$ac_tmp/config.h" \
19921      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19922    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19923      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19924$as_echo "$as_me: $ac_file is unchanged" >&6;}
19925    else
19926      rm -f "$ac_file"
19927      mv "$ac_tmp/config.h" "$ac_file" \
19928	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19929    fi
19930  else
19931    $as_echo "/* $configure_input  */" \
19932      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19933      || as_fn_error $? "could not create -" "$LINENO" 5
19934  fi
19935# Compute "$ac_file"'s index in $config_headers.
19936_am_arg="$ac_file"
19937_am_stamp_count=1
19938for _am_header in $config_headers :; do
19939  case $_am_header in
19940    $_am_arg | $_am_arg:* )
19941      break ;;
19942    * )
19943      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19944  esac
19945done
19946echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19947$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19948	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19949	 X"$_am_arg" : 'X\(//\)$' \| \
19950	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19951$as_echo X"$_am_arg" |
19952    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19953	    s//\1/
19954	    q
19955	  }
19956	  /^X\(\/\/\)[^/].*/{
19957	    s//\1/
19958	    q
19959	  }
19960	  /^X\(\/\/\)$/{
19961	    s//\1/
19962	    q
19963	  }
19964	  /^X\(\/\).*/{
19965	    s//\1/
19966	    q
19967	  }
19968	  s/.*/./; q'`/stamp-h$_am_stamp_count
19969 ;;
19970
19971  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19972$as_echo "$as_me: executing $ac_file commands" >&6;}
19973 ;;
19974  esac
19975
19976
19977  case $ac_file$ac_mode in
19978    "libtool":C)
19979
19980    # See if we are running on zsh, and set the options that allow our
19981    # commands through without removal of \ escapes.
19982    if test -n "${ZSH_VERSION+set}"; then
19983      setopt NO_GLOB_SUBST
19984    fi
19985
19986    cfgfile=${ofile}T
19987    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19988    $RM "$cfgfile"
19989
19990    cat <<_LT_EOF >> "$cfgfile"
19991#! $SHELL
19992# Generated automatically by $as_me ($PACKAGE) $VERSION
19993# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19994# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19995
19996# Provide generalized library-building support services.
19997# Written by Gordon Matzigkeit, 1996
19998
19999# Copyright (C) 2014 Free Software Foundation, Inc.
20000# This is free software; see the source for copying conditions.  There is NO
20001# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20002
20003# GNU Libtool is free software; you can redistribute it and/or modify
20004# it under the terms of the GNU General Public License as published by
20005# the Free Software Foundation; either version 2 of of the License, or
20006# (at your option) any later version.
20007#
20008# As a special exception to the GNU General Public License, if you
20009# distribute this file as part of a program or library that is built
20010# using GNU Libtool, you may include this file under the  same
20011# distribution terms that you use for the rest of that program.
20012#
20013# GNU Libtool is distributed in the hope that it will be useful, but
20014# WITHOUT ANY WARRANTY; without even the implied warranty of
20015# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20016# GNU General Public License for more details.
20017#
20018# You should have received a copy of the GNU General Public License
20019# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20020
20021
20022# The names of the tagged configurations supported by this script.
20023available_tags=''
20024
20025# Configured defaults for sys_lib_dlsearch_path munging.
20026: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20027
20028# ### BEGIN LIBTOOL CONFIG
20029
20030# Which release of libtool.m4 was used?
20031macro_version=$macro_version
20032macro_revision=$macro_revision
20033
20034# Whether or not to build static libraries.
20035build_old_libs=$enable_static
20036
20037# Whether or not to build shared libraries.
20038build_libtool_libs=$enable_shared
20039
20040# What type of objects to build.
20041pic_mode=$pic_mode
20042
20043# Whether or not to optimize for fast installation.
20044fast_install=$enable_fast_install
20045
20046# Shared archive member basename,for filename based shared library versioning on AIX.
20047shared_archive_member_spec=$shared_archive_member_spec
20048
20049# Shell to use when invoking shell scripts.
20050SHELL=$lt_SHELL
20051
20052# An echo program that protects backslashes.
20053ECHO=$lt_ECHO
20054
20055# The PATH separator for the build system.
20056PATH_SEPARATOR=$lt_PATH_SEPARATOR
20057
20058# The host system.
20059host_alias=$host_alias
20060host=$host
20061host_os=$host_os
20062
20063# The build system.
20064build_alias=$build_alias
20065build=$build
20066build_os=$build_os
20067
20068# A sed program that does not truncate output.
20069SED=$lt_SED
20070
20071# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20072Xsed="\$SED -e 1s/^X//"
20073
20074# A grep program that handles long lines.
20075GREP=$lt_GREP
20076
20077# An ERE matcher.
20078EGREP=$lt_EGREP
20079
20080# A literal string matcher.
20081FGREP=$lt_FGREP
20082
20083# A BSD- or MS-compatible name lister.
20084NM=$lt_NM
20085
20086# Whether we need soft or hard links.
20087LN_S=$lt_LN_S
20088
20089# What is the maximum length of a command?
20090max_cmd_len=$max_cmd_len
20091
20092# Object file suffix (normally "o").
20093objext=$ac_objext
20094
20095# Executable file suffix (normally "").
20096exeext=$exeext
20097
20098# whether the shell understands "unset".
20099lt_unset=$lt_unset
20100
20101# turn spaces into newlines.
20102SP2NL=$lt_lt_SP2NL
20103
20104# turn newlines into spaces.
20105NL2SP=$lt_lt_NL2SP
20106
20107# convert \$build file names to \$host format.
20108to_host_file_cmd=$lt_cv_to_host_file_cmd
20109
20110# convert \$build files to toolchain format.
20111to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20112
20113# An object symbol dumper.
20114OBJDUMP=$lt_OBJDUMP
20115
20116# Method to check whether dependent libraries are shared objects.
20117deplibs_check_method=$lt_deplibs_check_method
20118
20119# Command to use when deplibs_check_method = "file_magic".
20120file_magic_cmd=$lt_file_magic_cmd
20121
20122# How to find potential files when deplibs_check_method = "file_magic".
20123file_magic_glob=$lt_file_magic_glob
20124
20125# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20126want_nocaseglob=$lt_want_nocaseglob
20127
20128# DLL creation program.
20129DLLTOOL=$lt_DLLTOOL
20130
20131# Command to associate shared and link libraries.
20132sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20133
20134# The archiver.
20135AR=$lt_AR
20136
20137# Flags to create an archive.
20138AR_FLAGS=$lt_AR_FLAGS
20139
20140# How to feed a file listing to the archiver.
20141archiver_list_spec=$lt_archiver_list_spec
20142
20143# A symbol stripping program.
20144STRIP=$lt_STRIP
20145
20146# Commands used to install an old-style archive.
20147RANLIB=$lt_RANLIB
20148old_postinstall_cmds=$lt_old_postinstall_cmds
20149old_postuninstall_cmds=$lt_old_postuninstall_cmds
20150
20151# Whether to use a lock for old archive extraction.
20152lock_old_archive_extraction=$lock_old_archive_extraction
20153
20154# A C compiler.
20155LTCC=$lt_CC
20156
20157# LTCC compiler flags.
20158LTCFLAGS=$lt_CFLAGS
20159
20160# Take the output of nm and produce a listing of raw symbols and C names.
20161global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20162
20163# Transform the output of nm in a proper C declaration.
20164global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20165
20166# Transform the output of nm into a list of symbols to manually relocate.
20167global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20168
20169# Transform the output of nm in a C name address pair.
20170global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20171
20172# Transform the output of nm in a C name address pair when lib prefix is needed.
20173global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20174
20175# The name lister interface.
20176nm_interface=$lt_lt_cv_nm_interface
20177
20178# Specify filename containing input files for \$NM.
20179nm_file_list_spec=$lt_nm_file_list_spec
20180
20181# The root where to search for dependent libraries,and where our libraries should be installed.
20182lt_sysroot=$lt_sysroot
20183
20184# Command to truncate a binary pipe.
20185lt_truncate_bin=$lt_lt_cv_truncate_bin
20186
20187# The name of the directory that contains temporary libtool files.
20188objdir=$objdir
20189
20190# Used to examine libraries when file_magic_cmd begins with "file".
20191MAGIC_CMD=$MAGIC_CMD
20192
20193# Must we lock files when doing compilation?
20194need_locks=$lt_need_locks
20195
20196# Manifest tool.
20197MANIFEST_TOOL=$lt_MANIFEST_TOOL
20198
20199# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20200DSYMUTIL=$lt_DSYMUTIL
20201
20202# Tool to change global to local symbols on Mac OS X.
20203NMEDIT=$lt_NMEDIT
20204
20205# Tool to manipulate fat objects and archives on Mac OS X.
20206LIPO=$lt_LIPO
20207
20208# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20209OTOOL=$lt_OTOOL
20210
20211# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20212OTOOL64=$lt_OTOOL64
20213
20214# Old archive suffix (normally "a").
20215libext=$libext
20216
20217# Shared library suffix (normally ".so").
20218shrext_cmds=$lt_shrext_cmds
20219
20220# The commands to extract the exported symbol list from a shared archive.
20221extract_expsyms_cmds=$lt_extract_expsyms_cmds
20222
20223# Variables whose values should be saved in libtool wrapper scripts and
20224# restored at link time.
20225variables_saved_for_relink=$lt_variables_saved_for_relink
20226
20227# Do we need the "lib" prefix for modules?
20228need_lib_prefix=$need_lib_prefix
20229
20230# Do we need a version for libraries?
20231need_version=$need_version
20232
20233# Library versioning type.
20234version_type=$version_type
20235
20236# Shared library runtime path variable.
20237runpath_var=$runpath_var
20238
20239# Shared library path variable.
20240shlibpath_var=$shlibpath_var
20241
20242# Is shlibpath searched before the hard-coded library search path?
20243shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20244
20245# Format of library name prefix.
20246libname_spec=$lt_libname_spec
20247
20248# List of archive names.  First name is the real one, the rest are links.
20249# The last name is the one that the linker finds with -lNAME
20250library_names_spec=$lt_library_names_spec
20251
20252# The coded name of the library, if different from the real name.
20253soname_spec=$lt_soname_spec
20254
20255# Permission mode override for installation of shared libraries.
20256install_override_mode=$lt_install_override_mode
20257
20258# Command to use after installation of a shared archive.
20259postinstall_cmds=$lt_postinstall_cmds
20260
20261# Command to use after uninstallation of a shared archive.
20262postuninstall_cmds=$lt_postuninstall_cmds
20263
20264# Commands used to finish a libtool library installation in a directory.
20265finish_cmds=$lt_finish_cmds
20266
20267# As "finish_cmds", except a single script fragment to be evaled but
20268# not shown.
20269finish_eval=$lt_finish_eval
20270
20271# Whether we should hardcode library paths into libraries.
20272hardcode_into_libs=$hardcode_into_libs
20273
20274# Compile-time system search path for libraries.
20275sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20276
20277# Detected run-time system search path for libraries.
20278sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20279
20280# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20281configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20282
20283# Whether dlopen is supported.
20284dlopen_support=$enable_dlopen
20285
20286# Whether dlopen of programs is supported.
20287dlopen_self=$enable_dlopen_self
20288
20289# Whether dlopen of statically linked programs is supported.
20290dlopen_self_static=$enable_dlopen_self_static
20291
20292# Commands to strip libraries.
20293old_striplib=$lt_old_striplib
20294striplib=$lt_striplib
20295
20296
20297# The linker used to build libraries.
20298LD=$lt_LD
20299
20300# How to create reloadable object files.
20301reload_flag=$lt_reload_flag
20302reload_cmds=$lt_reload_cmds
20303
20304# Commands used to build an old-style archive.
20305old_archive_cmds=$lt_old_archive_cmds
20306
20307# A language specific compiler.
20308CC=$lt_compiler
20309
20310# Is the compiler the GNU compiler?
20311with_gcc=$GCC
20312
20313# Compiler flag to turn off builtin functions.
20314no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20315
20316# Additional compiler flags for building library objects.
20317pic_flag=$lt_lt_prog_compiler_pic
20318
20319# How to pass a linker flag through the compiler.
20320wl=$lt_lt_prog_compiler_wl
20321
20322# Compiler flag to prevent dynamic linking.
20323link_static_flag=$lt_lt_prog_compiler_static
20324
20325# Does compiler simultaneously support -c and -o options?
20326compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20327
20328# Whether or not to add -lc for building shared libraries.
20329build_libtool_need_lc=$archive_cmds_need_lc
20330
20331# Whether or not to disallow shared libs when runtime libs are static.
20332allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20333
20334# Compiler flag to allow reflexive dlopens.
20335export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20336
20337# Compiler flag to generate shared objects directly from archives.
20338whole_archive_flag_spec=$lt_whole_archive_flag_spec
20339
20340# Whether the compiler copes with passing no objects directly.
20341compiler_needs_object=$lt_compiler_needs_object
20342
20343# Create an old-style archive from a shared archive.
20344old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20345
20346# Create a temporary old-style archive to link instead of a shared archive.
20347old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20348
20349# Commands used to build a shared archive.
20350archive_cmds=$lt_archive_cmds
20351archive_expsym_cmds=$lt_archive_expsym_cmds
20352
20353# Commands used to build a loadable module if different from building
20354# a shared archive.
20355module_cmds=$lt_module_cmds
20356module_expsym_cmds=$lt_module_expsym_cmds
20357
20358# Whether we are building with GNU ld or not.
20359with_gnu_ld=$lt_with_gnu_ld
20360
20361# Flag that allows shared libraries with undefined symbols to be built.
20362allow_undefined_flag=$lt_allow_undefined_flag
20363
20364# Flag that enforces no undefined symbols.
20365no_undefined_flag=$lt_no_undefined_flag
20366
20367# Flag to hardcode \$libdir into a binary during linking.
20368# This must work even if \$libdir does not exist
20369hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20370
20371# Whether we need a single "-rpath" flag with a separated argument.
20372hardcode_libdir_separator=$lt_hardcode_libdir_separator
20373
20374# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20375# DIR into the resulting binary.
20376hardcode_direct=$hardcode_direct
20377
20378# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20379# DIR into the resulting binary and the resulting library dependency is
20380# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20381# library is relocated.
20382hardcode_direct_absolute=$hardcode_direct_absolute
20383
20384# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20385# into the resulting binary.
20386hardcode_minus_L=$hardcode_minus_L
20387
20388# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20389# into the resulting binary.
20390hardcode_shlibpath_var=$hardcode_shlibpath_var
20391
20392# Set to "yes" if building a shared library automatically hardcodes DIR
20393# into the library and all subsequent libraries and executables linked
20394# against it.
20395hardcode_automatic=$hardcode_automatic
20396
20397# Set to yes if linker adds runtime paths of dependent libraries
20398# to runtime path list.
20399inherit_rpath=$inherit_rpath
20400
20401# Whether libtool must link a program against all its dependency libraries.
20402link_all_deplibs=$link_all_deplibs
20403
20404# Set to "yes" if exported symbols are required.
20405always_export_symbols=$always_export_symbols
20406
20407# The commands to list exported symbols.
20408export_symbols_cmds=$lt_export_symbols_cmds
20409
20410# Symbols that should not be listed in the preloaded symbols.
20411exclude_expsyms=$lt_exclude_expsyms
20412
20413# Symbols that must always be exported.
20414include_expsyms=$lt_include_expsyms
20415
20416# Commands necessary for linking programs (against libraries) with templates.
20417prelink_cmds=$lt_prelink_cmds
20418
20419# Commands necessary for finishing linking programs.
20420postlink_cmds=$lt_postlink_cmds
20421
20422# Specify filename containing input files.
20423file_list_spec=$lt_file_list_spec
20424
20425# How to hardcode a shared library path into an executable.
20426hardcode_action=$hardcode_action
20427
20428# ### END LIBTOOL CONFIG
20429
20430_LT_EOF
20431
20432    cat <<'_LT_EOF' >> "$cfgfile"
20433
20434# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20435
20436# func_munge_path_list VARIABLE PATH
20437# -----------------------------------
20438# VARIABLE is name of variable containing _space_ separated list of
20439# directories to be munged by the contents of PATH, which is string
20440# having a format:
20441# "DIR[:DIR]:"
20442#       string "DIR[ DIR]" will be prepended to VARIABLE
20443# ":DIR[:DIR]"
20444#       string "DIR[ DIR]" will be appended to VARIABLE
20445# "DIRP[:DIRP]::[DIRA:]DIRA"
20446#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20447#       "DIRA[ DIRA]" will be appended to VARIABLE
20448# "DIR[:DIR]"
20449#       VARIABLE will be replaced by "DIR[ DIR]"
20450func_munge_path_list ()
20451{
20452    case x$2 in
20453    x)
20454        ;;
20455    *:)
20456        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20457        ;;
20458    x:*)
20459        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20460        ;;
20461    *::*)
20462        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20463        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20464        ;;
20465    *)
20466        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20467        ;;
20468    esac
20469}
20470
20471
20472# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20473func_cc_basename ()
20474{
20475    for cc_temp in $*""; do
20476      case $cc_temp in
20477        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20478        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20479        \-*) ;;
20480        *) break;;
20481      esac
20482    done
20483    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20484}
20485
20486
20487# ### END FUNCTIONS SHARED WITH CONFIGURE
20488
20489_LT_EOF
20490
20491  case $host_os in
20492  aix3*)
20493    cat <<\_LT_EOF >> "$cfgfile"
20494# AIX sometimes has problems with the GCC collect2 program.  For some
20495# reason, if we set the COLLECT_NAMES environment variable, the problems
20496# vanish in a puff of smoke.
20497if test set != "${COLLECT_NAMES+set}"; then
20498  COLLECT_NAMES=
20499  export COLLECT_NAMES
20500fi
20501_LT_EOF
20502    ;;
20503  esac
20504
20505
20506ltmain=$ac_aux_dir/ltmain.sh
20507
20508
20509  # We use sed instead of cat because bash on DJGPP gets confused if
20510  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20511  # text mode, it properly converts lines to CR/LF.  This bash problem
20512  # is reportedly fixed, but why not run on old versions too?
20513  sed '$q' "$ltmain" >> "$cfgfile" \
20514     || (rm -f "$cfgfile"; exit 1)
20515
20516   mv -f "$cfgfile" "$ofile" ||
20517    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20518  chmod +x "$ofile"
20519
20520 ;;
20521    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20522  # Older Autoconf quotes --file arguments for eval, but not when files
20523  # are listed without --file.  Let's play safe and only enable the eval
20524  # if we detect the quoting.
20525  case $CONFIG_FILES in
20526  *\'*) eval set x "$CONFIG_FILES" ;;
20527  *)   set x $CONFIG_FILES ;;
20528  esac
20529  shift
20530  for mf
20531  do
20532    # Strip MF so we end up with the name of the file.
20533    mf=`echo "$mf" | sed -e 's/:.*$//'`
20534    # Check whether this is an Automake generated Makefile or not.
20535    # We used to match only the files named 'Makefile.in', but
20536    # some people rename them; so instead we look at the file content.
20537    # Grep'ing the first line is not enough: some people post-process
20538    # each Makefile.in and add a new line on top of each file to say so.
20539    # Grep'ing the whole file is not good either: AIX grep has a line
20540    # limit of 2048, but all sed's we know have understand at least 4000.
20541    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20542      dirpart=`$as_dirname -- "$mf" ||
20543$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20544	 X"$mf" : 'X\(//\)[^/]' \| \
20545	 X"$mf" : 'X\(//\)$' \| \
20546	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20547$as_echo X"$mf" |
20548    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20549	    s//\1/
20550	    q
20551	  }
20552	  /^X\(\/\/\)[^/].*/{
20553	    s//\1/
20554	    q
20555	  }
20556	  /^X\(\/\/\)$/{
20557	    s//\1/
20558	    q
20559	  }
20560	  /^X\(\/\).*/{
20561	    s//\1/
20562	    q
20563	  }
20564	  s/.*/./; q'`
20565    else
20566      continue
20567    fi
20568    # Extract the definition of DEPDIR, am__include, and am__quote
20569    # from the Makefile without running 'make'.
20570    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20571    test -z "$DEPDIR" && continue
20572    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20573    test -z "$am__include" && continue
20574    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20575    # Find all dependency output files, they are included files with
20576    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20577    # simplest approach to changing $(DEPDIR) to its actual value in the
20578    # expansion.
20579    for file in `sed -n "
20580      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20581	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20582      # Make sure the directory exists.
20583      test -f "$dirpart/$file" && continue
20584      fdir=`$as_dirname -- "$file" ||
20585$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20586	 X"$file" : 'X\(//\)[^/]' \| \
20587	 X"$file" : 'X\(//\)$' \| \
20588	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20589$as_echo X"$file" |
20590    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20591	    s//\1/
20592	    q
20593	  }
20594	  /^X\(\/\/\)[^/].*/{
20595	    s//\1/
20596	    q
20597	  }
20598	  /^X\(\/\/\)$/{
20599	    s//\1/
20600	    q
20601	  }
20602	  /^X\(\/\).*/{
20603	    s//\1/
20604	    q
20605	  }
20606	  s/.*/./; q'`
20607      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20608      # echo "creating $dirpart/$file"
20609      echo '# dummy' > "$dirpart/$file"
20610    done
20611  done
20612}
20613 ;;
20614    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
20615        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
20616      esac ;;
20617    "po/stamp-it":C)
20618    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20619       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20620    fi
20621    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20622    >"po/stamp-it.tmp"
20623    sed '/^#/d
20624	 s/^[[].*] *//
20625	 /^[ 	]*$/d
20626	'"s|^|	$ac_top_srcdir/|" \
20627      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20628
20629    sed '/^POTFILES =/,/[^\\]$/ {
20630		/^POTFILES =/!d
20631		r po/POTFILES
20632	  }
20633	 ' "po/Makefile.in" >"po/Makefile"
20634    rm -f "po/Makefile.tmp"
20635    mv "po/stamp-it.tmp" "po/stamp-it"
20636   ;;
20637
20638  esac
20639done # for ac_tag
20640
20641
20642as_fn_exit 0
20643_ACEOF
20644ac_clean_files=$ac_clean_files_save
20645
20646test $ac_write_fail = 0 ||
20647  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20648
20649
20650# configure is writing to config.log, and then calls config.status.
20651# config.status does its own redirection, appending to config.log.
20652# Unfortunately, on DOS this fails, as config.log is still kept open
20653# by configure, so config.status won't be able to write to it; its
20654# output is simply discarded.  So we exec the FD to /dev/null,
20655# effectively closing config.log, so it can be properly (re)opened and
20656# appended to by config.status.  When coming back to configure, we
20657# need to make the FD available again.
20658if test "$no_create" != yes; then
20659  ac_cs_success=:
20660  ac_config_status_args=
20661  test "$silent" = yes &&
20662    ac_config_status_args="$ac_config_status_args --quiet"
20663  exec 5>/dev/null
20664  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20665  exec 5>>config.log
20666  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20667  # would make configure fail if this is the last instruction.
20668  $ac_cs_success || as_fn_exit 1
20669fi
20670if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20671  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20672$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20673fi
20674
20675
20676cat rodent-fuse.settings
20677echo "Build: $build"
20678
20679echo 'CFLAGS:' $CFLAGS
20680echo 'LDFLAGS:' $LDFLAGS
20681
20682if test "$ac_uname_s" = "Linux"; then
20683 echo 'Now do a make && sudo make install && sudo ldconfig'
20684else
20685 echo 'ATTENTION BSD user: Use gmake instead of make,'
20686 echo 'otherwise make process will halt with an error while building'
20687 echo 'translations.'
20688 echo '...'
20689 echo 'Now do a gmake && sudo gmake install && sudo ldconfig'
20690fi
20691
20692
20693
20694
20695