1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for rodent-samba 5.3.16.3.
4#
5# Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-samba/>.
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-samba/ 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-samba'
593PACKAGE_TARNAME='rodent-samba'
594PACKAGE_VERSION='5.3.16.3'
595PACKAGE_STRING='rodent-samba 5.3.16.3'
596PACKAGE_BUGREPORT='https://sourceforge.net/p/xffm/bugs/milestone/rodent-samba/'
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
676DEBUG_TRACE
677WITH_TRACE
678DEBUG
679WITH_DEBUG
680CORE
681WITH_CORE
682WANT_DEBIAN_FALSE
683WANT_DEBIAN_TRUE
684cv_dpkg
685WANT_GENTOO_FALSE
686WANT_GENTOO_TRUE
687cv_emerge
688DISTRO_X_VERSION
689DISTRO_X
690LIBRSVG_NAME
691WITH_GNU_GS
692GNU_SHRED
693WITH_GNU_SHRED
694GNU_RM
695WITH_GNU_RM
696GNU_LN
697WITH_GNU_LN
698GNU_MV
699WITH_GNU_MV
700GNU_CP
701WITH_GNU_CP
702GNU_LS
703WITH_GNU_LS
704GNU_GREP
705WITH_GNU_GREP
706ONLY_LINUX_FALSE
707ONLY_LINUX_TRUE
708WANT_FREEBSD_FALSE
709WANT_FREEBSD_TRUE
710UNAME_S
711gawk
712intltoolize
713PREFIX
714cv_pkgconfig
715HAVE_PTHREAD_TRYJOIN
716FILE_POINTER
717SIZEOF_FILE_POINTER
718FILE_OFFSET_BITS
719DATADIRNAME
720ALL_LINGUAS
721INTLTOOL_PERL
722GMSGFMT
723MSGFMT
724MSGMERGE
725XGETTEXT
726INTLTOOL_POLICY_RULE
727INTLTOOL_SERVICE_RULE
728INTLTOOL_THEME_RULE
729INTLTOOL_SCHEMAS_RULE
730INTLTOOL_CAVES_RULE
731INTLTOOL_XML_NOMERGE_RULE
732INTLTOOL_XML_RULE
733INTLTOOL_KBD_RULE
734INTLTOOL_XAM_RULE
735INTLTOOL_UI_RULE
736INTLTOOL_SOUNDLIST_RULE
737INTLTOOL_SHEET_RULE
738INTLTOOL_SERVER_RULE
739INTLTOOL_PONG_RULE
740INTLTOOL_OAF_RULE
741INTLTOOL_PROP_RULE
742INTLTOOL_KEYS_RULE
743INTLTOOL_DIRECTORY_RULE
744INTLTOOL_DESKTOP_RULE
745intltool__v_merge_options_0
746intltool__v_merge_options_
747INTLTOOL_V_MERGE_OPTIONS
748INTLTOOL__v_MERGE_0
749INTLTOOL__v_MERGE_
750INTLTOOL_V_MERGE
751INTLTOOL_EXTRACT
752INTLTOOL_MERGE
753INTLTOOL_UPDATE
754USE_NLS
755DBH_VERSION
756DBH_FILE_VERSION
757MASTER_SITE
758BUGMAIL
759LICENSE
760SRC_URI
761HOMEPAGE
762DESCRIPTION
763SUMMARY
764WITH_MPT
765MAINT
766MAINTAINER_MODE_FALSE
767MAINTAINER_MODE_TRUE
768RFM_VERINFO
769AM_BACKSLASH
770AM_DEFAULT_VERBOSITY
771am__fastdepCC_FALSE
772am__fastdepCC_TRUE
773CCDEPMODE
774am__nodep
775AMDEPBACKSLASH
776AMDEP_FALSE
777AMDEP_TRUE
778am__quote
779am__include
780DEPDIR
781am__untar
782am__tar
783AMTAR
784am__leading_dot
785SET_MAKE
786mkdir_p
787MKDIR_P
788INSTALL_STRIP_PROGRAM
789install_sh
790MAKEINFO
791AUTOHEADER
792AUTOMAKE
793AUTOCONF
794ACLOCAL
795VERSION
796PACKAGE
797CYGPATH_W
798am__isrc
799INSTALL_DATA
800INSTALL_SCRIPT
801INSTALL_PROGRAM
802TCMALLOC
803RFM_MODULE_DIR
804RFM_PREFIX
805GTK_PREFIX
806GTK_VERSION
807LIBRFM_REQUIRED_VERSION
808LIBRFM_LIBS
809LIBRFM_CFLAGS
810LIBRFM_VERSION
811PKG_CONFIG
812PACKAGE_COPYRIGHT
813COPYRIGHT
814_GNU_SOURCE
815RPM_UDF_REQUIRES
816RPM_FDUPES_REQUIRES
817RPM_GROUP
818RPM_LICENSE
819RPM_COMMENT
820CPP
821LT_SYS_LIBRARY_PATH
822OTOOL64
823OTOOL
824LIPO
825NMEDIT
826DSYMUTIL
827MANIFEST_TOOL
828AWK
829RANLIB
830STRIP
831ac_ct_AR
832AR
833DLLTOOL
834OBJDUMP
835LN_S
836NM
837ac_ct_DUMPBIN
838DUMPBIN
839LD
840FGREP
841EGREP
842GREP
843SED
844OBJEXT
845EXEEXT
846ac_ct_CC
847CPPFLAGS
848LDFLAGS
849CFLAGS
850CC
851host_os
852host_vendor
853host_cpu
854host
855build_os
856build_vendor
857build_cpu
858build
859LIBTOOL
860target_alias
861host_alias
862build_alias
863LIBS
864ECHO_T
865ECHO_N
866ECHO_C
867DEFS
868mandir
869localedir
870libdir
871psdir
872pdfdir
873dvidir
874htmldir
875infodir
876docdir
877oldincludedir
878includedir
879localstatedir
880sharedstatedir
881sysconfdir
882datadir
883datarootdir
884libexecdir
885sbindir
886bindir
887program_transform_name
888prefix
889exec_prefix
890PACKAGE_URL
891PACKAGE_BUGREPORT
892PACKAGE_STRING
893PACKAGE_VERSION
894PACKAGE_TARNAME
895PACKAGE_NAME
896PATH_SEPARATOR
897SHELL'
898ac_subst_files=''
899ac_user_opts='
900enable_option_checking
901enable_static
902enable_shared
903with_pic
904enable_fast_install
905with_aix_soname
906with_gnu_ld
907with_sysroot
908enable_libtool_lock
909with_centos
910with_tcmalloc
911enable_dependency_tracking
912enable_silent_rules
913enable_maintainer_mode
914with_mpt
915enable_nls
916enable_largefile
917with_debug
918with_trace
919with_core
920with_locales_dir
921'
922      ac_precious_vars='build_alias
923host_alias
924target_alias
925CC
926CFLAGS
927LDFLAGS
928LIBS
929CPPFLAGS
930LT_SYS_LIBRARY_PATH
931CPP'
932
933
934# Initialize some variables set by options.
935ac_init_help=
936ac_init_version=false
937ac_unrecognized_opts=
938ac_unrecognized_sep=
939# The variables have the same names as the options, with
940# dashes changed to underlines.
941cache_file=/dev/null
942exec_prefix=NONE
943no_create=
944no_recursion=
945prefix=NONE
946program_prefix=NONE
947program_suffix=NONE
948program_transform_name=s,x,x,
949silent=
950site=
951srcdir=
952verbose=
953x_includes=NONE
954x_libraries=NONE
955
956# Installation directory options.
957# These are left unexpanded so users can "make install exec_prefix=/foo"
958# and all the variables that are supposed to be based on exec_prefix
959# by default will actually change.
960# Use braces instead of parens because sh, perl, etc. also accept them.
961# (The list follows the same order as the GNU Coding Standards.)
962bindir='${exec_prefix}/bin'
963sbindir='${exec_prefix}/sbin'
964libexecdir='${exec_prefix}/libexec'
965datarootdir='${prefix}/share'
966datadir='${datarootdir}'
967sysconfdir='${prefix}/etc'
968sharedstatedir='${prefix}/com'
969localstatedir='${prefix}/var'
970includedir='${prefix}/include'
971oldincludedir='/usr/include'
972docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
973infodir='${datarootdir}/info'
974htmldir='${docdir}'
975dvidir='${docdir}'
976pdfdir='${docdir}'
977psdir='${docdir}'
978libdir='${exec_prefix}/lib'
979localedir='${datarootdir}/locale'
980mandir='${datarootdir}/man'
981
982ac_prev=
983ac_dashdash=
984for ac_option
985do
986  # If the previous option needs an argument, assign it.
987  if test -n "$ac_prev"; then
988    eval $ac_prev=\$ac_option
989    ac_prev=
990    continue
991  fi
992
993  case $ac_option in
994  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
995  *=)   ac_optarg= ;;
996  *)    ac_optarg=yes ;;
997  esac
998
999  # Accept the important Cygnus configure options, so we can diagnose typos.
1000
1001  case $ac_dashdash$ac_option in
1002  --)
1003    ac_dashdash=yes ;;
1004
1005  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1006    ac_prev=bindir ;;
1007  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1008    bindir=$ac_optarg ;;
1009
1010  -build | --build | --buil | --bui | --bu)
1011    ac_prev=build_alias ;;
1012  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1013    build_alias=$ac_optarg ;;
1014
1015  -cache-file | --cache-file | --cache-fil | --cache-fi \
1016  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1017    ac_prev=cache_file ;;
1018  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1019  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1020    cache_file=$ac_optarg ;;
1021
1022  --config-cache | -C)
1023    cache_file=config.cache ;;
1024
1025  -datadir | --datadir | --datadi | --datad)
1026    ac_prev=datadir ;;
1027  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1028    datadir=$ac_optarg ;;
1029
1030  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1031  | --dataroo | --dataro | --datar)
1032    ac_prev=datarootdir ;;
1033  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1034  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1035    datarootdir=$ac_optarg ;;
1036
1037  -disable-* | --disable-*)
1038    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039    # Reject names that are not valid shell variable names.
1040    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041      as_fn_error $? "invalid feature name: $ac_useropt"
1042    ac_useropt_orig=$ac_useropt
1043    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044    case $ac_user_opts in
1045      *"
1046"enable_$ac_useropt"
1047"*) ;;
1048      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1049	 ac_unrecognized_sep=', ';;
1050    esac
1051    eval enable_$ac_useropt=no ;;
1052
1053  -docdir | --docdir | --docdi | --doc | --do)
1054    ac_prev=docdir ;;
1055  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1056    docdir=$ac_optarg ;;
1057
1058  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1059    ac_prev=dvidir ;;
1060  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1061    dvidir=$ac_optarg ;;
1062
1063  -enable-* | --enable-*)
1064    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065    # Reject names that are not valid shell variable names.
1066    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067      as_fn_error $? "invalid feature name: $ac_useropt"
1068    ac_useropt_orig=$ac_useropt
1069    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070    case $ac_user_opts in
1071      *"
1072"enable_$ac_useropt"
1073"*) ;;
1074      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075	 ac_unrecognized_sep=', ';;
1076    esac
1077    eval enable_$ac_useropt=\$ac_optarg ;;
1078
1079  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1080  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1081  | --exec | --exe | --ex)
1082    ac_prev=exec_prefix ;;
1083  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1084  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1085  | --exec=* | --exe=* | --ex=*)
1086    exec_prefix=$ac_optarg ;;
1087
1088  -gas | --gas | --ga | --g)
1089    # Obsolete; use --with-gas.
1090    with_gas=yes ;;
1091
1092  -help | --help | --hel | --he | -h)
1093    ac_init_help=long ;;
1094  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1095    ac_init_help=recursive ;;
1096  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1097    ac_init_help=short ;;
1098
1099  -host | --host | --hos | --ho)
1100    ac_prev=host_alias ;;
1101  -host=* | --host=* | --hos=* | --ho=*)
1102    host_alias=$ac_optarg ;;
1103
1104  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1105    ac_prev=htmldir ;;
1106  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1107  | --ht=*)
1108    htmldir=$ac_optarg ;;
1109
1110  -includedir | --includedir | --includedi | --included | --include \
1111  | --includ | --inclu | --incl | --inc)
1112    ac_prev=includedir ;;
1113  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1114  | --includ=* | --inclu=* | --incl=* | --inc=*)
1115    includedir=$ac_optarg ;;
1116
1117  -infodir | --infodir | --infodi | --infod | --info | --inf)
1118    ac_prev=infodir ;;
1119  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1120    infodir=$ac_optarg ;;
1121
1122  -libdir | --libdir | --libdi | --libd)
1123    ac_prev=libdir ;;
1124  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1125    libdir=$ac_optarg ;;
1126
1127  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1128  | --libexe | --libex | --libe)
1129    ac_prev=libexecdir ;;
1130  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1131  | --libexe=* | --libex=* | --libe=*)
1132    libexecdir=$ac_optarg ;;
1133
1134  -localedir | --localedir | --localedi | --localed | --locale)
1135    ac_prev=localedir ;;
1136  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1137    localedir=$ac_optarg ;;
1138
1139  -localstatedir | --localstatedir | --localstatedi | --localstated \
1140  | --localstate | --localstat | --localsta | --localst | --locals)
1141    ac_prev=localstatedir ;;
1142  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1143  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1144    localstatedir=$ac_optarg ;;
1145
1146  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1147    ac_prev=mandir ;;
1148  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1149    mandir=$ac_optarg ;;
1150
1151  -nfp | --nfp | --nf)
1152    # Obsolete; use --without-fp.
1153    with_fp=no ;;
1154
1155  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1156  | --no-cr | --no-c | -n)
1157    no_create=yes ;;
1158
1159  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1160  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1161    no_recursion=yes ;;
1162
1163  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1164  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1165  | --oldin | --oldi | --old | --ol | --o)
1166    ac_prev=oldincludedir ;;
1167  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1168  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1169  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1170    oldincludedir=$ac_optarg ;;
1171
1172  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1173    ac_prev=prefix ;;
1174  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1175    prefix=$ac_optarg ;;
1176
1177  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1178  | --program-pre | --program-pr | --program-p)
1179    ac_prev=program_prefix ;;
1180  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1181  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1182    program_prefix=$ac_optarg ;;
1183
1184  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1185  | --program-suf | --program-su | --program-s)
1186    ac_prev=program_suffix ;;
1187  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1188  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1189    program_suffix=$ac_optarg ;;
1190
1191  -program-transform-name | --program-transform-name \
1192  | --program-transform-nam | --program-transform-na \
1193  | --program-transform-n | --program-transform- \
1194  | --program-transform | --program-transfor \
1195  | --program-transfo | --program-transf \
1196  | --program-trans | --program-tran \
1197  | --progr-tra | --program-tr | --program-t)
1198    ac_prev=program_transform_name ;;
1199  -program-transform-name=* | --program-transform-name=* \
1200  | --program-transform-nam=* | --program-transform-na=* \
1201  | --program-transform-n=* | --program-transform-=* \
1202  | --program-transform=* | --program-transfor=* \
1203  | --program-transfo=* | --program-transf=* \
1204  | --program-trans=* | --program-tran=* \
1205  | --progr-tra=* | --program-tr=* | --program-t=*)
1206    program_transform_name=$ac_optarg ;;
1207
1208  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1209    ac_prev=pdfdir ;;
1210  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1211    pdfdir=$ac_optarg ;;
1212
1213  -psdir | --psdir | --psdi | --psd | --ps)
1214    ac_prev=psdir ;;
1215  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1216    psdir=$ac_optarg ;;
1217
1218  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219  | -silent | --silent | --silen | --sile | --sil)
1220    silent=yes ;;
1221
1222  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223    ac_prev=sbindir ;;
1224  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1225  | --sbi=* | --sb=*)
1226    sbindir=$ac_optarg ;;
1227
1228  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1229  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1230  | --sharedst | --shareds | --shared | --share | --shar \
1231  | --sha | --sh)
1232    ac_prev=sharedstatedir ;;
1233  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1234  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1235  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1236  | --sha=* | --sh=*)
1237    sharedstatedir=$ac_optarg ;;
1238
1239  -site | --site | --sit)
1240    ac_prev=site ;;
1241  -site=* | --site=* | --sit=*)
1242    site=$ac_optarg ;;
1243
1244  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1245    ac_prev=srcdir ;;
1246  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1247    srcdir=$ac_optarg ;;
1248
1249  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1250  | --syscon | --sysco | --sysc | --sys | --sy)
1251    ac_prev=sysconfdir ;;
1252  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1253  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1254    sysconfdir=$ac_optarg ;;
1255
1256  -target | --target | --targe | --targ | --tar | --ta | --t)
1257    ac_prev=target_alias ;;
1258  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1259    target_alias=$ac_optarg ;;
1260
1261  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1262    verbose=yes ;;
1263
1264  -version | --version | --versio | --versi | --5.3.16.3 | -V)
1265    ac_init_version=: ;;
1266
1267  -with-* | --with-*)
1268    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269    # Reject names that are not valid shell variable names.
1270    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1271      as_fn_error $? "invalid rodent-samba name: $ac_useropt"
1272    ac_useropt_orig=$ac_useropt
1273    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274    case $ac_user_opts in
1275      *"
1276"with_$ac_useropt"
1277"*) ;;
1278      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1279	 ac_unrecognized_sep=', ';;
1280    esac
1281    eval with_$ac_useropt=\$ac_optarg ;;
1282
1283  -without-* | --without-*)
1284    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1285    # Reject names that are not valid shell variable names.
1286    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1287      as_fn_error $? "invalid rodent-samba name: $ac_useropt"
1288    ac_useropt_orig=$ac_useropt
1289    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1290    case $ac_user_opts in
1291      *"
1292"with_$ac_useropt"
1293"*) ;;
1294      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1295	 ac_unrecognized_sep=', ';;
1296    esac
1297    eval with_$ac_useropt=no ;;
1298
1299  --x)
1300    # Obsolete; use --with-x.
1301    with_x=yes ;;
1302
1303  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1304  | --x-incl | --x-inc | --x-in | --x-i)
1305    ac_prev=x_includes ;;
1306  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1307  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1308    x_includes=$ac_optarg ;;
1309
1310  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1311  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1312    ac_prev=x_libraries ;;
1313  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1314  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1315    x_libraries=$ac_optarg ;;
1316
1317  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1318Try \`$0 --help' for more information"
1319    ;;
1320
1321  *=*)
1322    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1323    # Reject names that are not valid shell variable names.
1324    case $ac_envvar in #(
1325      '' | [0-9]* | *[!_$as_cr_alnum]* )
1326      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1327    esac
1328    eval $ac_envvar=\$ac_optarg
1329    export $ac_envvar ;;
1330
1331  *)
1332    # FIXME: should be removed in autoconf 3.0.
1333    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1334    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1335      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1336    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1337    ;;
1338
1339  esac
1340done
1341
1342if test -n "$ac_prev"; then
1343  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1344  as_fn_error $? "missing argument to $ac_option"
1345fi
1346
1347if test -n "$ac_unrecognized_opts"; then
1348  case $enable_option_checking in
1349    no) ;;
1350    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1351    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1352  esac
1353fi
1354
1355# Check all directory arguments for consistency.
1356for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1357		datadir sysconfdir sharedstatedir localstatedir includedir \
1358		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1359		libdir localedir mandir
1360do
1361  eval ac_val=\$$ac_var
1362  # Remove trailing slashes.
1363  case $ac_val in
1364    */ )
1365      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1366      eval $ac_var=\$ac_val;;
1367  esac
1368  # Be sure to have absolute directory names.
1369  case $ac_val in
1370    [\\/$]* | ?:[\\/]* )  continue;;
1371    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1372  esac
1373  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1374done
1375
1376# There might be people who depend on the old broken behavior: `$host'
1377# used to hold the argument of --host etc.
1378# FIXME: To remove some day.
1379build=$build_alias
1380host=$host_alias
1381target=$target_alias
1382
1383# FIXME: To remove some day.
1384if test "x$host_alias" != x; then
1385  if test "x$build_alias" = x; then
1386    cross_compiling=maybe
1387  elif test "x$build_alias" != "x$host_alias"; then
1388    cross_compiling=yes
1389  fi
1390fi
1391
1392ac_tool_prefix=
1393test -n "$host_alias" && ac_tool_prefix=$host_alias-
1394
1395test "$silent" = yes && exec 6>/dev/null
1396
1397
1398ac_pwd=`pwd` && test -n "$ac_pwd" &&
1399ac_ls_di=`ls -di .` &&
1400ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1401  as_fn_error $? "working directory cannot be determined"
1402test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1403  as_fn_error $? "pwd does not report name of working directory"
1404
1405
1406# Find the source files, if location was not specified.
1407if test -z "$srcdir"; then
1408  ac_srcdir_defaulted=yes
1409  # Try the directory containing this script, then the parent directory.
1410  ac_confdir=`$as_dirname -- "$as_myself" ||
1411$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1412	 X"$as_myself" : 'X\(//\)[^/]' \| \
1413	 X"$as_myself" : 'X\(//\)$' \| \
1414	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1415$as_echo X"$as_myself" |
1416    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417	    s//\1/
1418	    q
1419	  }
1420	  /^X\(\/\/\)[^/].*/{
1421	    s//\1/
1422	    q
1423	  }
1424	  /^X\(\/\/\)$/{
1425	    s//\1/
1426	    q
1427	  }
1428	  /^X\(\/\).*/{
1429	    s//\1/
1430	    q
1431	  }
1432	  s/.*/./; q'`
1433  srcdir=$ac_confdir
1434  if test ! -r "$srcdir/$ac_unique_file"; then
1435    srcdir=..
1436  fi
1437else
1438  ac_srcdir_defaulted=no
1439fi
1440if test ! -r "$srcdir/$ac_unique_file"; then
1441  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1442  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1443fi
1444ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1445ac_abs_confdir=`(
1446	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1447	pwd)`
1448# When building in place, set srcdir=.
1449if test "$ac_abs_confdir" = "$ac_pwd"; then
1450  srcdir=.
1451fi
1452# Remove unnecessary trailing slashes from srcdir.
1453# Double slashes in file names in object file debugging info
1454# mess up M-x gdb in Emacs.
1455case $srcdir in
1456*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1457esac
1458for ac_var in $ac_precious_vars; do
1459  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1460  eval ac_env_${ac_var}_value=\$${ac_var}
1461  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1462  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1463done
1464
1465#
1466# Report the --help message.
1467#
1468if test "$ac_init_help" = "long"; then
1469  # Omit some internal or obsolete options to make the list less imposing.
1470  # This message is too long to be a string in the A/UX 3.1 sh.
1471  cat <<_ACEOF
1472\`configure' configures rodent-samba 5.3.16.3 to adapt to many kinds of systems.
1473
1474Usage: $0 [OPTION]... [VAR=VALUE]...
1475
1476To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477VAR=VALUE.  See below for descriptions of some of the useful variables.
1478
1479Defaults for the options are specified in brackets.
1480
1481Configuration:
1482  -h, --help              display this help and exit
1483      --help=short        display options specific to this package
1484      --help=recursive    display the short help of all the included packages
1485  -V, --version           display version information and exit
1486  -q, --quiet, --silent   do not print \`checking ...' messages
1487      --cache-file=FILE   cache test results in FILE [disabled]
1488  -C, --config-cache      alias for \`--cache-file=config.cache'
1489  -n, --no-create         do not create output files
1490      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1491
1492Installation directories:
1493  --prefix=PREFIX         install architecture-independent files in PREFIX
1494                          [$ac_default_prefix]
1495  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1496                          [PREFIX]
1497
1498By default, \`make install' will install all the files in
1499\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1500an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501for instance \`--prefix=\$HOME'.
1502
1503For better control, use the options below.
1504
1505Fine tuning of the installation directories:
1506  --bindir=DIR            user executables [EPREFIX/bin]
1507  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1508  --libexecdir=DIR        program executables [EPREFIX/libexec]
1509  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1510  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1511  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1512  --libdir=DIR            object code libraries [EPREFIX/lib]
1513  --includedir=DIR        C header files [PREFIX/include]
1514  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1515  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1516  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1517  --infodir=DIR           info documentation [DATAROOTDIR/info]
1518  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1519  --mandir=DIR            man documentation [DATAROOTDIR/man]
1520  --docdir=DIR            documentation root [DATAROOTDIR/doc/rodent-samba]
1521  --htmldir=DIR           html documentation [DOCDIR]
1522  --dvidir=DIR            dvi documentation [DOCDIR]
1523  --pdfdir=DIR            pdf documentation [DOCDIR]
1524  --psdir=DIR             ps documentation [DOCDIR]
1525_ACEOF
1526
1527  cat <<\_ACEOF
1528
1529Program names:
1530  --program-prefix=PREFIX            prepend PREFIX to installed program names
1531  --program-suffix=SUFFIX            append SUFFIX to installed program names
1532  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1533
1534System types:
1535  --build=BUILD     configure for building on BUILD [guessed]
1536  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1537_ACEOF
1538fi
1539
1540if test -n "$ac_init_help"; then
1541  case $ac_init_help in
1542     short | recursive ) echo "Configuration of rodent-samba 5.3.16.3:";;
1543   esac
1544  cat <<\_ACEOF
1545
1546Optional Features:
1547  --disable-option-checking  ignore unrecognized --enable/--with options
1548  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1549  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1550  --enable-static[=PKGS]  build static libraries [default=no]
1551  --enable-shared[=PKGS]  build shared libraries [default=yes]
1552  --enable-fast-install[=PKGS]
1553                          optimize for fast installation [default=yes]
1554  --disable-libtool-lock  avoid locking (might break parallel builds)
1555  --enable-dependency-tracking
1556                          do not reject slow dependency extractors
1557  --disable-dependency-tracking
1558                          speeds up one-time build
1559  --enable-silent-rules          less verbose build output (undo: `make V=1')
1560  --disable-silent-rules         verbose build output (undo: `make V=0')
1561  --enable-maintainer-mode
1562                          enable make rules and dependencies not useful (and
1563                          sometimes confusing) to the casual installer
1564  --disable-nls           do not use Native Language Support
1565  --disable-largefile     omit support for large files
1566
1567Optional Packages:
1568  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1569  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1570  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1571                          both]
1572  --with-aix-soname=aix|svr4|both
1573                          shared library versioning (aka "SONAME") variant to
1574                          provide on AIX, [default=aix].
1575  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1576  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1577                          compiler's sysroot if not specified).
1578  --with-centos           Create CentOS spec file instead of the default
1579                          OpenSUSE spec file (packagers only)
1580  --with-tcmalloc         enable tcmalloc (developers only)
1581  --with-mpt              max preview threads (default=4)
1582  --with-debug            Enable debug
1583  --with-trace            Enable trace
1584  --with-core             Enable core dumps
1585  --with-locales-dir=DIR  Install locales into DIR
1586
1587Some influential environment variables:
1588  CC          C compiler command
1589  CFLAGS      C compiler flags
1590  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1591              nonstandard directory <lib dir>
1592  LIBS        libraries to pass to the linker, e.g. -l<library>
1593  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1594              you have headers in a nonstandard directory <include dir>
1595  LT_SYS_LIBRARY_PATH
1596              User-defined run-time library search path.
1597  CPP         C preprocessor
1598
1599Use these variables to override the choices made by `configure' or to help
1600it to find libraries and programs with nonstandard names/locations.
1601
1602Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-samba/>.
1603rodent-samba home page: <"http://xffm.org">.
1604_ACEOF
1605ac_status=$?
1606fi
1607
1608if test "$ac_init_help" = "recursive"; then
1609  # If there are subdirs, report their specific --help.
1610  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1611    test -d "$ac_dir" ||
1612      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1613      continue
1614    ac_builddir=.
1615
1616case "$ac_dir" in
1617.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618*)
1619  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1620  # A ".." for each directory in $ac_dir_suffix.
1621  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1622  case $ac_top_builddir_sub in
1623  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1625  esac ;;
1626esac
1627ac_abs_top_builddir=$ac_pwd
1628ac_abs_builddir=$ac_pwd$ac_dir_suffix
1629# for backward compatibility:
1630ac_top_builddir=$ac_top_build_prefix
1631
1632case $srcdir in
1633  .)  # We are building in place.
1634    ac_srcdir=.
1635    ac_top_srcdir=$ac_top_builddir_sub
1636    ac_abs_top_srcdir=$ac_pwd ;;
1637  [\\/]* | ?:[\\/]* )  # Absolute name.
1638    ac_srcdir=$srcdir$ac_dir_suffix;
1639    ac_top_srcdir=$srcdir
1640    ac_abs_top_srcdir=$srcdir ;;
1641  *) # Relative name.
1642    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1643    ac_top_srcdir=$ac_top_build_prefix$srcdir
1644    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645esac
1646ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647
1648    cd "$ac_dir" || { ac_status=$?; continue; }
1649    # Check for guested configure.
1650    if test -f "$ac_srcdir/configure.gnu"; then
1651      echo &&
1652      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1653    elif test -f "$ac_srcdir/configure"; then
1654      echo &&
1655      $SHELL "$ac_srcdir/configure" --help=recursive
1656    else
1657      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658    fi || ac_status=$?
1659    cd "$ac_pwd" || { ac_status=$?; break; }
1660  done
1661fi
1662
1663test -n "$ac_init_help" && exit $ac_status
1664if $ac_init_version; then
1665  cat <<\_ACEOF
1666rodent-samba configure 5.3.16.3
1667generated by GNU Autoconf 2.69
1668
1669Copyright (C) 2012 Free Software Foundation, Inc.
1670This configure script is free software; the Free Software Foundation
1671gives unlimited permission to copy, distribute and modify it.
1672
1673"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>"
1674_ACEOF
1675  exit
1676fi
1677
1678## ------------------------ ##
1679## Autoconf initialization. ##
1680## ------------------------ ##
1681
1682# ac_fn_c_try_compile LINENO
1683# --------------------------
1684# Try to compile conftest.$ac_ext, and return whether this succeeded.
1685ac_fn_c_try_compile ()
1686{
1687  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688  rm -f conftest.$ac_objext
1689  if { { ac_try="$ac_compile"
1690case "(($ac_try" in
1691  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692  *) ac_try_echo=$ac_try;;
1693esac
1694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695$as_echo "$ac_try_echo"; } >&5
1696  (eval "$ac_compile") 2>conftest.err
1697  ac_status=$?
1698  if test -s conftest.err; then
1699    grep -v '^ *+' conftest.err >conftest.er1
1700    cat conftest.er1 >&5
1701    mv -f conftest.er1 conftest.err
1702  fi
1703  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704  test $ac_status = 0; } && {
1705	 test -z "$ac_c_werror_flag" ||
1706	 test ! -s conftest.err
1707       } && test -s conftest.$ac_objext; then :
1708  ac_retval=0
1709else
1710  $as_echo "$as_me: failed program was:" >&5
1711sed 's/^/| /' conftest.$ac_ext >&5
1712
1713	ac_retval=1
1714fi
1715  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716  as_fn_set_status $ac_retval
1717
1718} # ac_fn_c_try_compile
1719
1720# ac_fn_c_try_link LINENO
1721# -----------------------
1722# Try to link conftest.$ac_ext, and return whether this succeeded.
1723ac_fn_c_try_link ()
1724{
1725  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726  rm -f conftest.$ac_objext conftest$ac_exeext
1727  if { { ac_try="$ac_link"
1728case "(($ac_try" in
1729  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730  *) ac_try_echo=$ac_try;;
1731esac
1732eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733$as_echo "$ac_try_echo"; } >&5
1734  (eval "$ac_link") 2>conftest.err
1735  ac_status=$?
1736  if test -s conftest.err; then
1737    grep -v '^ *+' conftest.err >conftest.er1
1738    cat conftest.er1 >&5
1739    mv -f conftest.er1 conftest.err
1740  fi
1741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742  test $ac_status = 0; } && {
1743	 test -z "$ac_c_werror_flag" ||
1744	 test ! -s conftest.err
1745       } && test -s conftest$ac_exeext && {
1746	 test "$cross_compiling" = yes ||
1747	 test -x conftest$ac_exeext
1748       }; then :
1749  ac_retval=0
1750else
1751  $as_echo "$as_me: failed program was:" >&5
1752sed 's/^/| /' conftest.$ac_ext >&5
1753
1754	ac_retval=1
1755fi
1756  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1757  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1758  # interfere with the next link command; also delete a directory that is
1759  # left behind by Apple's compiler.  We do this before executing the actions.
1760  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762  as_fn_set_status $ac_retval
1763
1764} # ac_fn_c_try_link
1765
1766# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767# -------------------------------------------------------
1768# Tests whether HEADER exists and can be compiled using the include files in
1769# INCLUDES, setting the cache variable VAR accordingly.
1770ac_fn_c_check_header_compile ()
1771{
1772  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774$as_echo_n "checking for $2... " >&6; }
1775if eval \${$3+:} false; then :
1776  $as_echo_n "(cached) " >&6
1777else
1778  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779/* end confdefs.h.  */
1780$4
1781#include <$2>
1782_ACEOF
1783if ac_fn_c_try_compile "$LINENO"; then :
1784  eval "$3=yes"
1785else
1786  eval "$3=no"
1787fi
1788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789fi
1790eval ac_res=\$$3
1791	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792$as_echo "$ac_res" >&6; }
1793  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
1795} # ac_fn_c_check_header_compile
1796
1797# ac_fn_c_try_cpp LINENO
1798# ----------------------
1799# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1800ac_fn_c_try_cpp ()
1801{
1802  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803  if { { ac_try="$ac_cpp conftest.$ac_ext"
1804case "(($ac_try" in
1805  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806  *) ac_try_echo=$ac_try;;
1807esac
1808eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809$as_echo "$ac_try_echo"; } >&5
1810  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1811  ac_status=$?
1812  if test -s conftest.err; then
1813    grep -v '^ *+' conftest.err >conftest.er1
1814    cat conftest.er1 >&5
1815    mv -f conftest.er1 conftest.err
1816  fi
1817  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818  test $ac_status = 0; } > conftest.i && {
1819	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1820	 test ! -s conftest.err
1821       }; then :
1822  ac_retval=0
1823else
1824  $as_echo "$as_me: failed program was:" >&5
1825sed 's/^/| /' conftest.$ac_ext >&5
1826
1827    ac_retval=1
1828fi
1829  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830  as_fn_set_status $ac_retval
1831
1832} # ac_fn_c_try_cpp
1833
1834# ac_fn_c_try_run LINENO
1835# ----------------------
1836# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1837# that executables *can* be run.
1838ac_fn_c_try_run ()
1839{
1840  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841  if { { ac_try="$ac_link"
1842case "(($ac_try" in
1843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844  *) ac_try_echo=$ac_try;;
1845esac
1846eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847$as_echo "$ac_try_echo"; } >&5
1848  (eval "$ac_link") 2>&5
1849  ac_status=$?
1850  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1852  { { case "(($ac_try" in
1853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854  *) ac_try_echo=$ac_try;;
1855esac
1856eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857$as_echo "$ac_try_echo"; } >&5
1858  (eval "$ac_try") 2>&5
1859  ac_status=$?
1860  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861  test $ac_status = 0; }; }; then :
1862  ac_retval=0
1863else
1864  $as_echo "$as_me: program exited with status $ac_status" >&5
1865       $as_echo "$as_me: failed program was:" >&5
1866sed 's/^/| /' conftest.$ac_ext >&5
1867
1868       ac_retval=$ac_status
1869fi
1870  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872  as_fn_set_status $ac_retval
1873
1874} # ac_fn_c_try_run
1875
1876# ac_fn_c_check_func LINENO FUNC VAR
1877# ----------------------------------
1878# Tests whether FUNC exists, setting the cache variable VAR accordingly
1879ac_fn_c_check_func ()
1880{
1881  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883$as_echo_n "checking for $2... " >&6; }
1884if eval \${$3+:} false; then :
1885  $as_echo_n "(cached) " >&6
1886else
1887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888/* end confdefs.h.  */
1889/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1891#define $2 innocuous_$2
1892
1893/* System header to define __stub macros and hopefully few prototypes,
1894    which can conflict with char $2 (); below.
1895    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896    <limits.h> exists even on freestanding compilers.  */
1897
1898#ifdef __STDC__
1899# include <limits.h>
1900#else
1901# include <assert.h>
1902#endif
1903
1904#undef $2
1905
1906/* Override any GCC internal prototype to avoid an error.
1907   Use char because int might match the return type of a GCC
1908   builtin and then its argument prototype would still apply.  */
1909#ifdef __cplusplus
1910extern "C"
1911#endif
1912char $2 ();
1913/* The GNU C library defines this for functions which it implements
1914    to always fail with ENOSYS.  Some functions are actually named
1915    something starting with __ and the normal name is an alias.  */
1916#if defined __stub_$2 || defined __stub___$2
1917choke me
1918#endif
1919
1920int
1921main ()
1922{
1923return $2 ();
1924  ;
1925  return 0;
1926}
1927_ACEOF
1928if ac_fn_c_try_link "$LINENO"; then :
1929  eval "$3=yes"
1930else
1931  eval "$3=no"
1932fi
1933rm -f core conftest.err conftest.$ac_objext \
1934    conftest$ac_exeext conftest.$ac_ext
1935fi
1936eval ac_res=\$$3
1937	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938$as_echo "$ac_res" >&6; }
1939  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940
1941} # ac_fn_c_check_func
1942
1943# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1944# --------------------------------------------
1945# Tries to find the compile-time value of EXPR in a program that includes
1946# INCLUDES, setting VAR accordingly. Returns whether the value could be
1947# computed
1948ac_fn_c_compute_int ()
1949{
1950  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951  if test "$cross_compiling" = yes; then
1952    # Depending upon the size, compute the lo and hi bounds.
1953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954/* end confdefs.h.  */
1955$4
1956int
1957main ()
1958{
1959static int test_array [1 - 2 * !(($2) >= 0)];
1960test_array [0] = 0;
1961return test_array [0];
1962
1963  ;
1964  return 0;
1965}
1966_ACEOF
1967if ac_fn_c_try_compile "$LINENO"; then :
1968  ac_lo=0 ac_mid=0
1969  while :; do
1970    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971/* end confdefs.h.  */
1972$4
1973int
1974main ()
1975{
1976static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1977test_array [0] = 0;
1978return test_array [0];
1979
1980  ;
1981  return 0;
1982}
1983_ACEOF
1984if ac_fn_c_try_compile "$LINENO"; then :
1985  ac_hi=$ac_mid; break
1986else
1987  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1988			if test $ac_lo -le $ac_mid; then
1989			  ac_lo= ac_hi=
1990			  break
1991			fi
1992			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1993fi
1994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995  done
1996else
1997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998/* end confdefs.h.  */
1999$4
2000int
2001main ()
2002{
2003static int test_array [1 - 2 * !(($2) < 0)];
2004test_array [0] = 0;
2005return test_array [0];
2006
2007  ;
2008  return 0;
2009}
2010_ACEOF
2011if ac_fn_c_try_compile "$LINENO"; then :
2012  ac_hi=-1 ac_mid=-1
2013  while :; do
2014    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015/* end confdefs.h.  */
2016$4
2017int
2018main ()
2019{
2020static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2021test_array [0] = 0;
2022return test_array [0];
2023
2024  ;
2025  return 0;
2026}
2027_ACEOF
2028if ac_fn_c_try_compile "$LINENO"; then :
2029  ac_lo=$ac_mid; break
2030else
2031  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2032			if test $ac_mid -le $ac_hi; then
2033			  ac_lo= ac_hi=
2034			  break
2035			fi
2036			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2037fi
2038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039  done
2040else
2041  ac_lo= ac_hi=
2042fi
2043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044fi
2045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046# Binary search between lo and hi bounds.
2047while test "x$ac_lo" != "x$ac_hi"; do
2048  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2049  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050/* end confdefs.h.  */
2051$4
2052int
2053main ()
2054{
2055static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2056test_array [0] = 0;
2057return test_array [0];
2058
2059  ;
2060  return 0;
2061}
2062_ACEOF
2063if ac_fn_c_try_compile "$LINENO"; then :
2064  ac_hi=$ac_mid
2065else
2066  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2067fi
2068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069done
2070case $ac_lo in #((
2071?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2072'') ac_retval=1 ;;
2073esac
2074  else
2075    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076/* end confdefs.h.  */
2077$4
2078static long int longval () { return $2; }
2079static unsigned long int ulongval () { return $2; }
2080#include <stdio.h>
2081#include <stdlib.h>
2082int
2083main ()
2084{
2085
2086  FILE *f = fopen ("conftest.val", "w");
2087  if (! f)
2088    return 1;
2089  if (($2) < 0)
2090    {
2091      long int i = longval ();
2092      if (i != ($2))
2093	return 1;
2094      fprintf (f, "%ld", i);
2095    }
2096  else
2097    {
2098      unsigned long int i = ulongval ();
2099      if (i != ($2))
2100	return 1;
2101      fprintf (f, "%lu", i);
2102    }
2103  /* Do not output a trailing newline, as this causes \r\n confusion
2104     on some platforms.  */
2105  return ferror (f) || fclose (f) != 0;
2106
2107  ;
2108  return 0;
2109}
2110_ACEOF
2111if ac_fn_c_try_run "$LINENO"; then :
2112  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2113else
2114  ac_retval=1
2115fi
2116rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2117  conftest.$ac_objext conftest.beam conftest.$ac_ext
2118rm -f conftest.val
2119
2120  fi
2121  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122  as_fn_set_status $ac_retval
2123
2124} # ac_fn_c_compute_int
2125
2126# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2127# -------------------------------------------------------
2128# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2129# the include files in INCLUDES and setting the cache variable VAR
2130# accordingly.
2131ac_fn_c_check_header_mongrel ()
2132{
2133  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134  if eval \${$3+:} false; then :
2135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2136$as_echo_n "checking for $2... " >&6; }
2137if eval \${$3+:} false; then :
2138  $as_echo_n "(cached) " >&6
2139fi
2140eval ac_res=\$$3
2141	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2142$as_echo "$ac_res" >&6; }
2143else
2144  # Is the header compilable?
2145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2146$as_echo_n "checking $2 usability... " >&6; }
2147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148/* end confdefs.h.  */
2149$4
2150#include <$2>
2151_ACEOF
2152if ac_fn_c_try_compile "$LINENO"; then :
2153  ac_header_compiler=yes
2154else
2155  ac_header_compiler=no
2156fi
2157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2159$as_echo "$ac_header_compiler" >&6; }
2160
2161# Is the header present?
2162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2163$as_echo_n "checking $2 presence... " >&6; }
2164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165/* end confdefs.h.  */
2166#include <$2>
2167_ACEOF
2168if ac_fn_c_try_cpp "$LINENO"; then :
2169  ac_header_preproc=yes
2170else
2171  ac_header_preproc=no
2172fi
2173rm -f conftest.err conftest.i conftest.$ac_ext
2174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2175$as_echo "$ac_header_preproc" >&6; }
2176
2177# So?  What about this header?
2178case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2179  yes:no: )
2180    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2181$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2182    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2183$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2184    ;;
2185  no:yes:* )
2186    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2187$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2188    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2189$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2190    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2191$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2192    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2193$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2194    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2195$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2196( $as_echo "## -------------------------------------------------------------------------- ##
2197## Report this to https://sourceforge.net/p/xffm/bugs/milestone/rodent-samba/ ##
2198## -------------------------------------------------------------------------- ##"
2199     ) | sed "s/^/$as_me: WARNING:     /" >&2
2200    ;;
2201esac
2202  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2203$as_echo_n "checking for $2... " >&6; }
2204if eval \${$3+:} false; then :
2205  $as_echo_n "(cached) " >&6
2206else
2207  eval "$3=\$ac_header_compiler"
2208fi
2209eval ac_res=\$$3
2210	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211$as_echo "$ac_res" >&6; }
2212fi
2213  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2214
2215} # ac_fn_c_check_header_mongrel
2216
2217# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2218# ----------------------------------------------------
2219# Tries to find if the field MEMBER exists in type AGGR, after including
2220# INCLUDES, setting cache variable VAR accordingly.
2221ac_fn_c_check_member ()
2222{
2223  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2225$as_echo_n "checking for $2.$3... " >&6; }
2226if eval \${$4+:} false; then :
2227  $as_echo_n "(cached) " >&6
2228else
2229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230/* end confdefs.h.  */
2231$5
2232int
2233main ()
2234{
2235static $2 ac_aggr;
2236if (ac_aggr.$3)
2237return 0;
2238  ;
2239  return 0;
2240}
2241_ACEOF
2242if ac_fn_c_try_compile "$LINENO"; then :
2243  eval "$4=yes"
2244else
2245  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246/* end confdefs.h.  */
2247$5
2248int
2249main ()
2250{
2251static $2 ac_aggr;
2252if (sizeof ac_aggr.$3)
2253return 0;
2254  ;
2255  return 0;
2256}
2257_ACEOF
2258if ac_fn_c_try_compile "$LINENO"; then :
2259  eval "$4=yes"
2260else
2261  eval "$4=no"
2262fi
2263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264fi
2265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2266fi
2267eval ac_res=\$$4
2268	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2269$as_echo "$ac_res" >&6; }
2270  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2271
2272} # ac_fn_c_check_member
2273
2274# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2275# ---------------------------------------------
2276# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2277# accordingly.
2278ac_fn_c_check_decl ()
2279{
2280  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281  as_decl_name=`echo $2|sed 's/ *(.*//'`
2282  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2284$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2285if eval \${$3+:} false; then :
2286  $as_echo_n "(cached) " >&6
2287else
2288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289/* end confdefs.h.  */
2290$4
2291int
2292main ()
2293{
2294#ifndef $as_decl_name
2295#ifdef __cplusplus
2296  (void) $as_decl_use;
2297#else
2298  (void) $as_decl_name;
2299#endif
2300#endif
2301
2302  ;
2303  return 0;
2304}
2305_ACEOF
2306if ac_fn_c_try_compile "$LINENO"; then :
2307  eval "$3=yes"
2308else
2309  eval "$3=no"
2310fi
2311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312fi
2313eval ac_res=\$$3
2314	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2315$as_echo "$ac_res" >&6; }
2316  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317
2318} # ac_fn_c_check_decl
2319cat >config.log <<_ACEOF
2320This file contains any messages produced by compilers while
2321running configure, to aid debugging if configure makes a mistake.
2322
2323It was created by rodent-samba $as_me 5.3.16.3, which was
2324generated by GNU Autoconf 2.69.  Invocation command line was
2325
2326  $ $0 $@
2327
2328_ACEOF
2329exec 5>>config.log
2330{
2331cat <<_ASUNAME
2332## --------- ##
2333## Platform. ##
2334## --------- ##
2335
2336hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2337uname -m = `(uname -m) 2>/dev/null || echo unknown`
2338uname -r = `(uname -r) 2>/dev/null || echo unknown`
2339uname -s = `(uname -s) 2>/dev/null || echo unknown`
2340uname -v = `(uname -v) 2>/dev/null || echo unknown`
2341
2342/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2343/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2344
2345/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2346/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2347/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2348/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2349/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2350/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2351/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2352
2353_ASUNAME
2354
2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356for as_dir in $PATH
2357do
2358  IFS=$as_save_IFS
2359  test -z "$as_dir" && as_dir=.
2360    $as_echo "PATH: $as_dir"
2361  done
2362IFS=$as_save_IFS
2363
2364} >&5
2365
2366cat >&5 <<_ACEOF
2367
2368
2369## ----------- ##
2370## Core tests. ##
2371## ----------- ##
2372
2373_ACEOF
2374
2375
2376# Keep a trace of the command line.
2377# Strip out --no-create and --no-recursion so they do not pile up.
2378# Strip out --silent because we don't want to record it for future runs.
2379# Also quote any args containing shell meta-characters.
2380# Make two passes to allow for proper duplicate-argument suppression.
2381ac_configure_args=
2382ac_configure_args0=
2383ac_configure_args1=
2384ac_must_keep_next=false
2385for ac_pass in 1 2
2386do
2387  for ac_arg
2388  do
2389    case $ac_arg in
2390    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2391    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2392    | -silent | --silent | --silen | --sile | --sil)
2393      continue ;;
2394    *\'*)
2395      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2396    esac
2397    case $ac_pass in
2398    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2399    2)
2400      as_fn_append ac_configure_args1 " '$ac_arg'"
2401      if test $ac_must_keep_next = true; then
2402	ac_must_keep_next=false # Got value, back to normal.
2403      else
2404	case $ac_arg in
2405	  *=* | --config-cache | -C | -disable-* | --disable-* \
2406	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2407	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2408	  | -with-* | --with-* | -without-* | --without-* | --x)
2409	    case "$ac_configure_args0 " in
2410	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2411	    esac
2412	    ;;
2413	  -* ) ac_must_keep_next=true ;;
2414	esac
2415      fi
2416      as_fn_append ac_configure_args " '$ac_arg'"
2417      ;;
2418    esac
2419  done
2420done
2421{ ac_configure_args0=; unset ac_configure_args0;}
2422{ ac_configure_args1=; unset ac_configure_args1;}
2423
2424# When interrupted or exit'd, cleanup temporary files, and complete
2425# config.log.  We remove comments because anyway the quotes in there
2426# would cause problems or look ugly.
2427# WARNING: Use '\'' to represent an apostrophe within the trap.
2428# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2429trap 'exit_status=$?
2430  # Save into config.log some information that might help in debugging.
2431  {
2432    echo
2433
2434    $as_echo "## ---------------- ##
2435## Cache variables. ##
2436## ---------------- ##"
2437    echo
2438    # The following way of writing the cache mishandles newlines in values,
2439(
2440  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2441    eval ac_val=\$$ac_var
2442    case $ac_val in #(
2443    *${as_nl}*)
2444      case $ac_var in #(
2445      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2446$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2447      esac
2448      case $ac_var in #(
2449      _ | IFS | as_nl) ;; #(
2450      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2451      *) { eval $ac_var=; unset $ac_var;} ;;
2452      esac ;;
2453    esac
2454  done
2455  (set) 2>&1 |
2456    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2457    *${as_nl}ac_space=\ *)
2458      sed -n \
2459	"s/'\''/'\''\\\\'\'''\''/g;
2460	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2461      ;; #(
2462    *)
2463      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2464      ;;
2465    esac |
2466    sort
2467)
2468    echo
2469
2470    $as_echo "## ----------------- ##
2471## Output variables. ##
2472## ----------------- ##"
2473    echo
2474    for ac_var in $ac_subst_vars
2475    do
2476      eval ac_val=\$$ac_var
2477      case $ac_val in
2478      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2479      esac
2480      $as_echo "$ac_var='\''$ac_val'\''"
2481    done | sort
2482    echo
2483
2484    if test -n "$ac_subst_files"; then
2485      $as_echo "## ------------------- ##
2486## File substitutions. ##
2487## ------------------- ##"
2488      echo
2489      for ac_var in $ac_subst_files
2490      do
2491	eval ac_val=\$$ac_var
2492	case $ac_val in
2493	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2494	esac
2495	$as_echo "$ac_var='\''$ac_val'\''"
2496      done | sort
2497      echo
2498    fi
2499
2500    if test -s confdefs.h; then
2501      $as_echo "## ----------- ##
2502## confdefs.h. ##
2503## ----------- ##"
2504      echo
2505      cat confdefs.h
2506      echo
2507    fi
2508    test "$ac_signal" != 0 &&
2509      $as_echo "$as_me: caught signal $ac_signal"
2510    $as_echo "$as_me: exit $exit_status"
2511  } >&5
2512  rm -f core *.core core.conftest.* &&
2513    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2514    exit $exit_status
2515' 0
2516for ac_signal in 1 2 13 15; do
2517  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2518done
2519ac_signal=0
2520
2521# confdefs.h avoids OS command line length limits that DEFS can exceed.
2522rm -f -r conftest* confdefs.h
2523
2524$as_echo "/* confdefs.h */" > confdefs.h
2525
2526# Predefined preprocessor variables.
2527
2528cat >>confdefs.h <<_ACEOF
2529#define PACKAGE_NAME "$PACKAGE_NAME"
2530_ACEOF
2531
2532cat >>confdefs.h <<_ACEOF
2533#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2534_ACEOF
2535
2536cat >>confdefs.h <<_ACEOF
2537#define PACKAGE_VERSION "$PACKAGE_VERSION"
2538_ACEOF
2539
2540cat >>confdefs.h <<_ACEOF
2541#define PACKAGE_STRING "$PACKAGE_STRING"
2542_ACEOF
2543
2544cat >>confdefs.h <<_ACEOF
2545#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2546_ACEOF
2547
2548cat >>confdefs.h <<_ACEOF
2549#define PACKAGE_URL "$PACKAGE_URL"
2550_ACEOF
2551
2552
2553# Let the site file select an alternate cache file if it wants to.
2554# Prefer an explicitly selected file to automatically selected ones.
2555ac_site_file1=NONE
2556ac_site_file2=NONE
2557if test -n "$CONFIG_SITE"; then
2558  # We do not want a PATH search for config.site.
2559  case $CONFIG_SITE in #((
2560    -*)  ac_site_file1=./$CONFIG_SITE;;
2561    */*) ac_site_file1=$CONFIG_SITE;;
2562    *)   ac_site_file1=./$CONFIG_SITE;;
2563  esac
2564elif test "x$prefix" != xNONE; then
2565  ac_site_file1=$prefix/share/config.site
2566  ac_site_file2=$prefix/etc/config.site
2567else
2568  ac_site_file1=$ac_default_prefix/share/config.site
2569  ac_site_file2=$ac_default_prefix/etc/config.site
2570fi
2571for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2572do
2573  test "x$ac_site_file" = xNONE && continue
2574  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2575    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2576$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2577    sed 's/^/| /' "$ac_site_file" >&5
2578    . "$ac_site_file" \
2579      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581as_fn_error $? "failed to load site script $ac_site_file
2582See \`config.log' for more details" "$LINENO" 5; }
2583  fi
2584done
2585
2586if test -r "$cache_file"; then
2587  # Some versions of bash will fail to source /dev/null (special files
2588  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2589  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2590    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2591$as_echo "$as_me: loading cache $cache_file" >&6;}
2592    case $cache_file in
2593      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2594      *)                      . "./$cache_file";;
2595    esac
2596  fi
2597else
2598  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2599$as_echo "$as_me: creating cache $cache_file" >&6;}
2600  >$cache_file
2601fi
2602
2603# Check that the precious variables saved in the cache have kept the same
2604# value.
2605ac_cache_corrupted=false
2606for ac_var in $ac_precious_vars; do
2607  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2608  eval ac_new_set=\$ac_env_${ac_var}_set
2609  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2610  eval ac_new_val=\$ac_env_${ac_var}_value
2611  case $ac_old_set,$ac_new_set in
2612    set,)
2613      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2614$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2615      ac_cache_corrupted=: ;;
2616    ,set)
2617      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2618$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2619      ac_cache_corrupted=: ;;
2620    ,);;
2621    *)
2622      if test "x$ac_old_val" != "x$ac_new_val"; then
2623	# differences in whitespace do not lead to failure.
2624	ac_old_val_w=`echo x $ac_old_val`
2625	ac_new_val_w=`echo x $ac_new_val`
2626	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2627	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2628$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2629	  ac_cache_corrupted=:
2630	else
2631	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2632$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2633	  eval $ac_var=\$ac_old_val
2634	fi
2635	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2636$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2637	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2638$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2639      fi;;
2640  esac
2641  # Pass precious variables to config.status.
2642  if test "$ac_new_set" = set; then
2643    case $ac_new_val in
2644    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2645    *) ac_arg=$ac_var=$ac_new_val ;;
2646    esac
2647    case " $ac_configure_args " in
2648      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2649      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2650    esac
2651  fi
2652done
2653if $ac_cache_corrupted; then
2654  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2657$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2658  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2659fi
2660## -------------------- ##
2661## Main body of script. ##
2662## -------------------- ##
2663
2664ac_ext=c
2665ac_cpp='$CPP $CPPFLAGS'
2666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668ac_compiler_gnu=$ac_cv_c_compiler_gnu
2669
2670
2671
2672ac_aux_dir=
2673for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2674  if test -f "$ac_dir/install-sh"; then
2675    ac_aux_dir=$ac_dir
2676    ac_install_sh="$ac_aux_dir/install-sh -c"
2677    break
2678  elif test -f "$ac_dir/install.sh"; then
2679    ac_aux_dir=$ac_dir
2680    ac_install_sh="$ac_aux_dir/install.sh -c"
2681    break
2682  elif test -f "$ac_dir/shtool"; then
2683    ac_aux_dir=$ac_dir
2684    ac_install_sh="$ac_aux_dir/shtool install -c"
2685    break
2686  fi
2687done
2688if test -z "$ac_aux_dir"; then
2689  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2690fi
2691
2692# These three variables are undocumented and unsupported,
2693# and are intended to be withdrawn in a future Autoconf release.
2694# They can cause serious problems if a builder's source tree is in a directory
2695# whose full name contains unusual characters.
2696ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2697ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2698ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2699
2700
2701case `pwd` in
2702  *\ * | *\	*)
2703    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2704$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2705esac
2706
2707
2708
2709macro_version='2.4.6'
2710macro_revision='2.4.6'
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724ltmain=$ac_aux_dir/ltmain.sh
2725
2726# Make sure we can run config.sub.
2727$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2728  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2729
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2731$as_echo_n "checking build system type... " >&6; }
2732if ${ac_cv_build+:} false; then :
2733  $as_echo_n "(cached) " >&6
2734else
2735  ac_build_alias=$build_alias
2736test "x$ac_build_alias" = x &&
2737  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2738test "x$ac_build_alias" = x &&
2739  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2740ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2741  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2742
2743fi
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2745$as_echo "$ac_cv_build" >&6; }
2746case $ac_cv_build in
2747*-*-*) ;;
2748*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2749esac
2750build=$ac_cv_build
2751ac_save_IFS=$IFS; IFS='-'
2752set x $ac_cv_build
2753shift
2754build_cpu=$1
2755build_vendor=$2
2756shift; shift
2757# Remember, the first character of IFS is used to create $*,
2758# except with old shells:
2759build_os=$*
2760IFS=$ac_save_IFS
2761case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2762
2763
2764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2765$as_echo_n "checking host system type... " >&6; }
2766if ${ac_cv_host+:} false; then :
2767  $as_echo_n "(cached) " >&6
2768else
2769  if test "x$host_alias" = x; then
2770  ac_cv_host=$ac_cv_build
2771else
2772  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2773    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2774fi
2775
2776fi
2777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2778$as_echo "$ac_cv_host" >&6; }
2779case $ac_cv_host in
2780*-*-*) ;;
2781*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2782esac
2783host=$ac_cv_host
2784ac_save_IFS=$IFS; IFS='-'
2785set x $ac_cv_host
2786shift
2787host_cpu=$1
2788host_vendor=$2
2789shift; shift
2790# Remember, the first character of IFS is used to create $*,
2791# except with old shells:
2792host_os=$*
2793IFS=$ac_save_IFS
2794case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2795
2796
2797# Backslashify metacharacters that are still active within
2798# double-quoted strings.
2799sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2800
2801# Same as above, but do not quote variable references.
2802double_quote_subst='s/\(["`\\]\)/\\\1/g'
2803
2804# Sed substitution to delay expansion of an escaped shell variable in a
2805# double_quote_subst'ed string.
2806delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2807
2808# Sed substitution to delay expansion of an escaped single quote.
2809delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2810
2811# Sed substitution to avoid accidental globbing in evaled expressions
2812no_glob_subst='s/\*/\\\*/g'
2813
2814ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2815ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2816ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2817
2818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2819$as_echo_n "checking how to print strings... " >&6; }
2820# Test print first, because it will be a builtin if present.
2821if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2822   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2823  ECHO='print -r --'
2824elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2825  ECHO='printf %s\n'
2826else
2827  # Use this function as a fallback that always works.
2828  func_fallback_echo ()
2829  {
2830    eval 'cat <<_LTECHO_EOF
2831$1
2832_LTECHO_EOF'
2833  }
2834  ECHO='func_fallback_echo'
2835fi
2836
2837# func_echo_all arg...
2838# Invoke $ECHO with all args, space-separated.
2839func_echo_all ()
2840{
2841    $ECHO ""
2842}
2843
2844case $ECHO in
2845  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2846$as_echo "printf" >&6; } ;;
2847  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2848$as_echo "print -r" >&6; } ;;
2849  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2850$as_echo "cat" >&6; } ;;
2851esac
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866# Expand $ac_aux_dir to an absolute path.
2867am_aux_dir=`cd "$ac_aux_dir" && pwd`
2868
2869ac_ext=c
2870ac_cpp='$CPP $CPPFLAGS'
2871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873ac_compiler_gnu=$ac_cv_c_compiler_gnu
2874if test -n "$ac_tool_prefix"; then
2875  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2876set dummy ${ac_tool_prefix}gcc; ac_word=$2
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878$as_echo_n "checking for $ac_word... " >&6; }
2879if ${ac_cv_prog_CC+:} false; then :
2880  $as_echo_n "(cached) " >&6
2881else
2882  if test -n "$CC"; then
2883  ac_cv_prog_CC="$CC" # Let the user override the test.
2884else
2885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886for as_dir in $PATH
2887do
2888  IFS=$as_save_IFS
2889  test -z "$as_dir" && as_dir=.
2890    for ac_exec_ext in '' $ac_executable_extensions; do
2891  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894    break 2
2895  fi
2896done
2897  done
2898IFS=$as_save_IFS
2899
2900fi
2901fi
2902CC=$ac_cv_prog_CC
2903if test -n "$CC"; then
2904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2905$as_echo "$CC" >&6; }
2906else
2907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908$as_echo "no" >&6; }
2909fi
2910
2911
2912fi
2913if test -z "$ac_cv_prog_CC"; then
2914  ac_ct_CC=$CC
2915  # Extract the first word of "gcc", so it can be a program name with args.
2916set dummy gcc; ac_word=$2
2917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918$as_echo_n "checking for $ac_word... " >&6; }
2919if ${ac_cv_prog_ac_ct_CC+:} false; then :
2920  $as_echo_n "(cached) " >&6
2921else
2922  if test -n "$ac_ct_CC"; then
2923  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2924else
2925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926for as_dir in $PATH
2927do
2928  IFS=$as_save_IFS
2929  test -z "$as_dir" && as_dir=.
2930    for ac_exec_ext in '' $ac_executable_extensions; do
2931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932    ac_cv_prog_ac_ct_CC="gcc"
2933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934    break 2
2935  fi
2936done
2937  done
2938IFS=$as_save_IFS
2939
2940fi
2941fi
2942ac_ct_CC=$ac_cv_prog_ac_ct_CC
2943if test -n "$ac_ct_CC"; then
2944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2945$as_echo "$ac_ct_CC" >&6; }
2946else
2947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948$as_echo "no" >&6; }
2949fi
2950
2951  if test "x$ac_ct_CC" = x; then
2952    CC=""
2953  else
2954    case $cross_compiling:$ac_tool_warned in
2955yes:)
2956{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2957$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2958ac_tool_warned=yes ;;
2959esac
2960    CC=$ac_ct_CC
2961  fi
2962else
2963  CC="$ac_cv_prog_CC"
2964fi
2965
2966if test -z "$CC"; then
2967          if test -n "$ac_tool_prefix"; then
2968    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2969set dummy ${ac_tool_prefix}cc; ac_word=$2
2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971$as_echo_n "checking for $ac_word... " >&6; }
2972if ${ac_cv_prog_CC+:} false; then :
2973  $as_echo_n "(cached) " >&6
2974else
2975  if test -n "$CC"; then
2976  ac_cv_prog_CC="$CC" # Let the user override the test.
2977else
2978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979for as_dir in $PATH
2980do
2981  IFS=$as_save_IFS
2982  test -z "$as_dir" && as_dir=.
2983    for ac_exec_ext in '' $ac_executable_extensions; do
2984  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985    ac_cv_prog_CC="${ac_tool_prefix}cc"
2986    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987    break 2
2988  fi
2989done
2990  done
2991IFS=$as_save_IFS
2992
2993fi
2994fi
2995CC=$ac_cv_prog_CC
2996if test -n "$CC"; then
2997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998$as_echo "$CC" >&6; }
2999else
3000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001$as_echo "no" >&6; }
3002fi
3003
3004
3005  fi
3006fi
3007if test -z "$CC"; then
3008  # Extract the first word of "cc", so it can be a program name with args.
3009set dummy cc; ac_word=$2
3010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011$as_echo_n "checking for $ac_word... " >&6; }
3012if ${ac_cv_prog_CC+:} false; then :
3013  $as_echo_n "(cached) " >&6
3014else
3015  if test -n "$CC"; then
3016  ac_cv_prog_CC="$CC" # Let the user override the test.
3017else
3018  ac_prog_rejected=no
3019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020for as_dir in $PATH
3021do
3022  IFS=$as_save_IFS
3023  test -z "$as_dir" && as_dir=.
3024    for ac_exec_ext in '' $ac_executable_extensions; do
3025  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3026    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3027       ac_prog_rejected=yes
3028       continue
3029     fi
3030    ac_cv_prog_CC="cc"
3031    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032    break 2
3033  fi
3034done
3035  done
3036IFS=$as_save_IFS
3037
3038if test $ac_prog_rejected = yes; then
3039  # We found a bogon in the path, so make sure we never use it.
3040  set dummy $ac_cv_prog_CC
3041  shift
3042  if test $# != 0; then
3043    # We chose a different compiler from the bogus one.
3044    # However, it has the same basename, so the bogon will be chosen
3045    # first if we set CC to just the basename; use the full file name.
3046    shift
3047    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3048  fi
3049fi
3050fi
3051fi
3052CC=$ac_cv_prog_CC
3053if test -n "$CC"; then
3054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055$as_echo "$CC" >&6; }
3056else
3057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058$as_echo "no" >&6; }
3059fi
3060
3061
3062fi
3063if test -z "$CC"; then
3064  if test -n "$ac_tool_prefix"; then
3065  for ac_prog in cl.exe
3066  do
3067    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3068set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070$as_echo_n "checking for $ac_word... " >&6; }
3071if ${ac_cv_prog_CC+:} false; then :
3072  $as_echo_n "(cached) " >&6
3073else
3074  if test -n "$CC"; then
3075  ac_cv_prog_CC="$CC" # Let the user override the test.
3076else
3077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078for as_dir in $PATH
3079do
3080  IFS=$as_save_IFS
3081  test -z "$as_dir" && as_dir=.
3082    for ac_exec_ext in '' $ac_executable_extensions; do
3083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086    break 2
3087  fi
3088done
3089  done
3090IFS=$as_save_IFS
3091
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
3104    test -n "$CC" && break
3105  done
3106fi
3107if test -z "$CC"; then
3108  ac_ct_CC=$CC
3109  for ac_prog in cl.exe
3110do
3111  # Extract the first word of "$ac_prog", so it can be a program name with args.
3112set dummy $ac_prog; ac_word=$2
3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114$as_echo_n "checking for $ac_word... " >&6; }
3115if ${ac_cv_prog_ac_ct_CC+:} false; then :
3116  $as_echo_n "(cached) " >&6
3117else
3118  if test -n "$ac_ct_CC"; then
3119  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3120else
3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122for as_dir in $PATH
3123do
3124  IFS=$as_save_IFS
3125  test -z "$as_dir" && as_dir=.
3126    for ac_exec_ext in '' $ac_executable_extensions; do
3127  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128    ac_cv_prog_ac_ct_CC="$ac_prog"
3129    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130    break 2
3131  fi
3132done
3133  done
3134IFS=$as_save_IFS
3135
3136fi
3137fi
3138ac_ct_CC=$ac_cv_prog_ac_ct_CC
3139if test -n "$ac_ct_CC"; then
3140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3141$as_echo "$ac_ct_CC" >&6; }
3142else
3143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144$as_echo "no" >&6; }
3145fi
3146
3147
3148  test -n "$ac_ct_CC" && break
3149done
3150
3151  if test "x$ac_ct_CC" = x; then
3152    CC=""
3153  else
3154    case $cross_compiling:$ac_tool_warned in
3155yes:)
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3158ac_tool_warned=yes ;;
3159esac
3160    CC=$ac_ct_CC
3161  fi
3162fi
3163
3164fi
3165
3166
3167test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169as_fn_error $? "no acceptable C compiler found in \$PATH
3170See \`config.log' for more details" "$LINENO" 5; }
3171
3172# Provide some information about the compiler.
3173$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3174set X $ac_compile
3175ac_compiler=$2
3176for ac_option in --version -v -V -qversion; do
3177  { { ac_try="$ac_compiler $ac_option >&5"
3178case "(($ac_try" in
3179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180  *) ac_try_echo=$ac_try;;
3181esac
3182eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183$as_echo "$ac_try_echo"; } >&5
3184  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3185  ac_status=$?
3186  if test -s conftest.err; then
3187    sed '10a\
3188... rest of stderr output deleted ...
3189         10q' conftest.err >conftest.er1
3190    cat conftest.er1 >&5
3191  fi
3192  rm -f conftest.er1 conftest.err
3193  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194  test $ac_status = 0; }
3195done
3196
3197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198/* end confdefs.h.  */
3199
3200int
3201main ()
3202{
3203
3204  ;
3205  return 0;
3206}
3207_ACEOF
3208ac_clean_files_save=$ac_clean_files
3209ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3210# Try to create an executable without -o first, disregard a.out.
3211# It will help us diagnose broken compilers, and finding out an intuition
3212# of exeext.
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3214$as_echo_n "checking whether the C compiler works... " >&6; }
3215ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3216
3217# The possible output files:
3218ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3219
3220ac_rmfiles=
3221for ac_file in $ac_files
3222do
3223  case $ac_file in
3224    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3225    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3226  esac
3227done
3228rm -f $ac_rmfiles
3229
3230if { { ac_try="$ac_link_default"
3231case "(($ac_try" in
3232  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233  *) ac_try_echo=$ac_try;;
3234esac
3235eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236$as_echo "$ac_try_echo"; } >&5
3237  (eval "$ac_link_default") 2>&5
3238  ac_status=$?
3239  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240  test $ac_status = 0; }; then :
3241  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3242# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3243# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3244# so that the user can short-circuit this test for compilers unknown to
3245# Autoconf.
3246for ac_file in $ac_files ''
3247do
3248  test -f "$ac_file" || continue
3249  case $ac_file in
3250    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3251	;;
3252    [ab].out )
3253	# We found the default executable, but exeext='' is most
3254	# certainly right.
3255	break;;
3256    *.* )
3257	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3258	then :; else
3259	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3260	fi
3261	# We set ac_cv_exeext here because the later test for it is not
3262	# safe: cross compilers may not add the suffix if given an `-o'
3263	# argument, so we may need to know it at that point already.
3264	# Even if this section looks crufty: it has the advantage of
3265	# actually working.
3266	break;;
3267    * )
3268	break;;
3269  esac
3270done
3271test "$ac_cv_exeext" = no && ac_cv_exeext=
3272
3273else
3274  ac_file=''
3275fi
3276if test -z "$ac_file"; then :
3277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278$as_echo "no" >&6; }
3279$as_echo "$as_me: failed program was:" >&5
3280sed 's/^/| /' conftest.$ac_ext >&5
3281
3282{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3284as_fn_error 77 "C compiler cannot create executables
3285See \`config.log' for more details" "$LINENO" 5; }
3286else
3287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3288$as_echo "yes" >&6; }
3289fi
3290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3291$as_echo_n "checking for C compiler default output file name... " >&6; }
3292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3293$as_echo "$ac_file" >&6; }
3294ac_exeext=$ac_cv_exeext
3295
3296rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3297ac_clean_files=$ac_clean_files_save
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3299$as_echo_n "checking for suffix of executables... " >&6; }
3300if { { ac_try="$ac_link"
3301case "(($ac_try" in
3302  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303  *) ac_try_echo=$ac_try;;
3304esac
3305eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306$as_echo "$ac_try_echo"; } >&5
3307  (eval "$ac_link") 2>&5
3308  ac_status=$?
3309  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310  test $ac_status = 0; }; then :
3311  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3312# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3313# work properly (i.e., refer to `conftest.exe'), while it won't with
3314# `rm'.
3315for ac_file in conftest.exe conftest conftest.*; do
3316  test -f "$ac_file" || continue
3317  case $ac_file in
3318    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3319    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3320	  break;;
3321    * ) break;;
3322  esac
3323done
3324else
3325  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3328See \`config.log' for more details" "$LINENO" 5; }
3329fi
3330rm -f conftest conftest$ac_cv_exeext
3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3332$as_echo "$ac_cv_exeext" >&6; }
3333
3334rm -f conftest.$ac_ext
3335EXEEXT=$ac_cv_exeext
3336ac_exeext=$EXEEXT
3337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338/* end confdefs.h.  */
3339#include <stdio.h>
3340int
3341main ()
3342{
3343FILE *f = fopen ("conftest.out", "w");
3344 return ferror (f) || fclose (f) != 0;
3345
3346  ;
3347  return 0;
3348}
3349_ACEOF
3350ac_clean_files="$ac_clean_files conftest.out"
3351# Check that the compiler produces executables we can run.  If not, either
3352# the compiler is broken, or we cross compile.
3353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3354$as_echo_n "checking whether we are cross compiling... " >&6; }
3355if test "$cross_compiling" != yes; then
3356  { { ac_try="$ac_link"
3357case "(($ac_try" in
3358  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359  *) ac_try_echo=$ac_try;;
3360esac
3361eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362$as_echo "$ac_try_echo"; } >&5
3363  (eval "$ac_link") 2>&5
3364  ac_status=$?
3365  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3366  test $ac_status = 0; }
3367  if { ac_try='./conftest$ac_cv_exeext'
3368  { { case "(($ac_try" in
3369  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370  *) ac_try_echo=$ac_try;;
3371esac
3372eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373$as_echo "$ac_try_echo"; } >&5
3374  (eval "$ac_try") 2>&5
3375  ac_status=$?
3376  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3377  test $ac_status = 0; }; }; then
3378    cross_compiling=no
3379  else
3380    if test "$cross_compiling" = maybe; then
3381	cross_compiling=yes
3382    else
3383	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385as_fn_error $? "cannot run C compiled programs.
3386If you meant to cross compile, use \`--host'.
3387See \`config.log' for more details" "$LINENO" 5; }
3388    fi
3389  fi
3390fi
3391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3392$as_echo "$cross_compiling" >&6; }
3393
3394rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3395ac_clean_files=$ac_clean_files_save
3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3397$as_echo_n "checking for suffix of object files... " >&6; }
3398if ${ac_cv_objext+:} false; then :
3399  $as_echo_n "(cached) " >&6
3400else
3401  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402/* end confdefs.h.  */
3403
3404int
3405main ()
3406{
3407
3408  ;
3409  return 0;
3410}
3411_ACEOF
3412rm -f conftest.o conftest.obj
3413if { { ac_try="$ac_compile"
3414case "(($ac_try" in
3415  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416  *) ac_try_echo=$ac_try;;
3417esac
3418eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419$as_echo "$ac_try_echo"; } >&5
3420  (eval "$ac_compile") 2>&5
3421  ac_status=$?
3422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423  test $ac_status = 0; }; then :
3424  for ac_file in conftest.o conftest.obj conftest.*; do
3425  test -f "$ac_file" || continue;
3426  case $ac_file in
3427    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3428    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3429       break;;
3430  esac
3431done
3432else
3433  $as_echo "$as_me: failed program was:" >&5
3434sed 's/^/| /' conftest.$ac_ext >&5
3435
3436{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3438as_fn_error $? "cannot compute suffix of object files: cannot compile
3439See \`config.log' for more details" "$LINENO" 5; }
3440fi
3441rm -f conftest.$ac_cv_objext conftest.$ac_ext
3442fi
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3444$as_echo "$ac_cv_objext" >&6; }
3445OBJEXT=$ac_cv_objext
3446ac_objext=$OBJEXT
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3448$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3449if ${ac_cv_c_compiler_gnu+:} false; then :
3450  $as_echo_n "(cached) " >&6
3451else
3452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453/* end confdefs.h.  */
3454
3455int
3456main ()
3457{
3458#ifndef __GNUC__
3459       choke me
3460#endif
3461
3462  ;
3463  return 0;
3464}
3465_ACEOF
3466if ac_fn_c_try_compile "$LINENO"; then :
3467  ac_compiler_gnu=yes
3468else
3469  ac_compiler_gnu=no
3470fi
3471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472ac_cv_c_compiler_gnu=$ac_compiler_gnu
3473
3474fi
3475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3476$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3477if test $ac_compiler_gnu = yes; then
3478  GCC=yes
3479else
3480  GCC=
3481fi
3482ac_test_CFLAGS=${CFLAGS+set}
3483ac_save_CFLAGS=$CFLAGS
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3485$as_echo_n "checking whether $CC accepts -g... " >&6; }
3486if ${ac_cv_prog_cc_g+:} false; then :
3487  $as_echo_n "(cached) " >&6
3488else
3489  ac_save_c_werror_flag=$ac_c_werror_flag
3490   ac_c_werror_flag=yes
3491   ac_cv_prog_cc_g=no
3492   CFLAGS="-g"
3493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494/* end confdefs.h.  */
3495
3496int
3497main ()
3498{
3499
3500  ;
3501  return 0;
3502}
3503_ACEOF
3504if ac_fn_c_try_compile "$LINENO"; then :
3505  ac_cv_prog_cc_g=yes
3506else
3507  CFLAGS=""
3508      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509/* end confdefs.h.  */
3510
3511int
3512main ()
3513{
3514
3515  ;
3516  return 0;
3517}
3518_ACEOF
3519if ac_fn_c_try_compile "$LINENO"; then :
3520
3521else
3522  ac_c_werror_flag=$ac_save_c_werror_flag
3523	 CFLAGS="-g"
3524	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525/* end confdefs.h.  */
3526
3527int
3528main ()
3529{
3530
3531  ;
3532  return 0;
3533}
3534_ACEOF
3535if ac_fn_c_try_compile "$LINENO"; then :
3536  ac_cv_prog_cc_g=yes
3537fi
3538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539fi
3540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541fi
3542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543   ac_c_werror_flag=$ac_save_c_werror_flag
3544fi
3545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3546$as_echo "$ac_cv_prog_cc_g" >&6; }
3547if test "$ac_test_CFLAGS" = set; then
3548  CFLAGS=$ac_save_CFLAGS
3549elif test $ac_cv_prog_cc_g = yes; then
3550  if test "$GCC" = yes; then
3551    CFLAGS="-g -O2"
3552  else
3553    CFLAGS="-g"
3554  fi
3555else
3556  if test "$GCC" = yes; then
3557    CFLAGS="-O2"
3558  else
3559    CFLAGS=
3560  fi
3561fi
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3563$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3564if ${ac_cv_prog_cc_c89+:} false; then :
3565  $as_echo_n "(cached) " >&6
3566else
3567  ac_cv_prog_cc_c89=no
3568ac_save_CC=$CC
3569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570/* end confdefs.h.  */
3571#include <stdarg.h>
3572#include <stdio.h>
3573struct stat;
3574/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3575struct buf { int x; };
3576FILE * (*rcsopen) (struct buf *, struct stat *, int);
3577static char *e (p, i)
3578     char **p;
3579     int i;
3580{
3581  return p[i];
3582}
3583static char *f (char * (*g) (char **, int), char **p, ...)
3584{
3585  char *s;
3586  va_list v;
3587  va_start (v,p);
3588  s = g (p, va_arg (v,int));
3589  va_end (v);
3590  return s;
3591}
3592
3593/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3594   function prototypes and stuff, but not '\xHH' hex character constants.
3595   These don't provoke an error unfortunately, instead are silently treated
3596   as 'x'.  The following induces an error, until -std is added to get
3597   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3598   array size at least.  It's necessary to write '\x00'==0 to get something
3599   that's true only with -std.  */
3600int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3601
3602/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3603   inside strings and character constants.  */
3604#define FOO(x) 'x'
3605int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3606
3607int test (int i, double x);
3608struct s1 {int (*f) (int a);};
3609struct s2 {int (*f) (double a);};
3610int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3611int argc;
3612char **argv;
3613int
3614main ()
3615{
3616return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3617  ;
3618  return 0;
3619}
3620_ACEOF
3621for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3622	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3623do
3624  CC="$ac_save_CC $ac_arg"
3625  if ac_fn_c_try_compile "$LINENO"; then :
3626  ac_cv_prog_cc_c89=$ac_arg
3627fi
3628rm -f core conftest.err conftest.$ac_objext
3629  test "x$ac_cv_prog_cc_c89" != "xno" && break
3630done
3631rm -f conftest.$ac_ext
3632CC=$ac_save_CC
3633
3634fi
3635# AC_CACHE_VAL
3636case "x$ac_cv_prog_cc_c89" in
3637  x)
3638    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3639$as_echo "none needed" >&6; } ;;
3640  xno)
3641    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3642$as_echo "unsupported" >&6; } ;;
3643  *)
3644    CC="$CC $ac_cv_prog_cc_c89"
3645    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3646$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3647esac
3648if test "x$ac_cv_prog_cc_c89" != xno; then :
3649
3650fi
3651
3652ac_ext=c
3653ac_cpp='$CPP $CPPFLAGS'
3654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656ac_compiler_gnu=$ac_cv_c_compiler_gnu
3657
3658ac_ext=c
3659ac_cpp='$CPP $CPPFLAGS'
3660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3662ac_compiler_gnu=$ac_cv_c_compiler_gnu
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3664$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3665if ${am_cv_prog_cc_c_o+:} false; then :
3666  $as_echo_n "(cached) " >&6
3667else
3668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669/* end confdefs.h.  */
3670
3671int
3672main ()
3673{
3674
3675  ;
3676  return 0;
3677}
3678_ACEOF
3679  # Make sure it works both with $CC and with simple cc.
3680  # Following AC_PROG_CC_C_O, we do the test twice because some
3681  # compilers refuse to overwrite an existing .o file with -o,
3682  # though they will create one.
3683  am_cv_prog_cc_c_o=yes
3684  for am_i in 1 2; do
3685    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3686   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3687   ac_status=$?
3688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689   (exit $ac_status); } \
3690         && test -f conftest2.$ac_objext; then
3691      : OK
3692    else
3693      am_cv_prog_cc_c_o=no
3694      break
3695    fi
3696  done
3697  rm -f core conftest*
3698  unset am_i
3699fi
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3701$as_echo "$am_cv_prog_cc_c_o" >&6; }
3702if test "$am_cv_prog_cc_c_o" != yes; then
3703   # Losing compiler, so override with the script.
3704   # FIXME: It is wrong to rewrite CC.
3705   # But if we don't then we get into trouble of one sort or another.
3706   # A longer-term fix would be to have automake use am__CC in this case,
3707   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3708   CC="$am_aux_dir/compile $CC"
3709fi
3710ac_ext=c
3711ac_cpp='$CPP $CPPFLAGS'
3712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3714ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715
3716
3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3718$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3719if ${ac_cv_path_SED+:} false; then :
3720  $as_echo_n "(cached) " >&6
3721else
3722            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3723     for ac_i in 1 2 3 4 5 6 7; do
3724       ac_script="$ac_script$as_nl$ac_script"
3725     done
3726     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3727     { ac_script=; unset ac_script;}
3728     if test -z "$SED"; then
3729  ac_path_SED_found=false
3730  # Loop through the user's path and test for each of PROGNAME-LIST
3731  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732for as_dir in $PATH
3733do
3734  IFS=$as_save_IFS
3735  test -z "$as_dir" && as_dir=.
3736    for ac_prog in sed gsed; do
3737    for ac_exec_ext in '' $ac_executable_extensions; do
3738      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3739      as_fn_executable_p "$ac_path_SED" || continue
3740# Check for GNU ac_path_SED and select it if it is found.
3741  # Check for GNU $ac_path_SED
3742case `"$ac_path_SED" --version 2>&1` in
3743*GNU*)
3744  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3745*)
3746  ac_count=0
3747  $as_echo_n 0123456789 >"conftest.in"
3748  while :
3749  do
3750    cat "conftest.in" "conftest.in" >"conftest.tmp"
3751    mv "conftest.tmp" "conftest.in"
3752    cp "conftest.in" "conftest.nl"
3753    $as_echo '' >> "conftest.nl"
3754    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3755    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3756    as_fn_arith $ac_count + 1 && ac_count=$as_val
3757    if test $ac_count -gt ${ac_path_SED_max-0}; then
3758      # Best one so far, save it but keep looking for a better one
3759      ac_cv_path_SED="$ac_path_SED"
3760      ac_path_SED_max=$ac_count
3761    fi
3762    # 10*(2^10) chars as input seems more than enough
3763    test $ac_count -gt 10 && break
3764  done
3765  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3766esac
3767
3768      $ac_path_SED_found && break 3
3769    done
3770  done
3771  done
3772IFS=$as_save_IFS
3773  if test -z "$ac_cv_path_SED"; then
3774    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3775  fi
3776else
3777  ac_cv_path_SED=$SED
3778fi
3779
3780fi
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3782$as_echo "$ac_cv_path_SED" >&6; }
3783 SED="$ac_cv_path_SED"
3784  rm -f conftest.sed
3785
3786test -z "$SED" && SED=sed
3787Xsed="$SED -e 1s/^X//"
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3800$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3801if ${ac_cv_path_GREP+:} false; then :
3802  $as_echo_n "(cached) " >&6
3803else
3804  if test -z "$GREP"; then
3805  ac_path_GREP_found=false
3806  # Loop through the user's path and test for each of PROGNAME-LIST
3807  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3809do
3810  IFS=$as_save_IFS
3811  test -z "$as_dir" && as_dir=.
3812    for ac_prog in grep ggrep; do
3813    for ac_exec_ext in '' $ac_executable_extensions; do
3814      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3815      as_fn_executable_p "$ac_path_GREP" || continue
3816# Check for GNU ac_path_GREP and select it if it is found.
3817  # Check for GNU $ac_path_GREP
3818case `"$ac_path_GREP" --version 2>&1` in
3819*GNU*)
3820  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3821*)
3822  ac_count=0
3823  $as_echo_n 0123456789 >"conftest.in"
3824  while :
3825  do
3826    cat "conftest.in" "conftest.in" >"conftest.tmp"
3827    mv "conftest.tmp" "conftest.in"
3828    cp "conftest.in" "conftest.nl"
3829    $as_echo 'GREP' >> "conftest.nl"
3830    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3831    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3832    as_fn_arith $ac_count + 1 && ac_count=$as_val
3833    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3834      # Best one so far, save it but keep looking for a better one
3835      ac_cv_path_GREP="$ac_path_GREP"
3836      ac_path_GREP_max=$ac_count
3837    fi
3838    # 10*(2^10) chars as input seems more than enough
3839    test $ac_count -gt 10 && break
3840  done
3841  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3842esac
3843
3844      $ac_path_GREP_found && break 3
3845    done
3846  done
3847  done
3848IFS=$as_save_IFS
3849  if test -z "$ac_cv_path_GREP"; then
3850    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3851  fi
3852else
3853  ac_cv_path_GREP=$GREP
3854fi
3855
3856fi
3857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3858$as_echo "$ac_cv_path_GREP" >&6; }
3859 GREP="$ac_cv_path_GREP"
3860
3861
3862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3863$as_echo_n "checking for egrep... " >&6; }
3864if ${ac_cv_path_EGREP+:} false; then :
3865  $as_echo_n "(cached) " >&6
3866else
3867  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3868   then ac_cv_path_EGREP="$GREP -E"
3869   else
3870     if test -z "$EGREP"; then
3871  ac_path_EGREP_found=false
3872  # Loop through the user's path and test for each of PROGNAME-LIST
3873  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3875do
3876  IFS=$as_save_IFS
3877  test -z "$as_dir" && as_dir=.
3878    for ac_prog in egrep; do
3879    for ac_exec_ext in '' $ac_executable_extensions; do
3880      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3881      as_fn_executable_p "$ac_path_EGREP" || continue
3882# Check for GNU ac_path_EGREP and select it if it is found.
3883  # Check for GNU $ac_path_EGREP
3884case `"$ac_path_EGREP" --version 2>&1` in
3885*GNU*)
3886  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3887*)
3888  ac_count=0
3889  $as_echo_n 0123456789 >"conftest.in"
3890  while :
3891  do
3892    cat "conftest.in" "conftest.in" >"conftest.tmp"
3893    mv "conftest.tmp" "conftest.in"
3894    cp "conftest.in" "conftest.nl"
3895    $as_echo 'EGREP' >> "conftest.nl"
3896    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3897    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3898    as_fn_arith $ac_count + 1 && ac_count=$as_val
3899    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3900      # Best one so far, save it but keep looking for a better one
3901      ac_cv_path_EGREP="$ac_path_EGREP"
3902      ac_path_EGREP_max=$ac_count
3903    fi
3904    # 10*(2^10) chars as input seems more than enough
3905    test $ac_count -gt 10 && break
3906  done
3907  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3908esac
3909
3910      $ac_path_EGREP_found && break 3
3911    done
3912  done
3913  done
3914IFS=$as_save_IFS
3915  if test -z "$ac_cv_path_EGREP"; then
3916    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3917  fi
3918else
3919  ac_cv_path_EGREP=$EGREP
3920fi
3921
3922   fi
3923fi
3924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3925$as_echo "$ac_cv_path_EGREP" >&6; }
3926 EGREP="$ac_cv_path_EGREP"
3927
3928
3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3930$as_echo_n "checking for fgrep... " >&6; }
3931if ${ac_cv_path_FGREP+:} false; then :
3932  $as_echo_n "(cached) " >&6
3933else
3934  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3935   then ac_cv_path_FGREP="$GREP -F"
3936   else
3937     if test -z "$FGREP"; then
3938  ac_path_FGREP_found=false
3939  # Loop through the user's path and test for each of PROGNAME-LIST
3940  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3942do
3943  IFS=$as_save_IFS
3944  test -z "$as_dir" && as_dir=.
3945    for ac_prog in fgrep; do
3946    for ac_exec_ext in '' $ac_executable_extensions; do
3947      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3948      as_fn_executable_p "$ac_path_FGREP" || continue
3949# Check for GNU ac_path_FGREP and select it if it is found.
3950  # Check for GNU $ac_path_FGREP
3951case `"$ac_path_FGREP" --version 2>&1` in
3952*GNU*)
3953  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3954*)
3955  ac_count=0
3956  $as_echo_n 0123456789 >"conftest.in"
3957  while :
3958  do
3959    cat "conftest.in" "conftest.in" >"conftest.tmp"
3960    mv "conftest.tmp" "conftest.in"
3961    cp "conftest.in" "conftest.nl"
3962    $as_echo 'FGREP' >> "conftest.nl"
3963    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3964    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3965    as_fn_arith $ac_count + 1 && ac_count=$as_val
3966    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3967      # Best one so far, save it but keep looking for a better one
3968      ac_cv_path_FGREP="$ac_path_FGREP"
3969      ac_path_FGREP_max=$ac_count
3970    fi
3971    # 10*(2^10) chars as input seems more than enough
3972    test $ac_count -gt 10 && break
3973  done
3974  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3975esac
3976
3977      $ac_path_FGREP_found && break 3
3978    done
3979  done
3980  done
3981IFS=$as_save_IFS
3982  if test -z "$ac_cv_path_FGREP"; then
3983    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3984  fi
3985else
3986  ac_cv_path_FGREP=$FGREP
3987fi
3988
3989   fi
3990fi
3991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3992$as_echo "$ac_cv_path_FGREP" >&6; }
3993 FGREP="$ac_cv_path_FGREP"
3994
3995
3996test -z "$GREP" && GREP=grep
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016# Check whether --with-gnu-ld was given.
4017if test "${with_gnu_ld+set}" = set; then :
4018  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4019else
4020  with_gnu_ld=no
4021fi
4022
4023ac_prog=ld
4024if test yes = "$GCC"; then
4025  # Check if gcc -print-prog-name=ld gives a path.
4026  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4027$as_echo_n "checking for ld used by $CC... " >&6; }
4028  case $host in
4029  *-*-mingw*)
4030    # gcc leaves a trailing carriage return, which upsets mingw
4031    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4032  *)
4033    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4034  esac
4035  case $ac_prog in
4036    # Accept absolute paths.
4037    [\\/]* | ?:[\\/]*)
4038      re_direlt='/[^/][^/]*/\.\./'
4039      # Canonicalize the pathname of ld
4040      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4041      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4042	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4043      done
4044      test -z "$LD" && LD=$ac_prog
4045      ;;
4046  "")
4047    # If it fails, then pretend we aren't using GCC.
4048    ac_prog=ld
4049    ;;
4050  *)
4051    # If it is relative, then search for the first ld in PATH.
4052    with_gnu_ld=unknown
4053    ;;
4054  esac
4055elif test yes = "$with_gnu_ld"; then
4056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4057$as_echo_n "checking for GNU ld... " >&6; }
4058else
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4060$as_echo_n "checking for non-GNU ld... " >&6; }
4061fi
4062if ${lt_cv_path_LD+:} false; then :
4063  $as_echo_n "(cached) " >&6
4064else
4065  if test -z "$LD"; then
4066  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4067  for ac_dir in $PATH; do
4068    IFS=$lt_save_ifs
4069    test -z "$ac_dir" && ac_dir=.
4070    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4071      lt_cv_path_LD=$ac_dir/$ac_prog
4072      # Check to see if the program is GNU ld.  I'd rather use --version,
4073      # but apparently some variants of GNU ld only accept -v.
4074      # Break only if it was the GNU/non-GNU ld that we prefer.
4075      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4076      *GNU* | *'with BFD'*)
4077	test no != "$with_gnu_ld" && break
4078	;;
4079      *)
4080	test yes != "$with_gnu_ld" && break
4081	;;
4082      esac
4083    fi
4084  done
4085  IFS=$lt_save_ifs
4086else
4087  lt_cv_path_LD=$LD # Let the user override the test with a path.
4088fi
4089fi
4090
4091LD=$lt_cv_path_LD
4092if test -n "$LD"; then
4093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4094$as_echo "$LD" >&6; }
4095else
4096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097$as_echo "no" >&6; }
4098fi
4099test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4101$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4102if ${lt_cv_prog_gnu_ld+:} false; then :
4103  $as_echo_n "(cached) " >&6
4104else
4105  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4106case `$LD -v 2>&1 </dev/null` in
4107*GNU* | *'with BFD'*)
4108  lt_cv_prog_gnu_ld=yes
4109  ;;
4110*)
4111  lt_cv_prog_gnu_ld=no
4112  ;;
4113esac
4114fi
4115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4116$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4117with_gnu_ld=$lt_cv_prog_gnu_ld
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4128$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4129if ${lt_cv_path_NM+:} false; then :
4130  $as_echo_n "(cached) " >&6
4131else
4132  if test -n "$NM"; then
4133  # Let the user override the test.
4134  lt_cv_path_NM=$NM
4135else
4136  lt_nm_to_check=${ac_tool_prefix}nm
4137  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4138    lt_nm_to_check="$lt_nm_to_check nm"
4139  fi
4140  for lt_tmp_nm in $lt_nm_to_check; do
4141    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4142    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4143      IFS=$lt_save_ifs
4144      test -z "$ac_dir" && ac_dir=.
4145      tmp_nm=$ac_dir/$lt_tmp_nm
4146      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4147	# Check to see if the nm accepts a BSD-compat flag.
4148	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4149	#   nm: unknown option "B" ignored
4150	# Tru64's nm complains that /dev/null is an invalid object file
4151	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4152	case $build_os in
4153	mingw*) lt_bad_file=conftest.nm/nofile ;;
4154	*) lt_bad_file=/dev/null ;;
4155	esac
4156	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4157	*$lt_bad_file* | *'Invalid file or object type'*)
4158	  lt_cv_path_NM="$tmp_nm -B"
4159	  break 2
4160	  ;;
4161	*)
4162	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4163	  */dev/null*)
4164	    lt_cv_path_NM="$tmp_nm -p"
4165	    break 2
4166	    ;;
4167	  *)
4168	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4169	    continue # so that we can try to find one that supports BSD flags
4170	    ;;
4171	  esac
4172	  ;;
4173	esac
4174      fi
4175    done
4176    IFS=$lt_save_ifs
4177  done
4178  : ${lt_cv_path_NM=no}
4179fi
4180fi
4181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4182$as_echo "$lt_cv_path_NM" >&6; }
4183if test no != "$lt_cv_path_NM"; then
4184  NM=$lt_cv_path_NM
4185else
4186  # Didn't find any BSD compatible name lister, look for dumpbin.
4187  if test -n "$DUMPBIN"; then :
4188    # Let the user override the test.
4189  else
4190    if test -n "$ac_tool_prefix"; then
4191  for ac_prog in dumpbin "link -dump"
4192  do
4193    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4194set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196$as_echo_n "checking for $ac_word... " >&6; }
4197if ${ac_cv_prog_DUMPBIN+:} false; then :
4198  $as_echo_n "(cached) " >&6
4199else
4200  if test -n "$DUMPBIN"; then
4201  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4202else
4203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204for as_dir in $PATH
4205do
4206  IFS=$as_save_IFS
4207  test -z "$as_dir" && as_dir=.
4208    for ac_exec_ext in '' $ac_executable_extensions; do
4209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212    break 2
4213  fi
4214done
4215  done
4216IFS=$as_save_IFS
4217
4218fi
4219fi
4220DUMPBIN=$ac_cv_prog_DUMPBIN
4221if test -n "$DUMPBIN"; then
4222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4223$as_echo "$DUMPBIN" >&6; }
4224else
4225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226$as_echo "no" >&6; }
4227fi
4228
4229
4230    test -n "$DUMPBIN" && break
4231  done
4232fi
4233if test -z "$DUMPBIN"; then
4234  ac_ct_DUMPBIN=$DUMPBIN
4235  for ac_prog in dumpbin "link -dump"
4236do
4237  # Extract the first word of "$ac_prog", so it can be a program name with args.
4238set dummy $ac_prog; ac_word=$2
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240$as_echo_n "checking for $ac_word... " >&6; }
4241if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4242  $as_echo_n "(cached) " >&6
4243else
4244  if test -n "$ac_ct_DUMPBIN"; then
4245  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4246else
4247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248for as_dir in $PATH
4249do
4250  IFS=$as_save_IFS
4251  test -z "$as_dir" && as_dir=.
4252    for ac_exec_ext in '' $ac_executable_extensions; do
4253  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4254    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4255    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256    break 2
4257  fi
4258done
4259  done
4260IFS=$as_save_IFS
4261
4262fi
4263fi
4264ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4265if test -n "$ac_ct_DUMPBIN"; then
4266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4267$as_echo "$ac_ct_DUMPBIN" >&6; }
4268else
4269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270$as_echo "no" >&6; }
4271fi
4272
4273
4274  test -n "$ac_ct_DUMPBIN" && break
4275done
4276
4277  if test "x$ac_ct_DUMPBIN" = x; then
4278    DUMPBIN=":"
4279  else
4280    case $cross_compiling:$ac_tool_warned in
4281yes:)
4282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4284ac_tool_warned=yes ;;
4285esac
4286    DUMPBIN=$ac_ct_DUMPBIN
4287  fi
4288fi
4289
4290    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4291    *COFF*)
4292      DUMPBIN="$DUMPBIN -symbols -headers"
4293      ;;
4294    *)
4295      DUMPBIN=:
4296      ;;
4297    esac
4298  fi
4299
4300  if test : != "$DUMPBIN"; then
4301    NM=$DUMPBIN
4302  fi
4303fi
4304test -z "$NM" && NM=nm
4305
4306
4307
4308
4309
4310
4311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4312$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4313if ${lt_cv_nm_interface+:} false; then :
4314  $as_echo_n "(cached) " >&6
4315else
4316  lt_cv_nm_interface="BSD nm"
4317  echo "int some_variable = 0;" > conftest.$ac_ext
4318  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4319  (eval "$ac_compile" 2>conftest.err)
4320  cat conftest.err >&5
4321  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4322  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4323  cat conftest.err >&5
4324  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4325  cat conftest.out >&5
4326  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4327    lt_cv_nm_interface="MS dumpbin"
4328  fi
4329  rm -f conftest*
4330fi
4331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4332$as_echo "$lt_cv_nm_interface" >&6; }
4333
4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4335$as_echo_n "checking whether ln -s works... " >&6; }
4336LN_S=$as_ln_s
4337if test "$LN_S" = "ln -s"; then
4338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4339$as_echo "yes" >&6; }
4340else
4341  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4342$as_echo "no, using $LN_S" >&6; }
4343fi
4344
4345# find the maximum length of command line arguments
4346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4347$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4348if ${lt_cv_sys_max_cmd_len+:} false; then :
4349  $as_echo_n "(cached) " >&6
4350else
4351    i=0
4352  teststring=ABCD
4353
4354  case $build_os in
4355  msdosdjgpp*)
4356    # On DJGPP, this test can blow up pretty badly due to problems in libc
4357    # (any single argument exceeding 2000 bytes causes a buffer overrun
4358    # during glob expansion).  Even if it were fixed, the result of this
4359    # check would be larger than it should be.
4360    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4361    ;;
4362
4363  gnu*)
4364    # Under GNU Hurd, this test is not required because there is
4365    # no limit to the length of command line arguments.
4366    # Libtool will interpret -1 as no limit whatsoever
4367    lt_cv_sys_max_cmd_len=-1;
4368    ;;
4369
4370  cygwin* | mingw* | cegcc*)
4371    # On Win9x/ME, this test blows up -- it succeeds, but takes
4372    # about 5 minutes as the teststring grows exponentially.
4373    # Worse, since 9x/ME are not pre-emptively multitasking,
4374    # you end up with a "frozen" computer, even though with patience
4375    # the test eventually succeeds (with a max line length of 256k).
4376    # Instead, let's just punt: use the minimum linelength reported by
4377    # all of the supported platforms: 8192 (on NT/2K/XP).
4378    lt_cv_sys_max_cmd_len=8192;
4379    ;;
4380
4381  mint*)
4382    # On MiNT this can take a long time and run out of memory.
4383    lt_cv_sys_max_cmd_len=8192;
4384    ;;
4385
4386  amigaos*)
4387    # On AmigaOS with pdksh, this test takes hours, literally.
4388    # So we just punt and use a minimum line length of 8192.
4389    lt_cv_sys_max_cmd_len=8192;
4390    ;;
4391
4392  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4393    # This has been around since 386BSD, at least.  Likely further.
4394    if test -x /sbin/sysctl; then
4395      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4396    elif test -x /usr/sbin/sysctl; then
4397      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4398    else
4399      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4400    fi
4401    # And add a safety zone
4402    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4403    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4404    ;;
4405
4406  interix*)
4407    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4408    lt_cv_sys_max_cmd_len=196608
4409    ;;
4410
4411  os2*)
4412    # The test takes a long time on OS/2.
4413    lt_cv_sys_max_cmd_len=8192
4414    ;;
4415
4416  osf*)
4417    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4418    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4419    # nice to cause kernel panics so lets avoid the loop below.
4420    # First set a reasonable default.
4421    lt_cv_sys_max_cmd_len=16384
4422    #
4423    if test -x /sbin/sysconfig; then
4424      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4425        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4426      esac
4427    fi
4428    ;;
4429  sco3.2v5*)
4430    lt_cv_sys_max_cmd_len=102400
4431    ;;
4432  sysv5* | sco5v6* | sysv4.2uw2*)
4433    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4434    if test -n "$kargmax"; then
4435      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4436    else
4437      lt_cv_sys_max_cmd_len=32768
4438    fi
4439    ;;
4440  *)
4441    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4442    if test -n "$lt_cv_sys_max_cmd_len" && \
4443       test undefined != "$lt_cv_sys_max_cmd_len"; then
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    else
4447      # Make teststring a little bigger before we do anything with it.
4448      # a 1K string should be a reasonable start.
4449      for i in 1 2 3 4 5 6 7 8; do
4450        teststring=$teststring$teststring
4451      done
4452      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4453      # If test is not a shell built-in, we'll probably end up computing a
4454      # maximum length that is only half of the actual maximum length, but
4455      # we can't tell.
4456      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4457	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4458	      test 17 != "$i" # 1/2 MB should be enough
4459      do
4460        i=`expr $i + 1`
4461        teststring=$teststring$teststring
4462      done
4463      # Only check the string length outside the loop.
4464      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4465      teststring=
4466      # Add a significant safety factor because C++ compilers can tack on
4467      # massive amounts of additional arguments before passing them to the
4468      # linker.  It appears as though 1/2 is a usable value.
4469      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4470    fi
4471    ;;
4472  esac
4473
4474fi
4475
4476if test -n "$lt_cv_sys_max_cmd_len"; then
4477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4478$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4479else
4480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4481$as_echo "none" >&6; }
4482fi
4483max_cmd_len=$lt_cv_sys_max_cmd_len
4484
4485
4486
4487
4488
4489
4490: ${CP="cp -f"}
4491: ${MV="mv -f"}
4492: ${RM="rm -f"}
4493
4494if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4495  lt_unset=unset
4496else
4497  lt_unset=false
4498fi
4499
4500
4501
4502
4503
4504# test EBCDIC or ASCII
4505case `echo X|tr X '\101'` in
4506 A) # ASCII based system
4507    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4508  lt_SP2NL='tr \040 \012'
4509  lt_NL2SP='tr \015\012 \040\040'
4510  ;;
4511 *) # EBCDIC based system
4512  lt_SP2NL='tr \100 \n'
4513  lt_NL2SP='tr \r\n \100\100'
4514  ;;
4515esac
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4526$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4527if ${lt_cv_to_host_file_cmd+:} false; then :
4528  $as_echo_n "(cached) " >&6
4529else
4530  case $host in
4531  *-*-mingw* )
4532    case $build in
4533      *-*-mingw* ) # actually msys
4534        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4535        ;;
4536      *-*-cygwin* )
4537        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4538        ;;
4539      * ) # otherwise, assume *nix
4540        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4541        ;;
4542    esac
4543    ;;
4544  *-*-cygwin* )
4545    case $build in
4546      *-*-mingw* ) # actually msys
4547        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4548        ;;
4549      *-*-cygwin* )
4550        lt_cv_to_host_file_cmd=func_convert_file_noop
4551        ;;
4552      * ) # otherwise, assume *nix
4553        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4554        ;;
4555    esac
4556    ;;
4557  * ) # unhandled hosts (and "normal" native builds)
4558    lt_cv_to_host_file_cmd=func_convert_file_noop
4559    ;;
4560esac
4561
4562fi
4563
4564to_host_file_cmd=$lt_cv_to_host_file_cmd
4565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4566$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4567
4568
4569
4570
4571
4572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4573$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4574if ${lt_cv_to_tool_file_cmd+:} false; then :
4575  $as_echo_n "(cached) " >&6
4576else
4577  #assume ordinary cross tools, or native build.
4578lt_cv_to_tool_file_cmd=func_convert_file_noop
4579case $host in
4580  *-*-mingw* )
4581    case $build in
4582      *-*-mingw* ) # actually msys
4583        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4584        ;;
4585    esac
4586    ;;
4587esac
4588
4589fi
4590
4591to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4593$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4594
4595
4596
4597
4598
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4600$as_echo_n "checking for $LD option to reload object files... " >&6; }
4601if ${lt_cv_ld_reload_flag+:} false; then :
4602  $as_echo_n "(cached) " >&6
4603else
4604  lt_cv_ld_reload_flag='-r'
4605fi
4606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4607$as_echo "$lt_cv_ld_reload_flag" >&6; }
4608reload_flag=$lt_cv_ld_reload_flag
4609case $reload_flag in
4610"" | " "*) ;;
4611*) reload_flag=" $reload_flag" ;;
4612esac
4613reload_cmds='$LD$reload_flag -o $output$reload_objs'
4614case $host_os in
4615  cygwin* | mingw* | pw32* | cegcc*)
4616    if test yes != "$GCC"; then
4617      reload_cmds=false
4618    fi
4619    ;;
4620  darwin*)
4621    if test yes = "$GCC"; then
4622      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4623    else
4624      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4625    fi
4626    ;;
4627esac
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637if test -n "$ac_tool_prefix"; then
4638  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4639set dummy ${ac_tool_prefix}objdump; ac_word=$2
4640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641$as_echo_n "checking for $ac_word... " >&6; }
4642if ${ac_cv_prog_OBJDUMP+:} false; then :
4643  $as_echo_n "(cached) " >&6
4644else
4645  if test -n "$OBJDUMP"; then
4646  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4647else
4648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649for as_dir in $PATH
4650do
4651  IFS=$as_save_IFS
4652  test -z "$as_dir" && as_dir=.
4653    for ac_exec_ext in '' $ac_executable_extensions; do
4654  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4656    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657    break 2
4658  fi
4659done
4660  done
4661IFS=$as_save_IFS
4662
4663fi
4664fi
4665OBJDUMP=$ac_cv_prog_OBJDUMP
4666if test -n "$OBJDUMP"; then
4667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4668$as_echo "$OBJDUMP" >&6; }
4669else
4670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671$as_echo "no" >&6; }
4672fi
4673
4674
4675fi
4676if test -z "$ac_cv_prog_OBJDUMP"; then
4677  ac_ct_OBJDUMP=$OBJDUMP
4678  # Extract the first word of "objdump", so it can be a program name with args.
4679set dummy objdump; ac_word=$2
4680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681$as_echo_n "checking for $ac_word... " >&6; }
4682if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4683  $as_echo_n "(cached) " >&6
4684else
4685  if test -n "$ac_ct_OBJDUMP"; then
4686  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4687else
4688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689for as_dir in $PATH
4690do
4691  IFS=$as_save_IFS
4692  test -z "$as_dir" && as_dir=.
4693    for ac_exec_ext in '' $ac_executable_extensions; do
4694  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4695    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697    break 2
4698  fi
4699done
4700  done
4701IFS=$as_save_IFS
4702
4703fi
4704fi
4705ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4706if test -n "$ac_ct_OBJDUMP"; then
4707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4708$as_echo "$ac_ct_OBJDUMP" >&6; }
4709else
4710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711$as_echo "no" >&6; }
4712fi
4713
4714  if test "x$ac_ct_OBJDUMP" = x; then
4715    OBJDUMP="false"
4716  else
4717    case $cross_compiling:$ac_tool_warned in
4718yes:)
4719{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721ac_tool_warned=yes ;;
4722esac
4723    OBJDUMP=$ac_ct_OBJDUMP
4724  fi
4725else
4726  OBJDUMP="$ac_cv_prog_OBJDUMP"
4727fi
4728
4729test -z "$OBJDUMP" && OBJDUMP=objdump
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4740$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4741if ${lt_cv_deplibs_check_method+:} false; then :
4742  $as_echo_n "(cached) " >&6
4743else
4744  lt_cv_file_magic_cmd='$MAGIC_CMD'
4745lt_cv_file_magic_test_file=
4746lt_cv_deplibs_check_method='unknown'
4747# Need to set the preceding variable on all platforms that support
4748# interlibrary dependencies.
4749# 'none' -- dependencies not supported.
4750# 'unknown' -- same as none, but documents that we really don't know.
4751# 'pass_all' -- all dependencies passed with no checks.
4752# 'test_compile' -- check by making test program.
4753# 'file_magic [[regex]]' -- check by looking for files in library path
4754# that responds to the $file_magic_cmd with a given extended regex.
4755# If you have 'file' or equivalent on your system and you're not sure
4756# whether 'pass_all' will *always* work, you probably want this one.
4757
4758case $host_os in
4759aix[4-9]*)
4760  lt_cv_deplibs_check_method=pass_all
4761  ;;
4762
4763beos*)
4764  lt_cv_deplibs_check_method=pass_all
4765  ;;
4766
4767bsdi[45]*)
4768  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4769  lt_cv_file_magic_cmd='/usr/bin/file -L'
4770  lt_cv_file_magic_test_file=/shlib/libc.so
4771  ;;
4772
4773cygwin*)
4774  # func_win32_libid is a shell function defined in ltmain.sh
4775  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4776  lt_cv_file_magic_cmd='func_win32_libid'
4777  ;;
4778
4779mingw* | pw32*)
4780  # Base MSYS/MinGW do not provide the 'file' command needed by
4781  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4782  # unless we find 'file', for example because we are cross-compiling.
4783  if ( file / ) >/dev/null 2>&1; then
4784    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4785    lt_cv_file_magic_cmd='func_win32_libid'
4786  else
4787    # Keep this pattern in sync with the one in func_win32_libid.
4788    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4789    lt_cv_file_magic_cmd='$OBJDUMP -f'
4790  fi
4791  ;;
4792
4793cegcc*)
4794  # use the weaker test based on 'objdump'. See mingw*.
4795  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4796  lt_cv_file_magic_cmd='$OBJDUMP -f'
4797  ;;
4798
4799darwin* | rhapsody*)
4800  lt_cv_deplibs_check_method=pass_all
4801  ;;
4802
4803freebsd* | dragonfly*)
4804  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4805    case $host_cpu in
4806    i*86 )
4807      # Not sure whether the presence of OpenBSD here was a mistake.
4808      # Let's accept both of them until this is cleared up.
4809      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4810      lt_cv_file_magic_cmd=/usr/bin/file
4811      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4812      ;;
4813    esac
4814  else
4815    lt_cv_deplibs_check_method=pass_all
4816  fi
4817  ;;
4818
4819haiku*)
4820  lt_cv_deplibs_check_method=pass_all
4821  ;;
4822
4823hpux10.20* | hpux11*)
4824  lt_cv_file_magic_cmd=/usr/bin/file
4825  case $host_cpu in
4826  ia64*)
4827    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4828    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4829    ;;
4830  hppa*64*)
4831    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]'
4832    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4833    ;;
4834  *)
4835    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4836    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4837    ;;
4838  esac
4839  ;;
4840
4841interix[3-9]*)
4842  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4843  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4844  ;;
4845
4846irix5* | irix6* | nonstopux*)
4847  case $LD in
4848  *-32|*"-32 ") libmagic=32-bit;;
4849  *-n32|*"-n32 ") libmagic=N32;;
4850  *-64|*"-64 ") libmagic=64-bit;;
4851  *) libmagic=never-match;;
4852  esac
4853  lt_cv_deplibs_check_method=pass_all
4854  ;;
4855
4856# This must be glibc/ELF.
4857linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4858  lt_cv_deplibs_check_method=pass_all
4859  ;;
4860
4861netbsd*)
4862  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4863    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4864  else
4865    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4866  fi
4867  ;;
4868
4869newos6*)
4870  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4871  lt_cv_file_magic_cmd=/usr/bin/file
4872  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4873  ;;
4874
4875*nto* | *qnx*)
4876  lt_cv_deplibs_check_method=pass_all
4877  ;;
4878
4879openbsd* | bitrig*)
4880  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4881    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4882  else
4883    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4884  fi
4885  ;;
4886
4887osf3* | osf4* | osf5*)
4888  lt_cv_deplibs_check_method=pass_all
4889  ;;
4890
4891rdos*)
4892  lt_cv_deplibs_check_method=pass_all
4893  ;;
4894
4895solaris*)
4896  lt_cv_deplibs_check_method=pass_all
4897  ;;
4898
4899sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4900  lt_cv_deplibs_check_method=pass_all
4901  ;;
4902
4903sysv4 | sysv4.3*)
4904  case $host_vendor in
4905  motorola)
4906    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]'
4907    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4908    ;;
4909  ncr)
4910    lt_cv_deplibs_check_method=pass_all
4911    ;;
4912  sequent)
4913    lt_cv_file_magic_cmd='/bin/file'
4914    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4915    ;;
4916  sni)
4917    lt_cv_file_magic_cmd='/bin/file'
4918    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4919    lt_cv_file_magic_test_file=/lib/libc.so
4920    ;;
4921  siemens)
4922    lt_cv_deplibs_check_method=pass_all
4923    ;;
4924  pc)
4925    lt_cv_deplibs_check_method=pass_all
4926    ;;
4927  esac
4928  ;;
4929
4930tpf*)
4931  lt_cv_deplibs_check_method=pass_all
4932  ;;
4933os2*)
4934  lt_cv_deplibs_check_method=pass_all
4935  ;;
4936esac
4937
4938fi
4939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4940$as_echo "$lt_cv_deplibs_check_method" >&6; }
4941
4942file_magic_glob=
4943want_nocaseglob=no
4944if test "$build" = "$host"; then
4945  case $host_os in
4946  mingw* | pw32*)
4947    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4948      want_nocaseglob=yes
4949    else
4950      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4951    fi
4952    ;;
4953  esac
4954fi
4955
4956file_magic_cmd=$lt_cv_file_magic_cmd
4957deplibs_check_method=$lt_cv_deplibs_check_method
4958test -z "$deplibs_check_method" && deplibs_check_method=unknown
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981if test -n "$ac_tool_prefix"; then
4982  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4983set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985$as_echo_n "checking for $ac_word... " >&6; }
4986if ${ac_cv_prog_DLLTOOL+:} false; then :
4987  $as_echo_n "(cached) " >&6
4988else
4989  if test -n "$DLLTOOL"; then
4990  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4991else
4992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993for as_dir in $PATH
4994do
4995  IFS=$as_save_IFS
4996  test -z "$as_dir" && as_dir=.
4997    for ac_exec_ext in '' $ac_executable_extensions; do
4998  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4999    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001    break 2
5002  fi
5003done
5004  done
5005IFS=$as_save_IFS
5006
5007fi
5008fi
5009DLLTOOL=$ac_cv_prog_DLLTOOL
5010if test -n "$DLLTOOL"; then
5011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5012$as_echo "$DLLTOOL" >&6; }
5013else
5014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015$as_echo "no" >&6; }
5016fi
5017
5018
5019fi
5020if test -z "$ac_cv_prog_DLLTOOL"; then
5021  ac_ct_DLLTOOL=$DLLTOOL
5022  # Extract the first word of "dlltool", so it can be a program name with args.
5023set dummy dlltool; ac_word=$2
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025$as_echo_n "checking for $ac_word... " >&6; }
5026if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5027  $as_echo_n "(cached) " >&6
5028else
5029  if test -n "$ac_ct_DLLTOOL"; then
5030  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5031else
5032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033for as_dir in $PATH
5034do
5035  IFS=$as_save_IFS
5036  test -z "$as_dir" && as_dir=.
5037    for ac_exec_ext in '' $ac_executable_extensions; do
5038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041    break 2
5042  fi
5043done
5044  done
5045IFS=$as_save_IFS
5046
5047fi
5048fi
5049ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5050if test -n "$ac_ct_DLLTOOL"; then
5051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5052$as_echo "$ac_ct_DLLTOOL" >&6; }
5053else
5054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055$as_echo "no" >&6; }
5056fi
5057
5058  if test "x$ac_ct_DLLTOOL" = x; then
5059    DLLTOOL="false"
5060  else
5061    case $cross_compiling:$ac_tool_warned in
5062yes:)
5063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065ac_tool_warned=yes ;;
5066esac
5067    DLLTOOL=$ac_ct_DLLTOOL
5068  fi
5069else
5070  DLLTOOL="$ac_cv_prog_DLLTOOL"
5071fi
5072
5073test -z "$DLLTOOL" && DLLTOOL=dlltool
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5085$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5086if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5087  $as_echo_n "(cached) " >&6
5088else
5089  lt_cv_sharedlib_from_linklib_cmd='unknown'
5090
5091case $host_os in
5092cygwin* | mingw* | pw32* | cegcc*)
5093  # two different shell functions defined in ltmain.sh;
5094  # decide which one to use based on capabilities of $DLLTOOL
5095  case `$DLLTOOL --help 2>&1` in
5096  *--identify-strict*)
5097    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5098    ;;
5099  *)
5100    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5101    ;;
5102  esac
5103  ;;
5104*)
5105  # fallback: assume linklib IS sharedlib
5106  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5107  ;;
5108esac
5109
5110fi
5111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5112$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5113sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5114test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5115
5116
5117
5118
5119
5120
5121
5122
5123if test -n "$ac_tool_prefix"; then
5124  for ac_prog in ar
5125  do
5126    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5127set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129$as_echo_n "checking for $ac_word... " >&6; }
5130if ${ac_cv_prog_AR+:} false; then :
5131  $as_echo_n "(cached) " >&6
5132else
5133  if test -n "$AR"; then
5134  ac_cv_prog_AR="$AR" # Let the user override the test.
5135else
5136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137for as_dir in $PATH
5138do
5139  IFS=$as_save_IFS
5140  test -z "$as_dir" && as_dir=.
5141    for ac_exec_ext in '' $ac_executable_extensions; do
5142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145    break 2
5146  fi
5147done
5148  done
5149IFS=$as_save_IFS
5150
5151fi
5152fi
5153AR=$ac_cv_prog_AR
5154if test -n "$AR"; then
5155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5156$as_echo "$AR" >&6; }
5157else
5158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159$as_echo "no" >&6; }
5160fi
5161
5162
5163    test -n "$AR" && break
5164  done
5165fi
5166if test -z "$AR"; then
5167  ac_ct_AR=$AR
5168  for ac_prog in ar
5169do
5170  # Extract the first word of "$ac_prog", so it can be a program name with args.
5171set dummy $ac_prog; ac_word=$2
5172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173$as_echo_n "checking for $ac_word... " >&6; }
5174if ${ac_cv_prog_ac_ct_AR+:} false; then :
5175  $as_echo_n "(cached) " >&6
5176else
5177  if test -n "$ac_ct_AR"; then
5178  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5179else
5180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181for as_dir in $PATH
5182do
5183  IFS=$as_save_IFS
5184  test -z "$as_dir" && as_dir=.
5185    for ac_exec_ext in '' $ac_executable_extensions; do
5186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187    ac_cv_prog_ac_ct_AR="$ac_prog"
5188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189    break 2
5190  fi
5191done
5192  done
5193IFS=$as_save_IFS
5194
5195fi
5196fi
5197ac_ct_AR=$ac_cv_prog_ac_ct_AR
5198if test -n "$ac_ct_AR"; then
5199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5200$as_echo "$ac_ct_AR" >&6; }
5201else
5202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203$as_echo "no" >&6; }
5204fi
5205
5206
5207  test -n "$ac_ct_AR" && break
5208done
5209
5210  if test "x$ac_ct_AR" = x; then
5211    AR="false"
5212  else
5213    case $cross_compiling:$ac_tool_warned in
5214yes:)
5215{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5216$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5217ac_tool_warned=yes ;;
5218esac
5219    AR=$ac_ct_AR
5220  fi
5221fi
5222
5223: ${AR=ar}
5224: ${AR_FLAGS=cru}
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5237$as_echo_n "checking for archiver @FILE support... " >&6; }
5238if ${lt_cv_ar_at_file+:} false; then :
5239  $as_echo_n "(cached) " >&6
5240else
5241  lt_cv_ar_at_file=no
5242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243/* end confdefs.h.  */
5244
5245int
5246main ()
5247{
5248
5249  ;
5250  return 0;
5251}
5252_ACEOF
5253if ac_fn_c_try_compile "$LINENO"; then :
5254  echo conftest.$ac_objext > conftest.lst
5255      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5256      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5257  (eval $lt_ar_try) 2>&5
5258  ac_status=$?
5259  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5260  test $ac_status = 0; }
5261      if test 0 -eq "$ac_status"; then
5262	# Ensure the archiver fails upon bogus file names.
5263	rm -f conftest.$ac_objext libconftest.a
5264	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5265  (eval $lt_ar_try) 2>&5
5266  ac_status=$?
5267  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5268  test $ac_status = 0; }
5269	if test 0 -ne "$ac_status"; then
5270          lt_cv_ar_at_file=@
5271        fi
5272      fi
5273      rm -f conftest.* libconftest.a
5274
5275fi
5276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277
5278fi
5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5280$as_echo "$lt_cv_ar_at_file" >&6; }
5281
5282if test no = "$lt_cv_ar_at_file"; then
5283  archiver_list_spec=
5284else
5285  archiver_list_spec=$lt_cv_ar_at_file
5286fi
5287
5288
5289
5290
5291
5292
5293
5294if test -n "$ac_tool_prefix"; then
5295  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5296set dummy ${ac_tool_prefix}strip; ac_word=$2
5297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298$as_echo_n "checking for $ac_word... " >&6; }
5299if ${ac_cv_prog_STRIP+:} false; then :
5300  $as_echo_n "(cached) " >&6
5301else
5302  if test -n "$STRIP"; then
5303  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5304else
5305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306for as_dir in $PATH
5307do
5308  IFS=$as_save_IFS
5309  test -z "$as_dir" && as_dir=.
5310    for ac_exec_ext in '' $ac_executable_extensions; do
5311  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5312    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5313    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314    break 2
5315  fi
5316done
5317  done
5318IFS=$as_save_IFS
5319
5320fi
5321fi
5322STRIP=$ac_cv_prog_STRIP
5323if test -n "$STRIP"; then
5324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5325$as_echo "$STRIP" >&6; }
5326else
5327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328$as_echo "no" >&6; }
5329fi
5330
5331
5332fi
5333if test -z "$ac_cv_prog_STRIP"; then
5334  ac_ct_STRIP=$STRIP
5335  # Extract the first word of "strip", so it can be a program name with args.
5336set dummy strip; ac_word=$2
5337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338$as_echo_n "checking for $ac_word... " >&6; }
5339if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5340  $as_echo_n "(cached) " >&6
5341else
5342  if test -n "$ac_ct_STRIP"; then
5343  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5344else
5345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346for as_dir in $PATH
5347do
5348  IFS=$as_save_IFS
5349  test -z "$as_dir" && as_dir=.
5350    for ac_exec_ext in '' $ac_executable_extensions; do
5351  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352    ac_cv_prog_ac_ct_STRIP="strip"
5353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354    break 2
5355  fi
5356done
5357  done
5358IFS=$as_save_IFS
5359
5360fi
5361fi
5362ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5363if test -n "$ac_ct_STRIP"; then
5364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5365$as_echo "$ac_ct_STRIP" >&6; }
5366else
5367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368$as_echo "no" >&6; }
5369fi
5370
5371  if test "x$ac_ct_STRIP" = x; then
5372    STRIP=":"
5373  else
5374    case $cross_compiling:$ac_tool_warned in
5375yes:)
5376{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5377$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5378ac_tool_warned=yes ;;
5379esac
5380    STRIP=$ac_ct_STRIP
5381  fi
5382else
5383  STRIP="$ac_cv_prog_STRIP"
5384fi
5385
5386test -z "$STRIP" && STRIP=:
5387
5388
5389
5390
5391
5392
5393if test -n "$ac_tool_prefix"; then
5394  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5395set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397$as_echo_n "checking for $ac_word... " >&6; }
5398if ${ac_cv_prog_RANLIB+:} false; then :
5399  $as_echo_n "(cached) " >&6
5400else
5401  if test -n "$RANLIB"; then
5402  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5403else
5404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405for as_dir in $PATH
5406do
5407  IFS=$as_save_IFS
5408  test -z "$as_dir" && as_dir=.
5409    for ac_exec_ext in '' $ac_executable_extensions; do
5410  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5412    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413    break 2
5414  fi
5415done
5416  done
5417IFS=$as_save_IFS
5418
5419fi
5420fi
5421RANLIB=$ac_cv_prog_RANLIB
5422if test -n "$RANLIB"; then
5423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5424$as_echo "$RANLIB" >&6; }
5425else
5426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427$as_echo "no" >&6; }
5428fi
5429
5430
5431fi
5432if test -z "$ac_cv_prog_RANLIB"; then
5433  ac_ct_RANLIB=$RANLIB
5434  # Extract the first word of "ranlib", so it can be a program name with args.
5435set dummy ranlib; ac_word=$2
5436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437$as_echo_n "checking for $ac_word... " >&6; }
5438if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5439  $as_echo_n "(cached) " >&6
5440else
5441  if test -n "$ac_ct_RANLIB"; then
5442  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5443else
5444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445for as_dir in $PATH
5446do
5447  IFS=$as_save_IFS
5448  test -z "$as_dir" && as_dir=.
5449    for ac_exec_ext in '' $ac_executable_extensions; do
5450  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451    ac_cv_prog_ac_ct_RANLIB="ranlib"
5452    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453    break 2
5454  fi
5455done
5456  done
5457IFS=$as_save_IFS
5458
5459fi
5460fi
5461ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5462if test -n "$ac_ct_RANLIB"; then
5463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5464$as_echo "$ac_ct_RANLIB" >&6; }
5465else
5466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467$as_echo "no" >&6; }
5468fi
5469
5470  if test "x$ac_ct_RANLIB" = x; then
5471    RANLIB=":"
5472  else
5473    case $cross_compiling:$ac_tool_warned in
5474yes:)
5475{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5476$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5477ac_tool_warned=yes ;;
5478esac
5479    RANLIB=$ac_ct_RANLIB
5480  fi
5481else
5482  RANLIB="$ac_cv_prog_RANLIB"
5483fi
5484
5485test -z "$RANLIB" && RANLIB=:
5486
5487
5488
5489
5490
5491
5492# Determine commands to create old-style static archives.
5493old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5494old_postinstall_cmds='chmod 644 $oldlib'
5495old_postuninstall_cmds=
5496
5497if test -n "$RANLIB"; then
5498  case $host_os in
5499  bitrig* | openbsd*)
5500    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5501    ;;
5502  *)
5503    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5504    ;;
5505  esac
5506  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5507fi
5508
5509case $host_os in
5510  darwin*)
5511    lock_old_archive_extraction=yes ;;
5512  *)
5513    lock_old_archive_extraction=no ;;
5514esac
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536for ac_prog in gawk mawk nawk awk
5537do
5538  # Extract the first word of "$ac_prog", so it can be a program name with args.
5539set dummy $ac_prog; ac_word=$2
5540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541$as_echo_n "checking for $ac_word... " >&6; }
5542if ${ac_cv_prog_AWK+:} false; then :
5543  $as_echo_n "(cached) " >&6
5544else
5545  if test -n "$AWK"; then
5546  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5547else
5548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549for as_dir in $PATH
5550do
5551  IFS=$as_save_IFS
5552  test -z "$as_dir" && as_dir=.
5553    for ac_exec_ext in '' $ac_executable_extensions; do
5554  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555    ac_cv_prog_AWK="$ac_prog"
5556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557    break 2
5558  fi
5559done
5560  done
5561IFS=$as_save_IFS
5562
5563fi
5564fi
5565AWK=$ac_cv_prog_AWK
5566if test -n "$AWK"; then
5567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5568$as_echo "$AWK" >&6; }
5569else
5570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571$as_echo "no" >&6; }
5572fi
5573
5574
5575  test -n "$AWK" && break
5576done
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596# If no C compiler was specified, use CC.
5597LTCC=${LTCC-"$CC"}
5598
5599# If no C compiler flags were specified, use CFLAGS.
5600LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5601
5602# Allow CC to be a program name with arguments.
5603compiler=$CC
5604
5605
5606# Check for command to grab the raw symbol name followed by C symbol from nm.
5607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5608$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5609if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5610  $as_echo_n "(cached) " >&6
5611else
5612
5613# These are sane defaults that work on at least a few old systems.
5614# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5615
5616# Character class describing NM global symbol codes.
5617symcode='[BCDEGRST]'
5618
5619# Regexp to match symbols that can be accessed directly from C.
5620sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5621
5622# Define system-specific variables.
5623case $host_os in
5624aix*)
5625  symcode='[BCDT]'
5626  ;;
5627cygwin* | mingw* | pw32* | cegcc*)
5628  symcode='[ABCDGISTW]'
5629  ;;
5630hpux*)
5631  if test ia64 = "$host_cpu"; then
5632    symcode='[ABCDEGRST]'
5633  fi
5634  ;;
5635irix* | nonstopux*)
5636  symcode='[BCDEGRST]'
5637  ;;
5638osf*)
5639  symcode='[BCDEGQRST]'
5640  ;;
5641solaris*)
5642  symcode='[BDRT]'
5643  ;;
5644sco3.2v5*)
5645  symcode='[DT]'
5646  ;;
5647sysv4.2uw2*)
5648  symcode='[DT]'
5649  ;;
5650sysv5* | sco5v6* | unixware* | OpenUNIX*)
5651  symcode='[ABDT]'
5652  ;;
5653sysv4)
5654  symcode='[DFNSTU]'
5655  ;;
5656esac
5657
5658# If we're using GNU nm, then use its standard symbol codes.
5659case `$NM -V 2>&1` in
5660*GNU* | *'with BFD'*)
5661  symcode='[ABCDGIRSTW]' ;;
5662esac
5663
5664if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5665  # Gets list of data symbols to import.
5666  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5667  # Adjust the below global symbol transforms to fixup imported variables.
5668  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5669  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
5670  lt_c_name_lib_hook="\
5671  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
5672  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
5673else
5674  # Disable hooks by default.
5675  lt_cv_sys_global_symbol_to_import=
5676  lt_cdecl_hook=
5677  lt_c_name_hook=
5678  lt_c_name_lib_hook=
5679fi
5680
5681# Transform an extracted symbol line into a proper C declaration.
5682# Some systems (esp. on ia64) link data and code symbols differently,
5683# so use this general approach.
5684lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5685$lt_cdecl_hook\
5686" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5687" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5688
5689# Transform an extracted symbol line into symbol name and symbol address
5690lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5691$lt_c_name_hook\
5692" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
5693" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
5694
5695# Transform an extracted symbol line into symbol name with lib prefix and
5696# symbol address.
5697lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5698$lt_c_name_lib_hook\
5699" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
5700" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
5701" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
5702
5703# Handle CRLF in mingw tool chain
5704opt_cr=
5705case $build_os in
5706mingw*)
5707  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5708  ;;
5709esac
5710
5711# Try without a prefix underscore, then with it.
5712for ac_symprfx in "" "_"; do
5713
5714  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5715  symxfrm="\\1 $ac_symprfx\\2 \\2"
5716
5717  # Write the raw and C identifiers.
5718  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5719    # Fake it for dumpbin and say T for any non-static function,
5720    # D for any global variable and I for any imported variable.
5721    # Also find C++ and __fastcall symbols from MSVC++,
5722    # which start with @ or ?.
5723    lt_cv_sys_global_symbol_pipe="$AWK '"\
5724"     {last_section=section; section=\$ 3};"\
5725"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5726"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5727"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5728"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5729"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5730"     \$ 0!~/External *\|/{next};"\
5731"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5732"     {if(hide[section]) next};"\
5733"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5734"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5735"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5736"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5737"     ' prfx=^$ac_symprfx"
5738  else
5739    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5740  fi
5741  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5742
5743  # Check to see that the pipe works correctly.
5744  pipe_works=no
5745
5746  rm -f conftest*
5747  cat > conftest.$ac_ext <<_LT_EOF
5748#ifdef __cplusplus
5749extern "C" {
5750#endif
5751char nm_test_var;
5752void nm_test_func(void);
5753void nm_test_func(void){}
5754#ifdef __cplusplus
5755}
5756#endif
5757int main(){nm_test_var='a';nm_test_func();return(0);}
5758_LT_EOF
5759
5760  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5761  (eval $ac_compile) 2>&5
5762  ac_status=$?
5763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5764  test $ac_status = 0; }; then
5765    # Now try to grab the symbols.
5766    nlist=conftest.nm
5767    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5768  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5769  ac_status=$?
5770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5771  test $ac_status = 0; } && test -s "$nlist"; then
5772      # Try sorting and uniquifying the output.
5773      if sort "$nlist" | uniq > "$nlist"T; then
5774	mv -f "$nlist"T "$nlist"
5775      else
5776	rm -f "$nlist"T
5777      fi
5778
5779      # Make sure that we snagged all the symbols we need.
5780      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5781	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5782	  cat <<_LT_EOF > conftest.$ac_ext
5783/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5784#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5785/* DATA imports from DLLs on WIN32 can't be const, because runtime
5786   relocations are performed -- see ld's documentation on pseudo-relocs.  */
5787# define LT_DLSYM_CONST
5788#elif defined __osf__
5789/* This system does not cope well with relocations in const data.  */
5790# define LT_DLSYM_CONST
5791#else
5792# define LT_DLSYM_CONST const
5793#endif
5794
5795#ifdef __cplusplus
5796extern "C" {
5797#endif
5798
5799_LT_EOF
5800	  # Now generate the symbol file.
5801	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5802
5803	  cat <<_LT_EOF >> conftest.$ac_ext
5804
5805/* The mapping between symbol names and symbols.  */
5806LT_DLSYM_CONST struct {
5807  const char *name;
5808  void       *address;
5809}
5810lt__PROGRAM__LTX_preloaded_symbols[] =
5811{
5812  { "@PROGRAM@", (void *) 0 },
5813_LT_EOF
5814	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5815	  cat <<\_LT_EOF >> conftest.$ac_ext
5816  {0, (void *) 0}
5817};
5818
5819/* This works around a problem in FreeBSD linker */
5820#ifdef FREEBSD_WORKAROUND
5821static const void *lt_preloaded_setup() {
5822  return lt__PROGRAM__LTX_preloaded_symbols;
5823}
5824#endif
5825
5826#ifdef __cplusplus
5827}
5828#endif
5829_LT_EOF
5830	  # Now try linking the two files.
5831	  mv conftest.$ac_objext conftstm.$ac_objext
5832	  lt_globsym_save_LIBS=$LIBS
5833	  lt_globsym_save_CFLAGS=$CFLAGS
5834	  LIBS=conftstm.$ac_objext
5835	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5836	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5837  (eval $ac_link) 2>&5
5838  ac_status=$?
5839  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5840  test $ac_status = 0; } && test -s conftest$ac_exeext; then
5841	    pipe_works=yes
5842	  fi
5843	  LIBS=$lt_globsym_save_LIBS
5844	  CFLAGS=$lt_globsym_save_CFLAGS
5845	else
5846	  echo "cannot find nm_test_func in $nlist" >&5
5847	fi
5848      else
5849	echo "cannot find nm_test_var in $nlist" >&5
5850      fi
5851    else
5852      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5853    fi
5854  else
5855    echo "$progname: failed program was:" >&5
5856    cat conftest.$ac_ext >&5
5857  fi
5858  rm -rf conftest* conftst*
5859
5860  # Do not use the global_symbol_pipe unless it works.
5861  if test yes = "$pipe_works"; then
5862    break
5863  else
5864    lt_cv_sys_global_symbol_pipe=
5865  fi
5866done
5867
5868fi
5869
5870if test -z "$lt_cv_sys_global_symbol_pipe"; then
5871  lt_cv_sys_global_symbol_to_cdecl=
5872fi
5873if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5875$as_echo "failed" >&6; }
5876else
5877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5878$as_echo "ok" >&6; }
5879fi
5880
5881# Response file support.
5882if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5883  nm_file_list_spec='@'
5884elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5885  nm_file_list_spec='@'
5886fi
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5925$as_echo_n "checking for sysroot... " >&6; }
5926
5927# Check whether --with-sysroot was given.
5928if test "${with_sysroot+set}" = set; then :
5929  withval=$with_sysroot;
5930else
5931  with_sysroot=no
5932fi
5933
5934
5935lt_sysroot=
5936case $with_sysroot in #(
5937 yes)
5938   if test yes = "$GCC"; then
5939     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5940   fi
5941   ;; #(
5942 /*)
5943   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5944   ;; #(
5945 no|'')
5946   ;; #(
5947 *)
5948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5949$as_echo "$with_sysroot" >&6; }
5950   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5951   ;;
5952esac
5953
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5955$as_echo "${lt_sysroot:-no}" >&6; }
5956
5957
5958
5959
5960
5961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5962$as_echo_n "checking for a working dd... " >&6; }
5963if ${ac_cv_path_lt_DD+:} false; then :
5964  $as_echo_n "(cached) " >&6
5965else
5966  printf 0123456789abcdef0123456789abcdef >conftest.i
5967cat conftest.i conftest.i >conftest2.i
5968: ${lt_DD:=$DD}
5969if test -z "$lt_DD"; then
5970  ac_path_lt_DD_found=false
5971  # Loop through the user's path and test for each of PROGNAME-LIST
5972  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973for as_dir in $PATH
5974do
5975  IFS=$as_save_IFS
5976  test -z "$as_dir" && as_dir=.
5977    for ac_prog in dd; do
5978    for ac_exec_ext in '' $ac_executable_extensions; do
5979      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
5980      as_fn_executable_p "$ac_path_lt_DD" || continue
5981if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
5982  cmp -s conftest.i conftest.out \
5983  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
5984fi
5985      $ac_path_lt_DD_found && break 3
5986    done
5987  done
5988  done
5989IFS=$as_save_IFS
5990  if test -z "$ac_cv_path_lt_DD"; then
5991    :
5992  fi
5993else
5994  ac_cv_path_lt_DD=$lt_DD
5995fi
5996
5997rm -f conftest.i conftest2.i conftest.out
5998fi
5999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6000$as_echo "$ac_cv_path_lt_DD" >&6; }
6001
6002
6003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6004$as_echo_n "checking how to truncate binary pipes... " >&6; }
6005if ${lt_cv_truncate_bin+:} false; then :
6006  $as_echo_n "(cached) " >&6
6007else
6008  printf 0123456789abcdef0123456789abcdef >conftest.i
6009cat conftest.i conftest.i >conftest2.i
6010lt_cv_truncate_bin=
6011if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6012  cmp -s conftest.i conftest.out \
6013  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6014fi
6015rm -f conftest.i conftest2.i conftest.out
6016test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6017fi
6018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6019$as_echo "$lt_cv_truncate_bin" >&6; }
6020
6021
6022
6023
6024
6025
6026
6027# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6028func_cc_basename ()
6029{
6030    for cc_temp in $*""; do
6031      case $cc_temp in
6032        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6033        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6034        \-*) ;;
6035        *) break;;
6036      esac
6037    done
6038    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6039}
6040
6041# Check whether --enable-libtool-lock was given.
6042if test "${enable_libtool_lock+set}" = set; then :
6043  enableval=$enable_libtool_lock;
6044fi
6045
6046test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6047
6048# Some flags need to be propagated to the compiler or linker for good
6049# libtool support.
6050case $host in
6051ia64-*-hpux*)
6052  # Find out what ABI is being produced by ac_compile, and set mode
6053  # options accordingly.
6054  echo 'int i;' > conftest.$ac_ext
6055  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6056  (eval $ac_compile) 2>&5
6057  ac_status=$?
6058  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6059  test $ac_status = 0; }; then
6060    case `/usr/bin/file conftest.$ac_objext` in
6061      *ELF-32*)
6062	HPUX_IA64_MODE=32
6063	;;
6064      *ELF-64*)
6065	HPUX_IA64_MODE=64
6066	;;
6067    esac
6068  fi
6069  rm -rf conftest*
6070  ;;
6071*-*-irix6*)
6072  # Find out what ABI is being produced by ac_compile, and set linker
6073  # options accordingly.
6074  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6075  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6076  (eval $ac_compile) 2>&5
6077  ac_status=$?
6078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079  test $ac_status = 0; }; then
6080    if test yes = "$lt_cv_prog_gnu_ld"; then
6081      case `/usr/bin/file conftest.$ac_objext` in
6082	*32-bit*)
6083	  LD="${LD-ld} -melf32bsmip"
6084	  ;;
6085	*N32*)
6086	  LD="${LD-ld} -melf32bmipn32"
6087	  ;;
6088	*64-bit*)
6089	  LD="${LD-ld} -melf64bmip"
6090	;;
6091      esac
6092    else
6093      case `/usr/bin/file conftest.$ac_objext` in
6094	*32-bit*)
6095	  LD="${LD-ld} -32"
6096	  ;;
6097	*N32*)
6098	  LD="${LD-ld} -n32"
6099	  ;;
6100	*64-bit*)
6101	  LD="${LD-ld} -64"
6102	  ;;
6103      esac
6104    fi
6105  fi
6106  rm -rf conftest*
6107  ;;
6108
6109mips64*-*linux*)
6110  # Find out what ABI is being produced by ac_compile, and set linker
6111  # options accordingly.
6112  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6113  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6114  (eval $ac_compile) 2>&5
6115  ac_status=$?
6116  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6117  test $ac_status = 0; }; then
6118    emul=elf
6119    case `/usr/bin/file conftest.$ac_objext` in
6120      *32-bit*)
6121	emul="${emul}32"
6122	;;
6123      *64-bit*)
6124	emul="${emul}64"
6125	;;
6126    esac
6127    case `/usr/bin/file conftest.$ac_objext` in
6128      *MSB*)
6129	emul="${emul}btsmip"
6130	;;
6131      *LSB*)
6132	emul="${emul}ltsmip"
6133	;;
6134    esac
6135    case `/usr/bin/file conftest.$ac_objext` in
6136      *N32*)
6137	emul="${emul}n32"
6138	;;
6139    esac
6140    LD="${LD-ld} -m $emul"
6141  fi
6142  rm -rf conftest*
6143  ;;
6144
6145x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6146s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6147  # Find out what ABI is being produced by ac_compile, and set linker
6148  # options accordingly.  Note that the listed cases only cover the
6149  # situations where additional linker options are needed (such as when
6150  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6151  # vice versa); the common cases where no linker options are needed do
6152  # not appear in the list.
6153  echo 'int i;' > conftest.$ac_ext
6154  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6155  (eval $ac_compile) 2>&5
6156  ac_status=$?
6157  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6158  test $ac_status = 0; }; then
6159    case `/usr/bin/file conftest.o` in
6160      *32-bit*)
6161	case $host in
6162	  x86_64-*kfreebsd*-gnu)
6163	    LD="${LD-ld} -m elf_i386_fbsd"
6164	    ;;
6165	  x86_64-*linux*)
6166	    case `/usr/bin/file conftest.o` in
6167	      *x86-64*)
6168		LD="${LD-ld} -m elf32_x86_64"
6169		;;
6170	      *)
6171		LD="${LD-ld} -m elf_i386"
6172		;;
6173	    esac
6174	    ;;
6175	  powerpc64le-*linux*)
6176	    LD="${LD-ld} -m elf32lppclinux"
6177	    ;;
6178	  powerpc64-*linux*)
6179	    LD="${LD-ld} -m elf32ppclinux"
6180	    ;;
6181	  s390x-*linux*)
6182	    LD="${LD-ld} -m elf_s390"
6183	    ;;
6184	  sparc64-*linux*)
6185	    LD="${LD-ld} -m elf32_sparc"
6186	    ;;
6187	esac
6188	;;
6189      *64-bit*)
6190	case $host in
6191	  x86_64-*kfreebsd*-gnu)
6192	    LD="${LD-ld} -m elf_x86_64_fbsd"
6193	    ;;
6194	  x86_64-*linux*)
6195	    LD="${LD-ld} -m elf_x86_64"
6196	    ;;
6197	  powerpcle-*linux*)
6198	    LD="${LD-ld} -m elf64lppc"
6199	    ;;
6200	  powerpc-*linux*)
6201	    LD="${LD-ld} -m elf64ppc"
6202	    ;;
6203	  s390*-*linux*|s390*-*tpf*)
6204	    LD="${LD-ld} -m elf64_s390"
6205	    ;;
6206	  sparc*-*linux*)
6207	    LD="${LD-ld} -m elf64_sparc"
6208	    ;;
6209	esac
6210	;;
6211    esac
6212  fi
6213  rm -rf conftest*
6214  ;;
6215
6216*-*-sco3.2v5*)
6217  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6218  SAVE_CFLAGS=$CFLAGS
6219  CFLAGS="$CFLAGS -belf"
6220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6221$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6222if ${lt_cv_cc_needs_belf+:} false; then :
6223  $as_echo_n "(cached) " >&6
6224else
6225  ac_ext=c
6226ac_cpp='$CPP $CPPFLAGS'
6227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6229ac_compiler_gnu=$ac_cv_c_compiler_gnu
6230
6231     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232/* end confdefs.h.  */
6233
6234int
6235main ()
6236{
6237
6238  ;
6239  return 0;
6240}
6241_ACEOF
6242if ac_fn_c_try_link "$LINENO"; then :
6243  lt_cv_cc_needs_belf=yes
6244else
6245  lt_cv_cc_needs_belf=no
6246fi
6247rm -f core conftest.err conftest.$ac_objext \
6248    conftest$ac_exeext conftest.$ac_ext
6249     ac_ext=c
6250ac_cpp='$CPP $CPPFLAGS'
6251ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6252ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6253ac_compiler_gnu=$ac_cv_c_compiler_gnu
6254
6255fi
6256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6257$as_echo "$lt_cv_cc_needs_belf" >&6; }
6258  if test yes != "$lt_cv_cc_needs_belf"; then
6259    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6260    CFLAGS=$SAVE_CFLAGS
6261  fi
6262  ;;
6263*-*solaris*)
6264  # Find out what ABI is being produced by ac_compile, and set linker
6265  # options accordingly.
6266  echo 'int i;' > conftest.$ac_ext
6267  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6268  (eval $ac_compile) 2>&5
6269  ac_status=$?
6270  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6271  test $ac_status = 0; }; then
6272    case `/usr/bin/file conftest.o` in
6273    *64-bit*)
6274      case $lt_cv_prog_gnu_ld in
6275      yes*)
6276        case $host in
6277        i?86-*-solaris*|x86_64-*-solaris*)
6278          LD="${LD-ld} -m elf_x86_64"
6279          ;;
6280        sparc*-*-solaris*)
6281          LD="${LD-ld} -m elf64_sparc"
6282          ;;
6283        esac
6284        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6285        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6286          LD=${LD-ld}_sol2
6287        fi
6288        ;;
6289      *)
6290	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6291	  LD="${LD-ld} -64"
6292	fi
6293	;;
6294      esac
6295      ;;
6296    esac
6297  fi
6298  rm -rf conftest*
6299  ;;
6300esac
6301
6302need_locks=$enable_libtool_lock
6303
6304if test -n "$ac_tool_prefix"; then
6305  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6306set dummy ${ac_tool_prefix}mt; ac_word=$2
6307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308$as_echo_n "checking for $ac_word... " >&6; }
6309if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6310  $as_echo_n "(cached) " >&6
6311else
6312  if test -n "$MANIFEST_TOOL"; then
6313  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6314else
6315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316for as_dir in $PATH
6317do
6318  IFS=$as_save_IFS
6319  test -z "$as_dir" && as_dir=.
6320    for ac_exec_ext in '' $ac_executable_extensions; do
6321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6322    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324    break 2
6325  fi
6326done
6327  done
6328IFS=$as_save_IFS
6329
6330fi
6331fi
6332MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6333if test -n "$MANIFEST_TOOL"; then
6334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6335$as_echo "$MANIFEST_TOOL" >&6; }
6336else
6337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338$as_echo "no" >&6; }
6339fi
6340
6341
6342fi
6343if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6344  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6345  # Extract the first word of "mt", so it can be a program name with args.
6346set dummy mt; ac_word=$2
6347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348$as_echo_n "checking for $ac_word... " >&6; }
6349if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6350  $as_echo_n "(cached) " >&6
6351else
6352  if test -n "$ac_ct_MANIFEST_TOOL"; then
6353  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6354else
6355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356for as_dir in $PATH
6357do
6358  IFS=$as_save_IFS
6359  test -z "$as_dir" && as_dir=.
6360    for ac_exec_ext in '' $ac_executable_extensions; do
6361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6362    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364    break 2
6365  fi
6366done
6367  done
6368IFS=$as_save_IFS
6369
6370fi
6371fi
6372ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6373if test -n "$ac_ct_MANIFEST_TOOL"; then
6374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6375$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6376else
6377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378$as_echo "no" >&6; }
6379fi
6380
6381  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6382    MANIFEST_TOOL=":"
6383  else
6384    case $cross_compiling:$ac_tool_warned in
6385yes:)
6386{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6388ac_tool_warned=yes ;;
6389esac
6390    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6391  fi
6392else
6393  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6394fi
6395
6396test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6398$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6399if ${lt_cv_path_mainfest_tool+:} false; then :
6400  $as_echo_n "(cached) " >&6
6401else
6402  lt_cv_path_mainfest_tool=no
6403  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6404  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6405  cat conftest.err >&5
6406  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6407    lt_cv_path_mainfest_tool=yes
6408  fi
6409  rm -f conftest*
6410fi
6411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6412$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6413if test yes != "$lt_cv_path_mainfest_tool"; then
6414  MANIFEST_TOOL=:
6415fi
6416
6417
6418
6419
6420
6421
6422  case $host_os in
6423    rhapsody* | darwin*)
6424    if test -n "$ac_tool_prefix"; then
6425  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6426set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428$as_echo_n "checking for $ac_word... " >&6; }
6429if ${ac_cv_prog_DSYMUTIL+:} false; then :
6430  $as_echo_n "(cached) " >&6
6431else
6432  if test -n "$DSYMUTIL"; then
6433  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6434else
6435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436for as_dir in $PATH
6437do
6438  IFS=$as_save_IFS
6439  test -z "$as_dir" && as_dir=.
6440    for ac_exec_ext in '' $ac_executable_extensions; do
6441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444    break 2
6445  fi
6446done
6447  done
6448IFS=$as_save_IFS
6449
6450fi
6451fi
6452DSYMUTIL=$ac_cv_prog_DSYMUTIL
6453if test -n "$DSYMUTIL"; then
6454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6455$as_echo "$DSYMUTIL" >&6; }
6456else
6457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458$as_echo "no" >&6; }
6459fi
6460
6461
6462fi
6463if test -z "$ac_cv_prog_DSYMUTIL"; then
6464  ac_ct_DSYMUTIL=$DSYMUTIL
6465  # Extract the first word of "dsymutil", so it can be a program name with args.
6466set dummy dsymutil; ac_word=$2
6467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468$as_echo_n "checking for $ac_word... " >&6; }
6469if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6470  $as_echo_n "(cached) " >&6
6471else
6472  if test -n "$ac_ct_DSYMUTIL"; then
6473  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6474else
6475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476for as_dir in $PATH
6477do
6478  IFS=$as_save_IFS
6479  test -z "$as_dir" && as_dir=.
6480    for ac_exec_ext in '' $ac_executable_extensions; do
6481  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484    break 2
6485  fi
6486done
6487  done
6488IFS=$as_save_IFS
6489
6490fi
6491fi
6492ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6493if test -n "$ac_ct_DSYMUTIL"; then
6494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6495$as_echo "$ac_ct_DSYMUTIL" >&6; }
6496else
6497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498$as_echo "no" >&6; }
6499fi
6500
6501  if test "x$ac_ct_DSYMUTIL" = x; then
6502    DSYMUTIL=":"
6503  else
6504    case $cross_compiling:$ac_tool_warned in
6505yes:)
6506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508ac_tool_warned=yes ;;
6509esac
6510    DSYMUTIL=$ac_ct_DSYMUTIL
6511  fi
6512else
6513  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6514fi
6515
6516    if test -n "$ac_tool_prefix"; then
6517  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6518set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520$as_echo_n "checking for $ac_word... " >&6; }
6521if ${ac_cv_prog_NMEDIT+:} false; then :
6522  $as_echo_n "(cached) " >&6
6523else
6524  if test -n "$NMEDIT"; then
6525  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6526else
6527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528for as_dir in $PATH
6529do
6530  IFS=$as_save_IFS
6531  test -z "$as_dir" && as_dir=.
6532    for ac_exec_ext in '' $ac_executable_extensions; do
6533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6536    break 2
6537  fi
6538done
6539  done
6540IFS=$as_save_IFS
6541
6542fi
6543fi
6544NMEDIT=$ac_cv_prog_NMEDIT
6545if test -n "$NMEDIT"; then
6546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6547$as_echo "$NMEDIT" >&6; }
6548else
6549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550$as_echo "no" >&6; }
6551fi
6552
6553
6554fi
6555if test -z "$ac_cv_prog_NMEDIT"; then
6556  ac_ct_NMEDIT=$NMEDIT
6557  # Extract the first word of "nmedit", so it can be a program name with args.
6558set dummy nmedit; ac_word=$2
6559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560$as_echo_n "checking for $ac_word... " >&6; }
6561if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6562  $as_echo_n "(cached) " >&6
6563else
6564  if test -n "$ac_ct_NMEDIT"; then
6565  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6566else
6567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568for as_dir in $PATH
6569do
6570  IFS=$as_save_IFS
6571  test -z "$as_dir" && as_dir=.
6572    for ac_exec_ext in '' $ac_executable_extensions; do
6573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576    break 2
6577  fi
6578done
6579  done
6580IFS=$as_save_IFS
6581
6582fi
6583fi
6584ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6585if test -n "$ac_ct_NMEDIT"; then
6586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6587$as_echo "$ac_ct_NMEDIT" >&6; }
6588else
6589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590$as_echo "no" >&6; }
6591fi
6592
6593  if test "x$ac_ct_NMEDIT" = x; then
6594    NMEDIT=":"
6595  else
6596    case $cross_compiling:$ac_tool_warned in
6597yes:)
6598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6600ac_tool_warned=yes ;;
6601esac
6602    NMEDIT=$ac_ct_NMEDIT
6603  fi
6604else
6605  NMEDIT="$ac_cv_prog_NMEDIT"
6606fi
6607
6608    if test -n "$ac_tool_prefix"; then
6609  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6610set dummy ${ac_tool_prefix}lipo; ac_word=$2
6611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612$as_echo_n "checking for $ac_word... " >&6; }
6613if ${ac_cv_prog_LIPO+:} false; then :
6614  $as_echo_n "(cached) " >&6
6615else
6616  if test -n "$LIPO"; then
6617  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6618else
6619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620for as_dir in $PATH
6621do
6622  IFS=$as_save_IFS
6623  test -z "$as_dir" && as_dir=.
6624    for ac_exec_ext in '' $ac_executable_extensions; do
6625  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628    break 2
6629  fi
6630done
6631  done
6632IFS=$as_save_IFS
6633
6634fi
6635fi
6636LIPO=$ac_cv_prog_LIPO
6637if test -n "$LIPO"; then
6638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6639$as_echo "$LIPO" >&6; }
6640else
6641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642$as_echo "no" >&6; }
6643fi
6644
6645
6646fi
6647if test -z "$ac_cv_prog_LIPO"; then
6648  ac_ct_LIPO=$LIPO
6649  # Extract the first word of "lipo", so it can be a program name with args.
6650set dummy lipo; ac_word=$2
6651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652$as_echo_n "checking for $ac_word... " >&6; }
6653if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6654  $as_echo_n "(cached) " >&6
6655else
6656  if test -n "$ac_ct_LIPO"; then
6657  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6658else
6659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660for as_dir in $PATH
6661do
6662  IFS=$as_save_IFS
6663  test -z "$as_dir" && as_dir=.
6664    for ac_exec_ext in '' $ac_executable_extensions; do
6665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666    ac_cv_prog_ac_ct_LIPO="lipo"
6667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668    break 2
6669  fi
6670done
6671  done
6672IFS=$as_save_IFS
6673
6674fi
6675fi
6676ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6677if test -n "$ac_ct_LIPO"; then
6678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6679$as_echo "$ac_ct_LIPO" >&6; }
6680else
6681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682$as_echo "no" >&6; }
6683fi
6684
6685  if test "x$ac_ct_LIPO" = x; then
6686    LIPO=":"
6687  else
6688    case $cross_compiling:$ac_tool_warned in
6689yes:)
6690{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6691$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6692ac_tool_warned=yes ;;
6693esac
6694    LIPO=$ac_ct_LIPO
6695  fi
6696else
6697  LIPO="$ac_cv_prog_LIPO"
6698fi
6699
6700    if test -n "$ac_tool_prefix"; then
6701  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6702set dummy ${ac_tool_prefix}otool; ac_word=$2
6703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704$as_echo_n "checking for $ac_word... " >&6; }
6705if ${ac_cv_prog_OTOOL+:} false; then :
6706  $as_echo_n "(cached) " >&6
6707else
6708  if test -n "$OTOOL"; then
6709  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6710else
6711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712for as_dir in $PATH
6713do
6714  IFS=$as_save_IFS
6715  test -z "$as_dir" && as_dir=.
6716    for ac_exec_ext in '' $ac_executable_extensions; do
6717  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720    break 2
6721  fi
6722done
6723  done
6724IFS=$as_save_IFS
6725
6726fi
6727fi
6728OTOOL=$ac_cv_prog_OTOOL
6729if test -n "$OTOOL"; then
6730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6731$as_echo "$OTOOL" >&6; }
6732else
6733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734$as_echo "no" >&6; }
6735fi
6736
6737
6738fi
6739if test -z "$ac_cv_prog_OTOOL"; then
6740  ac_ct_OTOOL=$OTOOL
6741  # Extract the first word of "otool", so it can be a program name with args.
6742set dummy otool; ac_word=$2
6743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6744$as_echo_n "checking for $ac_word... " >&6; }
6745if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6746  $as_echo_n "(cached) " >&6
6747else
6748  if test -n "$ac_ct_OTOOL"; then
6749  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6750else
6751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752for as_dir in $PATH
6753do
6754  IFS=$as_save_IFS
6755  test -z "$as_dir" && as_dir=.
6756    for ac_exec_ext in '' $ac_executable_extensions; do
6757  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6758    ac_cv_prog_ac_ct_OTOOL="otool"
6759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6760    break 2
6761  fi
6762done
6763  done
6764IFS=$as_save_IFS
6765
6766fi
6767fi
6768ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6769if test -n "$ac_ct_OTOOL"; then
6770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6771$as_echo "$ac_ct_OTOOL" >&6; }
6772else
6773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6774$as_echo "no" >&6; }
6775fi
6776
6777  if test "x$ac_ct_OTOOL" = x; then
6778    OTOOL=":"
6779  else
6780    case $cross_compiling:$ac_tool_warned in
6781yes:)
6782{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6783$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6784ac_tool_warned=yes ;;
6785esac
6786    OTOOL=$ac_ct_OTOOL
6787  fi
6788else
6789  OTOOL="$ac_cv_prog_OTOOL"
6790fi
6791
6792    if test -n "$ac_tool_prefix"; then
6793  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6794set dummy ${ac_tool_prefix}otool64; ac_word=$2
6795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796$as_echo_n "checking for $ac_word... " >&6; }
6797if ${ac_cv_prog_OTOOL64+:} false; then :
6798  $as_echo_n "(cached) " >&6
6799else
6800  if test -n "$OTOOL64"; then
6801  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6802else
6803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804for as_dir in $PATH
6805do
6806  IFS=$as_save_IFS
6807  test -z "$as_dir" && as_dir=.
6808    for ac_exec_ext in '' $ac_executable_extensions; do
6809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812    break 2
6813  fi
6814done
6815  done
6816IFS=$as_save_IFS
6817
6818fi
6819fi
6820OTOOL64=$ac_cv_prog_OTOOL64
6821if test -n "$OTOOL64"; then
6822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6823$as_echo "$OTOOL64" >&6; }
6824else
6825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826$as_echo "no" >&6; }
6827fi
6828
6829
6830fi
6831if test -z "$ac_cv_prog_OTOOL64"; then
6832  ac_ct_OTOOL64=$OTOOL64
6833  # Extract the first word of "otool64", so it can be a program name with args.
6834set dummy otool64; ac_word=$2
6835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836$as_echo_n "checking for $ac_word... " >&6; }
6837if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6838  $as_echo_n "(cached) " >&6
6839else
6840  if test -n "$ac_ct_OTOOL64"; then
6841  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6842else
6843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844for as_dir in $PATH
6845do
6846  IFS=$as_save_IFS
6847  test -z "$as_dir" && as_dir=.
6848    for ac_exec_ext in '' $ac_executable_extensions; do
6849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850    ac_cv_prog_ac_ct_OTOOL64="otool64"
6851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852    break 2
6853  fi
6854done
6855  done
6856IFS=$as_save_IFS
6857
6858fi
6859fi
6860ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6861if test -n "$ac_ct_OTOOL64"; then
6862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6863$as_echo "$ac_ct_OTOOL64" >&6; }
6864else
6865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866$as_echo "no" >&6; }
6867fi
6868
6869  if test "x$ac_ct_OTOOL64" = x; then
6870    OTOOL64=":"
6871  else
6872    case $cross_compiling:$ac_tool_warned in
6873yes:)
6874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876ac_tool_warned=yes ;;
6877esac
6878    OTOOL64=$ac_ct_OTOOL64
6879  fi
6880else
6881  OTOOL64="$ac_cv_prog_OTOOL64"
6882fi
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6911$as_echo_n "checking for -single_module linker flag... " >&6; }
6912if ${lt_cv_apple_cc_single_mod+:} false; then :
6913  $as_echo_n "(cached) " >&6
6914else
6915  lt_cv_apple_cc_single_mod=no
6916      if test -z "$LT_MULTI_MODULE"; then
6917	# By default we will add the -single_module flag. You can override
6918	# by either setting the environment variable LT_MULTI_MODULE
6919	# non-empty at configure time, or by adding -multi_module to the
6920	# link flags.
6921	rm -rf libconftest.dylib*
6922	echo "int foo(void){return 1;}" > conftest.c
6923	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6924-dynamiclib -Wl,-single_module conftest.c" >&5
6925	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6926	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6927        _lt_result=$?
6928	# If there is a non-empty error log, and "single_module"
6929	# appears in it, assume the flag caused a linker warning
6930        if test -s conftest.err && $GREP single_module conftest.err; then
6931	  cat conftest.err >&5
6932	# Otherwise, if the output was created with a 0 exit code from
6933	# the compiler, it worked.
6934	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
6935	  lt_cv_apple_cc_single_mod=yes
6936	else
6937	  cat conftest.err >&5
6938	fi
6939	rm -rf libconftest.dylib*
6940	rm -f conftest.*
6941      fi
6942fi
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6944$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6945
6946    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6947$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6948if ${lt_cv_ld_exported_symbols_list+:} false; then :
6949  $as_echo_n "(cached) " >&6
6950else
6951  lt_cv_ld_exported_symbols_list=no
6952      save_LDFLAGS=$LDFLAGS
6953      echo "_main" > conftest.sym
6954      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956/* end confdefs.h.  */
6957
6958int
6959main ()
6960{
6961
6962  ;
6963  return 0;
6964}
6965_ACEOF
6966if ac_fn_c_try_link "$LINENO"; then :
6967  lt_cv_ld_exported_symbols_list=yes
6968else
6969  lt_cv_ld_exported_symbols_list=no
6970fi
6971rm -f core conftest.err conftest.$ac_objext \
6972    conftest$ac_exeext conftest.$ac_ext
6973	LDFLAGS=$save_LDFLAGS
6974
6975fi
6976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6977$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6978
6979    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6980$as_echo_n "checking for -force_load linker flag... " >&6; }
6981if ${lt_cv_ld_force_load+:} false; then :
6982  $as_echo_n "(cached) " >&6
6983else
6984  lt_cv_ld_force_load=no
6985      cat > conftest.c << _LT_EOF
6986int forced_loaded() { return 2;}
6987_LT_EOF
6988      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6989      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6990      echo "$AR cru libconftest.a conftest.o" >&5
6991      $AR cru libconftest.a conftest.o 2>&5
6992      echo "$RANLIB libconftest.a" >&5
6993      $RANLIB libconftest.a 2>&5
6994      cat > conftest.c << _LT_EOF
6995int main() { return 0;}
6996_LT_EOF
6997      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6998      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6999      _lt_result=$?
7000      if test -s conftest.err && $GREP force_load conftest.err; then
7001	cat conftest.err >&5
7002      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7003	lt_cv_ld_force_load=yes
7004      else
7005	cat conftest.err >&5
7006      fi
7007        rm -f conftest.err libconftest.a conftest conftest.c
7008        rm -rf conftest.dSYM
7009
7010fi
7011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7012$as_echo "$lt_cv_ld_force_load" >&6; }
7013    case $host_os in
7014    rhapsody* | darwin1.[012])
7015      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7016    darwin1.*)
7017      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7018    darwin*) # darwin 5.x on
7019      # if running on 10.5 or later, the deployment target defaults
7020      # to the OS version, if on x86, and 10.4, the deployment
7021      # target defaults to 10.4. Don't you love it?
7022      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7023	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7024	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7025	10.[012][,.]*)
7026	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7027	10.*)
7028	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7029      esac
7030    ;;
7031  esac
7032    if test yes = "$lt_cv_apple_cc_single_mod"; then
7033      _lt_dar_single_mod='$single_module'
7034    fi
7035    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7036      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7037    else
7038      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7039    fi
7040    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7041      _lt_dsymutil='~$DSYMUTIL $lib || :'
7042    else
7043      _lt_dsymutil=
7044    fi
7045    ;;
7046  esac
7047
7048# func_munge_path_list VARIABLE PATH
7049# -----------------------------------
7050# VARIABLE is name of variable containing _space_ separated list of
7051# directories to be munged by the contents of PATH, which is string
7052# having a format:
7053# "DIR[:DIR]:"
7054#       string "DIR[ DIR]" will be prepended to VARIABLE
7055# ":DIR[:DIR]"
7056#       string "DIR[ DIR]" will be appended to VARIABLE
7057# "DIRP[:DIRP]::[DIRA:]DIRA"
7058#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7059#       "DIRA[ DIRA]" will be appended to VARIABLE
7060# "DIR[:DIR]"
7061#       VARIABLE will be replaced by "DIR[ DIR]"
7062func_munge_path_list ()
7063{
7064    case x$2 in
7065    x)
7066        ;;
7067    *:)
7068        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7069        ;;
7070    x:*)
7071        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7072        ;;
7073    *::*)
7074        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7075        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7076        ;;
7077    *)
7078        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7079        ;;
7080    esac
7081}
7082
7083ac_ext=c
7084ac_cpp='$CPP $CPPFLAGS'
7085ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7086ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7087ac_compiler_gnu=$ac_cv_c_compiler_gnu
7088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7089$as_echo_n "checking how to run the C preprocessor... " >&6; }
7090# On Suns, sometimes $CPP names a directory.
7091if test -n "$CPP" && test -d "$CPP"; then
7092  CPP=
7093fi
7094if test -z "$CPP"; then
7095  if ${ac_cv_prog_CPP+:} false; then :
7096  $as_echo_n "(cached) " >&6
7097else
7098      # Double quotes because CPP needs to be expanded
7099    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7100    do
7101      ac_preproc_ok=false
7102for ac_c_preproc_warn_flag in '' yes
7103do
7104  # Use a header file that comes with gcc, so configuring glibc
7105  # with a fresh cross-compiler works.
7106  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7107  # <limits.h> exists even on freestanding compilers.
7108  # On the NeXT, cc -E runs the code through the compiler's parser,
7109  # not just through cpp. "Syntax error" is here to catch this case.
7110  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7111/* end confdefs.h.  */
7112#ifdef __STDC__
7113# include <limits.h>
7114#else
7115# include <assert.h>
7116#endif
7117		     Syntax error
7118_ACEOF
7119if ac_fn_c_try_cpp "$LINENO"; then :
7120
7121else
7122  # Broken: fails on valid input.
7123continue
7124fi
7125rm -f conftest.err conftest.i conftest.$ac_ext
7126
7127  # OK, works on sane cases.  Now check whether nonexistent headers
7128  # can be detected and how.
7129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7130/* end confdefs.h.  */
7131#include <ac_nonexistent.h>
7132_ACEOF
7133if ac_fn_c_try_cpp "$LINENO"; then :
7134  # Broken: success on invalid input.
7135continue
7136else
7137  # Passes both tests.
7138ac_preproc_ok=:
7139break
7140fi
7141rm -f conftest.err conftest.i conftest.$ac_ext
7142
7143done
7144# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7145rm -f conftest.i conftest.err conftest.$ac_ext
7146if $ac_preproc_ok; then :
7147  break
7148fi
7149
7150    done
7151    ac_cv_prog_CPP=$CPP
7152
7153fi
7154  CPP=$ac_cv_prog_CPP
7155else
7156  ac_cv_prog_CPP=$CPP
7157fi
7158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7159$as_echo "$CPP" >&6; }
7160ac_preproc_ok=false
7161for ac_c_preproc_warn_flag in '' yes
7162do
7163  # Use a header file that comes with gcc, so configuring glibc
7164  # with a fresh cross-compiler works.
7165  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7166  # <limits.h> exists even on freestanding compilers.
7167  # On the NeXT, cc -E runs the code through the compiler's parser,
7168  # not just through cpp. "Syntax error" is here to catch this case.
7169  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170/* end confdefs.h.  */
7171#ifdef __STDC__
7172# include <limits.h>
7173#else
7174# include <assert.h>
7175#endif
7176		     Syntax error
7177_ACEOF
7178if ac_fn_c_try_cpp "$LINENO"; then :
7179
7180else
7181  # Broken: fails on valid input.
7182continue
7183fi
7184rm -f conftest.err conftest.i conftest.$ac_ext
7185
7186  # OK, works on sane cases.  Now check whether nonexistent headers
7187  # can be detected and how.
7188  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189/* end confdefs.h.  */
7190#include <ac_nonexistent.h>
7191_ACEOF
7192if ac_fn_c_try_cpp "$LINENO"; then :
7193  # Broken: success on invalid input.
7194continue
7195else
7196  # Passes both tests.
7197ac_preproc_ok=:
7198break
7199fi
7200rm -f conftest.err conftest.i conftest.$ac_ext
7201
7202done
7203# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7204rm -f conftest.i conftest.err conftest.$ac_ext
7205if $ac_preproc_ok; then :
7206
7207else
7208  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7210as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7211See \`config.log' for more details" "$LINENO" 5; }
7212fi
7213
7214ac_ext=c
7215ac_cpp='$CPP $CPPFLAGS'
7216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7218ac_compiler_gnu=$ac_cv_c_compiler_gnu
7219
7220
7221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7222$as_echo_n "checking for ANSI C header files... " >&6; }
7223if ${ac_cv_header_stdc+:} false; then :
7224  $as_echo_n "(cached) " >&6
7225else
7226  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7227/* end confdefs.h.  */
7228#include <stdlib.h>
7229#include <stdarg.h>
7230#include <string.h>
7231#include <float.h>
7232
7233int
7234main ()
7235{
7236
7237  ;
7238  return 0;
7239}
7240_ACEOF
7241if ac_fn_c_try_compile "$LINENO"; then :
7242  ac_cv_header_stdc=yes
7243else
7244  ac_cv_header_stdc=no
7245fi
7246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7247
7248if test $ac_cv_header_stdc = yes; then
7249  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7250  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7251/* end confdefs.h.  */
7252#include <string.h>
7253
7254_ACEOF
7255if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7256  $EGREP "memchr" >/dev/null 2>&1; then :
7257
7258else
7259  ac_cv_header_stdc=no
7260fi
7261rm -f conftest*
7262
7263fi
7264
7265if test $ac_cv_header_stdc = yes; then
7266  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7267  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268/* end confdefs.h.  */
7269#include <stdlib.h>
7270
7271_ACEOF
7272if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7273  $EGREP "free" >/dev/null 2>&1; then :
7274
7275else
7276  ac_cv_header_stdc=no
7277fi
7278rm -f conftest*
7279
7280fi
7281
7282if test $ac_cv_header_stdc = yes; then
7283  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7284  if test "$cross_compiling" = yes; then :
7285  :
7286else
7287  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288/* end confdefs.h.  */
7289#include <ctype.h>
7290#include <stdlib.h>
7291#if ((' ' & 0x0FF) == 0x020)
7292# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7293# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7294#else
7295# define ISLOWER(c) \
7296		   (('a' <= (c) && (c) <= 'i') \
7297		     || ('j' <= (c) && (c) <= 'r') \
7298		     || ('s' <= (c) && (c) <= 'z'))
7299# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7300#endif
7301
7302#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7303int
7304main ()
7305{
7306  int i;
7307  for (i = 0; i < 256; i++)
7308    if (XOR (islower (i), ISLOWER (i))
7309	|| toupper (i) != TOUPPER (i))
7310      return 2;
7311  return 0;
7312}
7313_ACEOF
7314if ac_fn_c_try_run "$LINENO"; then :
7315
7316else
7317  ac_cv_header_stdc=no
7318fi
7319rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7320  conftest.$ac_objext conftest.beam conftest.$ac_ext
7321fi
7322
7323fi
7324fi
7325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7326$as_echo "$ac_cv_header_stdc" >&6; }
7327if test $ac_cv_header_stdc = yes; then
7328
7329$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7330
7331fi
7332
7333# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7334for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7335		  inttypes.h stdint.h unistd.h
7336do :
7337  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7338ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7339"
7340if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7341  cat >>confdefs.h <<_ACEOF
7342#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343_ACEOF
7344
7345fi
7346
7347done
7348
7349
7350for ac_header in dlfcn.h
7351do :
7352  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7353"
7354if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7355  cat >>confdefs.h <<_ACEOF
7356#define HAVE_DLFCN_H 1
7357_ACEOF
7358
7359fi
7360
7361done
7362
7363
7364
7365
7366
7367# Set options
7368# Check whether --enable-static was given.
7369if test "${enable_static+set}" = set; then :
7370  enableval=$enable_static; p=${PACKAGE-default}
7371    case $enableval in
7372    yes) enable_static=yes ;;
7373    no) enable_static=no ;;
7374    *)
7375     enable_static=no
7376      # Look at the argument we got.  We use all the common list separators.
7377      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7378      for pkg in $enableval; do
7379	IFS=$lt_save_ifs
7380	if test "X$pkg" = "X$p"; then
7381	  enable_static=yes
7382	fi
7383      done
7384      IFS=$lt_save_ifs
7385      ;;
7386    esac
7387else
7388  enable_static=no
7389fi
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400        enable_dlopen=no
7401
7402
7403  enable_win32_dll=no
7404
7405
7406            # Check whether --enable-shared was given.
7407if test "${enable_shared+set}" = set; then :
7408  enableval=$enable_shared; p=${PACKAGE-default}
7409    case $enableval in
7410    yes) enable_shared=yes ;;
7411    no) enable_shared=no ;;
7412    *)
7413      enable_shared=no
7414      # Look at the argument we got.  We use all the common list separators.
7415      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7416      for pkg in $enableval; do
7417	IFS=$lt_save_ifs
7418	if test "X$pkg" = "X$p"; then
7419	  enable_shared=yes
7420	fi
7421      done
7422      IFS=$lt_save_ifs
7423      ;;
7424    esac
7425else
7426  enable_shared=yes
7427fi
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439# Check whether --with-pic was given.
7440if test "${with_pic+set}" = set; then :
7441  withval=$with_pic; lt_p=${PACKAGE-default}
7442    case $withval in
7443    yes|no) pic_mode=$withval ;;
7444    *)
7445      pic_mode=default
7446      # Look at the argument we got.  We use all the common list separators.
7447      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7448      for lt_pkg in $withval; do
7449	IFS=$lt_save_ifs
7450	if test "X$lt_pkg" = "X$lt_p"; then
7451	  pic_mode=yes
7452	fi
7453      done
7454      IFS=$lt_save_ifs
7455      ;;
7456    esac
7457else
7458  pic_mode=default
7459fi
7460
7461
7462
7463
7464
7465
7466
7467
7468  # Check whether --enable-fast-install was given.
7469if test "${enable_fast_install+set}" = set; then :
7470  enableval=$enable_fast_install; p=${PACKAGE-default}
7471    case $enableval in
7472    yes) enable_fast_install=yes ;;
7473    no) enable_fast_install=no ;;
7474    *)
7475      enable_fast_install=no
7476      # Look at the argument we got.  We use all the common list separators.
7477      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7478      for pkg in $enableval; do
7479	IFS=$lt_save_ifs
7480	if test "X$pkg" = "X$p"; then
7481	  enable_fast_install=yes
7482	fi
7483      done
7484      IFS=$lt_save_ifs
7485      ;;
7486    esac
7487else
7488  enable_fast_install=yes
7489fi
7490
7491
7492
7493
7494
7495
7496
7497
7498  shared_archive_member_spec=
7499case $host,$enable_shared in
7500power*-*-aix[5-9]*,yes)
7501  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7502$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7503
7504# Check whether --with-aix-soname was given.
7505if test "${with_aix_soname+set}" = set; then :
7506  withval=$with_aix_soname; case $withval in
7507    aix|svr4|both)
7508      ;;
7509    *)
7510      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7511      ;;
7512    esac
7513    lt_cv_with_aix_soname=$with_aix_soname
7514else
7515  if ${lt_cv_with_aix_soname+:} false; then :
7516  $as_echo_n "(cached) " >&6
7517else
7518  lt_cv_with_aix_soname=aix
7519fi
7520
7521    with_aix_soname=$lt_cv_with_aix_soname
7522fi
7523
7524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7525$as_echo "$with_aix_soname" >&6; }
7526  if test aix != "$with_aix_soname"; then
7527    # For the AIX way of multilib, we name the shared archive member
7528    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7529    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7530    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7531    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7532    if test 64 = "${OBJECT_MODE-32}"; then
7533      shared_archive_member_spec=shr_64
7534    else
7535      shared_archive_member_spec=shr
7536    fi
7537  fi
7538  ;;
7539*)
7540  with_aix_soname=aix
7541  ;;
7542esac
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553# This can be used to rebuild libtool when needed
7554LIBTOOL_DEPS=$ltmain
7555
7556# Always use our own libtool.
7557LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588test -z "$LN_S" && LN_S="ln -s"
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603if test -n "${ZSH_VERSION+set}"; then
7604   setopt NO_GLOB_SUBST
7605fi
7606
7607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7608$as_echo_n "checking for objdir... " >&6; }
7609if ${lt_cv_objdir+:} false; then :
7610  $as_echo_n "(cached) " >&6
7611else
7612  rm -f .libs 2>/dev/null
7613mkdir .libs 2>/dev/null
7614if test -d .libs; then
7615  lt_cv_objdir=.libs
7616else
7617  # MS-DOS does not allow filenames that begin with a dot.
7618  lt_cv_objdir=_libs
7619fi
7620rmdir .libs 2>/dev/null
7621fi
7622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7623$as_echo "$lt_cv_objdir" >&6; }
7624objdir=$lt_cv_objdir
7625
7626
7627
7628
7629
7630cat >>confdefs.h <<_ACEOF
7631#define LT_OBJDIR "$lt_cv_objdir/"
7632_ACEOF
7633
7634
7635
7636
7637case $host_os in
7638aix3*)
7639  # AIX sometimes has problems with the GCC collect2 program.  For some
7640  # reason, if we set the COLLECT_NAMES environment variable, the problems
7641  # vanish in a puff of smoke.
7642  if test set != "${COLLECT_NAMES+set}"; then
7643    COLLECT_NAMES=
7644    export COLLECT_NAMES
7645  fi
7646  ;;
7647esac
7648
7649# Global variables:
7650ofile=libtool
7651can_build_shared=yes
7652
7653# All known linkers require a '.a' archive for static linking (except MSVC,
7654# which needs '.lib').
7655libext=a
7656
7657with_gnu_ld=$lt_cv_prog_gnu_ld
7658
7659old_CC=$CC
7660old_CFLAGS=$CFLAGS
7661
7662# Set sane defaults for various variables
7663test -z "$CC" && CC=cc
7664test -z "$LTCC" && LTCC=$CC
7665test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7666test -z "$LD" && LD=ld
7667test -z "$ac_objext" && ac_objext=o
7668
7669func_cc_basename $compiler
7670cc_basename=$func_cc_basename_result
7671
7672
7673# Only perform the check for file, if the check method requires it
7674test -z "$MAGIC_CMD" && MAGIC_CMD=file
7675case $deplibs_check_method in
7676file_magic*)
7677  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7678    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7679$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7680if ${lt_cv_path_MAGIC_CMD+:} false; then :
7681  $as_echo_n "(cached) " >&6
7682else
7683  case $MAGIC_CMD in
7684[\\/*] |  ?:[\\/]*)
7685  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7686  ;;
7687*)
7688  lt_save_MAGIC_CMD=$MAGIC_CMD
7689  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7690  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7691  for ac_dir in $ac_dummy; do
7692    IFS=$lt_save_ifs
7693    test -z "$ac_dir" && ac_dir=.
7694    if test -f "$ac_dir/${ac_tool_prefix}file"; then
7695      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
7696      if test -n "$file_magic_test_file"; then
7697	case $deplibs_check_method in
7698	"file_magic "*)
7699	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7700	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7701	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7702	    $EGREP "$file_magic_regex" > /dev/null; then
7703	    :
7704	  else
7705	    cat <<_LT_EOF 1>&2
7706
7707*** Warning: the command libtool uses to detect shared libraries,
7708*** $file_magic_cmd, produces output that libtool cannot recognize.
7709*** The result is that libtool may fail to recognize shared libraries
7710*** as such.  This will affect the creation of libtool libraries that
7711*** depend on shared libraries, but programs linked with such libtool
7712*** libraries will work regardless of this problem.  Nevertheless, you
7713*** may want to report the problem to your system manager and/or to
7714*** bug-libtool@gnu.org
7715
7716_LT_EOF
7717	  fi ;;
7718	esac
7719      fi
7720      break
7721    fi
7722  done
7723  IFS=$lt_save_ifs
7724  MAGIC_CMD=$lt_save_MAGIC_CMD
7725  ;;
7726esac
7727fi
7728
7729MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7730if test -n "$MAGIC_CMD"; then
7731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7732$as_echo "$MAGIC_CMD" >&6; }
7733else
7734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735$as_echo "no" >&6; }
7736fi
7737
7738
7739
7740
7741
7742if test -z "$lt_cv_path_MAGIC_CMD"; then
7743  if test -n "$ac_tool_prefix"; then
7744    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7745$as_echo_n "checking for file... " >&6; }
7746if ${lt_cv_path_MAGIC_CMD+:} false; then :
7747  $as_echo_n "(cached) " >&6
7748else
7749  case $MAGIC_CMD in
7750[\\/*] |  ?:[\\/]*)
7751  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7752  ;;
7753*)
7754  lt_save_MAGIC_CMD=$MAGIC_CMD
7755  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7756  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7757  for ac_dir in $ac_dummy; do
7758    IFS=$lt_save_ifs
7759    test -z "$ac_dir" && ac_dir=.
7760    if test -f "$ac_dir/file"; then
7761      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
7762      if test -n "$file_magic_test_file"; then
7763	case $deplibs_check_method in
7764	"file_magic "*)
7765	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7766	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7767	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7768	    $EGREP "$file_magic_regex" > /dev/null; then
7769	    :
7770	  else
7771	    cat <<_LT_EOF 1>&2
7772
7773*** Warning: the command libtool uses to detect shared libraries,
7774*** $file_magic_cmd, produces output that libtool cannot recognize.
7775*** The result is that libtool may fail to recognize shared libraries
7776*** as such.  This will affect the creation of libtool libraries that
7777*** depend on shared libraries, but programs linked with such libtool
7778*** libraries will work regardless of this problem.  Nevertheless, you
7779*** may want to report the problem to your system manager and/or to
7780*** bug-libtool@gnu.org
7781
7782_LT_EOF
7783	  fi ;;
7784	esac
7785      fi
7786      break
7787    fi
7788  done
7789  IFS=$lt_save_ifs
7790  MAGIC_CMD=$lt_save_MAGIC_CMD
7791  ;;
7792esac
7793fi
7794
7795MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7796if test -n "$MAGIC_CMD"; then
7797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7798$as_echo "$MAGIC_CMD" >&6; }
7799else
7800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801$as_echo "no" >&6; }
7802fi
7803
7804
7805  else
7806    MAGIC_CMD=:
7807  fi
7808fi
7809
7810  fi
7811  ;;
7812esac
7813
7814# Use C for the default configuration in the libtool script
7815
7816lt_save_CC=$CC
7817ac_ext=c
7818ac_cpp='$CPP $CPPFLAGS'
7819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7821ac_compiler_gnu=$ac_cv_c_compiler_gnu
7822
7823
7824# Source file extension for C test sources.
7825ac_ext=c
7826
7827# Object file extension for compiled C test sources.
7828objext=o
7829objext=$objext
7830
7831# Code to be used in simple compile tests
7832lt_simple_compile_test_code="int some_variable = 0;"
7833
7834# Code to be used in simple link tests
7835lt_simple_link_test_code='int main(){return(0);}'
7836
7837
7838
7839
7840
7841
7842
7843# If no C compiler was specified, use CC.
7844LTCC=${LTCC-"$CC"}
7845
7846# If no C compiler flags were specified, use CFLAGS.
7847LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7848
7849# Allow CC to be a program name with arguments.
7850compiler=$CC
7851
7852# Save the default compiler, since it gets overwritten when the other
7853# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7854compiler_DEFAULT=$CC
7855
7856# save warnings/boilerplate of simple test code
7857ac_outfile=conftest.$ac_objext
7858echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7859eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7860_lt_compiler_boilerplate=`cat conftest.err`
7861$RM conftest*
7862
7863ac_outfile=conftest.$ac_objext
7864echo "$lt_simple_link_test_code" >conftest.$ac_ext
7865eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7866_lt_linker_boilerplate=`cat conftest.err`
7867$RM -r conftest*
7868
7869
7870## CAVEAT EMPTOR:
7871## There is no encapsulation within the following macros, do not change
7872## the running order or otherwise move them around unless you know exactly
7873## what you are doing...
7874if test -n "$compiler"; then
7875
7876lt_prog_compiler_no_builtin_flag=
7877
7878if test yes = "$GCC"; then
7879  case $cc_basename in
7880  nvcc*)
7881    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7882  *)
7883    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7884  esac
7885
7886  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7887$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7888if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7889  $as_echo_n "(cached) " >&6
7890else
7891  lt_cv_prog_compiler_rtti_exceptions=no
7892   ac_outfile=conftest.$ac_objext
7893   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7894   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
7895   # Insert the option either (1) after the last *FLAGS variable, or
7896   # (2) before a word containing "conftest.", or (3) at the end.
7897   # Note that $ac_compile itself does not contain backslashes and begins
7898   # with a dollar sign (not a hyphen), so the echo should work correctly.
7899   # The option is referenced via a variable to avoid confusing sed.
7900   lt_compile=`echo "$ac_compile" | $SED \
7901   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7902   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7903   -e 's:$: $lt_compiler_flag:'`
7904   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7905   (eval "$lt_compile" 2>conftest.err)
7906   ac_status=$?
7907   cat conftest.err >&5
7908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909   if (exit $ac_status) && test -s "$ac_outfile"; then
7910     # The compiler can only warn and ignore the option if not recognized
7911     # So say no if there are warnings other than the usual output.
7912     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7913     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7914     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7915       lt_cv_prog_compiler_rtti_exceptions=yes
7916     fi
7917   fi
7918   $RM conftest*
7919
7920fi
7921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7922$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7923
7924if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7925    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7926else
7927    :
7928fi
7929
7930fi
7931
7932
7933
7934
7935
7936
7937  lt_prog_compiler_wl=
7938lt_prog_compiler_pic=
7939lt_prog_compiler_static=
7940
7941
7942  if test yes = "$GCC"; then
7943    lt_prog_compiler_wl='-Wl,'
7944    lt_prog_compiler_static='-static'
7945
7946    case $host_os in
7947      aix*)
7948      # All AIX code is PIC.
7949      if test ia64 = "$host_cpu"; then
7950	# AIX 5 now supports IA64 processor
7951	lt_prog_compiler_static='-Bstatic'
7952      fi
7953      lt_prog_compiler_pic='-fPIC'
7954      ;;
7955
7956    amigaos*)
7957      case $host_cpu in
7958      powerpc)
7959            # see comment about AmigaOS4 .so support
7960            lt_prog_compiler_pic='-fPIC'
7961        ;;
7962      m68k)
7963            # FIXME: we need at least 68020 code to build shared libraries, but
7964            # adding the '-m68020' flag to GCC prevents building anything better,
7965            # like '-m68040'.
7966            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7967        ;;
7968      esac
7969      ;;
7970
7971    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7972      # PIC is the default for these OSes.
7973      ;;
7974
7975    mingw* | cygwin* | pw32* | os2* | cegcc*)
7976      # This hack is so that the source file can tell whether it is being
7977      # built for inclusion in a dll (and should export symbols for example).
7978      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7979      # (--disable-auto-import) libraries
7980      lt_prog_compiler_pic='-DDLL_EXPORT'
7981      case $host_os in
7982      os2*)
7983	lt_prog_compiler_static='$wl-static'
7984	;;
7985      esac
7986      ;;
7987
7988    darwin* | rhapsody*)
7989      # PIC is the default on this platform
7990      # Common symbols not allowed in MH_DYLIB files
7991      lt_prog_compiler_pic='-fno-common'
7992      ;;
7993
7994    haiku*)
7995      # PIC is the default for Haiku.
7996      # The "-static" flag exists, but is broken.
7997      lt_prog_compiler_static=
7998      ;;
7999
8000    hpux*)
8001      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8002      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8003      # sets the default TLS model and affects inlining.
8004      case $host_cpu in
8005      hppa*64*)
8006	# +Z the default
8007	;;
8008      *)
8009	lt_prog_compiler_pic='-fPIC'
8010	;;
8011      esac
8012      ;;
8013
8014    interix[3-9]*)
8015      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8016      # Instead, we relocate shared libraries at runtime.
8017      ;;
8018
8019    msdosdjgpp*)
8020      # Just because we use GCC doesn't mean we suddenly get shared libraries
8021      # on systems that don't support them.
8022      lt_prog_compiler_can_build_shared=no
8023      enable_shared=no
8024      ;;
8025
8026    *nto* | *qnx*)
8027      # QNX uses GNU C++, but need to define -shared option too, otherwise
8028      # it will coredump.
8029      lt_prog_compiler_pic='-fPIC -shared'
8030      ;;
8031
8032    sysv4*MP*)
8033      if test -d /usr/nec; then
8034	lt_prog_compiler_pic=-Kconform_pic
8035      fi
8036      ;;
8037
8038    *)
8039      lt_prog_compiler_pic='-fPIC'
8040      ;;
8041    esac
8042
8043    case $cc_basename in
8044    nvcc*) # Cuda Compiler Driver 2.2
8045      lt_prog_compiler_wl='-Xlinker '
8046      if test -n "$lt_prog_compiler_pic"; then
8047        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8048      fi
8049      ;;
8050    esac
8051  else
8052    # PORTME Check for flag to pass linker flags through the system compiler.
8053    case $host_os in
8054    aix*)
8055      lt_prog_compiler_wl='-Wl,'
8056      if test ia64 = "$host_cpu"; then
8057	# AIX 5 now supports IA64 processor
8058	lt_prog_compiler_static='-Bstatic'
8059      else
8060	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8061      fi
8062      ;;
8063
8064    darwin* | rhapsody*)
8065      # PIC is the default on this platform
8066      # Common symbols not allowed in MH_DYLIB files
8067      lt_prog_compiler_pic='-fno-common'
8068      case $cc_basename in
8069      nagfor*)
8070        # NAG Fortran compiler
8071        lt_prog_compiler_wl='-Wl,-Wl,,'
8072        lt_prog_compiler_pic='-PIC'
8073        lt_prog_compiler_static='-Bstatic'
8074        ;;
8075      esac
8076      ;;
8077
8078    mingw* | cygwin* | pw32* | os2* | cegcc*)
8079      # This hack is so that the source file can tell whether it is being
8080      # built for inclusion in a dll (and should export symbols for example).
8081      lt_prog_compiler_pic='-DDLL_EXPORT'
8082      case $host_os in
8083      os2*)
8084	lt_prog_compiler_static='$wl-static'
8085	;;
8086      esac
8087      ;;
8088
8089    hpux9* | hpux10* | hpux11*)
8090      lt_prog_compiler_wl='-Wl,'
8091      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8092      # not for PA HP-UX.
8093      case $host_cpu in
8094      hppa*64*|ia64*)
8095	# +Z the default
8096	;;
8097      *)
8098	lt_prog_compiler_pic='+Z'
8099	;;
8100      esac
8101      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8102      lt_prog_compiler_static='$wl-a ${wl}archive'
8103      ;;
8104
8105    irix5* | irix6* | nonstopux*)
8106      lt_prog_compiler_wl='-Wl,'
8107      # PIC (with -KPIC) is the default.
8108      lt_prog_compiler_static='-non_shared'
8109      ;;
8110
8111    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8112      case $cc_basename in
8113      # old Intel for x86_64, which still supported -KPIC.
8114      ecc*)
8115	lt_prog_compiler_wl='-Wl,'
8116	lt_prog_compiler_pic='-KPIC'
8117	lt_prog_compiler_static='-static'
8118        ;;
8119      # icc used to be incompatible with GCC.
8120      # ICC 10 doesn't accept -KPIC any more.
8121      icc* | ifort*)
8122	lt_prog_compiler_wl='-Wl,'
8123	lt_prog_compiler_pic='-fPIC'
8124	lt_prog_compiler_static='-static'
8125        ;;
8126      # Lahey Fortran 8.1.
8127      lf95*)
8128	lt_prog_compiler_wl='-Wl,'
8129	lt_prog_compiler_pic='--shared'
8130	lt_prog_compiler_static='--static'
8131	;;
8132      nagfor*)
8133	# NAG Fortran compiler
8134	lt_prog_compiler_wl='-Wl,-Wl,,'
8135	lt_prog_compiler_pic='-PIC'
8136	lt_prog_compiler_static='-Bstatic'
8137	;;
8138      tcc*)
8139	# Fabrice Bellard et al's Tiny C Compiler
8140	lt_prog_compiler_wl='-Wl,'
8141	lt_prog_compiler_pic='-fPIC'
8142	lt_prog_compiler_static='-static'
8143	;;
8144      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8145        # Portland Group compilers (*not* the Pentium gcc compiler,
8146	# which looks to be a dead project)
8147	lt_prog_compiler_wl='-Wl,'
8148	lt_prog_compiler_pic='-fpic'
8149	lt_prog_compiler_static='-Bstatic'
8150        ;;
8151      ccc*)
8152        lt_prog_compiler_wl='-Wl,'
8153        # All Alpha code is PIC.
8154        lt_prog_compiler_static='-non_shared'
8155        ;;
8156      xl* | bgxl* | bgf* | mpixl*)
8157	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8158	lt_prog_compiler_wl='-Wl,'
8159	lt_prog_compiler_pic='-qpic'
8160	lt_prog_compiler_static='-qstaticlink'
8161	;;
8162      *)
8163	case `$CC -V 2>&1 | sed 5q` in
8164	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8165	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8166	  lt_prog_compiler_pic='-KPIC'
8167	  lt_prog_compiler_static='-Bstatic'
8168	  lt_prog_compiler_wl=''
8169	  ;;
8170	*Sun\ F* | *Sun*Fortran*)
8171	  lt_prog_compiler_pic='-KPIC'
8172	  lt_prog_compiler_static='-Bstatic'
8173	  lt_prog_compiler_wl='-Qoption ld '
8174	  ;;
8175	*Sun\ C*)
8176	  # Sun C 5.9
8177	  lt_prog_compiler_pic='-KPIC'
8178	  lt_prog_compiler_static='-Bstatic'
8179	  lt_prog_compiler_wl='-Wl,'
8180	  ;;
8181        *Intel*\ [CF]*Compiler*)
8182	  lt_prog_compiler_wl='-Wl,'
8183	  lt_prog_compiler_pic='-fPIC'
8184	  lt_prog_compiler_static='-static'
8185	  ;;
8186	*Portland\ Group*)
8187	  lt_prog_compiler_wl='-Wl,'
8188	  lt_prog_compiler_pic='-fpic'
8189	  lt_prog_compiler_static='-Bstatic'
8190	  ;;
8191	esac
8192	;;
8193      esac
8194      ;;
8195
8196    newsos6)
8197      lt_prog_compiler_pic='-KPIC'
8198      lt_prog_compiler_static='-Bstatic'
8199      ;;
8200
8201    *nto* | *qnx*)
8202      # QNX uses GNU C++, but need to define -shared option too, otherwise
8203      # it will coredump.
8204      lt_prog_compiler_pic='-fPIC -shared'
8205      ;;
8206
8207    osf3* | osf4* | osf5*)
8208      lt_prog_compiler_wl='-Wl,'
8209      # All OSF/1 code is PIC.
8210      lt_prog_compiler_static='-non_shared'
8211      ;;
8212
8213    rdos*)
8214      lt_prog_compiler_static='-non_shared'
8215      ;;
8216
8217    solaris*)
8218      lt_prog_compiler_pic='-KPIC'
8219      lt_prog_compiler_static='-Bstatic'
8220      case $cc_basename in
8221      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8222	lt_prog_compiler_wl='-Qoption ld ';;
8223      *)
8224	lt_prog_compiler_wl='-Wl,';;
8225      esac
8226      ;;
8227
8228    sunos4*)
8229      lt_prog_compiler_wl='-Qoption ld '
8230      lt_prog_compiler_pic='-PIC'
8231      lt_prog_compiler_static='-Bstatic'
8232      ;;
8233
8234    sysv4 | sysv4.2uw2* | sysv4.3*)
8235      lt_prog_compiler_wl='-Wl,'
8236      lt_prog_compiler_pic='-KPIC'
8237      lt_prog_compiler_static='-Bstatic'
8238      ;;
8239
8240    sysv4*MP*)
8241      if test -d /usr/nec; then
8242	lt_prog_compiler_pic='-Kconform_pic'
8243	lt_prog_compiler_static='-Bstatic'
8244      fi
8245      ;;
8246
8247    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8248      lt_prog_compiler_wl='-Wl,'
8249      lt_prog_compiler_pic='-KPIC'
8250      lt_prog_compiler_static='-Bstatic'
8251      ;;
8252
8253    unicos*)
8254      lt_prog_compiler_wl='-Wl,'
8255      lt_prog_compiler_can_build_shared=no
8256      ;;
8257
8258    uts4*)
8259      lt_prog_compiler_pic='-pic'
8260      lt_prog_compiler_static='-Bstatic'
8261      ;;
8262
8263    *)
8264      lt_prog_compiler_can_build_shared=no
8265      ;;
8266    esac
8267  fi
8268
8269case $host_os in
8270  # For platforms that do not support PIC, -DPIC is meaningless:
8271  *djgpp*)
8272    lt_prog_compiler_pic=
8273    ;;
8274  *)
8275    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8276    ;;
8277esac
8278
8279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8280$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8281if ${lt_cv_prog_compiler_pic+:} false; then :
8282  $as_echo_n "(cached) " >&6
8283else
8284  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8285fi
8286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8287$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8288lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8289
8290#
8291# Check to make sure the PIC flag actually works.
8292#
8293if test -n "$lt_prog_compiler_pic"; then
8294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8295$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8296if ${lt_cv_prog_compiler_pic_works+:} false; then :
8297  $as_echo_n "(cached) " >&6
8298else
8299  lt_cv_prog_compiler_pic_works=no
8300   ac_outfile=conftest.$ac_objext
8301   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8302   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8303   # Insert the option either (1) after the last *FLAGS variable, or
8304   # (2) before a word containing "conftest.", or (3) at the end.
8305   # Note that $ac_compile itself does not contain backslashes and begins
8306   # with a dollar sign (not a hyphen), so the echo should work correctly.
8307   # The option is referenced via a variable to avoid confusing sed.
8308   lt_compile=`echo "$ac_compile" | $SED \
8309   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8310   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8311   -e 's:$: $lt_compiler_flag:'`
8312   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8313   (eval "$lt_compile" 2>conftest.err)
8314   ac_status=$?
8315   cat conftest.err >&5
8316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317   if (exit $ac_status) && test -s "$ac_outfile"; then
8318     # The compiler can only warn and ignore the option if not recognized
8319     # So say no if there are warnings other than the usual output.
8320     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8321     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8322     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8323       lt_cv_prog_compiler_pic_works=yes
8324     fi
8325   fi
8326   $RM conftest*
8327
8328fi
8329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8330$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8331
8332if test yes = "$lt_cv_prog_compiler_pic_works"; then
8333    case $lt_prog_compiler_pic in
8334     "" | " "*) ;;
8335     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8336     esac
8337else
8338    lt_prog_compiler_pic=
8339     lt_prog_compiler_can_build_shared=no
8340fi
8341
8342fi
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354#
8355# Check to make sure the static flag actually works.
8356#
8357wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8359$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8360if ${lt_cv_prog_compiler_static_works+:} false; then :
8361  $as_echo_n "(cached) " >&6
8362else
8363  lt_cv_prog_compiler_static_works=no
8364   save_LDFLAGS=$LDFLAGS
8365   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8366   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8367   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8368     # The linker can only warn and ignore the option if not recognized
8369     # So say no if there are warnings
8370     if test -s conftest.err; then
8371       # Append any errors to the config.log.
8372       cat conftest.err 1>&5
8373       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8374       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8375       if diff conftest.exp conftest.er2 >/dev/null; then
8376         lt_cv_prog_compiler_static_works=yes
8377       fi
8378     else
8379       lt_cv_prog_compiler_static_works=yes
8380     fi
8381   fi
8382   $RM -r conftest*
8383   LDFLAGS=$save_LDFLAGS
8384
8385fi
8386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8387$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8388
8389if test yes = "$lt_cv_prog_compiler_static_works"; then
8390    :
8391else
8392    lt_prog_compiler_static=
8393fi
8394
8395
8396
8397
8398
8399
8400
8401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8402$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8403if ${lt_cv_prog_compiler_c_o+:} false; then :
8404  $as_echo_n "(cached) " >&6
8405else
8406  lt_cv_prog_compiler_c_o=no
8407   $RM -r conftest 2>/dev/null
8408   mkdir conftest
8409   cd conftest
8410   mkdir out
8411   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8412
8413   lt_compiler_flag="-o out/conftest2.$ac_objext"
8414   # Insert the option either (1) after the last *FLAGS variable, or
8415   # (2) before a word containing "conftest.", or (3) at the end.
8416   # Note that $ac_compile itself does not contain backslashes and begins
8417   # with a dollar sign (not a hyphen), so the echo should work correctly.
8418   lt_compile=`echo "$ac_compile" | $SED \
8419   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8420   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8421   -e 's:$: $lt_compiler_flag:'`
8422   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8423   (eval "$lt_compile" 2>out/conftest.err)
8424   ac_status=$?
8425   cat out/conftest.err >&5
8426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8428   then
8429     # The compiler can only warn and ignore the option if not recognized
8430     # So say no if there are warnings
8431     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8432     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8433     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8434       lt_cv_prog_compiler_c_o=yes
8435     fi
8436   fi
8437   chmod u+w . 2>&5
8438   $RM conftest*
8439   # SGI C++ compiler will create directory out/ii_files/ for
8440   # template instantiation
8441   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8442   $RM out/* && rmdir out
8443   cd ..
8444   $RM -r conftest
8445   $RM conftest*
8446
8447fi
8448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8449$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8450
8451
8452
8453
8454
8455
8456  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8457$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8458if ${lt_cv_prog_compiler_c_o+:} false; then :
8459  $as_echo_n "(cached) " >&6
8460else
8461  lt_cv_prog_compiler_c_o=no
8462   $RM -r conftest 2>/dev/null
8463   mkdir conftest
8464   cd conftest
8465   mkdir out
8466   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8467
8468   lt_compiler_flag="-o out/conftest2.$ac_objext"
8469   # Insert the option either (1) after the last *FLAGS variable, or
8470   # (2) before a word containing "conftest.", or (3) at the end.
8471   # Note that $ac_compile itself does not contain backslashes and begins
8472   # with a dollar sign (not a hyphen), so the echo should work correctly.
8473   lt_compile=`echo "$ac_compile" | $SED \
8474   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8475   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8476   -e 's:$: $lt_compiler_flag:'`
8477   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8478   (eval "$lt_compile" 2>out/conftest.err)
8479   ac_status=$?
8480   cat out/conftest.err >&5
8481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8483   then
8484     # The compiler can only warn and ignore the option if not recognized
8485     # So say no if there are warnings
8486     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8487     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8488     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8489       lt_cv_prog_compiler_c_o=yes
8490     fi
8491   fi
8492   chmod u+w . 2>&5
8493   $RM conftest*
8494   # SGI C++ compiler will create directory out/ii_files/ for
8495   # template instantiation
8496   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8497   $RM out/* && rmdir out
8498   cd ..
8499   $RM -r conftest
8500   $RM conftest*
8501
8502fi
8503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8504$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8505
8506
8507
8508
8509hard_links=nottested
8510if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8511  # do not overwrite the value of need_locks provided by the user
8512  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8513$as_echo_n "checking if we can lock with hard links... " >&6; }
8514  hard_links=yes
8515  $RM conftest*
8516  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8517  touch conftest.a
8518  ln conftest.a conftest.b 2>&5 || hard_links=no
8519  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8521$as_echo "$hard_links" >&6; }
8522  if test no = "$hard_links"; then
8523    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8524$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8525    need_locks=warn
8526  fi
8527else
8528  need_locks=no
8529fi
8530
8531
8532
8533
8534
8535
8536  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8537$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8538
8539  runpath_var=
8540  allow_undefined_flag=
8541  always_export_symbols=no
8542  archive_cmds=
8543  archive_expsym_cmds=
8544  compiler_needs_object=no
8545  enable_shared_with_static_runtimes=no
8546  export_dynamic_flag_spec=
8547  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8548  hardcode_automatic=no
8549  hardcode_direct=no
8550  hardcode_direct_absolute=no
8551  hardcode_libdir_flag_spec=
8552  hardcode_libdir_separator=
8553  hardcode_minus_L=no
8554  hardcode_shlibpath_var=unsupported
8555  inherit_rpath=no
8556  link_all_deplibs=unknown
8557  module_cmds=
8558  module_expsym_cmds=
8559  old_archive_from_new_cmds=
8560  old_archive_from_expsyms_cmds=
8561  thread_safe_flag_spec=
8562  whole_archive_flag_spec=
8563  # include_expsyms should be a list of space-separated symbols to be *always*
8564  # included in the symbol list
8565  include_expsyms=
8566  # exclude_expsyms can be an extended regexp of symbols to exclude
8567  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8568  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8569  # as well as any symbol that contains 'd'.
8570  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8571  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8572  # platforms (ab)use it in PIC code, but their linkers get confused if
8573  # the symbol is explicitly referenced.  Since portable code cannot
8574  # rely on this symbol name, it's probably fine to never include it in
8575  # preloaded symbol tables.
8576  # Exclude shared library initialization/finalization symbols.
8577  extract_expsyms_cmds=
8578
8579  case $host_os in
8580  cygwin* | mingw* | pw32* | cegcc*)
8581    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8582    # When not using gcc, we currently assume that we are using
8583    # Microsoft Visual C++.
8584    if test yes != "$GCC"; then
8585      with_gnu_ld=no
8586    fi
8587    ;;
8588  interix*)
8589    # we just hope/assume this is gcc and not c89 (= MSVC++)
8590    with_gnu_ld=yes
8591    ;;
8592  openbsd* | bitrig*)
8593    with_gnu_ld=no
8594    ;;
8595  esac
8596
8597  ld_shlibs=yes
8598
8599  # On some targets, GNU ld is compatible enough with the native linker
8600  # that we're better off using the native interface for both.
8601  lt_use_gnu_ld_interface=no
8602  if test yes = "$with_gnu_ld"; then
8603    case $host_os in
8604      aix*)
8605	# The AIX port of GNU ld has always aspired to compatibility
8606	# with the native linker.  However, as the warning in the GNU ld
8607	# block says, versions before 2.19.5* couldn't really create working
8608	# shared libraries, regardless of the interface used.
8609	case `$LD -v 2>&1` in
8610	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8611	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8612	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8613	  *)
8614	    lt_use_gnu_ld_interface=yes
8615	    ;;
8616	esac
8617	;;
8618      *)
8619	lt_use_gnu_ld_interface=yes
8620	;;
8621    esac
8622  fi
8623
8624  if test yes = "$lt_use_gnu_ld_interface"; then
8625    # If archive_cmds runs LD, not CC, wlarc should be empty
8626    wlarc='$wl'
8627
8628    # Set some defaults for GNU ld with shared library support. These
8629    # are reset later if shared libraries are not supported. Putting them
8630    # here allows them to be overridden if necessary.
8631    runpath_var=LD_RUN_PATH
8632    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8633    export_dynamic_flag_spec='$wl--export-dynamic'
8634    # ancient GNU ld didn't support --whole-archive et. al.
8635    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8636      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8637    else
8638      whole_archive_flag_spec=
8639    fi
8640    supports_anon_versioning=no
8641    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8642      *GNU\ gold*) supports_anon_versioning=yes ;;
8643      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8644      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8645      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8646      *\ 2.11.*) ;; # other 2.11 versions
8647      *) supports_anon_versioning=yes ;;
8648    esac
8649
8650    # See if GNU ld supports shared libraries.
8651    case $host_os in
8652    aix[3-9]*)
8653      # On AIX/PPC, the GNU linker is very broken
8654      if test ia64 != "$host_cpu"; then
8655	ld_shlibs=no
8656	cat <<_LT_EOF 1>&2
8657
8658*** Warning: the GNU linker, at least up to release 2.19, is reported
8659*** to be unable to reliably create shared libraries on AIX.
8660*** Therefore, libtool is disabling shared libraries support.  If you
8661*** really care for shared libraries, you may want to install binutils
8662*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8663*** You will then need to restart the configuration process.
8664
8665_LT_EOF
8666      fi
8667      ;;
8668
8669    amigaos*)
8670      case $host_cpu in
8671      powerpc)
8672            # see comment about AmigaOS4 .so support
8673            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8674            archive_expsym_cmds=''
8675        ;;
8676      m68k)
8677            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)'
8678            hardcode_libdir_flag_spec='-L$libdir'
8679            hardcode_minus_L=yes
8680        ;;
8681      esac
8682      ;;
8683
8684    beos*)
8685      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8686	allow_undefined_flag=unsupported
8687	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8688	# support --undefined.  This deserves some investigation.  FIXME
8689	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8690      else
8691	ld_shlibs=no
8692      fi
8693      ;;
8694
8695    cygwin* | mingw* | pw32* | cegcc*)
8696      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8697      # as there is no search path for DLLs.
8698      hardcode_libdir_flag_spec='-L$libdir'
8699      export_dynamic_flag_spec='$wl--export-all-symbols'
8700      allow_undefined_flag=unsupported
8701      always_export_symbols=no
8702      enable_shared_with_static_runtimes=yes
8703      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'
8704      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8705
8706      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8707        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8708	# If the export-symbols file already is a .def file, use it as
8709	# is; otherwise, prepend EXPORTS...
8710	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
8711          cp $export_symbols $output_objdir/$soname.def;
8712        else
8713          echo EXPORTS > $output_objdir/$soname.def;
8714          cat $export_symbols >> $output_objdir/$soname.def;
8715        fi~
8716        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8717      else
8718	ld_shlibs=no
8719      fi
8720      ;;
8721
8722    haiku*)
8723      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8724      link_all_deplibs=yes
8725      ;;
8726
8727    os2*)
8728      hardcode_libdir_flag_spec='-L$libdir'
8729      hardcode_minus_L=yes
8730      allow_undefined_flag=unsupported
8731      shrext_cmds=.dll
8732      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8733	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8734	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8735	$ECHO EXPORTS >> $output_objdir/$libname.def~
8736	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8737	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8738	emximp -o $lib $output_objdir/$libname.def'
8739      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8740	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8741	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8742	$ECHO EXPORTS >> $output_objdir/$libname.def~
8743	prefix_cmds="$SED"~
8744	if test EXPORTS = "`$SED 1q $export_symbols`"; then
8745	  prefix_cmds="$prefix_cmds -e 1d";
8746	fi~
8747	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8748	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8749	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8750	emximp -o $lib $output_objdir/$libname.def'
8751      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8752      enable_shared_with_static_runtimes=yes
8753      ;;
8754
8755    interix[3-9]*)
8756      hardcode_direct=no
8757      hardcode_shlibpath_var=no
8758      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
8759      export_dynamic_flag_spec='$wl-E'
8760      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8761      # Instead, shared libraries are loaded at an image base (0x10000000 by
8762      # default) and relocated if they conflict, which is a slow very memory
8763      # consuming and fragmenting process.  To avoid this, we pick a random,
8764      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8765      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8766      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8767      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'
8768      ;;
8769
8770    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8771      tmp_diet=no
8772      if test linux-dietlibc = "$host_os"; then
8773	case $cc_basename in
8774	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8775	esac
8776      fi
8777      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8778	 && test no = "$tmp_diet"
8779      then
8780	tmp_addflag=' $pic_flag'
8781	tmp_sharedflag='-shared'
8782	case $cc_basename,$host_cpu in
8783        pgcc*)				# Portland Group C compiler
8784	  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'
8785	  tmp_addflag=' $pic_flag'
8786	  ;;
8787	pgf77* | pgf90* | pgf95* | pgfortran*)
8788					# Portland Group f77 and f90 compilers
8789	  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'
8790	  tmp_addflag=' $pic_flag -Mnomain' ;;
8791	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8792	  tmp_addflag=' -i_dynamic' ;;
8793	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8794	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8795	ifc* | ifort*)			# Intel Fortran compiler
8796	  tmp_addflag=' -nofor_main' ;;
8797	lf95*)				# Lahey Fortran 8.1
8798	  whole_archive_flag_spec=
8799	  tmp_sharedflag='--shared' ;;
8800        nagfor*)                        # NAGFOR 5.3
8801          tmp_sharedflag='-Wl,-shared' ;;
8802	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8803	  tmp_sharedflag='-qmkshrobj'
8804	  tmp_addflag= ;;
8805	nvcc*)	# Cuda Compiler Driver 2.2
8806	  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'
8807	  compiler_needs_object=yes
8808	  ;;
8809	esac
8810	case `$CC -V 2>&1 | sed 5q` in
8811	*Sun\ C*)			# Sun C 5.9
8812	  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'
8813	  compiler_needs_object=yes
8814	  tmp_sharedflag='-G' ;;
8815	*Sun\ F*)			# Sun Fortran 8.3
8816	  tmp_sharedflag='-G' ;;
8817	esac
8818	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8819
8820        if test yes = "$supports_anon_versioning"; then
8821          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8822            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8823            echo "local: *; };" >> $output_objdir/$libname.ver~
8824            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8825        fi
8826
8827	case $cc_basename in
8828	tcc*)
8829	  export_dynamic_flag_spec='-rdynamic'
8830	  ;;
8831	xlf* | bgf* | bgxlf* | mpixlf*)
8832	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8833	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8834	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8835	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8836	  if test yes = "$supports_anon_versioning"; then
8837	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8838              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8839              echo "local: *; };" >> $output_objdir/$libname.ver~
8840              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8841	  fi
8842	  ;;
8843	esac
8844      else
8845        ld_shlibs=no
8846      fi
8847      ;;
8848
8849    netbsd*)
8850      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8851	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8852	wlarc=
8853      else
8854	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8855	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8856      fi
8857      ;;
8858
8859    solaris*)
8860      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8861	ld_shlibs=no
8862	cat <<_LT_EOF 1>&2
8863
8864*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8865*** create shared libraries on Solaris systems.  Therefore, libtool
8866*** is disabling shared libraries support.  We urge you to upgrade GNU
8867*** binutils to release 2.9.1 or newer.  Another option is to modify
8868*** your PATH or compiler configuration so that the native linker is
8869*** used, and then restart.
8870
8871_LT_EOF
8872      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8873	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8874	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8875      else
8876	ld_shlibs=no
8877      fi
8878      ;;
8879
8880    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8881      case `$LD -v 2>&1` in
8882        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8883	ld_shlibs=no
8884	cat <<_LT_EOF 1>&2
8885
8886*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8887*** reliably create shared libraries on SCO systems.  Therefore, libtool
8888*** is disabling shared libraries support.  We urge you to upgrade GNU
8889*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8890*** your PATH or compiler configuration so that the native linker is
8891*** used, and then restart.
8892
8893_LT_EOF
8894	;;
8895	*)
8896	  # For security reasons, it is highly recommended that you always
8897	  # use absolute paths for naming shared libraries, and exclude the
8898	  # DT_RUNPATH tag from executables and libraries.  But doing so
8899	  # requires that you compile everything twice, which is a pain.
8900	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8901	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8902	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8903	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8904	  else
8905	    ld_shlibs=no
8906	  fi
8907	;;
8908      esac
8909      ;;
8910
8911    sunos4*)
8912      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8913      wlarc=
8914      hardcode_direct=yes
8915      hardcode_shlibpath_var=no
8916      ;;
8917
8918    *)
8919      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8920	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8921	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8922      else
8923	ld_shlibs=no
8924      fi
8925      ;;
8926    esac
8927
8928    if test no = "$ld_shlibs"; then
8929      runpath_var=
8930      hardcode_libdir_flag_spec=
8931      export_dynamic_flag_spec=
8932      whole_archive_flag_spec=
8933    fi
8934  else
8935    # PORTME fill in a description of your system's linker (not GNU ld)
8936    case $host_os in
8937    aix3*)
8938      allow_undefined_flag=unsupported
8939      always_export_symbols=yes
8940      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'
8941      # Note: this linker hardcodes the directories in LIBPATH if there
8942      # are no directories specified by -L.
8943      hardcode_minus_L=yes
8944      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8945	# Neither direct hardcoding nor static linking is supported with a
8946	# broken collect2.
8947	hardcode_direct=unsupported
8948      fi
8949      ;;
8950
8951    aix[4-9]*)
8952      if test ia64 = "$host_cpu"; then
8953	# On IA64, the linker does run time linking by default, so we don't
8954	# have to do anything special.
8955	aix_use_runtimelinking=no
8956	exp_sym_flag='-Bexport'
8957	no_entry_flag=
8958      else
8959	# If we're using GNU nm, then we don't want the "-C" option.
8960	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
8961	# Without the "-l" option, or with the "-B" option, AIX nm treats
8962	# weak defined symbols like other global defined symbols, whereas
8963	# GNU nm marks them as "W".
8964	# While the 'weak' keyword is ignored in the Export File, we need
8965	# it in the Import File for the 'aix-soname' feature, so we have
8966	# to replace the "-B" option with "-P" for AIX nm.
8967	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8968	  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'
8969	else
8970	  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'
8971	fi
8972	aix_use_runtimelinking=no
8973
8974	# Test if we are trying to use run time linking or normal
8975	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8976	# have runtime linking enabled, and use it for executables.
8977	# For shared libraries, we enable/disable runtime linking
8978	# depending on the kind of the shared library created -
8979	# when "with_aix_soname,aix_use_runtimelinking" is:
8980	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
8981	# "aix,yes"  lib.so          shared, rtl:yes, for executables
8982	#            lib.a           static archive
8983	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
8984	#            lib.a(lib.so.V) shared, rtl:no,  for executables
8985	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8986	#            lib.a(lib.so.V) shared, rtl:no
8987	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
8988	#            lib.a           static archive
8989	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8990	  for ld_flag in $LDFLAGS; do
8991	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
8992	    aix_use_runtimelinking=yes
8993	    break
8994	  fi
8995	  done
8996	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
8997	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
8998	    # so we don't have lib.a shared libs to link our executables.
8999	    # We have to force runtime linking in this case.
9000	    aix_use_runtimelinking=yes
9001	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9002	  fi
9003	  ;;
9004	esac
9005
9006	exp_sym_flag='-bexport'
9007	no_entry_flag='-bnoentry'
9008      fi
9009
9010      # When large executables or shared objects are built, AIX ld can
9011      # have problems creating the table of contents.  If linking a library
9012      # or program results in "error TOC overflow" add -mminimal-toc to
9013      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9014      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9015
9016      archive_cmds=''
9017      hardcode_direct=yes
9018      hardcode_direct_absolute=yes
9019      hardcode_libdir_separator=':'
9020      link_all_deplibs=yes
9021      file_list_spec='$wl-f,'
9022      case $with_aix_soname,$aix_use_runtimelinking in
9023      aix,*) ;; # traditional, no import file
9024      svr4,* | *,yes) # use import file
9025	# The Import File defines what to hardcode.
9026	hardcode_direct=no
9027	hardcode_direct_absolute=no
9028	;;
9029      esac
9030
9031      if test yes = "$GCC"; then
9032	case $host_os in aix4.[012]|aix4.[012].*)
9033	# We only want to do this on AIX 4.2 and lower, the check
9034	# below for broken collect2 doesn't work under 4.3+
9035	  collect2name=`$CC -print-prog-name=collect2`
9036	  if test -f "$collect2name" &&
9037	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9038	  then
9039	  # We have reworked collect2
9040	  :
9041	  else
9042	  # We have old collect2
9043	  hardcode_direct=unsupported
9044	  # It fails to find uninstalled libraries when the uninstalled
9045	  # path is not listed in the libpath.  Setting hardcode_minus_L
9046	  # to unsupported forces relinking
9047	  hardcode_minus_L=yes
9048	  hardcode_libdir_flag_spec='-L$libdir'
9049	  hardcode_libdir_separator=
9050	  fi
9051	  ;;
9052	esac
9053	shared_flag='-shared'
9054	if test yes = "$aix_use_runtimelinking"; then
9055	  shared_flag="$shared_flag "'$wl-G'
9056	fi
9057	# Need to ensure runtime linking is disabled for the traditional
9058	# shared library, or the linker may eventually find shared libraries
9059	# /with/ Import File - we do not want to mix them.
9060	shared_flag_aix='-shared'
9061	shared_flag_svr4='-shared $wl-G'
9062      else
9063	# not using gcc
9064	if test ia64 = "$host_cpu"; then
9065	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9066	# chokes on -Wl,-G. The following line is correct:
9067	  shared_flag='-G'
9068	else
9069	  if test yes = "$aix_use_runtimelinking"; then
9070	    shared_flag='$wl-G'
9071	  else
9072	    shared_flag='$wl-bM:SRE'
9073	  fi
9074	  shared_flag_aix='$wl-bM:SRE'
9075	  shared_flag_svr4='$wl-G'
9076	fi
9077      fi
9078
9079      export_dynamic_flag_spec='$wl-bexpall'
9080      # It seems that -bexpall does not export symbols beginning with
9081      # underscore (_), so it is better to generate a list of symbols to export.
9082      always_export_symbols=yes
9083      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9084	# Warning - without using the other runtime loading flags (-brtl),
9085	# -berok will link without error, but may produce a broken library.
9086	allow_undefined_flag='-berok'
9087        # Determine the default libpath from the value encoded in an
9088        # empty executable.
9089        if test set = "${lt_cv_aix_libpath+set}"; then
9090  aix_libpath=$lt_cv_aix_libpath
9091else
9092  if ${lt_cv_aix_libpath_+:} false; then :
9093  $as_echo_n "(cached) " >&6
9094else
9095  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096/* end confdefs.h.  */
9097
9098int
9099main ()
9100{
9101
9102  ;
9103  return 0;
9104}
9105_ACEOF
9106if ac_fn_c_try_link "$LINENO"; then :
9107
9108  lt_aix_libpath_sed='
9109      /Import File Strings/,/^$/ {
9110	  /^0/ {
9111	      s/^0  *\([^ ]*\) *$/\1/
9112	      p
9113	  }
9114      }'
9115  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9116  # Check for a 64-bit object if we didn't find anything.
9117  if test -z "$lt_cv_aix_libpath_"; then
9118    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9119  fi
9120fi
9121rm -f core conftest.err conftest.$ac_objext \
9122    conftest$ac_exeext conftest.$ac_ext
9123  if test -z "$lt_cv_aix_libpath_"; then
9124    lt_cv_aix_libpath_=/usr/lib:/lib
9125  fi
9126
9127fi
9128
9129  aix_libpath=$lt_cv_aix_libpath_
9130fi
9131
9132        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9133        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
9134      else
9135	if test ia64 = "$host_cpu"; then
9136	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9137	  allow_undefined_flag="-z nodefs"
9138	  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"
9139	else
9140	 # Determine the default libpath from the value encoded in an
9141	 # empty executable.
9142	 if test set = "${lt_cv_aix_libpath+set}"; then
9143  aix_libpath=$lt_cv_aix_libpath
9144else
9145  if ${lt_cv_aix_libpath_+:} false; then :
9146  $as_echo_n "(cached) " >&6
9147else
9148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149/* end confdefs.h.  */
9150
9151int
9152main ()
9153{
9154
9155  ;
9156  return 0;
9157}
9158_ACEOF
9159if ac_fn_c_try_link "$LINENO"; then :
9160
9161  lt_aix_libpath_sed='
9162      /Import File Strings/,/^$/ {
9163	  /^0/ {
9164	      s/^0  *\([^ ]*\) *$/\1/
9165	      p
9166	  }
9167      }'
9168  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9169  # Check for a 64-bit object if we didn't find anything.
9170  if test -z "$lt_cv_aix_libpath_"; then
9171    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9172  fi
9173fi
9174rm -f core conftest.err conftest.$ac_objext \
9175    conftest$ac_exeext conftest.$ac_ext
9176  if test -z "$lt_cv_aix_libpath_"; then
9177    lt_cv_aix_libpath_=/usr/lib:/lib
9178  fi
9179
9180fi
9181
9182  aix_libpath=$lt_cv_aix_libpath_
9183fi
9184
9185	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9186	  # Warning - without using the other run time loading flags,
9187	  # -berok will link without error, but may produce a broken library.
9188	  no_undefined_flag=' $wl-bernotok'
9189	  allow_undefined_flag=' $wl-berok'
9190	  if test yes = "$with_gnu_ld"; then
9191	    # We only use this code for GNU lds that support --whole-archive.
9192	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9193	  else
9194	    # Exported symbols can be pulled into shared objects from archives
9195	    whole_archive_flag_spec='$convenience'
9196	  fi
9197	  archive_cmds_need_lc=yes
9198	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9199	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9200	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9201	  if test svr4 != "$with_aix_soname"; then
9202	    # This is similar to how AIX traditionally builds its shared libraries.
9203	    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'
9204	  fi
9205	  if test aix != "$with_aix_soname"; then
9206	    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'
9207	  else
9208	    # used by -dlpreopen to get the symbols
9209	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9210	  fi
9211	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9212	fi
9213      fi
9214      ;;
9215
9216    amigaos*)
9217      case $host_cpu in
9218      powerpc)
9219            # see comment about AmigaOS4 .so support
9220            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9221            archive_expsym_cmds=''
9222        ;;
9223      m68k)
9224            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)'
9225            hardcode_libdir_flag_spec='-L$libdir'
9226            hardcode_minus_L=yes
9227        ;;
9228      esac
9229      ;;
9230
9231    bsdi[45]*)
9232      export_dynamic_flag_spec=-rdynamic
9233      ;;
9234
9235    cygwin* | mingw* | pw32* | cegcc*)
9236      # When not using gcc, we currently assume that we are using
9237      # Microsoft Visual C++.
9238      # hardcode_libdir_flag_spec is actually meaningless, as there is
9239      # no search path for DLLs.
9240      case $cc_basename in
9241      cl*)
9242	# Native MSVC
9243	hardcode_libdir_flag_spec=' '
9244	allow_undefined_flag=unsupported
9245	always_export_symbols=yes
9246	file_list_spec='@'
9247	# Tell ltmain to make .lib files, not .a files.
9248	libext=lib
9249	# Tell ltmain to make .dll files, not .so files.
9250	shrext_cmds=.dll
9251	# FIXME: Setting linknames here is a bad hack.
9252	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9253	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9254            cp "$export_symbols" "$output_objdir/$soname.def";
9255            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9256          else
9257            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9258          fi~
9259          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9260          linknames='
9261	# The linker will not automatically build a static lib if we build a DLL.
9262	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9263	enable_shared_with_static_runtimes=yes
9264	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9265	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9266	# Don't use ranlib
9267	old_postinstall_cmds='chmod 644 $oldlib'
9268	postlink_cmds='lt_outputfile="@OUTPUT@"~
9269          lt_tool_outputfile="@TOOL_OUTPUT@"~
9270          case $lt_outputfile in
9271            *.exe|*.EXE) ;;
9272            *)
9273              lt_outputfile=$lt_outputfile.exe
9274              lt_tool_outputfile=$lt_tool_outputfile.exe
9275              ;;
9276          esac~
9277          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9278            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9279            $RM "$lt_outputfile.manifest";
9280          fi'
9281	;;
9282      *)
9283	# Assume MSVC wrapper
9284	hardcode_libdir_flag_spec=' '
9285	allow_undefined_flag=unsupported
9286	# Tell ltmain to make .lib files, not .a files.
9287	libext=lib
9288	# Tell ltmain to make .dll files, not .so files.
9289	shrext_cmds=.dll
9290	# FIXME: Setting linknames here is a bad hack.
9291	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9292	# The linker will automatically build a .lib file if we build a DLL.
9293	old_archive_from_new_cmds='true'
9294	# FIXME: Should let the user specify the lib program.
9295	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9296	enable_shared_with_static_runtimes=yes
9297	;;
9298      esac
9299      ;;
9300
9301    darwin* | rhapsody*)
9302
9303
9304  archive_cmds_need_lc=no
9305  hardcode_direct=no
9306  hardcode_automatic=yes
9307  hardcode_shlibpath_var=unsupported
9308  if test yes = "$lt_cv_ld_force_load"; then
9309    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\"`'
9310
9311  else
9312    whole_archive_flag_spec=''
9313  fi
9314  link_all_deplibs=yes
9315  allow_undefined_flag=$_lt_dar_allow_undefined
9316  case $cc_basename in
9317     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9318     *) _lt_dar_can_shared=$GCC ;;
9319  esac
9320  if test yes = "$_lt_dar_can_shared"; then
9321    output_verbose_link_cmd=func_echo_all
9322    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9323    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9324    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"
9325    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"
9326
9327  else
9328  ld_shlibs=no
9329  fi
9330
9331      ;;
9332
9333    dgux*)
9334      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9335      hardcode_libdir_flag_spec='-L$libdir'
9336      hardcode_shlibpath_var=no
9337      ;;
9338
9339    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9340    # support.  Future versions do this automatically, but an explicit c++rt0.o
9341    # does not break anything, and helps significantly (at the cost of a little
9342    # extra space).
9343    freebsd2.2*)
9344      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9345      hardcode_libdir_flag_spec='-R$libdir'
9346      hardcode_direct=yes
9347      hardcode_shlibpath_var=no
9348      ;;
9349
9350    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9351    freebsd2.*)
9352      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9353      hardcode_direct=yes
9354      hardcode_minus_L=yes
9355      hardcode_shlibpath_var=no
9356      ;;
9357
9358    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9359    freebsd* | dragonfly*)
9360      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9361      hardcode_libdir_flag_spec='-R$libdir'
9362      hardcode_direct=yes
9363      hardcode_shlibpath_var=no
9364      ;;
9365
9366    hpux9*)
9367      if test yes = "$GCC"; then
9368	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'
9369      else
9370	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'
9371      fi
9372      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9373      hardcode_libdir_separator=:
9374      hardcode_direct=yes
9375
9376      # hardcode_minus_L: Not really in the search PATH,
9377      # but as the default location of the library.
9378      hardcode_minus_L=yes
9379      export_dynamic_flag_spec='$wl-E'
9380      ;;
9381
9382    hpux10*)
9383      if test yes,no = "$GCC,$with_gnu_ld"; then
9384	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9385      else
9386	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9387      fi
9388      if test no = "$with_gnu_ld"; then
9389	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9390	hardcode_libdir_separator=:
9391	hardcode_direct=yes
9392	hardcode_direct_absolute=yes
9393	export_dynamic_flag_spec='$wl-E'
9394	# hardcode_minus_L: Not really in the search PATH,
9395	# but as the default location of the library.
9396	hardcode_minus_L=yes
9397      fi
9398      ;;
9399
9400    hpux11*)
9401      if test yes,no = "$GCC,$with_gnu_ld"; then
9402	case $host_cpu in
9403	hppa*64*)
9404	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9405	  ;;
9406	ia64*)
9407	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9408	  ;;
9409	*)
9410	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9411	  ;;
9412	esac
9413      else
9414	case $host_cpu in
9415	hppa*64*)
9416	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9417	  ;;
9418	ia64*)
9419	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9420	  ;;
9421	*)
9422
9423	  # Older versions of the 11.00 compiler do not understand -b yet
9424	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9425	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9426$as_echo_n "checking if $CC understands -b... " >&6; }
9427if ${lt_cv_prog_compiler__b+:} false; then :
9428  $as_echo_n "(cached) " >&6
9429else
9430  lt_cv_prog_compiler__b=no
9431   save_LDFLAGS=$LDFLAGS
9432   LDFLAGS="$LDFLAGS -b"
9433   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9434   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9435     # The linker can only warn and ignore the option if not recognized
9436     # So say no if there are warnings
9437     if test -s conftest.err; then
9438       # Append any errors to the config.log.
9439       cat conftest.err 1>&5
9440       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9441       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9442       if diff conftest.exp conftest.er2 >/dev/null; then
9443         lt_cv_prog_compiler__b=yes
9444       fi
9445     else
9446       lt_cv_prog_compiler__b=yes
9447     fi
9448   fi
9449   $RM -r conftest*
9450   LDFLAGS=$save_LDFLAGS
9451
9452fi
9453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9454$as_echo "$lt_cv_prog_compiler__b" >&6; }
9455
9456if test yes = "$lt_cv_prog_compiler__b"; then
9457    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9458else
9459    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9460fi
9461
9462	  ;;
9463	esac
9464      fi
9465      if test no = "$with_gnu_ld"; then
9466	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9467	hardcode_libdir_separator=:
9468
9469	case $host_cpu in
9470	hppa*64*|ia64*)
9471	  hardcode_direct=no
9472	  hardcode_shlibpath_var=no
9473	  ;;
9474	*)
9475	  hardcode_direct=yes
9476	  hardcode_direct_absolute=yes
9477	  export_dynamic_flag_spec='$wl-E'
9478
9479	  # hardcode_minus_L: Not really in the search PATH,
9480	  # but as the default location of the library.
9481	  hardcode_minus_L=yes
9482	  ;;
9483	esac
9484      fi
9485      ;;
9486
9487    irix5* | irix6* | nonstopux*)
9488      if test yes = "$GCC"; then
9489	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'
9490	# Try to use the -exported_symbol ld option, if it does not
9491	# work, assume that -exports_file does not work either and
9492	# implicitly export all symbols.
9493	# This should be the same for all languages, so no per-tag cache variable.
9494	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9495$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9496if ${lt_cv_irix_exported_symbol+:} false; then :
9497  $as_echo_n "(cached) " >&6
9498else
9499  save_LDFLAGS=$LDFLAGS
9500	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9501	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502/* end confdefs.h.  */
9503int foo (void) { return 0; }
9504_ACEOF
9505if ac_fn_c_try_link "$LINENO"; then :
9506  lt_cv_irix_exported_symbol=yes
9507else
9508  lt_cv_irix_exported_symbol=no
9509fi
9510rm -f core conftest.err conftest.$ac_objext \
9511    conftest$ac_exeext conftest.$ac_ext
9512           LDFLAGS=$save_LDFLAGS
9513fi
9514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9515$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9516	if test yes = "$lt_cv_irix_exported_symbol"; then
9517          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'
9518	fi
9519      else
9520	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'
9521	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'
9522      fi
9523      archive_cmds_need_lc='no'
9524      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9525      hardcode_libdir_separator=:
9526      inherit_rpath=yes
9527      link_all_deplibs=yes
9528      ;;
9529
9530    linux*)
9531      case $cc_basename in
9532      tcc*)
9533	# Fabrice Bellard et al's Tiny C Compiler
9534	ld_shlibs=yes
9535	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9536	;;
9537      esac
9538      ;;
9539
9540    netbsd*)
9541      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9542	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9543      else
9544	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9545      fi
9546      hardcode_libdir_flag_spec='-R$libdir'
9547      hardcode_direct=yes
9548      hardcode_shlibpath_var=no
9549      ;;
9550
9551    newsos6)
9552      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9553      hardcode_direct=yes
9554      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9555      hardcode_libdir_separator=:
9556      hardcode_shlibpath_var=no
9557      ;;
9558
9559    *nto* | *qnx*)
9560      ;;
9561
9562    openbsd* | bitrig*)
9563      if test -f /usr/libexec/ld.so; then
9564	hardcode_direct=yes
9565	hardcode_shlibpath_var=no
9566	hardcode_direct_absolute=yes
9567	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9568	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9569	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9570	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9571	  export_dynamic_flag_spec='$wl-E'
9572	else
9573	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9574	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9575	fi
9576      else
9577	ld_shlibs=no
9578      fi
9579      ;;
9580
9581    os2*)
9582      hardcode_libdir_flag_spec='-L$libdir'
9583      hardcode_minus_L=yes
9584      allow_undefined_flag=unsupported
9585      shrext_cmds=.dll
9586      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9587	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9588	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9589	$ECHO EXPORTS >> $output_objdir/$libname.def~
9590	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9591	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9592	emximp -o $lib $output_objdir/$libname.def'
9593      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9594	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9595	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9596	$ECHO EXPORTS >> $output_objdir/$libname.def~
9597	prefix_cmds="$SED"~
9598	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9599	  prefix_cmds="$prefix_cmds -e 1d";
9600	fi~
9601	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9602	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9603	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9604	emximp -o $lib $output_objdir/$libname.def'
9605      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9606      enable_shared_with_static_runtimes=yes
9607      ;;
9608
9609    osf3*)
9610      if test yes = "$GCC"; then
9611	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9612	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'
9613      else
9614	allow_undefined_flag=' -expect_unresolved \*'
9615	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'
9616      fi
9617      archive_cmds_need_lc='no'
9618      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9619      hardcode_libdir_separator=:
9620      ;;
9621
9622    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9623      if test yes = "$GCC"; then
9624	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9625	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'
9626	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9627      else
9628	allow_undefined_flag=' -expect_unresolved \*'
9629	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'
9630	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~
9631          $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'
9632
9633	# Both c and cxx compiler support -rpath directly
9634	hardcode_libdir_flag_spec='-rpath $libdir'
9635      fi
9636      archive_cmds_need_lc='no'
9637      hardcode_libdir_separator=:
9638      ;;
9639
9640    solaris*)
9641      no_undefined_flag=' -z defs'
9642      if test yes = "$GCC"; then
9643	wlarc='$wl'
9644	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9645	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9646          $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'
9647      else
9648	case `$CC -V 2>&1` in
9649	*"Compilers 5.0"*)
9650	  wlarc=''
9651	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9652	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9653            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9654	  ;;
9655	*)
9656	  wlarc='$wl'
9657	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9658	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9659            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9660	  ;;
9661	esac
9662      fi
9663      hardcode_libdir_flag_spec='-R$libdir'
9664      hardcode_shlibpath_var=no
9665      case $host_os in
9666      solaris2.[0-5] | solaris2.[0-5].*) ;;
9667      *)
9668	# The compiler driver will combine and reorder linker options,
9669	# but understands '-z linker_flag'.  GCC discards it without '$wl',
9670	# but is careful enough not to reorder.
9671	# Supported since Solaris 2.6 (maybe 2.5.1?)
9672	if test yes = "$GCC"; then
9673	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9674	else
9675	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9676	fi
9677	;;
9678      esac
9679      link_all_deplibs=yes
9680      ;;
9681
9682    sunos4*)
9683      if test sequent = "$host_vendor"; then
9684	# Use $CC to link under sequent, because it throws in some extra .o
9685	# files that make .init and .fini sections work.
9686	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9687      else
9688	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9689      fi
9690      hardcode_libdir_flag_spec='-L$libdir'
9691      hardcode_direct=yes
9692      hardcode_minus_L=yes
9693      hardcode_shlibpath_var=no
9694      ;;
9695
9696    sysv4)
9697      case $host_vendor in
9698	sni)
9699	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700	  hardcode_direct=yes # is this really true???
9701	;;
9702	siemens)
9703	  ## LD is ld it makes a PLAMLIB
9704	  ## CC just makes a GrossModule.
9705	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9706	  reload_cmds='$CC -r -o $output$reload_objs'
9707	  hardcode_direct=no
9708        ;;
9709	motorola)
9710	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9712	;;
9713      esac
9714      runpath_var='LD_RUN_PATH'
9715      hardcode_shlibpath_var=no
9716      ;;
9717
9718    sysv4.3*)
9719      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720      hardcode_shlibpath_var=no
9721      export_dynamic_flag_spec='-Bexport'
9722      ;;
9723
9724    sysv4*MP*)
9725      if test -d /usr/nec; then
9726	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727	hardcode_shlibpath_var=no
9728	runpath_var=LD_RUN_PATH
9729	hardcode_runpath_var=yes
9730	ld_shlibs=yes
9731      fi
9732      ;;
9733
9734    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9735      no_undefined_flag='$wl-z,text'
9736      archive_cmds_need_lc=no
9737      hardcode_shlibpath_var=no
9738      runpath_var='LD_RUN_PATH'
9739
9740      if test yes = "$GCC"; then
9741	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743      else
9744	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9746      fi
9747      ;;
9748
9749    sysv5* | sco3.2v5* | sco5v6*)
9750      # Note: We CANNOT use -z defs as we might desire, because we do not
9751      # link with -lc, and that would cause any symbols used from libc to
9752      # always be unresolved, which means just about no library would
9753      # ever link correctly.  If we're not using GNU ld we use -z text
9754      # though, which does catch some bad symbols but isn't as heavy-handed
9755      # as -z defs.
9756      no_undefined_flag='$wl-z,text'
9757      allow_undefined_flag='$wl-z,nodefs'
9758      archive_cmds_need_lc=no
9759      hardcode_shlibpath_var=no
9760      hardcode_libdir_flag_spec='$wl-R,$libdir'
9761      hardcode_libdir_separator=':'
9762      link_all_deplibs=yes
9763      export_dynamic_flag_spec='$wl-Bexport'
9764      runpath_var='LD_RUN_PATH'
9765
9766      if test yes = "$GCC"; then
9767	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9769      else
9770	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9771	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9772      fi
9773      ;;
9774
9775    uts4*)
9776      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777      hardcode_libdir_flag_spec='-L$libdir'
9778      hardcode_shlibpath_var=no
9779      ;;
9780
9781    *)
9782      ld_shlibs=no
9783      ;;
9784    esac
9785
9786    if test sni = "$host_vendor"; then
9787      case $host in
9788      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9789	export_dynamic_flag_spec='$wl-Blargedynsym'
9790	;;
9791      esac
9792    fi
9793  fi
9794
9795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9796$as_echo "$ld_shlibs" >&6; }
9797test no = "$ld_shlibs" && can_build_shared=no
9798
9799with_gnu_ld=$with_gnu_ld
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815#
9816# Do we need to explicitly link libc?
9817#
9818case "x$archive_cmds_need_lc" in
9819x|xyes)
9820  # Assume -lc should be added
9821  archive_cmds_need_lc=yes
9822
9823  if test yes,yes = "$GCC,$enable_shared"; then
9824    case $archive_cmds in
9825    *'~'*)
9826      # FIXME: we may have to deal with multi-command sequences.
9827      ;;
9828    '$CC '*)
9829      # Test whether the compiler implicitly links with -lc since on some
9830      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9831      # to ld, don't add -lc before -lgcc.
9832      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9833$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9834if ${lt_cv_archive_cmds_need_lc+:} false; then :
9835  $as_echo_n "(cached) " >&6
9836else
9837  $RM conftest*
9838	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9839
9840	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9841  (eval $ac_compile) 2>&5
9842  ac_status=$?
9843  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9844  test $ac_status = 0; } 2>conftest.err; then
9845	  soname=conftest
9846	  lib=conftest
9847	  libobjs=conftest.$ac_objext
9848	  deplibs=
9849	  wl=$lt_prog_compiler_wl
9850	  pic_flag=$lt_prog_compiler_pic
9851	  compiler_flags=-v
9852	  linker_flags=-v
9853	  verstring=
9854	  output_objdir=.
9855	  libname=conftest
9856	  lt_save_allow_undefined_flag=$allow_undefined_flag
9857	  allow_undefined_flag=
9858	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9859  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9860  ac_status=$?
9861  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9862  test $ac_status = 0; }
9863	  then
9864	    lt_cv_archive_cmds_need_lc=no
9865	  else
9866	    lt_cv_archive_cmds_need_lc=yes
9867	  fi
9868	  allow_undefined_flag=$lt_save_allow_undefined_flag
9869	else
9870	  cat conftest.err 1>&5
9871	fi
9872	$RM conftest*
9873
9874fi
9875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9876$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9877      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9878      ;;
9879    esac
9880  fi
9881  ;;
9882esac
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10036$as_echo_n "checking dynamic linker characteristics... " >&6; }
10037
10038if test yes = "$GCC"; then
10039  case $host_os in
10040    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10041    *) lt_awk_arg='/^libraries:/' ;;
10042  esac
10043  case $host_os in
10044    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10045    *) lt_sed_strip_eq='s|=/|/|g' ;;
10046  esac
10047  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10048  case $lt_search_path_spec in
10049  *\;*)
10050    # if the path contains ";" then we assume it to be the separator
10051    # otherwise default to the standard path separator (i.e. ":") - it is
10052    # assumed that no part of a normal pathname contains ";" but that should
10053    # okay in the real world where ";" in dirpaths is itself problematic.
10054    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10055    ;;
10056  *)
10057    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10058    ;;
10059  esac
10060  # Ok, now we have the path, separated by spaces, we can step through it
10061  # and add multilib dir if necessary...
10062  lt_tmp_lt_search_path_spec=
10063  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10064  # ...but if some path component already ends with the multilib dir we assume
10065  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10066  case "$lt_multi_os_dir; $lt_search_path_spec " in
10067  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10068    lt_multi_os_dir=
10069    ;;
10070  esac
10071  for lt_sys_path in $lt_search_path_spec; do
10072    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10073      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10074    elif test -n "$lt_multi_os_dir"; then
10075      test -d "$lt_sys_path" && \
10076	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10077    fi
10078  done
10079  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10080BEGIN {RS = " "; FS = "/|\n";} {
10081  lt_foo = "";
10082  lt_count = 0;
10083  for (lt_i = NF; lt_i > 0; lt_i--) {
10084    if ($lt_i != "" && $lt_i != ".") {
10085      if ($lt_i == "..") {
10086        lt_count++;
10087      } else {
10088        if (lt_count == 0) {
10089          lt_foo = "/" $lt_i lt_foo;
10090        } else {
10091          lt_count--;
10092        }
10093      }
10094    }
10095  }
10096  if (lt_foo != "") { lt_freq[lt_foo]++; }
10097  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10098}'`
10099  # AWK program above erroneously prepends '/' to C:/dos/paths
10100  # for these hosts.
10101  case $host_os in
10102    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10103      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10104  esac
10105  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10106else
10107  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10108fi
10109library_names_spec=
10110libname_spec='lib$name'
10111soname_spec=
10112shrext_cmds=.so
10113postinstall_cmds=
10114postuninstall_cmds=
10115finish_cmds=
10116finish_eval=
10117shlibpath_var=
10118shlibpath_overrides_runpath=unknown
10119version_type=none
10120dynamic_linker="$host_os ld.so"
10121sys_lib_dlsearch_path_spec="/lib /usr/lib"
10122need_lib_prefix=unknown
10123hardcode_into_libs=no
10124
10125# when you set need_version to no, make sure it does not cause -set_version
10126# flags to be left without arguments
10127need_version=unknown
10128
10129
10130
10131case $host_os in
10132aix3*)
10133  version_type=linux # correct to gnu/linux during the next big refactor
10134  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10135  shlibpath_var=LIBPATH
10136
10137  # AIX 3 has no versioning support, so we append a major version to the name.
10138  soname_spec='$libname$release$shared_ext$major'
10139  ;;
10140
10141aix[4-9]*)
10142  version_type=linux # correct to gnu/linux during the next big refactor
10143  need_lib_prefix=no
10144  need_version=no
10145  hardcode_into_libs=yes
10146  if test ia64 = "$host_cpu"; then
10147    # AIX 5 supports IA64
10148    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10149    shlibpath_var=LD_LIBRARY_PATH
10150  else
10151    # With GCC up to 2.95.x, collect2 would create an import file
10152    # for dependence libraries.  The import file would start with
10153    # the line '#! .'.  This would cause the generated library to
10154    # depend on '.', always an invalid library.  This was fixed in
10155    # development snapshots of GCC prior to 3.0.
10156    case $host_os in
10157      aix4 | aix4.[01] | aix4.[01].*)
10158      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10159	   echo ' yes '
10160	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10161	:
10162      else
10163	can_build_shared=no
10164      fi
10165      ;;
10166    esac
10167    # Using Import Files as archive members, it is possible to support
10168    # filename-based versioning of shared library archives on AIX. While
10169    # this would work for both with and without runtime linking, it will
10170    # prevent static linking of such archives. So we do filename-based
10171    # shared library versioning with .so extension only, which is used
10172    # when both runtime linking and shared linking is enabled.
10173    # Unfortunately, runtime linking may impact performance, so we do
10174    # not want this to be the default eventually. Also, we use the
10175    # versioned .so libs for executables only if there is the -brtl
10176    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10177    # To allow for filename-based versioning support, we need to create
10178    # libNAME.so.V as an archive file, containing:
10179    # *) an Import File, referring to the versioned filename of the
10180    #    archive as well as the shared archive member, telling the
10181    #    bitwidth (32 or 64) of that shared object, and providing the
10182    #    list of exported symbols of that shared object, eventually
10183    #    decorated with the 'weak' keyword
10184    # *) the shared object with the F_LOADONLY flag set, to really avoid
10185    #    it being seen by the linker.
10186    # At run time we better use the real file rather than another symlink,
10187    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10188
10189    case $with_aix_soname,$aix_use_runtimelinking in
10190    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10191    # soname into executable. Probably we can add versioning support to
10192    # collect2, so additional links can be useful in future.
10193    aix,yes) # traditional libtool
10194      dynamic_linker='AIX unversionable lib.so'
10195      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10196      # instead of lib<name>.a to let people know that these are not
10197      # typical AIX shared libraries.
10198      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10199      ;;
10200    aix,no) # traditional AIX only
10201      dynamic_linker='AIX lib.a(lib.so.V)'
10202      # We preserve .a as extension for shared libraries through AIX4.2
10203      # and later when we are not doing run time linking.
10204      library_names_spec='$libname$release.a $libname.a'
10205      soname_spec='$libname$release$shared_ext$major'
10206      ;;
10207    svr4,*) # full svr4 only
10208      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10209      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10210      # We do not specify a path in Import Files, so LIBPATH fires.
10211      shlibpath_overrides_runpath=yes
10212      ;;
10213    *,yes) # both, prefer svr4
10214      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10215      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10216      # unpreferred sharedlib libNAME.a needs extra handling
10217      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"'
10218      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"'
10219      # We do not specify a path in Import Files, so LIBPATH fires.
10220      shlibpath_overrides_runpath=yes
10221      ;;
10222    *,no) # both, prefer aix
10223      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10224      library_names_spec='$libname$release.a $libname.a'
10225      soname_spec='$libname$release$shared_ext$major'
10226      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10227      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)'
10228      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"'
10229      ;;
10230    esac
10231    shlibpath_var=LIBPATH
10232  fi
10233  ;;
10234
10235amigaos*)
10236  case $host_cpu in
10237  powerpc)
10238    # Since July 2007 AmigaOS4 officially supports .so libraries.
10239    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10240    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10241    ;;
10242  m68k)
10243    library_names_spec='$libname.ixlibrary $libname.a'
10244    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10245    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'
10246    ;;
10247  esac
10248  ;;
10249
10250beos*)
10251  library_names_spec='$libname$shared_ext'
10252  dynamic_linker="$host_os ld.so"
10253  shlibpath_var=LIBRARY_PATH
10254  ;;
10255
10256bsdi[45]*)
10257  version_type=linux # correct to gnu/linux during the next big refactor
10258  need_version=no
10259  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10260  soname_spec='$libname$release$shared_ext$major'
10261  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10262  shlibpath_var=LD_LIBRARY_PATH
10263  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10264  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10265  # the default ld.so.conf also contains /usr/contrib/lib and
10266  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10267  # libtool to hard-code these into programs
10268  ;;
10269
10270cygwin* | mingw* | pw32* | cegcc*)
10271  version_type=windows
10272  shrext_cmds=.dll
10273  need_version=no
10274  need_lib_prefix=no
10275
10276  case $GCC,$cc_basename in
10277  yes,*)
10278    # gcc
10279    library_names_spec='$libname.dll.a'
10280    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10281    postinstall_cmds='base_file=`basename \$file`~
10282      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10283      dldir=$destdir/`dirname \$dlpath`~
10284      test -d \$dldir || mkdir -p \$dldir~
10285      $install_prog $dir/$dlname \$dldir/$dlname~
10286      chmod a+x \$dldir/$dlname~
10287      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10288        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10289      fi'
10290    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10291      dlpath=$dir/\$dldll~
10292       $RM \$dlpath'
10293    shlibpath_overrides_runpath=yes
10294
10295    case $host_os in
10296    cygwin*)
10297      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10298      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10299
10300      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10301      ;;
10302    mingw* | cegcc*)
10303      # MinGW DLLs use traditional 'lib' prefix
10304      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10305      ;;
10306    pw32*)
10307      # pw32 DLLs use 'pw' prefix rather than 'lib'
10308      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10309      ;;
10310    esac
10311    dynamic_linker='Win32 ld.exe'
10312    ;;
10313
10314  *,cl*)
10315    # Native MSVC
10316    libname_spec='$name'
10317    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10318    library_names_spec='$libname.dll.lib'
10319
10320    case $build_os in
10321    mingw*)
10322      sys_lib_search_path_spec=
10323      lt_save_ifs=$IFS
10324      IFS=';'
10325      for lt_path in $LIB
10326      do
10327        IFS=$lt_save_ifs
10328        # Let DOS variable expansion print the short 8.3 style file name.
10329        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10330        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10331      done
10332      IFS=$lt_save_ifs
10333      # Convert to MSYS style.
10334      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10335      ;;
10336    cygwin*)
10337      # Convert to unix form, then to dos form, then back to unix form
10338      # but this time dos style (no spaces!) so that the unix form looks
10339      # like /cygdrive/c/PROGRA~1:/cygdr...
10340      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10341      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10342      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10343      ;;
10344    *)
10345      sys_lib_search_path_spec=$LIB
10346      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10347        # It is most probably a Windows format PATH.
10348        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10349      else
10350        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10351      fi
10352      # FIXME: find the short name or the path components, as spaces are
10353      # common. (e.g. "Program Files" -> "PROGRA~1")
10354      ;;
10355    esac
10356
10357    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10358    postinstall_cmds='base_file=`basename \$file`~
10359      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10360      dldir=$destdir/`dirname \$dlpath`~
10361      test -d \$dldir || mkdir -p \$dldir~
10362      $install_prog $dir/$dlname \$dldir/$dlname'
10363    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10364      dlpath=$dir/\$dldll~
10365       $RM \$dlpath'
10366    shlibpath_overrides_runpath=yes
10367    dynamic_linker='Win32 link.exe'
10368    ;;
10369
10370  *)
10371    # Assume MSVC wrapper
10372    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10373    dynamic_linker='Win32 ld.exe'
10374    ;;
10375  esac
10376  # FIXME: first we should search . and the directory the executable is in
10377  shlibpath_var=PATH
10378  ;;
10379
10380darwin* | rhapsody*)
10381  dynamic_linker="$host_os dyld"
10382  version_type=darwin
10383  need_lib_prefix=no
10384  need_version=no
10385  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10386  soname_spec='$libname$release$major$shared_ext'
10387  shlibpath_overrides_runpath=yes
10388  shlibpath_var=DYLD_LIBRARY_PATH
10389  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10390
10391  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10392  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10393  ;;
10394
10395dgux*)
10396  version_type=linux # correct to gnu/linux during the next big refactor
10397  need_lib_prefix=no
10398  need_version=no
10399  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10400  soname_spec='$libname$release$shared_ext$major'
10401  shlibpath_var=LD_LIBRARY_PATH
10402  ;;
10403
10404freebsd* | dragonfly*)
10405  # DragonFly does not have aout.  When/if they implement a new
10406  # versioning mechanism, adjust this.
10407  if test -x /usr/bin/objformat; then
10408    objformat=`/usr/bin/objformat`
10409  else
10410    case $host_os in
10411    freebsd[23].*) objformat=aout ;;
10412    *) objformat=elf ;;
10413    esac
10414  fi
10415  version_type=freebsd-$objformat
10416  case $version_type in
10417    freebsd-elf*)
10418      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10419      soname_spec='$libname$release$shared_ext$major'
10420      need_version=no
10421      need_lib_prefix=no
10422      ;;
10423    freebsd-*)
10424      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10425      need_version=yes
10426      ;;
10427  esac
10428  shlibpath_var=LD_LIBRARY_PATH
10429  case $host_os in
10430  freebsd2.*)
10431    shlibpath_overrides_runpath=yes
10432    ;;
10433  freebsd3.[01]* | freebsdelf3.[01]*)
10434    shlibpath_overrides_runpath=yes
10435    hardcode_into_libs=yes
10436    ;;
10437  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10438  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10439    shlibpath_overrides_runpath=no
10440    hardcode_into_libs=yes
10441    ;;
10442  *) # from 4.6 on, and DragonFly
10443    shlibpath_overrides_runpath=yes
10444    hardcode_into_libs=yes
10445    ;;
10446  esac
10447  ;;
10448
10449haiku*)
10450  version_type=linux # correct to gnu/linux during the next big refactor
10451  need_lib_prefix=no
10452  need_version=no
10453  dynamic_linker="$host_os runtime_loader"
10454  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10455  soname_spec='$libname$release$shared_ext$major'
10456  shlibpath_var=LIBRARY_PATH
10457  shlibpath_overrides_runpath=no
10458  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10459  hardcode_into_libs=yes
10460  ;;
10461
10462hpux9* | hpux10* | hpux11*)
10463  # Give a soname corresponding to the major version so that dld.sl refuses to
10464  # link against other versions.
10465  version_type=sunos
10466  need_lib_prefix=no
10467  need_version=no
10468  case $host_cpu in
10469  ia64*)
10470    shrext_cmds='.so'
10471    hardcode_into_libs=yes
10472    dynamic_linker="$host_os dld.so"
10473    shlibpath_var=LD_LIBRARY_PATH
10474    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10475    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10476    soname_spec='$libname$release$shared_ext$major'
10477    if test 32 = "$HPUX_IA64_MODE"; then
10478      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10479      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10480    else
10481      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10482      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10483    fi
10484    ;;
10485  hppa*64*)
10486    shrext_cmds='.sl'
10487    hardcode_into_libs=yes
10488    dynamic_linker="$host_os dld.sl"
10489    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10490    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10491    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10492    soname_spec='$libname$release$shared_ext$major'
10493    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10494    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10495    ;;
10496  *)
10497    shrext_cmds='.sl'
10498    dynamic_linker="$host_os dld.sl"
10499    shlibpath_var=SHLIB_PATH
10500    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10501    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10502    soname_spec='$libname$release$shared_ext$major'
10503    ;;
10504  esac
10505  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10506  postinstall_cmds='chmod 555 $lib'
10507  # or fails outright, so override atomically:
10508  install_override_mode=555
10509  ;;
10510
10511interix[3-9]*)
10512  version_type=linux # correct to gnu/linux during the next big refactor
10513  need_lib_prefix=no
10514  need_version=no
10515  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10516  soname_spec='$libname$release$shared_ext$major'
10517  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10518  shlibpath_var=LD_LIBRARY_PATH
10519  shlibpath_overrides_runpath=no
10520  hardcode_into_libs=yes
10521  ;;
10522
10523irix5* | irix6* | nonstopux*)
10524  case $host_os in
10525    nonstopux*) version_type=nonstopux ;;
10526    *)
10527	if test yes = "$lt_cv_prog_gnu_ld"; then
10528		version_type=linux # correct to gnu/linux during the next big refactor
10529	else
10530		version_type=irix
10531	fi ;;
10532  esac
10533  need_lib_prefix=no
10534  need_version=no
10535  soname_spec='$libname$release$shared_ext$major'
10536  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10537  case $host_os in
10538  irix5* | nonstopux*)
10539    libsuff= shlibsuff=
10540    ;;
10541  *)
10542    case $LD in # libtool.m4 will add one of these switches to LD
10543    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10544      libsuff= shlibsuff= libmagic=32-bit;;
10545    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10546      libsuff=32 shlibsuff=N32 libmagic=N32;;
10547    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10548      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10549    *) libsuff= shlibsuff= libmagic=never-match;;
10550    esac
10551    ;;
10552  esac
10553  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10554  shlibpath_overrides_runpath=no
10555  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10556  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10557  hardcode_into_libs=yes
10558  ;;
10559
10560# No shared lib support for Linux oldld, aout, or coff.
10561linux*oldld* | linux*aout* | linux*coff*)
10562  dynamic_linker=no
10563  ;;
10564
10565linux*android*)
10566  version_type=none # Android doesn't support versioned libraries.
10567  need_lib_prefix=no
10568  need_version=no
10569  library_names_spec='$libname$release$shared_ext'
10570  soname_spec='$libname$release$shared_ext'
10571  finish_cmds=
10572  shlibpath_var=LD_LIBRARY_PATH
10573  shlibpath_overrides_runpath=yes
10574
10575  # This implies no fast_install, which is unacceptable.
10576  # Some rework will be needed to allow for fast_install
10577  # before this can be enabled.
10578  hardcode_into_libs=yes
10579
10580  dynamic_linker='Android linker'
10581  # Don't embed -rpath directories since the linker doesn't support them.
10582  hardcode_libdir_flag_spec='-L$libdir'
10583  ;;
10584
10585# This must be glibc/ELF.
10586linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10587  version_type=linux # correct to gnu/linux during the next big refactor
10588  need_lib_prefix=no
10589  need_version=no
10590  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10591  soname_spec='$libname$release$shared_ext$major'
10592  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10593  shlibpath_var=LD_LIBRARY_PATH
10594  shlibpath_overrides_runpath=no
10595
10596  # Some binutils ld are patched to set DT_RUNPATH
10597  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10598  $as_echo_n "(cached) " >&6
10599else
10600  lt_cv_shlibpath_overrides_runpath=no
10601    save_LDFLAGS=$LDFLAGS
10602    save_libdir=$libdir
10603    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10604	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10605    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606/* end confdefs.h.  */
10607
10608int
10609main ()
10610{
10611
10612  ;
10613  return 0;
10614}
10615_ACEOF
10616if ac_fn_c_try_link "$LINENO"; then :
10617  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10618  lt_cv_shlibpath_overrides_runpath=yes
10619fi
10620fi
10621rm -f core conftest.err conftest.$ac_objext \
10622    conftest$ac_exeext conftest.$ac_ext
10623    LDFLAGS=$save_LDFLAGS
10624    libdir=$save_libdir
10625
10626fi
10627
10628  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10629
10630  # This implies no fast_install, which is unacceptable.
10631  # Some rework will be needed to allow for fast_install
10632  # before this can be enabled.
10633  hardcode_into_libs=yes
10634
10635  # Ideally, we could use ldconfig to report *all* directores which are
10636  # searched for libraries, however this is still not possible.  Aside from not
10637  # being certain /sbin/ldconfig is available, command
10638  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10639  # even though it is searched at run-time.  Try to do the best guess by
10640  # appending ld.so.conf contents (and includes) to the search path.
10641  if test -f /etc/ld.so.conf; then
10642    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' ' '`
10643    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10644  fi
10645
10646  # We used to test for /lib/ld.so.1 and disable shared libraries on
10647  # powerpc, because MkLinux only supported shared libraries with the
10648  # GNU dynamic linker.  Since this was broken with cross compilers,
10649  # most powerpc-linux boxes support dynamic linking these days and
10650  # people can always --disable-shared, the test was removed, and we
10651  # assume the GNU/Linux dynamic linker is in use.
10652  dynamic_linker='GNU/Linux ld.so'
10653  ;;
10654
10655netbsd*)
10656  version_type=sunos
10657  need_lib_prefix=no
10658  need_version=no
10659  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10660    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10661    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10662    dynamic_linker='NetBSD (a.out) ld.so'
10663  else
10664    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10665    soname_spec='$libname$release$shared_ext$major'
10666    dynamic_linker='NetBSD ld.elf_so'
10667  fi
10668  shlibpath_var=LD_LIBRARY_PATH
10669  shlibpath_overrides_runpath=yes
10670  hardcode_into_libs=yes
10671  ;;
10672
10673newsos6)
10674  version_type=linux # correct to gnu/linux during the next big refactor
10675  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10676  shlibpath_var=LD_LIBRARY_PATH
10677  shlibpath_overrides_runpath=yes
10678  ;;
10679
10680*nto* | *qnx*)
10681  version_type=qnx
10682  need_lib_prefix=no
10683  need_version=no
10684  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10685  soname_spec='$libname$release$shared_ext$major'
10686  shlibpath_var=LD_LIBRARY_PATH
10687  shlibpath_overrides_runpath=no
10688  hardcode_into_libs=yes
10689  dynamic_linker='ldqnx.so'
10690  ;;
10691
10692openbsd* | bitrig*)
10693  version_type=sunos
10694  sys_lib_dlsearch_path_spec=/usr/lib
10695  need_lib_prefix=no
10696  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10697    need_version=no
10698  else
10699    need_version=yes
10700  fi
10701  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10702  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10703  shlibpath_var=LD_LIBRARY_PATH
10704  shlibpath_overrides_runpath=yes
10705  ;;
10706
10707os2*)
10708  libname_spec='$name'
10709  version_type=windows
10710  shrext_cmds=.dll
10711  need_version=no
10712  need_lib_prefix=no
10713  # OS/2 can only load a DLL with a base name of 8 characters or less.
10714  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
10715    v=$($ECHO $release$versuffix | tr -d .-);
10716    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10717    $ECHO $n$v`$shared_ext'
10718  library_names_spec='${libname}_dll.$libext'
10719  dynamic_linker='OS/2 ld.exe'
10720  shlibpath_var=BEGINLIBPATH
10721  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10722  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10723  postinstall_cmds='base_file=`basename \$file`~
10724    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10725    dldir=$destdir/`dirname \$dlpath`~
10726    test -d \$dldir || mkdir -p \$dldir~
10727    $install_prog $dir/$dlname \$dldir/$dlname~
10728    chmod a+x \$dldir/$dlname~
10729    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10730      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10731    fi'
10732  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10733    dlpath=$dir/\$dldll~
10734    $RM \$dlpath'
10735  ;;
10736
10737osf3* | osf4* | osf5*)
10738  version_type=osf
10739  need_lib_prefix=no
10740  need_version=no
10741  soname_spec='$libname$release$shared_ext$major'
10742  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10743  shlibpath_var=LD_LIBRARY_PATH
10744  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10745  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10746  ;;
10747
10748rdos*)
10749  dynamic_linker=no
10750  ;;
10751
10752solaris*)
10753  version_type=linux # correct to gnu/linux during the next big refactor
10754  need_lib_prefix=no
10755  need_version=no
10756  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10757  soname_spec='$libname$release$shared_ext$major'
10758  shlibpath_var=LD_LIBRARY_PATH
10759  shlibpath_overrides_runpath=yes
10760  hardcode_into_libs=yes
10761  # ldd complains unless libraries are executable
10762  postinstall_cmds='chmod +x $lib'
10763  ;;
10764
10765sunos4*)
10766  version_type=sunos
10767  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10768  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10769  shlibpath_var=LD_LIBRARY_PATH
10770  shlibpath_overrides_runpath=yes
10771  if test yes = "$with_gnu_ld"; then
10772    need_lib_prefix=no
10773  fi
10774  need_version=yes
10775  ;;
10776
10777sysv4 | sysv4.3*)
10778  version_type=linux # correct to gnu/linux during the next big refactor
10779  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10780  soname_spec='$libname$release$shared_ext$major'
10781  shlibpath_var=LD_LIBRARY_PATH
10782  case $host_vendor in
10783    sni)
10784      shlibpath_overrides_runpath=no
10785      need_lib_prefix=no
10786      runpath_var=LD_RUN_PATH
10787      ;;
10788    siemens)
10789      need_lib_prefix=no
10790      ;;
10791    motorola)
10792      need_lib_prefix=no
10793      need_version=no
10794      shlibpath_overrides_runpath=no
10795      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10796      ;;
10797  esac
10798  ;;
10799
10800sysv4*MP*)
10801  if test -d /usr/nec; then
10802    version_type=linux # correct to gnu/linux during the next big refactor
10803    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10804    soname_spec='$libname$shared_ext.$major'
10805    shlibpath_var=LD_LIBRARY_PATH
10806  fi
10807  ;;
10808
10809sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10810  version_type=sco
10811  need_lib_prefix=no
10812  need_version=no
10813  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10814  soname_spec='$libname$release$shared_ext$major'
10815  shlibpath_var=LD_LIBRARY_PATH
10816  shlibpath_overrides_runpath=yes
10817  hardcode_into_libs=yes
10818  if test yes = "$with_gnu_ld"; then
10819    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10820  else
10821    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10822    case $host_os in
10823      sco3.2v5*)
10824        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10825	;;
10826    esac
10827  fi
10828  sys_lib_dlsearch_path_spec='/usr/lib'
10829  ;;
10830
10831tpf*)
10832  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10833  version_type=linux # correct to gnu/linux during the next big refactor
10834  need_lib_prefix=no
10835  need_version=no
10836  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10837  shlibpath_var=LD_LIBRARY_PATH
10838  shlibpath_overrides_runpath=no
10839  hardcode_into_libs=yes
10840  ;;
10841
10842uts4*)
10843  version_type=linux # correct to gnu/linux during the next big refactor
10844  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10845  soname_spec='$libname$release$shared_ext$major'
10846  shlibpath_var=LD_LIBRARY_PATH
10847  ;;
10848
10849*)
10850  dynamic_linker=no
10851  ;;
10852esac
10853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10854$as_echo "$dynamic_linker" >&6; }
10855test no = "$dynamic_linker" && can_build_shared=no
10856
10857variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10858if test yes = "$GCC"; then
10859  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10860fi
10861
10862if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10863  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
10864fi
10865
10866if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10867  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
10868fi
10869
10870# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10871configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
10872
10873# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10874func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
10875
10876# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10877configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10976$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10977hardcode_action=
10978if test -n "$hardcode_libdir_flag_spec" ||
10979   test -n "$runpath_var" ||
10980   test yes = "$hardcode_automatic"; then
10981
10982  # We can hardcode non-existent directories.
10983  if test no != "$hardcode_direct" &&
10984     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10985     # have to relink, otherwise we might link with an installed library
10986     # when we should be linking with a yet-to-be-installed one
10987     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10988     test no != "$hardcode_minus_L"; then
10989    # Linking always hardcodes the temporary library directory.
10990    hardcode_action=relink
10991  else
10992    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10993    hardcode_action=immediate
10994  fi
10995else
10996  # We cannot hardcode anything, or else we can only hardcode existing
10997  # directories.
10998  hardcode_action=unsupported
10999fi
11000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11001$as_echo "$hardcode_action" >&6; }
11002
11003if test relink = "$hardcode_action" ||
11004   test yes = "$inherit_rpath"; then
11005  # Fast installation is not supported
11006  enable_fast_install=no
11007elif test yes = "$shlibpath_overrides_runpath" ||
11008     test no = "$enable_shared"; then
11009  # Fast installation is not necessary
11010  enable_fast_install=needless
11011fi
11012
11013
11014
11015
11016
11017
11018  if test yes != "$enable_dlopen"; then
11019  enable_dlopen=unknown
11020  enable_dlopen_self=unknown
11021  enable_dlopen_self_static=unknown
11022else
11023  lt_cv_dlopen=no
11024  lt_cv_dlopen_libs=
11025
11026  case $host_os in
11027  beos*)
11028    lt_cv_dlopen=load_add_on
11029    lt_cv_dlopen_libs=
11030    lt_cv_dlopen_self=yes
11031    ;;
11032
11033  mingw* | pw32* | cegcc*)
11034    lt_cv_dlopen=LoadLibrary
11035    lt_cv_dlopen_libs=
11036    ;;
11037
11038  cygwin*)
11039    lt_cv_dlopen=dlopen
11040    lt_cv_dlopen_libs=
11041    ;;
11042
11043  darwin*)
11044    # if libdl is installed we need to link against it
11045    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11046$as_echo_n "checking for dlopen in -ldl... " >&6; }
11047if ${ac_cv_lib_dl_dlopen+:} false; then :
11048  $as_echo_n "(cached) " >&6
11049else
11050  ac_check_lib_save_LIBS=$LIBS
11051LIBS="-ldl  $LIBS"
11052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053/* end confdefs.h.  */
11054
11055/* Override any GCC internal prototype to avoid an error.
11056   Use char because int might match the return type of a GCC
11057   builtin and then its argument prototype would still apply.  */
11058#ifdef __cplusplus
11059extern "C"
11060#endif
11061char dlopen ();
11062int
11063main ()
11064{
11065return dlopen ();
11066  ;
11067  return 0;
11068}
11069_ACEOF
11070if ac_fn_c_try_link "$LINENO"; then :
11071  ac_cv_lib_dl_dlopen=yes
11072else
11073  ac_cv_lib_dl_dlopen=no
11074fi
11075rm -f core conftest.err conftest.$ac_objext \
11076    conftest$ac_exeext conftest.$ac_ext
11077LIBS=$ac_check_lib_save_LIBS
11078fi
11079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11080$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11081if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11082  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11083else
11084
11085    lt_cv_dlopen=dyld
11086    lt_cv_dlopen_libs=
11087    lt_cv_dlopen_self=yes
11088
11089fi
11090
11091    ;;
11092
11093  tpf*)
11094    # Don't try to run any link tests for TPF.  We know it's impossible
11095    # because TPF is a cross-compiler, and we know how we open DSOs.
11096    lt_cv_dlopen=dlopen
11097    lt_cv_dlopen_libs=
11098    lt_cv_dlopen_self=no
11099    ;;
11100
11101  *)
11102    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11103if test "x$ac_cv_func_shl_load" = xyes; then :
11104  lt_cv_dlopen=shl_load
11105else
11106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11107$as_echo_n "checking for shl_load in -ldld... " >&6; }
11108if ${ac_cv_lib_dld_shl_load+:} false; then :
11109  $as_echo_n "(cached) " >&6
11110else
11111  ac_check_lib_save_LIBS=$LIBS
11112LIBS="-ldld  $LIBS"
11113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114/* end confdefs.h.  */
11115
11116/* Override any GCC internal prototype to avoid an error.
11117   Use char because int might match the return type of a GCC
11118   builtin and then its argument prototype would still apply.  */
11119#ifdef __cplusplus
11120extern "C"
11121#endif
11122char shl_load ();
11123int
11124main ()
11125{
11126return shl_load ();
11127  ;
11128  return 0;
11129}
11130_ACEOF
11131if ac_fn_c_try_link "$LINENO"; then :
11132  ac_cv_lib_dld_shl_load=yes
11133else
11134  ac_cv_lib_dld_shl_load=no
11135fi
11136rm -f core conftest.err conftest.$ac_objext \
11137    conftest$ac_exeext conftest.$ac_ext
11138LIBS=$ac_check_lib_save_LIBS
11139fi
11140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11141$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11142if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11143  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11144else
11145  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11146if test "x$ac_cv_func_dlopen" = xyes; then :
11147  lt_cv_dlopen=dlopen
11148else
11149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11150$as_echo_n "checking for dlopen in -ldl... " >&6; }
11151if ${ac_cv_lib_dl_dlopen+:} false; then :
11152  $as_echo_n "(cached) " >&6
11153else
11154  ac_check_lib_save_LIBS=$LIBS
11155LIBS="-ldl  $LIBS"
11156cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157/* end confdefs.h.  */
11158
11159/* Override any GCC internal prototype to avoid an error.
11160   Use char because int might match the return type of a GCC
11161   builtin and then its argument prototype would still apply.  */
11162#ifdef __cplusplus
11163extern "C"
11164#endif
11165char dlopen ();
11166int
11167main ()
11168{
11169return dlopen ();
11170  ;
11171  return 0;
11172}
11173_ACEOF
11174if ac_fn_c_try_link "$LINENO"; then :
11175  ac_cv_lib_dl_dlopen=yes
11176else
11177  ac_cv_lib_dl_dlopen=no
11178fi
11179rm -f core conftest.err conftest.$ac_objext \
11180    conftest$ac_exeext conftest.$ac_ext
11181LIBS=$ac_check_lib_save_LIBS
11182fi
11183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11184$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11185if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11186  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11187else
11188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11189$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11190if ${ac_cv_lib_svld_dlopen+:} false; then :
11191  $as_echo_n "(cached) " >&6
11192else
11193  ac_check_lib_save_LIBS=$LIBS
11194LIBS="-lsvld  $LIBS"
11195cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11196/* end confdefs.h.  */
11197
11198/* Override any GCC internal prototype to avoid an error.
11199   Use char because int might match the return type of a GCC
11200   builtin and then its argument prototype would still apply.  */
11201#ifdef __cplusplus
11202extern "C"
11203#endif
11204char dlopen ();
11205int
11206main ()
11207{
11208return dlopen ();
11209  ;
11210  return 0;
11211}
11212_ACEOF
11213if ac_fn_c_try_link "$LINENO"; then :
11214  ac_cv_lib_svld_dlopen=yes
11215else
11216  ac_cv_lib_svld_dlopen=no
11217fi
11218rm -f core conftest.err conftest.$ac_objext \
11219    conftest$ac_exeext conftest.$ac_ext
11220LIBS=$ac_check_lib_save_LIBS
11221fi
11222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11223$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11224if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11225  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11226else
11227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11228$as_echo_n "checking for dld_link in -ldld... " >&6; }
11229if ${ac_cv_lib_dld_dld_link+:} false; then :
11230  $as_echo_n "(cached) " >&6
11231else
11232  ac_check_lib_save_LIBS=$LIBS
11233LIBS="-ldld  $LIBS"
11234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235/* end confdefs.h.  */
11236
11237/* Override any GCC internal prototype to avoid an error.
11238   Use char because int might match the return type of a GCC
11239   builtin and then its argument prototype would still apply.  */
11240#ifdef __cplusplus
11241extern "C"
11242#endif
11243char dld_link ();
11244int
11245main ()
11246{
11247return dld_link ();
11248  ;
11249  return 0;
11250}
11251_ACEOF
11252if ac_fn_c_try_link "$LINENO"; then :
11253  ac_cv_lib_dld_dld_link=yes
11254else
11255  ac_cv_lib_dld_dld_link=no
11256fi
11257rm -f core conftest.err conftest.$ac_objext \
11258    conftest$ac_exeext conftest.$ac_ext
11259LIBS=$ac_check_lib_save_LIBS
11260fi
11261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11262$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11263if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11264  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11265fi
11266
11267
11268fi
11269
11270
11271fi
11272
11273
11274fi
11275
11276
11277fi
11278
11279
11280fi
11281
11282    ;;
11283  esac
11284
11285  if test no = "$lt_cv_dlopen"; then
11286    enable_dlopen=no
11287  else
11288    enable_dlopen=yes
11289  fi
11290
11291  case $lt_cv_dlopen in
11292  dlopen)
11293    save_CPPFLAGS=$CPPFLAGS
11294    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11295
11296    save_LDFLAGS=$LDFLAGS
11297    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11298
11299    save_LIBS=$LIBS
11300    LIBS="$lt_cv_dlopen_libs $LIBS"
11301
11302    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11303$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11304if ${lt_cv_dlopen_self+:} false; then :
11305  $as_echo_n "(cached) " >&6
11306else
11307  	  if test yes = "$cross_compiling"; then :
11308  lt_cv_dlopen_self=cross
11309else
11310  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11311  lt_status=$lt_dlunknown
11312  cat > conftest.$ac_ext <<_LT_EOF
11313#line $LINENO "configure"
11314#include "confdefs.h"
11315
11316#if HAVE_DLFCN_H
11317#include <dlfcn.h>
11318#endif
11319
11320#include <stdio.h>
11321
11322#ifdef RTLD_GLOBAL
11323#  define LT_DLGLOBAL		RTLD_GLOBAL
11324#else
11325#  ifdef DL_GLOBAL
11326#    define LT_DLGLOBAL		DL_GLOBAL
11327#  else
11328#    define LT_DLGLOBAL		0
11329#  endif
11330#endif
11331
11332/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11333   find out it does not work in some platform. */
11334#ifndef LT_DLLAZY_OR_NOW
11335#  ifdef RTLD_LAZY
11336#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11337#  else
11338#    ifdef DL_LAZY
11339#      define LT_DLLAZY_OR_NOW		DL_LAZY
11340#    else
11341#      ifdef RTLD_NOW
11342#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11343#      else
11344#        ifdef DL_NOW
11345#          define LT_DLLAZY_OR_NOW	DL_NOW
11346#        else
11347#          define LT_DLLAZY_OR_NOW	0
11348#        endif
11349#      endif
11350#    endif
11351#  endif
11352#endif
11353
11354/* When -fvisibility=hidden is used, assume the code has been annotated
11355   correspondingly for the symbols needed.  */
11356#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11357int fnord () __attribute__((visibility("default")));
11358#endif
11359
11360int fnord () { return 42; }
11361int main ()
11362{
11363  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11364  int status = $lt_dlunknown;
11365
11366  if (self)
11367    {
11368      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11369      else
11370        {
11371	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11372          else puts (dlerror ());
11373	}
11374      /* dlclose (self); */
11375    }
11376  else
11377    puts (dlerror ());
11378
11379  return status;
11380}
11381_LT_EOF
11382  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11383  (eval $ac_link) 2>&5
11384  ac_status=$?
11385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11386  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11387    (./conftest; exit; ) >&5 2>/dev/null
11388    lt_status=$?
11389    case x$lt_status in
11390      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11391      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11392      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11393    esac
11394  else :
11395    # compilation failed
11396    lt_cv_dlopen_self=no
11397  fi
11398fi
11399rm -fr conftest*
11400
11401
11402fi
11403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11404$as_echo "$lt_cv_dlopen_self" >&6; }
11405
11406    if test yes = "$lt_cv_dlopen_self"; then
11407      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11408      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11409$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11410if ${lt_cv_dlopen_self_static+:} false; then :
11411  $as_echo_n "(cached) " >&6
11412else
11413  	  if test yes = "$cross_compiling"; then :
11414  lt_cv_dlopen_self_static=cross
11415else
11416  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11417  lt_status=$lt_dlunknown
11418  cat > conftest.$ac_ext <<_LT_EOF
11419#line $LINENO "configure"
11420#include "confdefs.h"
11421
11422#if HAVE_DLFCN_H
11423#include <dlfcn.h>
11424#endif
11425
11426#include <stdio.h>
11427
11428#ifdef RTLD_GLOBAL
11429#  define LT_DLGLOBAL		RTLD_GLOBAL
11430#else
11431#  ifdef DL_GLOBAL
11432#    define LT_DLGLOBAL		DL_GLOBAL
11433#  else
11434#    define LT_DLGLOBAL		0
11435#  endif
11436#endif
11437
11438/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11439   find out it does not work in some platform. */
11440#ifndef LT_DLLAZY_OR_NOW
11441#  ifdef RTLD_LAZY
11442#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11443#  else
11444#    ifdef DL_LAZY
11445#      define LT_DLLAZY_OR_NOW		DL_LAZY
11446#    else
11447#      ifdef RTLD_NOW
11448#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11449#      else
11450#        ifdef DL_NOW
11451#          define LT_DLLAZY_OR_NOW	DL_NOW
11452#        else
11453#          define LT_DLLAZY_OR_NOW	0
11454#        endif
11455#      endif
11456#    endif
11457#  endif
11458#endif
11459
11460/* When -fvisibility=hidden is used, assume the code has been annotated
11461   correspondingly for the symbols needed.  */
11462#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11463int fnord () __attribute__((visibility("default")));
11464#endif
11465
11466int fnord () { return 42; }
11467int main ()
11468{
11469  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11470  int status = $lt_dlunknown;
11471
11472  if (self)
11473    {
11474      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11475      else
11476        {
11477	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11478          else puts (dlerror ());
11479	}
11480      /* dlclose (self); */
11481    }
11482  else
11483    puts (dlerror ());
11484
11485  return status;
11486}
11487_LT_EOF
11488  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11489  (eval $ac_link) 2>&5
11490  ac_status=$?
11491  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11492  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11493    (./conftest; exit; ) >&5 2>/dev/null
11494    lt_status=$?
11495    case x$lt_status in
11496      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11497      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11498      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11499    esac
11500  else :
11501    # compilation failed
11502    lt_cv_dlopen_self_static=no
11503  fi
11504fi
11505rm -fr conftest*
11506
11507
11508fi
11509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11510$as_echo "$lt_cv_dlopen_self_static" >&6; }
11511    fi
11512
11513    CPPFLAGS=$save_CPPFLAGS
11514    LDFLAGS=$save_LDFLAGS
11515    LIBS=$save_LIBS
11516    ;;
11517  esac
11518
11519  case $lt_cv_dlopen_self in
11520  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11521  *) enable_dlopen_self=unknown ;;
11522  esac
11523
11524  case $lt_cv_dlopen_self_static in
11525  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11526  *) enable_dlopen_self_static=unknown ;;
11527  esac
11528fi
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546striplib=
11547old_striplib=
11548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11549$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11550if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11551  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11552  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11554$as_echo "yes" >&6; }
11555else
11556# FIXME - insert some real tests, host_os isn't really good enough
11557  case $host_os in
11558  darwin*)
11559    if test -n "$STRIP"; then
11560      striplib="$STRIP -x"
11561      old_striplib="$STRIP -S"
11562      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11563$as_echo "yes" >&6; }
11564    else
11565      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11566$as_echo "no" >&6; }
11567    fi
11568    ;;
11569  *)
11570    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11571$as_echo "no" >&6; }
11572    ;;
11573  esac
11574fi
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587  # Report what library types will actually be built
11588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11589$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11591$as_echo "$can_build_shared" >&6; }
11592
11593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11594$as_echo_n "checking whether to build shared libraries... " >&6; }
11595  test no = "$can_build_shared" && enable_shared=no
11596
11597  # On AIX, shared libraries and static libraries use the same namespace, and
11598  # are all built from PIC.
11599  case $host_os in
11600  aix3*)
11601    test yes = "$enable_shared" && enable_static=no
11602    if test -n "$RANLIB"; then
11603      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11604      postinstall_cmds='$RANLIB $lib'
11605    fi
11606    ;;
11607
11608  aix[4-9]*)
11609    if test ia64 != "$host_cpu"; then
11610      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11611      yes,aix,yes) ;;			# shared object as lib.so file only
11612      yes,svr4,*) ;;			# shared object as lib.so archive member only
11613      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
11614      esac
11615    fi
11616    ;;
11617  esac
11618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11619$as_echo "$enable_shared" >&6; }
11620
11621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11622$as_echo_n "checking whether to build static libraries... " >&6; }
11623  # Make sure either enable_shared or enable_static is yes.
11624  test yes = "$enable_shared" || enable_static=yes
11625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11626$as_echo "$enable_static" >&6; }
11627
11628
11629
11630
11631fi
11632ac_ext=c
11633ac_cpp='$CPP $CPPFLAGS'
11634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11636ac_compiler_gnu=$ac_cv_c_compiler_gnu
11637
11638CC=$lt_save_CC
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654        ac_config_commands="$ac_config_commands libtool"
11655
11656
11657
11658
11659# Only expand once:
11660
11661
11662
11663
11664# Check whether --with-centos was given.
11665if test "${with_centos+set}" = set; then :
11666  withval=$with_centos;
11667fi
11668
11669
11670
11671
11672
11673
11674
11675if test "$with_centos" = "yes"; then
11676    RPM_COMMENT="# RPM spec file for RedHat CentOS created by configure script."
11677    RPM_LICENSE="GPLv3"
11678    RPM_GROUP="User Interface/Desktops"
11679    RPM_FDUPES_REQUIRES=
11680    RPM_UDF_REQUIRES=
11681else
11682    RPM_COMMENT="# RPM spec file for SUSE OpenSUSE created by configure script."
11683    RPM_LICENSE="GPL-3.0"
11684    RPM_GROUP="System/GUI/Other"
11685    RPM_FDUPES_REQUIRES="BuildRequires: fdupes"
11686    RPM_UDF_REQUIRES="BuildRequires: update-desktop-files"
11687fi
11688
11689
11690
11691
11692$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
11693
11694
11695
11696$as_echo "#define COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h
11697
11698
11699
11700$as_echo "#define PACKAGE_COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h
11701
11702
11703
11704{ $as_echo "$as_me:${as_lineno-$LINENO}: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&5
11705$as_echo "$as_me: *** *** You may download librfm from http://sf.net/projects/xffm/files *** ***" >&6;}
11706
11707
11708  # minimum supported version of pkg-config
11709  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
11710
11711  # lookup pkg-config utility
11712  if test x"$PKG_CONFIG" = x""; then
11713    # Extract the first word of "pkg-config", so it can be a program name with args.
11714set dummy pkg-config; ac_word=$2
11715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716$as_echo_n "checking for $ac_word... " >&6; }
11717if ${ac_cv_path_PKG_CONFIG+:} false; then :
11718  $as_echo_n "(cached) " >&6
11719else
11720  case $PKG_CONFIG in
11721  [\\/]* | ?:[\\/]*)
11722  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11723  ;;
11724  *)
11725  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11726for as_dir in $PATH
11727do
11728  IFS=$as_save_IFS
11729  test -z "$as_dir" && as_dir=.
11730    for ac_exec_ext in '' $ac_executable_extensions; do
11731  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11732    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11733    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11734    break 2
11735  fi
11736done
11737  done
11738IFS=$as_save_IFS
11739
11740  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11741  ;;
11742esac
11743fi
11744PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11745if test -n "$PKG_CONFIG"; then
11746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11747$as_echo "$PKG_CONFIG" >&6; }
11748else
11749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750$as_echo "no" >&6; }
11751fi
11752
11753
11754
11755    if test x"$PKG_CONFIG" = x"no"; then
11756      echo "*** The pkg-config utility could not be found on your system."
11757      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
11758      echo "*** environment variable to the full path to pkg-config."
11759      echo "*** You can download pkg-config from the freedesktop.org"
11760      echo "*** software repository at"
11761      echo "***"
11762      echo "***    http://www.freedesktop.org/software/pkgconfig"
11763      echo "***"
11764      exit 1
11765    fi
11766
11767    # check pkg-config version
11768    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
11769$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
11770    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
11771      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
11772      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
11773$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
11774    else
11775      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
11776      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
11777$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
11778      echo "*** Your version of pkg-config is too old. You need atleast"
11779      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
11780      echo "*** from the freedesktop.org software repository at"
11781      echo "***"
11782      echo "***    http://www.freedesktop.org/software/pkgconfig"
11783      echo "***"
11784      exit 1
11785    fi
11786  fi
11787
11788
11789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librfm >= 5.3.16.3" >&5
11790$as_echo_n "checking for librfm >= 5.3.16.3... " >&6; }
11791  if $PKG_CONFIG "--atleast-version=5.3.16.3" "librfm" >/dev/null 2>&1; then
11792    LIBRFM_VERSION=`$PKG_CONFIG --modversion "librfm"`
11793    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_VERSION" >&5
11794$as_echo "$LIBRFM_VERSION" >&6; }
11795
11796    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_CFLAGS" >&5
11797$as_echo_n "checking LIBRFM_CFLAGS... " >&6; }
11798    LIBRFM_CFLAGS=`$PKG_CONFIG --cflags "librfm"`
11799    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_CFLAGS" >&5
11800$as_echo "$LIBRFM_CFLAGS" >&6; }
11801
11802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRFM_LIBS" >&5
11803$as_echo_n "checking LIBRFM_LIBS... " >&6; }
11804    LIBRFM_LIBS=`$PKG_CONFIG --libs "librfm"`
11805    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRFM_LIBS" >&5
11806$as_echo "$LIBRFM_LIBS" >&6; }
11807
11808    LIBRFM_REQUIRED_VERSION=5.3.16.3
11809
11810
11811
11812
11813
11814
11815
11816  elif $PKG_CONFIG --exists "librfm" >/dev/null 2>&1; then
11817    xdg_cv_version=`$PKG_CONFIG --modversion "librfm"`
11818    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
11819$as_echo "found, but $xdt_cv_version" >&6; }
11820
11821
11822      echo "*** The required rodent-samba librfm was found on your system,"
11823      echo "*** but the installed version ($xdt_cv_version) is too old."
11824      echo "*** Please upgrade librfm to atleast version 5.3.16.3, or adjust"
11825      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
11826      echo "*** the new version of the rodent-samba in a nonstandard prefix so"
11827      echo "*** pkg-config is able to find it."
11828      exit 1
11829
11830  else
11831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832$as_echo "not found" >&6; }
11833
11834
11835      echo "*** The required rodent-samba librfm was not found on your system."
11836      echo "*** Please install librfm (atleast version 5.3.16.3) or adjust"
11837      echo "*** the PKG_CONFIG_PATH environment variable if you"
11838      echo "*** installed the rodent-samba in a nonstandard prefix so that"
11839      echo "*** pkg-config is able to find it."
11840      exit 1
11841
11842  fi
11843
11844
11845
11846
11847# check for libzip
11848
11849
11850
11851
11852
11853GTK_VERSION=`$PKG_CONFIG --variable gtk_version librfm`
11854GTK_PREFIX=`$PKG_CONFIG --variable prefix $GTK_VERSION`
11855RFM_PREFIX=`$PKG_CONFIG --variable prefix librfm`
11856RFM_MODULE_DIR=`$PKG_CONFIG --variable moduledir librfm`
11857
11858echo "GTK version used in librfm: $GTK_VERSION ($GTK_PREFIX)"
11859
11860
11861# Check whether --with-tcmalloc was given.
11862if test "${with_tcmalloc+set}" = set; then :
11863  withval=$with_tcmalloc;
11864fi
11865
11866
11867if test "$with_tcmalloc" = "yes"; then
11868
11869cat >>confdefs.h <<_ACEOF
11870#define TCMALLOC $with_tcmalloc
11871_ACEOF
11872
11873    TCMALLOC="-L/usr/local/lib/ -ltcmalloc"
11874else
11875    TCMALLOC=
11876fi
11877
11878
11879#deprecated: AM_INIT_AUTOMAKE([package()], [vers()])
11880#AM_INIT_AUTOMAKE([foreign])
11881#m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
11882am__api_version='1.15'
11883
11884# Find a good install program.  We prefer a C program (faster),
11885# so one script is as good as another.  But avoid the broken or
11886# incompatible versions:
11887# SysV /etc/install, /usr/sbin/install
11888# SunOS /usr/etc/install
11889# IRIX /sbin/install
11890# AIX /bin/install
11891# AmigaOS /C/install, which installs bootblocks on floppy discs
11892# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11893# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11894# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11895# OS/2's system install, which has a completely different semantic
11896# ./install, which can be erroneously created by make from ./install.sh.
11897# Reject install programs that cannot install multiple files.
11898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11899$as_echo_n "checking for a BSD-compatible install... " >&6; }
11900if test -z "$INSTALL"; then
11901if ${ac_cv_path_install+:} false; then :
11902  $as_echo_n "(cached) " >&6
11903else
11904  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905for as_dir in $PATH
11906do
11907  IFS=$as_save_IFS
11908  test -z "$as_dir" && as_dir=.
11909    # Account for people who put trailing slashes in PATH elements.
11910case $as_dir/ in #((
11911  ./ | .// | /[cC]/* | \
11912  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11913  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
11914  /usr/ucb/* ) ;;
11915  *)
11916    # OSF1 and SCO ODT 3.0 have their own names for install.
11917    # Don't use installbsd from OSF since it installs stuff as root
11918    # by default.
11919    for ac_prog in ginstall scoinst install; do
11920      for ac_exec_ext in '' $ac_executable_extensions; do
11921	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11922	  if test $ac_prog = install &&
11923	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11924	    # AIX install.  It has an incompatible calling convention.
11925	    :
11926	  elif test $ac_prog = install &&
11927	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11928	    # program-specific install script used by HP pwplus--don't use.
11929	    :
11930	  else
11931	    rm -rf conftest.one conftest.two conftest.dir
11932	    echo one > conftest.one
11933	    echo two > conftest.two
11934	    mkdir conftest.dir
11935	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11936	      test -s conftest.one && test -s conftest.two &&
11937	      test -s conftest.dir/conftest.one &&
11938	      test -s conftest.dir/conftest.two
11939	    then
11940	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11941	      break 3
11942	    fi
11943	  fi
11944	fi
11945      done
11946    done
11947    ;;
11948esac
11949
11950  done
11951IFS=$as_save_IFS
11952
11953rm -rf conftest.one conftest.two conftest.dir
11954
11955fi
11956  if test "${ac_cv_path_install+set}" = set; then
11957    INSTALL=$ac_cv_path_install
11958  else
11959    # As a last resort, use the slow shell script.  Don't cache a
11960    # value for INSTALL within a source directory, because that will
11961    # break other packages using the cache if that directory is
11962    # removed, or if the value is a relative name.
11963    INSTALL=$ac_install_sh
11964  fi
11965fi
11966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11967$as_echo "$INSTALL" >&6; }
11968
11969# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11970# It thinks the first close brace ends the variable substitution.
11971test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11972
11973test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11974
11975test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11976
11977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
11978$as_echo_n "checking whether build environment is sane... " >&6; }
11979# Reject unsafe characters in $srcdir or the absolute working directory
11980# name.  Accept space and tab only in the latter.
11981am_lf='
11982'
11983case `pwd` in
11984  *[\\\"\#\$\&\'\`$am_lf]*)
11985    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
11986esac
11987case $srcdir in
11988  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
11989    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
11990esac
11991
11992# Do 'set' in a subshell so we don't clobber the current shell's
11993# arguments.  Must try -L first in case configure is actually a
11994# symlink; some systems play weird games with the mod time of symlinks
11995# (eg FreeBSD returns the mod time of the symlink's containing
11996# directory).
11997if (
11998   am_has_slept=no
11999   for am_try in 1 2; do
12000     echo "timestamp, slept: $am_has_slept" > conftest.file
12001     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12002     if test "$*" = "X"; then
12003	# -L didn't work.
12004	set X `ls -t "$srcdir/configure" conftest.file`
12005     fi
12006     if test "$*" != "X $srcdir/configure conftest.file" \
12007	&& test "$*" != "X conftest.file $srcdir/configure"; then
12008
12009	# If neither matched, then we have a broken ls.  This can happen
12010	# if, for instance, CONFIG_SHELL is bash and it inherits a
12011	# broken ls alias from the environment.  This has actually
12012	# happened.  Such a system could not be considered "sane".
12013	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
12014  alias in your environment" "$LINENO" 5
12015     fi
12016     if test "$2" = conftest.file || test $am_try -eq 2; then
12017       break
12018     fi
12019     # Just in case.
12020     sleep 1
12021     am_has_slept=yes
12022   done
12023   test "$2" = conftest.file
12024   )
12025then
12026   # Ok.
12027   :
12028else
12029   as_fn_error $? "newly created file is older than distributed files!
12030Check your system clock" "$LINENO" 5
12031fi
12032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12033$as_echo "yes" >&6; }
12034# If we didn't sleep, we still need to ensure time stamps of config.status and
12035# generated files are strictly newer.
12036am_sleep_pid=
12037if grep 'slept: no' conftest.file >/dev/null 2>&1; then
12038  ( sleep 1 ) &
12039  am_sleep_pid=$!
12040fi
12041
12042rm -f conftest.file
12043
12044test "$program_prefix" != NONE &&
12045  program_transform_name="s&^&$program_prefix&;$program_transform_name"
12046# Use a double $ so make ignores it.
12047test "$program_suffix" != NONE &&
12048  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
12049# Double any \ or $.
12050# By default was `s,x,x', remove it if useless.
12051ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
12052program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
12053
12054if test x"${MISSING+set}" != xset; then
12055  case $am_aux_dir in
12056  *\ * | *\	*)
12057    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
12058  *)
12059    MISSING="\${SHELL} $am_aux_dir/missing" ;;
12060  esac
12061fi
12062# Use eval to expand $SHELL
12063if eval "$MISSING --is-lightweight"; then
12064  am_missing_run="$MISSING "
12065else
12066  am_missing_run=
12067  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12068$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12069fi
12070
12071if test x"${install_sh+set}" != xset; then
12072  case $am_aux_dir in
12073  *\ * | *\	*)
12074    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
12075  *)
12076    install_sh="\${SHELL} $am_aux_dir/install-sh"
12077  esac
12078fi
12079
12080# Installed binaries are usually stripped using 'strip' when the user
12081# run "make install-strip".  However 'strip' might not be the right
12082# tool to use in cross-compilation environments, therefore Automake
12083# will honor the 'STRIP' environment variable to overrule this program.
12084if test "$cross_compiling" != no; then
12085  if test -n "$ac_tool_prefix"; then
12086  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12087set dummy ${ac_tool_prefix}strip; ac_word=$2
12088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12089$as_echo_n "checking for $ac_word... " >&6; }
12090if ${ac_cv_prog_STRIP+:} false; then :
12091  $as_echo_n "(cached) " >&6
12092else
12093  if test -n "$STRIP"; then
12094  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12095else
12096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12097for as_dir in $PATH
12098do
12099  IFS=$as_save_IFS
12100  test -z "$as_dir" && as_dir=.
12101    for ac_exec_ext in '' $ac_executable_extensions; do
12102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12103    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12105    break 2
12106  fi
12107done
12108  done
12109IFS=$as_save_IFS
12110
12111fi
12112fi
12113STRIP=$ac_cv_prog_STRIP
12114if test -n "$STRIP"; then
12115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12116$as_echo "$STRIP" >&6; }
12117else
12118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12119$as_echo "no" >&6; }
12120fi
12121
12122
12123fi
12124if test -z "$ac_cv_prog_STRIP"; then
12125  ac_ct_STRIP=$STRIP
12126  # Extract the first word of "strip", so it can be a program name with args.
12127set dummy strip; ac_word=$2
12128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12129$as_echo_n "checking for $ac_word... " >&6; }
12130if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
12131  $as_echo_n "(cached) " >&6
12132else
12133  if test -n "$ac_ct_STRIP"; then
12134  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12135else
12136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12137for as_dir in $PATH
12138do
12139  IFS=$as_save_IFS
12140  test -z "$as_dir" && as_dir=.
12141    for ac_exec_ext in '' $ac_executable_extensions; do
12142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12143    ac_cv_prog_ac_ct_STRIP="strip"
12144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12145    break 2
12146  fi
12147done
12148  done
12149IFS=$as_save_IFS
12150
12151fi
12152fi
12153ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12154if test -n "$ac_ct_STRIP"; then
12155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12156$as_echo "$ac_ct_STRIP" >&6; }
12157else
12158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159$as_echo "no" >&6; }
12160fi
12161
12162  if test "x$ac_ct_STRIP" = x; then
12163    STRIP=":"
12164  else
12165    case $cross_compiling:$ac_tool_warned in
12166yes:)
12167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12169ac_tool_warned=yes ;;
12170esac
12171    STRIP=$ac_ct_STRIP
12172  fi
12173else
12174  STRIP="$ac_cv_prog_STRIP"
12175fi
12176
12177fi
12178INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
12179
12180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12181$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12182if test -z "$MKDIR_P"; then
12183  if ${ac_cv_path_mkdir+:} false; then :
12184  $as_echo_n "(cached) " >&6
12185else
12186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12187for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
12188do
12189  IFS=$as_save_IFS
12190  test -z "$as_dir" && as_dir=.
12191    for ac_prog in mkdir gmkdir; do
12192	 for ac_exec_ext in '' $ac_executable_extensions; do
12193	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
12194	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12195	     'mkdir (GNU coreutils) '* | \
12196	     'mkdir (coreutils) '* | \
12197	     'mkdir (fileutils) '4.1*)
12198	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
12199	       break 3;;
12200	   esac
12201	 done
12202       done
12203  done
12204IFS=$as_save_IFS
12205
12206fi
12207
12208  test -d ./--version && rmdir ./--version
12209  if test "${ac_cv_path_mkdir+set}" = set; then
12210    MKDIR_P="$ac_cv_path_mkdir -p"
12211  else
12212    # As a last resort, use the slow shell script.  Don't cache a
12213    # value for MKDIR_P within a source directory, because that will
12214    # break other packages using the cache if that directory is
12215    # removed, or if the value is a relative name.
12216    MKDIR_P="$ac_install_sh -d"
12217  fi
12218fi
12219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12220$as_echo "$MKDIR_P" >&6; }
12221
12222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12223$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12224set x ${MAKE-make}
12225ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12226if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
12227  $as_echo_n "(cached) " >&6
12228else
12229  cat >conftest.make <<\_ACEOF
12230SHELL = /bin/sh
12231all:
12232	@echo '@@@%%%=$(MAKE)=@@@%%%'
12233_ACEOF
12234# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12235case `${MAKE-make} -f conftest.make 2>/dev/null` in
12236  *@@@%%%=?*=@@@%%%*)
12237    eval ac_cv_prog_make_${ac_make}_set=yes;;
12238  *)
12239    eval ac_cv_prog_make_${ac_make}_set=no;;
12240esac
12241rm -f conftest.make
12242fi
12243if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12245$as_echo "yes" >&6; }
12246  SET_MAKE=
12247else
12248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249$as_echo "no" >&6; }
12250  SET_MAKE="MAKE=${MAKE-make}"
12251fi
12252
12253rm -rf .tst 2>/dev/null
12254mkdir .tst 2>/dev/null
12255if test -d .tst; then
12256  am__leading_dot=.
12257else
12258  am__leading_dot=_
12259fi
12260rmdir .tst 2>/dev/null
12261
12262DEPDIR="${am__leading_dot}deps"
12263
12264ac_config_commands="$ac_config_commands depfiles"
12265
12266
12267am_make=${MAKE-make}
12268cat > confinc << 'END'
12269am__doit:
12270	@echo this is the am__doit target
12271.PHONY: am__doit
12272END
12273# If we don't find an include directive, just comment out the code.
12274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12275$as_echo_n "checking for style of include used by $am_make... " >&6; }
12276am__include="#"
12277am__quote=
12278_am_result=none
12279# First try GNU make style include.
12280echo "include confinc" > confmf
12281# Ignore all kinds of additional output from 'make'.
12282case `$am_make -s -f confmf 2> /dev/null` in #(
12283*the\ am__doit\ target*)
12284  am__include=include
12285  am__quote=
12286  _am_result=GNU
12287  ;;
12288esac
12289# Now try BSD make style include.
12290if test "$am__include" = "#"; then
12291   echo '.include "confinc"' > confmf
12292   case `$am_make -s -f confmf 2> /dev/null` in #(
12293   *the\ am__doit\ target*)
12294     am__include=.include
12295     am__quote="\""
12296     _am_result=BSD
12297     ;;
12298   esac
12299fi
12300
12301
12302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12303$as_echo "$_am_result" >&6; }
12304rm -f confinc confmf
12305
12306# Check whether --enable-dependency-tracking was given.
12307if test "${enable_dependency_tracking+set}" = set; then :
12308  enableval=$enable_dependency_tracking;
12309fi
12310
12311if test "x$enable_dependency_tracking" != xno; then
12312  am_depcomp="$ac_aux_dir/depcomp"
12313  AMDEPBACKSLASH='\'
12314  am__nodep='_no'
12315fi
12316 if test "x$enable_dependency_tracking" != xno; then
12317  AMDEP_TRUE=
12318  AMDEP_FALSE='#'
12319else
12320  AMDEP_TRUE='#'
12321  AMDEP_FALSE=
12322fi
12323
12324
12325# Check whether --enable-silent-rules was given.
12326if test "${enable_silent_rules+set}" = set; then :
12327  enableval=$enable_silent_rules;
12328fi
12329
12330case $enable_silent_rules in
12331yes) AM_DEFAULT_VERBOSITY=0;;
12332no)  AM_DEFAULT_VERBOSITY=1;;
12333*)   AM_DEFAULT_VERBOSITY=1;;
12334esac
12335AM_BACKSLASH='\'
12336
12337if test "`cd $srcdir && pwd`" != "`pwd`"; then
12338  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12339  # is not polluted with repeated "-I."
12340  am__isrc=' -I$(srcdir)'
12341  # test to see if srcdir already configured
12342  if test -f $srcdir/config.status; then
12343    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12344  fi
12345fi
12346
12347# test whether we have cygpath
12348if test -z "$CYGPATH_W"; then
12349  if (cygpath --version) >/dev/null 2>/dev/null; then
12350    CYGPATH_W='cygpath -w'
12351  else
12352    CYGPATH_W=echo
12353  fi
12354fi
12355
12356
12357# Define the identity of the package.
12358 PACKAGE='rodent-samba'
12359 VERSION='5.3.16.3'
12360
12361
12362cat >>confdefs.h <<_ACEOF
12363#define PACKAGE "$PACKAGE"
12364_ACEOF
12365
12366
12367cat >>confdefs.h <<_ACEOF
12368#define VERSION "$VERSION"
12369_ACEOF
12370
12371# Some tools Automake needs.
12372
12373ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12374
12375
12376AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
12377
12378
12379AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12380
12381
12382AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
12383
12384
12385MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
12386
12387# For better backward compatibility.  To be removed once Automake 1.9.x
12388# dies out for good.  For more background, see:
12389# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12390# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12391mkdir_p='$(MKDIR_P)'
12392
12393# We need awk for the "check" target (and possibly the TAP driver).  The
12394# system "awk" is bad on some platforms.
12395# Always define AMTAR for backward compatibility.  Yes, it's still used
12396# in the wild :-(  We should find a proper way to deprecate it ...
12397AMTAR='$${TAR-tar}'
12398
12399
12400# We'll loop over all known methods to create a tar archive until one works.
12401_am_tools='gnutar  pax cpio none'
12402
12403am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
12404
12405
12406
12407
12408
12409depcc="$CC"   am_compiler_list=
12410
12411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12412$as_echo_n "checking dependency style of $depcc... " >&6; }
12413if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12414  $as_echo_n "(cached) " >&6
12415else
12416  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12417  # We make a subdir and do the tests there.  Otherwise we can end up
12418  # making bogus files that we don't know about and never remove.  For
12419  # instance it was reported that on HP-UX the gcc test will end up
12420  # making a dummy file named 'D' -- because '-MD' means "put the output
12421  # in D".
12422  rm -rf conftest.dir
12423  mkdir conftest.dir
12424  # Copy depcomp to subdir because otherwise we won't find it if we're
12425  # using a relative directory.
12426  cp "$am_depcomp" conftest.dir
12427  cd conftest.dir
12428  # We will build objects and dependencies in a subdirectory because
12429  # it helps to detect inapplicable dependency modes.  For instance
12430  # both Tru64's cc and ICC support -MD to output dependencies as a
12431  # side effect of compilation, but ICC will put the dependencies in
12432  # the current directory while Tru64 will put them in the object
12433  # directory.
12434  mkdir sub
12435
12436  am_cv_CC_dependencies_compiler_type=none
12437  if test "$am_compiler_list" = ""; then
12438     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12439  fi
12440  am__universal=false
12441  case " $depcc " in #(
12442     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12443     esac
12444
12445  for depmode in $am_compiler_list; do
12446    # Setup a source with many dependencies, because some compilers
12447    # like to wrap large dependency lists on column 80 (with \), and
12448    # we should not choose a depcomp mode which is confused by this.
12449    #
12450    # We need to recreate these files for each test, as the compiler may
12451    # overwrite some of them when testing with obscure command lines.
12452    # This happens at least with the AIX C compiler.
12453    : > sub/conftest.c
12454    for i in 1 2 3 4 5 6; do
12455      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12456      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12457      # Solaris 10 /bin/sh.
12458      echo '/* dummy */' > sub/conftst$i.h
12459    done
12460    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12461
12462    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12463    # mode.  It turns out that the SunPro C++ compiler does not properly
12464    # handle '-M -o', and we need to detect this.  Also, some Intel
12465    # versions had trouble with output in subdirs.
12466    am__obj=sub/conftest.${OBJEXT-o}
12467    am__minus_obj="-o $am__obj"
12468    case $depmode in
12469    gcc)
12470      # This depmode causes a compiler race in universal mode.
12471      test "$am__universal" = false || continue
12472      ;;
12473    nosideeffect)
12474      # After this tag, mechanisms are not by side-effect, so they'll
12475      # only be used when explicitly requested.
12476      if test "x$enable_dependency_tracking" = xyes; then
12477	continue
12478      else
12479	break
12480      fi
12481      ;;
12482    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12483      # This compiler won't grok '-c -o', but also, the minuso test has
12484      # not run yet.  These depmodes are late enough in the game, and
12485      # so weak that their functioning should not be impacted.
12486      am__obj=conftest.${OBJEXT-o}
12487      am__minus_obj=
12488      ;;
12489    none) break ;;
12490    esac
12491    if depmode=$depmode \
12492       source=sub/conftest.c object=$am__obj \
12493       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12494       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12495         >/dev/null 2>conftest.err &&
12496       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12497       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12498       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12499       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12500      # icc doesn't choke on unknown options, it will just issue warnings
12501      # or remarks (even with -Werror).  So we grep stderr for any message
12502      # that says an option was ignored or not supported.
12503      # When given -MP, icc 7.0 and 7.1 complain thusly:
12504      #   icc: Command line warning: ignoring option '-M'; no argument required
12505      # The diagnosis changed in icc 8.0:
12506      #   icc: Command line remark: option '-MP' not supported
12507      if (grep 'ignoring option' conftest.err ||
12508          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12509        am_cv_CC_dependencies_compiler_type=$depmode
12510        break
12511      fi
12512    fi
12513  done
12514
12515  cd ..
12516  rm -rf conftest.dir
12517else
12518  am_cv_CC_dependencies_compiler_type=none
12519fi
12520
12521fi
12522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12523$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12524CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12525
12526 if
12527  test "x$enable_dependency_tracking" != xno \
12528  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12529  am__fastdepCC_TRUE=
12530  am__fastdepCC_FALSE='#'
12531else
12532  am__fastdepCC_TRUE='#'
12533  am__fastdepCC_FALSE=
12534fi
12535
12536
12537
12538# POSIX will say in a future version that running "rm -f" with no argument
12539# is OK; and we want to be able to make that assumption in our Makefile
12540# recipes.  So use an aggressive probe to check that the usage we want is
12541# actually supported "in the wild" to an acceptable degree.
12542# See automake bug#10828.
12543# To make any issue more visible, cause the running configure to be aborted
12544# by default if the 'rm' program in use doesn't match our expectations; the
12545# user can still override this though.
12546if rm -f && rm -fr && rm -rf; then : OK; else
12547  cat >&2 <<'END'
12548Oops!
12549
12550Your 'rm' program seems unable to run without file operands specified
12551on the command line, even when the '-f' option is present.  This is contrary
12552to the behaviour of most rm programs out there, and not conforming with
12553the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
12554
12555Please tell bug-automake@gnu.org about your system, including the value
12556of your $PATH and any error possibly output before this message.  This
12557can help us improve future automake versions.
12558
12559END
12560  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
12561    echo 'Configuration will proceed anyway, since you have set the' >&2
12562    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
12563    echo >&2
12564  else
12565    cat >&2 <<'END'
12566Aborting the configuration process, to ensure you take notice of the issue.
12567
12568You can download and install GNU coreutils to get an 'rm' implementation
12569that behaves properly: <http://www.gnu.org/software/coreutils/>.
12570
12571If you want to complete the configuration process using your problematic
12572'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
12573to "yes", and re-run configure.
12574
12575END
12576    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
12577  fi
12578fi
12579
12580# Check whether --enable-silent-rules was given.
12581if test "${enable_silent_rules+set}" = set; then :
12582  enableval=$enable_silent_rules;
12583fi
12584
12585case $enable_silent_rules in
12586yes) AM_DEFAULT_VERBOSITY=0;;
12587no)  AM_DEFAULT_VERBOSITY=1;;
12588*)   AM_DEFAULT_VERBOSITY=0;;
12589esac
12590AM_BACKSLASH='\'
12591
12592RFM_VERINFO=1:0:0
12593
12594
12595
12596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12597$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12598    # Check whether --enable-maintainer-mode was given.
12599if test "${enable_maintainer_mode+set}" = set; then :
12600  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12601else
12602  USE_MAINTAINER_MODE=no
12603fi
12604
12605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12606$as_echo "$USE_MAINTAINER_MODE" >&6; }
12607   if test $USE_MAINTAINER_MODE = yes; then
12608  MAINTAINER_MODE_TRUE=
12609  MAINTAINER_MODE_FALSE='#'
12610else
12611  MAINTAINER_MODE_TRUE='#'
12612  MAINTAINER_MODE_FALSE=
12613fi
12614
12615  MAINT=$MAINTAINER_MODE_TRUE
12616
12617
12618ac_config_headers="$ac_config_headers config.h"
12619
12620
12621
12622
12623#RFM_ENABLE_PLUGIN([EXPERIMENTAL], [experimental], [Experimental], [plugins], [no])
12624
12625
12626# Check whether --with-mpt was given.
12627if test "${with_mpt+set}" = set; then :
12628  withval=$with_mpt;
12629fi
12630
12631if test "$with_mpt" != ""
12632then
12633	 WITH_MPT=$with_mpt
12634
12635cat >>confdefs.h <<_ACEOF
12636#define MAX_PREVIEW_THREADS $with_mpt
12637_ACEOF
12638
12639	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to $with_mpt" >&5
12640$as_echo "$as_me: Maximum preview threads set to $with_mpt" >&6;}
12641else
12642	 WITH_MPT=4
12643
12644cat >>confdefs.h <<_ACEOF
12645#define MAX_PREVIEW_THREADS 4
12646_ACEOF
12647
12648	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to 4" >&5
12649$as_echo "$as_me: Maximum preview threads set to 4" >&6;}
12650fi
12651
12652
12653SUMMARY="SMB Browser plugin"
12654DESCRIPTION="SMB Browser plugin"
12655RPM_DESCRIPTION="SMB Browser plugin"
12656HOMEPAGE="http://xffm.org"
12657
12658cat >>confdefs.h <<_ACEOF
12659#define HOMEPAGE "http://xffm.org"
12660_ACEOF
12661
12662
12663SRC_URI=http://sourceforge.net/projects/xffm/files/5.3.16.3/rodent-samba-5.3.16.3.tar.gz
12664
12665LICENSE="  GNU General Public License version 3  "
12666
12667
12668cat >>confdefs.h <<_ACEOF
12669#define LICENSE "  GNU General Public License version 3  "
12670_ACEOF
12671
12672
12673BUGMAIL="https://sourceforge.net/p/xffm/bugs/"
12674
12675
12676cat >>confdefs.h <<_ACEOF
12677#define BUGMAIL "https://sourceforge.net/p/xffm/bugs/"
12678_ACEOF
12679
12680MASTER_SITE=http://sourceforge.net/projects/xffm/files
12681
12682
12683DBH_FILE_VERSION="DBH_2.0/64bit"
12684
12685
12686DBH_VERSION=5.3.16.3
12687
12688
12689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12690$as_echo_n "checking for library containing strerror... " >&6; }
12691if ${ac_cv_search_strerror+:} false; then :
12692  $as_echo_n "(cached) " >&6
12693else
12694  ac_func_search_save_LIBS=$LIBS
12695cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696/* end confdefs.h.  */
12697
12698/* Override any GCC internal prototype to avoid an error.
12699   Use char because int might match the return type of a GCC
12700   builtin and then its argument prototype would still apply.  */
12701#ifdef __cplusplus
12702extern "C"
12703#endif
12704char strerror ();
12705int
12706main ()
12707{
12708return strerror ();
12709  ;
12710  return 0;
12711}
12712_ACEOF
12713for ac_lib in '' cposix; do
12714  if test -z "$ac_lib"; then
12715    ac_res="none required"
12716  else
12717    ac_res=-l$ac_lib
12718    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12719  fi
12720  if ac_fn_c_try_link "$LINENO"; then :
12721  ac_cv_search_strerror=$ac_res
12722fi
12723rm -f core conftest.err conftest.$ac_objext \
12724    conftest$ac_exeext
12725  if ${ac_cv_search_strerror+:} false; then :
12726  break
12727fi
12728done
12729if ${ac_cv_search_strerror+:} false; then :
12730
12731else
12732  ac_cv_search_strerror=no
12733fi
12734rm conftest.$ac_ext
12735LIBS=$ac_func_search_save_LIBS
12736fi
12737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12738$as_echo "$ac_cv_search_strerror" >&6; }
12739ac_res=$ac_cv_search_strerror
12740if test "$ac_res" != no; then :
12741  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12742
12743fi
12744
12745
12746ac_ext=c
12747ac_cpp='$CPP $CPPFLAGS'
12748ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750ac_compiler_gnu=$ac_cv_c_compiler_gnu
12751if test -n "$ac_tool_prefix"; then
12752  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12753set dummy ${ac_tool_prefix}gcc; ac_word=$2
12754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12755$as_echo_n "checking for $ac_word... " >&6; }
12756if ${ac_cv_prog_CC+:} false; then :
12757  $as_echo_n "(cached) " >&6
12758else
12759  if test -n "$CC"; then
12760  ac_cv_prog_CC="$CC" # Let the user override the test.
12761else
12762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763for as_dir in $PATH
12764do
12765  IFS=$as_save_IFS
12766  test -z "$as_dir" && as_dir=.
12767    for ac_exec_ext in '' $ac_executable_extensions; do
12768  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12769    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12770    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12771    break 2
12772  fi
12773done
12774  done
12775IFS=$as_save_IFS
12776
12777fi
12778fi
12779CC=$ac_cv_prog_CC
12780if test -n "$CC"; then
12781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12782$as_echo "$CC" >&6; }
12783else
12784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12785$as_echo "no" >&6; }
12786fi
12787
12788
12789fi
12790if test -z "$ac_cv_prog_CC"; then
12791  ac_ct_CC=$CC
12792  # Extract the first word of "gcc", so it can be a program name with args.
12793set dummy gcc; ac_word=$2
12794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12795$as_echo_n "checking for $ac_word... " >&6; }
12796if ${ac_cv_prog_ac_ct_CC+:} false; then :
12797  $as_echo_n "(cached) " >&6
12798else
12799  if test -n "$ac_ct_CC"; then
12800  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12801else
12802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12803for as_dir in $PATH
12804do
12805  IFS=$as_save_IFS
12806  test -z "$as_dir" && as_dir=.
12807    for ac_exec_ext in '' $ac_executable_extensions; do
12808  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12809    ac_cv_prog_ac_ct_CC="gcc"
12810    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12811    break 2
12812  fi
12813done
12814  done
12815IFS=$as_save_IFS
12816
12817fi
12818fi
12819ac_ct_CC=$ac_cv_prog_ac_ct_CC
12820if test -n "$ac_ct_CC"; then
12821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12822$as_echo "$ac_ct_CC" >&6; }
12823else
12824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825$as_echo "no" >&6; }
12826fi
12827
12828  if test "x$ac_ct_CC" = x; then
12829    CC=""
12830  else
12831    case $cross_compiling:$ac_tool_warned in
12832yes:)
12833{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12834$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12835ac_tool_warned=yes ;;
12836esac
12837    CC=$ac_ct_CC
12838  fi
12839else
12840  CC="$ac_cv_prog_CC"
12841fi
12842
12843if test -z "$CC"; then
12844          if test -n "$ac_tool_prefix"; then
12845    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12846set dummy ${ac_tool_prefix}cc; ac_word=$2
12847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12848$as_echo_n "checking for $ac_word... " >&6; }
12849if ${ac_cv_prog_CC+:} false; then :
12850  $as_echo_n "(cached) " >&6
12851else
12852  if test -n "$CC"; then
12853  ac_cv_prog_CC="$CC" # Let the user override the test.
12854else
12855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12856for as_dir in $PATH
12857do
12858  IFS=$as_save_IFS
12859  test -z "$as_dir" && as_dir=.
12860    for ac_exec_ext in '' $ac_executable_extensions; do
12861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12862    ac_cv_prog_CC="${ac_tool_prefix}cc"
12863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12864    break 2
12865  fi
12866done
12867  done
12868IFS=$as_save_IFS
12869
12870fi
12871fi
12872CC=$ac_cv_prog_CC
12873if test -n "$CC"; then
12874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12875$as_echo "$CC" >&6; }
12876else
12877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878$as_echo "no" >&6; }
12879fi
12880
12881
12882  fi
12883fi
12884if test -z "$CC"; then
12885  # Extract the first word of "cc", so it can be a program name with args.
12886set dummy cc; ac_word=$2
12887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888$as_echo_n "checking for $ac_word... " >&6; }
12889if ${ac_cv_prog_CC+:} false; then :
12890  $as_echo_n "(cached) " >&6
12891else
12892  if test -n "$CC"; then
12893  ac_cv_prog_CC="$CC" # Let the user override the test.
12894else
12895  ac_prog_rejected=no
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    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12904       ac_prog_rejected=yes
12905       continue
12906     fi
12907    ac_cv_prog_CC="cc"
12908    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12909    break 2
12910  fi
12911done
12912  done
12913IFS=$as_save_IFS
12914
12915if test $ac_prog_rejected = yes; then
12916  # We found a bogon in the path, so make sure we never use it.
12917  set dummy $ac_cv_prog_CC
12918  shift
12919  if test $# != 0; then
12920    # We chose a different compiler from the bogus one.
12921    # However, it has the same basename, so the bogon will be chosen
12922    # first if we set CC to just the basename; use the full file name.
12923    shift
12924    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12925  fi
12926fi
12927fi
12928fi
12929CC=$ac_cv_prog_CC
12930if test -n "$CC"; then
12931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12932$as_echo "$CC" >&6; }
12933else
12934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12935$as_echo "no" >&6; }
12936fi
12937
12938
12939fi
12940if test -z "$CC"; then
12941  if test -n "$ac_tool_prefix"; then
12942  for ac_prog in cl.exe
12943  do
12944    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12945set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12947$as_echo_n "checking for $ac_word... " >&6; }
12948if ${ac_cv_prog_CC+:} false; then :
12949  $as_echo_n "(cached) " >&6
12950else
12951  if test -n "$CC"; then
12952  ac_cv_prog_CC="$CC" # Let the user override the test.
12953else
12954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12955for as_dir in $PATH
12956do
12957  IFS=$as_save_IFS
12958  test -z "$as_dir" && as_dir=.
12959    for ac_exec_ext in '' $ac_executable_extensions; do
12960  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12961    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12962    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12963    break 2
12964  fi
12965done
12966  done
12967IFS=$as_save_IFS
12968
12969fi
12970fi
12971CC=$ac_cv_prog_CC
12972if test -n "$CC"; then
12973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12974$as_echo "$CC" >&6; }
12975else
12976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12977$as_echo "no" >&6; }
12978fi
12979
12980
12981    test -n "$CC" && break
12982  done
12983fi
12984if test -z "$CC"; then
12985  ac_ct_CC=$CC
12986  for ac_prog in cl.exe
12987do
12988  # Extract the first word of "$ac_prog", so it can be a program name with args.
12989set dummy $ac_prog; ac_word=$2
12990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12991$as_echo_n "checking for $ac_word... " >&6; }
12992if ${ac_cv_prog_ac_ct_CC+:} false; then :
12993  $as_echo_n "(cached) " >&6
12994else
12995  if test -n "$ac_ct_CC"; then
12996  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12997else
12998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12999for as_dir in $PATH
13000do
13001  IFS=$as_save_IFS
13002  test -z "$as_dir" && as_dir=.
13003    for ac_exec_ext in '' $ac_executable_extensions; do
13004  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13005    ac_cv_prog_ac_ct_CC="$ac_prog"
13006    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13007    break 2
13008  fi
13009done
13010  done
13011IFS=$as_save_IFS
13012
13013fi
13014fi
13015ac_ct_CC=$ac_cv_prog_ac_ct_CC
13016if test -n "$ac_ct_CC"; then
13017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13018$as_echo "$ac_ct_CC" >&6; }
13019else
13020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13021$as_echo "no" >&6; }
13022fi
13023
13024
13025  test -n "$ac_ct_CC" && break
13026done
13027
13028  if test "x$ac_ct_CC" = x; then
13029    CC=""
13030  else
13031    case $cross_compiling:$ac_tool_warned in
13032yes:)
13033{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13035ac_tool_warned=yes ;;
13036esac
13037    CC=$ac_ct_CC
13038  fi
13039fi
13040
13041fi
13042
13043
13044test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13046as_fn_error $? "no acceptable C compiler found in \$PATH
13047See \`config.log' for more details" "$LINENO" 5; }
13048
13049# Provide some information about the compiler.
13050$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13051set X $ac_compile
13052ac_compiler=$2
13053for ac_option in --version -v -V -qversion; do
13054  { { ac_try="$ac_compiler $ac_option >&5"
13055case "(($ac_try" in
13056  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13057  *) ac_try_echo=$ac_try;;
13058esac
13059eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13060$as_echo "$ac_try_echo"; } >&5
13061  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13062  ac_status=$?
13063  if test -s conftest.err; then
13064    sed '10a\
13065... rest of stderr output deleted ...
13066         10q' conftest.err >conftest.er1
13067    cat conftest.er1 >&5
13068  fi
13069  rm -f conftest.er1 conftest.err
13070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071  test $ac_status = 0; }
13072done
13073
13074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13075$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13076if ${ac_cv_c_compiler_gnu+:} false; then :
13077  $as_echo_n "(cached) " >&6
13078else
13079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080/* end confdefs.h.  */
13081
13082int
13083main ()
13084{
13085#ifndef __GNUC__
13086       choke me
13087#endif
13088
13089  ;
13090  return 0;
13091}
13092_ACEOF
13093if ac_fn_c_try_compile "$LINENO"; then :
13094  ac_compiler_gnu=yes
13095else
13096  ac_compiler_gnu=no
13097fi
13098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13099ac_cv_c_compiler_gnu=$ac_compiler_gnu
13100
13101fi
13102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13103$as_echo "$ac_cv_c_compiler_gnu" >&6; }
13104if test $ac_compiler_gnu = yes; then
13105  GCC=yes
13106else
13107  GCC=
13108fi
13109ac_test_CFLAGS=${CFLAGS+set}
13110ac_save_CFLAGS=$CFLAGS
13111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13112$as_echo_n "checking whether $CC accepts -g... " >&6; }
13113if ${ac_cv_prog_cc_g+:} false; then :
13114  $as_echo_n "(cached) " >&6
13115else
13116  ac_save_c_werror_flag=$ac_c_werror_flag
13117   ac_c_werror_flag=yes
13118   ac_cv_prog_cc_g=no
13119   CFLAGS="-g"
13120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121/* end confdefs.h.  */
13122
13123int
13124main ()
13125{
13126
13127  ;
13128  return 0;
13129}
13130_ACEOF
13131if ac_fn_c_try_compile "$LINENO"; then :
13132  ac_cv_prog_cc_g=yes
13133else
13134  CFLAGS=""
13135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136/* end confdefs.h.  */
13137
13138int
13139main ()
13140{
13141
13142  ;
13143  return 0;
13144}
13145_ACEOF
13146if ac_fn_c_try_compile "$LINENO"; then :
13147
13148else
13149  ac_c_werror_flag=$ac_save_c_werror_flag
13150	 CFLAGS="-g"
13151	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152/* end confdefs.h.  */
13153
13154int
13155main ()
13156{
13157
13158  ;
13159  return 0;
13160}
13161_ACEOF
13162if ac_fn_c_try_compile "$LINENO"; then :
13163  ac_cv_prog_cc_g=yes
13164fi
13165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13166fi
13167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13168fi
13169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13170   ac_c_werror_flag=$ac_save_c_werror_flag
13171fi
13172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13173$as_echo "$ac_cv_prog_cc_g" >&6; }
13174if test "$ac_test_CFLAGS" = set; then
13175  CFLAGS=$ac_save_CFLAGS
13176elif test $ac_cv_prog_cc_g = yes; then
13177  if test "$GCC" = yes; then
13178    CFLAGS="-g -O2"
13179  else
13180    CFLAGS="-g"
13181  fi
13182else
13183  if test "$GCC" = yes; then
13184    CFLAGS="-O2"
13185  else
13186    CFLAGS=
13187  fi
13188fi
13189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13190$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13191if ${ac_cv_prog_cc_c89+:} false; then :
13192  $as_echo_n "(cached) " >&6
13193else
13194  ac_cv_prog_cc_c89=no
13195ac_save_CC=$CC
13196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197/* end confdefs.h.  */
13198#include <stdarg.h>
13199#include <stdio.h>
13200struct stat;
13201/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13202struct buf { int x; };
13203FILE * (*rcsopen) (struct buf *, struct stat *, int);
13204static char *e (p, i)
13205     char **p;
13206     int i;
13207{
13208  return p[i];
13209}
13210static char *f (char * (*g) (char **, int), char **p, ...)
13211{
13212  char *s;
13213  va_list v;
13214  va_start (v,p);
13215  s = g (p, va_arg (v,int));
13216  va_end (v);
13217  return s;
13218}
13219
13220/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13221   function prototypes and stuff, but not '\xHH' hex character constants.
13222   These don't provoke an error unfortunately, instead are silently treated
13223   as 'x'.  The following induces an error, until -std is added to get
13224   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13225   array size at least.  It's necessary to write '\x00'==0 to get something
13226   that's true only with -std.  */
13227int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13228
13229/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13230   inside strings and character constants.  */
13231#define FOO(x) 'x'
13232int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13233
13234int test (int i, double x);
13235struct s1 {int (*f) (int a);};
13236struct s2 {int (*f) (double a);};
13237int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13238int argc;
13239char **argv;
13240int
13241main ()
13242{
13243return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13244  ;
13245  return 0;
13246}
13247_ACEOF
13248for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13249	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13250do
13251  CC="$ac_save_CC $ac_arg"
13252  if ac_fn_c_try_compile "$LINENO"; then :
13253  ac_cv_prog_cc_c89=$ac_arg
13254fi
13255rm -f core conftest.err conftest.$ac_objext
13256  test "x$ac_cv_prog_cc_c89" != "xno" && break
13257done
13258rm -f conftest.$ac_ext
13259CC=$ac_save_CC
13260
13261fi
13262# AC_CACHE_VAL
13263case "x$ac_cv_prog_cc_c89" in
13264  x)
13265    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13266$as_echo "none needed" >&6; } ;;
13267  xno)
13268    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13269$as_echo "unsupported" >&6; } ;;
13270  *)
13271    CC="$CC $ac_cv_prog_cc_c89"
13272    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13273$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13274esac
13275if test "x$ac_cv_prog_cc_c89" != xno; then :
13276
13277fi
13278
13279ac_ext=c
13280ac_cpp='$CPP $CPPFLAGS'
13281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13283ac_compiler_gnu=$ac_cv_c_compiler_gnu
13284
13285ac_ext=c
13286ac_cpp='$CPP $CPPFLAGS'
13287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13289ac_compiler_gnu=$ac_cv_c_compiler_gnu
13290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13291$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13292if ${am_cv_prog_cc_c_o+:} false; then :
13293  $as_echo_n "(cached) " >&6
13294else
13295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296/* end confdefs.h.  */
13297
13298int
13299main ()
13300{
13301
13302  ;
13303  return 0;
13304}
13305_ACEOF
13306  # Make sure it works both with $CC and with simple cc.
13307  # Following AC_PROG_CC_C_O, we do the test twice because some
13308  # compilers refuse to overwrite an existing .o file with -o,
13309  # though they will create one.
13310  am_cv_prog_cc_c_o=yes
13311  for am_i in 1 2; do
13312    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13313   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13314   ac_status=$?
13315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316   (exit $ac_status); } \
13317         && test -f conftest2.$ac_objext; then
13318      : OK
13319    else
13320      am_cv_prog_cc_c_o=no
13321      break
13322    fi
13323  done
13324  rm -f core conftest*
13325  unset am_i
13326fi
13327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13328$as_echo "$am_cv_prog_cc_c_o" >&6; }
13329if test "$am_cv_prog_cc_c_o" != yes; then
13330   # Losing compiler, so override with the script.
13331   # FIXME: It is wrong to rewrite CC.
13332   # But if we don't then we get into trouble of one sort or another.
13333   # A longer-term fix would be to have automake use am__CC in this case,
13334   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13335   CC="$am_aux_dir/compile $CC"
13336fi
13337ac_ext=c
13338ac_cpp='$CPP $CPPFLAGS'
13339ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13340ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13341ac_compiler_gnu=$ac_cv_c_compiler_gnu
13342
13343
13344
13345
13346
13347
13348  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13349$as_echo_n "checking whether NLS is requested... " >&6; }
13350    # Check whether --enable-nls was given.
13351if test "${enable_nls+set}" = set; then :
13352  enableval=$enable_nls; USE_NLS=$enableval
13353else
13354  USE_NLS=yes
13355fi
13356
13357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13358$as_echo "$USE_NLS" >&6; }
13359
13360
13361
13362
13363case "$am__api_version" in
13364    1.01234)
13365	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13366    ;;
13367    *)
13368    ;;
13369esac
13370
13371INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13372INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13373INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13374if test -n ""; then
13375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
13376$as_echo_n "checking for intltool >= ... " >&6; }
13377    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13378$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13379    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13380	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
13381fi
13382
13383# Extract the first word of "intltool-update", so it can be a program name with args.
13384set dummy intltool-update; ac_word=$2
13385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386$as_echo_n "checking for $ac_word... " >&6; }
13387if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13388  $as_echo_n "(cached) " >&6
13389else
13390  case $INTLTOOL_UPDATE in
13391  [\\/]* | ?:[\\/]*)
13392  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13393  ;;
13394  *)
13395  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396for as_dir in $PATH
13397do
13398  IFS=$as_save_IFS
13399  test -z "$as_dir" && as_dir=.
13400    for ac_exec_ext in '' $ac_executable_extensions; do
13401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13402    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13404    break 2
13405  fi
13406done
13407  done
13408IFS=$as_save_IFS
13409
13410  ;;
13411esac
13412fi
13413INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13414if test -n "$INTLTOOL_UPDATE"; then
13415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13416$as_echo "$INTLTOOL_UPDATE" >&6; }
13417else
13418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419$as_echo "no" >&6; }
13420fi
13421
13422
13423# Extract the first word of "intltool-merge", so it can be a program name with args.
13424set dummy intltool-merge; ac_word=$2
13425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13426$as_echo_n "checking for $ac_word... " >&6; }
13427if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13428  $as_echo_n "(cached) " >&6
13429else
13430  case $INTLTOOL_MERGE in
13431  [\\/]* | ?:[\\/]*)
13432  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13433  ;;
13434  *)
13435  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13436for as_dir in $PATH
13437do
13438  IFS=$as_save_IFS
13439  test -z "$as_dir" && as_dir=.
13440    for ac_exec_ext in '' $ac_executable_extensions; do
13441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13442    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13444    break 2
13445  fi
13446done
13447  done
13448IFS=$as_save_IFS
13449
13450  ;;
13451esac
13452fi
13453INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13454if test -n "$INTLTOOL_MERGE"; then
13455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13456$as_echo "$INTLTOOL_MERGE" >&6; }
13457else
13458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13459$as_echo "no" >&6; }
13460fi
13461
13462
13463# Extract the first word of "intltool-extract", so it can be a program name with args.
13464set dummy intltool-extract; ac_word=$2
13465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13466$as_echo_n "checking for $ac_word... " >&6; }
13467if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13468  $as_echo_n "(cached) " >&6
13469else
13470  case $INTLTOOL_EXTRACT in
13471  [\\/]* | ?:[\\/]*)
13472  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13473  ;;
13474  *)
13475  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13476for as_dir in $PATH
13477do
13478  IFS=$as_save_IFS
13479  test -z "$as_dir" && as_dir=.
13480    for ac_exec_ext in '' $ac_executable_extensions; do
13481  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13482    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13484    break 2
13485  fi
13486done
13487  done
13488IFS=$as_save_IFS
13489
13490  ;;
13491esac
13492fi
13493INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13494if test -n "$INTLTOOL_EXTRACT"; then
13495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13496$as_echo "$INTLTOOL_EXTRACT" >&6; }
13497else
13498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499$as_echo "no" >&6; }
13500fi
13501
13502
13503if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13504    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13505fi
13506
13507if test -z "$AM_DEFAULT_VERBOSITY"; then
13508  AM_DEFAULT_VERBOSITY=1
13509fi
13510
13511
13512INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13513INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13514INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13515
13516
13517
13518
13519INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13520intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13521intltool__v_merge_options_0='-q'
13522
13523
13524
13525
13526  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 $< $@'
13527INTLTOOL_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 $< $@'
13528     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 $< $@'
13529     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 $< $@'
13530      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 $< $@'
13531     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 $< $@'
13532   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 $< $@'
13533    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 $< $@'
13534INTLTOOL_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 $< $@'
13535       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 $< $@'
13536      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 $< $@'
13537if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13538      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 $< $@'
13539else
13540      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'
13541fi
13542      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 $< $@'
13543      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 $< $@'
13544    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 $< $@'
13545  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 $< $@'
13546    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 $< $@'
13547    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 $< $@'
13548   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 $< $@'
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
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# Check the gettext tools to make sure they are GNU
13647# Extract the first word of "xgettext", so it can be a program name with args.
13648set dummy xgettext; ac_word=$2
13649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13650$as_echo_n "checking for $ac_word... " >&6; }
13651if ${ac_cv_path_XGETTEXT+:} false; then :
13652  $as_echo_n "(cached) " >&6
13653else
13654  case $XGETTEXT in
13655  [\\/]* | ?:[\\/]*)
13656  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13657  ;;
13658  *)
13659  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13660for as_dir in $PATH
13661do
13662  IFS=$as_save_IFS
13663  test -z "$as_dir" && as_dir=.
13664    for ac_exec_ext in '' $ac_executable_extensions; do
13665  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13666    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13667    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13668    break 2
13669  fi
13670done
13671  done
13672IFS=$as_save_IFS
13673
13674  ;;
13675esac
13676fi
13677XGETTEXT=$ac_cv_path_XGETTEXT
13678if test -n "$XGETTEXT"; then
13679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13680$as_echo "$XGETTEXT" >&6; }
13681else
13682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13683$as_echo "no" >&6; }
13684fi
13685
13686
13687# Extract the first word of "msgmerge", so it can be a program name with args.
13688set dummy msgmerge; ac_word=$2
13689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13690$as_echo_n "checking for $ac_word... " >&6; }
13691if ${ac_cv_path_MSGMERGE+:} false; then :
13692  $as_echo_n "(cached) " >&6
13693else
13694  case $MSGMERGE in
13695  [\\/]* | ?:[\\/]*)
13696  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13697  ;;
13698  *)
13699  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13700for as_dir in $PATH
13701do
13702  IFS=$as_save_IFS
13703  test -z "$as_dir" && as_dir=.
13704    for ac_exec_ext in '' $ac_executable_extensions; do
13705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13706    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13708    break 2
13709  fi
13710done
13711  done
13712IFS=$as_save_IFS
13713
13714  ;;
13715esac
13716fi
13717MSGMERGE=$ac_cv_path_MSGMERGE
13718if test -n "$MSGMERGE"; then
13719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13720$as_echo "$MSGMERGE" >&6; }
13721else
13722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13723$as_echo "no" >&6; }
13724fi
13725
13726
13727# Extract the first word of "msgfmt", so it can be a program name with args.
13728set dummy msgfmt; ac_word=$2
13729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13730$as_echo_n "checking for $ac_word... " >&6; }
13731if ${ac_cv_path_MSGFMT+:} false; then :
13732  $as_echo_n "(cached) " >&6
13733else
13734  case $MSGFMT in
13735  [\\/]* | ?:[\\/]*)
13736  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13737  ;;
13738  *)
13739  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13740for as_dir in $PATH
13741do
13742  IFS=$as_save_IFS
13743  test -z "$as_dir" && as_dir=.
13744    for ac_exec_ext in '' $ac_executable_extensions; do
13745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13746    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13748    break 2
13749  fi
13750done
13751  done
13752IFS=$as_save_IFS
13753
13754  ;;
13755esac
13756fi
13757MSGFMT=$ac_cv_path_MSGFMT
13758if test -n "$MSGFMT"; then
13759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13760$as_echo "$MSGFMT" >&6; }
13761else
13762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763$as_echo "no" >&6; }
13764fi
13765
13766
13767# Extract the first word of "gmsgfmt", so it can be a program name with args.
13768set dummy gmsgfmt; ac_word=$2
13769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13770$as_echo_n "checking for $ac_word... " >&6; }
13771if ${ac_cv_path_GMSGFMT+:} false; then :
13772  $as_echo_n "(cached) " >&6
13773else
13774  case $GMSGFMT in
13775  [\\/]* | ?:[\\/]*)
13776  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13777  ;;
13778  *)
13779  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13780for as_dir in $PATH
13781do
13782  IFS=$as_save_IFS
13783  test -z "$as_dir" && as_dir=.
13784    for ac_exec_ext in '' $ac_executable_extensions; do
13785  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13786    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13788    break 2
13789  fi
13790done
13791  done
13792IFS=$as_save_IFS
13793
13794  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13795  ;;
13796esac
13797fi
13798GMSGFMT=$ac_cv_path_GMSGFMT
13799if test -n "$GMSGFMT"; then
13800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13801$as_echo "$GMSGFMT" >&6; }
13802else
13803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13804$as_echo "no" >&6; }
13805fi
13806
13807
13808if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13809    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13810fi
13811xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13812mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13813mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13814if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13815    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13816fi
13817
13818# Extract the first word of "perl", so it can be a program name with args.
13819set dummy perl; ac_word=$2
13820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13821$as_echo_n "checking for $ac_word... " >&6; }
13822if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13823  $as_echo_n "(cached) " >&6
13824else
13825  case $INTLTOOL_PERL in
13826  [\\/]* | ?:[\\/]*)
13827  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13828  ;;
13829  *)
13830  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13831for as_dir in $PATH
13832do
13833  IFS=$as_save_IFS
13834  test -z "$as_dir" && as_dir=.
13835    for ac_exec_ext in '' $ac_executable_extensions; do
13836  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13837    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13838    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13839    break 2
13840  fi
13841done
13842  done
13843IFS=$as_save_IFS
13844
13845  ;;
13846esac
13847fi
13848INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13849if test -n "$INTLTOOL_PERL"; then
13850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13851$as_echo "$INTLTOOL_PERL" >&6; }
13852else
13853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13854$as_echo "no" >&6; }
13855fi
13856
13857
13858if test -z "$INTLTOOL_PERL"; then
13859   as_fn_error $? "perl not found" "$LINENO" 5
13860fi
13861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13862$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13863$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13864if test $? -ne 0; then
13865   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13866else
13867   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13869$as_echo "$IT_PERL_VERSION" >&6; }
13870fi
13871if test "x" != "xno-xml"; then
13872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13873$as_echo_n "checking for XML::Parser... " >&6; }
13874   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13875       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13876$as_echo "ok" >&6; }
13877   else
13878       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13879   fi
13880fi
13881
13882# Substitute ALL_LINGUAS so we can use it in po/Makefile
13883
13884
13885# Set DATADIRNAME correctly if it is not set yet
13886# (copied from glib-gettext.m4)
13887if test -z "$DATADIRNAME"; then
13888  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889/* end confdefs.h.  */
13890
13891int
13892main ()
13893{
13894extern int _nl_msg_cat_cntr;
13895                       return _nl_msg_cat_cntr
13896  ;
13897  return 0;
13898}
13899_ACEOF
13900if ac_fn_c_try_link "$LINENO"; then :
13901  DATADIRNAME=share
13902else
13903  case $host in
13904    *-*-solaris*)
13905                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13906if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13907  DATADIRNAME=share
13908else
13909  DATADIRNAME=lib
13910fi
13911
13912    ;;
13913    *)
13914    DATADIRNAME=lib
13915    ;;
13916    esac
13917fi
13918rm -f core conftest.err conftest.$ac_objext \
13919    conftest$ac_exeext conftest.$ac_ext
13920fi
13921
13922
13923
13924
13925
13926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13927$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13928set x ${MAKE-make}
13929ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13930if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
13931  $as_echo_n "(cached) " >&6
13932else
13933  cat >conftest.make <<\_ACEOF
13934SHELL = /bin/sh
13935all:
13936	@echo '@@@%%%=$(MAKE)=@@@%%%'
13937_ACEOF
13938# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13939case `${MAKE-make} -f conftest.make 2>/dev/null` in
13940  *@@@%%%=?*=@@@%%%*)
13941    eval ac_cv_prog_make_${ac_make}_set=yes;;
13942  *)
13943    eval ac_cv_prog_make_${ac_make}_set=no;;
13944esac
13945rm -f conftest.make
13946fi
13947if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
13948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13949$as_echo "yes" >&6; }
13950  SET_MAKE=
13951else
13952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13953$as_echo "no" >&6; }
13954  SET_MAKE="MAKE=${MAKE-make}"
13955fi
13956
13957
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13959$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13960if ${ac_cv_c_bigendian+:} false; then :
13961  $as_echo_n "(cached) " >&6
13962else
13963  ac_cv_c_bigendian=unknown
13964    # See if we're dealing with a universal compiler.
13965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966/* end confdefs.h.  */
13967#ifndef __APPLE_CC__
13968	       not a universal capable compiler
13969	     #endif
13970	     typedef int dummy;
13971
13972_ACEOF
13973if ac_fn_c_try_compile "$LINENO"; then :
13974
13975	# Check for potential -arch flags.  It is not universal unless
13976	# there are at least two -arch flags with different values.
13977	ac_arch=
13978	ac_prev=
13979	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13980	 if test -n "$ac_prev"; then
13981	   case $ac_word in
13982	     i?86 | x86_64 | ppc | ppc64)
13983	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13984		 ac_arch=$ac_word
13985	       else
13986		 ac_cv_c_bigendian=universal
13987		 break
13988	       fi
13989	       ;;
13990	   esac
13991	   ac_prev=
13992	 elif test "x$ac_word" = "x-arch"; then
13993	   ac_prev=arch
13994	 fi
13995       done
13996fi
13997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13998    if test $ac_cv_c_bigendian = unknown; then
13999      # See if sys/param.h defines the BYTE_ORDER macro.
14000      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001/* end confdefs.h.  */
14002#include <sys/types.h>
14003	     #include <sys/param.h>
14004
14005int
14006main ()
14007{
14008#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14009		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14010		     && LITTLE_ENDIAN)
14011	      bogus endian macros
14012	     #endif
14013
14014  ;
14015  return 0;
14016}
14017_ACEOF
14018if ac_fn_c_try_compile "$LINENO"; then :
14019  # It does; now see whether it defined to BIG_ENDIAN or not.
14020	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021/* end confdefs.h.  */
14022#include <sys/types.h>
14023		#include <sys/param.h>
14024
14025int
14026main ()
14027{
14028#if BYTE_ORDER != BIG_ENDIAN
14029		 not big endian
14030		#endif
14031
14032  ;
14033  return 0;
14034}
14035_ACEOF
14036if ac_fn_c_try_compile "$LINENO"; then :
14037  ac_cv_c_bigendian=yes
14038else
14039  ac_cv_c_bigendian=no
14040fi
14041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14042fi
14043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14044    fi
14045    if test $ac_cv_c_bigendian = unknown; then
14046      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14047      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048/* end confdefs.h.  */
14049#include <limits.h>
14050
14051int
14052main ()
14053{
14054#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14055	      bogus endian macros
14056	     #endif
14057
14058  ;
14059  return 0;
14060}
14061_ACEOF
14062if ac_fn_c_try_compile "$LINENO"; then :
14063  # It does; now see whether it defined to _BIG_ENDIAN or not.
14064	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065/* end confdefs.h.  */
14066#include <limits.h>
14067
14068int
14069main ()
14070{
14071#ifndef _BIG_ENDIAN
14072		 not big endian
14073		#endif
14074
14075  ;
14076  return 0;
14077}
14078_ACEOF
14079if ac_fn_c_try_compile "$LINENO"; then :
14080  ac_cv_c_bigendian=yes
14081else
14082  ac_cv_c_bigendian=no
14083fi
14084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14085fi
14086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14087    fi
14088    if test $ac_cv_c_bigendian = unknown; then
14089      # Compile a test program.
14090      if test "$cross_compiling" = yes; then :
14091  # Try to guess by grepping values from an object file.
14092	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093/* end confdefs.h.  */
14094short int ascii_mm[] =
14095		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14096		short int ascii_ii[] =
14097		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14098		int use_ascii (int i) {
14099		  return ascii_mm[i] + ascii_ii[i];
14100		}
14101		short int ebcdic_ii[] =
14102		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14103		short int ebcdic_mm[] =
14104		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14105		int use_ebcdic (int i) {
14106		  return ebcdic_mm[i] + ebcdic_ii[i];
14107		}
14108		extern int foo;
14109
14110int
14111main ()
14112{
14113return use_ascii (foo) == use_ebcdic (foo);
14114  ;
14115  return 0;
14116}
14117_ACEOF
14118if ac_fn_c_try_compile "$LINENO"; then :
14119  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14120	      ac_cv_c_bigendian=yes
14121	    fi
14122	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14123	      if test "$ac_cv_c_bigendian" = unknown; then
14124		ac_cv_c_bigendian=no
14125	      else
14126		# finding both strings is unlikely to happen, but who knows?
14127		ac_cv_c_bigendian=unknown
14128	      fi
14129	    fi
14130fi
14131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14132else
14133  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134/* end confdefs.h.  */
14135$ac_includes_default
14136int
14137main ()
14138{
14139
14140	     /* Are we little or big endian?  From Harbison&Steele.  */
14141	     union
14142	     {
14143	       long int l;
14144	       char c[sizeof (long int)];
14145	     } u;
14146	     u.l = 1;
14147	     return u.c[sizeof (long int) - 1] == 1;
14148
14149  ;
14150  return 0;
14151}
14152_ACEOF
14153if ac_fn_c_try_run "$LINENO"; then :
14154  ac_cv_c_bigendian=no
14155else
14156  ac_cv_c_bigendian=yes
14157fi
14158rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14159  conftest.$ac_objext conftest.beam conftest.$ac_ext
14160fi
14161
14162    fi
14163fi
14164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14165$as_echo "$ac_cv_c_bigendian" >&6; }
14166 case $ac_cv_c_bigendian in #(
14167   yes)
14168     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14169;; #(
14170   no)
14171      ;; #(
14172   universal)
14173
14174$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14175
14176     ;; #(
14177   *)
14178     as_fn_error $? "unknown endianness
14179 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14180 esac
14181
14182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14183$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14184if ${ac_cv_c_const+:} false; then :
14185  $as_echo_n "(cached) " >&6
14186else
14187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188/* end confdefs.h.  */
14189
14190int
14191main ()
14192{
14193
14194#ifndef __cplusplus
14195  /* Ultrix mips cc rejects this sort of thing.  */
14196  typedef int charset[2];
14197  const charset cs = { 0, 0 };
14198  /* SunOS 4.1.1 cc rejects this.  */
14199  char const *const *pcpcc;
14200  char **ppc;
14201  /* NEC SVR4.0.2 mips cc rejects this.  */
14202  struct point {int x, y;};
14203  static struct point const zero = {0,0};
14204  /* AIX XL C 1.02.0.0 rejects this.
14205     It does not let you subtract one const X* pointer from another in
14206     an arm of an if-expression whose if-part is not a constant
14207     expression */
14208  const char *g = "string";
14209  pcpcc = &g + (g ? g-g : 0);
14210  /* HPUX 7.0 cc rejects these. */
14211  ++pcpcc;
14212  ppc = (char**) pcpcc;
14213  pcpcc = (char const *const *) ppc;
14214  { /* SCO 3.2v4 cc rejects this sort of thing.  */
14215    char tx;
14216    char *t = &tx;
14217    char const *s = 0 ? (char *) 0 : (char const *) 0;
14218
14219    *t++ = 0;
14220    if (s) return 0;
14221  }
14222  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14223    int x[] = {25, 17};
14224    const int *foo = &x[0];
14225    ++foo;
14226  }
14227  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14228    typedef const int *iptr;
14229    iptr p = 0;
14230    ++p;
14231  }
14232  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14233       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14234    struct s { int j; const int *ap[3]; } bx;
14235    struct s *b = &bx; b->j = 5;
14236  }
14237  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14238    const int foo = 10;
14239    if (!foo) return 0;
14240  }
14241  return !cs[0] && !zero.x;
14242#endif
14243
14244  ;
14245  return 0;
14246}
14247_ACEOF
14248if ac_fn_c_try_compile "$LINENO"; then :
14249  ac_cv_c_const=yes
14250else
14251  ac_cv_c_const=no
14252fi
14253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14254fi
14255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14256$as_echo "$ac_cv_c_const" >&6; }
14257if test $ac_cv_c_const = no; then
14258
14259$as_echo "#define const /**/" >>confdefs.h
14260
14261fi
14262
14263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14264$as_echo_n "checking for inline... " >&6; }
14265if ${ac_cv_c_inline+:} false; then :
14266  $as_echo_n "(cached) " >&6
14267else
14268  ac_cv_c_inline=no
14269for ac_kw in inline __inline__ __inline; do
14270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271/* end confdefs.h.  */
14272#ifndef __cplusplus
14273typedef int foo_t;
14274static $ac_kw foo_t static_foo () {return 0; }
14275$ac_kw foo_t foo () {return 0; }
14276#endif
14277
14278_ACEOF
14279if ac_fn_c_try_compile "$LINENO"; then :
14280  ac_cv_c_inline=$ac_kw
14281fi
14282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14283  test "$ac_cv_c_inline" != no && break
14284done
14285
14286fi
14287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14288$as_echo "$ac_cv_c_inline" >&6; }
14289
14290case $ac_cv_c_inline in
14291  inline | yes) ;;
14292  *)
14293    case $ac_cv_c_inline in
14294      no) ac_val=;;
14295      *) ac_val=$ac_cv_c_inline;;
14296    esac
14297    cat >>confdefs.h <<_ACEOF
14298#ifndef __cplusplus
14299#define inline $ac_val
14300#endif
14301_ACEOF
14302    ;;
14303esac
14304
14305
14306
14307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
14308$as_echo_n "checking for long double with more range or precision than double... " >&6; }
14309if ${ac_cv_type_long_double_wider+:} false; then :
14310  $as_echo_n "(cached) " >&6
14311else
14312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313/* end confdefs.h.  */
14314#include <float.h>
14315	    long double const a[] =
14316	      {
14317		 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
14318		 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
14319	      };
14320	    long double
14321	    f (long double x)
14322	    {
14323	       return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
14324			+ (x ? f (x) : 'c'));
14325	    }
14326
14327int
14328main ()
14329{
14330static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
14331		   + (DBL_MANT_DIG < LDBL_MANT_DIG)
14332		   - (LDBL_MAX_EXP < DBL_MAX_EXP)
14333		   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
14334	    && (int) LDBL_EPSILON == 0
14335	  )];
14336test_array [0] = 0;
14337return test_array [0];
14338
14339  ;
14340  return 0;
14341}
14342_ACEOF
14343if ac_fn_c_try_compile "$LINENO"; then :
14344  ac_cv_type_long_double_wider=yes
14345else
14346  ac_cv_type_long_double_wider=no
14347fi
14348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14349fi
14350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
14351$as_echo "$ac_cv_type_long_double_wider" >&6; }
14352  if test $ac_cv_type_long_double_wider = yes; then
14353
14354$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
14355
14356  fi
14357
14358    ac_cv_c_long_double=$ac_cv_type_long_double_wider
14359    if test $ac_cv_c_long_double = yes; then
14360
14361$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
14362
14363    fi
14364
14365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
14366$as_echo_n "checking for working volatile... " >&6; }
14367if ${ac_cv_c_volatile+:} false; then :
14368  $as_echo_n "(cached) " >&6
14369else
14370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371/* end confdefs.h.  */
14372
14373int
14374main ()
14375{
14376
14377volatile int x;
14378int * volatile y = (int *) 0;
14379return !x && !y;
14380  ;
14381  return 0;
14382}
14383_ACEOF
14384if ac_fn_c_try_compile "$LINENO"; then :
14385  ac_cv_c_volatile=yes
14386else
14387  ac_cv_c_volatile=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_c_volatile" >&5
14392$as_echo "$ac_cv_c_volatile" >&6; }
14393if test $ac_cv_c_volatile = no; then
14394
14395$as_echo "#define volatile /**/" >>confdefs.h
14396
14397fi
14398
14399ac_header_dirent=no
14400for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14401  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14403$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14404if eval \${$as_ac_Header+:} false; then :
14405  $as_echo_n "(cached) " >&6
14406else
14407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408/* end confdefs.h.  */
14409#include <sys/types.h>
14410#include <$ac_hdr>
14411
14412int
14413main ()
14414{
14415if ((DIR *) 0)
14416return 0;
14417  ;
14418  return 0;
14419}
14420_ACEOF
14421if ac_fn_c_try_compile "$LINENO"; then :
14422  eval "$as_ac_Header=yes"
14423else
14424  eval "$as_ac_Header=no"
14425fi
14426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427fi
14428eval ac_res=\$$as_ac_Header
14429	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14430$as_echo "$ac_res" >&6; }
14431if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14432  cat >>confdefs.h <<_ACEOF
14433#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14434_ACEOF
14435
14436ac_header_dirent=$ac_hdr; break
14437fi
14438
14439done
14440# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14441if test $ac_header_dirent = dirent.h; then
14442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14443$as_echo_n "checking for library containing opendir... " >&6; }
14444if ${ac_cv_search_opendir+:} false; then :
14445  $as_echo_n "(cached) " >&6
14446else
14447  ac_func_search_save_LIBS=$LIBS
14448cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449/* end confdefs.h.  */
14450
14451/* Override any GCC internal prototype to avoid an error.
14452   Use char because int might match the return type of a GCC
14453   builtin and then its argument prototype would still apply.  */
14454#ifdef __cplusplus
14455extern "C"
14456#endif
14457char opendir ();
14458int
14459main ()
14460{
14461return opendir ();
14462  ;
14463  return 0;
14464}
14465_ACEOF
14466for ac_lib in '' dir; do
14467  if test -z "$ac_lib"; then
14468    ac_res="none required"
14469  else
14470    ac_res=-l$ac_lib
14471    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14472  fi
14473  if ac_fn_c_try_link "$LINENO"; then :
14474  ac_cv_search_opendir=$ac_res
14475fi
14476rm -f core conftest.err conftest.$ac_objext \
14477    conftest$ac_exeext
14478  if ${ac_cv_search_opendir+:} false; then :
14479  break
14480fi
14481done
14482if ${ac_cv_search_opendir+:} false; then :
14483
14484else
14485  ac_cv_search_opendir=no
14486fi
14487rm conftest.$ac_ext
14488LIBS=$ac_func_search_save_LIBS
14489fi
14490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14491$as_echo "$ac_cv_search_opendir" >&6; }
14492ac_res=$ac_cv_search_opendir
14493if test "$ac_res" != no; then :
14494  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14495
14496fi
14497
14498else
14499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14500$as_echo_n "checking for library containing opendir... " >&6; }
14501if ${ac_cv_search_opendir+:} false; then :
14502  $as_echo_n "(cached) " >&6
14503else
14504  ac_func_search_save_LIBS=$LIBS
14505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506/* end confdefs.h.  */
14507
14508/* Override any GCC internal prototype to avoid an error.
14509   Use char because int might match the return type of a GCC
14510   builtin and then its argument prototype would still apply.  */
14511#ifdef __cplusplus
14512extern "C"
14513#endif
14514char opendir ();
14515int
14516main ()
14517{
14518return opendir ();
14519  ;
14520  return 0;
14521}
14522_ACEOF
14523for ac_lib in '' x; do
14524  if test -z "$ac_lib"; then
14525    ac_res="none required"
14526  else
14527    ac_res=-l$ac_lib
14528    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14529  fi
14530  if ac_fn_c_try_link "$LINENO"; then :
14531  ac_cv_search_opendir=$ac_res
14532fi
14533rm -f core conftest.err conftest.$ac_objext \
14534    conftest$ac_exeext
14535  if ${ac_cv_search_opendir+:} false; then :
14536  break
14537fi
14538done
14539if ${ac_cv_search_opendir+:} false; then :
14540
14541else
14542  ac_cv_search_opendir=no
14543fi
14544rm conftest.$ac_ext
14545LIBS=$ac_func_search_save_LIBS
14546fi
14547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14548$as_echo "$ac_cv_search_opendir" >&6; }
14549ac_res=$ac_cv_search_opendir
14550if test "$ac_res" != no; then :
14551  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14552
14553fi
14554
14555fi
14556
14557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14558$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14559if ${ac_cv_c_const+:} false; then :
14560  $as_echo_n "(cached) " >&6
14561else
14562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563/* end confdefs.h.  */
14564
14565int
14566main ()
14567{
14568
14569#ifndef __cplusplus
14570  /* Ultrix mips cc rejects this sort of thing.  */
14571  typedef int charset[2];
14572  const charset cs = { 0, 0 };
14573  /* SunOS 4.1.1 cc rejects this.  */
14574  char const *const *pcpcc;
14575  char **ppc;
14576  /* NEC SVR4.0.2 mips cc rejects this.  */
14577  struct point {int x, y;};
14578  static struct point const zero = {0,0};
14579  /* AIX XL C 1.02.0.0 rejects this.
14580     It does not let you subtract one const X* pointer from another in
14581     an arm of an if-expression whose if-part is not a constant
14582     expression */
14583  const char *g = "string";
14584  pcpcc = &g + (g ? g-g : 0);
14585  /* HPUX 7.0 cc rejects these. */
14586  ++pcpcc;
14587  ppc = (char**) pcpcc;
14588  pcpcc = (char const *const *) ppc;
14589  { /* SCO 3.2v4 cc rejects this sort of thing.  */
14590    char tx;
14591    char *t = &tx;
14592    char const *s = 0 ? (char *) 0 : (char const *) 0;
14593
14594    *t++ = 0;
14595    if (s) return 0;
14596  }
14597  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14598    int x[] = {25, 17};
14599    const int *foo = &x[0];
14600    ++foo;
14601  }
14602  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14603    typedef const int *iptr;
14604    iptr p = 0;
14605    ++p;
14606  }
14607  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14608       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14609    struct s { int j; const int *ap[3]; } bx;
14610    struct s *b = &bx; b->j = 5;
14611  }
14612  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14613    const int foo = 10;
14614    if (!foo) return 0;
14615  }
14616  return !cs[0] && !zero.x;
14617#endif
14618
14619  ;
14620  return 0;
14621}
14622_ACEOF
14623if ac_fn_c_try_compile "$LINENO"; then :
14624  ac_cv_c_const=yes
14625else
14626  ac_cv_c_const=no
14627fi
14628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14629fi
14630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14631$as_echo "$ac_cv_c_const" >&6; }
14632if test $ac_cv_c_const = no; then
14633
14634$as_echo "#define const /**/" >>confdefs.h
14635
14636fi
14637
14638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14639$as_echo_n "checking for inline... " >&6; }
14640if ${ac_cv_c_inline+:} false; then :
14641  $as_echo_n "(cached) " >&6
14642else
14643  ac_cv_c_inline=no
14644for ac_kw in inline __inline__ __inline; do
14645  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646/* end confdefs.h.  */
14647#ifndef __cplusplus
14648typedef int foo_t;
14649static $ac_kw foo_t static_foo () {return 0; }
14650$ac_kw foo_t foo () {return 0; }
14651#endif
14652
14653_ACEOF
14654if ac_fn_c_try_compile "$LINENO"; then :
14655  ac_cv_c_inline=$ac_kw
14656fi
14657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658  test "$ac_cv_c_inline" != no && break
14659done
14660
14661fi
14662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14663$as_echo "$ac_cv_c_inline" >&6; }
14664
14665case $ac_cv_c_inline in
14666  inline | yes) ;;
14667  *)
14668    case $ac_cv_c_inline in
14669      no) ac_val=;;
14670      *) ac_val=$ac_cv_c_inline;;
14671    esac
14672    cat >>confdefs.h <<_ACEOF
14673#ifndef __cplusplus
14674#define inline $ac_val
14675#endif
14676_ACEOF
14677    ;;
14678esac
14679
14680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14681$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14682if ${ac_cv_header_time+:} false; then :
14683  $as_echo_n "(cached) " >&6
14684else
14685  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686/* end confdefs.h.  */
14687#include <sys/types.h>
14688#include <sys/time.h>
14689#include <time.h>
14690
14691int
14692main ()
14693{
14694if ((struct tm *) 0)
14695return 0;
14696  ;
14697  return 0;
14698}
14699_ACEOF
14700if ac_fn_c_try_compile "$LINENO"; then :
14701  ac_cv_header_time=yes
14702else
14703  ac_cv_header_time=no
14704fi
14705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706fi
14707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14708$as_echo "$ac_cv_header_time" >&6; }
14709if test $ac_cv_header_time = yes; then
14710
14711$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14712
14713fi
14714
14715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14716$as_echo_n "checking return type of signal handlers... " >&6; }
14717if ${ac_cv_type_signal+:} false; then :
14718  $as_echo_n "(cached) " >&6
14719else
14720  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14721/* end confdefs.h.  */
14722#include <sys/types.h>
14723#include <signal.h>
14724
14725int
14726main ()
14727{
14728return *(signal (0, 0)) (0) == 1;
14729  ;
14730  return 0;
14731}
14732_ACEOF
14733if ac_fn_c_try_compile "$LINENO"; then :
14734  ac_cv_type_signal=int
14735else
14736  ac_cv_type_signal=void
14737fi
14738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14739fi
14740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14741$as_echo "$ac_cv_type_signal" >&6; }
14742
14743cat >>confdefs.h <<_ACEOF
14744#define RETSIGTYPE $ac_cv_type_signal
14745_ACEOF
14746
14747
14748
14749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking integer bit order" >&5
14750$as_echo_n "checking integer bit order... " >&6; }
14751case xyes in
14752x$ac_cv_c_bigendian)
14753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: bigendian" >&5
14754$as_echo "bigendian" >&6; }
14755  CFLAGS="$CFLAGS -DTURN"
14756  ;;
14757*)
14758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: littleendian" >&5
14759$as_echo "littleendian" >&6; }
14760  ;;
14761esac
14762# The cast to long int works around a bug in the HP C Compiler
14763# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14764# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14765# This bug is HP SR number 8606223364.
14766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14767$as_echo_n "checking size of short... " >&6; }
14768if ${ac_cv_sizeof_short+:} false; then :
14769  $as_echo_n "(cached) " >&6
14770else
14771  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
14772
14773else
14774  if test "$ac_cv_type_short" = yes; then
14775     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14776$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14777as_fn_error 77 "cannot compute sizeof (short)
14778See \`config.log' for more details" "$LINENO" 5; }
14779   else
14780     ac_cv_sizeof_short=0
14781   fi
14782fi
14783
14784fi
14785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14786$as_echo "$ac_cv_sizeof_short" >&6; }
14787
14788
14789
14790cat >>confdefs.h <<_ACEOF
14791#define SIZEOF_SHORT $ac_cv_sizeof_short
14792_ACEOF
14793
14794
14795# The cast to long int works around a bug in the HP C Compiler
14796# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14797# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14798# This bug is HP SR number 8606223364.
14799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14800$as_echo_n "checking size of int... " >&6; }
14801if ${ac_cv_sizeof_int+:} false; then :
14802  $as_echo_n "(cached) " >&6
14803else
14804  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
14805
14806else
14807  if test "$ac_cv_type_int" = yes; then
14808     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14810as_fn_error 77 "cannot compute sizeof (int)
14811See \`config.log' for more details" "$LINENO" 5; }
14812   else
14813     ac_cv_sizeof_int=0
14814   fi
14815fi
14816
14817fi
14818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14819$as_echo "$ac_cv_sizeof_int" >&6; }
14820
14821
14822
14823cat >>confdefs.h <<_ACEOF
14824#define SIZEOF_INT $ac_cv_sizeof_int
14825_ACEOF
14826
14827
14828# The cast to long int works around a bug in the HP C Compiler
14829# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14830# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14831# This bug is HP SR number 8606223364.
14832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14833$as_echo_n "checking size of long... " >&6; }
14834if ${ac_cv_sizeof_long+:} false; then :
14835  $as_echo_n "(cached) " >&6
14836else
14837  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
14838
14839else
14840  if test "$ac_cv_type_long" = yes; then
14841     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14842$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14843as_fn_error 77 "cannot compute sizeof (long)
14844See \`config.log' for more details" "$LINENO" 5; }
14845   else
14846     ac_cv_sizeof_long=0
14847   fi
14848fi
14849
14850fi
14851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14852$as_echo "$ac_cv_sizeof_long" >&6; }
14853
14854
14855
14856cat >>confdefs.h <<_ACEOF
14857#define SIZEOF_LONG $ac_cv_sizeof_long
14858_ACEOF
14859
14860
14861# The cast to long int works around a bug in the HP C Compiler
14862# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14863# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14864# This bug is HP SR number 8606223364.
14865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
14866$as_echo_n "checking size of long long... " >&6; }
14867if ${ac_cv_sizeof_long_long+:} false; then :
14868  $as_echo_n "(cached) " >&6
14869else
14870  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
14871
14872else
14873  if test "$ac_cv_type_long_long" = yes; then
14874     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14875$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14876as_fn_error 77 "cannot compute sizeof (long long)
14877See \`config.log' for more details" "$LINENO" 5; }
14878   else
14879     ac_cv_sizeof_long_long=0
14880   fi
14881fi
14882
14883fi
14884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
14885$as_echo "$ac_cv_sizeof_long_long" >&6; }
14886
14887
14888
14889cat >>confdefs.h <<_ACEOF
14890#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14891_ACEOF
14892
14893
14894# The cast to long int works around a bug in the HP C Compiler
14895# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14896# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14897# This bug is HP SR number 8606223364.
14898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char *" >&5
14899$as_echo_n "checking size of unsigned char *... " >&6; }
14900if ${ac_cv_sizeof_unsigned_char_p+:} false; then :
14901  $as_echo_n "(cached) " >&6
14902else
14903  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p"        "$ac_includes_default"; then :
14904
14905else
14906  if test "$ac_cv_type_unsigned_char_p" = yes; then
14907     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14908$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14909as_fn_error 77 "cannot compute sizeof (unsigned char *)
14910See \`config.log' for more details" "$LINENO" 5; }
14911   else
14912     ac_cv_sizeof_unsigned_char_p=0
14913   fi
14914fi
14915
14916fi
14917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5
14918$as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; }
14919
14920
14921
14922cat >>confdefs.h <<_ACEOF
14923#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
14924_ACEOF
14925
14926
14927# Check whether --enable-largefile was given.
14928if test "${enable_largefile+set}" = set; then :
14929  enableval=$enable_largefile;
14930fi
14931
14932if test "$enable_largefile" != no; then
14933
14934  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14935$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14936if ${ac_cv_sys_largefile_CC+:} false; then :
14937  $as_echo_n "(cached) " >&6
14938else
14939  ac_cv_sys_largefile_CC=no
14940     if test "$GCC" != yes; then
14941       ac_save_CC=$CC
14942       while :; do
14943	 # IRIX 6.2 and later do not support large files by default,
14944	 # so use the C compiler's -n32 option if that helps.
14945	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946/* end confdefs.h.  */
14947#include <sys/types.h>
14948 /* Check that off_t can represent 2**63 - 1 correctly.
14949    We can't simply define LARGE_OFF_T to be 9223372036854775807,
14950    since some C++ compilers masquerading as C compilers
14951    incorrectly reject 9223372036854775807.  */
14952#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14953  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14954		       && LARGE_OFF_T % 2147483647 == 1)
14955		      ? 1 : -1];
14956int
14957main ()
14958{
14959
14960  ;
14961  return 0;
14962}
14963_ACEOF
14964	 if ac_fn_c_try_compile "$LINENO"; then :
14965  break
14966fi
14967rm -f core conftest.err conftest.$ac_objext
14968	 CC="$CC -n32"
14969	 if ac_fn_c_try_compile "$LINENO"; then :
14970  ac_cv_sys_largefile_CC=' -n32'; break
14971fi
14972rm -f core conftest.err conftest.$ac_objext
14973	 break
14974       done
14975       CC=$ac_save_CC
14976       rm -f conftest.$ac_ext
14977    fi
14978fi
14979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14980$as_echo "$ac_cv_sys_largefile_CC" >&6; }
14981  if test "$ac_cv_sys_largefile_CC" != no; then
14982    CC=$CC$ac_cv_sys_largefile_CC
14983  fi
14984
14985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14986$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14987if ${ac_cv_sys_file_offset_bits+:} false; then :
14988  $as_echo_n "(cached) " >&6
14989else
14990  while :; do
14991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992/* end confdefs.h.  */
14993#include <sys/types.h>
14994 /* Check that off_t can represent 2**63 - 1 correctly.
14995    We can't simply define LARGE_OFF_T to be 9223372036854775807,
14996    since some C++ compilers masquerading as C compilers
14997    incorrectly reject 9223372036854775807.  */
14998#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14999  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15000		       && LARGE_OFF_T % 2147483647 == 1)
15001		      ? 1 : -1];
15002int
15003main ()
15004{
15005
15006  ;
15007  return 0;
15008}
15009_ACEOF
15010if ac_fn_c_try_compile "$LINENO"; then :
15011  ac_cv_sys_file_offset_bits=no; break
15012fi
15013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15014  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015/* end confdefs.h.  */
15016#define _FILE_OFFSET_BITS 64
15017#include <sys/types.h>
15018 /* Check that off_t can represent 2**63 - 1 correctly.
15019    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15020    since some C++ compilers masquerading as C compilers
15021    incorrectly reject 9223372036854775807.  */
15022#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15023  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15024		       && LARGE_OFF_T % 2147483647 == 1)
15025		      ? 1 : -1];
15026int
15027main ()
15028{
15029
15030  ;
15031  return 0;
15032}
15033_ACEOF
15034if ac_fn_c_try_compile "$LINENO"; then :
15035  ac_cv_sys_file_offset_bits=64; break
15036fi
15037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15038  ac_cv_sys_file_offset_bits=unknown
15039  break
15040done
15041fi
15042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15043$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15044case $ac_cv_sys_file_offset_bits in #(
15045  no | unknown) ;;
15046  *)
15047cat >>confdefs.h <<_ACEOF
15048#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15049_ACEOF
15050;;
15051esac
15052rm -rf conftest*
15053  if test $ac_cv_sys_file_offset_bits = unknown; then
15054    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15055$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15056if ${ac_cv_sys_large_files+:} false; then :
15057  $as_echo_n "(cached) " >&6
15058else
15059  while :; do
15060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061/* end confdefs.h.  */
15062#include <sys/types.h>
15063 /* Check that off_t can represent 2**63 - 1 correctly.
15064    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15065    since some C++ compilers masquerading as C compilers
15066    incorrectly reject 9223372036854775807.  */
15067#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15068  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15069		       && LARGE_OFF_T % 2147483647 == 1)
15070		      ? 1 : -1];
15071int
15072main ()
15073{
15074
15075  ;
15076  return 0;
15077}
15078_ACEOF
15079if ac_fn_c_try_compile "$LINENO"; then :
15080  ac_cv_sys_large_files=no; break
15081fi
15082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15083  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084/* end confdefs.h.  */
15085#define _LARGE_FILES 1
15086#include <sys/types.h>
15087 /* Check that off_t can represent 2**63 - 1 correctly.
15088    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15089    since some C++ compilers masquerading as C compilers
15090    incorrectly reject 9223372036854775807.  */
15091#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15092  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15093		       && LARGE_OFF_T % 2147483647 == 1)
15094		      ? 1 : -1];
15095int
15096main ()
15097{
15098
15099  ;
15100  return 0;
15101}
15102_ACEOF
15103if ac_fn_c_try_compile "$LINENO"; then :
15104  ac_cv_sys_large_files=1; break
15105fi
15106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107  ac_cv_sys_large_files=unknown
15108  break
15109done
15110fi
15111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15112$as_echo "$ac_cv_sys_large_files" >&6; }
15113case $ac_cv_sys_large_files in #(
15114  no | unknown) ;;
15115  *)
15116cat >>confdefs.h <<_ACEOF
15117#define _LARGE_FILES $ac_cv_sys_large_files
15118_ACEOF
15119;;
15120esac
15121rm -rf conftest*
15122  fi
15123
15124
15125fi
15126
15127
15128if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
15129    { $as_echo "$as_me:${as_lineno-$LINENO}: result: FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&5
15130$as_echo "FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&6; }
15131    FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits
15132
15133fi
15134# The cast to long int works around a bug in the HP C Compiler
15135# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15136# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15137# This bug is HP SR number 8606223364.
15138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
15139$as_echo_n "checking size of size_t... " >&6; }
15140if ${ac_cv_sizeof_size_t+:} false; then :
15141  $as_echo_n "(cached) " >&6
15142else
15143  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
15144
15145else
15146  if test "$ac_cv_type_size_t" = yes; then
15147     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15148$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15149as_fn_error 77 "cannot compute sizeof (size_t)
15150See \`config.log' for more details" "$LINENO" 5; }
15151   else
15152     ac_cv_sizeof_size_t=0
15153   fi
15154fi
15155
15156fi
15157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
15158$as_echo "$ac_cv_sizeof_size_t" >&6; }
15159
15160
15161
15162cat >>confdefs.h <<_ACEOF
15163#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
15164_ACEOF
15165
15166
15167# The cast to long int works around a bug in the HP C Compiler
15168# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15169# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15170# This bug is HP SR number 8606223364.
15171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
15172$as_echo_n "checking size of off_t... " >&6; }
15173if ${ac_cv_sizeof_off_t+:} false; then :
15174  $as_echo_n "(cached) " >&6
15175else
15176  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
15177
15178else
15179  if test "$ac_cv_type_off_t" = yes; then
15180     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15181$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15182as_fn_error 77 "cannot compute sizeof (off_t)
15183See \`config.log' for more details" "$LINENO" 5; }
15184   else
15185     ac_cv_sizeof_off_t=0
15186   fi
15187fi
15188
15189fi
15190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
15191$as_echo "$ac_cv_sizeof_off_t" >&6; }
15192
15193
15194
15195cat >>confdefs.h <<_ACEOF
15196#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
15197_ACEOF
15198
15199
15200
15201SIZEOF_FILE_POINTER=$ac_cv_sizeof_off_t
15202
15203FILE_POINTER="off_t"
15204if test $ac_cv_sizeof_int = $ac_cv_sizeof_off_t; then
15205    FILE_POINTER="int"
15206fi
15207if test $ac_cv_sizeof_long = $ac_cv_sizeof_off_t; then
15208    FILE_POINTER="long"
15209fi
15210if test $ac_cv_sizeof_long_long = $ac_cv_sizeof_off_t; then
15211    FILE_POINTER="long long"
15212fi
15213
15214
15215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
15216$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
15217if ${ac_cv_header_sys_types_h_makedev+:} false; then :
15218  $as_echo_n "(cached) " >&6
15219else
15220  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221/* end confdefs.h.  */
15222#include <sys/types.h>
15223int
15224main ()
15225{
15226return makedev(0, 0);
15227  ;
15228  return 0;
15229}
15230_ACEOF
15231if ac_fn_c_try_link "$LINENO"; then :
15232  ac_cv_header_sys_types_h_makedev=yes
15233else
15234  ac_cv_header_sys_types_h_makedev=no
15235fi
15236rm -f core conftest.err conftest.$ac_objext \
15237    conftest$ac_exeext conftest.$ac_ext
15238
15239fi
15240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
15241$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
15242
15243if test $ac_cv_header_sys_types_h_makedev = no; then
15244ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
15245if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
15246
15247$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
15248
15249fi
15250
15251
15252
15253  if test $ac_cv_header_sys_mkdev_h = no; then
15254    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
15255if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
15256
15257$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
15258
15259fi
15260
15261
15262  fi
15263fi
15264
15265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15266$as_echo_n "checking for ANSI C header files... " >&6; }
15267if ${ac_cv_header_stdc+:} false; then :
15268  $as_echo_n "(cached) " >&6
15269else
15270  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271/* end confdefs.h.  */
15272#include <stdlib.h>
15273#include <stdarg.h>
15274#include <string.h>
15275#include <float.h>
15276
15277int
15278main ()
15279{
15280
15281  ;
15282  return 0;
15283}
15284_ACEOF
15285if ac_fn_c_try_compile "$LINENO"; then :
15286  ac_cv_header_stdc=yes
15287else
15288  ac_cv_header_stdc=no
15289fi
15290rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291
15292if test $ac_cv_header_stdc = yes; then
15293  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295/* end confdefs.h.  */
15296#include <string.h>
15297
15298_ACEOF
15299if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15300  $EGREP "memchr" >/dev/null 2>&1; then :
15301
15302else
15303  ac_cv_header_stdc=no
15304fi
15305rm -f conftest*
15306
15307fi
15308
15309if test $ac_cv_header_stdc = yes; then
15310  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312/* end confdefs.h.  */
15313#include <stdlib.h>
15314
15315_ACEOF
15316if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15317  $EGREP "free" >/dev/null 2>&1; then :
15318
15319else
15320  ac_cv_header_stdc=no
15321fi
15322rm -f conftest*
15323
15324fi
15325
15326if test $ac_cv_header_stdc = yes; then
15327  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15328  if test "$cross_compiling" = yes; then :
15329  :
15330else
15331  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332/* end confdefs.h.  */
15333#include <ctype.h>
15334#include <stdlib.h>
15335#if ((' ' & 0x0FF) == 0x020)
15336# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15337# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15338#else
15339# define ISLOWER(c) \
15340		   (('a' <= (c) && (c) <= 'i') \
15341		     || ('j' <= (c) && (c) <= 'r') \
15342		     || ('s' <= (c) && (c) <= 'z'))
15343# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15344#endif
15345
15346#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15347int
15348main ()
15349{
15350  int i;
15351  for (i = 0; i < 256; i++)
15352    if (XOR (islower (i), ISLOWER (i))
15353	|| toupper (i) != TOUPPER (i))
15354      return 2;
15355  return 0;
15356}
15357_ACEOF
15358if ac_fn_c_try_run "$LINENO"; then :
15359
15360else
15361  ac_cv_header_stdc=no
15362fi
15363rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15364  conftest.$ac_objext conftest.beam conftest.$ac_ext
15365fi
15366
15367fi
15368fi
15369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15370$as_echo "$ac_cv_header_stdc" >&6; }
15371if test $ac_cv_header_stdc = yes; then
15372
15373$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15374
15375fi
15376
15377
15378for 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
15379do :
15380  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15381ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15382if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15383  cat >>confdefs.h <<_ACEOF
15384#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15385_ACEOF
15386
15387fi
15388
15389done
15390
15391
15392for ac_header in sys/time.h sys/select.h sys/types.h sys/param.h sys/ucred sys/wait.h sys/mman.h
15393do :
15394  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15395ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15396if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15397  cat >>confdefs.h <<_ACEOF
15398#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15399_ACEOF
15400
15401fi
15402
15403done
15404
15405
15406for ac_header in mntent.h
15407do :
15408  ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
15409if test "x$ac_cv_header_mntent_h" = xyes; then :
15410  cat >>confdefs.h <<_ACEOF
15411#define HAVE_MNTENT_H 1
15412_ACEOF
15413
15414fi
15415
15416done
15417
15418
15419for ac_header in fstab.h sys/param.h sys/ucred.h sys/mount.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_func in setenv unsetenv
15434do :
15435  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15436ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15437if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15438  cat >>confdefs.h <<_ACEOF
15439#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15440_ACEOF
15441
15442fi
15443done
15444
15445for ac_func in strlcpy snprintf strlcat lseek snprintf vsnprintf strcasecmp strncasecmp memcpy memmove memset
15446do :
15447  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15448ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15449if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15450  cat >>confdefs.h <<_ACEOF
15451#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15452_ACEOF
15453
15454fi
15455done
15456
15457for ac_func in waitid signal sigaction
15458do :
15459  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15460ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15461if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15462  cat >>confdefs.h <<_ACEOF
15463#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15464_ACEOF
15465
15466fi
15467done
15468
15469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15470$as_echo_n "checking for library containing clock_gettime... " >&6; }
15471if ${ac_cv_search_clock_gettime+:} false; then :
15472  $as_echo_n "(cached) " >&6
15473else
15474  ac_func_search_save_LIBS=$LIBS
15475cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476/* end confdefs.h.  */
15477
15478/* Override any GCC internal prototype to avoid an error.
15479   Use char because int might match the return type of a GCC
15480   builtin and then its argument prototype would still apply.  */
15481#ifdef __cplusplus
15482extern "C"
15483#endif
15484char clock_gettime ();
15485int
15486main ()
15487{
15488return clock_gettime ();
15489  ;
15490  return 0;
15491}
15492_ACEOF
15493for ac_lib in '' rt posix4; do
15494  if test -z "$ac_lib"; then
15495    ac_res="none required"
15496  else
15497    ac_res=-l$ac_lib
15498    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15499  fi
15500  if ac_fn_c_try_link "$LINENO"; then :
15501  ac_cv_search_clock_gettime=$ac_res
15502fi
15503rm -f core conftest.err conftest.$ac_objext \
15504    conftest$ac_exeext
15505  if ${ac_cv_search_clock_gettime+:} false; then :
15506  break
15507fi
15508done
15509if ${ac_cv_search_clock_gettime+:} false; then :
15510
15511else
15512  ac_cv_search_clock_gettime=no
15513fi
15514rm conftest.$ac_ext
15515LIBS=$ac_func_search_save_LIBS
15516fi
15517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15518$as_echo "$ac_cv_search_clock_gettime" >&6; }
15519ac_res=$ac_cv_search_clock_gettime
15520if test "$ac_res" != no; then :
15521  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15522
15523fi
15524
15525for ac_func in clock_gettime localtime localtime_r gettimeofday strftime
15526do :
15527  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15528ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15529if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15530  cat >>confdefs.h <<_ACEOF
15531#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15532_ACEOF
15533
15534fi
15535done
15536
15537for ac_func in getmntinfo getfsent getmntent statfs
15538do :
15539  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15540ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15541if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15542  cat >>confdefs.h <<_ACEOF
15543#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15544_ACEOF
15545
15546fi
15547done
15548
15549for ac_func in signal sigaction
15550do :
15551  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15553if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15554  cat >>confdefs.h <<_ACEOF
15555#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15556_ACEOF
15557
15558fi
15559done
15560
15561for ac_func in fpathconf dirfd
15562do :
15563  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15564ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15565if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15566  cat >>confdefs.h <<_ACEOF
15567#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15568_ACEOF
15569
15570fi
15571done
15572
15573ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
15574"
15575if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
15576
15577cat >>confdefs.h <<_ACEOF
15578#define HAVE_STRUCT_DIRENT_D_TYPE 1
15579_ACEOF
15580
15581
15582fi
15583
15584
15585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
15586$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
15587if ${ac_cv_struct_tm+:} false; then :
15588  $as_echo_n "(cached) " >&6
15589else
15590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591/* end confdefs.h.  */
15592#include <sys/types.h>
15593#include <time.h>
15594
15595int
15596main ()
15597{
15598struct tm tm;
15599				     int *p = &tm.tm_sec;
15600				     return !p;
15601  ;
15602  return 0;
15603}
15604_ACEOF
15605if ac_fn_c_try_compile "$LINENO"; then :
15606  ac_cv_struct_tm=time.h
15607else
15608  ac_cv_struct_tm=sys/time.h
15609fi
15610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15611fi
15612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
15613$as_echo "$ac_cv_struct_tm" >&6; }
15614if test $ac_cv_struct_tm = sys/time.h; then
15615
15616$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
15617
15618fi
15619
15620
15621
15622   for ac_func in localtime_r strftime
15623do :
15624  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15625ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15626if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15627  cat >>confdefs.h <<_ACEOF
15628#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15629_ACEOF
15630
15631fi
15632done
15633
15634
15635 for ac_header in limits.h
15636do :
15637  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15638if test "x$ac_cv_header_limits_h" = xyes; then :
15639  cat >>confdefs.h <<_ACEOF
15640#define HAVE_LIMITS_H 1
15641_ACEOF
15642
15643fi
15644
15645done
15646
15647 for ac_func in bcopy tzset mempcpy memcpy memset
15648do :
15649  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15650ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15651if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15652  cat >>confdefs.h <<_ACEOF
15653#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15654_ACEOF
15655
15656fi
15657done
15658
15659
15660 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
15661 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
15662#include <$ac_cv_struct_tm>
15663
15664"
15665if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
15666
15667cat >>confdefs.h <<_ACEOF
15668#define HAVE_STRUCT_TM_TM_ZONE 1
15669_ACEOF
15670
15671
15672fi
15673
15674if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
15675
15676$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
15677
15678else
15679  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
15680"
15681if test "x$ac_cv_have_decl_tzname" = xyes; then :
15682  ac_have_decl=1
15683else
15684  ac_have_decl=0
15685fi
15686
15687cat >>confdefs.h <<_ACEOF
15688#define HAVE_DECL_TZNAME $ac_have_decl
15689_ACEOF
15690
15691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
15692$as_echo_n "checking for tzname... " >&6; }
15693if ${ac_cv_var_tzname+:} false; then :
15694  $as_echo_n "(cached) " >&6
15695else
15696  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697/* end confdefs.h.  */
15698#include <time.h>
15699#if !HAVE_DECL_TZNAME
15700extern char *tzname[];
15701#endif
15702
15703int
15704main ()
15705{
15706return tzname[0][0];
15707  ;
15708  return 0;
15709}
15710_ACEOF
15711if ac_fn_c_try_link "$LINENO"; then :
15712  ac_cv_var_tzname=yes
15713else
15714  ac_cv_var_tzname=no
15715fi
15716rm -f core conftest.err conftest.$ac_objext \
15717    conftest$ac_exeext conftest.$ac_ext
15718fi
15719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
15720$as_echo "$ac_cv_var_tzname" >&6; }
15721  if test $ac_cv_var_tzname = yes; then
15722
15723$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
15724
15725  fi
15726fi
15727
15728
15729 for ac_func in mblen mbrlen
15730do :
15731  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15732ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15733if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15734  cat >>confdefs.h <<_ACEOF
15735#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15736_ACEOF
15737
15738fi
15739done
15740
15741
15742 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
15743"
15744if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
15745
15746$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
15747
15748fi
15749
15750
15751
15752   for ac_header in sys/time.h
15753do :
15754  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
15755if test "x$ac_cv_header_sys_time_h" = xyes; then :
15756  cat >>confdefs.h <<_ACEOF
15757#define HAVE_SYS_TIME_H 1
15758_ACEOF
15759
15760fi
15761
15762done
15763
15764
15765$as_echo "#define my_strftime nstrftime" >>confdefs.h
15766
15767
15768
15769for ac_header in string.h
15770do :
15771  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15772if test "x$ac_cv_header_string_h" = xyes; then :
15773  cat >>confdefs.h <<_ACEOF
15774#define HAVE_STRING_H 1
15775_ACEOF
15776
15777fi
15778
15779done
15780
15781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working readdir" >&5
15782$as_echo_n "checking for working readdir... " >&6; }
15783if ${jm_cv_func_working_readdir+:} false; then :
15784  $as_echo_n "(cached) " >&6
15785else
15786    # Arrange for deletion of the temporary directory this test creates, in
15787  # case the test itself fails to delete everything -- as happens on Sunos.
15788  ac_clean_files="$ac_clean_files conf-dir"
15789
15790  if test "$cross_compiling" = yes; then :
15791  jm_cv_func_working_readdir=no
15792else
15793  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794/* end confdefs.h.  */
15795#   include <stdio.h>
15796#   include <sys/types.h>
15797#   if HAVE_STRING_H
15798#    include <string.h>
15799#   endif
15800
15801#   ifdef HAVE_DIRENT_H
15802#    include <dirent.h>
15803#    define NLENGTH(direct) (strlen((direct)->d_name))
15804#   else /* not HAVE_DIRENT_H */
15805#    define dirent direct
15806#    define NLENGTH(direct) ((direct)->d_namlen)
15807#    ifdef HAVE_SYS_NDIR_H
15808#     include <sys/ndir.h>
15809#    endif /* HAVE_SYS_NDIR_H */
15810#    ifdef HAVE_SYS_DIR_H
15811#     include <sys/dir.h>
15812#    endif /* HAVE_SYS_DIR_H */
15813#    ifdef HAVE_NDIR_H
15814#     include <ndir.h>
15815#    endif /* HAVE_NDIR_H */
15816#   endif /* HAVE_DIRENT_H */
15817
15818#   define DOT_OR_DOTDOT(Basename) \
15819     (Basename[0] == '.' && (Basename[1] == '\0' \
15820			     || (Basename[1] == '.' && Basename[2] == '\0')))
15821
15822/* Don't try to use replacement mkdir; it wouldn't resolve at link time.  */
15823#   undef mkdir
15824
15825    static void
15826    create_300_file_dir (const char *dir)
15827    {
15828      int i;
15829
15830      if (mkdir (dir, 0700))
15831	abort ();
15832      if (chdir (dir))
15833	abort ();
15834
15835      for (i = 0; i < 300; i++)
15836	{
15837	  char file_name[4];
15838	  FILE *out;
15839
15840	  sprintf (file_name, "%03d", i);
15841	  out = fopen (file_name, "w");
15842	  if (!out)
15843	    abort ();
15844	  if (fclose (out) == EOF)
15845	    abort ();
15846	}
15847
15848      if (chdir (".."))
15849	abort ();
15850    }
15851
15852    static void
15853    remove_dir (const char *dir)
15854    {
15855      DIR *dirp;
15856
15857      if (chdir (dir))
15858	abort ();
15859
15860      dirp = opendir (".");
15861      if (dirp == NULL)
15862	abort ();
15863
15864      while (1)
15865	{
15866	  struct dirent *dp = readdir (dirp);
15867	  if (dp == NULL)
15868	    break;
15869
15870	  if (DOT_OR_DOTDOT (dp->d_name))
15871	    continue;
15872
15873	  if (unlink (dp->d_name))
15874	    abort ();
15875	}
15876      closedir (dirp);
15877
15878      if (chdir (".."))
15879	abort ();
15880
15881      if (rmdir (dir))
15882	exit (1);
15883    }
15884
15885    int
15886    main ()
15887    {
15888      const char *dir = "conf-dir";
15889      create_300_file_dir (dir);
15890      remove_dir (dir);
15891      exit (0);
15892    }
15893_ACEOF
15894if ac_fn_c_try_run "$LINENO"; then :
15895  jm_cv_func_working_readdir=yes
15896else
15897  jm_cv_func_working_readdir=no
15898fi
15899rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15900  conftest.$ac_objext conftest.beam conftest.$ac_ext
15901fi
15902
15903fi
15904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_cv_func_working_readdir" >&5
15905$as_echo "$jm_cv_func_working_readdir" >&6; }
15906
15907  if test $jm_cv_func_working_readdir = yes; then
15908
15909$as_echo "#define HAVE_WORKING_READDIR 1" >>confdefs.h
15910
15911  fi
15912
15913
15914
15915
15916# check for POSIX shared memory
15917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
15918$as_echo_n "checking for shm_open in -lrt... " >&6; }
15919if ${ac_cv_lib_rt_shm_open+:} false; then :
15920  $as_echo_n "(cached) " >&6
15921else
15922  ac_check_lib_save_LIBS=$LIBS
15923LIBS="-lrt  $LIBS"
15924cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15925/* end confdefs.h.  */
15926
15927/* Override any GCC internal prototype to avoid an error.
15928   Use char because int might match the return type of a GCC
15929   builtin and then its argument prototype would still apply.  */
15930#ifdef __cplusplus
15931extern "C"
15932#endif
15933char shm_open ();
15934int
15935main ()
15936{
15937return shm_open ();
15938  ;
15939  return 0;
15940}
15941_ACEOF
15942if ac_fn_c_try_link "$LINENO"; then :
15943  ac_cv_lib_rt_shm_open=yes
15944else
15945  ac_cv_lib_rt_shm_open=no
15946fi
15947rm -f core conftest.err conftest.$ac_objext \
15948    conftest$ac_exeext conftest.$ac_ext
15949LIBS=$ac_check_lib_save_LIBS
15950fi
15951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
15952$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
15953if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
15954  cat >>confdefs.h <<_ACEOF
15955#define HAVE_LIBRT 1
15956_ACEOF
15957
15958  LIBS="-lrt $LIBS"
15959
15960fi
15961
15962# check for POSIX threads
15963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15964$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
15965if ${ac_cv_lib_pthread_pthread_create+:} false; then :
15966  $as_echo_n "(cached) " >&6
15967else
15968  ac_check_lib_save_LIBS=$LIBS
15969LIBS="-lpthread  $LIBS"
15970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971/* end confdefs.h.  */
15972
15973/* Override any GCC internal prototype to avoid an error.
15974   Use char because int might match the return type of a GCC
15975   builtin and then its argument prototype would still apply.  */
15976#ifdef __cplusplus
15977extern "C"
15978#endif
15979char pthread_create ();
15980int
15981main ()
15982{
15983return pthread_create ();
15984  ;
15985  return 0;
15986}
15987_ACEOF
15988if ac_fn_c_try_link "$LINENO"; then :
15989  ac_cv_lib_pthread_pthread_create=yes
15990else
15991  ac_cv_lib_pthread_pthread_create=no
15992fi
15993rm -f core conftest.err conftest.$ac_objext \
15994    conftest$ac_exeext conftest.$ac_ext
15995LIBS=$ac_check_lib_save_LIBS
15996fi
15997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
15998$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
15999if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16000  cat >>confdefs.h <<_ACEOF
16001#define HAVE_LIBPTHREAD 1
16002_ACEOF
16003
16004  LIBS="-lpthread $LIBS"
16005
16006fi
16007
16008# check for POSIX threads GNU_SOURCE
16009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_tryjoin_np in -lpthread" >&5
16010$as_echo_n "checking for pthread_tryjoin_np in -lpthread... " >&6; }
16011if ${ac_cv_lib_pthread_pthread_tryjoin_np+:} false; then :
16012  $as_echo_n "(cached) " >&6
16013else
16014  ac_check_lib_save_LIBS=$LIBS
16015LIBS="-lpthread  $LIBS"
16016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017/* end confdefs.h.  */
16018
16019/* Override any GCC internal prototype to avoid an error.
16020   Use char because int might match the return type of a GCC
16021   builtin and then its argument prototype would still apply.  */
16022#ifdef __cplusplus
16023extern "C"
16024#endif
16025char pthread_tryjoin_np ();
16026int
16027main ()
16028{
16029return pthread_tryjoin_np ();
16030  ;
16031  return 0;
16032}
16033_ACEOF
16034if ac_fn_c_try_link "$LINENO"; then :
16035  ac_cv_lib_pthread_pthread_tryjoin_np=yes
16036else
16037  ac_cv_lib_pthread_pthread_tryjoin_np=no
16038fi
16039rm -f core conftest.err conftest.$ac_objext \
16040    conftest$ac_exeext conftest.$ac_ext
16041LIBS=$ac_check_lib_save_LIBS
16042fi
16043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_tryjoin_np" >&5
16044$as_echo "$ac_cv_lib_pthread_pthread_tryjoin_np" >&6; }
16045if test "x$ac_cv_lib_pthread_pthread_tryjoin_np" = xyes; then :
16046  cat >>confdefs.h <<_ACEOF
16047#define HAVE_LIBPTHREAD 1
16048_ACEOF
16049
16050  LIBS="-lpthread $LIBS"
16051
16052fi
16053
16054if test "$ac_cv_lib_pthread_pthread_tryjoin_np" = yes; then
16055  	{ $as_echo "$as_me:${as_lineno-$LINENO}: You have non portable GNU thread extensions. Good for you." >&5
16056$as_echo "$as_me: You have non portable GNU thread extensions. Good for you." >&6;}
16057
16058
16059cat >>confdefs.h <<_ACEOF
16060#define HAVE_PTHREAD_TRYJOIN $ac_cv_lib_pthread_pthread_tryjoin_np
16061_ACEOF
16062
16063fi
16064
16065# Extract the first word of "pkg-config", so it can be a program name with args.
16066set dummy pkg-config; ac_word=$2
16067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16068$as_echo_n "checking for $ac_word... " >&6; }
16069if ${ac_cv_prog_cv_pkgconfig+:} false; then :
16070  $as_echo_n "(cached) " >&6
16071else
16072  if test -n "$cv_pkgconfig"; then
16073  ac_cv_prog_cv_pkgconfig="$cv_pkgconfig" # Let the user override the test.
16074else
16075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16076for as_dir in $PATH
16077do
16078  IFS=$as_save_IFS
16079  test -z "$as_dir" && as_dir=.
16080    for ac_exec_ext in '' $ac_executable_extensions; do
16081  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16082    ac_cv_prog_cv_pkgconfig="yes"
16083    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16084    break 2
16085  fi
16086done
16087  done
16088IFS=$as_save_IFS
16089
16090  test -z "$ac_cv_prog_cv_pkgconfig" && ac_cv_prog_cv_pkgconfig="no"
16091fi
16092fi
16093cv_pkgconfig=$ac_cv_prog_cv_pkgconfig
16094if test -n "$cv_pkgconfig"; then
16095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_pkgconfig" >&5
16096$as_echo "$cv_pkgconfig" >&6; }
16097else
16098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16099$as_echo "no" >&6; }
16100fi
16101
16102
16103
16104# check for libmagic (from "file" utility)
16105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
16106$as_echo_n "checking for magic_file in -lmagic... " >&6; }
16107if ${ac_cv_lib_magic_magic_file+:} false; then :
16108  $as_echo_n "(cached) " >&6
16109else
16110  ac_check_lib_save_LIBS=$LIBS
16111LIBS="-lmagic  $LIBS"
16112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16113/* end confdefs.h.  */
16114
16115/* Override any GCC internal prototype to avoid an error.
16116   Use char because int might match the return type of a GCC
16117   builtin and then its argument prototype would still apply.  */
16118#ifdef __cplusplus
16119extern "C"
16120#endif
16121char magic_file ();
16122int
16123main ()
16124{
16125return magic_file ();
16126  ;
16127  return 0;
16128}
16129_ACEOF
16130if ac_fn_c_try_link "$LINENO"; then :
16131  ac_cv_lib_magic_magic_file=yes
16132else
16133  ac_cv_lib_magic_magic_file=no
16134fi
16135rm -f core conftest.err conftest.$ac_objext \
16136    conftest$ac_exeext conftest.$ac_ext
16137LIBS=$ac_check_lib_save_LIBS
16138fi
16139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
16140$as_echo "$ac_cv_lib_magic_magic_file" >&6; }
16141if test "x$ac_cv_lib_magic_magic_file" = xyes; then :
16142  cat >>confdefs.h <<_ACEOF
16143#define HAVE_LIBMAGIC 1
16144_ACEOF
16145
16146  LIBS="-lmagic $LIBS"
16147
16148fi
16149
16150if test "yes" = "yes" ; then
16151if test "$ac_cv_lib_magic_magic_file" = "no" ; then
16152    as_fn_error $? "*** Shucks! *** Error: libmagic header files were not found.  Debian rodent-samba 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)
16153    In OpenSUSE/Fedora, the rodent-samba is called \"file-devel\"." "$LINENO" 5
16154fi
16155fi
16156
16157if test $prefix = NONE; then
16158   echo "prefix = $ac_default_prefix"
16159else
16160   echo "prefix = $prefix"
16161   ac_default_prefix=$prefix
16162fi
16163
16164
16165cat >>confdefs.h <<_ACEOF
16166#define PREFIX "$ac_default_prefix"
16167_ACEOF
16168
16169
16170
16171
16172for ac_prog in intltoolize
16173do
16174  # Extract the first word of "$ac_prog", so it can be a program name with args.
16175set dummy $ac_prog; ac_word=$2
16176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16177$as_echo_n "checking for $ac_word... " >&6; }
16178if ${ac_cv_prog_intltoolize+:} false; then :
16179  $as_echo_n "(cached) " >&6
16180else
16181  if test -n "$intltoolize"; then
16182  ac_cv_prog_intltoolize="$intltoolize" # Let the user override the test.
16183else
16184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16185for as_dir in $PATH
16186do
16187  IFS=$as_save_IFS
16188  test -z "$as_dir" && as_dir=.
16189    for ac_exec_ext in '' $ac_executable_extensions; do
16190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16191    ac_cv_prog_intltoolize="$ac_prog"
16192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16193    break 2
16194  fi
16195done
16196  done
16197IFS=$as_save_IFS
16198
16199fi
16200fi
16201intltoolize=$ac_cv_prog_intltoolize
16202if test -n "$intltoolize"; then
16203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intltoolize" >&5
16204$as_echo "$intltoolize" >&6; }
16205else
16206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16207$as_echo "no" >&6; }
16208fi
16209
16210
16211  test -n "$intltoolize" && break
16212done
16213test -n "$intltoolize" || intltoolize="no"
16214
16215if test $intltoolize = "no" ; then
16216    as_fn_error $? "\"intltool utilities not found. Please install intltool to build this rodent-samba from source.\"" "$LINENO" 5;
16217fi
16218for ac_prog in gawk
16219do
16220  # Extract the first word of "$ac_prog", so it can be a program name with args.
16221set dummy $ac_prog; ac_word=$2
16222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16223$as_echo_n "checking for $ac_word... " >&6; }
16224if ${ac_cv_prog_gawk+:} false; then :
16225  $as_echo_n "(cached) " >&6
16226else
16227  if test -n "$gawk"; then
16228  ac_cv_prog_gawk="$gawk" # Let the user override the test.
16229else
16230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16231for as_dir in $PATH
16232do
16233  IFS=$as_save_IFS
16234  test -z "$as_dir" && as_dir=.
16235    for ac_exec_ext in '' $ac_executable_extensions; do
16236  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16237    ac_cv_prog_gawk="$ac_prog"
16238    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16239    break 2
16240  fi
16241done
16242  done
16243IFS=$as_save_IFS
16244
16245fi
16246fi
16247gawk=$ac_cv_prog_gawk
16248if test -n "$gawk"; then
16249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gawk" >&5
16250$as_echo "$gawk" >&6; }
16251else
16252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16253$as_echo "no" >&6; }
16254fi
16255
16256
16257  test -n "$gawk" && break
16258done
16259test -n "$gawk" || gawk="no"
16260
16261if test $gawk = "no" ; then
16262    as_fn_error $? "\"gawk program not found. Please install gawk to build this rodent-samba from source.\"" "$LINENO" 5;
16263fi
16264
16265
16266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux or BSD" >&5
16267$as_echo_n "checking for Linux or BSD... " >&6; }
16268#echo "system: $ac_uname_s"
16269os=`uname -a | grep BSD`
16270if test x"$os" == x ; then
16271    os=`uname -a | grep DragonFly`
16272fi
16273
16274if test x"$os" != x ; then
16275    { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is BSD." >&5
16276$as_echo "System is BSD." >&6; }
16277    rodentman1dir=${prefix}/man/man1
16278    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmake" >&5
16279$as_echo_n "checking for gmake... " >&6; };
16280    result_gmake=`gmake --version`
16281    if test x"${result_gmake}" = x; then
16282        as_fn_error $? "GNU make (gmake) not found! Please install and then rerun configure." "$LINENO" 5
16283    else
16284        echo "$result_gmake"
16285    fi
16286
16287cat >>confdefs.h <<_ACEOF
16288#define THIS_IS_BSD 1
16289_ACEOF
16290
16291# In FreeBSD gettext is in /usr/local
16292    CFLAGS="$CFLAGS -I/usr/local/include"
16293    LDFLAGS="$LDFLAGS  -L/usr/local/lib"
16294else
16295   rodentman1dir=${mandir}/man1
16296   ac_uname_s=`uname -s`
16297   if test "$ac_uname_s" = "Linux" ; then
16298
16299cat >>confdefs.h <<_ACEOF
16300#define THIS_IS_LINUX 1
16301_ACEOF
16302
16303	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: System is Linux." >&5
16304$as_echo "System is Linux." >&6; }
16305   else
16306        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not Linux." >&5
16307$as_echo "Not Linux." >&6; }
16308   fi
16309   CFLAGS="$CFLAGS"
16310   LDFLAGS="$LDFLAGS"
16311fi
16312ac_uname_s=`uname -s`
16313 UNAME_S=$ac_uname_s
16314 if test x"$os" != x ; then
16315  WANT_FREEBSD_TRUE=
16316  WANT_FREEBSD_FALSE='#'
16317else
16318  WANT_FREEBSD_TRUE='#'
16319  WANT_FREEBSD_FALSE=
16320fi
16321
16322
16323
16324
16325 if test "$ac_uname_s" = "Linux"; then
16326  ONLY_LINUX_TRUE=
16327  ONLY_LINUX_FALSE='#'
16328else
16329  ONLY_LINUX_TRUE='#'
16330  ONLY_LINUX_FALSE=
16331fi
16332
16333
16334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Awk" >&5
16335$as_echo_n "checking for GNU Awk... " >&6; }
16336GAWK_VERSION=`gawk --version`
16337INDEX=`expr "$GAWK_VERSION" : "GNU Awk"`
16338#echo "INDEX=$INDEX"
16339if test $INDEX -gt 0 ; then
16340    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU gawk found" >&5
16341$as_echo "GNU gawk found" >&6; }
16342else
16343    as_fn_error $? "GNU gawk not found! Please install and then rerun configure." "$LINENO" 5
16344fi
16345
16346
16347
16348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU grep" >&5
16349$as_echo_n "checking for GNU grep... " >&6; }
16350GAWK_VERSION=`grep --version`
16351INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16352
16353if test $INDEX -gt  0 ; then
16354    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU grep found" >&5
16355$as_echo "GNU grep found" >&6; }
16356    GNU_GREP=1
16357     WITH_GNU_GREP=yes
16358
16359
16360cat >>confdefs.h <<_ACEOF
16361#define GNU_GREP $GNU_GREP
16362_ACEOF
16363
16364else
16365     WITH_GNU_GREP=no
16366    { $as_echo "$as_me:${as_lineno-$LINENO}: result: grep is not GNU. Some features will be define by BSD!" >&5
16367$as_echo "grep is not GNU. Some features will be define by BSD!" >&6; }
16368fi
16369
16370
16371
16372
16373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ls" >&5
16374$as_echo_n "checking for GNU ls... " >&6; }
16375GAWK_VERSION=`ls --version`
16376INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16377
16378#   WITH_GNU_LS subst is for librfm-settings.in, configure script output.
16379#   GNU_LS subst is for .h.in preparations
16380if test $INDEX -gt  0 ; then
16381    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ls found" >&5
16382$as_echo "GNU ls found" >&6; }
16383     WITH_GNU_LS=yes
16384     GNU_LS="#define GNU_LS 1"
16385else
16386     GNU_LS="/*#define GNU_LS */"
16387     WITH_GNU_LS=no
16388    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ls is not GNU. Some features will be define by BSD ls." >&5
16389$as_echo "ls is not GNU. Some features will be define by BSD ls." >&6; }
16390fi
16391
16392
16393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU cp" >&5
16394$as_echo_n "checking for GNU cp... " >&6; }
16395GAWK_VERSION=`cp --version`
16396INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16397
16398if test $INDEX -gt  0 ; then
16399    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU cp found" >&5
16400$as_echo "GNU cp found" >&6; }
16401     WITH_GNU_CP=yes
16402     GNU_CP="#define GNU_CP 1"
16403else
16404     WITH_GNU_CP=no
16405     GNU_CP="/*#define GNU_CP */"
16406    { $as_echo "$as_me:${as_lineno-$LINENO}: result: cp is not GNU. Some features will be define by BSD!" >&5
16407$as_echo "cp is not GNU. Some features will be define by BSD!" >&6; }
16408fi
16409
16410
16411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU mv" >&5
16412$as_echo_n "checking for GNU mv... " >&6; }
16413GAWK_VERSION=`mv --version`
16414INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16415
16416if test $INDEX -gt  0 ; then
16417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU mv found" >&5
16418$as_echo "GNU mv found" >&6; }
16419     WITH_GNU_MV=yes
16420     GNU_MV="#define GNU_MV 1"
16421else
16422     WITH_GNU_MV=no
16423     GNU_MV="/*#define GNU_MV */"
16424    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mv is not GNU. Some features will be define by BSD!" >&5
16425$as_echo "mv is not GNU. Some features will be define by BSD!" >&6; }
16426fi
16427
16428
16429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ln" >&5
16430$as_echo_n "checking for GNU ln... " >&6; }
16431GAWK_VERSION=`ln --version`
16432INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16433
16434if test $INDEX -gt  0 ; then
16435    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ln found" >&5
16436$as_echo "GNU ln found" >&6; }
16437     WITH_GNU_LN=yes
16438     GNU_LN="#define GNU_LN 1"
16439else
16440     WITH_GNU_LN=no
16441     GNU_LN="/*#define GNU_LN */"
16442    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ln is not GNU. Some features will not be enabled!" >&5
16443$as_echo "ln is not GNU. Some features will not be enabled!" >&6; }
16444fi
16445
16446
16447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU rm" >&5
16448$as_echo_n "checking for GNU rm... " >&6; }
16449GAWK_VERSION=`rm --version`
16450INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16451#echo "INDEX=$INDEX"
16452
16453if test $INDEX -gt 0 ; then
16454    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU rm found" >&5
16455$as_echo "GNU rm found" >&6; }
16456     WITH_GNU_RM=yes
16457     GNU_RM="#define GNU_RM 1"
16458else
16459     WITH_GNU_RM=no
16460     GNU_RM="/*#define GNU_RM */"
16461    { $as_echo "$as_me:${as_lineno-$LINENO}: result: rm is not GNU. Some features will not be enabled!" >&5
16462$as_echo "rm is not GNU. Some features will not be enabled!" >&6; }
16463fi
16464
16465
16466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU shred" >&5
16467$as_echo_n "checking for GNU shred... " >&6; }
16468GAWK_VERSION=`shred --version`
16469INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16470#echo "INDEX=$INDEX"
16471
16472if test $INDEX -gt 0 ; then
16473    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU shred found" >&5
16474$as_echo "GNU shred found" >&6; }
16475     WITH_GNU_SHRED=yes
16476     GNU_SHRED="#define GNU_SHRED 1"
16477else
16478     WITH_GNU_SHRED=no
16479     GNU_SHRED="/*#define GNU_SHRED */"
16480    { $as_echo "$as_me:${as_lineno-$LINENO}: result: shred is not GNU. Some features will not be enabled!" >&5
16481$as_echo "shred is not GNU. Some features will not be enabled!" >&6; }
16482fi
16483
16484
16485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Ghostscript" >&5
16486$as_echo_n "checking for GNU Ghostscript... " >&6; }
16487GS_VERSION=`gs --version`
16488if test x"$GS_VERSION" = x; then
16489     WITH_GNU_GS=no
16490    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU Ghostscript not found" >&5
16491$as_echo "GNU Ghostscript not found" >&6; }
16492else
16493     WITH_GNU_GS=yes
16494    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ghostscript found" >&5
16495$as_echo "Ghostscript found" >&6; }
16496fi
16497
16498
16499
16500
16501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking distro" >&5
16502$as_echo_n "checking distro... " >&6; };
16503result=`ls -l /sbin/yast 2>/dev/null | grep yast2`
16504    if test x"${result}" = x; then
16505	{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  not Suse." >&5
16506$as_echo " not Suse." >&6; }
16507	 LIBRSVG_NAME=librsvg2
16508	 DISTRO_X=libSM-devel
16509	 DISTRO_X_VERSION=1.2
16510
16511    else
16512	{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  Suse." >&5
16513$as_echo " Suse." >&6; }
16514	 LIBRSVG_NAME=librsvg
16515	 DISTRO_X=xorg-x11-devel
16516	 DISTRO_X_VERSION=7.6
16517    fi
16518
16519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gentoo emerge" >&5
16520$as_echo_n "checking for gentoo emerge... " >&6; }
16521# Extract the first word of "emerge", so it can be a program name with args.
16522set dummy emerge; ac_word=$2
16523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16524$as_echo_n "checking for $ac_word... " >&6; }
16525if ${ac_cv_prog_cv_emerge+:} false; then :
16526  $as_echo_n "(cached) " >&6
16527else
16528  if test -n "$cv_emerge"; then
16529  ac_cv_prog_cv_emerge="$cv_emerge" # Let the user override the test.
16530else
16531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16532for as_dir in $PATH
16533do
16534  IFS=$as_save_IFS
16535  test -z "$as_dir" && as_dir=.
16536    for ac_exec_ext in '' $ac_executable_extensions; do
16537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16538    ac_cv_prog_cv_emerge="yes"
16539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16540    break 2
16541  fi
16542done
16543  done
16544IFS=$as_save_IFS
16545
16546  test -z "$ac_cv_prog_cv_emerge" && ac_cv_prog_cv_emerge="no"
16547fi
16548fi
16549cv_emerge=$ac_cv_prog_cv_emerge
16550if test -n "$cv_emerge"; then
16551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_emerge" >&5
16552$as_echo "$cv_emerge" >&6; }
16553else
16554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16555$as_echo "no" >&6; }
16556fi
16557
16558
16559 if test "$cv_emerge" != no; then
16560  WANT_GENTOO_TRUE=
16561  WANT_GENTOO_FALSE='#'
16562else
16563  WANT_GENTOO_TRUE='#'
16564  WANT_GENTOO_FALSE=
16565fi
16566
16567
16568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debian dpkg" >&5
16569$as_echo_n "checking for debian dpkg... " >&6; }
16570# Extract the first word of "dpkg", so it can be a program name with args.
16571set dummy dpkg; ac_word=$2
16572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16573$as_echo_n "checking for $ac_word... " >&6; }
16574if ${ac_cv_prog_cv_dpkg+:} false; then :
16575  $as_echo_n "(cached) " >&6
16576else
16577  if test -n "$cv_dpkg"; then
16578  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
16579else
16580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16581for as_dir in $PATH
16582do
16583  IFS=$as_save_IFS
16584  test -z "$as_dir" && as_dir=.
16585    for ac_exec_ext in '' $ac_executable_extensions; do
16586  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16587    ac_cv_prog_cv_dpkg="yes"
16588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16589    break 2
16590  fi
16591done
16592  done
16593IFS=$as_save_IFS
16594
16595  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
16596fi
16597fi
16598cv_dpkg=$ac_cv_prog_cv_dpkg
16599if test -n "$cv_dpkg"; then
16600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
16601$as_echo "$cv_dpkg" >&6; }
16602else
16603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16604$as_echo "no" >&6; }
16605fi
16606
16607
16608 if test "$cv_dpkg" != no; then
16609  WANT_DEBIAN_TRUE=
16610  WANT_DEBIAN_FALSE='#'
16611else
16612  WANT_DEBIAN_TRUE='#'
16613  WANT_DEBIAN_FALSE=
16614fi
16615
16616
16617
16618
16619
16620# Configurable options at script execution
16621# Enable Debug option (implies core dumps)
16622
16623
16624# Check whether --with-debug was given.
16625if test "${with_debug+set}" = set; then :
16626  withval=$with_debug;
16627fi
16628
16629if test "$with_debug" = "yes"
16630then
16631	 WITH_CORE=yes
16632
16633
16634cat >>confdefs.h <<_ACEOF
16635#define CORE $with_core
16636_ACEOF
16637
16638	 WITH_DEBUG=yes
16639
16640
16641cat >>confdefs.h <<_ACEOF
16642#define DEBUG $with_debug
16643_ACEOF
16644
16645	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled debug. Good for you." >&5
16646$as_echo "$as_me: You enabled debug. Good for you." >&6;}
16647	DB=--with-debug
16648	CFLAGS="-O0 -ggdb"
16649elif test "$with_debug" != ""
16650then
16651	 WITH_CORE=yes
16652
16653
16654cat >>confdefs.h <<_ACEOF
16655#define CORE $with_core
16656_ACEOF
16657
16658	 WITH_DEBUG=yes
16659	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of debug is $with_debug" >&5
16660$as_echo "$as_me: Your specific kind of debug is $with_debug" >&6;}
16661
16662
16663cat >>confdefs.h <<_ACEOF
16664#define DEBUG $with_debug
16665_ACEOF
16666
16667	CFLAGS="-O0 -ggdb"
16668
16669else
16670	 WITH_DEBUG=no
16671	{ $as_echo "$as_me:${as_lineno-$LINENO}: No debug for you." >&5
16672$as_echo "$as_me: No debug for you." >&6;}
16673	CFLAGS="-O2"
16674fi
16675
16676
16677# Enable Trace option (use with care)
16678
16679
16680# Check whether --with-trace was given.
16681if test "${with_trace+set}" = set; then :
16682  withval=$with_trace;
16683fi
16684
16685if test "$with_trace" = "yes"
16686then
16687	 WITH_CORE=yes
16688
16689
16690cat >>confdefs.h <<_ACEOF
16691#define CORE $with_core
16692_ACEOF
16693
16694	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled trace. Good for you." >&5
16695$as_echo "$as_me: You enabled trace. Good for you." >&6;}
16696	 WITH_TRACE=yes
16697	DEBUG_TRACE=yes
16698
16699
16700cat >>confdefs.h <<_ACEOF
16701#define DEBUG_TRACE $with_trace
16702_ACEOF
16703
16704	TR=--with-trace
16705elif test "$with_trace" != ""
16706then
16707	 WITH_CORE=yes
16708
16709
16710cat >>confdefs.h <<_ACEOF
16711#define CORE $with_core
16712_ACEOF
16713
16714	 WITH_TRACE=yes
16715	DEBUG_TRACE=yes
16716
16717
16718cat >>confdefs.h <<_ACEOF
16719#define DEBUG_TRACE $with_trace
16720_ACEOF
16721
16722	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of trace is $with_trace" >&5
16723$as_echo "$as_me: Your specific kind of trace is $with_trace" >&6;}
16724else
16725	 WITH_TRACE=no
16726
16727	{ $as_echo "$as_me:${as_lineno-$LINENO}: No trace for you." >&5
16728$as_echo "$as_me: No trace for you." >&6;}
16729fi
16730
16731# Enable core dumps option
16732
16733
16734# Check whether --with-core was given.
16735if test "${with_core+set}" = set; then :
16736  withval=$with_core;
16737fi
16738
16739if test "$with_core" = "yes"
16740then
16741	 WITH_CORE=yes
16742
16743
16744cat >>confdefs.h <<_ACEOF
16745#define CORE $with_core
16746_ACEOF
16747
16748	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled core dumps. Good for you." >&5
16749$as_echo "$as_me: You enabled core dumps. Good for you." >&6;}
16750	CFLAGS="-O0 -ggdb"
16751elif test "$with_core" != ""
16752then
16753	 WITH_CORE=yes
16754	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of core dumps is $with_core" >&5
16755$as_echo "$as_me: Your specific kind of core dumps is $with_core" >&6;}
16756
16757
16758cat >>confdefs.h <<_ACEOF
16759#define CORE $with_core
16760_ACEOF
16761
16762	CFLAGS="-O0 -ggdb"
16763
16764else
16765	 WITH_CORE=no
16766	{ $as_echo "$as_me:${as_lineno-$LINENO}: No core dumps for you." >&5
16767$as_echo "$as_me: No core dumps for you." >&6;}
16768fi
16769
16770
16771
16772
16773    GETTEXT_PACKAGE=rodent-samba
16774
16775cat >>confdefs.h <<_ACEOF
16776#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
16777_ACEOF
16778
16779
16780
16781    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"
16782
16783   for ac_header in locale.h
16784do :
16785  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
16786if test "x$ac_cv_header_locale_h" = xyes; then :
16787  cat >>confdefs.h <<_ACEOF
16788#define HAVE_LOCALE_H 1
16789_ACEOF
16790
16791fi
16792
16793done
16794
16795    if test $ac_cv_header_locale_h = yes; then
16796    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16797$as_echo_n "checking for LC_MESSAGES... " >&6; }
16798if ${am_cv_val_LC_MESSAGES+:} false; then :
16799  $as_echo_n "(cached) " >&6
16800else
16801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16802/* end confdefs.h.  */
16803#include <locale.h>
16804int
16805main ()
16806{
16807return LC_MESSAGES
16808  ;
16809  return 0;
16810}
16811_ACEOF
16812if ac_fn_c_try_link "$LINENO"; then :
16813  am_cv_val_LC_MESSAGES=yes
16814else
16815  am_cv_val_LC_MESSAGES=no
16816fi
16817rm -f core conftest.err conftest.$ac_objext \
16818    conftest$ac_exeext conftest.$ac_ext
16819fi
16820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16821$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16822    if test $am_cv_val_LC_MESSAGES = yes; then
16823
16824$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16825
16826    fi
16827  fi
16828     USE_NLS=yes
16829
16830
16831    gt_cv_have_gettext=no
16832
16833    CATOBJEXT=NONE
16834    XGETTEXT=:
16835    INTLLIBS=
16836
16837    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16838if test "x$ac_cv_header_libintl_h" = xyes; then :
16839  gt_cv_func_dgettext_libintl="no"
16840      libintl_extra_libs=""
16841
16842      #
16843      # First check in libc
16844      #
16845      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
16846$as_echo_n "checking for ngettext in libc... " >&6; }
16847if ${gt_cv_func_ngettext_libc+:} false; then :
16848  $as_echo_n "(cached) " >&6
16849else
16850  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851/* end confdefs.h.  */
16852
16853#include <libintl.h>
16854
16855int
16856main ()
16857{
16858return !ngettext ("","", 1)
16859  ;
16860  return 0;
16861}
16862_ACEOF
16863if ac_fn_c_try_link "$LINENO"; then :
16864  gt_cv_func_ngettext_libc=yes
16865else
16866  gt_cv_func_ngettext_libc=no
16867fi
16868rm -f core conftest.err conftest.$ac_objext \
16869    conftest$ac_exeext conftest.$ac_ext
16870
16871fi
16872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
16873$as_echo "$gt_cv_func_ngettext_libc" >&6; }
16874
16875      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
16876	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
16877$as_echo_n "checking for dgettext in libc... " >&6; }
16878if ${gt_cv_func_dgettext_libc+:} false; then :
16879  $as_echo_n "(cached) " >&6
16880else
16881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882/* end confdefs.h.  */
16883
16884#include <libintl.h>
16885
16886int
16887main ()
16888{
16889return !dgettext ("","")
16890  ;
16891  return 0;
16892}
16893_ACEOF
16894if ac_fn_c_try_link "$LINENO"; then :
16895  gt_cv_func_dgettext_libc=yes
16896else
16897  gt_cv_func_dgettext_libc=no
16898fi
16899rm -f core conftest.err conftest.$ac_objext \
16900    conftest$ac_exeext conftest.$ac_ext
16901
16902fi
16903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
16904$as_echo "$gt_cv_func_dgettext_libc" >&6; }
16905      fi
16906
16907      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
16908        for ac_func in bind_textdomain_codeset
16909do :
16910  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16911if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16912  cat >>confdefs.h <<_ACEOF
16913#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16914_ACEOF
16915
16916fi
16917done
16918
16919      fi
16920
16921      #
16922      # If we don't have everything we want, check in libintl
16923      #
16924      if test "$gt_cv_func_dgettext_libc" != "yes" \
16925	 || test "$gt_cv_func_ngettext_libc" != "yes" \
16926         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
16927
16928        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
16929$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
16930if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
16931  $as_echo_n "(cached) " >&6
16932else
16933  ac_check_lib_save_LIBS=$LIBS
16934LIBS="-lintl  $LIBS"
16935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936/* end confdefs.h.  */
16937
16938/* Override any GCC internal prototype to avoid an error.
16939   Use char because int might match the return type of a GCC
16940   builtin and then its argument prototype would still apply.  */
16941#ifdef __cplusplus
16942extern "C"
16943#endif
16944char bindtextdomain ();
16945int
16946main ()
16947{
16948return bindtextdomain ();
16949  ;
16950  return 0;
16951}
16952_ACEOF
16953if ac_fn_c_try_link "$LINENO"; then :
16954  ac_cv_lib_intl_bindtextdomain=yes
16955else
16956  ac_cv_lib_intl_bindtextdomain=no
16957fi
16958rm -f core conftest.err conftest.$ac_objext \
16959    conftest$ac_exeext conftest.$ac_ext
16960LIBS=$ac_check_lib_save_LIBS
16961fi
16962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
16963$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
16964if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
16965  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
16966$as_echo_n "checking for ngettext in -lintl... " >&6; }
16967if ${ac_cv_lib_intl_ngettext+:} false; then :
16968  $as_echo_n "(cached) " >&6
16969else
16970  ac_check_lib_save_LIBS=$LIBS
16971LIBS="-lintl  $LIBS"
16972cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973/* end confdefs.h.  */
16974
16975/* Override any GCC internal prototype to avoid an error.
16976   Use char because int might match the return type of a GCC
16977   builtin and then its argument prototype would still apply.  */
16978#ifdef __cplusplus
16979extern "C"
16980#endif
16981char ngettext ();
16982int
16983main ()
16984{
16985return ngettext ();
16986  ;
16987  return 0;
16988}
16989_ACEOF
16990if ac_fn_c_try_link "$LINENO"; then :
16991  ac_cv_lib_intl_ngettext=yes
16992else
16993  ac_cv_lib_intl_ngettext=no
16994fi
16995rm -f core conftest.err conftest.$ac_objext \
16996    conftest$ac_exeext conftest.$ac_ext
16997LIBS=$ac_check_lib_save_LIBS
16998fi
16999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17000$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17001if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17002  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
17003$as_echo_n "checking for dgettext in -lintl... " >&6; }
17004if ${ac_cv_lib_intl_dgettext+:} false; then :
17005  $as_echo_n "(cached) " >&6
17006else
17007  ac_check_lib_save_LIBS=$LIBS
17008LIBS="-lintl  $LIBS"
17009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010/* end confdefs.h.  */
17011
17012/* Override any GCC internal prototype to avoid an error.
17013   Use char because int might match the return type of a GCC
17014   builtin and then its argument prototype would still apply.  */
17015#ifdef __cplusplus
17016extern "C"
17017#endif
17018char dgettext ();
17019int
17020main ()
17021{
17022return dgettext ();
17023  ;
17024  return 0;
17025}
17026_ACEOF
17027if ac_fn_c_try_link "$LINENO"; then :
17028  ac_cv_lib_intl_dgettext=yes
17029else
17030  ac_cv_lib_intl_dgettext=no
17031fi
17032rm -f core conftest.err conftest.$ac_objext \
17033    conftest$ac_exeext conftest.$ac_ext
17034LIBS=$ac_check_lib_save_LIBS
17035fi
17036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
17037$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17038if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
17039  gt_cv_func_dgettext_libintl=yes
17040fi
17041
17042fi
17043
17044fi
17045
17046
17047	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
17048	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
17049$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
17050	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17051$as_echo "" >&6; }
17052  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17053$as_echo_n "checking for ngettext in -lintl... " >&6; }
17054if ${ac_cv_lib_intl_ngettext+:} false; then :
17055  $as_echo_n "(cached) " >&6
17056else
17057  ac_check_lib_save_LIBS=$LIBS
17058LIBS="-lintl -liconv $LIBS"
17059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060/* end confdefs.h.  */
17061
17062/* Override any GCC internal prototype to avoid an error.
17063   Use char because int might match the return type of a GCC
17064   builtin and then its argument prototype would still apply.  */
17065#ifdef __cplusplus
17066extern "C"
17067#endif
17068char ngettext ();
17069int
17070main ()
17071{
17072return ngettext ();
17073  ;
17074  return 0;
17075}
17076_ACEOF
17077if ac_fn_c_try_link "$LINENO"; then :
17078  ac_cv_lib_intl_ngettext=yes
17079else
17080  ac_cv_lib_intl_ngettext=no
17081fi
17082rm -f core conftest.err conftest.$ac_objext \
17083    conftest$ac_exeext conftest.$ac_ext
17084LIBS=$ac_check_lib_save_LIBS
17085fi
17086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17087$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17088if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
17090$as_echo_n "checking for dcgettext in -lintl... " >&6; }
17091if ${ac_cv_lib_intl_dcgettext+:} false; then :
17092  $as_echo_n "(cached) " >&6
17093else
17094  ac_check_lib_save_LIBS=$LIBS
17095LIBS="-lintl -liconv $LIBS"
17096cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097/* end confdefs.h.  */
17098
17099/* Override any GCC internal prototype to avoid an error.
17100   Use char because int might match the return type of a GCC
17101   builtin and then its argument prototype would still apply.  */
17102#ifdef __cplusplus
17103extern "C"
17104#endif
17105char dcgettext ();
17106int
17107main ()
17108{
17109return dcgettext ();
17110  ;
17111  return 0;
17112}
17113_ACEOF
17114if ac_fn_c_try_link "$LINENO"; then :
17115  ac_cv_lib_intl_dcgettext=yes
17116else
17117  ac_cv_lib_intl_dcgettext=no
17118fi
17119rm -f core conftest.err conftest.$ac_objext \
17120    conftest$ac_exeext conftest.$ac_ext
17121LIBS=$ac_check_lib_save_LIBS
17122fi
17123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
17124$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17125if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
17126  gt_cv_func_dgettext_libintl=yes
17127			libintl_extra_libs=-liconv
17128else
17129  :
17130fi
17131
17132else
17133  :
17134fi
17135
17136        fi
17137
17138        #
17139        # If we found libintl, then check in it for bind_textdomain_codeset();
17140        # we'll prefer libc if neither have bind_textdomain_codeset(),
17141        # and both have dgettext and ngettext
17142        #
17143        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
17144          glib_save_LIBS="$LIBS"
17145          LIBS="$LIBS -lintl $libintl_extra_libs"
17146          unset ac_cv_func_bind_textdomain_codeset
17147          for ac_func in bind_textdomain_codeset
17148do :
17149  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17150if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17151  cat >>confdefs.h <<_ACEOF
17152#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17153_ACEOF
17154
17155fi
17156done
17157
17158          LIBS="$glib_save_LIBS"
17159
17160          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
17161            gt_cv_func_dgettext_libc=no
17162          else
17163            if test "$gt_cv_func_dgettext_libc" = "yes" \
17164		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
17165              gt_cv_func_dgettext_libintl=no
17166            fi
17167          fi
17168        fi
17169      fi
17170
17171      if test "$gt_cv_func_dgettext_libc" = "yes" \
17172	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
17173        gt_cv_have_gettext=yes
17174      fi
17175
17176      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
17177        INTLLIBS="-lintl $libintl_extra_libs"
17178      fi
17179
17180      if test "$gt_cv_have_gettext" = "yes"; then
17181
17182$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17183
17184	# Extract the first word of "msgfmt", so it can be a program name with args.
17185set dummy msgfmt; ac_word=$2
17186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17187$as_echo_n "checking for $ac_word... " >&6; }
17188if ${ac_cv_path_MSGFMT+:} false; then :
17189  $as_echo_n "(cached) " >&6
17190else
17191  case "$MSGFMT" in
17192  /*)
17193  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17194  ;;
17195  *)
17196  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
17197  for ac_dir in $PATH; do
17198    test -z "$ac_dir" && ac_dir=.
17199    if test -f $ac_dir/$ac_word; then
17200      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
17201	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
17202	break
17203      fi
17204    fi
17205  done
17206  IFS="$ac_save_ifs"
17207  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
17208  ;;
17209esac
17210fi
17211MSGFMT="$ac_cv_path_MSGFMT"
17212if test "$MSGFMT" != "no"; then
17213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17214$as_echo "$MSGFMT" >&6; }
17215else
17216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17217$as_echo "no" >&6; }
17218fi
17219	if test "$MSGFMT" != "no"; then
17220          glib_save_LIBS="$LIBS"
17221          LIBS="$LIBS $INTLLIBS"
17222	  for ac_func in dcgettext
17223do :
17224  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
17225if test "x$ac_cv_func_dcgettext" = xyes; then :
17226  cat >>confdefs.h <<_ACEOF
17227#define HAVE_DCGETTEXT 1
17228_ACEOF
17229
17230fi
17231done
17232
17233	  MSGFMT_OPTS=
17234	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
17235$as_echo_n "checking if msgfmt accepts -c... " >&6; }
17236	  cat >conftest.foo <<_ACEOF
17237
17238msgid ""
17239msgstr ""
17240"Content-Type: text/plain; charset=UTF-8\n"
17241"Project-Id-Version: test 1.0\n"
17242"PO-Revision-Date: 2007-02-15 12:01+0100\n"
17243"Last-Translator: test <foo@bar.xx>\n"
17244"Language-Team: C <LL@li.org>\n"
17245"MIME-Version: 1.0\n"
17246"Content-Transfer-Encoding: 8bit\n"
17247
17248_ACEOF
17249if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
17250  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
17251  ac_status=$?
17252  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17253  test $ac_status = 0; }; then
17254  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17255$as_echo "yes" >&6; }
17256else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17257$as_echo "no" >&6; }
17258echo "$as_me: failed input was:" >&5
17259sed 's/^/| /' conftest.foo >&5
17260fi
17261
17262	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
17263set dummy gmsgfmt; ac_word=$2
17264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17265$as_echo_n "checking for $ac_word... " >&6; }
17266if ${ac_cv_path_GMSGFMT+:} false; then :
17267  $as_echo_n "(cached) " >&6
17268else
17269  case $GMSGFMT in
17270  [\\/]* | ?:[\\/]*)
17271  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17272  ;;
17273  *)
17274  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17275for as_dir in $PATH
17276do
17277  IFS=$as_save_IFS
17278  test -z "$as_dir" && as_dir=.
17279    for ac_exec_ext in '' $ac_executable_extensions; do
17280  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17281    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17283    break 2
17284  fi
17285done
17286  done
17287IFS=$as_save_IFS
17288
17289  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17290  ;;
17291esac
17292fi
17293GMSGFMT=$ac_cv_path_GMSGFMT
17294if test -n "$GMSGFMT"; then
17295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17296$as_echo "$GMSGFMT" >&6; }
17297else
17298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17299$as_echo "no" >&6; }
17300fi
17301
17302
17303	  # Extract the first word of "xgettext", so it can be a program name with args.
17304set dummy xgettext; ac_word=$2
17305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17306$as_echo_n "checking for $ac_word... " >&6; }
17307if ${ac_cv_path_XGETTEXT+:} false; then :
17308  $as_echo_n "(cached) " >&6
17309else
17310  case "$XGETTEXT" in
17311  /*)
17312  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17313  ;;
17314  *)
17315  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
17316  for ac_dir in $PATH; do
17317    test -z "$ac_dir" && ac_dir=.
17318    if test -f $ac_dir/$ac_word; then
17319      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
17320	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
17321	break
17322      fi
17323    fi
17324  done
17325  IFS="$ac_save_ifs"
17326  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17327  ;;
17328esac
17329fi
17330XGETTEXT="$ac_cv_path_XGETTEXT"
17331if test "$XGETTEXT" != ":"; then
17332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17333$as_echo "$XGETTEXT" >&6; }
17334else
17335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17336$as_echo "no" >&6; }
17337fi
17338
17339	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340/* end confdefs.h.  */
17341
17342int
17343main ()
17344{
17345extern int _nl_msg_cat_cntr;
17346			 return _nl_msg_cat_cntr
17347  ;
17348  return 0;
17349}
17350_ACEOF
17351if ac_fn_c_try_link "$LINENO"; then :
17352  CATOBJEXT=.gmo
17353             DATADIRNAME=share
17354else
17355  case $host in
17356	    *-*-solaris*)
17357	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17358if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17359  CATOBJEXT=.gmo
17360               DATADIRNAME=share
17361else
17362  CATOBJEXT=.mo
17363               DATADIRNAME=lib
17364fi
17365
17366	    ;;
17367	    *-*-openbsd*)
17368	    CATOBJEXT=.mo
17369            DATADIRNAME=share
17370	    ;;
17371	    *)
17372	    CATOBJEXT=.mo
17373            DATADIRNAME=lib
17374	    ;;
17375	    esac
17376fi
17377rm -f core conftest.err conftest.$ac_objext \
17378    conftest$ac_exeext conftest.$ac_ext
17379          LIBS="$glib_save_LIBS"
17380	  INSTOBJEXT=.mo
17381	else
17382	  gt_cv_have_gettext=no
17383	fi
17384      fi
17385
17386fi
17387
17388
17389
17390    if test "$gt_cv_have_gettext" = "yes" ; then
17391
17392$as_echo "#define ENABLE_NLS 1" >>confdefs.h
17393
17394    fi
17395
17396        if test "$XGETTEXT" != ":"; then
17397                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
17398        : ;
17399      else
17400        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
17401$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
17402        XGETTEXT=":"
17403      fi
17404    fi
17405
17406    # We need to process the po/ directory.
17407    POSUB=po
17408
17409    ac_config_commands="$ac_config_commands default-1"
17410
17411
17412                for lang in $ALL_LINGUAS; do
17413      GMOFILES="$GMOFILES $lang.gmo"
17414      POFILES="$POFILES $lang.po"
17415    done
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429   if test "$gt_cv_have_gettext" = "yes"; then
17430     if test "x$ALL_LINGUAS" = "x"; then
17431       LINGUAS=
17432     else
17433       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
17434$as_echo_n "checking for catalogs to be installed... " >&6; }
17435       NEW_LINGUAS=
17436       for presentlang in $ALL_LINGUAS; do
17437         useit=no
17438         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
17439           desiredlanguages="$LINGUAS"
17440         else
17441           desiredlanguages="$ALL_LINGUAS"
17442         fi
17443         for desiredlang in $desiredlanguages; do
17444 	   # Use the presentlang catalog if desiredlang is
17445           #   a. equal to presentlang, or
17446           #   b. a variant of presentlang (because in this case,
17447           #      presentlang can be used as a fallback for messages
17448           #      which are not translated in the desiredlang catalog).
17449           case "$desiredlang" in
17450             "$presentlang"*) useit=yes;;
17451           esac
17452         done
17453         if test $useit = yes; then
17454           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
17455         fi
17456       done
17457       LINGUAS=$NEW_LINGUAS
17458       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
17459$as_echo "$LINGUAS" >&6; }
17460     fi
17461
17462          if test -n "$LINGUAS"; then
17463       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
17464     fi
17465   fi
17466
17467            MKINSTALLDIRS=
17468   if test -n "$ac_aux_dir"; then
17469     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
17470   fi
17471   if test -z "$MKINSTALLDIRS"; then
17472     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
17473   fi
17474
17475
17476         test -d po || mkdir po
17477   if test "x$srcdir" != "x."; then
17478     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
17479       posrcprefix="$srcdir/"
17480     else
17481       posrcprefix="../$srcdir/"
17482     fi
17483   else
17484     posrcprefix="../"
17485   fi
17486   rm -f po/POTFILES
17487   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
17488	< $srcdir/po/POTFILES.in > po/POTFILES
17489
17490
17491    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17492if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17493
17494fi
17495
17496
17497    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
17498$as_echo_n "checking for locales directory... " >&6; }
17499
17500# Check whether --with-locales-dir was given.
17501if test "${with_locales_dir+set}" = set; then :
17502  withval=$with_locales_dir; localedir=$withval
17503else
17504
17505    if test x"$CATOBJEXT" = x".mo"; then
17506      localedir=$libdir/locale
17507    else
17508      localedir=$datadir/locale
17509    fi
17510
17511fi
17512
17513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
17514$as_echo "$localedir" >&6; }
17515
17516
17517    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
17518$as_echo_n "checking for additional xgettext flags... " >&6; }
17519  if test x"$XGETTEXT_ARGS" = x""; then
17520    XGETTEXT_ARGS="--keyword=Q_";
17521  else
17522    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
17523  fi
17524
17525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
17526$as_echo "$XGETTEXT_ARGS" >&6; }
17527
17528
17529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/pixmaps" >&5
17530$as_echo_n "checking for /usr/share/pixmaps... " >&6; }
17531if ${ac_cv_file__usr_share_pixmaps+:} false; then :
17532  $as_echo_n "(cached) " >&6
17533else
17534  test "$cross_compiling" = yes &&
17535  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17536if test -r "/usr/share/pixmaps"; then
17537  ac_cv_file__usr_share_pixmaps=yes
17538else
17539  ac_cv_file__usr_share_pixmaps=no
17540fi
17541fi
17542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_pixmaps" >&5
17543$as_echo "$ac_cv_file__usr_share_pixmaps" >&6; }
17544if test "x$ac_cv_file__usr_share_pixmaps" = xyes; then :
17545
17546cat >>confdefs.h <<_ACEOF
17547#define HAVE__USR_SHARE_PIXMAPS 1
17548_ACEOF
17549
17550fi
17551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/pixmaps" >&5
17552$as_echo_n "checking for /usr/local/share/pixmaps... " >&6; }
17553if ${ac_cv_file__usr_local_share_pixmaps+:} false; then :
17554  $as_echo_n "(cached) " >&6
17555else
17556  test "$cross_compiling" = yes &&
17557  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17558if test -r "/usr/local/share/pixmaps"; then
17559  ac_cv_file__usr_local_share_pixmaps=yes
17560else
17561  ac_cv_file__usr_local_share_pixmaps=no
17562fi
17563fi
17564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_pixmaps" >&5
17565$as_echo "$ac_cv_file__usr_local_share_pixmaps" >&6; }
17566if test "x$ac_cv_file__usr_local_share_pixmaps" = xyes; then :
17567
17568cat >>confdefs.h <<_ACEOF
17569#define HAVE__USR_LOCAL_SHARE_PIXMAPS 1
17570_ACEOF
17571
17572fi
17573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/icons" >&5
17574$as_echo_n "checking for /usr/share/icons... " >&6; }
17575if ${ac_cv_file__usr_share_icons+:} false; then :
17576  $as_echo_n "(cached) " >&6
17577else
17578  test "$cross_compiling" = yes &&
17579  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17580if test -r "/usr/share/icons"; then
17581  ac_cv_file__usr_share_icons=yes
17582else
17583  ac_cv_file__usr_share_icons=no
17584fi
17585fi
17586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_icons" >&5
17587$as_echo "$ac_cv_file__usr_share_icons" >&6; }
17588if test "x$ac_cv_file__usr_share_icons" = xyes; then :
17589
17590cat >>confdefs.h <<_ACEOF
17591#define HAVE__USR_SHARE_ICONS 1
17592_ACEOF
17593
17594fi
17595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/icons" >&5
17596$as_echo_n "checking for /usr/local/share/icons... " >&6; }
17597if ${ac_cv_file__usr_local_share_icons+:} false; then :
17598  $as_echo_n "(cached) " >&6
17599else
17600  test "$cross_compiling" = yes &&
17601  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17602if test -r "/usr/local/share/icons"; then
17603  ac_cv_file__usr_local_share_icons=yes
17604else
17605  ac_cv_file__usr_local_share_icons=no
17606fi
17607fi
17608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_icons" >&5
17609$as_echo "$ac_cv_file__usr_local_share_icons" >&6; }
17610if test "x$ac_cv_file__usr_local_share_icons" = xyes; then :
17611
17612cat >>confdefs.h <<_ACEOF
17613#define HAVE__USR_LOCAL_SHARE_ICONS 1
17614_ACEOF
17615
17616fi
17617
17618
17619
17620 for ac_prog in ps
17621do
17622  # Extract the first word of "$ac_prog", so it can be a program name with args.
17623set dummy $ac_prog; ac_word=$2
17624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17625$as_echo_n "checking for $ac_word... " >&6; }
17626if ${ac_cv_prog_ps+:} false; then :
17627  $as_echo_n "(cached) " >&6
17628else
17629  if test -n "$ps"; then
17630  ac_cv_prog_ps="$ps" # Let the user override the test.
17631else
17632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17633for as_dir in $PATH
17634do
17635  IFS=$as_save_IFS
17636  test -z "$as_dir" && as_dir=.
17637    for ac_exec_ext in '' $ac_executable_extensions; do
17638  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17639    ac_cv_prog_ps="$ac_prog"
17640    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17641    break 2
17642  fi
17643done
17644  done
17645IFS=$as_save_IFS
17646
17647fi
17648fi
17649ps=$ac_cv_prog_ps
17650if test -n "$ps"; then
17651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ps" >&5
17652$as_echo "$ps" >&6; }
17653else
17654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17655$as_echo "no" >&6; }
17656fi
17657
17658
17659  test -n "$ps" && break
17660done
17661test -n "$ps" || ps="no"
17662
17663 if test $ps = "no" ; then
17664    as_fn_error $? "Unable to find the ps application" "$LINENO" 5;
17665 else
17666    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ps capabilities" >&5
17667$as_echo_n "checking for ps capabilities... " >&6; }
17668    echo
17669
17670    result=`ps -o rss  2>/dev/null`;
17671
17672    if test x"${result}" = x; then
17673	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o rss option found" >&5
17674$as_echo "no -o rss option found" >&6; }
17675	OPTION_FOUND=no
17676    else
17677
17678$as_echo "#define HAVE_UNIX_O_RSS 1" >>confdefs.h
17679
17680	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o rss option found" >&5
17681$as_echo "-o rss option found" >&6; }
17682	OPTION_FOUND=yes
17683    fi
17684     if test x"_OPTION_FOUND" = x"yes"; then
17685  HAVE_UNIX_O_RSS_TRUE=
17686  HAVE_UNIX_O_RSS_FALSE='#'
17687else
17688  HAVE_UNIX_O_RSS_TRUE='#'
17689  HAVE_UNIX_O_RSS_FALSE=
17690fi
17691
17692
17693    result=`ps -jH  2>/dev/null`;
17694    if test x"${result}" = x; then
17695	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -jH option found" >&5
17696$as_echo "no -jH option found" >&6; }
17697	OPTION_FOUND=no
17698    else
17699
17700$as_echo "#define HAVE_UNIX_JH 1" >>confdefs.h
17701
17702	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -jH option found" >&5
17703$as_echo "-jH option found" >&6; }
17704	OPTION_FOUND=yes
17705    fi
17706     if test x"_OPTION_FOUND" = x"yes"; then
17707  HAVE_UNIX_JH_TRUE=
17708  HAVE_UNIX_JH_FALSE='#'
17709else
17710  HAVE_UNIX_JH_TRUE='#'
17711  HAVE_UNIX_JH_FALSE=
17712fi
17713
17714
17715    result=`ps -ly  2>/dev/null`;
17716    if test x"${result}" = x; then
17717	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ly option found" >&5
17718$as_echo "no -ly option found" >&6; }
17719	OPTION_FOUND=no
17720    else
17721
17722$as_echo "#define HAVE_UNIX_LY 1" >>confdefs.h
17723
17724	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ly option found" >&5
17725$as_echo "-ly option found" >&6; }
17726	OPTION_FOUND=yes
17727    fi
17728     if test x"OPTION_FOUND" = x"yes"; then
17729  HAVE_UNIX_LY_TRUE=
17730  HAVE_UNIX_LY_FALSE='#'
17731else
17732  HAVE_UNIX_LY_TRUE='#'
17733  HAVE_UNIX_LY_FALSE=
17734fi
17735
17736
17737    result=`ps -ef  2>/dev/null`;
17738    if test x"${result}" = x; then
17739	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ef option found" >&5
17740$as_echo "no -ef option found" >&6; }
17741	OPTION_FOUND=no
17742    else
17743
17744$as_echo "#define HAVE_UNIX_EF 1" >>confdefs.h
17745
17746	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ef option found" >&5
17747$as_echo "-ef option found" >&6; }
17748	OPTION_FOUND=yes
17749    fi
17750     if test x"OPTION_FOUND" = x"yes"; then
17751  HAVE_UNIX_EF_TRUE=
17752  HAVE_UNIX_EF_FALSE='#'
17753else
17754  HAVE_UNIX_EF_TRUE='#'
17755  HAVE_UNIX_EF_FALSE=
17756fi
17757
17758
17759    result=`ps -o pcpu 2>/dev/null`;
17760    if test x"${result}" = x; then
17761	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o option found" >&5
17762$as_echo "no -o option found" >&6; }
17763	OPTION_FOUND=no
17764    else
17765
17766$as_echo "#define HAVE_UNIX_O 1" >>confdefs.h
17767
17768	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o option found" >&5
17769$as_echo "-o option found" >&6; }
17770	OPTION_FOUND=yes
17771    fi
17772     if test x"OPTION_FOUND" = x"yes"; then
17773  HAVE_UNIX_O_TRUE=
17774  HAVE_UNIX_O_FALSE='#'
17775else
17776  HAVE_UNIX_O_TRUE='#'
17777  HAVE_UNIX_O_FALSE=
17778fi
17779
17780
17781    result=`ps -w  2>/dev/null`;
17782    if test x"${result}" = x; then
17783	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -w option found" >&5
17784$as_echo "no -w option found" >&6; }
17785	OPTION_FOUND=no
17786    else
17787
17788$as_echo "#define HAVE_UNIX_W 1" >>confdefs.h
17789
17790	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -w option found" >&5
17791$as_echo "-w option found" >&6; }
17792	OPTION_FOUND=yes
17793    fi
17794     if test x"OPTION_FOUND" = x"yes"; then
17795  HAVE_UNIX_W_TRUE=
17796  HAVE_UNIX_W_FALSE='#'
17797else
17798  HAVE_UNIX_W_TRUE='#'
17799  HAVE_UNIX_W_FALSE=
17800fi
17801
17802
17803    result=`ps xf  2>/dev/null`;
17804    if test x"${result}" = x; then
17805	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no xf option found" >&5
17806$as_echo "no xf option found" >&6; }
17807	OPTION_FOUND=no
17808    else
17809
17810$as_echo "#define HAVE_BSD_XF 1" >>confdefs.h
17811
17812	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: xf option found" >&5
17813$as_echo "xf option found" >&6; }
17814	OPTION_FOUND=yes
17815    fi
17816     if test x"OPTION_FOUND" = x"yes"; then
17817  HAVE_BSD_XF_TRUE=
17818  HAVE_BSD_XF_FALSE='#'
17819else
17820  HAVE_BSD_XF_TRUE='#'
17821  HAVE_BSD_XF_FALSE=
17822fi
17823
17824
17825    result=`ps l  2>/dev/null`;
17826    if test x"${result}" = x; then
17827	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no l option found" >&5
17828$as_echo "no l option found" >&6; }
17829	OPTION_FOUND=no
17830    else
17831
17832$as_echo "#define HAVE_BSD_L 1" >>confdefs.h
17833
17834	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: l option found" >&5
17835$as_echo "l option found" >&6; }
17836	OPTION_FOUND=yes
17837    fi
17838     if test x"OPTION_FOUND" = x"yes"; then
17839  HAVE_BSD_L_TRUE=
17840  HAVE_BSD_L_FALSE='#'
17841else
17842  HAVE_BSD_L_TRUE='#'
17843  HAVE_BSD_L_FALSE=
17844fi
17845
17846
17847    result=`ps aux  2>/dev/null`;
17848    if test x"${result}" = x; then
17849	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no aux option found" >&5
17850$as_echo "no aux option found" >&6; }
17851	OPTION_FOUND=no
17852    else
17853
17854$as_echo "#define HAVE_BSD_AUX 1" >>confdefs.h
17855
17856	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: aux option found" >&5
17857$as_echo "aux option found" >&6; }
17858	OPTION_FOUND=yes
17859    fi
17860     if test x"OPTION_FOUND" = x"yes"; then
17861  HAVE_BSD_AUX_TRUE=
17862  HAVE_BSD_AUX_FALSE='#'
17863else
17864  HAVE_BSD_AUX_TRUE='#'
17865  HAVE_BSD_AUX_FALSE=
17866fi
17867
17868
17869    result=`ps o pcpu  2>/dev/null`;
17870    if test x"${result}" = x; then
17871	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no o option found" >&5
17872$as_echo "no o option found" >&6; }
17873	OPTION_FOUND=no
17874    else
17875
17876$as_echo "#define HAVE_BSD_O 1" >>confdefs.h
17877
17878	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: o option found" >&5
17879$as_echo "o option found" >&6; }
17880	OPTION_FOUND=yes
17881    fi
17882     if test x"OPTION_FOUND" = x"yes"; then
17883  HAVE_BSD_O_TRUE=
17884  HAVE_BSD_O_FALSE='#'
17885else
17886  HAVE_BSD_O_TRUE='#'
17887  HAVE_BSD_O_FALSE=
17888fi
17889
17890
17891    result=`ps w  2>/dev/null`;
17892    if test x"${result}" = x; then
17893	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no w option found" >&5
17894$as_echo "no w option found" >&6; }
17895	OPTION_FOUND=no
17896    else
17897
17898$as_echo "#define HAVE_BSD_W 1" >>confdefs.h
17899
17900	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: w option found" >&5
17901$as_echo "w option found" >&6; }
17902	OPTION_FOUND=yes
17903    fi
17904     if test x"OPTION_FOUND" = x"yes"; then
17905  HAVE_BSD_W_TRUE=
17906  HAVE_BSD_W_FALSE='#'
17907else
17908  HAVE_BSD_W_TRUE='#'
17909  HAVE_BSD_W_FALSE=
17910fi
17911
17912
17913 fi
17914
17915
17916
17917# Extract the first word of "dpkg", so it can be a program name with args.
17918set dummy dpkg; ac_word=$2
17919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17920$as_echo_n "checking for $ac_word... " >&6; }
17921if ${ac_cv_prog_cv_dpkg+:} false; then :
17922  $as_echo_n "(cached) " >&6
17923else
17924  if test -n "$cv_dpkg"; then
17925  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
17926else
17927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17928for as_dir in $PATH
17929do
17930  IFS=$as_save_IFS
17931  test -z "$as_dir" && as_dir=.
17932    for ac_exec_ext in '' $ac_executable_extensions; do
17933  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17934    ac_cv_prog_cv_dpkg="yes"
17935    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17936    break 2
17937  fi
17938done
17939  done
17940IFS=$as_save_IFS
17941
17942  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
17943fi
17944fi
17945cv_dpkg=$ac_cv_prog_cv_dpkg
17946if test -n "$cv_dpkg"; then
17947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
17948$as_echo "$cv_dpkg" >&6; }
17949else
17950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17951$as_echo "no" >&6; }
17952fi
17953
17954
17955 if test "$cv_dpkg" = yes; then
17956  WANT_DEBIAN_TRUE=
17957  WANT_DEBIAN_FALSE='#'
17958else
17959  WANT_DEBIAN_TRUE='#'
17960  WANT_DEBIAN_FALSE=
17961fi
17962
17963#debian/changelog
17964
17965 LIBDIR=$libdir;
17966ac_config_files="$ac_config_files rodent-samba.settings Makefile rodent-samba.spec Rodent-samba.desktop.in Rodent-samba.appdata.xml po/Makefile.in Build/Makefile icons/Makefile icons/png/Makefile icons/svg/Makefile"
17967
17968cat >confcache <<\_ACEOF
17969# This file is a shell script that caches the results of configure
17970# tests run on this system so they can be shared between configure
17971# scripts and configure runs, see configure's option --config-cache.
17972# It is not useful on other systems.  If it contains results you don't
17973# want to keep, you may remove or edit it.
17974#
17975# config.status only pays attention to the cache file if you give it
17976# the --recheck option to rerun configure.
17977#
17978# `ac_cv_env_foo' variables (set or unset) will be overridden when
17979# loading this file, other *unset* `ac_cv_foo' will be assigned the
17980# following values.
17981
17982_ACEOF
17983
17984# The following way of writing the cache mishandles newlines in values,
17985# but we know of no workaround that is simple, portable, and efficient.
17986# So, we kill variables containing newlines.
17987# Ultrix sh set writes to stderr and can't be redirected directly,
17988# and sets the high bit in the cache file unless we assign to the vars.
17989(
17990  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17991    eval ac_val=\$$ac_var
17992    case $ac_val in #(
17993    *${as_nl}*)
17994      case $ac_var in #(
17995      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17996$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17997      esac
17998      case $ac_var in #(
17999      _ | IFS | as_nl) ;; #(
18000      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18001      *) { eval $ac_var=; unset $ac_var;} ;;
18002      esac ;;
18003    esac
18004  done
18005
18006  (set) 2>&1 |
18007    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18008    *${as_nl}ac_space=\ *)
18009      # `set' does not quote correctly, so add quotes: double-quote
18010      # substitution turns \\\\ into \\, and sed turns \\ into \.
18011      sed -n \
18012	"s/'/'\\\\''/g;
18013	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18014      ;; #(
18015    *)
18016      # `set' quotes correctly as required by POSIX, so do not add quotes.
18017      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18018      ;;
18019    esac |
18020    sort
18021) |
18022  sed '
18023     /^ac_cv_env_/b end
18024     t clear
18025     :clear
18026     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18027     t end
18028     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18029     :end' >>confcache
18030if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18031  if test -w "$cache_file"; then
18032    if test "x$cache_file" != "x/dev/null"; then
18033      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18034$as_echo "$as_me: updating cache $cache_file" >&6;}
18035      if test ! -f "$cache_file" || test -h "$cache_file"; then
18036	cat confcache >"$cache_file"
18037      else
18038        case $cache_file in #(
18039        */* | ?:*)
18040	  mv -f confcache "$cache_file"$$ &&
18041	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18042        *)
18043	  mv -f confcache "$cache_file" ;;
18044	esac
18045      fi
18046    fi
18047  else
18048    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18049$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18050  fi
18051fi
18052rm -f confcache
18053
18054test "x$prefix" = xNONE && prefix=$ac_default_prefix
18055# Let make expand exec_prefix.
18056test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18057
18058DEFS=-DHAVE_CONFIG_H
18059
18060ac_libobjs=
18061ac_ltlibobjs=
18062U=
18063for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18064  # 1. Remove the extension, and $U if already installed.
18065  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18066  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18067  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18068  #    will be set to the directory where LIBOBJS objects are built.
18069  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18070  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18071done
18072LIBOBJS=$ac_libobjs
18073
18074LTLIBOBJS=$ac_ltlibobjs
18075
18076
18077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18078$as_echo_n "checking that generated files are newer than configure... " >&6; }
18079   if test -n "$am_sleep_pid"; then
18080     # Hide warnings about reused PIDs.
18081     wait $am_sleep_pid 2>/dev/null
18082   fi
18083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18084$as_echo "done" >&6; }
18085if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18086  as_fn_error $? "conditional \"AMDEP\" was never defined.
18087Usually this means the macro was only invoked conditionally." "$LINENO" 5
18088fi
18089if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18090  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18091Usually this means the macro was only invoked conditionally." "$LINENO" 5
18092fi
18093 if test -n "$EXEEXT"; then
18094  am__EXEEXT_TRUE=
18095  am__EXEEXT_FALSE='#'
18096else
18097  am__EXEEXT_TRUE='#'
18098  am__EXEEXT_FALSE=
18099fi
18100
18101if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18102  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18103Usually this means the macro was only invoked conditionally." "$LINENO" 5
18104fi
18105
18106  ac_config_commands="$ac_config_commands po/stamp-it"
18107
18108
18109
18110if test -z "${WANT_FREEBSD_TRUE}" && test -z "${WANT_FREEBSD_FALSE}"; then
18111  as_fn_error $? "conditional \"WANT_FREEBSD\" was never defined.
18112Usually this means the macro was only invoked conditionally." "$LINENO" 5
18113fi
18114if test -z "${ONLY_LINUX_TRUE}" && test -z "${ONLY_LINUX_FALSE}"; then
18115  as_fn_error $? "conditional \"ONLY_LINUX\" was never defined.
18116Usually this means the macro was only invoked conditionally." "$LINENO" 5
18117fi
18118if test -z "${WANT_GENTOO_TRUE}" && test -z "${WANT_GENTOO_FALSE}"; then
18119  as_fn_error $? "conditional \"WANT_GENTOO\" was never defined.
18120Usually this means the macro was only invoked conditionally." "$LINENO" 5
18121fi
18122if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
18123  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
18124Usually this means the macro was only invoked conditionally." "$LINENO" 5
18125fi
18126if test -z "${HAVE_UNIX_O_RSS_TRUE}" && test -z "${HAVE_UNIX_O_RSS_FALSE}"; then
18127  as_fn_error $? "conditional \"HAVE_UNIX_O_RSS\" was never defined.
18128Usually this means the macro was only invoked conditionally." "$LINENO" 5
18129fi
18130if test -z "${HAVE_UNIX_JH_TRUE}" && test -z "${HAVE_UNIX_JH_FALSE}"; then
18131  as_fn_error $? "conditional \"HAVE_UNIX_JH\" was never defined.
18132Usually this means the macro was only invoked conditionally." "$LINENO" 5
18133fi
18134if test -z "${HAVE_UNIX_LY_TRUE}" && test -z "${HAVE_UNIX_LY_FALSE}"; then
18135  as_fn_error $? "conditional \"HAVE_UNIX_LY\" was never defined.
18136Usually this means the macro was only invoked conditionally." "$LINENO" 5
18137fi
18138if test -z "${HAVE_UNIX_EF_TRUE}" && test -z "${HAVE_UNIX_EF_FALSE}"; then
18139  as_fn_error $? "conditional \"HAVE_UNIX_EF\" was never defined.
18140Usually this means the macro was only invoked conditionally." "$LINENO" 5
18141fi
18142if test -z "${HAVE_UNIX_O_TRUE}" && test -z "${HAVE_UNIX_O_FALSE}"; then
18143  as_fn_error $? "conditional \"HAVE_UNIX_O\" was never defined.
18144Usually this means the macro was only invoked conditionally." "$LINENO" 5
18145fi
18146if test -z "${HAVE_UNIX_W_TRUE}" && test -z "${HAVE_UNIX_W_FALSE}"; then
18147  as_fn_error $? "conditional \"HAVE_UNIX_W\" was never defined.
18148Usually this means the macro was only invoked conditionally." "$LINENO" 5
18149fi
18150if test -z "${HAVE_BSD_XF_TRUE}" && test -z "${HAVE_BSD_XF_FALSE}"; then
18151  as_fn_error $? "conditional \"HAVE_BSD_XF\" was never defined.
18152Usually this means the macro was only invoked conditionally." "$LINENO" 5
18153fi
18154if test -z "${HAVE_BSD_L_TRUE}" && test -z "${HAVE_BSD_L_FALSE}"; then
18155  as_fn_error $? "conditional \"HAVE_BSD_L\" was never defined.
18156Usually this means the macro was only invoked conditionally." "$LINENO" 5
18157fi
18158if test -z "${HAVE_BSD_AUX_TRUE}" && test -z "${HAVE_BSD_AUX_FALSE}"; then
18159  as_fn_error $? "conditional \"HAVE_BSD_AUX\" was never defined.
18160Usually this means the macro was only invoked conditionally." "$LINENO" 5
18161fi
18162if test -z "${HAVE_BSD_O_TRUE}" && test -z "${HAVE_BSD_O_FALSE}"; then
18163  as_fn_error $? "conditional \"HAVE_BSD_O\" was never defined.
18164Usually this means the macro was only invoked conditionally." "$LINENO" 5
18165fi
18166if test -z "${HAVE_BSD_W_TRUE}" && test -z "${HAVE_BSD_W_FALSE}"; then
18167  as_fn_error $? "conditional \"HAVE_BSD_W\" was never defined.
18168Usually this means the macro was only invoked conditionally." "$LINENO" 5
18169fi
18170if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
18171  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
18172Usually this means the macro was only invoked conditionally." "$LINENO" 5
18173fi
18174
18175: "${CONFIG_STATUS=./config.status}"
18176ac_write_fail=0
18177ac_clean_files_save=$ac_clean_files
18178ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18179{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18180$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18181as_write_fail=0
18182cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18183#! $SHELL
18184# Generated by $as_me.
18185# Run this file to recreate the current configuration.
18186# Compiler output produced by configure, useful for debugging
18187# configure, is in config.log if it exists.
18188
18189debug=false
18190ac_cs_recheck=false
18191ac_cs_silent=false
18192
18193SHELL=\${CONFIG_SHELL-$SHELL}
18194export SHELL
18195_ASEOF
18196cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18197## -------------------- ##
18198## M4sh Initialization. ##
18199## -------------------- ##
18200
18201# Be more Bourne compatible
18202DUALCASE=1; export DUALCASE # for MKS sh
18203if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18204  emulate sh
18205  NULLCMD=:
18206  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18207  # is contrary to our usage.  Disable this feature.
18208  alias -g '${1+"$@"}'='"$@"'
18209  setopt NO_GLOB_SUBST
18210else
18211  case `(set -o) 2>/dev/null` in #(
18212  *posix*) :
18213    set -o posix ;; #(
18214  *) :
18215     ;;
18216esac
18217fi
18218
18219
18220as_nl='
18221'
18222export as_nl
18223# Printing a long string crashes Solaris 7 /usr/bin/printf.
18224as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18225as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18226as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18227# Prefer a ksh shell builtin over an external printf program on Solaris,
18228# but without wasting forks for bash or zsh.
18229if test -z "$BASH_VERSION$ZSH_VERSION" \
18230    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18231  as_echo='print -r --'
18232  as_echo_n='print -rn --'
18233elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18234  as_echo='printf %s\n'
18235  as_echo_n='printf %s'
18236else
18237  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18238    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18239    as_echo_n='/usr/ucb/echo -n'
18240  else
18241    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18242    as_echo_n_body='eval
18243      arg=$1;
18244      case $arg in #(
18245      *"$as_nl"*)
18246	expr "X$arg" : "X\\(.*\\)$as_nl";
18247	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18248      esac;
18249      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18250    '
18251    export as_echo_n_body
18252    as_echo_n='sh -c $as_echo_n_body as_echo'
18253  fi
18254  export as_echo_body
18255  as_echo='sh -c $as_echo_body as_echo'
18256fi
18257
18258# The user is always right.
18259if test "${PATH_SEPARATOR+set}" != set; then
18260  PATH_SEPARATOR=:
18261  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18262    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18263      PATH_SEPARATOR=';'
18264  }
18265fi
18266
18267
18268# IFS
18269# We need space, tab and new line, in precisely that order.  Quoting is
18270# there to prevent editors from complaining about space-tab.
18271# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18272# splitting by setting IFS to empty value.)
18273IFS=" ""	$as_nl"
18274
18275# Find who we are.  Look in the path if we contain no directory separator.
18276as_myself=
18277case $0 in #((
18278  *[\\/]* ) as_myself=$0 ;;
18279  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18280for as_dir in $PATH
18281do
18282  IFS=$as_save_IFS
18283  test -z "$as_dir" && as_dir=.
18284    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18285  done
18286IFS=$as_save_IFS
18287
18288     ;;
18289esac
18290# We did not find ourselves, most probably we were run as `sh COMMAND'
18291# in which case we are not to be found in the path.
18292if test "x$as_myself" = x; then
18293  as_myself=$0
18294fi
18295if test ! -f "$as_myself"; then
18296  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18297  exit 1
18298fi
18299
18300# Unset variables that we do not need and which cause bugs (e.g. in
18301# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18302# suppresses any "Segmentation fault" message there.  '((' could
18303# trigger a bug in pdksh 5.2.14.
18304for as_var in BASH_ENV ENV MAIL MAILPATH
18305do eval test x\${$as_var+set} = xset \
18306  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18307done
18308PS1='$ '
18309PS2='> '
18310PS4='+ '
18311
18312# NLS nuisances.
18313LC_ALL=C
18314export LC_ALL
18315LANGUAGE=C
18316export LANGUAGE
18317
18318# CDPATH.
18319(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18320
18321
18322# as_fn_error STATUS ERROR [LINENO LOG_FD]
18323# ----------------------------------------
18324# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18325# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18326# script with STATUS, using 1 if that was 0.
18327as_fn_error ()
18328{
18329  as_status=$1; test $as_status -eq 0 && as_status=1
18330  if test "$4"; then
18331    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18332    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18333  fi
18334  $as_echo "$as_me: error: $2" >&2
18335  as_fn_exit $as_status
18336} # as_fn_error
18337
18338
18339# as_fn_set_status STATUS
18340# -----------------------
18341# Set $? to STATUS, without forking.
18342as_fn_set_status ()
18343{
18344  return $1
18345} # as_fn_set_status
18346
18347# as_fn_exit STATUS
18348# -----------------
18349# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18350as_fn_exit ()
18351{
18352  set +e
18353  as_fn_set_status $1
18354  exit $1
18355} # as_fn_exit
18356
18357# as_fn_unset VAR
18358# ---------------
18359# Portably unset VAR.
18360as_fn_unset ()
18361{
18362  { eval $1=; unset $1;}
18363}
18364as_unset=as_fn_unset
18365# as_fn_append VAR VALUE
18366# ----------------------
18367# Append the text in VALUE to the end of the definition contained in VAR. Take
18368# advantage of any shell optimizations that allow amortized linear growth over
18369# repeated appends, instead of the typical quadratic growth present in naive
18370# implementations.
18371if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18372  eval 'as_fn_append ()
18373  {
18374    eval $1+=\$2
18375  }'
18376else
18377  as_fn_append ()
18378  {
18379    eval $1=\$$1\$2
18380  }
18381fi # as_fn_append
18382
18383# as_fn_arith ARG...
18384# ------------------
18385# Perform arithmetic evaluation on the ARGs, and store the result in the
18386# global $as_val. Take advantage of shells that can avoid forks. The arguments
18387# must be portable across $(()) and expr.
18388if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18389  eval 'as_fn_arith ()
18390  {
18391    as_val=$(( $* ))
18392  }'
18393else
18394  as_fn_arith ()
18395  {
18396    as_val=`expr "$@" || test $? -eq 1`
18397  }
18398fi # as_fn_arith
18399
18400
18401if expr a : '\(a\)' >/dev/null 2>&1 &&
18402   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18403  as_expr=expr
18404else
18405  as_expr=false
18406fi
18407
18408if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18409  as_basename=basename
18410else
18411  as_basename=false
18412fi
18413
18414if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18415  as_dirname=dirname
18416else
18417  as_dirname=false
18418fi
18419
18420as_me=`$as_basename -- "$0" ||
18421$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18422	 X"$0" : 'X\(//\)$' \| \
18423	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18424$as_echo X/"$0" |
18425    sed '/^.*\/\([^/][^/]*\)\/*$/{
18426	    s//\1/
18427	    q
18428	  }
18429	  /^X\/\(\/\/\)$/{
18430	    s//\1/
18431	    q
18432	  }
18433	  /^X\/\(\/\).*/{
18434	    s//\1/
18435	    q
18436	  }
18437	  s/.*/./; q'`
18438
18439# Avoid depending upon Character Ranges.
18440as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18441as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18442as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18443as_cr_digits='0123456789'
18444as_cr_alnum=$as_cr_Letters$as_cr_digits
18445
18446ECHO_C= ECHO_N= ECHO_T=
18447case `echo -n x` in #(((((
18448-n*)
18449  case `echo 'xy\c'` in
18450  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18451  xy)  ECHO_C='\c';;
18452  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18453       ECHO_T='	';;
18454  esac;;
18455*)
18456  ECHO_N='-n';;
18457esac
18458
18459rm -f conf$$ conf$$.exe conf$$.file
18460if test -d conf$$.dir; then
18461  rm -f conf$$.dir/conf$$.file
18462else
18463  rm -f conf$$.dir
18464  mkdir conf$$.dir 2>/dev/null
18465fi
18466if (echo >conf$$.file) 2>/dev/null; then
18467  if ln -s conf$$.file conf$$ 2>/dev/null; then
18468    as_ln_s='ln -s'
18469    # ... but there are two gotchas:
18470    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18471    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18472    # In both cases, we have to default to `cp -pR'.
18473    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18474      as_ln_s='cp -pR'
18475  elif ln conf$$.file conf$$ 2>/dev/null; then
18476    as_ln_s=ln
18477  else
18478    as_ln_s='cp -pR'
18479  fi
18480else
18481  as_ln_s='cp -pR'
18482fi
18483rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18484rmdir conf$$.dir 2>/dev/null
18485
18486
18487# as_fn_mkdir_p
18488# -------------
18489# Create "$as_dir" as a directory, including parents if necessary.
18490as_fn_mkdir_p ()
18491{
18492
18493  case $as_dir in #(
18494  -*) as_dir=./$as_dir;;
18495  esac
18496  test -d "$as_dir" || eval $as_mkdir_p || {
18497    as_dirs=
18498    while :; do
18499      case $as_dir in #(
18500      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18501      *) as_qdir=$as_dir;;
18502      esac
18503      as_dirs="'$as_qdir' $as_dirs"
18504      as_dir=`$as_dirname -- "$as_dir" ||
18505$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18506	 X"$as_dir" : 'X\(//\)[^/]' \| \
18507	 X"$as_dir" : 'X\(//\)$' \| \
18508	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18509$as_echo X"$as_dir" |
18510    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18511	    s//\1/
18512	    q
18513	  }
18514	  /^X\(\/\/\)[^/].*/{
18515	    s//\1/
18516	    q
18517	  }
18518	  /^X\(\/\/\)$/{
18519	    s//\1/
18520	    q
18521	  }
18522	  /^X\(\/\).*/{
18523	    s//\1/
18524	    q
18525	  }
18526	  s/.*/./; q'`
18527      test -d "$as_dir" && break
18528    done
18529    test -z "$as_dirs" || eval "mkdir $as_dirs"
18530  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18531
18532
18533} # as_fn_mkdir_p
18534if mkdir -p . 2>/dev/null; then
18535  as_mkdir_p='mkdir -p "$as_dir"'
18536else
18537  test -d ./-p && rmdir ./-p
18538  as_mkdir_p=false
18539fi
18540
18541
18542# as_fn_executable_p FILE
18543# -----------------------
18544# Test if FILE is an executable regular file.
18545as_fn_executable_p ()
18546{
18547  test -f "$1" && test -x "$1"
18548} # as_fn_executable_p
18549as_test_x='test -x'
18550as_executable_p=as_fn_executable_p
18551
18552# Sed expression to map a string onto a valid CPP name.
18553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18554
18555# Sed expression to map a string onto a valid variable name.
18556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18557
18558
18559exec 6>&1
18560## ----------------------------------- ##
18561## Main body of $CONFIG_STATUS script. ##
18562## ----------------------------------- ##
18563_ASEOF
18564test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18565
18566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18567# Save the log message, to keep $0 and so on meaningful, and to
18568# report actual input values of CONFIG_FILES etc. instead of their
18569# values after options handling.
18570ac_log="
18571This file was extended by rodent-samba $as_me 5.3.16.3, which was
18572generated by GNU Autoconf 2.69.  Invocation command line was
18573
18574  CONFIG_FILES    = $CONFIG_FILES
18575  CONFIG_HEADERS  = $CONFIG_HEADERS
18576  CONFIG_LINKS    = $CONFIG_LINKS
18577  CONFIG_COMMANDS = $CONFIG_COMMANDS
18578  $ $0 $@
18579
18580on `(hostname || uname -n) 2>/dev/null | sed 1q`
18581"
18582
18583_ACEOF
18584
18585case $ac_config_files in *"
18586"*) set x $ac_config_files; shift; ac_config_files=$*;;
18587esac
18588
18589case $ac_config_headers in *"
18590"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18591esac
18592
18593
18594cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18595# Files that config.status was made for.
18596config_files="$ac_config_files"
18597config_headers="$ac_config_headers"
18598config_commands="$ac_config_commands"
18599
18600_ACEOF
18601
18602cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18603ac_cs_usage="\
18604\`$as_me' instantiates files and other configuration actions
18605from templates according to the current configuration.  Unless the files
18606and actions are specified as TAGs, all are instantiated by default.
18607
18608Usage: $0 [OPTION]... [TAG]...
18609
18610  -h, --help       print this help, then exit
18611  -V, --version    print version number and configuration settings, then exit
18612      --config     print configuration, then exit
18613  -q, --quiet, --silent
18614                   do not print progress messages
18615  -d, --debug      don't remove temporary files
18616      --recheck    update $as_me by reconfiguring in the same conditions
18617      --file=FILE[:TEMPLATE]
18618                   instantiate the configuration file FILE
18619      --header=FILE[:TEMPLATE]
18620                   instantiate the configuration header FILE
18621
18622Configuration files:
18623$config_files
18624
18625Configuration headers:
18626$config_headers
18627
18628Configuration commands:
18629$config_commands
18630
18631Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-samba/>.
18632rodent-samba home page: <"http://xffm.org">."
18633
18634_ACEOF
18635cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18636ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18637ac_cs_version="\\
18638rodent-samba config.status 5.3.16.3
18639configured by $0, generated by GNU Autoconf 2.69,
18640  with options \\"\$ac_cs_config\\"
18641
18642Copyright (C) 2012 Free Software Foundation, Inc.
18643This config.status script is free software; the Free Software Foundation
18644gives unlimited permission to copy, distribute and modify it."
18645
18646ac_pwd='$ac_pwd'
18647srcdir='$srcdir'
18648INSTALL='$INSTALL'
18649MKDIR_P='$MKDIR_P'
18650AWK='$AWK'
18651test -n "\$AWK" || AWK=awk
18652_ACEOF
18653
18654cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18655# The default lists apply if the user does not specify any file.
18656ac_need_defaults=:
18657while test $# != 0
18658do
18659  case $1 in
18660  --*=?*)
18661    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18662    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18663    ac_shift=:
18664    ;;
18665  --*=)
18666    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18667    ac_optarg=
18668    ac_shift=:
18669    ;;
18670  *)
18671    ac_option=$1
18672    ac_optarg=$2
18673    ac_shift=shift
18674    ;;
18675  esac
18676
18677  case $ac_option in
18678  # Handling of the options.
18679  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18680    ac_cs_recheck=: ;;
18681  --version | --versio | --versi | --5.3.16.3 | --ver | --ve | --v | -V )
18682    $as_echo "$ac_cs_version"; exit ;;
18683  --config | --confi | --conf | --con | --co | --c )
18684    $as_echo "$ac_cs_config"; exit ;;
18685  --debug | --debu | --deb | --de | --d | -d )
18686    debug=: ;;
18687  --file | --fil | --fi | --f )
18688    $ac_shift
18689    case $ac_optarg in
18690    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18691    '') as_fn_error $? "missing file argument" ;;
18692    esac
18693    as_fn_append CONFIG_FILES " '$ac_optarg'"
18694    ac_need_defaults=false;;
18695  --header | --heade | --head | --hea )
18696    $ac_shift
18697    case $ac_optarg in
18698    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18699    esac
18700    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18701    ac_need_defaults=false;;
18702  --he | --h)
18703    # Conflict between --help and --header
18704    as_fn_error $? "ambiguous option: \`$1'
18705Try \`$0 --help' for more information.";;
18706  --help | --hel | -h )
18707    $as_echo "$ac_cs_usage"; exit ;;
18708  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18709  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18710    ac_cs_silent=: ;;
18711
18712  # This is an error.
18713  -*) as_fn_error $? "unrecognized option: \`$1'
18714Try \`$0 --help' for more information." ;;
18715
18716  *) as_fn_append ac_config_targets " $1"
18717     ac_need_defaults=false ;;
18718
18719  esac
18720  shift
18721done
18722
18723ac_configure_extra_args=
18724
18725if $ac_cs_silent; then
18726  exec 6>/dev/null
18727  ac_configure_extra_args="$ac_configure_extra_args --silent"
18728fi
18729
18730_ACEOF
18731cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18732if \$ac_cs_recheck; then
18733  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18734  shift
18735  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18736  CONFIG_SHELL='$SHELL'
18737  export CONFIG_SHELL
18738  exec "\$@"
18739fi
18740
18741_ACEOF
18742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18743exec 5>>config.log
18744{
18745  echo
18746  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18747## Running $as_me. ##
18748_ASBOX
18749  $as_echo "$ac_log"
18750} >&5
18751
18752_ACEOF
18753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18754#
18755# INIT-COMMANDS
18756#
18757
18758
18759# The HP-UX ksh and POSIX shell print the target directory to stdout
18760# if CDPATH is set.
18761(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18762
18763sed_quote_subst='$sed_quote_subst'
18764double_quote_subst='$double_quote_subst'
18765delay_variable_subst='$delay_variable_subst'
18766macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18767macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18768enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18769enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18770pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18771enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18772shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18773SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18774ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18775PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18776host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18777host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18778host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18779build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18780build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18781build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18782SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18783Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18784GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18785EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18786FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18787LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18788NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18789LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18790max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18791ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18792exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18793lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18794lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18795lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18796lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18797lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18798reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18799reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18800OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18801deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18802file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18803file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18804want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18805DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18806sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18807AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18808AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18809archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18810STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18811RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18812old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18813old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18814old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18815lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18816CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18817CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18818compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18819GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18820lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18821lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18822lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18823lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18824lt_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"`'
18825lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18826nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18827lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18828lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18829objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18830MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18831lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18832lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18833lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18834lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18835lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18836need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18837MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18838DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18839NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18840LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18841OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18842OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18843libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18844shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18845extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18846archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18847enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18848export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18849whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18850compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18851old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18852old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18853archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18854archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18855module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18856module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18857with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18858allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18859no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18860hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18861hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18862hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18863hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18864hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18865hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18866hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18867inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18868link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18869always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18870export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18871exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18872include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18873prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18874postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18875file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18876variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18877need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18878need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18879version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18880runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18881shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18882shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18883libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18884library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18885soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18886install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18887postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18888postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18889finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18890finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18891hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18892sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18893configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18894configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18895hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18896enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18897enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18898enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18899old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18900striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18901
18902LTCC='$LTCC'
18903LTCFLAGS='$LTCFLAGS'
18904compiler='$compiler_DEFAULT'
18905
18906# A function that is used when there is no print builtin or printf.
18907func_fallback_echo ()
18908{
18909  eval 'cat <<_LTECHO_EOF
18910\$1
18911_LTECHO_EOF'
18912}
18913
18914# Quote evaled strings.
18915for var in SHELL \
18916ECHO \
18917PATH_SEPARATOR \
18918SED \
18919GREP \
18920EGREP \
18921FGREP \
18922LD \
18923NM \
18924LN_S \
18925lt_SP2NL \
18926lt_NL2SP \
18927reload_flag \
18928OBJDUMP \
18929deplibs_check_method \
18930file_magic_cmd \
18931file_magic_glob \
18932want_nocaseglob \
18933DLLTOOL \
18934sharedlib_from_linklib_cmd \
18935AR \
18936AR_FLAGS \
18937archiver_list_spec \
18938STRIP \
18939RANLIB \
18940CC \
18941CFLAGS \
18942compiler \
18943lt_cv_sys_global_symbol_pipe \
18944lt_cv_sys_global_symbol_to_cdecl \
18945lt_cv_sys_global_symbol_to_import \
18946lt_cv_sys_global_symbol_to_c_name_address \
18947lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18948lt_cv_nm_interface \
18949nm_file_list_spec \
18950lt_cv_truncate_bin \
18951lt_prog_compiler_no_builtin_flag \
18952lt_prog_compiler_pic \
18953lt_prog_compiler_wl \
18954lt_prog_compiler_static \
18955lt_cv_prog_compiler_c_o \
18956need_locks \
18957MANIFEST_TOOL \
18958DSYMUTIL \
18959NMEDIT \
18960LIPO \
18961OTOOL \
18962OTOOL64 \
18963shrext_cmds \
18964export_dynamic_flag_spec \
18965whole_archive_flag_spec \
18966compiler_needs_object \
18967with_gnu_ld \
18968allow_undefined_flag \
18969no_undefined_flag \
18970hardcode_libdir_flag_spec \
18971hardcode_libdir_separator \
18972exclude_expsyms \
18973include_expsyms \
18974file_list_spec \
18975variables_saved_for_relink \
18976libname_spec \
18977library_names_spec \
18978soname_spec \
18979install_override_mode \
18980finish_eval \
18981old_striplib \
18982striplib; do
18983    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18984    *[\\\\\\\`\\"\\\$]*)
18985      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18986      ;;
18987    *)
18988      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18989      ;;
18990    esac
18991done
18992
18993# Double-quote double-evaled strings.
18994for var in reload_cmds \
18995old_postinstall_cmds \
18996old_postuninstall_cmds \
18997old_archive_cmds \
18998extract_expsyms_cmds \
18999old_archive_from_new_cmds \
19000old_archive_from_expsyms_cmds \
19001archive_cmds \
19002archive_expsym_cmds \
19003module_cmds \
19004module_expsym_cmds \
19005export_symbols_cmds \
19006prelink_cmds \
19007postlink_cmds \
19008postinstall_cmds \
19009postuninstall_cmds \
19010finish_cmds \
19011sys_lib_search_path_spec \
19012configure_time_dlsearch_path \
19013configure_time_lt_sys_library_path; do
19014    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19015    *[\\\\\\\`\\"\\\$]*)
19016      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19017      ;;
19018    *)
19019      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19020      ;;
19021    esac
19022done
19023
19024ac_aux_dir='$ac_aux_dir'
19025
19026# See if we are running on zsh, and set the options that allow our
19027# commands through without removal of \ escapes INIT.
19028if test -n "\${ZSH_VERSION+set}"; then
19029   setopt NO_GLOB_SUBST
19030fi
19031
19032
19033    PACKAGE='$PACKAGE'
19034    VERSION='$VERSION'
19035    RM='$RM'
19036    ofile='$ofile'
19037
19038
19039
19040AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19041
19042
19043_ACEOF
19044
19045cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19046
19047# Handling of arguments.
19048for ac_config_target in $ac_config_targets
19049do
19050  case $ac_config_target in
19051    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19052    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19053    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19054    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19055    "rodent-samba.settings") CONFIG_FILES="$CONFIG_FILES rodent-samba.settings" ;;
19056    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19057    "rodent-samba.spec") CONFIG_FILES="$CONFIG_FILES rodent-samba.spec" ;;
19058    "Rodent-samba.desktop.in") CONFIG_FILES="$CONFIG_FILES Rodent-samba.desktop.in" ;;
19059    "Rodent-samba.appdata.xml") CONFIG_FILES="$CONFIG_FILES Rodent-samba.appdata.xml" ;;
19060    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19061    "Build/Makefile") CONFIG_FILES="$CONFIG_FILES Build/Makefile" ;;
19062    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
19063    "icons/png/Makefile") CONFIG_FILES="$CONFIG_FILES icons/png/Makefile" ;;
19064    "icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES icons/svg/Makefile" ;;
19065    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19066
19067  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19068  esac
19069done
19070
19071
19072# If the user did not use the arguments to specify the items to instantiate,
19073# then the envvar interface is used.  Set only those that are not.
19074# We use the long form for the default assignment because of an extremely
19075# bizarre bug on SunOS 4.1.3.
19076if $ac_need_defaults; then
19077  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19078  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19079  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19080fi
19081
19082# Have a temporary directory for convenience.  Make it in the build tree
19083# simply because there is no reason against having it here, and in addition,
19084# creating and moving files from /tmp can sometimes cause problems.
19085# Hook for its removal unless debugging.
19086# Note that there is a small window in which the directory will not be cleaned:
19087# after its creation but before its name has been assigned to `$tmp'.
19088$debug ||
19089{
19090  tmp= ac_tmp=
19091  trap 'exit_status=$?
19092  : "${ac_tmp:=$tmp}"
19093  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19094' 0
19095  trap 'as_fn_exit 1' 1 2 13 15
19096}
19097# Create a (secure) tmp directory for tmp files.
19098
19099{
19100  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19101  test -d "$tmp"
19102}  ||
19103{
19104  tmp=./conf$$-$RANDOM
19105  (umask 077 && mkdir "$tmp")
19106} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19107ac_tmp=$tmp
19108
19109# Set up the scripts for CONFIG_FILES section.
19110# No need to generate them if there are no CONFIG_FILES.
19111# This happens for instance with `./config.status config.h'.
19112if test -n "$CONFIG_FILES"; then
19113
19114
19115ac_cr=`echo X | tr X '\015'`
19116# On cygwin, bash can eat \r inside `` if the user requested igncr.
19117# But we know of no other shell where ac_cr would be empty at this
19118# point, so we can use a bashism as a fallback.
19119if test "x$ac_cr" = x; then
19120  eval ac_cr=\$\'\\r\'
19121fi
19122ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19123if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19124  ac_cs_awk_cr='\\r'
19125else
19126  ac_cs_awk_cr=$ac_cr
19127fi
19128
19129echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19130_ACEOF
19131
19132
19133{
19134  echo "cat >conf$$subs.awk <<_ACEOF" &&
19135  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19136  echo "_ACEOF"
19137} >conf$$subs.sh ||
19138  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19139ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19140ac_delim='%!_!# '
19141for ac_last_try in false false false false false :; do
19142  . ./conf$$subs.sh ||
19143    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19144
19145  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19146  if test $ac_delim_n = $ac_delim_num; then
19147    break
19148  elif $ac_last_try; then
19149    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19150  else
19151    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19152  fi
19153done
19154rm -f conf$$subs.sh
19155
19156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19157cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19158_ACEOF
19159sed -n '
19160h
19161s/^/S["/; s/!.*/"]=/
19162p
19163g
19164s/^[^!]*!//
19165:repl
19166t repl
19167s/'"$ac_delim"'$//
19168t delim
19169:nl
19170h
19171s/\(.\{148\}\)..*/\1/
19172t more1
19173s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19174p
19175n
19176b repl
19177:more1
19178s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19179p
19180g
19181s/.\{148\}//
19182t nl
19183:delim
19184h
19185s/\(.\{148\}\)..*/\1/
19186t more2
19187s/["\\]/\\&/g; s/^/"/; s/$/"/
19188p
19189b
19190:more2
19191s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19192p
19193g
19194s/.\{148\}//
19195t delim
19196' <conf$$subs.awk | sed '
19197/^[^""]/{
19198  N
19199  s/\n//
19200}
19201' >>$CONFIG_STATUS || ac_write_fail=1
19202rm -f conf$$subs.awk
19203cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19204_ACAWK
19205cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19206  for (key in S) S_is_set[key] = 1
19207  FS = ""
19208
19209}
19210{
19211  line = $ 0
19212  nfields = split(line, field, "@")
19213  substed = 0
19214  len = length(field[1])
19215  for (i = 2; i < nfields; i++) {
19216    key = field[i]
19217    keylen = length(key)
19218    if (S_is_set[key]) {
19219      value = S[key]
19220      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19221      len += length(value) + length(field[++i])
19222      substed = 1
19223    } else
19224      len += 1 + keylen
19225  }
19226
19227  print line
19228}
19229
19230_ACAWK
19231_ACEOF
19232cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19233if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19234  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19235else
19236  cat
19237fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19238  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19239_ACEOF
19240
19241# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19242# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19243# trailing colons and then remove the whole line if VPATH becomes empty
19244# (actually we leave an empty line to preserve line numbers).
19245if test "x$srcdir" = x.; then
19246  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19247h
19248s///
19249s/^/:/
19250s/[	 ]*$/:/
19251s/:\$(srcdir):/:/g
19252s/:\${srcdir}:/:/g
19253s/:@srcdir@:/:/g
19254s/^:*//
19255s/:*$//
19256x
19257s/\(=[	 ]*\).*/\1/
19258G
19259s/\n//
19260s/^[^=]*=[	 ]*$//
19261}'
19262fi
19263
19264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19265fi # test -n "$CONFIG_FILES"
19266
19267# Set up the scripts for CONFIG_HEADERS section.
19268# No need to generate them if there are no CONFIG_HEADERS.
19269# This happens for instance with `./config.status Makefile'.
19270if test -n "$CONFIG_HEADERS"; then
19271cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19272BEGIN {
19273_ACEOF
19274
19275# Transform confdefs.h into an awk script `defines.awk', embedded as
19276# here-document in config.status, that substitutes the proper values into
19277# config.h.in to produce config.h.
19278
19279# Create a delimiter string that does not exist in confdefs.h, to ease
19280# handling of long lines.
19281ac_delim='%!_!# '
19282for ac_last_try in false false :; do
19283  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19284  if test -z "$ac_tt"; then
19285    break
19286  elif $ac_last_try; then
19287    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19288  else
19289    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19290  fi
19291done
19292
19293# For the awk script, D is an array of macro values keyed by name,
19294# likewise P contains macro parameters if any.  Preserve backslash
19295# newline sequences.
19296
19297ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19298sed -n '
19299s/.\{148\}/&'"$ac_delim"'/g
19300t rset
19301:rset
19302s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19303t def
19304d
19305:def
19306s/\\$//
19307t bsnl
19308s/["\\]/\\&/g
19309s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19310D["\1"]=" \3"/p
19311s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19312d
19313:bsnl
19314s/["\\]/\\&/g
19315s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19316D["\1"]=" \3\\\\\\n"\\/p
19317t cont
19318s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19319t cont
19320d
19321:cont
19322n
19323s/.\{148\}/&'"$ac_delim"'/g
19324t clear
19325:clear
19326s/\\$//
19327t bsnlc
19328s/["\\]/\\&/g; s/^/"/; s/$/"/p
19329d
19330:bsnlc
19331s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19332b cont
19333' <confdefs.h | sed '
19334s/'"$ac_delim"'/"\\\
19335"/g' >>$CONFIG_STATUS || ac_write_fail=1
19336
19337cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19338  for (key in D) D_is_set[key] = 1
19339  FS = ""
19340}
19341/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19342  line = \$ 0
19343  split(line, arg, " ")
19344  if (arg[1] == "#") {
19345    defundef = arg[2]
19346    mac1 = arg[3]
19347  } else {
19348    defundef = substr(arg[1], 2)
19349    mac1 = arg[2]
19350  }
19351  split(mac1, mac2, "(") #)
19352  macro = mac2[1]
19353  prefix = substr(line, 1, index(line, defundef) - 1)
19354  if (D_is_set[macro]) {
19355    # Preserve the white space surrounding the "#".
19356    print prefix "define", macro P[macro] D[macro]
19357    next
19358  } else {
19359    # Replace #undef with comments.  This is necessary, for example,
19360    # in the case of _POSIX_SOURCE, which is predefined and required
19361    # on some systems where configure will not decide to define it.
19362    if (defundef == "undef") {
19363      print "/*", prefix defundef, macro, "*/"
19364      next
19365    }
19366  }
19367}
19368{ print }
19369_ACAWK
19370_ACEOF
19371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19372  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19373fi # test -n "$CONFIG_HEADERS"
19374
19375
19376eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19377shift
19378for ac_tag
19379do
19380  case $ac_tag in
19381  :[FHLC]) ac_mode=$ac_tag; continue;;
19382  esac
19383  case $ac_mode$ac_tag in
19384  :[FHL]*:*);;
19385  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19386  :[FH]-) ac_tag=-:-;;
19387  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19388  esac
19389  ac_save_IFS=$IFS
19390  IFS=:
19391  set x $ac_tag
19392  IFS=$ac_save_IFS
19393  shift
19394  ac_file=$1
19395  shift
19396
19397  case $ac_mode in
19398  :L) ac_source=$1;;
19399  :[FH])
19400    ac_file_inputs=
19401    for ac_f
19402    do
19403      case $ac_f in
19404      -) ac_f="$ac_tmp/stdin";;
19405      *) # Look for the file first in the build tree, then in the source tree
19406	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19407	 # because $ac_f cannot contain `:'.
19408	 test -f "$ac_f" ||
19409	   case $ac_f in
19410	   [\\/$]*) false;;
19411	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19412	   esac ||
19413	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19414      esac
19415      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19416      as_fn_append ac_file_inputs " '$ac_f'"
19417    done
19418
19419    # Let's still pretend it is `configure' which instantiates (i.e., don't
19420    # use $as_me), people would be surprised to read:
19421    #    /* config.h.  Generated by config.status.  */
19422    configure_input='Generated from '`
19423	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19424	`' by configure.'
19425    if test x"$ac_file" != x-; then
19426      configure_input="$ac_file.  $configure_input"
19427      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19428$as_echo "$as_me: creating $ac_file" >&6;}
19429    fi
19430    # Neutralize special characters interpreted by sed in replacement strings.
19431    case $configure_input in #(
19432    *\&* | *\|* | *\\* )
19433       ac_sed_conf_input=`$as_echo "$configure_input" |
19434       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19435    *) ac_sed_conf_input=$configure_input;;
19436    esac
19437
19438    case $ac_tag in
19439    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19440      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19441    esac
19442    ;;
19443  esac
19444
19445  ac_dir=`$as_dirname -- "$ac_file" ||
19446$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19447	 X"$ac_file" : 'X\(//\)[^/]' \| \
19448	 X"$ac_file" : 'X\(//\)$' \| \
19449	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19450$as_echo X"$ac_file" |
19451    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19452	    s//\1/
19453	    q
19454	  }
19455	  /^X\(\/\/\)[^/].*/{
19456	    s//\1/
19457	    q
19458	  }
19459	  /^X\(\/\/\)$/{
19460	    s//\1/
19461	    q
19462	  }
19463	  /^X\(\/\).*/{
19464	    s//\1/
19465	    q
19466	  }
19467	  s/.*/./; q'`
19468  as_dir="$ac_dir"; as_fn_mkdir_p
19469  ac_builddir=.
19470
19471case "$ac_dir" in
19472.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19473*)
19474  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19475  # A ".." for each directory in $ac_dir_suffix.
19476  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19477  case $ac_top_builddir_sub in
19478  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19479  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19480  esac ;;
19481esac
19482ac_abs_top_builddir=$ac_pwd
19483ac_abs_builddir=$ac_pwd$ac_dir_suffix
19484# for backward compatibility:
19485ac_top_builddir=$ac_top_build_prefix
19486
19487case $srcdir in
19488  .)  # We are building in place.
19489    ac_srcdir=.
19490    ac_top_srcdir=$ac_top_builddir_sub
19491    ac_abs_top_srcdir=$ac_pwd ;;
19492  [\\/]* | ?:[\\/]* )  # Absolute name.
19493    ac_srcdir=$srcdir$ac_dir_suffix;
19494    ac_top_srcdir=$srcdir
19495    ac_abs_top_srcdir=$srcdir ;;
19496  *) # Relative name.
19497    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19498    ac_top_srcdir=$ac_top_build_prefix$srcdir
19499    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19500esac
19501ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19502
19503
19504  case $ac_mode in
19505  :F)
19506  #
19507  # CONFIG_FILE
19508  #
19509
19510  case $INSTALL in
19511  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19512  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19513  esac
19514  ac_MKDIR_P=$MKDIR_P
19515  case $MKDIR_P in
19516  [\\/$]* | ?:[\\/]* ) ;;
19517  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19518  esac
19519_ACEOF
19520
19521cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19522# If the template does not know about datarootdir, expand it.
19523# FIXME: This hack should be removed a few years after 2.60.
19524ac_datarootdir_hack=; ac_datarootdir_seen=
19525ac_sed_dataroot='
19526/datarootdir/ {
19527  p
19528  q
19529}
19530/@datadir@/p
19531/@docdir@/p
19532/@infodir@/p
19533/@localedir@/p
19534/@mandir@/p'
19535case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19536*datarootdir*) ac_datarootdir_seen=yes;;
19537*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19538  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19539$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19540_ACEOF
19541cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19542  ac_datarootdir_hack='
19543  s&@datadir@&$datadir&g
19544  s&@docdir@&$docdir&g
19545  s&@infodir@&$infodir&g
19546  s&@localedir@&$localedir&g
19547  s&@mandir@&$mandir&g
19548  s&\\\${datarootdir}&$datarootdir&g' ;;
19549esac
19550_ACEOF
19551
19552# Neutralize VPATH when `$srcdir' = `.'.
19553# Shell code in configure.ac might set extrasub.
19554# FIXME: do we really want to maintain this feature?
19555cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19556ac_sed_extra="$ac_vpsub
19557$extrasub
19558_ACEOF
19559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19560:t
19561/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19562s|@configure_input@|$ac_sed_conf_input|;t t
19563s&@top_builddir@&$ac_top_builddir_sub&;t t
19564s&@top_build_prefix@&$ac_top_build_prefix&;t t
19565s&@srcdir@&$ac_srcdir&;t t
19566s&@abs_srcdir@&$ac_abs_srcdir&;t t
19567s&@top_srcdir@&$ac_top_srcdir&;t t
19568s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19569s&@builddir@&$ac_builddir&;t t
19570s&@abs_builddir@&$ac_abs_builddir&;t t
19571s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19572s&@INSTALL@&$ac_INSTALL&;t t
19573s&@MKDIR_P@&$ac_MKDIR_P&;t t
19574$ac_datarootdir_hack
19575"
19576eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19577  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19578
19579test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19580  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19581  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19582      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19583  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19584which seems to be undefined.  Please make sure it is defined" >&5
19585$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19586which seems to be undefined.  Please make sure it is defined" >&2;}
19587
19588  rm -f "$ac_tmp/stdin"
19589  case $ac_file in
19590  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19591  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19592  esac \
19593  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19594 ;;
19595  :H)
19596  #
19597  # CONFIG_HEADER
19598  #
19599  if test x"$ac_file" != x-; then
19600    {
19601      $as_echo "/* $configure_input  */" \
19602      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19603    } >"$ac_tmp/config.h" \
19604      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19605    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19606      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19607$as_echo "$as_me: $ac_file is unchanged" >&6;}
19608    else
19609      rm -f "$ac_file"
19610      mv "$ac_tmp/config.h" "$ac_file" \
19611	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19612    fi
19613  else
19614    $as_echo "/* $configure_input  */" \
19615      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19616      || as_fn_error $? "could not create -" "$LINENO" 5
19617  fi
19618# Compute "$ac_file"'s index in $config_headers.
19619_am_arg="$ac_file"
19620_am_stamp_count=1
19621for _am_header in $config_headers :; do
19622  case $_am_header in
19623    $_am_arg | $_am_arg:* )
19624      break ;;
19625    * )
19626      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19627  esac
19628done
19629echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19630$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19631	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19632	 X"$_am_arg" : 'X\(//\)$' \| \
19633	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19634$as_echo X"$_am_arg" |
19635    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19636	    s//\1/
19637	    q
19638	  }
19639	  /^X\(\/\/\)[^/].*/{
19640	    s//\1/
19641	    q
19642	  }
19643	  /^X\(\/\/\)$/{
19644	    s//\1/
19645	    q
19646	  }
19647	  /^X\(\/\).*/{
19648	    s//\1/
19649	    q
19650	  }
19651	  s/.*/./; q'`/stamp-h$_am_stamp_count
19652 ;;
19653
19654  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19655$as_echo "$as_me: executing $ac_file commands" >&6;}
19656 ;;
19657  esac
19658
19659
19660  case $ac_file$ac_mode in
19661    "libtool":C)
19662
19663    # See if we are running on zsh, and set the options that allow our
19664    # commands through without removal of \ escapes.
19665    if test -n "${ZSH_VERSION+set}"; then
19666      setopt NO_GLOB_SUBST
19667    fi
19668
19669    cfgfile=${ofile}T
19670    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19671    $RM "$cfgfile"
19672
19673    cat <<_LT_EOF >> "$cfgfile"
19674#! $SHELL
19675# Generated automatically by $as_me ($PACKAGE) $VERSION
19676# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19677# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19678
19679# Provide generalized library-building support services.
19680# Written by Gordon Matzigkeit, 1996
19681
19682# Copyright (C) 2014 Free Software Foundation, Inc.
19683# This is free software; see the source for copying conditions.  There is NO
19684# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19685
19686# GNU Libtool is free software; you can redistribute it and/or modify
19687# it under the terms of the GNU General Public License as published by
19688# the Free Software Foundation; either version 2 of of the License, or
19689# (at your option) any later version.
19690#
19691# As a special exception to the GNU General Public License, if you
19692# distribute this file as part of a program or library that is built
19693# using GNU Libtool, you may include this file under the  same
19694# distribution terms that you use for the rest of that program.
19695#
19696# GNU Libtool is distributed in the hope that it will be useful, but
19697# WITHOUT ANY WARRANTY; without even the implied warranty of
19698# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19699# GNU General Public License for more details.
19700#
19701# You should have received a copy of the GNU General Public License
19702# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19703
19704
19705# The names of the tagged configurations supported by this script.
19706available_tags=''
19707
19708# Configured defaults for sys_lib_dlsearch_path munging.
19709: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19710
19711# ### BEGIN LIBTOOL CONFIG
19712
19713# Which release of libtool.m4 was used?
19714macro_version=$macro_version
19715macro_revision=$macro_revision
19716
19717# Whether or not to build static libraries.
19718build_old_libs=$enable_static
19719
19720# Whether or not to build shared libraries.
19721build_libtool_libs=$enable_shared
19722
19723# What type of objects to build.
19724pic_mode=$pic_mode
19725
19726# Whether or not to optimize for fast installation.
19727fast_install=$enable_fast_install
19728
19729# Shared archive member basename,for filename based shared library versioning on AIX.
19730shared_archive_member_spec=$shared_archive_member_spec
19731
19732# Shell to use when invoking shell scripts.
19733SHELL=$lt_SHELL
19734
19735# An echo program that protects backslashes.
19736ECHO=$lt_ECHO
19737
19738# The PATH separator for the build system.
19739PATH_SEPARATOR=$lt_PATH_SEPARATOR
19740
19741# The host system.
19742host_alias=$host_alias
19743host=$host
19744host_os=$host_os
19745
19746# The build system.
19747build_alias=$build_alias
19748build=$build
19749build_os=$build_os
19750
19751# A sed program that does not truncate output.
19752SED=$lt_SED
19753
19754# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19755Xsed="\$SED -e 1s/^X//"
19756
19757# A grep program that handles long lines.
19758GREP=$lt_GREP
19759
19760# An ERE matcher.
19761EGREP=$lt_EGREP
19762
19763# A literal string matcher.
19764FGREP=$lt_FGREP
19765
19766# A BSD- or MS-compatible name lister.
19767NM=$lt_NM
19768
19769# Whether we need soft or hard links.
19770LN_S=$lt_LN_S
19771
19772# What is the maximum length of a command?
19773max_cmd_len=$max_cmd_len
19774
19775# Object file suffix (normally "o").
19776objext=$ac_objext
19777
19778# Executable file suffix (normally "").
19779exeext=$exeext
19780
19781# whether the shell understands "unset".
19782lt_unset=$lt_unset
19783
19784# turn spaces into newlines.
19785SP2NL=$lt_lt_SP2NL
19786
19787# turn newlines into spaces.
19788NL2SP=$lt_lt_NL2SP
19789
19790# convert \$build file names to \$host format.
19791to_host_file_cmd=$lt_cv_to_host_file_cmd
19792
19793# convert \$build files to toolchain format.
19794to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19795
19796# An object symbol dumper.
19797OBJDUMP=$lt_OBJDUMP
19798
19799# Method to check whether dependent libraries are shared objects.
19800deplibs_check_method=$lt_deplibs_check_method
19801
19802# Command to use when deplibs_check_method = "file_magic".
19803file_magic_cmd=$lt_file_magic_cmd
19804
19805# How to find potential files when deplibs_check_method = "file_magic".
19806file_magic_glob=$lt_file_magic_glob
19807
19808# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19809want_nocaseglob=$lt_want_nocaseglob
19810
19811# DLL creation program.
19812DLLTOOL=$lt_DLLTOOL
19813
19814# Command to associate shared and link libraries.
19815sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19816
19817# The archiver.
19818AR=$lt_AR
19819
19820# Flags to create an archive.
19821AR_FLAGS=$lt_AR_FLAGS
19822
19823# How to feed a file listing to the archiver.
19824archiver_list_spec=$lt_archiver_list_spec
19825
19826# A symbol stripping program.
19827STRIP=$lt_STRIP
19828
19829# Commands used to install an old-style archive.
19830RANLIB=$lt_RANLIB
19831old_postinstall_cmds=$lt_old_postinstall_cmds
19832old_postuninstall_cmds=$lt_old_postuninstall_cmds
19833
19834# Whether to use a lock for old archive extraction.
19835lock_old_archive_extraction=$lock_old_archive_extraction
19836
19837# A C compiler.
19838LTCC=$lt_CC
19839
19840# LTCC compiler flags.
19841LTCFLAGS=$lt_CFLAGS
19842
19843# Take the output of nm and produce a listing of raw symbols and C names.
19844global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19845
19846# Transform the output of nm in a proper C declaration.
19847global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19848
19849# Transform the output of nm into a list of symbols to manually relocate.
19850global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19851
19852# Transform the output of nm in a C name address pair.
19853global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19854
19855# Transform the output of nm in a C name address pair when lib prefix is needed.
19856global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19857
19858# The name lister interface.
19859nm_interface=$lt_lt_cv_nm_interface
19860
19861# Specify filename containing input files for \$NM.
19862nm_file_list_spec=$lt_nm_file_list_spec
19863
19864# The root where to search for dependent libraries,and where our libraries should be installed.
19865lt_sysroot=$lt_sysroot
19866
19867# Command to truncate a binary pipe.
19868lt_truncate_bin=$lt_lt_cv_truncate_bin
19869
19870# The name of the directory that contains temporary libtool files.
19871objdir=$objdir
19872
19873# Used to examine libraries when file_magic_cmd begins with "file".
19874MAGIC_CMD=$MAGIC_CMD
19875
19876# Must we lock files when doing compilation?
19877need_locks=$lt_need_locks
19878
19879# Manifest tool.
19880MANIFEST_TOOL=$lt_MANIFEST_TOOL
19881
19882# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19883DSYMUTIL=$lt_DSYMUTIL
19884
19885# Tool to change global to local symbols on Mac OS X.
19886NMEDIT=$lt_NMEDIT
19887
19888# Tool to manipulate fat objects and archives on Mac OS X.
19889LIPO=$lt_LIPO
19890
19891# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19892OTOOL=$lt_OTOOL
19893
19894# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19895OTOOL64=$lt_OTOOL64
19896
19897# Old archive suffix (normally "a").
19898libext=$libext
19899
19900# Shared library suffix (normally ".so").
19901shrext_cmds=$lt_shrext_cmds
19902
19903# The commands to extract the exported symbol list from a shared archive.
19904extract_expsyms_cmds=$lt_extract_expsyms_cmds
19905
19906# Variables whose values should be saved in libtool wrapper scripts and
19907# restored at link time.
19908variables_saved_for_relink=$lt_variables_saved_for_relink
19909
19910# Do we need the "lib" prefix for modules?
19911need_lib_prefix=$need_lib_prefix
19912
19913# Do we need a version for libraries?
19914need_version=$need_version
19915
19916# Library versioning type.
19917version_type=$version_type
19918
19919# Shared library runtime path variable.
19920runpath_var=$runpath_var
19921
19922# Shared library path variable.
19923shlibpath_var=$shlibpath_var
19924
19925# Is shlibpath searched before the hard-coded library search path?
19926shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19927
19928# Format of library name prefix.
19929libname_spec=$lt_libname_spec
19930
19931# List of archive names.  First name is the real one, the rest are links.
19932# The last name is the one that the linker finds with -lNAME
19933library_names_spec=$lt_library_names_spec
19934
19935# The coded name of the library, if different from the real name.
19936soname_spec=$lt_soname_spec
19937
19938# Permission mode override for installation of shared libraries.
19939install_override_mode=$lt_install_override_mode
19940
19941# Command to use after installation of a shared archive.
19942postinstall_cmds=$lt_postinstall_cmds
19943
19944# Command to use after uninstallation of a shared archive.
19945postuninstall_cmds=$lt_postuninstall_cmds
19946
19947# Commands used to finish a libtool library installation in a directory.
19948finish_cmds=$lt_finish_cmds
19949
19950# As "finish_cmds", except a single script fragment to be evaled but
19951# not shown.
19952finish_eval=$lt_finish_eval
19953
19954# Whether we should hardcode library paths into libraries.
19955hardcode_into_libs=$hardcode_into_libs
19956
19957# Compile-time system search path for libraries.
19958sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19959
19960# Detected run-time system search path for libraries.
19961sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19962
19963# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19964configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19965
19966# Whether dlopen is supported.
19967dlopen_support=$enable_dlopen
19968
19969# Whether dlopen of programs is supported.
19970dlopen_self=$enable_dlopen_self
19971
19972# Whether dlopen of statically linked programs is supported.
19973dlopen_self_static=$enable_dlopen_self_static
19974
19975# Commands to strip libraries.
19976old_striplib=$lt_old_striplib
19977striplib=$lt_striplib
19978
19979
19980# The linker used to build libraries.
19981LD=$lt_LD
19982
19983# How to create reloadable object files.
19984reload_flag=$lt_reload_flag
19985reload_cmds=$lt_reload_cmds
19986
19987# Commands used to build an old-style archive.
19988old_archive_cmds=$lt_old_archive_cmds
19989
19990# A language specific compiler.
19991CC=$lt_compiler
19992
19993# Is the compiler the GNU compiler?
19994with_gcc=$GCC
19995
19996# Compiler flag to turn off builtin functions.
19997no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19998
19999# Additional compiler flags for building library objects.
20000pic_flag=$lt_lt_prog_compiler_pic
20001
20002# How to pass a linker flag through the compiler.
20003wl=$lt_lt_prog_compiler_wl
20004
20005# Compiler flag to prevent dynamic linking.
20006link_static_flag=$lt_lt_prog_compiler_static
20007
20008# Does compiler simultaneously support -c and -o options?
20009compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20010
20011# Whether or not to add -lc for building shared libraries.
20012build_libtool_need_lc=$archive_cmds_need_lc
20013
20014# Whether or not to disallow shared libs when runtime libs are static.
20015allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20016
20017# Compiler flag to allow reflexive dlopens.
20018export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20019
20020# Compiler flag to generate shared objects directly from archives.
20021whole_archive_flag_spec=$lt_whole_archive_flag_spec
20022
20023# Whether the compiler copes with passing no objects directly.
20024compiler_needs_object=$lt_compiler_needs_object
20025
20026# Create an old-style archive from a shared archive.
20027old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20028
20029# Create a temporary old-style archive to link instead of a shared archive.
20030old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20031
20032# Commands used to build a shared archive.
20033archive_cmds=$lt_archive_cmds
20034archive_expsym_cmds=$lt_archive_expsym_cmds
20035
20036# Commands used to build a loadable module if different from building
20037# a shared archive.
20038module_cmds=$lt_module_cmds
20039module_expsym_cmds=$lt_module_expsym_cmds
20040
20041# Whether we are building with GNU ld or not.
20042with_gnu_ld=$lt_with_gnu_ld
20043
20044# Flag that allows shared libraries with undefined symbols to be built.
20045allow_undefined_flag=$lt_allow_undefined_flag
20046
20047# Flag that enforces no undefined symbols.
20048no_undefined_flag=$lt_no_undefined_flag
20049
20050# Flag to hardcode \$libdir into a binary during linking.
20051# This must work even if \$libdir does not exist
20052hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20053
20054# Whether we need a single "-rpath" flag with a separated argument.
20055hardcode_libdir_separator=$lt_hardcode_libdir_separator
20056
20057# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20058# DIR into the resulting binary.
20059hardcode_direct=$hardcode_direct
20060
20061# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20062# DIR into the resulting binary and the resulting library dependency is
20063# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20064# library is relocated.
20065hardcode_direct_absolute=$hardcode_direct_absolute
20066
20067# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20068# into the resulting binary.
20069hardcode_minus_L=$hardcode_minus_L
20070
20071# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20072# into the resulting binary.
20073hardcode_shlibpath_var=$hardcode_shlibpath_var
20074
20075# Set to "yes" if building a shared library automatically hardcodes DIR
20076# into the library and all subsequent libraries and executables linked
20077# against it.
20078hardcode_automatic=$hardcode_automatic
20079
20080# Set to yes if linker adds runtime paths of dependent libraries
20081# to runtime path list.
20082inherit_rpath=$inherit_rpath
20083
20084# Whether libtool must link a program against all its dependency libraries.
20085link_all_deplibs=$link_all_deplibs
20086
20087# Set to "yes" if exported symbols are required.
20088always_export_symbols=$always_export_symbols
20089
20090# The commands to list exported symbols.
20091export_symbols_cmds=$lt_export_symbols_cmds
20092
20093# Symbols that should not be listed in the preloaded symbols.
20094exclude_expsyms=$lt_exclude_expsyms
20095
20096# Symbols that must always be exported.
20097include_expsyms=$lt_include_expsyms
20098
20099# Commands necessary for linking programs (against libraries) with templates.
20100prelink_cmds=$lt_prelink_cmds
20101
20102# Commands necessary for finishing linking programs.
20103postlink_cmds=$lt_postlink_cmds
20104
20105# Specify filename containing input files.
20106file_list_spec=$lt_file_list_spec
20107
20108# How to hardcode a shared library path into an executable.
20109hardcode_action=$hardcode_action
20110
20111# ### END LIBTOOL CONFIG
20112
20113_LT_EOF
20114
20115    cat <<'_LT_EOF' >> "$cfgfile"
20116
20117# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20118
20119# func_munge_path_list VARIABLE PATH
20120# -----------------------------------
20121# VARIABLE is name of variable containing _space_ separated list of
20122# directories to be munged by the contents of PATH, which is string
20123# having a format:
20124# "DIR[:DIR]:"
20125#       string "DIR[ DIR]" will be prepended to VARIABLE
20126# ":DIR[:DIR]"
20127#       string "DIR[ DIR]" will be appended to VARIABLE
20128# "DIRP[:DIRP]::[DIRA:]DIRA"
20129#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20130#       "DIRA[ DIRA]" will be appended to VARIABLE
20131# "DIR[:DIR]"
20132#       VARIABLE will be replaced by "DIR[ DIR]"
20133func_munge_path_list ()
20134{
20135    case x$2 in
20136    x)
20137        ;;
20138    *:)
20139        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20140        ;;
20141    x:*)
20142        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20143        ;;
20144    *::*)
20145        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20146        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20147        ;;
20148    *)
20149        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20150        ;;
20151    esac
20152}
20153
20154
20155# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20156func_cc_basename ()
20157{
20158    for cc_temp in $*""; do
20159      case $cc_temp in
20160        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20161        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20162        \-*) ;;
20163        *) break;;
20164      esac
20165    done
20166    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20167}
20168
20169
20170# ### END FUNCTIONS SHARED WITH CONFIGURE
20171
20172_LT_EOF
20173
20174  case $host_os in
20175  aix3*)
20176    cat <<\_LT_EOF >> "$cfgfile"
20177# AIX sometimes has problems with the GCC collect2 program.  For some
20178# reason, if we set the COLLECT_NAMES environment variable, the problems
20179# vanish in a puff of smoke.
20180if test set != "${COLLECT_NAMES+set}"; then
20181  COLLECT_NAMES=
20182  export COLLECT_NAMES
20183fi
20184_LT_EOF
20185    ;;
20186  esac
20187
20188
20189ltmain=$ac_aux_dir/ltmain.sh
20190
20191
20192  # We use sed instead of cat because bash on DJGPP gets confused if
20193  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20194  # text mode, it properly converts lines to CR/LF.  This bash problem
20195  # is reportedly fixed, but why not run on old versions too?
20196  sed '$q' "$ltmain" >> "$cfgfile" \
20197     || (rm -f "$cfgfile"; exit 1)
20198
20199   mv -f "$cfgfile" "$ofile" ||
20200    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20201  chmod +x "$ofile"
20202
20203 ;;
20204    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20205  # Older Autoconf quotes --file arguments for eval, but not when files
20206  # are listed without --file.  Let's play safe and only enable the eval
20207  # if we detect the quoting.
20208  case $CONFIG_FILES in
20209  *\'*) eval set x "$CONFIG_FILES" ;;
20210  *)   set x $CONFIG_FILES ;;
20211  esac
20212  shift
20213  for mf
20214  do
20215    # Strip MF so we end up with the name of the file.
20216    mf=`echo "$mf" | sed -e 's/:.*$//'`
20217    # Check whether this is an Automake generated Makefile or not.
20218    # We used to match only the files named 'Makefile.in', but
20219    # some people rename them; so instead we look at the file content.
20220    # Grep'ing the first line is not enough: some people post-process
20221    # each Makefile.in and add a new line on top of each file to say so.
20222    # Grep'ing the whole file is not good either: AIX grep has a line
20223    # limit of 2048, but all sed's we know have understand at least 4000.
20224    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20225      dirpart=`$as_dirname -- "$mf" ||
20226$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20227	 X"$mf" : 'X\(//\)[^/]' \| \
20228	 X"$mf" : 'X\(//\)$' \| \
20229	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20230$as_echo X"$mf" |
20231    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20232	    s//\1/
20233	    q
20234	  }
20235	  /^X\(\/\/\)[^/].*/{
20236	    s//\1/
20237	    q
20238	  }
20239	  /^X\(\/\/\)$/{
20240	    s//\1/
20241	    q
20242	  }
20243	  /^X\(\/\).*/{
20244	    s//\1/
20245	    q
20246	  }
20247	  s/.*/./; q'`
20248    else
20249      continue
20250    fi
20251    # Extract the definition of DEPDIR, am__include, and am__quote
20252    # from the Makefile without running 'make'.
20253    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20254    test -z "$DEPDIR" && continue
20255    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20256    test -z "$am__include" && continue
20257    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20258    # Find all dependency output files, they are included files with
20259    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20260    # simplest approach to changing $(DEPDIR) to its actual value in the
20261    # expansion.
20262    for file in `sed -n "
20263      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20264	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20265      # Make sure the directory exists.
20266      test -f "$dirpart/$file" && continue
20267      fdir=`$as_dirname -- "$file" ||
20268$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20269	 X"$file" : 'X\(//\)[^/]' \| \
20270	 X"$file" : 'X\(//\)$' \| \
20271	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20272$as_echo X"$file" |
20273    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20274	    s//\1/
20275	    q
20276	  }
20277	  /^X\(\/\/\)[^/].*/{
20278	    s//\1/
20279	    q
20280	  }
20281	  /^X\(\/\/\)$/{
20282	    s//\1/
20283	    q
20284	  }
20285	  /^X\(\/\).*/{
20286	    s//\1/
20287	    q
20288	  }
20289	  s/.*/./; q'`
20290      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20291      # echo "creating $dirpart/$file"
20292      echo '# dummy' > "$dirpart/$file"
20293    done
20294  done
20295}
20296 ;;
20297    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
20298        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
20299      esac ;;
20300    "po/stamp-it":C)
20301    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20302       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20303    fi
20304    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20305    >"po/stamp-it.tmp"
20306    sed '/^#/d
20307	 s/^[[].*] *//
20308	 /^[ 	]*$/d
20309	'"s|^|	$ac_top_srcdir/|" \
20310      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20311
20312    sed '/^POTFILES =/,/[^\\]$/ {
20313		/^POTFILES =/!d
20314		r po/POTFILES
20315	  }
20316	 ' "po/Makefile.in" >"po/Makefile"
20317    rm -f "po/Makefile.tmp"
20318    mv "po/stamp-it.tmp" "po/stamp-it"
20319   ;;
20320
20321  esac
20322done # for ac_tag
20323
20324
20325as_fn_exit 0
20326_ACEOF
20327ac_clean_files=$ac_clean_files_save
20328
20329test $ac_write_fail = 0 ||
20330  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20331
20332
20333# configure is writing to config.log, and then calls config.status.
20334# config.status does its own redirection, appending to config.log.
20335# Unfortunately, on DOS this fails, as config.log is still kept open
20336# by configure, so config.status won't be able to write to it; its
20337# output is simply discarded.  So we exec the FD to /dev/null,
20338# effectively closing config.log, so it can be properly (re)opened and
20339# appended to by config.status.  When coming back to configure, we
20340# need to make the FD available again.
20341if test "$no_create" != yes; then
20342  ac_cs_success=:
20343  ac_config_status_args=
20344  test "$silent" = yes &&
20345    ac_config_status_args="$ac_config_status_args --quiet"
20346  exec 5>/dev/null
20347  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20348  exec 5>>config.log
20349  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20350  # would make configure fail if this is the last instruction.
20351  $ac_cs_success || as_fn_exit 1
20352fi
20353if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20354  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20355$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20356fi
20357
20358
20359cat rodent-samba.settings
20360echo "Build: $build"
20361
20362echo 'CFLAGS:' $CFLAGS
20363echo 'LDFLAGS:' $LDFLAGS
20364
20365if test "$ac_uname_s" = "Linux"; then
20366 echo 'Now do a make && sudo make install && sudo ldconfig'
20367else
20368 echo 'ATTENTION BSD user: Use gmake instead of make,'
20369 echo 'otherwise make process will halt with an error while building'
20370 echo 'translations.'
20371 echo '...'
20372 echo 'Now do a gmake && sudo gmake install && sudo ldconfig'
20373fi
20374
20375
20376
20377
20378