1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for rodent-pkg 5.3.16.3.
4#
5# Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/>.
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-pkg/ 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-pkg'
593PACKAGE_TARNAME='rodent-pkg'
594PACKAGE_VERSION='5.3.16.3'
595PACKAGE_STRING='rodent-pkg 5.3.16.3'
596PACKAGE_BUGREPORT='https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/'
597PACKAGE_URL='"http://xffm.org/rodent-pkg.html"'
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-pkg 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-pkg 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-pkg 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-pkg]
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-pkg 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-pkg/>.
1603rodent-pkg home page: <"http://xffm.org/rodent-pkg.html">.
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-pkg 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-pkg/ ##
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-pkg $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-pkg 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-pkg 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-pkg 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-pkg 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# check for libzip
11847
11848
11849
11850
11851
11852GTK_VERSION=`$PKG_CONFIG --variable gtk_version librfm`
11853GTK_PREFIX=`$PKG_CONFIG --variable prefix $GTK_VERSION`
11854RFM_PREFIX=`$PKG_CONFIG --variable prefix librfm`
11855RFM_MODULE_DIR=`$PKG_CONFIG --variable moduledir librfm`
11856
11857echo "GTK version used in librfm: $GTK_VERSION ($GTK_PREFIX)"
11858
11859
11860# Check whether --with-tcmalloc was given.
11861if test "${with_tcmalloc+set}" = set; then :
11862  withval=$with_tcmalloc;
11863fi
11864
11865
11866if test "$with_tcmalloc" = "yes"; then
11867
11868cat >>confdefs.h <<_ACEOF
11869#define TCMALLOC $with_tcmalloc
11870_ACEOF
11871
11872    TCMALLOC="-L/usr/local/lib/ -ltcmalloc"
11873else
11874    TCMALLOC=
11875fi
11876
11877
11878#deprecated: AM_INIT_AUTOMAKE([package()], [vers()])
11879#AM_INIT_AUTOMAKE([foreign])
11880#m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
11881am__api_version='1.15'
11882
11883# Find a good install program.  We prefer a C program (faster),
11884# so one script is as good as another.  But avoid the broken or
11885# incompatible versions:
11886# SysV /etc/install, /usr/sbin/install
11887# SunOS /usr/etc/install
11888# IRIX /sbin/install
11889# AIX /bin/install
11890# AmigaOS /C/install, which installs bootblocks on floppy discs
11891# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11892# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11893# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11894# OS/2's system install, which has a completely different semantic
11895# ./install, which can be erroneously created by make from ./install.sh.
11896# Reject install programs that cannot install multiple files.
11897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11898$as_echo_n "checking for a BSD-compatible install... " >&6; }
11899if test -z "$INSTALL"; then
11900if ${ac_cv_path_install+:} false; then :
11901  $as_echo_n "(cached) " >&6
11902else
11903  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11904for as_dir in $PATH
11905do
11906  IFS=$as_save_IFS
11907  test -z "$as_dir" && as_dir=.
11908    # Account for people who put trailing slashes in PATH elements.
11909case $as_dir/ in #((
11910  ./ | .// | /[cC]/* | \
11911  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11912  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
11913  /usr/ucb/* ) ;;
11914  *)
11915    # OSF1 and SCO ODT 3.0 have their own names for install.
11916    # Don't use installbsd from OSF since it installs stuff as root
11917    # by default.
11918    for ac_prog in ginstall scoinst install; do
11919      for ac_exec_ext in '' $ac_executable_extensions; do
11920	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11921	  if test $ac_prog = install &&
11922	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11923	    # AIX install.  It has an incompatible calling convention.
11924	    :
11925	  elif test $ac_prog = install &&
11926	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11927	    # program-specific install script used by HP pwplus--don't use.
11928	    :
11929	  else
11930	    rm -rf conftest.one conftest.two conftest.dir
11931	    echo one > conftest.one
11932	    echo two > conftest.two
11933	    mkdir conftest.dir
11934	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11935	      test -s conftest.one && test -s conftest.two &&
11936	      test -s conftest.dir/conftest.one &&
11937	      test -s conftest.dir/conftest.two
11938	    then
11939	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11940	      break 3
11941	    fi
11942	  fi
11943	fi
11944      done
11945    done
11946    ;;
11947esac
11948
11949  done
11950IFS=$as_save_IFS
11951
11952rm -rf conftest.one conftest.two conftest.dir
11953
11954fi
11955  if test "${ac_cv_path_install+set}" = set; then
11956    INSTALL=$ac_cv_path_install
11957  else
11958    # As a last resort, use the slow shell script.  Don't cache a
11959    # value for INSTALL within a source directory, because that will
11960    # break other packages using the cache if that directory is
11961    # removed, or if the value is a relative name.
11962    INSTALL=$ac_install_sh
11963  fi
11964fi
11965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11966$as_echo "$INSTALL" >&6; }
11967
11968# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11969# It thinks the first close brace ends the variable substitution.
11970test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11971
11972test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11973
11974test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11975
11976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
11977$as_echo_n "checking whether build environment is sane... " >&6; }
11978# Reject unsafe characters in $srcdir or the absolute working directory
11979# name.  Accept space and tab only in the latter.
11980am_lf='
11981'
11982case `pwd` in
11983  *[\\\"\#\$\&\'\`$am_lf]*)
11984    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
11985esac
11986case $srcdir in
11987  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
11988    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
11989esac
11990
11991# Do 'set' in a subshell so we don't clobber the current shell's
11992# arguments.  Must try -L first in case configure is actually a
11993# symlink; some systems play weird games with the mod time of symlinks
11994# (eg FreeBSD returns the mod time of the symlink's containing
11995# directory).
11996if (
11997   am_has_slept=no
11998   for am_try in 1 2; do
11999     echo "timestamp, slept: $am_has_slept" > conftest.file
12000     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12001     if test "$*" = "X"; then
12002	# -L didn't work.
12003	set X `ls -t "$srcdir/configure" conftest.file`
12004     fi
12005     if test "$*" != "X $srcdir/configure conftest.file" \
12006	&& test "$*" != "X conftest.file $srcdir/configure"; then
12007
12008	# If neither matched, then we have a broken ls.  This can happen
12009	# if, for instance, CONFIG_SHELL is bash and it inherits a
12010	# broken ls alias from the environment.  This has actually
12011	# happened.  Such a system could not be considered "sane".
12012	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
12013  alias in your environment" "$LINENO" 5
12014     fi
12015     if test "$2" = conftest.file || test $am_try -eq 2; then
12016       break
12017     fi
12018     # Just in case.
12019     sleep 1
12020     am_has_slept=yes
12021   done
12022   test "$2" = conftest.file
12023   )
12024then
12025   # Ok.
12026   :
12027else
12028   as_fn_error $? "newly created file is older than distributed files!
12029Check your system clock" "$LINENO" 5
12030fi
12031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12032$as_echo "yes" >&6; }
12033# If we didn't sleep, we still need to ensure time stamps of config.status and
12034# generated files are strictly newer.
12035am_sleep_pid=
12036if grep 'slept: no' conftest.file >/dev/null 2>&1; then
12037  ( sleep 1 ) &
12038  am_sleep_pid=$!
12039fi
12040
12041rm -f conftest.file
12042
12043test "$program_prefix" != NONE &&
12044  program_transform_name="s&^&$program_prefix&;$program_transform_name"
12045# Use a double $ so make ignores it.
12046test "$program_suffix" != NONE &&
12047  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
12048# Double any \ or $.
12049# By default was `s,x,x', remove it if useless.
12050ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
12051program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
12052
12053if test x"${MISSING+set}" != xset; then
12054  case $am_aux_dir in
12055  *\ * | *\	*)
12056    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
12057  *)
12058    MISSING="\${SHELL} $am_aux_dir/missing" ;;
12059  esac
12060fi
12061# Use eval to expand $SHELL
12062if eval "$MISSING --is-lightweight"; then
12063  am_missing_run="$MISSING "
12064else
12065  am_missing_run=
12066  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12067$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12068fi
12069
12070if test x"${install_sh+set}" != xset; then
12071  case $am_aux_dir in
12072  *\ * | *\	*)
12073    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
12074  *)
12075    install_sh="\${SHELL} $am_aux_dir/install-sh"
12076  esac
12077fi
12078
12079# Installed binaries are usually stripped using 'strip' when the user
12080# run "make install-strip".  However 'strip' might not be the right
12081# tool to use in cross-compilation environments, therefore Automake
12082# will honor the 'STRIP' environment variable to overrule this program.
12083if test "$cross_compiling" != no; then
12084  if test -n "$ac_tool_prefix"; then
12085  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12086set dummy ${ac_tool_prefix}strip; ac_word=$2
12087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12088$as_echo_n "checking for $ac_word... " >&6; }
12089if ${ac_cv_prog_STRIP+:} false; then :
12090  $as_echo_n "(cached) " >&6
12091else
12092  if test -n "$STRIP"; then
12093  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12094else
12095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12096for as_dir in $PATH
12097do
12098  IFS=$as_save_IFS
12099  test -z "$as_dir" && as_dir=.
12100    for ac_exec_ext in '' $ac_executable_extensions; do
12101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12102    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12104    break 2
12105  fi
12106done
12107  done
12108IFS=$as_save_IFS
12109
12110fi
12111fi
12112STRIP=$ac_cv_prog_STRIP
12113if test -n "$STRIP"; then
12114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12115$as_echo "$STRIP" >&6; }
12116else
12117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12118$as_echo "no" >&6; }
12119fi
12120
12121
12122fi
12123if test -z "$ac_cv_prog_STRIP"; then
12124  ac_ct_STRIP=$STRIP
12125  # Extract the first word of "strip", so it can be a program name with args.
12126set dummy strip; ac_word=$2
12127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12128$as_echo_n "checking for $ac_word... " >&6; }
12129if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
12130  $as_echo_n "(cached) " >&6
12131else
12132  if test -n "$ac_ct_STRIP"; then
12133  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12134else
12135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136for as_dir in $PATH
12137do
12138  IFS=$as_save_IFS
12139  test -z "$as_dir" && as_dir=.
12140    for ac_exec_ext in '' $ac_executable_extensions; do
12141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12142    ac_cv_prog_ac_ct_STRIP="strip"
12143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12144    break 2
12145  fi
12146done
12147  done
12148IFS=$as_save_IFS
12149
12150fi
12151fi
12152ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12153if test -n "$ac_ct_STRIP"; then
12154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12155$as_echo "$ac_ct_STRIP" >&6; }
12156else
12157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158$as_echo "no" >&6; }
12159fi
12160
12161  if test "x$ac_ct_STRIP" = x; then
12162    STRIP=":"
12163  else
12164    case $cross_compiling:$ac_tool_warned in
12165yes:)
12166{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12167$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12168ac_tool_warned=yes ;;
12169esac
12170    STRIP=$ac_ct_STRIP
12171  fi
12172else
12173  STRIP="$ac_cv_prog_STRIP"
12174fi
12175
12176fi
12177INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
12178
12179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12180$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12181if test -z "$MKDIR_P"; then
12182  if ${ac_cv_path_mkdir+:} false; then :
12183  $as_echo_n "(cached) " >&6
12184else
12185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12186for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
12187do
12188  IFS=$as_save_IFS
12189  test -z "$as_dir" && as_dir=.
12190    for ac_prog in mkdir gmkdir; do
12191	 for ac_exec_ext in '' $ac_executable_extensions; do
12192	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
12193	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12194	     'mkdir (GNU coreutils) '* | \
12195	     'mkdir (coreutils) '* | \
12196	     'mkdir (fileutils) '4.1*)
12197	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
12198	       break 3;;
12199	   esac
12200	 done
12201       done
12202  done
12203IFS=$as_save_IFS
12204
12205fi
12206
12207  test -d ./--version && rmdir ./--version
12208  if test "${ac_cv_path_mkdir+set}" = set; then
12209    MKDIR_P="$ac_cv_path_mkdir -p"
12210  else
12211    # As a last resort, use the slow shell script.  Don't cache a
12212    # value for MKDIR_P within a source directory, because that will
12213    # break other packages using the cache if that directory is
12214    # removed, or if the value is a relative name.
12215    MKDIR_P="$ac_install_sh -d"
12216  fi
12217fi
12218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12219$as_echo "$MKDIR_P" >&6; }
12220
12221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12222$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12223set x ${MAKE-make}
12224ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12225if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
12226  $as_echo_n "(cached) " >&6
12227else
12228  cat >conftest.make <<\_ACEOF
12229SHELL = /bin/sh
12230all:
12231	@echo '@@@%%%=$(MAKE)=@@@%%%'
12232_ACEOF
12233# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12234case `${MAKE-make} -f conftest.make 2>/dev/null` in
12235  *@@@%%%=?*=@@@%%%*)
12236    eval ac_cv_prog_make_${ac_make}_set=yes;;
12237  *)
12238    eval ac_cv_prog_make_${ac_make}_set=no;;
12239esac
12240rm -f conftest.make
12241fi
12242if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12244$as_echo "yes" >&6; }
12245  SET_MAKE=
12246else
12247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12248$as_echo "no" >&6; }
12249  SET_MAKE="MAKE=${MAKE-make}"
12250fi
12251
12252rm -rf .tst 2>/dev/null
12253mkdir .tst 2>/dev/null
12254if test -d .tst; then
12255  am__leading_dot=.
12256else
12257  am__leading_dot=_
12258fi
12259rmdir .tst 2>/dev/null
12260
12261DEPDIR="${am__leading_dot}deps"
12262
12263ac_config_commands="$ac_config_commands depfiles"
12264
12265
12266am_make=${MAKE-make}
12267cat > confinc << 'END'
12268am__doit:
12269	@echo this is the am__doit target
12270.PHONY: am__doit
12271END
12272# If we don't find an include directive, just comment out the code.
12273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12274$as_echo_n "checking for style of include used by $am_make... " >&6; }
12275am__include="#"
12276am__quote=
12277_am_result=none
12278# First try GNU make style include.
12279echo "include confinc" > confmf
12280# Ignore all kinds of additional output from 'make'.
12281case `$am_make -s -f confmf 2> /dev/null` in #(
12282*the\ am__doit\ target*)
12283  am__include=include
12284  am__quote=
12285  _am_result=GNU
12286  ;;
12287esac
12288# Now try BSD make style include.
12289if test "$am__include" = "#"; then
12290   echo '.include "confinc"' > confmf
12291   case `$am_make -s -f confmf 2> /dev/null` in #(
12292   *the\ am__doit\ target*)
12293     am__include=.include
12294     am__quote="\""
12295     _am_result=BSD
12296     ;;
12297   esac
12298fi
12299
12300
12301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12302$as_echo "$_am_result" >&6; }
12303rm -f confinc confmf
12304
12305# Check whether --enable-dependency-tracking was given.
12306if test "${enable_dependency_tracking+set}" = set; then :
12307  enableval=$enable_dependency_tracking;
12308fi
12309
12310if test "x$enable_dependency_tracking" != xno; then
12311  am_depcomp="$ac_aux_dir/depcomp"
12312  AMDEPBACKSLASH='\'
12313  am__nodep='_no'
12314fi
12315 if test "x$enable_dependency_tracking" != xno; then
12316  AMDEP_TRUE=
12317  AMDEP_FALSE='#'
12318else
12319  AMDEP_TRUE='#'
12320  AMDEP_FALSE=
12321fi
12322
12323
12324# Check whether --enable-silent-rules was given.
12325if test "${enable_silent_rules+set}" = set; then :
12326  enableval=$enable_silent_rules;
12327fi
12328
12329case $enable_silent_rules in
12330yes) AM_DEFAULT_VERBOSITY=0;;
12331no)  AM_DEFAULT_VERBOSITY=1;;
12332*)   AM_DEFAULT_VERBOSITY=1;;
12333esac
12334AM_BACKSLASH='\'
12335
12336if test "`cd $srcdir && pwd`" != "`pwd`"; then
12337  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12338  # is not polluted with repeated "-I."
12339  am__isrc=' -I$(srcdir)'
12340  # test to see if srcdir already configured
12341  if test -f $srcdir/config.status; then
12342    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12343  fi
12344fi
12345
12346# test whether we have cygpath
12347if test -z "$CYGPATH_W"; then
12348  if (cygpath --version) >/dev/null 2>/dev/null; then
12349    CYGPATH_W='cygpath -w'
12350  else
12351    CYGPATH_W=echo
12352  fi
12353fi
12354
12355
12356# Define the identity of the package.
12357 PACKAGE='rodent-pkg'
12358 VERSION='5.3.16.3'
12359
12360
12361cat >>confdefs.h <<_ACEOF
12362#define PACKAGE "$PACKAGE"
12363_ACEOF
12364
12365
12366cat >>confdefs.h <<_ACEOF
12367#define VERSION "$VERSION"
12368_ACEOF
12369
12370# Some tools Automake needs.
12371
12372ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12373
12374
12375AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
12376
12377
12378AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12379
12380
12381AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
12382
12383
12384MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
12385
12386# For better backward compatibility.  To be removed once Automake 1.9.x
12387# dies out for good.  For more background, see:
12388# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12389# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12390mkdir_p='$(MKDIR_P)'
12391
12392# We need awk for the "check" target (and possibly the TAP driver).  The
12393# system "awk" is bad on some platforms.
12394# Always define AMTAR for backward compatibility.  Yes, it's still used
12395# in the wild :-(  We should find a proper way to deprecate it ...
12396AMTAR='$${TAR-tar}'
12397
12398
12399# We'll loop over all known methods to create a tar archive until one works.
12400_am_tools='gnutar  pax cpio none'
12401
12402am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
12403
12404
12405
12406
12407
12408depcc="$CC"   am_compiler_list=
12409
12410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12411$as_echo_n "checking dependency style of $depcc... " >&6; }
12412if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12413  $as_echo_n "(cached) " >&6
12414else
12415  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12416  # We make a subdir and do the tests there.  Otherwise we can end up
12417  # making bogus files that we don't know about and never remove.  For
12418  # instance it was reported that on HP-UX the gcc test will end up
12419  # making a dummy file named 'D' -- because '-MD' means "put the output
12420  # in D".
12421  rm -rf conftest.dir
12422  mkdir conftest.dir
12423  # Copy depcomp to subdir because otherwise we won't find it if we're
12424  # using a relative directory.
12425  cp "$am_depcomp" conftest.dir
12426  cd conftest.dir
12427  # We will build objects and dependencies in a subdirectory because
12428  # it helps to detect inapplicable dependency modes.  For instance
12429  # both Tru64's cc and ICC support -MD to output dependencies as a
12430  # side effect of compilation, but ICC will put the dependencies in
12431  # the current directory while Tru64 will put them in the object
12432  # directory.
12433  mkdir sub
12434
12435  am_cv_CC_dependencies_compiler_type=none
12436  if test "$am_compiler_list" = ""; then
12437     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12438  fi
12439  am__universal=false
12440  case " $depcc " in #(
12441     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12442     esac
12443
12444  for depmode in $am_compiler_list; do
12445    # Setup a source with many dependencies, because some compilers
12446    # like to wrap large dependency lists on column 80 (with \), and
12447    # we should not choose a depcomp mode which is confused by this.
12448    #
12449    # We need to recreate these files for each test, as the compiler may
12450    # overwrite some of them when testing with obscure command lines.
12451    # This happens at least with the AIX C compiler.
12452    : > sub/conftest.c
12453    for i in 1 2 3 4 5 6; do
12454      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12455      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12456      # Solaris 10 /bin/sh.
12457      echo '/* dummy */' > sub/conftst$i.h
12458    done
12459    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12460
12461    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12462    # mode.  It turns out that the SunPro C++ compiler does not properly
12463    # handle '-M -o', and we need to detect this.  Also, some Intel
12464    # versions had trouble with output in subdirs.
12465    am__obj=sub/conftest.${OBJEXT-o}
12466    am__minus_obj="-o $am__obj"
12467    case $depmode in
12468    gcc)
12469      # This depmode causes a compiler race in universal mode.
12470      test "$am__universal" = false || continue
12471      ;;
12472    nosideeffect)
12473      # After this tag, mechanisms are not by side-effect, so they'll
12474      # only be used when explicitly requested.
12475      if test "x$enable_dependency_tracking" = xyes; then
12476	continue
12477      else
12478	break
12479      fi
12480      ;;
12481    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12482      # This compiler won't grok '-c -o', but also, the minuso test has
12483      # not run yet.  These depmodes are late enough in the game, and
12484      # so weak that their functioning should not be impacted.
12485      am__obj=conftest.${OBJEXT-o}
12486      am__minus_obj=
12487      ;;
12488    none) break ;;
12489    esac
12490    if depmode=$depmode \
12491       source=sub/conftest.c object=$am__obj \
12492       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12493       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12494         >/dev/null 2>conftest.err &&
12495       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12496       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12497       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12498       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12499      # icc doesn't choke on unknown options, it will just issue warnings
12500      # or remarks (even with -Werror).  So we grep stderr for any message
12501      # that says an option was ignored or not supported.
12502      # When given -MP, icc 7.0 and 7.1 complain thusly:
12503      #   icc: Command line warning: ignoring option '-M'; no argument required
12504      # The diagnosis changed in icc 8.0:
12505      #   icc: Command line remark: option '-MP' not supported
12506      if (grep 'ignoring option' conftest.err ||
12507          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12508        am_cv_CC_dependencies_compiler_type=$depmode
12509        break
12510      fi
12511    fi
12512  done
12513
12514  cd ..
12515  rm -rf conftest.dir
12516else
12517  am_cv_CC_dependencies_compiler_type=none
12518fi
12519
12520fi
12521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12522$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12523CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12524
12525 if
12526  test "x$enable_dependency_tracking" != xno \
12527  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12528  am__fastdepCC_TRUE=
12529  am__fastdepCC_FALSE='#'
12530else
12531  am__fastdepCC_TRUE='#'
12532  am__fastdepCC_FALSE=
12533fi
12534
12535
12536
12537# POSIX will say in a future version that running "rm -f" with no argument
12538# is OK; and we want to be able to make that assumption in our Makefile
12539# recipes.  So use an aggressive probe to check that the usage we want is
12540# actually supported "in the wild" to an acceptable degree.
12541# See automake bug#10828.
12542# To make any issue more visible, cause the running configure to be aborted
12543# by default if the 'rm' program in use doesn't match our expectations; the
12544# user can still override this though.
12545if rm -f && rm -fr && rm -rf; then : OK; else
12546  cat >&2 <<'END'
12547Oops!
12548
12549Your 'rm' program seems unable to run without file operands specified
12550on the command line, even when the '-f' option is present.  This is contrary
12551to the behaviour of most rm programs out there, and not conforming with
12552the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
12553
12554Please tell bug-automake@gnu.org about your system, including the value
12555of your $PATH and any error possibly output before this message.  This
12556can help us improve future automake versions.
12557
12558END
12559  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
12560    echo 'Configuration will proceed anyway, since you have set the' >&2
12561    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
12562    echo >&2
12563  else
12564    cat >&2 <<'END'
12565Aborting the configuration process, to ensure you take notice of the issue.
12566
12567You can download and install GNU coreutils to get an 'rm' implementation
12568that behaves properly: <http://www.gnu.org/software/coreutils/>.
12569
12570If you want to complete the configuration process using your problematic
12571'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
12572to "yes", and re-run configure.
12573
12574END
12575    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
12576  fi
12577fi
12578
12579# Check whether --enable-silent-rules was given.
12580if test "${enable_silent_rules+set}" = set; then :
12581  enableval=$enable_silent_rules;
12582fi
12583
12584case $enable_silent_rules in
12585yes) AM_DEFAULT_VERBOSITY=0;;
12586no)  AM_DEFAULT_VERBOSITY=1;;
12587*)   AM_DEFAULT_VERBOSITY=0;;
12588esac
12589AM_BACKSLASH='\'
12590
12591RFM_VERINFO=1:0:0
12592
12593
12594
12595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12596$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12597    # Check whether --enable-maintainer-mode was given.
12598if test "${enable_maintainer_mode+set}" = set; then :
12599  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12600else
12601  USE_MAINTAINER_MODE=no
12602fi
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12605$as_echo "$USE_MAINTAINER_MODE" >&6; }
12606   if test $USE_MAINTAINER_MODE = yes; then
12607  MAINTAINER_MODE_TRUE=
12608  MAINTAINER_MODE_FALSE='#'
12609else
12610  MAINTAINER_MODE_TRUE='#'
12611  MAINTAINER_MODE_FALSE=
12612fi
12613
12614  MAINT=$MAINTAINER_MODE_TRUE
12615
12616
12617ac_config_headers="$ac_config_headers config.h"
12618
12619
12620
12621
12622#RFM_ENABLE_PLUGIN([EXPERIMENTAL], [experimental], [Experimental], [plugins], [no])
12623
12624
12625# Check whether --with-mpt was given.
12626if test "${with_mpt+set}" = set; then :
12627  withval=$with_mpt;
12628fi
12629
12630if test "$with_mpt" != ""
12631then
12632	 WITH_MPT=$with_mpt
12633
12634cat >>confdefs.h <<_ACEOF
12635#define MAX_PREVIEW_THREADS $with_mpt
12636_ACEOF
12637
12638	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to $with_mpt" >&5
12639$as_echo "$as_me: Maximum preview threads set to $with_mpt" >&6;}
12640else
12641	 WITH_MPT=4
12642
12643cat >>confdefs.h <<_ACEOF
12644#define MAX_PREVIEW_THREADS 4
12645_ACEOF
12646
12647	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to 4" >&5
12648$as_echo "$as_me: Maximum preview threads set to 4" >&6;}
12649fi
12650
12651
12652SUMMARY="Advanced user search dialog"
12653DESCRIPTION="Advanced user search dialog"
12654RPM_DESCRIPTION="Advanced user search dialog"
12655HOMEPAGE="http://xffm.org/rodent-pkg.html"
12656
12657cat >>confdefs.h <<_ACEOF
12658#define HOMEPAGE "http://xffm.org/rodent-pkg.html"
12659_ACEOF
12660
12661
12662SRC_URI=http://sourceforge.net/projects/xffm/files/5.3.16.3/rodent-pkg-5.3.16.3.tar.gz
12663
12664LICENSE="  GNU General Public License version 3  "
12665
12666
12667cat >>confdefs.h <<_ACEOF
12668#define LICENSE "  GNU General Public License version 3  "
12669_ACEOF
12670
12671
12672BUGMAIL="https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/"
12673
12674
12675cat >>confdefs.h <<_ACEOF
12676#define BUGMAIL "https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/"
12677_ACEOF
12678
12679MASTER_SITE=http://sourceforge.net/projects/xffm/files
12680
12681
12682DBH_FILE_VERSION="DBH_2.0/64bit"
12683
12684
12685DBH_VERSION=5.3.16.3
12686
12687
12688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12689$as_echo_n "checking for library containing strerror... " >&6; }
12690if ${ac_cv_search_strerror+:} false; then :
12691  $as_echo_n "(cached) " >&6
12692else
12693  ac_func_search_save_LIBS=$LIBS
12694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695/* end confdefs.h.  */
12696
12697/* Override any GCC internal prototype to avoid an error.
12698   Use char because int might match the return type of a GCC
12699   builtin and then its argument prototype would still apply.  */
12700#ifdef __cplusplus
12701extern "C"
12702#endif
12703char strerror ();
12704int
12705main ()
12706{
12707return strerror ();
12708  ;
12709  return 0;
12710}
12711_ACEOF
12712for ac_lib in '' cposix; do
12713  if test -z "$ac_lib"; then
12714    ac_res="none required"
12715  else
12716    ac_res=-l$ac_lib
12717    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12718  fi
12719  if ac_fn_c_try_link "$LINENO"; then :
12720  ac_cv_search_strerror=$ac_res
12721fi
12722rm -f core conftest.err conftest.$ac_objext \
12723    conftest$ac_exeext
12724  if ${ac_cv_search_strerror+:} false; then :
12725  break
12726fi
12727done
12728if ${ac_cv_search_strerror+:} false; then :
12729
12730else
12731  ac_cv_search_strerror=no
12732fi
12733rm conftest.$ac_ext
12734LIBS=$ac_func_search_save_LIBS
12735fi
12736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12737$as_echo "$ac_cv_search_strerror" >&6; }
12738ac_res=$ac_cv_search_strerror
12739if test "$ac_res" != no; then :
12740  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12741
12742fi
12743
12744
12745ac_ext=c
12746ac_cpp='$CPP $CPPFLAGS'
12747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12749ac_compiler_gnu=$ac_cv_c_compiler_gnu
12750if test -n "$ac_tool_prefix"; then
12751  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12752set dummy ${ac_tool_prefix}gcc; ac_word=$2
12753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12754$as_echo_n "checking for $ac_word... " >&6; }
12755if ${ac_cv_prog_CC+:} false; then :
12756  $as_echo_n "(cached) " >&6
12757else
12758  if test -n "$CC"; then
12759  ac_cv_prog_CC="$CC" # Let the user override the test.
12760else
12761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12762for as_dir in $PATH
12763do
12764  IFS=$as_save_IFS
12765  test -z "$as_dir" && as_dir=.
12766    for ac_exec_ext in '' $ac_executable_extensions; do
12767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12768    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12770    break 2
12771  fi
12772done
12773  done
12774IFS=$as_save_IFS
12775
12776fi
12777fi
12778CC=$ac_cv_prog_CC
12779if test -n "$CC"; then
12780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12781$as_echo "$CC" >&6; }
12782else
12783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784$as_echo "no" >&6; }
12785fi
12786
12787
12788fi
12789if test -z "$ac_cv_prog_CC"; then
12790  ac_ct_CC=$CC
12791  # Extract the first word of "gcc", so it can be a program name with args.
12792set dummy gcc; ac_word=$2
12793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12794$as_echo_n "checking for $ac_word... " >&6; }
12795if ${ac_cv_prog_ac_ct_CC+:} false; then :
12796  $as_echo_n "(cached) " >&6
12797else
12798  if test -n "$ac_ct_CC"; then
12799  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12800else
12801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12802for as_dir in $PATH
12803do
12804  IFS=$as_save_IFS
12805  test -z "$as_dir" && as_dir=.
12806    for ac_exec_ext in '' $ac_executable_extensions; do
12807  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12808    ac_cv_prog_ac_ct_CC="gcc"
12809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12810    break 2
12811  fi
12812done
12813  done
12814IFS=$as_save_IFS
12815
12816fi
12817fi
12818ac_ct_CC=$ac_cv_prog_ac_ct_CC
12819if test -n "$ac_ct_CC"; then
12820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12821$as_echo "$ac_ct_CC" >&6; }
12822else
12823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824$as_echo "no" >&6; }
12825fi
12826
12827  if test "x$ac_ct_CC" = x; then
12828    CC=""
12829  else
12830    case $cross_compiling:$ac_tool_warned in
12831yes:)
12832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12834ac_tool_warned=yes ;;
12835esac
12836    CC=$ac_ct_CC
12837  fi
12838else
12839  CC="$ac_cv_prog_CC"
12840fi
12841
12842if test -z "$CC"; then
12843          if test -n "$ac_tool_prefix"; then
12844    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12845set dummy ${ac_tool_prefix}cc; ac_word=$2
12846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12847$as_echo_n "checking for $ac_word... " >&6; }
12848if ${ac_cv_prog_CC+:} false; then :
12849  $as_echo_n "(cached) " >&6
12850else
12851  if test -n "$CC"; then
12852  ac_cv_prog_CC="$CC" # Let the user override the test.
12853else
12854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12855for as_dir in $PATH
12856do
12857  IFS=$as_save_IFS
12858  test -z "$as_dir" && as_dir=.
12859    for ac_exec_ext in '' $ac_executable_extensions; do
12860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12861    ac_cv_prog_CC="${ac_tool_prefix}cc"
12862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12863    break 2
12864  fi
12865done
12866  done
12867IFS=$as_save_IFS
12868
12869fi
12870fi
12871CC=$ac_cv_prog_CC
12872if test -n "$CC"; then
12873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12874$as_echo "$CC" >&6; }
12875else
12876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12877$as_echo "no" >&6; }
12878fi
12879
12880
12881  fi
12882fi
12883if test -z "$CC"; then
12884  # Extract the first word of "cc", so it can be a program name with args.
12885set dummy cc; ac_word=$2
12886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12887$as_echo_n "checking for $ac_word... " >&6; }
12888if ${ac_cv_prog_CC+:} false; then :
12889  $as_echo_n "(cached) " >&6
12890else
12891  if test -n "$CC"; then
12892  ac_cv_prog_CC="$CC" # Let the user override the test.
12893else
12894  ac_prog_rejected=no
12895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12896for as_dir in $PATH
12897do
12898  IFS=$as_save_IFS
12899  test -z "$as_dir" && as_dir=.
12900    for ac_exec_ext in '' $ac_executable_extensions; do
12901  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12902    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12903       ac_prog_rejected=yes
12904       continue
12905     fi
12906    ac_cv_prog_CC="cc"
12907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12908    break 2
12909  fi
12910done
12911  done
12912IFS=$as_save_IFS
12913
12914if test $ac_prog_rejected = yes; then
12915  # We found a bogon in the path, so make sure we never use it.
12916  set dummy $ac_cv_prog_CC
12917  shift
12918  if test $# != 0; then
12919    # We chose a different compiler from the bogus one.
12920    # However, it has the same basename, so the bogon will be chosen
12921    # first if we set CC to just the basename; use the full file name.
12922    shift
12923    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12924  fi
12925fi
12926fi
12927fi
12928CC=$ac_cv_prog_CC
12929if test -n "$CC"; then
12930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12931$as_echo "$CC" >&6; }
12932else
12933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934$as_echo "no" >&6; }
12935fi
12936
12937
12938fi
12939if test -z "$CC"; then
12940  if test -n "$ac_tool_prefix"; then
12941  for ac_prog in cl.exe
12942  do
12943    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12944set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12946$as_echo_n "checking for $ac_word... " >&6; }
12947if ${ac_cv_prog_CC+:} false; then :
12948  $as_echo_n "(cached) " >&6
12949else
12950  if test -n "$CC"; then
12951  ac_cv_prog_CC="$CC" # Let the user override the test.
12952else
12953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12954for as_dir in $PATH
12955do
12956  IFS=$as_save_IFS
12957  test -z "$as_dir" && as_dir=.
12958    for ac_exec_ext in '' $ac_executable_extensions; do
12959  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12960    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12961    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12962    break 2
12963  fi
12964done
12965  done
12966IFS=$as_save_IFS
12967
12968fi
12969fi
12970CC=$ac_cv_prog_CC
12971if test -n "$CC"; then
12972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12973$as_echo "$CC" >&6; }
12974else
12975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12976$as_echo "no" >&6; }
12977fi
12978
12979
12980    test -n "$CC" && break
12981  done
12982fi
12983if test -z "$CC"; then
12984  ac_ct_CC=$CC
12985  for ac_prog in cl.exe
12986do
12987  # Extract the first word of "$ac_prog", so it can be a program name with args.
12988set dummy $ac_prog; ac_word=$2
12989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12990$as_echo_n "checking for $ac_word... " >&6; }
12991if ${ac_cv_prog_ac_ct_CC+:} false; then :
12992  $as_echo_n "(cached) " >&6
12993else
12994  if test -n "$ac_ct_CC"; then
12995  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12996else
12997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12998for as_dir in $PATH
12999do
13000  IFS=$as_save_IFS
13001  test -z "$as_dir" && as_dir=.
13002    for ac_exec_ext in '' $ac_executable_extensions; do
13003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13004    ac_cv_prog_ac_ct_CC="$ac_prog"
13005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13006    break 2
13007  fi
13008done
13009  done
13010IFS=$as_save_IFS
13011
13012fi
13013fi
13014ac_ct_CC=$ac_cv_prog_ac_ct_CC
13015if test -n "$ac_ct_CC"; then
13016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13017$as_echo "$ac_ct_CC" >&6; }
13018else
13019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13020$as_echo "no" >&6; }
13021fi
13022
13023
13024  test -n "$ac_ct_CC" && break
13025done
13026
13027  if test "x$ac_ct_CC" = x; then
13028    CC=""
13029  else
13030    case $cross_compiling:$ac_tool_warned in
13031yes:)
13032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13034ac_tool_warned=yes ;;
13035esac
13036    CC=$ac_ct_CC
13037  fi
13038fi
13039
13040fi
13041
13042
13043test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13044$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13045as_fn_error $? "no acceptable C compiler found in \$PATH
13046See \`config.log' for more details" "$LINENO" 5; }
13047
13048# Provide some information about the compiler.
13049$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13050set X $ac_compile
13051ac_compiler=$2
13052for ac_option in --version -v -V -qversion; do
13053  { { ac_try="$ac_compiler $ac_option >&5"
13054case "(($ac_try" in
13055  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13056  *) ac_try_echo=$ac_try;;
13057esac
13058eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13059$as_echo "$ac_try_echo"; } >&5
13060  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13061  ac_status=$?
13062  if test -s conftest.err; then
13063    sed '10a\
13064... rest of stderr output deleted ...
13065         10q' conftest.err >conftest.er1
13066    cat conftest.er1 >&5
13067  fi
13068  rm -f conftest.er1 conftest.err
13069  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070  test $ac_status = 0; }
13071done
13072
13073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13074$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13075if ${ac_cv_c_compiler_gnu+:} false; then :
13076  $as_echo_n "(cached) " >&6
13077else
13078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079/* end confdefs.h.  */
13080
13081int
13082main ()
13083{
13084#ifndef __GNUC__
13085       choke me
13086#endif
13087
13088  ;
13089  return 0;
13090}
13091_ACEOF
13092if ac_fn_c_try_compile "$LINENO"; then :
13093  ac_compiler_gnu=yes
13094else
13095  ac_compiler_gnu=no
13096fi
13097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13098ac_cv_c_compiler_gnu=$ac_compiler_gnu
13099
13100fi
13101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13102$as_echo "$ac_cv_c_compiler_gnu" >&6; }
13103if test $ac_compiler_gnu = yes; then
13104  GCC=yes
13105else
13106  GCC=
13107fi
13108ac_test_CFLAGS=${CFLAGS+set}
13109ac_save_CFLAGS=$CFLAGS
13110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13111$as_echo_n "checking whether $CC accepts -g... " >&6; }
13112if ${ac_cv_prog_cc_g+:} false; then :
13113  $as_echo_n "(cached) " >&6
13114else
13115  ac_save_c_werror_flag=$ac_c_werror_flag
13116   ac_c_werror_flag=yes
13117   ac_cv_prog_cc_g=no
13118   CFLAGS="-g"
13119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120/* end confdefs.h.  */
13121
13122int
13123main ()
13124{
13125
13126  ;
13127  return 0;
13128}
13129_ACEOF
13130if ac_fn_c_try_compile "$LINENO"; then :
13131  ac_cv_prog_cc_g=yes
13132else
13133  CFLAGS=""
13134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135/* end confdefs.h.  */
13136
13137int
13138main ()
13139{
13140
13141  ;
13142  return 0;
13143}
13144_ACEOF
13145if ac_fn_c_try_compile "$LINENO"; then :
13146
13147else
13148  ac_c_werror_flag=$ac_save_c_werror_flag
13149	 CFLAGS="-g"
13150	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151/* end confdefs.h.  */
13152
13153int
13154main ()
13155{
13156
13157  ;
13158  return 0;
13159}
13160_ACEOF
13161if ac_fn_c_try_compile "$LINENO"; then :
13162  ac_cv_prog_cc_g=yes
13163fi
13164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13165fi
13166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13167fi
13168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13169   ac_c_werror_flag=$ac_save_c_werror_flag
13170fi
13171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13172$as_echo "$ac_cv_prog_cc_g" >&6; }
13173if test "$ac_test_CFLAGS" = set; then
13174  CFLAGS=$ac_save_CFLAGS
13175elif test $ac_cv_prog_cc_g = yes; then
13176  if test "$GCC" = yes; then
13177    CFLAGS="-g -O2"
13178  else
13179    CFLAGS="-g"
13180  fi
13181else
13182  if test "$GCC" = yes; then
13183    CFLAGS="-O2"
13184  else
13185    CFLAGS=
13186  fi
13187fi
13188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13189$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13190if ${ac_cv_prog_cc_c89+:} false; then :
13191  $as_echo_n "(cached) " >&6
13192else
13193  ac_cv_prog_cc_c89=no
13194ac_save_CC=$CC
13195cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196/* end confdefs.h.  */
13197#include <stdarg.h>
13198#include <stdio.h>
13199struct stat;
13200/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13201struct buf { int x; };
13202FILE * (*rcsopen) (struct buf *, struct stat *, int);
13203static char *e (p, i)
13204     char **p;
13205     int i;
13206{
13207  return p[i];
13208}
13209static char *f (char * (*g) (char **, int), char **p, ...)
13210{
13211  char *s;
13212  va_list v;
13213  va_start (v,p);
13214  s = g (p, va_arg (v,int));
13215  va_end (v);
13216  return s;
13217}
13218
13219/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13220   function prototypes and stuff, but not '\xHH' hex character constants.
13221   These don't provoke an error unfortunately, instead are silently treated
13222   as 'x'.  The following induces an error, until -std is added to get
13223   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13224   array size at least.  It's necessary to write '\x00'==0 to get something
13225   that's true only with -std.  */
13226int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13227
13228/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13229   inside strings and character constants.  */
13230#define FOO(x) 'x'
13231int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13232
13233int test (int i, double x);
13234struct s1 {int (*f) (int a);};
13235struct s2 {int (*f) (double a);};
13236int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13237int argc;
13238char **argv;
13239int
13240main ()
13241{
13242return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13243  ;
13244  return 0;
13245}
13246_ACEOF
13247for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13248	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13249do
13250  CC="$ac_save_CC $ac_arg"
13251  if ac_fn_c_try_compile "$LINENO"; then :
13252  ac_cv_prog_cc_c89=$ac_arg
13253fi
13254rm -f core conftest.err conftest.$ac_objext
13255  test "x$ac_cv_prog_cc_c89" != "xno" && break
13256done
13257rm -f conftest.$ac_ext
13258CC=$ac_save_CC
13259
13260fi
13261# AC_CACHE_VAL
13262case "x$ac_cv_prog_cc_c89" in
13263  x)
13264    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13265$as_echo "none needed" >&6; } ;;
13266  xno)
13267    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13268$as_echo "unsupported" >&6; } ;;
13269  *)
13270    CC="$CC $ac_cv_prog_cc_c89"
13271    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13272$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13273esac
13274if test "x$ac_cv_prog_cc_c89" != xno; then :
13275
13276fi
13277
13278ac_ext=c
13279ac_cpp='$CPP $CPPFLAGS'
13280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13282ac_compiler_gnu=$ac_cv_c_compiler_gnu
13283
13284ac_ext=c
13285ac_cpp='$CPP $CPPFLAGS'
13286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13288ac_compiler_gnu=$ac_cv_c_compiler_gnu
13289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
13290$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
13291if ${am_cv_prog_cc_c_o+:} false; then :
13292  $as_echo_n "(cached) " >&6
13293else
13294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295/* end confdefs.h.  */
13296
13297int
13298main ()
13299{
13300
13301  ;
13302  return 0;
13303}
13304_ACEOF
13305  # Make sure it works both with $CC and with simple cc.
13306  # Following AC_PROG_CC_C_O, we do the test twice because some
13307  # compilers refuse to overwrite an existing .o file with -o,
13308  # though they will create one.
13309  am_cv_prog_cc_c_o=yes
13310  for am_i in 1 2; do
13311    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
13312   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
13313   ac_status=$?
13314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315   (exit $ac_status); } \
13316         && test -f conftest2.$ac_objext; then
13317      : OK
13318    else
13319      am_cv_prog_cc_c_o=no
13320      break
13321    fi
13322  done
13323  rm -f core conftest*
13324  unset am_i
13325fi
13326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
13327$as_echo "$am_cv_prog_cc_c_o" >&6; }
13328if test "$am_cv_prog_cc_c_o" != yes; then
13329   # Losing compiler, so override with the script.
13330   # FIXME: It is wrong to rewrite CC.
13331   # But if we don't then we get into trouble of one sort or another.
13332   # A longer-term fix would be to have automake use am__CC in this case,
13333   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13334   CC="$am_aux_dir/compile $CC"
13335fi
13336ac_ext=c
13337ac_cpp='$CPP $CPPFLAGS'
13338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340ac_compiler_gnu=$ac_cv_c_compiler_gnu
13341
13342
13343
13344
13345
13346
13347  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13348$as_echo_n "checking whether NLS is requested... " >&6; }
13349    # Check whether --enable-nls was given.
13350if test "${enable_nls+set}" = set; then :
13351  enableval=$enable_nls; USE_NLS=$enableval
13352else
13353  USE_NLS=yes
13354fi
13355
13356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13357$as_echo "$USE_NLS" >&6; }
13358
13359
13360
13361
13362case "$am__api_version" in
13363    1.01234)
13364	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13365    ;;
13366    *)
13367    ;;
13368esac
13369
13370INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13371INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13372INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13373if test -n ""; then
13374    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
13375$as_echo_n "checking for intltool >= ... " >&6; }
13376    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13377$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13378    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13379	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
13380fi
13381
13382# Extract the first word of "intltool-update", so it can be a program name with args.
13383set dummy intltool-update; ac_word=$2
13384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13385$as_echo_n "checking for $ac_word... " >&6; }
13386if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13387  $as_echo_n "(cached) " >&6
13388else
13389  case $INTLTOOL_UPDATE in
13390  [\\/]* | ?:[\\/]*)
13391  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13392  ;;
13393  *)
13394  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13395for as_dir in $PATH
13396do
13397  IFS=$as_save_IFS
13398  test -z "$as_dir" && as_dir=.
13399    for ac_exec_ext in '' $ac_executable_extensions; do
13400  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13401    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13402    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13403    break 2
13404  fi
13405done
13406  done
13407IFS=$as_save_IFS
13408
13409  ;;
13410esac
13411fi
13412INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13413if test -n "$INTLTOOL_UPDATE"; then
13414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13415$as_echo "$INTLTOOL_UPDATE" >&6; }
13416else
13417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13418$as_echo "no" >&6; }
13419fi
13420
13421
13422# Extract the first word of "intltool-merge", so it can be a program name with args.
13423set dummy intltool-merge; ac_word=$2
13424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13425$as_echo_n "checking for $ac_word... " >&6; }
13426if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13427  $as_echo_n "(cached) " >&6
13428else
13429  case $INTLTOOL_MERGE in
13430  [\\/]* | ?:[\\/]*)
13431  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13432  ;;
13433  *)
13434  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13435for as_dir in $PATH
13436do
13437  IFS=$as_save_IFS
13438  test -z "$as_dir" && as_dir=.
13439    for ac_exec_ext in '' $ac_executable_extensions; do
13440  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13441    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13442    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13443    break 2
13444  fi
13445done
13446  done
13447IFS=$as_save_IFS
13448
13449  ;;
13450esac
13451fi
13452INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13453if test -n "$INTLTOOL_MERGE"; then
13454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13455$as_echo "$INTLTOOL_MERGE" >&6; }
13456else
13457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13458$as_echo "no" >&6; }
13459fi
13460
13461
13462# Extract the first word of "intltool-extract", so it can be a program name with args.
13463set dummy intltool-extract; ac_word=$2
13464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13465$as_echo_n "checking for $ac_word... " >&6; }
13466if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13467  $as_echo_n "(cached) " >&6
13468else
13469  case $INTLTOOL_EXTRACT in
13470  [\\/]* | ?:[\\/]*)
13471  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13472  ;;
13473  *)
13474  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13475for as_dir in $PATH
13476do
13477  IFS=$as_save_IFS
13478  test -z "$as_dir" && as_dir=.
13479    for ac_exec_ext in '' $ac_executable_extensions; do
13480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13481    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13483    break 2
13484  fi
13485done
13486  done
13487IFS=$as_save_IFS
13488
13489  ;;
13490esac
13491fi
13492INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13493if test -n "$INTLTOOL_EXTRACT"; then
13494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13495$as_echo "$INTLTOOL_EXTRACT" >&6; }
13496else
13497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13498$as_echo "no" >&6; }
13499fi
13500
13501
13502if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13503    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13504fi
13505
13506if test -z "$AM_DEFAULT_VERBOSITY"; then
13507  AM_DEFAULT_VERBOSITY=1
13508fi
13509
13510
13511INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13512INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13513INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
13514
13515
13516
13517
13518INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13519intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13520intltool__v_merge_options_0='-q'
13521
13522
13523
13524
13525  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 $< $@'
13526INTLTOOL_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 $< $@'
13527     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 $< $@'
13528     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 $< $@'
13529      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 $< $@'
13530     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 $< $@'
13531   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 $< $@'
13532    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 $< $@'
13533INTLTOOL_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 $< $@'
13534       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 $< $@'
13535      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 $< $@'
13536if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13537      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 $< $@'
13538else
13539      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'
13540fi
13541      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 $< $@'
13542      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 $< $@'
13543    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 $< $@'
13544  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 $< $@'
13545    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 $< $@'
13546    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 $< $@'
13547   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 $< $@'
13548
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# Check the gettext tools to make sure they are GNU
13646# Extract the first word of "xgettext", so it can be a program name with args.
13647set dummy xgettext; ac_word=$2
13648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13649$as_echo_n "checking for $ac_word... " >&6; }
13650if ${ac_cv_path_XGETTEXT+:} false; then :
13651  $as_echo_n "(cached) " >&6
13652else
13653  case $XGETTEXT in
13654  [\\/]* | ?:[\\/]*)
13655  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13656  ;;
13657  *)
13658  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13659for as_dir in $PATH
13660do
13661  IFS=$as_save_IFS
13662  test -z "$as_dir" && as_dir=.
13663    for ac_exec_ext in '' $ac_executable_extensions; do
13664  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13665    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13666    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13667    break 2
13668  fi
13669done
13670  done
13671IFS=$as_save_IFS
13672
13673  ;;
13674esac
13675fi
13676XGETTEXT=$ac_cv_path_XGETTEXT
13677if test -n "$XGETTEXT"; then
13678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13679$as_echo "$XGETTEXT" >&6; }
13680else
13681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13682$as_echo "no" >&6; }
13683fi
13684
13685
13686# Extract the first word of "msgmerge", so it can be a program name with args.
13687set dummy msgmerge; ac_word=$2
13688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13689$as_echo_n "checking for $ac_word... " >&6; }
13690if ${ac_cv_path_MSGMERGE+:} false; then :
13691  $as_echo_n "(cached) " >&6
13692else
13693  case $MSGMERGE in
13694  [\\/]* | ?:[\\/]*)
13695  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13696  ;;
13697  *)
13698  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13699for as_dir in $PATH
13700do
13701  IFS=$as_save_IFS
13702  test -z "$as_dir" && as_dir=.
13703    for ac_exec_ext in '' $ac_executable_extensions; do
13704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13705    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13707    break 2
13708  fi
13709done
13710  done
13711IFS=$as_save_IFS
13712
13713  ;;
13714esac
13715fi
13716MSGMERGE=$ac_cv_path_MSGMERGE
13717if test -n "$MSGMERGE"; then
13718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13719$as_echo "$MSGMERGE" >&6; }
13720else
13721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13722$as_echo "no" >&6; }
13723fi
13724
13725
13726# Extract the first word of "msgfmt", so it can be a program name with args.
13727set dummy msgfmt; ac_word=$2
13728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13729$as_echo_n "checking for $ac_word... " >&6; }
13730if ${ac_cv_path_MSGFMT+:} false; then :
13731  $as_echo_n "(cached) " >&6
13732else
13733  case $MSGFMT in
13734  [\\/]* | ?:[\\/]*)
13735  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13736  ;;
13737  *)
13738  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13739for as_dir in $PATH
13740do
13741  IFS=$as_save_IFS
13742  test -z "$as_dir" && as_dir=.
13743    for ac_exec_ext in '' $ac_executable_extensions; do
13744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13745    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13747    break 2
13748  fi
13749done
13750  done
13751IFS=$as_save_IFS
13752
13753  ;;
13754esac
13755fi
13756MSGFMT=$ac_cv_path_MSGFMT
13757if test -n "$MSGFMT"; then
13758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13759$as_echo "$MSGFMT" >&6; }
13760else
13761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13762$as_echo "no" >&6; }
13763fi
13764
13765
13766# Extract the first word of "gmsgfmt", so it can be a program name with args.
13767set dummy gmsgfmt; ac_word=$2
13768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13769$as_echo_n "checking for $ac_word... " >&6; }
13770if ${ac_cv_path_GMSGFMT+:} false; then :
13771  $as_echo_n "(cached) " >&6
13772else
13773  case $GMSGFMT in
13774  [\\/]* | ?:[\\/]*)
13775  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13776  ;;
13777  *)
13778  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13779for as_dir in $PATH
13780do
13781  IFS=$as_save_IFS
13782  test -z "$as_dir" && as_dir=.
13783    for ac_exec_ext in '' $ac_executable_extensions; do
13784  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13785    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13787    break 2
13788  fi
13789done
13790  done
13791IFS=$as_save_IFS
13792
13793  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13794  ;;
13795esac
13796fi
13797GMSGFMT=$ac_cv_path_GMSGFMT
13798if test -n "$GMSGFMT"; then
13799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13800$as_echo "$GMSGFMT" >&6; }
13801else
13802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13803$as_echo "no" >&6; }
13804fi
13805
13806
13807if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13808    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13809fi
13810xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13811mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13812mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13813if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13814    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13815fi
13816
13817# Extract the first word of "perl", so it can be a program name with args.
13818set dummy perl; ac_word=$2
13819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13820$as_echo_n "checking for $ac_word... " >&6; }
13821if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13822  $as_echo_n "(cached) " >&6
13823else
13824  case $INTLTOOL_PERL in
13825  [\\/]* | ?:[\\/]*)
13826  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13827  ;;
13828  *)
13829  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13830for as_dir in $PATH
13831do
13832  IFS=$as_save_IFS
13833  test -z "$as_dir" && as_dir=.
13834    for ac_exec_ext in '' $ac_executable_extensions; do
13835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13836    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13838    break 2
13839  fi
13840done
13841  done
13842IFS=$as_save_IFS
13843
13844  ;;
13845esac
13846fi
13847INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13848if test -n "$INTLTOOL_PERL"; then
13849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13850$as_echo "$INTLTOOL_PERL" >&6; }
13851else
13852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13853$as_echo "no" >&6; }
13854fi
13855
13856
13857if test -z "$INTLTOOL_PERL"; then
13858   as_fn_error $? "perl not found" "$LINENO" 5
13859fi
13860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13861$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13862$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13863if test $? -ne 0; then
13864   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13865else
13866   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13868$as_echo "$IT_PERL_VERSION" >&6; }
13869fi
13870if test "x" != "xno-xml"; then
13871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13872$as_echo_n "checking for XML::Parser... " >&6; }
13873   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13874       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13875$as_echo "ok" >&6; }
13876   else
13877       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13878   fi
13879fi
13880
13881# Substitute ALL_LINGUAS so we can use it in po/Makefile
13882
13883
13884# Set DATADIRNAME correctly if it is not set yet
13885# (copied from glib-gettext.m4)
13886if test -z "$DATADIRNAME"; then
13887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888/* end confdefs.h.  */
13889
13890int
13891main ()
13892{
13893extern int _nl_msg_cat_cntr;
13894                       return _nl_msg_cat_cntr
13895  ;
13896  return 0;
13897}
13898_ACEOF
13899if ac_fn_c_try_link "$LINENO"; then :
13900  DATADIRNAME=share
13901else
13902  case $host in
13903    *-*-solaris*)
13904                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13905if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13906  DATADIRNAME=share
13907else
13908  DATADIRNAME=lib
13909fi
13910
13911    ;;
13912    *)
13913    DATADIRNAME=lib
13914    ;;
13915    esac
13916fi
13917rm -f core conftest.err conftest.$ac_objext \
13918    conftest$ac_exeext conftest.$ac_ext
13919fi
13920
13921
13922
13923
13924
13925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13926$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13927set x ${MAKE-make}
13928ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13929if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
13930  $as_echo_n "(cached) " >&6
13931else
13932  cat >conftest.make <<\_ACEOF
13933SHELL = /bin/sh
13934all:
13935	@echo '@@@%%%=$(MAKE)=@@@%%%'
13936_ACEOF
13937# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13938case `${MAKE-make} -f conftest.make 2>/dev/null` in
13939  *@@@%%%=?*=@@@%%%*)
13940    eval ac_cv_prog_make_${ac_make}_set=yes;;
13941  *)
13942    eval ac_cv_prog_make_${ac_make}_set=no;;
13943esac
13944rm -f conftest.make
13945fi
13946if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
13947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13948$as_echo "yes" >&6; }
13949  SET_MAKE=
13950else
13951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13952$as_echo "no" >&6; }
13953  SET_MAKE="MAKE=${MAKE-make}"
13954fi
13955
13956
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13958$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13959if ${ac_cv_c_bigendian+:} false; then :
13960  $as_echo_n "(cached) " >&6
13961else
13962  ac_cv_c_bigendian=unknown
13963    # See if we're dealing with a universal compiler.
13964    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965/* end confdefs.h.  */
13966#ifndef __APPLE_CC__
13967	       not a universal capable compiler
13968	     #endif
13969	     typedef int dummy;
13970
13971_ACEOF
13972if ac_fn_c_try_compile "$LINENO"; then :
13973
13974	# Check for potential -arch flags.  It is not universal unless
13975	# there are at least two -arch flags with different values.
13976	ac_arch=
13977	ac_prev=
13978	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13979	 if test -n "$ac_prev"; then
13980	   case $ac_word in
13981	     i?86 | x86_64 | ppc | ppc64)
13982	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13983		 ac_arch=$ac_word
13984	       else
13985		 ac_cv_c_bigendian=universal
13986		 break
13987	       fi
13988	       ;;
13989	   esac
13990	   ac_prev=
13991	 elif test "x$ac_word" = "x-arch"; then
13992	   ac_prev=arch
13993	 fi
13994       done
13995fi
13996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13997    if test $ac_cv_c_bigendian = unknown; then
13998      # See if sys/param.h defines the BYTE_ORDER macro.
13999      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000/* end confdefs.h.  */
14001#include <sys/types.h>
14002	     #include <sys/param.h>
14003
14004int
14005main ()
14006{
14007#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14008		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14009		     && LITTLE_ENDIAN)
14010	      bogus endian macros
14011	     #endif
14012
14013  ;
14014  return 0;
14015}
14016_ACEOF
14017if ac_fn_c_try_compile "$LINENO"; then :
14018  # It does; now see whether it defined to BIG_ENDIAN or not.
14019	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020/* end confdefs.h.  */
14021#include <sys/types.h>
14022		#include <sys/param.h>
14023
14024int
14025main ()
14026{
14027#if BYTE_ORDER != BIG_ENDIAN
14028		 not big endian
14029		#endif
14030
14031  ;
14032  return 0;
14033}
14034_ACEOF
14035if ac_fn_c_try_compile "$LINENO"; then :
14036  ac_cv_c_bigendian=yes
14037else
14038  ac_cv_c_bigendian=no
14039fi
14040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14041fi
14042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14043    fi
14044    if test $ac_cv_c_bigendian = unknown; then
14045      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14046      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047/* end confdefs.h.  */
14048#include <limits.h>
14049
14050int
14051main ()
14052{
14053#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14054	      bogus endian macros
14055	     #endif
14056
14057  ;
14058  return 0;
14059}
14060_ACEOF
14061if ac_fn_c_try_compile "$LINENO"; then :
14062  # It does; now see whether it defined to _BIG_ENDIAN or not.
14063	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064/* end confdefs.h.  */
14065#include <limits.h>
14066
14067int
14068main ()
14069{
14070#ifndef _BIG_ENDIAN
14071		 not big endian
14072		#endif
14073
14074  ;
14075  return 0;
14076}
14077_ACEOF
14078if ac_fn_c_try_compile "$LINENO"; then :
14079  ac_cv_c_bigendian=yes
14080else
14081  ac_cv_c_bigendian=no
14082fi
14083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14084fi
14085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14086    fi
14087    if test $ac_cv_c_bigendian = unknown; then
14088      # Compile a test program.
14089      if test "$cross_compiling" = yes; then :
14090  # Try to guess by grepping values from an object file.
14091	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14092/* end confdefs.h.  */
14093short int ascii_mm[] =
14094		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14095		short int ascii_ii[] =
14096		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14097		int use_ascii (int i) {
14098		  return ascii_mm[i] + ascii_ii[i];
14099		}
14100		short int ebcdic_ii[] =
14101		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14102		short int ebcdic_mm[] =
14103		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14104		int use_ebcdic (int i) {
14105		  return ebcdic_mm[i] + ebcdic_ii[i];
14106		}
14107		extern int foo;
14108
14109int
14110main ()
14111{
14112return use_ascii (foo) == use_ebcdic (foo);
14113  ;
14114  return 0;
14115}
14116_ACEOF
14117if ac_fn_c_try_compile "$LINENO"; then :
14118  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14119	      ac_cv_c_bigendian=yes
14120	    fi
14121	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14122	      if test "$ac_cv_c_bigendian" = unknown; then
14123		ac_cv_c_bigendian=no
14124	      else
14125		# finding both strings is unlikely to happen, but who knows?
14126		ac_cv_c_bigendian=unknown
14127	      fi
14128	    fi
14129fi
14130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14131else
14132  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133/* end confdefs.h.  */
14134$ac_includes_default
14135int
14136main ()
14137{
14138
14139	     /* Are we little or big endian?  From Harbison&Steele.  */
14140	     union
14141	     {
14142	       long int l;
14143	       char c[sizeof (long int)];
14144	     } u;
14145	     u.l = 1;
14146	     return u.c[sizeof (long int) - 1] == 1;
14147
14148  ;
14149  return 0;
14150}
14151_ACEOF
14152if ac_fn_c_try_run "$LINENO"; then :
14153  ac_cv_c_bigendian=no
14154else
14155  ac_cv_c_bigendian=yes
14156fi
14157rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14158  conftest.$ac_objext conftest.beam conftest.$ac_ext
14159fi
14160
14161    fi
14162fi
14163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14164$as_echo "$ac_cv_c_bigendian" >&6; }
14165 case $ac_cv_c_bigendian in #(
14166   yes)
14167     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14168;; #(
14169   no)
14170      ;; #(
14171   universal)
14172
14173$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14174
14175     ;; #(
14176   *)
14177     as_fn_error $? "unknown endianness
14178 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14179 esac
14180
14181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14182$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14183if ${ac_cv_c_const+:} false; then :
14184  $as_echo_n "(cached) " >&6
14185else
14186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187/* end confdefs.h.  */
14188
14189int
14190main ()
14191{
14192
14193#ifndef __cplusplus
14194  /* Ultrix mips cc rejects this sort of thing.  */
14195  typedef int charset[2];
14196  const charset cs = { 0, 0 };
14197  /* SunOS 4.1.1 cc rejects this.  */
14198  char const *const *pcpcc;
14199  char **ppc;
14200  /* NEC SVR4.0.2 mips cc rejects this.  */
14201  struct point {int x, y;};
14202  static struct point const zero = {0,0};
14203  /* AIX XL C 1.02.0.0 rejects this.
14204     It does not let you subtract one const X* pointer from another in
14205     an arm of an if-expression whose if-part is not a constant
14206     expression */
14207  const char *g = "string";
14208  pcpcc = &g + (g ? g-g : 0);
14209  /* HPUX 7.0 cc rejects these. */
14210  ++pcpcc;
14211  ppc = (char**) pcpcc;
14212  pcpcc = (char const *const *) ppc;
14213  { /* SCO 3.2v4 cc rejects this sort of thing.  */
14214    char tx;
14215    char *t = &tx;
14216    char const *s = 0 ? (char *) 0 : (char const *) 0;
14217
14218    *t++ = 0;
14219    if (s) return 0;
14220  }
14221  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14222    int x[] = {25, 17};
14223    const int *foo = &x[0];
14224    ++foo;
14225  }
14226  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14227    typedef const int *iptr;
14228    iptr p = 0;
14229    ++p;
14230  }
14231  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14232       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14233    struct s { int j; const int *ap[3]; } bx;
14234    struct s *b = &bx; b->j = 5;
14235  }
14236  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14237    const int foo = 10;
14238    if (!foo) return 0;
14239  }
14240  return !cs[0] && !zero.x;
14241#endif
14242
14243  ;
14244  return 0;
14245}
14246_ACEOF
14247if ac_fn_c_try_compile "$LINENO"; then :
14248  ac_cv_c_const=yes
14249else
14250  ac_cv_c_const=no
14251fi
14252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14253fi
14254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14255$as_echo "$ac_cv_c_const" >&6; }
14256if test $ac_cv_c_const = no; then
14257
14258$as_echo "#define const /**/" >>confdefs.h
14259
14260fi
14261
14262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14263$as_echo_n "checking for inline... " >&6; }
14264if ${ac_cv_c_inline+:} false; then :
14265  $as_echo_n "(cached) " >&6
14266else
14267  ac_cv_c_inline=no
14268for ac_kw in inline __inline__ __inline; do
14269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270/* end confdefs.h.  */
14271#ifndef __cplusplus
14272typedef int foo_t;
14273static $ac_kw foo_t static_foo () {return 0; }
14274$ac_kw foo_t foo () {return 0; }
14275#endif
14276
14277_ACEOF
14278if ac_fn_c_try_compile "$LINENO"; then :
14279  ac_cv_c_inline=$ac_kw
14280fi
14281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14282  test "$ac_cv_c_inline" != no && break
14283done
14284
14285fi
14286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14287$as_echo "$ac_cv_c_inline" >&6; }
14288
14289case $ac_cv_c_inline in
14290  inline | yes) ;;
14291  *)
14292    case $ac_cv_c_inline in
14293      no) ac_val=;;
14294      *) ac_val=$ac_cv_c_inline;;
14295    esac
14296    cat >>confdefs.h <<_ACEOF
14297#ifndef __cplusplus
14298#define inline $ac_val
14299#endif
14300_ACEOF
14301    ;;
14302esac
14303
14304
14305
14306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
14307$as_echo_n "checking for long double with more range or precision than double... " >&6; }
14308if ${ac_cv_type_long_double_wider+:} false; then :
14309  $as_echo_n "(cached) " >&6
14310else
14311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312/* end confdefs.h.  */
14313#include <float.h>
14314	    long double const a[] =
14315	      {
14316		 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
14317		 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
14318	      };
14319	    long double
14320	    f (long double x)
14321	    {
14322	       return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
14323			+ (x ? f (x) : 'c'));
14324	    }
14325
14326int
14327main ()
14328{
14329static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
14330		   + (DBL_MANT_DIG < LDBL_MANT_DIG)
14331		   - (LDBL_MAX_EXP < DBL_MAX_EXP)
14332		   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
14333	    && (int) LDBL_EPSILON == 0
14334	  )];
14335test_array [0] = 0;
14336return test_array [0];
14337
14338  ;
14339  return 0;
14340}
14341_ACEOF
14342if ac_fn_c_try_compile "$LINENO"; then :
14343  ac_cv_type_long_double_wider=yes
14344else
14345  ac_cv_type_long_double_wider=no
14346fi
14347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14348fi
14349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
14350$as_echo "$ac_cv_type_long_double_wider" >&6; }
14351  if test $ac_cv_type_long_double_wider = yes; then
14352
14353$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
14354
14355  fi
14356
14357    ac_cv_c_long_double=$ac_cv_type_long_double_wider
14358    if test $ac_cv_c_long_double = yes; then
14359
14360$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
14361
14362    fi
14363
14364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
14365$as_echo_n "checking for working volatile... " >&6; }
14366if ${ac_cv_c_volatile+:} false; then :
14367  $as_echo_n "(cached) " >&6
14368else
14369  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370/* end confdefs.h.  */
14371
14372int
14373main ()
14374{
14375
14376volatile int x;
14377int * volatile y = (int *) 0;
14378return !x && !y;
14379  ;
14380  return 0;
14381}
14382_ACEOF
14383if ac_fn_c_try_compile "$LINENO"; then :
14384  ac_cv_c_volatile=yes
14385else
14386  ac_cv_c_volatile=no
14387fi
14388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14389fi
14390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
14391$as_echo "$ac_cv_c_volatile" >&6; }
14392if test $ac_cv_c_volatile = no; then
14393
14394$as_echo "#define volatile /**/" >>confdefs.h
14395
14396fi
14397
14398ac_header_dirent=no
14399for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14400  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14402$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14403if eval \${$as_ac_Header+:} false; then :
14404  $as_echo_n "(cached) " >&6
14405else
14406  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407/* end confdefs.h.  */
14408#include <sys/types.h>
14409#include <$ac_hdr>
14410
14411int
14412main ()
14413{
14414if ((DIR *) 0)
14415return 0;
14416  ;
14417  return 0;
14418}
14419_ACEOF
14420if ac_fn_c_try_compile "$LINENO"; then :
14421  eval "$as_ac_Header=yes"
14422else
14423  eval "$as_ac_Header=no"
14424fi
14425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426fi
14427eval ac_res=\$$as_ac_Header
14428	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14429$as_echo "$ac_res" >&6; }
14430if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14431  cat >>confdefs.h <<_ACEOF
14432#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14433_ACEOF
14434
14435ac_header_dirent=$ac_hdr; break
14436fi
14437
14438done
14439# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14440if test $ac_header_dirent = dirent.h; then
14441  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14442$as_echo_n "checking for library containing opendir... " >&6; }
14443if ${ac_cv_search_opendir+:} false; then :
14444  $as_echo_n "(cached) " >&6
14445else
14446  ac_func_search_save_LIBS=$LIBS
14447cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448/* end confdefs.h.  */
14449
14450/* Override any GCC internal prototype to avoid an error.
14451   Use char because int might match the return type of a GCC
14452   builtin and then its argument prototype would still apply.  */
14453#ifdef __cplusplus
14454extern "C"
14455#endif
14456char opendir ();
14457int
14458main ()
14459{
14460return opendir ();
14461  ;
14462  return 0;
14463}
14464_ACEOF
14465for ac_lib in '' dir; do
14466  if test -z "$ac_lib"; then
14467    ac_res="none required"
14468  else
14469    ac_res=-l$ac_lib
14470    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14471  fi
14472  if ac_fn_c_try_link "$LINENO"; then :
14473  ac_cv_search_opendir=$ac_res
14474fi
14475rm -f core conftest.err conftest.$ac_objext \
14476    conftest$ac_exeext
14477  if ${ac_cv_search_opendir+:} false; then :
14478  break
14479fi
14480done
14481if ${ac_cv_search_opendir+:} false; then :
14482
14483else
14484  ac_cv_search_opendir=no
14485fi
14486rm conftest.$ac_ext
14487LIBS=$ac_func_search_save_LIBS
14488fi
14489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14490$as_echo "$ac_cv_search_opendir" >&6; }
14491ac_res=$ac_cv_search_opendir
14492if test "$ac_res" != no; then :
14493  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14494
14495fi
14496
14497else
14498  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14499$as_echo_n "checking for library containing opendir... " >&6; }
14500if ${ac_cv_search_opendir+:} false; then :
14501  $as_echo_n "(cached) " >&6
14502else
14503  ac_func_search_save_LIBS=$LIBS
14504cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505/* end confdefs.h.  */
14506
14507/* Override any GCC internal prototype to avoid an error.
14508   Use char because int might match the return type of a GCC
14509   builtin and then its argument prototype would still apply.  */
14510#ifdef __cplusplus
14511extern "C"
14512#endif
14513char opendir ();
14514int
14515main ()
14516{
14517return opendir ();
14518  ;
14519  return 0;
14520}
14521_ACEOF
14522for ac_lib in '' x; do
14523  if test -z "$ac_lib"; then
14524    ac_res="none required"
14525  else
14526    ac_res=-l$ac_lib
14527    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14528  fi
14529  if ac_fn_c_try_link "$LINENO"; then :
14530  ac_cv_search_opendir=$ac_res
14531fi
14532rm -f core conftest.err conftest.$ac_objext \
14533    conftest$ac_exeext
14534  if ${ac_cv_search_opendir+:} false; then :
14535  break
14536fi
14537done
14538if ${ac_cv_search_opendir+:} false; then :
14539
14540else
14541  ac_cv_search_opendir=no
14542fi
14543rm conftest.$ac_ext
14544LIBS=$ac_func_search_save_LIBS
14545fi
14546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14547$as_echo "$ac_cv_search_opendir" >&6; }
14548ac_res=$ac_cv_search_opendir
14549if test "$ac_res" != no; then :
14550  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14551
14552fi
14553
14554fi
14555
14556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14557$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14558if ${ac_cv_c_const+:} false; then :
14559  $as_echo_n "(cached) " >&6
14560else
14561  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562/* end confdefs.h.  */
14563
14564int
14565main ()
14566{
14567
14568#ifndef __cplusplus
14569  /* Ultrix mips cc rejects this sort of thing.  */
14570  typedef int charset[2];
14571  const charset cs = { 0, 0 };
14572  /* SunOS 4.1.1 cc rejects this.  */
14573  char const *const *pcpcc;
14574  char **ppc;
14575  /* NEC SVR4.0.2 mips cc rejects this.  */
14576  struct point {int x, y;};
14577  static struct point const zero = {0,0};
14578  /* AIX XL C 1.02.0.0 rejects this.
14579     It does not let you subtract one const X* pointer from another in
14580     an arm of an if-expression whose if-part is not a constant
14581     expression */
14582  const char *g = "string";
14583  pcpcc = &g + (g ? g-g : 0);
14584  /* HPUX 7.0 cc rejects these. */
14585  ++pcpcc;
14586  ppc = (char**) pcpcc;
14587  pcpcc = (char const *const *) ppc;
14588  { /* SCO 3.2v4 cc rejects this sort of thing.  */
14589    char tx;
14590    char *t = &tx;
14591    char const *s = 0 ? (char *) 0 : (char const *) 0;
14592
14593    *t++ = 0;
14594    if (s) return 0;
14595  }
14596  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14597    int x[] = {25, 17};
14598    const int *foo = &x[0];
14599    ++foo;
14600  }
14601  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14602    typedef const int *iptr;
14603    iptr p = 0;
14604    ++p;
14605  }
14606  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14607       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14608    struct s { int j; const int *ap[3]; } bx;
14609    struct s *b = &bx; b->j = 5;
14610  }
14611  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14612    const int foo = 10;
14613    if (!foo) return 0;
14614  }
14615  return !cs[0] && !zero.x;
14616#endif
14617
14618  ;
14619  return 0;
14620}
14621_ACEOF
14622if ac_fn_c_try_compile "$LINENO"; then :
14623  ac_cv_c_const=yes
14624else
14625  ac_cv_c_const=no
14626fi
14627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14628fi
14629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14630$as_echo "$ac_cv_c_const" >&6; }
14631if test $ac_cv_c_const = no; then
14632
14633$as_echo "#define const /**/" >>confdefs.h
14634
14635fi
14636
14637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14638$as_echo_n "checking for inline... " >&6; }
14639if ${ac_cv_c_inline+:} false; then :
14640  $as_echo_n "(cached) " >&6
14641else
14642  ac_cv_c_inline=no
14643for ac_kw in inline __inline__ __inline; do
14644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645/* end confdefs.h.  */
14646#ifndef __cplusplus
14647typedef int foo_t;
14648static $ac_kw foo_t static_foo () {return 0; }
14649$ac_kw foo_t foo () {return 0; }
14650#endif
14651
14652_ACEOF
14653if ac_fn_c_try_compile "$LINENO"; then :
14654  ac_cv_c_inline=$ac_kw
14655fi
14656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14657  test "$ac_cv_c_inline" != no && break
14658done
14659
14660fi
14661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14662$as_echo "$ac_cv_c_inline" >&6; }
14663
14664case $ac_cv_c_inline in
14665  inline | yes) ;;
14666  *)
14667    case $ac_cv_c_inline in
14668      no) ac_val=;;
14669      *) ac_val=$ac_cv_c_inline;;
14670    esac
14671    cat >>confdefs.h <<_ACEOF
14672#ifndef __cplusplus
14673#define inline $ac_val
14674#endif
14675_ACEOF
14676    ;;
14677esac
14678
14679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14680$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14681if ${ac_cv_header_time+:} false; then :
14682  $as_echo_n "(cached) " >&6
14683else
14684  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685/* end confdefs.h.  */
14686#include <sys/types.h>
14687#include <sys/time.h>
14688#include <time.h>
14689
14690int
14691main ()
14692{
14693if ((struct tm *) 0)
14694return 0;
14695  ;
14696  return 0;
14697}
14698_ACEOF
14699if ac_fn_c_try_compile "$LINENO"; then :
14700  ac_cv_header_time=yes
14701else
14702  ac_cv_header_time=no
14703fi
14704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705fi
14706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14707$as_echo "$ac_cv_header_time" >&6; }
14708if test $ac_cv_header_time = yes; then
14709
14710$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14711
14712fi
14713
14714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14715$as_echo_n "checking return type of signal handlers... " >&6; }
14716if ${ac_cv_type_signal+:} false; then :
14717  $as_echo_n "(cached) " >&6
14718else
14719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720/* end confdefs.h.  */
14721#include <sys/types.h>
14722#include <signal.h>
14723
14724int
14725main ()
14726{
14727return *(signal (0, 0)) (0) == 1;
14728  ;
14729  return 0;
14730}
14731_ACEOF
14732if ac_fn_c_try_compile "$LINENO"; then :
14733  ac_cv_type_signal=int
14734else
14735  ac_cv_type_signal=void
14736fi
14737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14738fi
14739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14740$as_echo "$ac_cv_type_signal" >&6; }
14741
14742cat >>confdefs.h <<_ACEOF
14743#define RETSIGTYPE $ac_cv_type_signal
14744_ACEOF
14745
14746
14747
14748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking integer bit order" >&5
14749$as_echo_n "checking integer bit order... " >&6; }
14750case xyes in
14751x$ac_cv_c_bigendian)
14752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: bigendian" >&5
14753$as_echo "bigendian" >&6; }
14754  CFLAGS="$CFLAGS -DTURN"
14755  ;;
14756*)
14757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: littleendian" >&5
14758$as_echo "littleendian" >&6; }
14759  ;;
14760esac
14761# The cast to long int works around a bug in the HP C Compiler
14762# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14763# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14764# This bug is HP SR number 8606223364.
14765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14766$as_echo_n "checking size of short... " >&6; }
14767if ${ac_cv_sizeof_short+:} false; then :
14768  $as_echo_n "(cached) " >&6
14769else
14770  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
14771
14772else
14773  if test "$ac_cv_type_short" = yes; then
14774     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14775$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14776as_fn_error 77 "cannot compute sizeof (short)
14777See \`config.log' for more details" "$LINENO" 5; }
14778   else
14779     ac_cv_sizeof_short=0
14780   fi
14781fi
14782
14783fi
14784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14785$as_echo "$ac_cv_sizeof_short" >&6; }
14786
14787
14788
14789cat >>confdefs.h <<_ACEOF
14790#define SIZEOF_SHORT $ac_cv_sizeof_short
14791_ACEOF
14792
14793
14794# The cast to long int works around a bug in the HP C Compiler
14795# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14796# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14797# This bug is HP SR number 8606223364.
14798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14799$as_echo_n "checking size of int... " >&6; }
14800if ${ac_cv_sizeof_int+:} false; then :
14801  $as_echo_n "(cached) " >&6
14802else
14803  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
14804
14805else
14806  if test "$ac_cv_type_int" = yes; then
14807     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14808$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14809as_fn_error 77 "cannot compute sizeof (int)
14810See \`config.log' for more details" "$LINENO" 5; }
14811   else
14812     ac_cv_sizeof_int=0
14813   fi
14814fi
14815
14816fi
14817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14818$as_echo "$ac_cv_sizeof_int" >&6; }
14819
14820
14821
14822cat >>confdefs.h <<_ACEOF
14823#define SIZEOF_INT $ac_cv_sizeof_int
14824_ACEOF
14825
14826
14827# The cast to long int works around a bug in the HP C Compiler
14828# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14829# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14830# This bug is HP SR number 8606223364.
14831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14832$as_echo_n "checking size of long... " >&6; }
14833if ${ac_cv_sizeof_long+:} false; then :
14834  $as_echo_n "(cached) " >&6
14835else
14836  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
14837
14838else
14839  if test "$ac_cv_type_long" = yes; then
14840     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14841$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14842as_fn_error 77 "cannot compute sizeof (long)
14843See \`config.log' for more details" "$LINENO" 5; }
14844   else
14845     ac_cv_sizeof_long=0
14846   fi
14847fi
14848
14849fi
14850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14851$as_echo "$ac_cv_sizeof_long" >&6; }
14852
14853
14854
14855cat >>confdefs.h <<_ACEOF
14856#define SIZEOF_LONG $ac_cv_sizeof_long
14857_ACEOF
14858
14859
14860# The cast to long int works around a bug in the HP C Compiler
14861# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14862# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14863# This bug is HP SR number 8606223364.
14864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
14865$as_echo_n "checking size of long long... " >&6; }
14866if ${ac_cv_sizeof_long_long+:} false; then :
14867  $as_echo_n "(cached) " >&6
14868else
14869  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
14870
14871else
14872  if test "$ac_cv_type_long_long" = yes; then
14873     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14875as_fn_error 77 "cannot compute sizeof (long long)
14876See \`config.log' for more details" "$LINENO" 5; }
14877   else
14878     ac_cv_sizeof_long_long=0
14879   fi
14880fi
14881
14882fi
14883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
14884$as_echo "$ac_cv_sizeof_long_long" >&6; }
14885
14886
14887
14888cat >>confdefs.h <<_ACEOF
14889#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14890_ACEOF
14891
14892
14893# The cast to long int works around a bug in the HP C Compiler
14894# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14895# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14896# This bug is HP SR number 8606223364.
14897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char *" >&5
14898$as_echo_n "checking size of unsigned char *... " >&6; }
14899if ${ac_cv_sizeof_unsigned_char_p+:} false; then :
14900  $as_echo_n "(cached) " >&6
14901else
14902  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p"        "$ac_includes_default"; then :
14903
14904else
14905  if test "$ac_cv_type_unsigned_char_p" = yes; then
14906     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14907$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14908as_fn_error 77 "cannot compute sizeof (unsigned char *)
14909See \`config.log' for more details" "$LINENO" 5; }
14910   else
14911     ac_cv_sizeof_unsigned_char_p=0
14912   fi
14913fi
14914
14915fi
14916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5
14917$as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; }
14918
14919
14920
14921cat >>confdefs.h <<_ACEOF
14922#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
14923_ACEOF
14924
14925
14926# Check whether --enable-largefile was given.
14927if test "${enable_largefile+set}" = set; then :
14928  enableval=$enable_largefile;
14929fi
14930
14931if test "$enable_largefile" != no; then
14932
14933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14934$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14935if ${ac_cv_sys_largefile_CC+:} false; then :
14936  $as_echo_n "(cached) " >&6
14937else
14938  ac_cv_sys_largefile_CC=no
14939     if test "$GCC" != yes; then
14940       ac_save_CC=$CC
14941       while :; do
14942	 # IRIX 6.2 and later do not support large files by default,
14943	 # so use the C compiler's -n32 option if that helps.
14944	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945/* end confdefs.h.  */
14946#include <sys/types.h>
14947 /* Check that off_t can represent 2**63 - 1 correctly.
14948    We can't simply define LARGE_OFF_T to be 9223372036854775807,
14949    since some C++ compilers masquerading as C compilers
14950    incorrectly reject 9223372036854775807.  */
14951#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14952  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14953		       && LARGE_OFF_T % 2147483647 == 1)
14954		      ? 1 : -1];
14955int
14956main ()
14957{
14958
14959  ;
14960  return 0;
14961}
14962_ACEOF
14963	 if ac_fn_c_try_compile "$LINENO"; then :
14964  break
14965fi
14966rm -f core conftest.err conftest.$ac_objext
14967	 CC="$CC -n32"
14968	 if ac_fn_c_try_compile "$LINENO"; then :
14969  ac_cv_sys_largefile_CC=' -n32'; break
14970fi
14971rm -f core conftest.err conftest.$ac_objext
14972	 break
14973       done
14974       CC=$ac_save_CC
14975       rm -f conftest.$ac_ext
14976    fi
14977fi
14978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14979$as_echo "$ac_cv_sys_largefile_CC" >&6; }
14980  if test "$ac_cv_sys_largefile_CC" != no; then
14981    CC=$CC$ac_cv_sys_largefile_CC
14982  fi
14983
14984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14985$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14986if ${ac_cv_sys_file_offset_bits+:} false; then :
14987  $as_echo_n "(cached) " >&6
14988else
14989  while :; do
14990  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991/* end confdefs.h.  */
14992#include <sys/types.h>
14993 /* Check that off_t can represent 2**63 - 1 correctly.
14994    We can't simply define LARGE_OFF_T to be 9223372036854775807,
14995    since some C++ compilers masquerading as C compilers
14996    incorrectly reject 9223372036854775807.  */
14997#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14998  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14999		       && LARGE_OFF_T % 2147483647 == 1)
15000		      ? 1 : -1];
15001int
15002main ()
15003{
15004
15005  ;
15006  return 0;
15007}
15008_ACEOF
15009if ac_fn_c_try_compile "$LINENO"; then :
15010  ac_cv_sys_file_offset_bits=no; break
15011fi
15012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15013  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014/* end confdefs.h.  */
15015#define _FILE_OFFSET_BITS 64
15016#include <sys/types.h>
15017 /* Check that off_t can represent 2**63 - 1 correctly.
15018    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15019    since some C++ compilers masquerading as C compilers
15020    incorrectly reject 9223372036854775807.  */
15021#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15022  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15023		       && LARGE_OFF_T % 2147483647 == 1)
15024		      ? 1 : -1];
15025int
15026main ()
15027{
15028
15029  ;
15030  return 0;
15031}
15032_ACEOF
15033if ac_fn_c_try_compile "$LINENO"; then :
15034  ac_cv_sys_file_offset_bits=64; break
15035fi
15036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15037  ac_cv_sys_file_offset_bits=unknown
15038  break
15039done
15040fi
15041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15042$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15043case $ac_cv_sys_file_offset_bits in #(
15044  no | unknown) ;;
15045  *)
15046cat >>confdefs.h <<_ACEOF
15047#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15048_ACEOF
15049;;
15050esac
15051rm -rf conftest*
15052  if test $ac_cv_sys_file_offset_bits = unknown; then
15053    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15054$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15055if ${ac_cv_sys_large_files+:} false; then :
15056  $as_echo_n "(cached) " >&6
15057else
15058  while :; do
15059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060/* end confdefs.h.  */
15061#include <sys/types.h>
15062 /* Check that off_t can represent 2**63 - 1 correctly.
15063    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15064    since some C++ compilers masquerading as C compilers
15065    incorrectly reject 9223372036854775807.  */
15066#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15067  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15068		       && LARGE_OFF_T % 2147483647 == 1)
15069		      ? 1 : -1];
15070int
15071main ()
15072{
15073
15074  ;
15075  return 0;
15076}
15077_ACEOF
15078if ac_fn_c_try_compile "$LINENO"; then :
15079  ac_cv_sys_large_files=no; break
15080fi
15081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083/* end confdefs.h.  */
15084#define _LARGE_FILES 1
15085#include <sys/types.h>
15086 /* Check that off_t can represent 2**63 - 1 correctly.
15087    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15088    since some C++ compilers masquerading as C compilers
15089    incorrectly reject 9223372036854775807.  */
15090#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15091  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15092		       && LARGE_OFF_T % 2147483647 == 1)
15093		      ? 1 : -1];
15094int
15095main ()
15096{
15097
15098  ;
15099  return 0;
15100}
15101_ACEOF
15102if ac_fn_c_try_compile "$LINENO"; then :
15103  ac_cv_sys_large_files=1; break
15104fi
15105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15106  ac_cv_sys_large_files=unknown
15107  break
15108done
15109fi
15110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15111$as_echo "$ac_cv_sys_large_files" >&6; }
15112case $ac_cv_sys_large_files in #(
15113  no | unknown) ;;
15114  *)
15115cat >>confdefs.h <<_ACEOF
15116#define _LARGE_FILES $ac_cv_sys_large_files
15117_ACEOF
15118;;
15119esac
15120rm -rf conftest*
15121  fi
15122
15123
15124fi
15125
15126
15127if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
15128    { $as_echo "$as_me:${as_lineno-$LINENO}: result: FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&5
15129$as_echo "FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&6; }
15130    FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits
15131
15132fi
15133# The cast to long int works around a bug in the HP C Compiler
15134# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15135# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15136# This bug is HP SR number 8606223364.
15137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
15138$as_echo_n "checking size of size_t... " >&6; }
15139if ${ac_cv_sizeof_size_t+:} false; then :
15140  $as_echo_n "(cached) " >&6
15141else
15142  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
15143
15144else
15145  if test "$ac_cv_type_size_t" = yes; then
15146     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15147$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15148as_fn_error 77 "cannot compute sizeof (size_t)
15149See \`config.log' for more details" "$LINENO" 5; }
15150   else
15151     ac_cv_sizeof_size_t=0
15152   fi
15153fi
15154
15155fi
15156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
15157$as_echo "$ac_cv_sizeof_size_t" >&6; }
15158
15159
15160
15161cat >>confdefs.h <<_ACEOF
15162#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
15163_ACEOF
15164
15165
15166# The cast to long int works around a bug in the HP C Compiler
15167# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15168# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15169# This bug is HP SR number 8606223364.
15170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
15171$as_echo_n "checking size of off_t... " >&6; }
15172if ${ac_cv_sizeof_off_t+:} false; then :
15173  $as_echo_n "(cached) " >&6
15174else
15175  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
15176
15177else
15178  if test "$ac_cv_type_off_t" = yes; then
15179     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15181as_fn_error 77 "cannot compute sizeof (off_t)
15182See \`config.log' for more details" "$LINENO" 5; }
15183   else
15184     ac_cv_sizeof_off_t=0
15185   fi
15186fi
15187
15188fi
15189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
15190$as_echo "$ac_cv_sizeof_off_t" >&6; }
15191
15192
15193
15194cat >>confdefs.h <<_ACEOF
15195#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
15196_ACEOF
15197
15198
15199
15200SIZEOF_FILE_POINTER=$ac_cv_sizeof_off_t
15201
15202FILE_POINTER="off_t"
15203if test $ac_cv_sizeof_int = $ac_cv_sizeof_off_t; then
15204    FILE_POINTER="int"
15205fi
15206if test $ac_cv_sizeof_long = $ac_cv_sizeof_off_t; then
15207    FILE_POINTER="long"
15208fi
15209if test $ac_cv_sizeof_long_long = $ac_cv_sizeof_off_t; then
15210    FILE_POINTER="long long"
15211fi
15212
15213
15214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
15215$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
15216if ${ac_cv_header_sys_types_h_makedev+:} false; then :
15217  $as_echo_n "(cached) " >&6
15218else
15219  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220/* end confdefs.h.  */
15221#include <sys/types.h>
15222int
15223main ()
15224{
15225return makedev(0, 0);
15226  ;
15227  return 0;
15228}
15229_ACEOF
15230if ac_fn_c_try_link "$LINENO"; then :
15231  ac_cv_header_sys_types_h_makedev=yes
15232else
15233  ac_cv_header_sys_types_h_makedev=no
15234fi
15235rm -f core conftest.err conftest.$ac_objext \
15236    conftest$ac_exeext conftest.$ac_ext
15237
15238fi
15239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
15240$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
15241
15242if test $ac_cv_header_sys_types_h_makedev = no; then
15243ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
15244if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
15245
15246$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
15247
15248fi
15249
15250
15251
15252  if test $ac_cv_header_sys_mkdev_h = no; then
15253    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
15254if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
15255
15256$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
15257
15258fi
15259
15260
15261  fi
15262fi
15263
15264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15265$as_echo_n "checking for ANSI C header files... " >&6; }
15266if ${ac_cv_header_stdc+:} false; then :
15267  $as_echo_n "(cached) " >&6
15268else
15269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270/* end confdefs.h.  */
15271#include <stdlib.h>
15272#include <stdarg.h>
15273#include <string.h>
15274#include <float.h>
15275
15276int
15277main ()
15278{
15279
15280  ;
15281  return 0;
15282}
15283_ACEOF
15284if ac_fn_c_try_compile "$LINENO"; then :
15285  ac_cv_header_stdc=yes
15286else
15287  ac_cv_header_stdc=no
15288fi
15289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15290
15291if test $ac_cv_header_stdc = yes; then
15292  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15293  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294/* end confdefs.h.  */
15295#include <string.h>
15296
15297_ACEOF
15298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15299  $EGREP "memchr" >/dev/null 2>&1; then :
15300
15301else
15302  ac_cv_header_stdc=no
15303fi
15304rm -f conftest*
15305
15306fi
15307
15308if test $ac_cv_header_stdc = yes; then
15309  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311/* end confdefs.h.  */
15312#include <stdlib.h>
15313
15314_ACEOF
15315if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15316  $EGREP "free" >/dev/null 2>&1; then :
15317
15318else
15319  ac_cv_header_stdc=no
15320fi
15321rm -f conftest*
15322
15323fi
15324
15325if test $ac_cv_header_stdc = yes; then
15326  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15327  if test "$cross_compiling" = yes; then :
15328  :
15329else
15330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331/* end confdefs.h.  */
15332#include <ctype.h>
15333#include <stdlib.h>
15334#if ((' ' & 0x0FF) == 0x020)
15335# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15336# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15337#else
15338# define ISLOWER(c) \
15339		   (('a' <= (c) && (c) <= 'i') \
15340		     || ('j' <= (c) && (c) <= 'r') \
15341		     || ('s' <= (c) && (c) <= 'z'))
15342# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15343#endif
15344
15345#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15346int
15347main ()
15348{
15349  int i;
15350  for (i = 0; i < 256; i++)
15351    if (XOR (islower (i), ISLOWER (i))
15352	|| toupper (i) != TOUPPER (i))
15353      return 2;
15354  return 0;
15355}
15356_ACEOF
15357if ac_fn_c_try_run "$LINENO"; then :
15358
15359else
15360  ac_cv_header_stdc=no
15361fi
15362rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15363  conftest.$ac_objext conftest.beam conftest.$ac_ext
15364fi
15365
15366fi
15367fi
15368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15369$as_echo "$ac_cv_header_stdc" >&6; }
15370if test $ac_cv_header_stdc = yes; then
15371
15372$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15373
15374fi
15375
15376
15377for 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
15378do :
15379  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15380ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15381if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15382  cat >>confdefs.h <<_ACEOF
15383#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15384_ACEOF
15385
15386fi
15387
15388done
15389
15390
15391for ac_header in sys/time.h sys/select.h sys/types.h sys/param.h sys/ucred sys/wait.h sys/mman.h
15392do :
15393  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15394ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15395if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15396  cat >>confdefs.h <<_ACEOF
15397#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15398_ACEOF
15399
15400fi
15401
15402done
15403
15404
15405for ac_header in mntent.h
15406do :
15407  ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
15408if test "x$ac_cv_header_mntent_h" = xyes; then :
15409  cat >>confdefs.h <<_ACEOF
15410#define HAVE_MNTENT_H 1
15411_ACEOF
15412
15413fi
15414
15415done
15416
15417
15418for ac_header in fstab.h sys/param.h sys/ucred.h sys/mount.h
15419do :
15420  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15421ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15422if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15423  cat >>confdefs.h <<_ACEOF
15424#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15425_ACEOF
15426
15427fi
15428
15429done
15430
15431
15432for ac_func in setenv unsetenv
15433do :
15434  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15435ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15436if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15437  cat >>confdefs.h <<_ACEOF
15438#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15439_ACEOF
15440
15441fi
15442done
15443
15444for ac_func in strlcpy snprintf strlcat lseek snprintf vsnprintf strcasecmp strncasecmp memcpy memmove memset
15445do :
15446  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15447ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15448if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15449  cat >>confdefs.h <<_ACEOF
15450#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15451_ACEOF
15452
15453fi
15454done
15455
15456for ac_func in waitid signal sigaction
15457do :
15458  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15459ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15460if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15461  cat >>confdefs.h <<_ACEOF
15462#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15463_ACEOF
15464
15465fi
15466done
15467
15468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15469$as_echo_n "checking for library containing clock_gettime... " >&6; }
15470if ${ac_cv_search_clock_gettime+:} false; then :
15471  $as_echo_n "(cached) " >&6
15472else
15473  ac_func_search_save_LIBS=$LIBS
15474cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475/* end confdefs.h.  */
15476
15477/* Override any GCC internal prototype to avoid an error.
15478   Use char because int might match the return type of a GCC
15479   builtin and then its argument prototype would still apply.  */
15480#ifdef __cplusplus
15481extern "C"
15482#endif
15483char clock_gettime ();
15484int
15485main ()
15486{
15487return clock_gettime ();
15488  ;
15489  return 0;
15490}
15491_ACEOF
15492for ac_lib in '' rt posix4; do
15493  if test -z "$ac_lib"; then
15494    ac_res="none required"
15495  else
15496    ac_res=-l$ac_lib
15497    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15498  fi
15499  if ac_fn_c_try_link "$LINENO"; then :
15500  ac_cv_search_clock_gettime=$ac_res
15501fi
15502rm -f core conftest.err conftest.$ac_objext \
15503    conftest$ac_exeext
15504  if ${ac_cv_search_clock_gettime+:} false; then :
15505  break
15506fi
15507done
15508if ${ac_cv_search_clock_gettime+:} false; then :
15509
15510else
15511  ac_cv_search_clock_gettime=no
15512fi
15513rm conftest.$ac_ext
15514LIBS=$ac_func_search_save_LIBS
15515fi
15516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15517$as_echo "$ac_cv_search_clock_gettime" >&6; }
15518ac_res=$ac_cv_search_clock_gettime
15519if test "$ac_res" != no; then :
15520  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15521
15522fi
15523
15524for ac_func in clock_gettime localtime localtime_r gettimeofday strftime
15525do :
15526  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15527ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15528if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15529  cat >>confdefs.h <<_ACEOF
15530#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15531_ACEOF
15532
15533fi
15534done
15535
15536for ac_func in getmntinfo getfsent getmntent statfs
15537do :
15538  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15539ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15540if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15541  cat >>confdefs.h <<_ACEOF
15542#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15543_ACEOF
15544
15545fi
15546done
15547
15548for ac_func in signal sigaction
15549do :
15550  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15551ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15552if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15553  cat >>confdefs.h <<_ACEOF
15554#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15555_ACEOF
15556
15557fi
15558done
15559
15560for ac_func in fpathconf dirfd
15561do :
15562  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15563ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15564if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15565  cat >>confdefs.h <<_ACEOF
15566#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15567_ACEOF
15568
15569fi
15570done
15571
15572ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
15573"
15574if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
15575
15576cat >>confdefs.h <<_ACEOF
15577#define HAVE_STRUCT_DIRENT_D_TYPE 1
15578_ACEOF
15579
15580
15581fi
15582
15583
15584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
15585$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
15586if ${ac_cv_struct_tm+:} false; then :
15587  $as_echo_n "(cached) " >&6
15588else
15589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590/* end confdefs.h.  */
15591#include <sys/types.h>
15592#include <time.h>
15593
15594int
15595main ()
15596{
15597struct tm tm;
15598				     int *p = &tm.tm_sec;
15599				     return !p;
15600  ;
15601  return 0;
15602}
15603_ACEOF
15604if ac_fn_c_try_compile "$LINENO"; then :
15605  ac_cv_struct_tm=time.h
15606else
15607  ac_cv_struct_tm=sys/time.h
15608fi
15609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610fi
15611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
15612$as_echo "$ac_cv_struct_tm" >&6; }
15613if test $ac_cv_struct_tm = sys/time.h; then
15614
15615$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
15616
15617fi
15618
15619
15620
15621   for ac_func in localtime_r strftime
15622do :
15623  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15624ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15625if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15626  cat >>confdefs.h <<_ACEOF
15627#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15628_ACEOF
15629
15630fi
15631done
15632
15633
15634 for ac_header in limits.h
15635do :
15636  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
15637if test "x$ac_cv_header_limits_h" = xyes; then :
15638  cat >>confdefs.h <<_ACEOF
15639#define HAVE_LIMITS_H 1
15640_ACEOF
15641
15642fi
15643
15644done
15645
15646 for ac_func in bcopy tzset mempcpy memcpy memset
15647do :
15648  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15649ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15650if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15651  cat >>confdefs.h <<_ACEOF
15652#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15653_ACEOF
15654
15655fi
15656done
15657
15658
15659 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
15660 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
15661#include <$ac_cv_struct_tm>
15662
15663"
15664if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
15665
15666cat >>confdefs.h <<_ACEOF
15667#define HAVE_STRUCT_TM_TM_ZONE 1
15668_ACEOF
15669
15670
15671fi
15672
15673if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
15674
15675$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
15676
15677else
15678  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
15679"
15680if test "x$ac_cv_have_decl_tzname" = xyes; then :
15681  ac_have_decl=1
15682else
15683  ac_have_decl=0
15684fi
15685
15686cat >>confdefs.h <<_ACEOF
15687#define HAVE_DECL_TZNAME $ac_have_decl
15688_ACEOF
15689
15690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
15691$as_echo_n "checking for tzname... " >&6; }
15692if ${ac_cv_var_tzname+:} false; then :
15693  $as_echo_n "(cached) " >&6
15694else
15695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696/* end confdefs.h.  */
15697#include <time.h>
15698#if !HAVE_DECL_TZNAME
15699extern char *tzname[];
15700#endif
15701
15702int
15703main ()
15704{
15705return tzname[0][0];
15706  ;
15707  return 0;
15708}
15709_ACEOF
15710if ac_fn_c_try_link "$LINENO"; then :
15711  ac_cv_var_tzname=yes
15712else
15713  ac_cv_var_tzname=no
15714fi
15715rm -f core conftest.err conftest.$ac_objext \
15716    conftest$ac_exeext conftest.$ac_ext
15717fi
15718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
15719$as_echo "$ac_cv_var_tzname" >&6; }
15720  if test $ac_cv_var_tzname = yes; then
15721
15722$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
15723
15724  fi
15725fi
15726
15727
15728 for ac_func in mblen mbrlen
15729do :
15730  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15731ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15732if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15733  cat >>confdefs.h <<_ACEOF
15734#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15735_ACEOF
15736
15737fi
15738done
15739
15740
15741 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
15742"
15743if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
15744
15745$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
15746
15747fi
15748
15749
15750
15751   for ac_header in sys/time.h
15752do :
15753  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
15754if test "x$ac_cv_header_sys_time_h" = xyes; then :
15755  cat >>confdefs.h <<_ACEOF
15756#define HAVE_SYS_TIME_H 1
15757_ACEOF
15758
15759fi
15760
15761done
15762
15763
15764$as_echo "#define my_strftime nstrftime" >>confdefs.h
15765
15766
15767
15768for ac_header in string.h
15769do :
15770  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15771if test "x$ac_cv_header_string_h" = xyes; then :
15772  cat >>confdefs.h <<_ACEOF
15773#define HAVE_STRING_H 1
15774_ACEOF
15775
15776fi
15777
15778done
15779
15780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working readdir" >&5
15781$as_echo_n "checking for working readdir... " >&6; }
15782if ${jm_cv_func_working_readdir+:} false; then :
15783  $as_echo_n "(cached) " >&6
15784else
15785    # Arrange for deletion of the temporary directory this test creates, in
15786  # case the test itself fails to delete everything -- as happens on Sunos.
15787  ac_clean_files="$ac_clean_files conf-dir"
15788
15789  if test "$cross_compiling" = yes; then :
15790  jm_cv_func_working_readdir=no
15791else
15792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793/* end confdefs.h.  */
15794#   include <stdio.h>
15795#   include <sys/types.h>
15796#   if HAVE_STRING_H
15797#    include <string.h>
15798#   endif
15799
15800#   ifdef HAVE_DIRENT_H
15801#    include <dirent.h>
15802#    define NLENGTH(direct) (strlen((direct)->d_name))
15803#   else /* not HAVE_DIRENT_H */
15804#    define dirent direct
15805#    define NLENGTH(direct) ((direct)->d_namlen)
15806#    ifdef HAVE_SYS_NDIR_H
15807#     include <sys/ndir.h>
15808#    endif /* HAVE_SYS_NDIR_H */
15809#    ifdef HAVE_SYS_DIR_H
15810#     include <sys/dir.h>
15811#    endif /* HAVE_SYS_DIR_H */
15812#    ifdef HAVE_NDIR_H
15813#     include <ndir.h>
15814#    endif /* HAVE_NDIR_H */
15815#   endif /* HAVE_DIRENT_H */
15816
15817#   define DOT_OR_DOTDOT(Basename) \
15818     (Basename[0] == '.' && (Basename[1] == '\0' \
15819			     || (Basename[1] == '.' && Basename[2] == '\0')))
15820
15821/* Don't try to use replacement mkdir; it wouldn't resolve at link time.  */
15822#   undef mkdir
15823
15824    static void
15825    create_300_file_dir (const char *dir)
15826    {
15827      int i;
15828
15829      if (mkdir (dir, 0700))
15830	abort ();
15831      if (chdir (dir))
15832	abort ();
15833
15834      for (i = 0; i < 300; i++)
15835	{
15836	  char file_name[4];
15837	  FILE *out;
15838
15839	  sprintf (file_name, "%03d", i);
15840	  out = fopen (file_name, "w");
15841	  if (!out)
15842	    abort ();
15843	  if (fclose (out) == EOF)
15844	    abort ();
15845	}
15846
15847      if (chdir (".."))
15848	abort ();
15849    }
15850
15851    static void
15852    remove_dir (const char *dir)
15853    {
15854      DIR *dirp;
15855
15856      if (chdir (dir))
15857	abort ();
15858
15859      dirp = opendir (".");
15860      if (dirp == NULL)
15861	abort ();
15862
15863      while (1)
15864	{
15865	  struct dirent *dp = readdir (dirp);
15866	  if (dp == NULL)
15867	    break;
15868
15869	  if (DOT_OR_DOTDOT (dp->d_name))
15870	    continue;
15871
15872	  if (unlink (dp->d_name))
15873	    abort ();
15874	}
15875      closedir (dirp);
15876
15877      if (chdir (".."))
15878	abort ();
15879
15880      if (rmdir (dir))
15881	exit (1);
15882    }
15883
15884    int
15885    main ()
15886    {
15887      const char *dir = "conf-dir";
15888      create_300_file_dir (dir);
15889      remove_dir (dir);
15890      exit (0);
15891    }
15892_ACEOF
15893if ac_fn_c_try_run "$LINENO"; then :
15894  jm_cv_func_working_readdir=yes
15895else
15896  jm_cv_func_working_readdir=no
15897fi
15898rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15899  conftest.$ac_objext conftest.beam conftest.$ac_ext
15900fi
15901
15902fi
15903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_cv_func_working_readdir" >&5
15904$as_echo "$jm_cv_func_working_readdir" >&6; }
15905
15906  if test $jm_cv_func_working_readdir = yes; then
15907
15908$as_echo "#define HAVE_WORKING_READDIR 1" >>confdefs.h
15909
15910  fi
15911
15912
15913
15914
15915# check for POSIX shared memory
15916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
15917$as_echo_n "checking for shm_open in -lrt... " >&6; }
15918if ${ac_cv_lib_rt_shm_open+:} false; then :
15919  $as_echo_n "(cached) " >&6
15920else
15921  ac_check_lib_save_LIBS=$LIBS
15922LIBS="-lrt  $LIBS"
15923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924/* end confdefs.h.  */
15925
15926/* Override any GCC internal prototype to avoid an error.
15927   Use char because int might match the return type of a GCC
15928   builtin and then its argument prototype would still apply.  */
15929#ifdef __cplusplus
15930extern "C"
15931#endif
15932char shm_open ();
15933int
15934main ()
15935{
15936return shm_open ();
15937  ;
15938  return 0;
15939}
15940_ACEOF
15941if ac_fn_c_try_link "$LINENO"; then :
15942  ac_cv_lib_rt_shm_open=yes
15943else
15944  ac_cv_lib_rt_shm_open=no
15945fi
15946rm -f core conftest.err conftest.$ac_objext \
15947    conftest$ac_exeext conftest.$ac_ext
15948LIBS=$ac_check_lib_save_LIBS
15949fi
15950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
15951$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
15952if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
15953  cat >>confdefs.h <<_ACEOF
15954#define HAVE_LIBRT 1
15955_ACEOF
15956
15957  LIBS="-lrt $LIBS"
15958
15959fi
15960
15961# check for POSIX threads
15962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15963$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
15964if ${ac_cv_lib_pthread_pthread_create+:} false; then :
15965  $as_echo_n "(cached) " >&6
15966else
15967  ac_check_lib_save_LIBS=$LIBS
15968LIBS="-lpthread  $LIBS"
15969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970/* end confdefs.h.  */
15971
15972/* Override any GCC internal prototype to avoid an error.
15973   Use char because int might match the return type of a GCC
15974   builtin and then its argument prototype would still apply.  */
15975#ifdef __cplusplus
15976extern "C"
15977#endif
15978char pthread_create ();
15979int
15980main ()
15981{
15982return pthread_create ();
15983  ;
15984  return 0;
15985}
15986_ACEOF
15987if ac_fn_c_try_link "$LINENO"; then :
15988  ac_cv_lib_pthread_pthread_create=yes
15989else
15990  ac_cv_lib_pthread_pthread_create=no
15991fi
15992rm -f core conftest.err conftest.$ac_objext \
15993    conftest$ac_exeext conftest.$ac_ext
15994LIBS=$ac_check_lib_save_LIBS
15995fi
15996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
15997$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
15998if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
15999  cat >>confdefs.h <<_ACEOF
16000#define HAVE_LIBPTHREAD 1
16001_ACEOF
16002
16003  LIBS="-lpthread $LIBS"
16004
16005fi
16006
16007# check for POSIX threads GNU_SOURCE
16008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_tryjoin_np in -lpthread" >&5
16009$as_echo_n "checking for pthread_tryjoin_np in -lpthread... " >&6; }
16010if ${ac_cv_lib_pthread_pthread_tryjoin_np+:} false; then :
16011  $as_echo_n "(cached) " >&6
16012else
16013  ac_check_lib_save_LIBS=$LIBS
16014LIBS="-lpthread  $LIBS"
16015cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016/* end confdefs.h.  */
16017
16018/* Override any GCC internal prototype to avoid an error.
16019   Use char because int might match the return type of a GCC
16020   builtin and then its argument prototype would still apply.  */
16021#ifdef __cplusplus
16022extern "C"
16023#endif
16024char pthread_tryjoin_np ();
16025int
16026main ()
16027{
16028return pthread_tryjoin_np ();
16029  ;
16030  return 0;
16031}
16032_ACEOF
16033if ac_fn_c_try_link "$LINENO"; then :
16034  ac_cv_lib_pthread_pthread_tryjoin_np=yes
16035else
16036  ac_cv_lib_pthread_pthread_tryjoin_np=no
16037fi
16038rm -f core conftest.err conftest.$ac_objext \
16039    conftest$ac_exeext conftest.$ac_ext
16040LIBS=$ac_check_lib_save_LIBS
16041fi
16042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_tryjoin_np" >&5
16043$as_echo "$ac_cv_lib_pthread_pthread_tryjoin_np" >&6; }
16044if test "x$ac_cv_lib_pthread_pthread_tryjoin_np" = xyes; then :
16045  cat >>confdefs.h <<_ACEOF
16046#define HAVE_LIBPTHREAD 1
16047_ACEOF
16048
16049  LIBS="-lpthread $LIBS"
16050
16051fi
16052
16053if test "$ac_cv_lib_pthread_pthread_tryjoin_np" = yes; then
16054  	{ $as_echo "$as_me:${as_lineno-$LINENO}: You have non portable GNU thread extensions. Good for you." >&5
16055$as_echo "$as_me: You have non portable GNU thread extensions. Good for you." >&6;}
16056
16057
16058cat >>confdefs.h <<_ACEOF
16059#define HAVE_PTHREAD_TRYJOIN $ac_cv_lib_pthread_pthread_tryjoin_np
16060_ACEOF
16061
16062fi
16063
16064# Extract the first word of "pkg-config", so it can be a program name with args.
16065set dummy pkg-config; ac_word=$2
16066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16067$as_echo_n "checking for $ac_word... " >&6; }
16068if ${ac_cv_prog_cv_pkgconfig+:} false; then :
16069  $as_echo_n "(cached) " >&6
16070else
16071  if test -n "$cv_pkgconfig"; then
16072  ac_cv_prog_cv_pkgconfig="$cv_pkgconfig" # Let the user override the test.
16073else
16074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16075for as_dir in $PATH
16076do
16077  IFS=$as_save_IFS
16078  test -z "$as_dir" && as_dir=.
16079    for ac_exec_ext in '' $ac_executable_extensions; do
16080  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16081    ac_cv_prog_cv_pkgconfig="yes"
16082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16083    break 2
16084  fi
16085done
16086  done
16087IFS=$as_save_IFS
16088
16089  test -z "$ac_cv_prog_cv_pkgconfig" && ac_cv_prog_cv_pkgconfig="no"
16090fi
16091fi
16092cv_pkgconfig=$ac_cv_prog_cv_pkgconfig
16093if test -n "$cv_pkgconfig"; then
16094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_pkgconfig" >&5
16095$as_echo "$cv_pkgconfig" >&6; }
16096else
16097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16098$as_echo "no" >&6; }
16099fi
16100
16101
16102
16103# check for libmagic (from "file" utility)
16104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
16105$as_echo_n "checking for magic_file in -lmagic... " >&6; }
16106if ${ac_cv_lib_magic_magic_file+:} false; then :
16107  $as_echo_n "(cached) " >&6
16108else
16109  ac_check_lib_save_LIBS=$LIBS
16110LIBS="-lmagic  $LIBS"
16111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112/* end confdefs.h.  */
16113
16114/* Override any GCC internal prototype to avoid an error.
16115   Use char because int might match the return type of a GCC
16116   builtin and then its argument prototype would still apply.  */
16117#ifdef __cplusplus
16118extern "C"
16119#endif
16120char magic_file ();
16121int
16122main ()
16123{
16124return magic_file ();
16125  ;
16126  return 0;
16127}
16128_ACEOF
16129if ac_fn_c_try_link "$LINENO"; then :
16130  ac_cv_lib_magic_magic_file=yes
16131else
16132  ac_cv_lib_magic_magic_file=no
16133fi
16134rm -f core conftest.err conftest.$ac_objext \
16135    conftest$ac_exeext conftest.$ac_ext
16136LIBS=$ac_check_lib_save_LIBS
16137fi
16138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
16139$as_echo "$ac_cv_lib_magic_magic_file" >&6; }
16140if test "x$ac_cv_lib_magic_magic_file" = xyes; then :
16141  cat >>confdefs.h <<_ACEOF
16142#define HAVE_LIBMAGIC 1
16143_ACEOF
16144
16145  LIBS="-lmagic $LIBS"
16146
16147fi
16148
16149if test "yes" = "yes" ; then
16150if test "$ac_cv_lib_magic_magic_file" = "no" ; then
16151    as_fn_error $? "*** Shucks! *** Error: libmagic header files were not found.  Debian rodent-pkg 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)
16152    In OpenSUSE/Fedora, the rodent-pkg is called \"file-devel\"." "$LINENO" 5
16153fi
16154fi
16155
16156if test $prefix = NONE; then
16157   echo "prefix = $ac_default_prefix"
16158else
16159   echo "prefix = $prefix"
16160   ac_default_prefix=$prefix
16161fi
16162
16163
16164cat >>confdefs.h <<_ACEOF
16165#define PREFIX "$ac_default_prefix"
16166_ACEOF
16167
16168
16169
16170
16171for ac_prog in intltoolize
16172do
16173  # Extract the first word of "$ac_prog", so it can be a program name with args.
16174set dummy $ac_prog; ac_word=$2
16175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16176$as_echo_n "checking for $ac_word... " >&6; }
16177if ${ac_cv_prog_intltoolize+:} false; then :
16178  $as_echo_n "(cached) " >&6
16179else
16180  if test -n "$intltoolize"; then
16181  ac_cv_prog_intltoolize="$intltoolize" # Let the user override the test.
16182else
16183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16184for as_dir in $PATH
16185do
16186  IFS=$as_save_IFS
16187  test -z "$as_dir" && as_dir=.
16188    for ac_exec_ext in '' $ac_executable_extensions; do
16189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16190    ac_cv_prog_intltoolize="$ac_prog"
16191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16192    break 2
16193  fi
16194done
16195  done
16196IFS=$as_save_IFS
16197
16198fi
16199fi
16200intltoolize=$ac_cv_prog_intltoolize
16201if test -n "$intltoolize"; then
16202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intltoolize" >&5
16203$as_echo "$intltoolize" >&6; }
16204else
16205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16206$as_echo "no" >&6; }
16207fi
16208
16209
16210  test -n "$intltoolize" && break
16211done
16212test -n "$intltoolize" || intltoolize="no"
16213
16214if test $intltoolize = "no" ; then
16215    as_fn_error $? "\"intltool utilities not found. Please install intltool to build this rodent-pkg from source.\"" "$LINENO" 5;
16216fi
16217for ac_prog in gawk
16218do
16219  # Extract the first word of "$ac_prog", so it can be a program name with args.
16220set dummy $ac_prog; ac_word=$2
16221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16222$as_echo_n "checking for $ac_word... " >&6; }
16223if ${ac_cv_prog_gawk+:} false; then :
16224  $as_echo_n "(cached) " >&6
16225else
16226  if test -n "$gawk"; then
16227  ac_cv_prog_gawk="$gawk" # Let the user override the test.
16228else
16229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16230for as_dir in $PATH
16231do
16232  IFS=$as_save_IFS
16233  test -z "$as_dir" && as_dir=.
16234    for ac_exec_ext in '' $ac_executable_extensions; do
16235  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16236    ac_cv_prog_gawk="$ac_prog"
16237    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16238    break 2
16239  fi
16240done
16241  done
16242IFS=$as_save_IFS
16243
16244fi
16245fi
16246gawk=$ac_cv_prog_gawk
16247if test -n "$gawk"; then
16248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gawk" >&5
16249$as_echo "$gawk" >&6; }
16250else
16251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16252$as_echo "no" >&6; }
16253fi
16254
16255
16256  test -n "$gawk" && break
16257done
16258test -n "$gawk" || gawk="no"
16259
16260if test $gawk = "no" ; then
16261    as_fn_error $? "\"gawk program not found. Please install gawk to build this rodent-pkg from source.\"" "$LINENO" 5;
16262fi
16263
16264
16265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux or BSD" >&5
16266$as_echo_n "checking for Linux or BSD... " >&6; }
16267#echo "system: $ac_uname_s"
16268os=`uname -a | grep BSD`
16269if test x"$os" == x ; then
16270    os=`uname -a | grep DragonFly`
16271fi
16272
16273if test x"$os" != x ; then
16274    { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is BSD." >&5
16275$as_echo "System is BSD." >&6; }
16276    rodentman1dir=${prefix}/man/man1
16277    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmake" >&5
16278$as_echo_n "checking for gmake... " >&6; };
16279    result_gmake=`gmake --version`
16280    if test x"${result_gmake}" = x; then
16281        as_fn_error $? "GNU make (gmake) not found! Please install and then rerun configure." "$LINENO" 5
16282    else
16283        echo "$result_gmake"
16284    fi
16285
16286cat >>confdefs.h <<_ACEOF
16287#define THIS_IS_BSD 1
16288_ACEOF
16289
16290# In FreeBSD gettext is in /usr/local
16291    CFLAGS="$CFLAGS -I/usr/local/include"
16292    LDFLAGS="$LDFLAGS  -L/usr/local/lib"
16293else
16294   rodentman1dir=${mandir}/man1
16295   ac_uname_s=`uname -s`
16296   if test "$ac_uname_s" = "Linux" ; then
16297
16298cat >>confdefs.h <<_ACEOF
16299#define THIS_IS_LINUX 1
16300_ACEOF
16301
16302	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: System is Linux." >&5
16303$as_echo "System is Linux." >&6; }
16304   else
16305        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not Linux." >&5
16306$as_echo "Not Linux." >&6; }
16307   fi
16308   CFLAGS="$CFLAGS"
16309   LDFLAGS="$LDFLAGS"
16310fi
16311ac_uname_s=`uname -s`
16312 UNAME_S=$ac_uname_s
16313 if test x"$os" != x ; then
16314  WANT_FREEBSD_TRUE=
16315  WANT_FREEBSD_FALSE='#'
16316else
16317  WANT_FREEBSD_TRUE='#'
16318  WANT_FREEBSD_FALSE=
16319fi
16320
16321
16322
16323
16324 if test "$ac_uname_s" = "Linux"; then
16325  ONLY_LINUX_TRUE=
16326  ONLY_LINUX_FALSE='#'
16327else
16328  ONLY_LINUX_TRUE='#'
16329  ONLY_LINUX_FALSE=
16330fi
16331
16332
16333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Awk" >&5
16334$as_echo_n "checking for GNU Awk... " >&6; }
16335GAWK_VERSION=`gawk --version`
16336INDEX=`expr "$GAWK_VERSION" : "GNU Awk"`
16337#echo "INDEX=$INDEX"
16338if test $INDEX -gt 0 ; then
16339    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU gawk found" >&5
16340$as_echo "GNU gawk found" >&6; }
16341else
16342    as_fn_error $? "GNU gawk not found! Please install and then rerun configure." "$LINENO" 5
16343fi
16344
16345
16346
16347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU grep" >&5
16348$as_echo_n "checking for GNU grep... " >&6; }
16349GAWK_VERSION=`grep --version`
16350INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16351
16352if test $INDEX -gt  0 ; then
16353    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU grep found" >&5
16354$as_echo "GNU grep found" >&6; }
16355    GNU_GREP=1
16356     WITH_GNU_GREP=yes
16357
16358
16359cat >>confdefs.h <<_ACEOF
16360#define GNU_GREP $GNU_GREP
16361_ACEOF
16362
16363else
16364     WITH_GNU_GREP=no
16365    { $as_echo "$as_me:${as_lineno-$LINENO}: result: grep is not GNU. Some features will be define by BSD!" >&5
16366$as_echo "grep is not GNU. Some features will be define by BSD!" >&6; }
16367fi
16368
16369
16370
16371
16372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ls" >&5
16373$as_echo_n "checking for GNU ls... " >&6; }
16374GAWK_VERSION=`ls --version`
16375INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16376
16377#   WITH_GNU_LS subst is for librfm-settings.in, configure script output.
16378#   GNU_LS subst is for .h.in preparations
16379if test $INDEX -gt  0 ; then
16380    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ls found" >&5
16381$as_echo "GNU ls found" >&6; }
16382     WITH_GNU_LS=yes
16383     GNU_LS="#define GNU_LS 1"
16384else
16385     GNU_LS="/*#define GNU_LS */"
16386     WITH_GNU_LS=no
16387    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ls is not GNU. Some features will be define by BSD ls." >&5
16388$as_echo "ls is not GNU. Some features will be define by BSD ls." >&6; }
16389fi
16390
16391
16392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU cp" >&5
16393$as_echo_n "checking for GNU cp... " >&6; }
16394GAWK_VERSION=`cp --version`
16395INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16396
16397if test $INDEX -gt  0 ; then
16398    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU cp found" >&5
16399$as_echo "GNU cp found" >&6; }
16400     WITH_GNU_CP=yes
16401     GNU_CP="#define GNU_CP 1"
16402else
16403     WITH_GNU_CP=no
16404     GNU_CP="/*#define GNU_CP */"
16405    { $as_echo "$as_me:${as_lineno-$LINENO}: result: cp is not GNU. Some features will be define by BSD!" >&5
16406$as_echo "cp is not GNU. Some features will be define by BSD!" >&6; }
16407fi
16408
16409
16410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU mv" >&5
16411$as_echo_n "checking for GNU mv... " >&6; }
16412GAWK_VERSION=`mv --version`
16413INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16414
16415if test $INDEX -gt  0 ; then
16416    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU mv found" >&5
16417$as_echo "GNU mv found" >&6; }
16418     WITH_GNU_MV=yes
16419     GNU_MV="#define GNU_MV 1"
16420else
16421     WITH_GNU_MV=no
16422     GNU_MV="/*#define GNU_MV */"
16423    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mv is not GNU. Some features will be define by BSD!" >&5
16424$as_echo "mv is not GNU. Some features will be define by BSD!" >&6; }
16425fi
16426
16427
16428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ln" >&5
16429$as_echo_n "checking for GNU ln... " >&6; }
16430GAWK_VERSION=`ln --version`
16431INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16432
16433if test $INDEX -gt  0 ; then
16434    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ln found" >&5
16435$as_echo "GNU ln found" >&6; }
16436     WITH_GNU_LN=yes
16437     GNU_LN="#define GNU_LN 1"
16438else
16439     WITH_GNU_LN=no
16440     GNU_LN="/*#define GNU_LN */"
16441    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ln is not GNU. Some features will not be enabled!" >&5
16442$as_echo "ln is not GNU. Some features will not be enabled!" >&6; }
16443fi
16444
16445
16446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU rm" >&5
16447$as_echo_n "checking for GNU rm... " >&6; }
16448GAWK_VERSION=`rm --version`
16449INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16450#echo "INDEX=$INDEX"
16451
16452if test $INDEX -gt 0 ; then
16453    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU rm found" >&5
16454$as_echo "GNU rm found" >&6; }
16455     WITH_GNU_RM=yes
16456     GNU_RM="#define GNU_RM 1"
16457else
16458     WITH_GNU_RM=no
16459     GNU_RM="/*#define GNU_RM */"
16460    { $as_echo "$as_me:${as_lineno-$LINENO}: result: rm is not GNU. Some features will not be enabled!" >&5
16461$as_echo "rm is not GNU. Some features will not be enabled!" >&6; }
16462fi
16463
16464
16465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU shred" >&5
16466$as_echo_n "checking for GNU shred... " >&6; }
16467GAWK_VERSION=`shred --version`
16468INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
16469#echo "INDEX=$INDEX"
16470
16471if test $INDEX -gt 0 ; then
16472    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU shred found" >&5
16473$as_echo "GNU shred found" >&6; }
16474     WITH_GNU_SHRED=yes
16475     GNU_SHRED="#define GNU_SHRED 1"
16476else
16477     WITH_GNU_SHRED=no
16478     GNU_SHRED="/*#define GNU_SHRED */"
16479    { $as_echo "$as_me:${as_lineno-$LINENO}: result: shred is not GNU. Some features will not be enabled!" >&5
16480$as_echo "shred is not GNU. Some features will not be enabled!" >&6; }
16481fi
16482
16483
16484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Ghostscript" >&5
16485$as_echo_n "checking for GNU Ghostscript... " >&6; }
16486GS_VERSION=`gs --version`
16487if test x"$GS_VERSION" = x; then
16488     WITH_GNU_GS=no
16489    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU Ghostscript not found" >&5
16490$as_echo "GNU Ghostscript not found" >&6; }
16491else
16492     WITH_GNU_GS=yes
16493    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ghostscript found" >&5
16494$as_echo "Ghostscript found" >&6; }
16495fi
16496
16497
16498
16499
16500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking distro" >&5
16501$as_echo_n "checking distro... " >&6; };
16502result=`ls -l /sbin/yast 2>/dev/null | grep yast2`
16503    if test x"${result}" = x; then
16504	{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  not Suse." >&5
16505$as_echo " not Suse." >&6; }
16506	 LIBRSVG_NAME=librsvg2
16507	 DISTRO_X=libSM-devel
16508	 DISTRO_X_VERSION=1.2
16509
16510    else
16511	{ $as_echo "$as_me:${as_lineno-$LINENO}: result:  Suse." >&5
16512$as_echo " Suse." >&6; }
16513	 LIBRSVG_NAME=librsvg
16514	 DISTRO_X=xorg-x11-devel
16515	 DISTRO_X_VERSION=7.6
16516    fi
16517
16518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gentoo emerge" >&5
16519$as_echo_n "checking for gentoo emerge... " >&6; }
16520# Extract the first word of "emerge", so it can be a program name with args.
16521set dummy emerge; ac_word=$2
16522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16523$as_echo_n "checking for $ac_word... " >&6; }
16524if ${ac_cv_prog_cv_emerge+:} false; then :
16525  $as_echo_n "(cached) " >&6
16526else
16527  if test -n "$cv_emerge"; then
16528  ac_cv_prog_cv_emerge="$cv_emerge" # Let the user override the test.
16529else
16530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16531for as_dir in $PATH
16532do
16533  IFS=$as_save_IFS
16534  test -z "$as_dir" && as_dir=.
16535    for ac_exec_ext in '' $ac_executable_extensions; do
16536  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16537    ac_cv_prog_cv_emerge="yes"
16538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16539    break 2
16540  fi
16541done
16542  done
16543IFS=$as_save_IFS
16544
16545  test -z "$ac_cv_prog_cv_emerge" && ac_cv_prog_cv_emerge="no"
16546fi
16547fi
16548cv_emerge=$ac_cv_prog_cv_emerge
16549if test -n "$cv_emerge"; then
16550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_emerge" >&5
16551$as_echo "$cv_emerge" >&6; }
16552else
16553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16554$as_echo "no" >&6; }
16555fi
16556
16557
16558 if test "$cv_emerge" != no; then
16559  WANT_GENTOO_TRUE=
16560  WANT_GENTOO_FALSE='#'
16561else
16562  WANT_GENTOO_TRUE='#'
16563  WANT_GENTOO_FALSE=
16564fi
16565
16566
16567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debian dpkg" >&5
16568$as_echo_n "checking for debian dpkg... " >&6; }
16569# Extract the first word of "dpkg", so it can be a program name with args.
16570set dummy dpkg; ac_word=$2
16571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16572$as_echo_n "checking for $ac_word... " >&6; }
16573if ${ac_cv_prog_cv_dpkg+:} false; then :
16574  $as_echo_n "(cached) " >&6
16575else
16576  if test -n "$cv_dpkg"; then
16577  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
16578else
16579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16580for as_dir in $PATH
16581do
16582  IFS=$as_save_IFS
16583  test -z "$as_dir" && as_dir=.
16584    for ac_exec_ext in '' $ac_executable_extensions; do
16585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16586    ac_cv_prog_cv_dpkg="yes"
16587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16588    break 2
16589  fi
16590done
16591  done
16592IFS=$as_save_IFS
16593
16594  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
16595fi
16596fi
16597cv_dpkg=$ac_cv_prog_cv_dpkg
16598if test -n "$cv_dpkg"; then
16599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
16600$as_echo "$cv_dpkg" >&6; }
16601else
16602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16603$as_echo "no" >&6; }
16604fi
16605
16606
16607 if test "$cv_dpkg" != no; then
16608  WANT_DEBIAN_TRUE=
16609  WANT_DEBIAN_FALSE='#'
16610else
16611  WANT_DEBIAN_TRUE='#'
16612  WANT_DEBIAN_FALSE=
16613fi
16614
16615
16616
16617
16618# Configurable options at script execution
16619# Enable Debug option (implies core dumps)
16620
16621
16622# Check whether --with-debug was given.
16623if test "${with_debug+set}" = set; then :
16624  withval=$with_debug;
16625fi
16626
16627if test "$with_debug" = "yes"
16628then
16629	 WITH_CORE=yes
16630
16631
16632cat >>confdefs.h <<_ACEOF
16633#define CORE $with_core
16634_ACEOF
16635
16636	 WITH_DEBUG=yes
16637
16638
16639cat >>confdefs.h <<_ACEOF
16640#define DEBUG $with_debug
16641_ACEOF
16642
16643	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled debug. Good for you." >&5
16644$as_echo "$as_me: You enabled debug. Good for you." >&6;}
16645	DB=--with-debug
16646	CFLAGS="-O0 -ggdb"
16647elif test "$with_debug" != ""
16648then
16649	 WITH_CORE=yes
16650
16651
16652cat >>confdefs.h <<_ACEOF
16653#define CORE $with_core
16654_ACEOF
16655
16656	 WITH_DEBUG=yes
16657	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of debug is $with_debug" >&5
16658$as_echo "$as_me: Your specific kind of debug is $with_debug" >&6;}
16659
16660
16661cat >>confdefs.h <<_ACEOF
16662#define DEBUG $with_debug
16663_ACEOF
16664
16665	CFLAGS="-O0 -ggdb"
16666
16667else
16668	 WITH_DEBUG=no
16669	{ $as_echo "$as_me:${as_lineno-$LINENO}: No debug for you." >&5
16670$as_echo "$as_me: No debug for you." >&6;}
16671	CFLAGS="-O2"
16672fi
16673
16674
16675# Enable Trace option (use with care)
16676
16677
16678# Check whether --with-trace was given.
16679if test "${with_trace+set}" = set; then :
16680  withval=$with_trace;
16681fi
16682
16683if test "$with_trace" = "yes"
16684then
16685	 WITH_CORE=yes
16686
16687
16688cat >>confdefs.h <<_ACEOF
16689#define CORE $with_core
16690_ACEOF
16691
16692	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled trace. Good for you." >&5
16693$as_echo "$as_me: You enabled trace. Good for you." >&6;}
16694	 WITH_TRACE=yes
16695	DEBUG_TRACE=yes
16696
16697
16698cat >>confdefs.h <<_ACEOF
16699#define DEBUG_TRACE $with_trace
16700_ACEOF
16701
16702	TR=--with-trace
16703elif test "$with_trace" != ""
16704then
16705	 WITH_CORE=yes
16706
16707
16708cat >>confdefs.h <<_ACEOF
16709#define CORE $with_core
16710_ACEOF
16711
16712	 WITH_TRACE=yes
16713	DEBUG_TRACE=yes
16714
16715
16716cat >>confdefs.h <<_ACEOF
16717#define DEBUG_TRACE $with_trace
16718_ACEOF
16719
16720	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of trace is $with_trace" >&5
16721$as_echo "$as_me: Your specific kind of trace is $with_trace" >&6;}
16722else
16723	 WITH_TRACE=no
16724
16725	{ $as_echo "$as_me:${as_lineno-$LINENO}: No trace for you." >&5
16726$as_echo "$as_me: No trace for you." >&6;}
16727fi
16728
16729# Enable core dumps option
16730
16731
16732# Check whether --with-core was given.
16733if test "${with_core+set}" = set; then :
16734  withval=$with_core;
16735fi
16736
16737if test "$with_core" = "yes"
16738then
16739	 WITH_CORE=yes
16740
16741
16742cat >>confdefs.h <<_ACEOF
16743#define CORE $with_core
16744_ACEOF
16745
16746	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled core dumps. Good for you." >&5
16747$as_echo "$as_me: You enabled core dumps. Good for you." >&6;}
16748	CFLAGS="-O0 -ggdb"
16749elif test "$with_core" != ""
16750then
16751	 WITH_CORE=yes
16752	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of core dumps is $with_core" >&5
16753$as_echo "$as_me: Your specific kind of core dumps is $with_core" >&6;}
16754
16755
16756cat >>confdefs.h <<_ACEOF
16757#define CORE $with_core
16758_ACEOF
16759
16760	CFLAGS="-O0 -ggdb"
16761
16762else
16763	 WITH_CORE=no
16764	{ $as_echo "$as_me:${as_lineno-$LINENO}: No core dumps for you." >&5
16765$as_echo "$as_me: No core dumps for you." >&6;}
16766fi
16767
16768
16769
16770
16771    GETTEXT_PACKAGE=rodent-pkg
16772
16773cat >>confdefs.h <<_ACEOF
16774#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
16775_ACEOF
16776
16777
16778
16779    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"
16780
16781   for ac_header in locale.h
16782do :
16783  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
16784if test "x$ac_cv_header_locale_h" = xyes; then :
16785  cat >>confdefs.h <<_ACEOF
16786#define HAVE_LOCALE_H 1
16787_ACEOF
16788
16789fi
16790
16791done
16792
16793    if test $ac_cv_header_locale_h = yes; then
16794    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
16795$as_echo_n "checking for LC_MESSAGES... " >&6; }
16796if ${am_cv_val_LC_MESSAGES+:} false; then :
16797  $as_echo_n "(cached) " >&6
16798else
16799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800/* end confdefs.h.  */
16801#include <locale.h>
16802int
16803main ()
16804{
16805return LC_MESSAGES
16806  ;
16807  return 0;
16808}
16809_ACEOF
16810if ac_fn_c_try_link "$LINENO"; then :
16811  am_cv_val_LC_MESSAGES=yes
16812else
16813  am_cv_val_LC_MESSAGES=no
16814fi
16815rm -f core conftest.err conftest.$ac_objext \
16816    conftest$ac_exeext conftest.$ac_ext
16817fi
16818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
16819$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
16820    if test $am_cv_val_LC_MESSAGES = yes; then
16821
16822$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
16823
16824    fi
16825  fi
16826     USE_NLS=yes
16827
16828
16829    gt_cv_have_gettext=no
16830
16831    CATOBJEXT=NONE
16832    XGETTEXT=:
16833    INTLLIBS=
16834
16835    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16836if test "x$ac_cv_header_libintl_h" = xyes; then :
16837  gt_cv_func_dgettext_libintl="no"
16838      libintl_extra_libs=""
16839
16840      #
16841      # First check in libc
16842      #
16843      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
16844$as_echo_n "checking for ngettext in libc... " >&6; }
16845if ${gt_cv_func_ngettext_libc+:} false; then :
16846  $as_echo_n "(cached) " >&6
16847else
16848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849/* end confdefs.h.  */
16850
16851#include <libintl.h>
16852
16853int
16854main ()
16855{
16856return !ngettext ("","", 1)
16857  ;
16858  return 0;
16859}
16860_ACEOF
16861if ac_fn_c_try_link "$LINENO"; then :
16862  gt_cv_func_ngettext_libc=yes
16863else
16864  gt_cv_func_ngettext_libc=no
16865fi
16866rm -f core conftest.err conftest.$ac_objext \
16867    conftest$ac_exeext conftest.$ac_ext
16868
16869fi
16870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
16871$as_echo "$gt_cv_func_ngettext_libc" >&6; }
16872
16873      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
16874	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
16875$as_echo_n "checking for dgettext in libc... " >&6; }
16876if ${gt_cv_func_dgettext_libc+:} false; then :
16877  $as_echo_n "(cached) " >&6
16878else
16879  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880/* end confdefs.h.  */
16881
16882#include <libintl.h>
16883
16884int
16885main ()
16886{
16887return !dgettext ("","")
16888  ;
16889  return 0;
16890}
16891_ACEOF
16892if ac_fn_c_try_link "$LINENO"; then :
16893  gt_cv_func_dgettext_libc=yes
16894else
16895  gt_cv_func_dgettext_libc=no
16896fi
16897rm -f core conftest.err conftest.$ac_objext \
16898    conftest$ac_exeext conftest.$ac_ext
16899
16900fi
16901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
16902$as_echo "$gt_cv_func_dgettext_libc" >&6; }
16903      fi
16904
16905      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
16906        for ac_func in bind_textdomain_codeset
16907do :
16908  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16909if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16910  cat >>confdefs.h <<_ACEOF
16911#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16912_ACEOF
16913
16914fi
16915done
16916
16917      fi
16918
16919      #
16920      # If we don't have everything we want, check in libintl
16921      #
16922      if test "$gt_cv_func_dgettext_libc" != "yes" \
16923	 || test "$gt_cv_func_ngettext_libc" != "yes" \
16924         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
16925
16926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
16927$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
16928if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
16929  $as_echo_n "(cached) " >&6
16930else
16931  ac_check_lib_save_LIBS=$LIBS
16932LIBS="-lintl  $LIBS"
16933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934/* end confdefs.h.  */
16935
16936/* Override any GCC internal prototype to avoid an error.
16937   Use char because int might match the return type of a GCC
16938   builtin and then its argument prototype would still apply.  */
16939#ifdef __cplusplus
16940extern "C"
16941#endif
16942char bindtextdomain ();
16943int
16944main ()
16945{
16946return bindtextdomain ();
16947  ;
16948  return 0;
16949}
16950_ACEOF
16951if ac_fn_c_try_link "$LINENO"; then :
16952  ac_cv_lib_intl_bindtextdomain=yes
16953else
16954  ac_cv_lib_intl_bindtextdomain=no
16955fi
16956rm -f core conftest.err conftest.$ac_objext \
16957    conftest$ac_exeext conftest.$ac_ext
16958LIBS=$ac_check_lib_save_LIBS
16959fi
16960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
16961$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
16962if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
16963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
16964$as_echo_n "checking for ngettext in -lintl... " >&6; }
16965if ${ac_cv_lib_intl_ngettext+:} false; then :
16966  $as_echo_n "(cached) " >&6
16967else
16968  ac_check_lib_save_LIBS=$LIBS
16969LIBS="-lintl  $LIBS"
16970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971/* end confdefs.h.  */
16972
16973/* Override any GCC internal prototype to avoid an error.
16974   Use char because int might match the return type of a GCC
16975   builtin and then its argument prototype would still apply.  */
16976#ifdef __cplusplus
16977extern "C"
16978#endif
16979char ngettext ();
16980int
16981main ()
16982{
16983return ngettext ();
16984  ;
16985  return 0;
16986}
16987_ACEOF
16988if ac_fn_c_try_link "$LINENO"; then :
16989  ac_cv_lib_intl_ngettext=yes
16990else
16991  ac_cv_lib_intl_ngettext=no
16992fi
16993rm -f core conftest.err conftest.$ac_objext \
16994    conftest$ac_exeext conftest.$ac_ext
16995LIBS=$ac_check_lib_save_LIBS
16996fi
16997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
16998$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16999if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
17001$as_echo_n "checking for dgettext in -lintl... " >&6; }
17002if ${ac_cv_lib_intl_dgettext+:} false; then :
17003  $as_echo_n "(cached) " >&6
17004else
17005  ac_check_lib_save_LIBS=$LIBS
17006LIBS="-lintl  $LIBS"
17007cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008/* end confdefs.h.  */
17009
17010/* Override any GCC internal prototype to avoid an error.
17011   Use char because int might match the return type of a GCC
17012   builtin and then its argument prototype would still apply.  */
17013#ifdef __cplusplus
17014extern "C"
17015#endif
17016char dgettext ();
17017int
17018main ()
17019{
17020return dgettext ();
17021  ;
17022  return 0;
17023}
17024_ACEOF
17025if ac_fn_c_try_link "$LINENO"; then :
17026  ac_cv_lib_intl_dgettext=yes
17027else
17028  ac_cv_lib_intl_dgettext=no
17029fi
17030rm -f core conftest.err conftest.$ac_objext \
17031    conftest$ac_exeext conftest.$ac_ext
17032LIBS=$ac_check_lib_save_LIBS
17033fi
17034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
17035$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17036if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
17037  gt_cv_func_dgettext_libintl=yes
17038fi
17039
17040fi
17041
17042fi
17043
17044
17045	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
17046	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
17047$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
17048	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17049$as_echo "" >&6; }
17050  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17051$as_echo_n "checking for ngettext in -lintl... " >&6; }
17052if ${ac_cv_lib_intl_ngettext+:} false; then :
17053  $as_echo_n "(cached) " >&6
17054else
17055  ac_check_lib_save_LIBS=$LIBS
17056LIBS="-lintl -liconv $LIBS"
17057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058/* end confdefs.h.  */
17059
17060/* Override any GCC internal prototype to avoid an error.
17061   Use char because int might match the return type of a GCC
17062   builtin and then its argument prototype would still apply.  */
17063#ifdef __cplusplus
17064extern "C"
17065#endif
17066char ngettext ();
17067int
17068main ()
17069{
17070return ngettext ();
17071  ;
17072  return 0;
17073}
17074_ACEOF
17075if ac_fn_c_try_link "$LINENO"; then :
17076  ac_cv_lib_intl_ngettext=yes
17077else
17078  ac_cv_lib_intl_ngettext=no
17079fi
17080rm -f core conftest.err conftest.$ac_objext \
17081    conftest$ac_exeext conftest.$ac_ext
17082LIBS=$ac_check_lib_save_LIBS
17083fi
17084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17085$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17086if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17087  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
17088$as_echo_n "checking for dcgettext in -lintl... " >&6; }
17089if ${ac_cv_lib_intl_dcgettext+:} false; then :
17090  $as_echo_n "(cached) " >&6
17091else
17092  ac_check_lib_save_LIBS=$LIBS
17093LIBS="-lintl -liconv $LIBS"
17094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095/* end confdefs.h.  */
17096
17097/* Override any GCC internal prototype to avoid an error.
17098   Use char because int might match the return type of a GCC
17099   builtin and then its argument prototype would still apply.  */
17100#ifdef __cplusplus
17101extern "C"
17102#endif
17103char dcgettext ();
17104int
17105main ()
17106{
17107return dcgettext ();
17108  ;
17109  return 0;
17110}
17111_ACEOF
17112if ac_fn_c_try_link "$LINENO"; then :
17113  ac_cv_lib_intl_dcgettext=yes
17114else
17115  ac_cv_lib_intl_dcgettext=no
17116fi
17117rm -f core conftest.err conftest.$ac_objext \
17118    conftest$ac_exeext conftest.$ac_ext
17119LIBS=$ac_check_lib_save_LIBS
17120fi
17121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
17122$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17123if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
17124  gt_cv_func_dgettext_libintl=yes
17125			libintl_extra_libs=-liconv
17126else
17127  :
17128fi
17129
17130else
17131  :
17132fi
17133
17134        fi
17135
17136        #
17137        # If we found libintl, then check in it for bind_textdomain_codeset();
17138        # we'll prefer libc if neither have bind_textdomain_codeset(),
17139        # and both have dgettext and ngettext
17140        #
17141        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
17142          glib_save_LIBS="$LIBS"
17143          LIBS="$LIBS -lintl $libintl_extra_libs"
17144          unset ac_cv_func_bind_textdomain_codeset
17145          for ac_func in bind_textdomain_codeset
17146do :
17147  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17148if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17149  cat >>confdefs.h <<_ACEOF
17150#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17151_ACEOF
17152
17153fi
17154done
17155
17156          LIBS="$glib_save_LIBS"
17157
17158          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
17159            gt_cv_func_dgettext_libc=no
17160          else
17161            if test "$gt_cv_func_dgettext_libc" = "yes" \
17162		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
17163              gt_cv_func_dgettext_libintl=no
17164            fi
17165          fi
17166        fi
17167      fi
17168
17169      if test "$gt_cv_func_dgettext_libc" = "yes" \
17170	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
17171        gt_cv_have_gettext=yes
17172      fi
17173
17174      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
17175        INTLLIBS="-lintl $libintl_extra_libs"
17176      fi
17177
17178      if test "$gt_cv_have_gettext" = "yes"; then
17179
17180$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17181
17182	# Extract the first word of "msgfmt", so it can be a program name with args.
17183set dummy msgfmt; ac_word=$2
17184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17185$as_echo_n "checking for $ac_word... " >&6; }
17186if ${ac_cv_path_MSGFMT+:} false; then :
17187  $as_echo_n "(cached) " >&6
17188else
17189  case "$MSGFMT" in
17190  /*)
17191  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17192  ;;
17193  *)
17194  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
17195  for ac_dir in $PATH; do
17196    test -z "$ac_dir" && ac_dir=.
17197    if test -f $ac_dir/$ac_word; then
17198      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
17199	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
17200	break
17201      fi
17202    fi
17203  done
17204  IFS="$ac_save_ifs"
17205  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
17206  ;;
17207esac
17208fi
17209MSGFMT="$ac_cv_path_MSGFMT"
17210if test "$MSGFMT" != "no"; then
17211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17212$as_echo "$MSGFMT" >&6; }
17213else
17214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17215$as_echo "no" >&6; }
17216fi
17217	if test "$MSGFMT" != "no"; then
17218          glib_save_LIBS="$LIBS"
17219          LIBS="$LIBS $INTLLIBS"
17220	  for ac_func in dcgettext
17221do :
17222  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
17223if test "x$ac_cv_func_dcgettext" = xyes; then :
17224  cat >>confdefs.h <<_ACEOF
17225#define HAVE_DCGETTEXT 1
17226_ACEOF
17227
17228fi
17229done
17230
17231	  MSGFMT_OPTS=
17232	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
17233$as_echo_n "checking if msgfmt accepts -c... " >&6; }
17234	  cat >conftest.foo <<_ACEOF
17235
17236msgid ""
17237msgstr ""
17238"Content-Type: text/plain; charset=UTF-8\n"
17239"Project-Id-Version: test 1.0\n"
17240"PO-Revision-Date: 2007-02-15 12:01+0100\n"
17241"Last-Translator: test <foo@bar.xx>\n"
17242"Language-Team: C <LL@li.org>\n"
17243"MIME-Version: 1.0\n"
17244"Content-Transfer-Encoding: 8bit\n"
17245
17246_ACEOF
17247if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
17248  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
17249  ac_status=$?
17250  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17251  test $ac_status = 0; }; then
17252  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17253$as_echo "yes" >&6; }
17254else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17255$as_echo "no" >&6; }
17256echo "$as_me: failed input was:" >&5
17257sed 's/^/| /' conftest.foo >&5
17258fi
17259
17260	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
17261set dummy gmsgfmt; ac_word=$2
17262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17263$as_echo_n "checking for $ac_word... " >&6; }
17264if ${ac_cv_path_GMSGFMT+:} false; then :
17265  $as_echo_n "(cached) " >&6
17266else
17267  case $GMSGFMT in
17268  [\\/]* | ?:[\\/]*)
17269  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17270  ;;
17271  *)
17272  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17273for as_dir in $PATH
17274do
17275  IFS=$as_save_IFS
17276  test -z "$as_dir" && as_dir=.
17277    for ac_exec_ext in '' $ac_executable_extensions; do
17278  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17279    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17281    break 2
17282  fi
17283done
17284  done
17285IFS=$as_save_IFS
17286
17287  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17288  ;;
17289esac
17290fi
17291GMSGFMT=$ac_cv_path_GMSGFMT
17292if test -n "$GMSGFMT"; then
17293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17294$as_echo "$GMSGFMT" >&6; }
17295else
17296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17297$as_echo "no" >&6; }
17298fi
17299
17300
17301	  # Extract the first word of "xgettext", so it can be a program name with args.
17302set dummy xgettext; ac_word=$2
17303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17304$as_echo_n "checking for $ac_word... " >&6; }
17305if ${ac_cv_path_XGETTEXT+:} false; then :
17306  $as_echo_n "(cached) " >&6
17307else
17308  case "$XGETTEXT" in
17309  /*)
17310  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17311  ;;
17312  *)
17313  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
17314  for ac_dir in $PATH; do
17315    test -z "$ac_dir" && ac_dir=.
17316    if test -f $ac_dir/$ac_word; then
17317      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
17318	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
17319	break
17320      fi
17321    fi
17322  done
17323  IFS="$ac_save_ifs"
17324  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17325  ;;
17326esac
17327fi
17328XGETTEXT="$ac_cv_path_XGETTEXT"
17329if test "$XGETTEXT" != ":"; then
17330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17331$as_echo "$XGETTEXT" >&6; }
17332else
17333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17334$as_echo "no" >&6; }
17335fi
17336
17337	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338/* end confdefs.h.  */
17339
17340int
17341main ()
17342{
17343extern int _nl_msg_cat_cntr;
17344			 return _nl_msg_cat_cntr
17345  ;
17346  return 0;
17347}
17348_ACEOF
17349if ac_fn_c_try_link "$LINENO"; then :
17350  CATOBJEXT=.gmo
17351             DATADIRNAME=share
17352else
17353  case $host in
17354	    *-*-solaris*)
17355	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17356if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17357  CATOBJEXT=.gmo
17358               DATADIRNAME=share
17359else
17360  CATOBJEXT=.mo
17361               DATADIRNAME=lib
17362fi
17363
17364	    ;;
17365	    *-*-openbsd*)
17366	    CATOBJEXT=.mo
17367            DATADIRNAME=share
17368	    ;;
17369	    *)
17370	    CATOBJEXT=.mo
17371            DATADIRNAME=lib
17372	    ;;
17373	    esac
17374fi
17375rm -f core conftest.err conftest.$ac_objext \
17376    conftest$ac_exeext conftest.$ac_ext
17377          LIBS="$glib_save_LIBS"
17378	  INSTOBJEXT=.mo
17379	else
17380	  gt_cv_have_gettext=no
17381	fi
17382      fi
17383
17384fi
17385
17386
17387
17388    if test "$gt_cv_have_gettext" = "yes" ; then
17389
17390$as_echo "#define ENABLE_NLS 1" >>confdefs.h
17391
17392    fi
17393
17394        if test "$XGETTEXT" != ":"; then
17395                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
17396        : ;
17397      else
17398        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
17399$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
17400        XGETTEXT=":"
17401      fi
17402    fi
17403
17404    # We need to process the po/ directory.
17405    POSUB=po
17406
17407    ac_config_commands="$ac_config_commands default-1"
17408
17409
17410                for lang in $ALL_LINGUAS; do
17411      GMOFILES="$GMOFILES $lang.gmo"
17412      POFILES="$POFILES $lang.po"
17413    done
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427   if test "$gt_cv_have_gettext" = "yes"; then
17428     if test "x$ALL_LINGUAS" = "x"; then
17429       LINGUAS=
17430     else
17431       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
17432$as_echo_n "checking for catalogs to be installed... " >&6; }
17433       NEW_LINGUAS=
17434       for presentlang in $ALL_LINGUAS; do
17435         useit=no
17436         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
17437           desiredlanguages="$LINGUAS"
17438         else
17439           desiredlanguages="$ALL_LINGUAS"
17440         fi
17441         for desiredlang in $desiredlanguages; do
17442 	   # Use the presentlang catalog if desiredlang is
17443           #   a. equal to presentlang, or
17444           #   b. a variant of presentlang (because in this case,
17445           #      presentlang can be used as a fallback for messages
17446           #      which are not translated in the desiredlang catalog).
17447           case "$desiredlang" in
17448             "$presentlang"*) useit=yes;;
17449           esac
17450         done
17451         if test $useit = yes; then
17452           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
17453         fi
17454       done
17455       LINGUAS=$NEW_LINGUAS
17456       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
17457$as_echo "$LINGUAS" >&6; }
17458     fi
17459
17460          if test -n "$LINGUAS"; then
17461       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
17462     fi
17463   fi
17464
17465            MKINSTALLDIRS=
17466   if test -n "$ac_aux_dir"; then
17467     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
17468   fi
17469   if test -z "$MKINSTALLDIRS"; then
17470     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
17471   fi
17472
17473
17474         test -d po || mkdir po
17475   if test "x$srcdir" != "x."; then
17476     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
17477       posrcprefix="$srcdir/"
17478     else
17479       posrcprefix="../$srcdir/"
17480     fi
17481   else
17482     posrcprefix="../"
17483   fi
17484   rm -f po/POTFILES
17485   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
17486	< $srcdir/po/POTFILES.in > po/POTFILES
17487
17488
17489    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17490if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17491
17492fi
17493
17494
17495    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
17496$as_echo_n "checking for locales directory... " >&6; }
17497
17498# Check whether --with-locales-dir was given.
17499if test "${with_locales_dir+set}" = set; then :
17500  withval=$with_locales_dir; localedir=$withval
17501else
17502
17503    if test x"$CATOBJEXT" = x".mo"; then
17504      localedir=$libdir/locale
17505    else
17506      localedir=$datadir/locale
17507    fi
17508
17509fi
17510
17511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
17512$as_echo "$localedir" >&6; }
17513
17514
17515    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
17516$as_echo_n "checking for additional xgettext flags... " >&6; }
17517  if test x"$XGETTEXT_ARGS" = x""; then
17518    XGETTEXT_ARGS="--keyword=Q_";
17519  else
17520    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
17521  fi
17522
17523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
17524$as_echo "$XGETTEXT_ARGS" >&6; }
17525
17526
17527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/pixmaps" >&5
17528$as_echo_n "checking for /usr/share/pixmaps... " >&6; }
17529if ${ac_cv_file__usr_share_pixmaps+:} false; then :
17530  $as_echo_n "(cached) " >&6
17531else
17532  test "$cross_compiling" = yes &&
17533  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17534if test -r "/usr/share/pixmaps"; then
17535  ac_cv_file__usr_share_pixmaps=yes
17536else
17537  ac_cv_file__usr_share_pixmaps=no
17538fi
17539fi
17540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_pixmaps" >&5
17541$as_echo "$ac_cv_file__usr_share_pixmaps" >&6; }
17542if test "x$ac_cv_file__usr_share_pixmaps" = xyes; then :
17543
17544cat >>confdefs.h <<_ACEOF
17545#define HAVE__USR_SHARE_PIXMAPS 1
17546_ACEOF
17547
17548fi
17549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/pixmaps" >&5
17550$as_echo_n "checking for /usr/local/share/pixmaps... " >&6; }
17551if ${ac_cv_file__usr_local_share_pixmaps+:} false; then :
17552  $as_echo_n "(cached) " >&6
17553else
17554  test "$cross_compiling" = yes &&
17555  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17556if test -r "/usr/local/share/pixmaps"; then
17557  ac_cv_file__usr_local_share_pixmaps=yes
17558else
17559  ac_cv_file__usr_local_share_pixmaps=no
17560fi
17561fi
17562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_pixmaps" >&5
17563$as_echo "$ac_cv_file__usr_local_share_pixmaps" >&6; }
17564if test "x$ac_cv_file__usr_local_share_pixmaps" = xyes; then :
17565
17566cat >>confdefs.h <<_ACEOF
17567#define HAVE__USR_LOCAL_SHARE_PIXMAPS 1
17568_ACEOF
17569
17570fi
17571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/icons" >&5
17572$as_echo_n "checking for /usr/share/icons... " >&6; }
17573if ${ac_cv_file__usr_share_icons+:} false; then :
17574  $as_echo_n "(cached) " >&6
17575else
17576  test "$cross_compiling" = yes &&
17577  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17578if test -r "/usr/share/icons"; then
17579  ac_cv_file__usr_share_icons=yes
17580else
17581  ac_cv_file__usr_share_icons=no
17582fi
17583fi
17584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_icons" >&5
17585$as_echo "$ac_cv_file__usr_share_icons" >&6; }
17586if test "x$ac_cv_file__usr_share_icons" = xyes; then :
17587
17588cat >>confdefs.h <<_ACEOF
17589#define HAVE__USR_SHARE_ICONS 1
17590_ACEOF
17591
17592fi
17593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/icons" >&5
17594$as_echo_n "checking for /usr/local/share/icons... " >&6; }
17595if ${ac_cv_file__usr_local_share_icons+:} false; then :
17596  $as_echo_n "(cached) " >&6
17597else
17598  test "$cross_compiling" = yes &&
17599  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17600if test -r "/usr/local/share/icons"; then
17601  ac_cv_file__usr_local_share_icons=yes
17602else
17603  ac_cv_file__usr_local_share_icons=no
17604fi
17605fi
17606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_icons" >&5
17607$as_echo "$ac_cv_file__usr_local_share_icons" >&6; }
17608if test "x$ac_cv_file__usr_local_share_icons" = xyes; then :
17609
17610cat >>confdefs.h <<_ACEOF
17611#define HAVE__USR_LOCAL_SHARE_ICONS 1
17612_ACEOF
17613
17614fi
17615
17616
17617
17618 for ac_prog in ps
17619do
17620  # Extract the first word of "$ac_prog", so it can be a program name with args.
17621set dummy $ac_prog; ac_word=$2
17622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17623$as_echo_n "checking for $ac_word... " >&6; }
17624if ${ac_cv_prog_ps+:} false; then :
17625  $as_echo_n "(cached) " >&6
17626else
17627  if test -n "$ps"; then
17628  ac_cv_prog_ps="$ps" # Let the user override the test.
17629else
17630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17631for as_dir in $PATH
17632do
17633  IFS=$as_save_IFS
17634  test -z "$as_dir" && as_dir=.
17635    for ac_exec_ext in '' $ac_executable_extensions; do
17636  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17637    ac_cv_prog_ps="$ac_prog"
17638    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17639    break 2
17640  fi
17641done
17642  done
17643IFS=$as_save_IFS
17644
17645fi
17646fi
17647ps=$ac_cv_prog_ps
17648if test -n "$ps"; then
17649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ps" >&5
17650$as_echo "$ps" >&6; }
17651else
17652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17653$as_echo "no" >&6; }
17654fi
17655
17656
17657  test -n "$ps" && break
17658done
17659test -n "$ps" || ps="no"
17660
17661 if test $ps = "no" ; then
17662    as_fn_error $? "Unable to find the ps application" "$LINENO" 5;
17663 else
17664    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ps capabilities" >&5
17665$as_echo_n "checking for ps capabilities... " >&6; }
17666    echo
17667
17668    result=`ps -o rss  2>/dev/null`;
17669
17670    if test x"${result}" = x; then
17671	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o rss option found" >&5
17672$as_echo "no -o rss option found" >&6; }
17673	OPTION_FOUND=no
17674    else
17675
17676$as_echo "#define HAVE_UNIX_O_RSS 1" >>confdefs.h
17677
17678	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o rss option found" >&5
17679$as_echo "-o rss option found" >&6; }
17680	OPTION_FOUND=yes
17681    fi
17682     if test x"_OPTION_FOUND" = x"yes"; then
17683  HAVE_UNIX_O_RSS_TRUE=
17684  HAVE_UNIX_O_RSS_FALSE='#'
17685else
17686  HAVE_UNIX_O_RSS_TRUE='#'
17687  HAVE_UNIX_O_RSS_FALSE=
17688fi
17689
17690
17691    result=`ps -jH  2>/dev/null`;
17692    if test x"${result}" = x; then
17693	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -jH option found" >&5
17694$as_echo "no -jH option found" >&6; }
17695	OPTION_FOUND=no
17696    else
17697
17698$as_echo "#define HAVE_UNIX_JH 1" >>confdefs.h
17699
17700	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -jH option found" >&5
17701$as_echo "-jH option found" >&6; }
17702	OPTION_FOUND=yes
17703    fi
17704     if test x"_OPTION_FOUND" = x"yes"; then
17705  HAVE_UNIX_JH_TRUE=
17706  HAVE_UNIX_JH_FALSE='#'
17707else
17708  HAVE_UNIX_JH_TRUE='#'
17709  HAVE_UNIX_JH_FALSE=
17710fi
17711
17712
17713    result=`ps -ly  2>/dev/null`;
17714    if test x"${result}" = x; then
17715	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ly option found" >&5
17716$as_echo "no -ly option found" >&6; }
17717	OPTION_FOUND=no
17718    else
17719
17720$as_echo "#define HAVE_UNIX_LY 1" >>confdefs.h
17721
17722	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ly option found" >&5
17723$as_echo "-ly option found" >&6; }
17724	OPTION_FOUND=yes
17725    fi
17726     if test x"OPTION_FOUND" = x"yes"; then
17727  HAVE_UNIX_LY_TRUE=
17728  HAVE_UNIX_LY_FALSE='#'
17729else
17730  HAVE_UNIX_LY_TRUE='#'
17731  HAVE_UNIX_LY_FALSE=
17732fi
17733
17734
17735    result=`ps -ef  2>/dev/null`;
17736    if test x"${result}" = x; then
17737	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ef option found" >&5
17738$as_echo "no -ef option found" >&6; }
17739	OPTION_FOUND=no
17740    else
17741
17742$as_echo "#define HAVE_UNIX_EF 1" >>confdefs.h
17743
17744	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ef option found" >&5
17745$as_echo "-ef option found" >&6; }
17746	OPTION_FOUND=yes
17747    fi
17748     if test x"OPTION_FOUND" = x"yes"; then
17749  HAVE_UNIX_EF_TRUE=
17750  HAVE_UNIX_EF_FALSE='#'
17751else
17752  HAVE_UNIX_EF_TRUE='#'
17753  HAVE_UNIX_EF_FALSE=
17754fi
17755
17756
17757    result=`ps -o pcpu 2>/dev/null`;
17758    if test x"${result}" = x; then
17759	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o option found" >&5
17760$as_echo "no -o option found" >&6; }
17761	OPTION_FOUND=no
17762    else
17763
17764$as_echo "#define HAVE_UNIX_O 1" >>confdefs.h
17765
17766	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o option found" >&5
17767$as_echo "-o option found" >&6; }
17768	OPTION_FOUND=yes
17769    fi
17770     if test x"OPTION_FOUND" = x"yes"; then
17771  HAVE_UNIX_O_TRUE=
17772  HAVE_UNIX_O_FALSE='#'
17773else
17774  HAVE_UNIX_O_TRUE='#'
17775  HAVE_UNIX_O_FALSE=
17776fi
17777
17778
17779    result=`ps -w  2>/dev/null`;
17780    if test x"${result}" = x; then
17781	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -w option found" >&5
17782$as_echo "no -w option found" >&6; }
17783	OPTION_FOUND=no
17784    else
17785
17786$as_echo "#define HAVE_UNIX_W 1" >>confdefs.h
17787
17788	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -w option found" >&5
17789$as_echo "-w option found" >&6; }
17790	OPTION_FOUND=yes
17791    fi
17792     if test x"OPTION_FOUND" = x"yes"; then
17793  HAVE_UNIX_W_TRUE=
17794  HAVE_UNIX_W_FALSE='#'
17795else
17796  HAVE_UNIX_W_TRUE='#'
17797  HAVE_UNIX_W_FALSE=
17798fi
17799
17800
17801    result=`ps xf  2>/dev/null`;
17802    if test x"${result}" = x; then
17803	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no xf option found" >&5
17804$as_echo "no xf option found" >&6; }
17805	OPTION_FOUND=no
17806    else
17807
17808$as_echo "#define HAVE_BSD_XF 1" >>confdefs.h
17809
17810	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: xf option found" >&5
17811$as_echo "xf option found" >&6; }
17812	OPTION_FOUND=yes
17813    fi
17814     if test x"OPTION_FOUND" = x"yes"; then
17815  HAVE_BSD_XF_TRUE=
17816  HAVE_BSD_XF_FALSE='#'
17817else
17818  HAVE_BSD_XF_TRUE='#'
17819  HAVE_BSD_XF_FALSE=
17820fi
17821
17822
17823    result=`ps l  2>/dev/null`;
17824    if test x"${result}" = x; then
17825	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no l option found" >&5
17826$as_echo "no l option found" >&6; }
17827	OPTION_FOUND=no
17828    else
17829
17830$as_echo "#define HAVE_BSD_L 1" >>confdefs.h
17831
17832	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: l option found" >&5
17833$as_echo "l option found" >&6; }
17834	OPTION_FOUND=yes
17835    fi
17836     if test x"OPTION_FOUND" = x"yes"; then
17837  HAVE_BSD_L_TRUE=
17838  HAVE_BSD_L_FALSE='#'
17839else
17840  HAVE_BSD_L_TRUE='#'
17841  HAVE_BSD_L_FALSE=
17842fi
17843
17844
17845    result=`ps aux  2>/dev/null`;
17846    if test x"${result}" = x; then
17847	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no aux option found" >&5
17848$as_echo "no aux option found" >&6; }
17849	OPTION_FOUND=no
17850    else
17851
17852$as_echo "#define HAVE_BSD_AUX 1" >>confdefs.h
17853
17854	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: aux option found" >&5
17855$as_echo "aux option found" >&6; }
17856	OPTION_FOUND=yes
17857    fi
17858     if test x"OPTION_FOUND" = x"yes"; then
17859  HAVE_BSD_AUX_TRUE=
17860  HAVE_BSD_AUX_FALSE='#'
17861else
17862  HAVE_BSD_AUX_TRUE='#'
17863  HAVE_BSD_AUX_FALSE=
17864fi
17865
17866
17867    result=`ps o pcpu  2>/dev/null`;
17868    if test x"${result}" = x; then
17869	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no o option found" >&5
17870$as_echo "no o option found" >&6; }
17871	OPTION_FOUND=no
17872    else
17873
17874$as_echo "#define HAVE_BSD_O 1" >>confdefs.h
17875
17876	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: o option found" >&5
17877$as_echo "o option found" >&6; }
17878	OPTION_FOUND=yes
17879    fi
17880     if test x"OPTION_FOUND" = x"yes"; then
17881  HAVE_BSD_O_TRUE=
17882  HAVE_BSD_O_FALSE='#'
17883else
17884  HAVE_BSD_O_TRUE='#'
17885  HAVE_BSD_O_FALSE=
17886fi
17887
17888
17889    result=`ps w  2>/dev/null`;
17890    if test x"${result}" = x; then
17891	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no w option found" >&5
17892$as_echo "no w option found" >&6; }
17893	OPTION_FOUND=no
17894    else
17895
17896$as_echo "#define HAVE_BSD_W 1" >>confdefs.h
17897
17898	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: w option found" >&5
17899$as_echo "w option found" >&6; }
17900	OPTION_FOUND=yes
17901    fi
17902     if test x"OPTION_FOUND" = x"yes"; then
17903  HAVE_BSD_W_TRUE=
17904  HAVE_BSD_W_FALSE='#'
17905else
17906  HAVE_BSD_W_TRUE='#'
17907  HAVE_BSD_W_FALSE=
17908fi
17909
17910
17911 fi
17912
17913
17914
17915# Extract the first word of "dpkg", so it can be a program name with args.
17916set dummy dpkg; ac_word=$2
17917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17918$as_echo_n "checking for $ac_word... " >&6; }
17919if ${ac_cv_prog_cv_dpkg+:} false; then :
17920  $as_echo_n "(cached) " >&6
17921else
17922  if test -n "$cv_dpkg"; then
17923  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
17924else
17925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17926for as_dir in $PATH
17927do
17928  IFS=$as_save_IFS
17929  test -z "$as_dir" && as_dir=.
17930    for ac_exec_ext in '' $ac_executable_extensions; do
17931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17932    ac_cv_prog_cv_dpkg="yes"
17933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17934    break 2
17935  fi
17936done
17937  done
17938IFS=$as_save_IFS
17939
17940  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
17941fi
17942fi
17943cv_dpkg=$ac_cv_prog_cv_dpkg
17944if test -n "$cv_dpkg"; then
17945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
17946$as_echo "$cv_dpkg" >&6; }
17947else
17948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17949$as_echo "no" >&6; }
17950fi
17951
17952
17953 if test "$cv_dpkg" = yes; then
17954  WANT_DEBIAN_TRUE=
17955  WANT_DEBIAN_FALSE='#'
17956else
17957  WANT_DEBIAN_TRUE='#'
17958  WANT_DEBIAN_FALSE=
17959fi
17960
17961#debian/changelog
17962
17963 LIBDIR=$libdir;
17964ac_config_files="$ac_config_files rodent-pkg.settings Makefile rodent-pkg.spec Rodent-pkg.desktop.in Rodent-pkg.appdata.xml po/Makefile.in Build/Makefile man/Makefile icons/Makefile icons/png/Makefile icons/svg/Makefile debian/changelog debian/control"
17965
17966cat >confcache <<\_ACEOF
17967# This file is a shell script that caches the results of configure
17968# tests run on this system so they can be shared between configure
17969# scripts and configure runs, see configure's option --config-cache.
17970# It is not useful on other systems.  If it contains results you don't
17971# want to keep, you may remove or edit it.
17972#
17973# config.status only pays attention to the cache file if you give it
17974# the --recheck option to rerun configure.
17975#
17976# `ac_cv_env_foo' variables (set or unset) will be overridden when
17977# loading this file, other *unset* `ac_cv_foo' will be assigned the
17978# following values.
17979
17980_ACEOF
17981
17982# The following way of writing the cache mishandles newlines in values,
17983# but we know of no workaround that is simple, portable, and efficient.
17984# So, we kill variables containing newlines.
17985# Ultrix sh set writes to stderr and can't be redirected directly,
17986# and sets the high bit in the cache file unless we assign to the vars.
17987(
17988  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17989    eval ac_val=\$$ac_var
17990    case $ac_val in #(
17991    *${as_nl}*)
17992      case $ac_var in #(
17993      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17994$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17995      esac
17996      case $ac_var in #(
17997      _ | IFS | as_nl) ;; #(
17998      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17999      *) { eval $ac_var=; unset $ac_var;} ;;
18000      esac ;;
18001    esac
18002  done
18003
18004  (set) 2>&1 |
18005    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18006    *${as_nl}ac_space=\ *)
18007      # `set' does not quote correctly, so add quotes: double-quote
18008      # substitution turns \\\\ into \\, and sed turns \\ into \.
18009      sed -n \
18010	"s/'/'\\\\''/g;
18011	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18012      ;; #(
18013    *)
18014      # `set' quotes correctly as required by POSIX, so do not add quotes.
18015      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18016      ;;
18017    esac |
18018    sort
18019) |
18020  sed '
18021     /^ac_cv_env_/b end
18022     t clear
18023     :clear
18024     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18025     t end
18026     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18027     :end' >>confcache
18028if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18029  if test -w "$cache_file"; then
18030    if test "x$cache_file" != "x/dev/null"; then
18031      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18032$as_echo "$as_me: updating cache $cache_file" >&6;}
18033      if test ! -f "$cache_file" || test -h "$cache_file"; then
18034	cat confcache >"$cache_file"
18035      else
18036        case $cache_file in #(
18037        */* | ?:*)
18038	  mv -f confcache "$cache_file"$$ &&
18039	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18040        *)
18041	  mv -f confcache "$cache_file" ;;
18042	esac
18043      fi
18044    fi
18045  else
18046    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18047$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18048  fi
18049fi
18050rm -f confcache
18051
18052test "x$prefix" = xNONE && prefix=$ac_default_prefix
18053# Let make expand exec_prefix.
18054test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18055
18056DEFS=-DHAVE_CONFIG_H
18057
18058ac_libobjs=
18059ac_ltlibobjs=
18060U=
18061for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18062  # 1. Remove the extension, and $U if already installed.
18063  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18064  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18065  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18066  #    will be set to the directory where LIBOBJS objects are built.
18067  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18068  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18069done
18070LIBOBJS=$ac_libobjs
18071
18072LTLIBOBJS=$ac_ltlibobjs
18073
18074
18075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18076$as_echo_n "checking that generated files are newer than configure... " >&6; }
18077   if test -n "$am_sleep_pid"; then
18078     # Hide warnings about reused PIDs.
18079     wait $am_sleep_pid 2>/dev/null
18080   fi
18081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18082$as_echo "done" >&6; }
18083if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18084  as_fn_error $? "conditional \"AMDEP\" was never defined.
18085Usually this means the macro was only invoked conditionally." "$LINENO" 5
18086fi
18087if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18088  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18089Usually this means the macro was only invoked conditionally." "$LINENO" 5
18090fi
18091 if test -n "$EXEEXT"; then
18092  am__EXEEXT_TRUE=
18093  am__EXEEXT_FALSE='#'
18094else
18095  am__EXEEXT_TRUE='#'
18096  am__EXEEXT_FALSE=
18097fi
18098
18099if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18100  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18101Usually this means the macro was only invoked conditionally." "$LINENO" 5
18102fi
18103
18104  ac_config_commands="$ac_config_commands po/stamp-it"
18105
18106
18107
18108if test -z "${WANT_FREEBSD_TRUE}" && test -z "${WANT_FREEBSD_FALSE}"; then
18109  as_fn_error $? "conditional \"WANT_FREEBSD\" was never defined.
18110Usually this means the macro was only invoked conditionally." "$LINENO" 5
18111fi
18112if test -z "${ONLY_LINUX_TRUE}" && test -z "${ONLY_LINUX_FALSE}"; then
18113  as_fn_error $? "conditional \"ONLY_LINUX\" was never defined.
18114Usually this means the macro was only invoked conditionally." "$LINENO" 5
18115fi
18116if test -z "${WANT_GENTOO_TRUE}" && test -z "${WANT_GENTOO_FALSE}"; then
18117  as_fn_error $? "conditional \"WANT_GENTOO\" was never defined.
18118Usually this means the macro was only invoked conditionally." "$LINENO" 5
18119fi
18120if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
18121  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
18122Usually this means the macro was only invoked conditionally." "$LINENO" 5
18123fi
18124if test -z "${HAVE_UNIX_O_RSS_TRUE}" && test -z "${HAVE_UNIX_O_RSS_FALSE}"; then
18125  as_fn_error $? "conditional \"HAVE_UNIX_O_RSS\" was never defined.
18126Usually this means the macro was only invoked conditionally." "$LINENO" 5
18127fi
18128if test -z "${HAVE_UNIX_JH_TRUE}" && test -z "${HAVE_UNIX_JH_FALSE}"; then
18129  as_fn_error $? "conditional \"HAVE_UNIX_JH\" was never defined.
18130Usually this means the macro was only invoked conditionally." "$LINENO" 5
18131fi
18132if test -z "${HAVE_UNIX_LY_TRUE}" && test -z "${HAVE_UNIX_LY_FALSE}"; then
18133  as_fn_error $? "conditional \"HAVE_UNIX_LY\" was never defined.
18134Usually this means the macro was only invoked conditionally." "$LINENO" 5
18135fi
18136if test -z "${HAVE_UNIX_EF_TRUE}" && test -z "${HAVE_UNIX_EF_FALSE}"; then
18137  as_fn_error $? "conditional \"HAVE_UNIX_EF\" was never defined.
18138Usually this means the macro was only invoked conditionally." "$LINENO" 5
18139fi
18140if test -z "${HAVE_UNIX_O_TRUE}" && test -z "${HAVE_UNIX_O_FALSE}"; then
18141  as_fn_error $? "conditional \"HAVE_UNIX_O\" was never defined.
18142Usually this means the macro was only invoked conditionally." "$LINENO" 5
18143fi
18144if test -z "${HAVE_UNIX_W_TRUE}" && test -z "${HAVE_UNIX_W_FALSE}"; then
18145  as_fn_error $? "conditional \"HAVE_UNIX_W\" was never defined.
18146Usually this means the macro was only invoked conditionally." "$LINENO" 5
18147fi
18148if test -z "${HAVE_BSD_XF_TRUE}" && test -z "${HAVE_BSD_XF_FALSE}"; then
18149  as_fn_error $? "conditional \"HAVE_BSD_XF\" was never defined.
18150Usually this means the macro was only invoked conditionally." "$LINENO" 5
18151fi
18152if test -z "${HAVE_BSD_L_TRUE}" && test -z "${HAVE_BSD_L_FALSE}"; then
18153  as_fn_error $? "conditional \"HAVE_BSD_L\" was never defined.
18154Usually this means the macro was only invoked conditionally." "$LINENO" 5
18155fi
18156if test -z "${HAVE_BSD_AUX_TRUE}" && test -z "${HAVE_BSD_AUX_FALSE}"; then
18157  as_fn_error $? "conditional \"HAVE_BSD_AUX\" was never defined.
18158Usually this means the macro was only invoked conditionally." "$LINENO" 5
18159fi
18160if test -z "${HAVE_BSD_O_TRUE}" && test -z "${HAVE_BSD_O_FALSE}"; then
18161  as_fn_error $? "conditional \"HAVE_BSD_O\" was never defined.
18162Usually this means the macro was only invoked conditionally." "$LINENO" 5
18163fi
18164if test -z "${HAVE_BSD_W_TRUE}" && test -z "${HAVE_BSD_W_FALSE}"; then
18165  as_fn_error $? "conditional \"HAVE_BSD_W\" was never defined.
18166Usually this means the macro was only invoked conditionally." "$LINENO" 5
18167fi
18168if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
18169  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
18170Usually this means the macro was only invoked conditionally." "$LINENO" 5
18171fi
18172
18173: "${CONFIG_STATUS=./config.status}"
18174ac_write_fail=0
18175ac_clean_files_save=$ac_clean_files
18176ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18177{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18178$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18179as_write_fail=0
18180cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18181#! $SHELL
18182# Generated by $as_me.
18183# Run this file to recreate the current configuration.
18184# Compiler output produced by configure, useful for debugging
18185# configure, is in config.log if it exists.
18186
18187debug=false
18188ac_cs_recheck=false
18189ac_cs_silent=false
18190
18191SHELL=\${CONFIG_SHELL-$SHELL}
18192export SHELL
18193_ASEOF
18194cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18195## -------------------- ##
18196## M4sh Initialization. ##
18197## -------------------- ##
18198
18199# Be more Bourne compatible
18200DUALCASE=1; export DUALCASE # for MKS sh
18201if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18202  emulate sh
18203  NULLCMD=:
18204  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18205  # is contrary to our usage.  Disable this feature.
18206  alias -g '${1+"$@"}'='"$@"'
18207  setopt NO_GLOB_SUBST
18208else
18209  case `(set -o) 2>/dev/null` in #(
18210  *posix*) :
18211    set -o posix ;; #(
18212  *) :
18213     ;;
18214esac
18215fi
18216
18217
18218as_nl='
18219'
18220export as_nl
18221# Printing a long string crashes Solaris 7 /usr/bin/printf.
18222as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18223as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18224as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18225# Prefer a ksh shell builtin over an external printf program on Solaris,
18226# but without wasting forks for bash or zsh.
18227if test -z "$BASH_VERSION$ZSH_VERSION" \
18228    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18229  as_echo='print -r --'
18230  as_echo_n='print -rn --'
18231elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18232  as_echo='printf %s\n'
18233  as_echo_n='printf %s'
18234else
18235  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18236    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18237    as_echo_n='/usr/ucb/echo -n'
18238  else
18239    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18240    as_echo_n_body='eval
18241      arg=$1;
18242      case $arg in #(
18243      *"$as_nl"*)
18244	expr "X$arg" : "X\\(.*\\)$as_nl";
18245	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18246      esac;
18247      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18248    '
18249    export as_echo_n_body
18250    as_echo_n='sh -c $as_echo_n_body as_echo'
18251  fi
18252  export as_echo_body
18253  as_echo='sh -c $as_echo_body as_echo'
18254fi
18255
18256# The user is always right.
18257if test "${PATH_SEPARATOR+set}" != set; then
18258  PATH_SEPARATOR=:
18259  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18260    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18261      PATH_SEPARATOR=';'
18262  }
18263fi
18264
18265
18266# IFS
18267# We need space, tab and new line, in precisely that order.  Quoting is
18268# there to prevent editors from complaining about space-tab.
18269# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18270# splitting by setting IFS to empty value.)
18271IFS=" ""	$as_nl"
18272
18273# Find who we are.  Look in the path if we contain no directory separator.
18274as_myself=
18275case $0 in #((
18276  *[\\/]* ) as_myself=$0 ;;
18277  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18278for as_dir in $PATH
18279do
18280  IFS=$as_save_IFS
18281  test -z "$as_dir" && as_dir=.
18282    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18283  done
18284IFS=$as_save_IFS
18285
18286     ;;
18287esac
18288# We did not find ourselves, most probably we were run as `sh COMMAND'
18289# in which case we are not to be found in the path.
18290if test "x$as_myself" = x; then
18291  as_myself=$0
18292fi
18293if test ! -f "$as_myself"; then
18294  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18295  exit 1
18296fi
18297
18298# Unset variables that we do not need and which cause bugs (e.g. in
18299# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18300# suppresses any "Segmentation fault" message there.  '((' could
18301# trigger a bug in pdksh 5.2.14.
18302for as_var in BASH_ENV ENV MAIL MAILPATH
18303do eval test x\${$as_var+set} = xset \
18304  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18305done
18306PS1='$ '
18307PS2='> '
18308PS4='+ '
18309
18310# NLS nuisances.
18311LC_ALL=C
18312export LC_ALL
18313LANGUAGE=C
18314export LANGUAGE
18315
18316# CDPATH.
18317(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18318
18319
18320# as_fn_error STATUS ERROR [LINENO LOG_FD]
18321# ----------------------------------------
18322# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18323# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18324# script with STATUS, using 1 if that was 0.
18325as_fn_error ()
18326{
18327  as_status=$1; test $as_status -eq 0 && as_status=1
18328  if test "$4"; then
18329    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18330    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18331  fi
18332  $as_echo "$as_me: error: $2" >&2
18333  as_fn_exit $as_status
18334} # as_fn_error
18335
18336
18337# as_fn_set_status STATUS
18338# -----------------------
18339# Set $? to STATUS, without forking.
18340as_fn_set_status ()
18341{
18342  return $1
18343} # as_fn_set_status
18344
18345# as_fn_exit STATUS
18346# -----------------
18347# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18348as_fn_exit ()
18349{
18350  set +e
18351  as_fn_set_status $1
18352  exit $1
18353} # as_fn_exit
18354
18355# as_fn_unset VAR
18356# ---------------
18357# Portably unset VAR.
18358as_fn_unset ()
18359{
18360  { eval $1=; unset $1;}
18361}
18362as_unset=as_fn_unset
18363# as_fn_append VAR VALUE
18364# ----------------------
18365# Append the text in VALUE to the end of the definition contained in VAR. Take
18366# advantage of any shell optimizations that allow amortized linear growth over
18367# repeated appends, instead of the typical quadratic growth present in naive
18368# implementations.
18369if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18370  eval 'as_fn_append ()
18371  {
18372    eval $1+=\$2
18373  }'
18374else
18375  as_fn_append ()
18376  {
18377    eval $1=\$$1\$2
18378  }
18379fi # as_fn_append
18380
18381# as_fn_arith ARG...
18382# ------------------
18383# Perform arithmetic evaluation on the ARGs, and store the result in the
18384# global $as_val. Take advantage of shells that can avoid forks. The arguments
18385# must be portable across $(()) and expr.
18386if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18387  eval 'as_fn_arith ()
18388  {
18389    as_val=$(( $* ))
18390  }'
18391else
18392  as_fn_arith ()
18393  {
18394    as_val=`expr "$@" || test $? -eq 1`
18395  }
18396fi # as_fn_arith
18397
18398
18399if expr a : '\(a\)' >/dev/null 2>&1 &&
18400   test "X`expr 00001 : '.*\(...\)'`" = X001; then
18401  as_expr=expr
18402else
18403  as_expr=false
18404fi
18405
18406if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18407  as_basename=basename
18408else
18409  as_basename=false
18410fi
18411
18412if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18413  as_dirname=dirname
18414else
18415  as_dirname=false
18416fi
18417
18418as_me=`$as_basename -- "$0" ||
18419$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18420	 X"$0" : 'X\(//\)$' \| \
18421	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18422$as_echo X/"$0" |
18423    sed '/^.*\/\([^/][^/]*\)\/*$/{
18424	    s//\1/
18425	    q
18426	  }
18427	  /^X\/\(\/\/\)$/{
18428	    s//\1/
18429	    q
18430	  }
18431	  /^X\/\(\/\).*/{
18432	    s//\1/
18433	    q
18434	  }
18435	  s/.*/./; q'`
18436
18437# Avoid depending upon Character Ranges.
18438as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18439as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18440as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18441as_cr_digits='0123456789'
18442as_cr_alnum=$as_cr_Letters$as_cr_digits
18443
18444ECHO_C= ECHO_N= ECHO_T=
18445case `echo -n x` in #(((((
18446-n*)
18447  case `echo 'xy\c'` in
18448  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
18449  xy)  ECHO_C='\c';;
18450  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18451       ECHO_T='	';;
18452  esac;;
18453*)
18454  ECHO_N='-n';;
18455esac
18456
18457rm -f conf$$ conf$$.exe conf$$.file
18458if test -d conf$$.dir; then
18459  rm -f conf$$.dir/conf$$.file
18460else
18461  rm -f conf$$.dir
18462  mkdir conf$$.dir 2>/dev/null
18463fi
18464if (echo >conf$$.file) 2>/dev/null; then
18465  if ln -s conf$$.file conf$$ 2>/dev/null; then
18466    as_ln_s='ln -s'
18467    # ... but there are two gotchas:
18468    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18469    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18470    # In both cases, we have to default to `cp -pR'.
18471    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18472      as_ln_s='cp -pR'
18473  elif ln conf$$.file conf$$ 2>/dev/null; then
18474    as_ln_s=ln
18475  else
18476    as_ln_s='cp -pR'
18477  fi
18478else
18479  as_ln_s='cp -pR'
18480fi
18481rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18482rmdir conf$$.dir 2>/dev/null
18483
18484
18485# as_fn_mkdir_p
18486# -------------
18487# Create "$as_dir" as a directory, including parents if necessary.
18488as_fn_mkdir_p ()
18489{
18490
18491  case $as_dir in #(
18492  -*) as_dir=./$as_dir;;
18493  esac
18494  test -d "$as_dir" || eval $as_mkdir_p || {
18495    as_dirs=
18496    while :; do
18497      case $as_dir in #(
18498      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18499      *) as_qdir=$as_dir;;
18500      esac
18501      as_dirs="'$as_qdir' $as_dirs"
18502      as_dir=`$as_dirname -- "$as_dir" ||
18503$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18504	 X"$as_dir" : 'X\(//\)[^/]' \| \
18505	 X"$as_dir" : 'X\(//\)$' \| \
18506	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18507$as_echo X"$as_dir" |
18508    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18509	    s//\1/
18510	    q
18511	  }
18512	  /^X\(\/\/\)[^/].*/{
18513	    s//\1/
18514	    q
18515	  }
18516	  /^X\(\/\/\)$/{
18517	    s//\1/
18518	    q
18519	  }
18520	  /^X\(\/\).*/{
18521	    s//\1/
18522	    q
18523	  }
18524	  s/.*/./; q'`
18525      test -d "$as_dir" && break
18526    done
18527    test -z "$as_dirs" || eval "mkdir $as_dirs"
18528  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18529
18530
18531} # as_fn_mkdir_p
18532if mkdir -p . 2>/dev/null; then
18533  as_mkdir_p='mkdir -p "$as_dir"'
18534else
18535  test -d ./-p && rmdir ./-p
18536  as_mkdir_p=false
18537fi
18538
18539
18540# as_fn_executable_p FILE
18541# -----------------------
18542# Test if FILE is an executable regular file.
18543as_fn_executable_p ()
18544{
18545  test -f "$1" && test -x "$1"
18546} # as_fn_executable_p
18547as_test_x='test -x'
18548as_executable_p=as_fn_executable_p
18549
18550# Sed expression to map a string onto a valid CPP name.
18551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18552
18553# Sed expression to map a string onto a valid variable name.
18554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18555
18556
18557exec 6>&1
18558## ----------------------------------- ##
18559## Main body of $CONFIG_STATUS script. ##
18560## ----------------------------------- ##
18561_ASEOF
18562test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18563
18564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18565# Save the log message, to keep $0 and so on meaningful, and to
18566# report actual input values of CONFIG_FILES etc. instead of their
18567# values after options handling.
18568ac_log="
18569This file was extended by rodent-pkg $as_me 5.3.16.3, which was
18570generated by GNU Autoconf 2.69.  Invocation command line was
18571
18572  CONFIG_FILES    = $CONFIG_FILES
18573  CONFIG_HEADERS  = $CONFIG_HEADERS
18574  CONFIG_LINKS    = $CONFIG_LINKS
18575  CONFIG_COMMANDS = $CONFIG_COMMANDS
18576  $ $0 $@
18577
18578on `(hostname || uname -n) 2>/dev/null | sed 1q`
18579"
18580
18581_ACEOF
18582
18583case $ac_config_files in *"
18584"*) set x $ac_config_files; shift; ac_config_files=$*;;
18585esac
18586
18587case $ac_config_headers in *"
18588"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18589esac
18590
18591
18592cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18593# Files that config.status was made for.
18594config_files="$ac_config_files"
18595config_headers="$ac_config_headers"
18596config_commands="$ac_config_commands"
18597
18598_ACEOF
18599
18600cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18601ac_cs_usage="\
18602\`$as_me' instantiates files and other configuration actions
18603from templates according to the current configuration.  Unless the files
18604and actions are specified as TAGs, all are instantiated by default.
18605
18606Usage: $0 [OPTION]... [TAG]...
18607
18608  -h, --help       print this help, then exit
18609  -V, --version    print version number and configuration settings, then exit
18610      --config     print configuration, then exit
18611  -q, --quiet, --silent
18612                   do not print progress messages
18613  -d, --debug      don't remove temporary files
18614      --recheck    update $as_me by reconfiguring in the same conditions
18615      --file=FILE[:TEMPLATE]
18616                   instantiate the configuration file FILE
18617      --header=FILE[:TEMPLATE]
18618                   instantiate the configuration header FILE
18619
18620Configuration files:
18621$config_files
18622
18623Configuration headers:
18624$config_headers
18625
18626Configuration commands:
18627$config_commands
18628
18629Report bugs to <https://sourceforge.net/p/xffm/bugs/milestone/rodent-pkg/>.
18630rodent-pkg home page: <"http://xffm.org/rodent-pkg.html">."
18631
18632_ACEOF
18633cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18634ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18635ac_cs_version="\\
18636rodent-pkg config.status 5.3.16.3
18637configured by $0, generated by GNU Autoconf 2.69,
18638  with options \\"\$ac_cs_config\\"
18639
18640Copyright (C) 2012 Free Software Foundation, Inc.
18641This config.status script is free software; the Free Software Foundation
18642gives unlimited permission to copy, distribute and modify it."
18643
18644ac_pwd='$ac_pwd'
18645srcdir='$srcdir'
18646INSTALL='$INSTALL'
18647MKDIR_P='$MKDIR_P'
18648AWK='$AWK'
18649test -n "\$AWK" || AWK=awk
18650_ACEOF
18651
18652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18653# The default lists apply if the user does not specify any file.
18654ac_need_defaults=:
18655while test $# != 0
18656do
18657  case $1 in
18658  --*=?*)
18659    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18660    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18661    ac_shift=:
18662    ;;
18663  --*=)
18664    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18665    ac_optarg=
18666    ac_shift=:
18667    ;;
18668  *)
18669    ac_option=$1
18670    ac_optarg=$2
18671    ac_shift=shift
18672    ;;
18673  esac
18674
18675  case $ac_option in
18676  # Handling of the options.
18677  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18678    ac_cs_recheck=: ;;
18679  --version | --versio | --versi | --5.3.16.3 | --ver | --ve | --v | -V )
18680    $as_echo "$ac_cs_version"; exit ;;
18681  --config | --confi | --conf | --con | --co | --c )
18682    $as_echo "$ac_cs_config"; exit ;;
18683  --debug | --debu | --deb | --de | --d | -d )
18684    debug=: ;;
18685  --file | --fil | --fi | --f )
18686    $ac_shift
18687    case $ac_optarg in
18688    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18689    '') as_fn_error $? "missing file argument" ;;
18690    esac
18691    as_fn_append CONFIG_FILES " '$ac_optarg'"
18692    ac_need_defaults=false;;
18693  --header | --heade | --head | --hea )
18694    $ac_shift
18695    case $ac_optarg in
18696    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18697    esac
18698    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18699    ac_need_defaults=false;;
18700  --he | --h)
18701    # Conflict between --help and --header
18702    as_fn_error $? "ambiguous option: \`$1'
18703Try \`$0 --help' for more information.";;
18704  --help | --hel | -h )
18705    $as_echo "$ac_cs_usage"; exit ;;
18706  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18707  | -silent | --silent | --silen | --sile | --sil | --si | --s)
18708    ac_cs_silent=: ;;
18709
18710  # This is an error.
18711  -*) as_fn_error $? "unrecognized option: \`$1'
18712Try \`$0 --help' for more information." ;;
18713
18714  *) as_fn_append ac_config_targets " $1"
18715     ac_need_defaults=false ;;
18716
18717  esac
18718  shift
18719done
18720
18721ac_configure_extra_args=
18722
18723if $ac_cs_silent; then
18724  exec 6>/dev/null
18725  ac_configure_extra_args="$ac_configure_extra_args --silent"
18726fi
18727
18728_ACEOF
18729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18730if \$ac_cs_recheck; then
18731  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18732  shift
18733  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18734  CONFIG_SHELL='$SHELL'
18735  export CONFIG_SHELL
18736  exec "\$@"
18737fi
18738
18739_ACEOF
18740cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18741exec 5>>config.log
18742{
18743  echo
18744  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18745## Running $as_me. ##
18746_ASBOX
18747  $as_echo "$ac_log"
18748} >&5
18749
18750_ACEOF
18751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18752#
18753# INIT-COMMANDS
18754#
18755
18756
18757# The HP-UX ksh and POSIX shell print the target directory to stdout
18758# if CDPATH is set.
18759(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18760
18761sed_quote_subst='$sed_quote_subst'
18762double_quote_subst='$double_quote_subst'
18763delay_variable_subst='$delay_variable_subst'
18764macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18765macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18766enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18767enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18768pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18769enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18770shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18771SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18772ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18773PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18774host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18775host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18776host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18777build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18778build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18779build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18780SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18781Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18782GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18783EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18784FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18785LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18786NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18787LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18788max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18789ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18790exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18791lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18792lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18793lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18794lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18795lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18796reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18797reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18798OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18799deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18800file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18801file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18802want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18803DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18804sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18805AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18806AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18807archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18808STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18809RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18810old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18811old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18812old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18813lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18814CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18815CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18816compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18817GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18818lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18819lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18820lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18821lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18822lt_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"`'
18823lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18824nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18825lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18826lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18827objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18828MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18829lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18830lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18831lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18832lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18833lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18834need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18835MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18836DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18837NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18838LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18839OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18840OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18841libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18842shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18843extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18844archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18845enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18846export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18847whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18848compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18849old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18850old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18851archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18852archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18853module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18854module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18855with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18856allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18857no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18858hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18859hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18860hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18861hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18862hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18863hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18864hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18865inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18866link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18867always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18868export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18869exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18870include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18871prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18872postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18873file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18874variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18875need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18876need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18877version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18878runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18879shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18880shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18881libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18882library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18883soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18884install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18885postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18886postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18887finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18888finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18889hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18890sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18891configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18892configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18893hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18894enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18895enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18896enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18897old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18898striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18899
18900LTCC='$LTCC'
18901LTCFLAGS='$LTCFLAGS'
18902compiler='$compiler_DEFAULT'
18903
18904# A function that is used when there is no print builtin or printf.
18905func_fallback_echo ()
18906{
18907  eval 'cat <<_LTECHO_EOF
18908\$1
18909_LTECHO_EOF'
18910}
18911
18912# Quote evaled strings.
18913for var in SHELL \
18914ECHO \
18915PATH_SEPARATOR \
18916SED \
18917GREP \
18918EGREP \
18919FGREP \
18920LD \
18921NM \
18922LN_S \
18923lt_SP2NL \
18924lt_NL2SP \
18925reload_flag \
18926OBJDUMP \
18927deplibs_check_method \
18928file_magic_cmd \
18929file_magic_glob \
18930want_nocaseglob \
18931DLLTOOL \
18932sharedlib_from_linklib_cmd \
18933AR \
18934AR_FLAGS \
18935archiver_list_spec \
18936STRIP \
18937RANLIB \
18938CC \
18939CFLAGS \
18940compiler \
18941lt_cv_sys_global_symbol_pipe \
18942lt_cv_sys_global_symbol_to_cdecl \
18943lt_cv_sys_global_symbol_to_import \
18944lt_cv_sys_global_symbol_to_c_name_address \
18945lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18946lt_cv_nm_interface \
18947nm_file_list_spec \
18948lt_cv_truncate_bin \
18949lt_prog_compiler_no_builtin_flag \
18950lt_prog_compiler_pic \
18951lt_prog_compiler_wl \
18952lt_prog_compiler_static \
18953lt_cv_prog_compiler_c_o \
18954need_locks \
18955MANIFEST_TOOL \
18956DSYMUTIL \
18957NMEDIT \
18958LIPO \
18959OTOOL \
18960OTOOL64 \
18961shrext_cmds \
18962export_dynamic_flag_spec \
18963whole_archive_flag_spec \
18964compiler_needs_object \
18965with_gnu_ld \
18966allow_undefined_flag \
18967no_undefined_flag \
18968hardcode_libdir_flag_spec \
18969hardcode_libdir_separator \
18970exclude_expsyms \
18971include_expsyms \
18972file_list_spec \
18973variables_saved_for_relink \
18974libname_spec \
18975library_names_spec \
18976soname_spec \
18977install_override_mode \
18978finish_eval \
18979old_striplib \
18980striplib; do
18981    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18982    *[\\\\\\\`\\"\\\$]*)
18983      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18984      ;;
18985    *)
18986      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18987      ;;
18988    esac
18989done
18990
18991# Double-quote double-evaled strings.
18992for var in reload_cmds \
18993old_postinstall_cmds \
18994old_postuninstall_cmds \
18995old_archive_cmds \
18996extract_expsyms_cmds \
18997old_archive_from_new_cmds \
18998old_archive_from_expsyms_cmds \
18999archive_cmds \
19000archive_expsym_cmds \
19001module_cmds \
19002module_expsym_cmds \
19003export_symbols_cmds \
19004prelink_cmds \
19005postlink_cmds \
19006postinstall_cmds \
19007postuninstall_cmds \
19008finish_cmds \
19009sys_lib_search_path_spec \
19010configure_time_dlsearch_path \
19011configure_time_lt_sys_library_path; do
19012    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19013    *[\\\\\\\`\\"\\\$]*)
19014      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19015      ;;
19016    *)
19017      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19018      ;;
19019    esac
19020done
19021
19022ac_aux_dir='$ac_aux_dir'
19023
19024# See if we are running on zsh, and set the options that allow our
19025# commands through without removal of \ escapes INIT.
19026if test -n "\${ZSH_VERSION+set}"; then
19027   setopt NO_GLOB_SUBST
19028fi
19029
19030
19031    PACKAGE='$PACKAGE'
19032    VERSION='$VERSION'
19033    RM='$RM'
19034    ofile='$ofile'
19035
19036
19037
19038AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19039
19040
19041_ACEOF
19042
19043cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19044
19045# Handling of arguments.
19046for ac_config_target in $ac_config_targets
19047do
19048  case $ac_config_target in
19049    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19050    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19051    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19052    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19053    "rodent-pkg.settings") CONFIG_FILES="$CONFIG_FILES rodent-pkg.settings" ;;
19054    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19055    "rodent-pkg.spec") CONFIG_FILES="$CONFIG_FILES rodent-pkg.spec" ;;
19056    "Rodent-pkg.desktop.in") CONFIG_FILES="$CONFIG_FILES Rodent-pkg.desktop.in" ;;
19057    "Rodent-pkg.appdata.xml") CONFIG_FILES="$CONFIG_FILES Rodent-pkg.appdata.xml" ;;
19058    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19059    "Build/Makefile") CONFIG_FILES="$CONFIG_FILES Build/Makefile" ;;
19060    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
19061    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
19062    "icons/png/Makefile") CONFIG_FILES="$CONFIG_FILES icons/png/Makefile" ;;
19063    "icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES icons/svg/Makefile" ;;
19064    "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;;
19065    "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
19066    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19067
19068  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19069  esac
19070done
19071
19072
19073# If the user did not use the arguments to specify the items to instantiate,
19074# then the envvar interface is used.  Set only those that are not.
19075# We use the long form for the default assignment because of an extremely
19076# bizarre bug on SunOS 4.1.3.
19077if $ac_need_defaults; then
19078  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19079  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19080  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19081fi
19082
19083# Have a temporary directory for convenience.  Make it in the build tree
19084# simply because there is no reason against having it here, and in addition,
19085# creating and moving files from /tmp can sometimes cause problems.
19086# Hook for its removal unless debugging.
19087# Note that there is a small window in which the directory will not be cleaned:
19088# after its creation but before its name has been assigned to `$tmp'.
19089$debug ||
19090{
19091  tmp= ac_tmp=
19092  trap 'exit_status=$?
19093  : "${ac_tmp:=$tmp}"
19094  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19095' 0
19096  trap 'as_fn_exit 1' 1 2 13 15
19097}
19098# Create a (secure) tmp directory for tmp files.
19099
19100{
19101  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19102  test -d "$tmp"
19103}  ||
19104{
19105  tmp=./conf$$-$RANDOM
19106  (umask 077 && mkdir "$tmp")
19107} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19108ac_tmp=$tmp
19109
19110# Set up the scripts for CONFIG_FILES section.
19111# No need to generate them if there are no CONFIG_FILES.
19112# This happens for instance with `./config.status config.h'.
19113if test -n "$CONFIG_FILES"; then
19114
19115
19116ac_cr=`echo X | tr X '\015'`
19117# On cygwin, bash can eat \r inside `` if the user requested igncr.
19118# But we know of no other shell where ac_cr would be empty at this
19119# point, so we can use a bashism as a fallback.
19120if test "x$ac_cr" = x; then
19121  eval ac_cr=\$\'\\r\'
19122fi
19123ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19124if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19125  ac_cs_awk_cr='\\r'
19126else
19127  ac_cs_awk_cr=$ac_cr
19128fi
19129
19130echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19131_ACEOF
19132
19133
19134{
19135  echo "cat >conf$$subs.awk <<_ACEOF" &&
19136  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19137  echo "_ACEOF"
19138} >conf$$subs.sh ||
19139  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19140ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19141ac_delim='%!_!# '
19142for ac_last_try in false false false false false :; do
19143  . ./conf$$subs.sh ||
19144    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19145
19146  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19147  if test $ac_delim_n = $ac_delim_num; then
19148    break
19149  elif $ac_last_try; then
19150    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19151  else
19152    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19153  fi
19154done
19155rm -f conf$$subs.sh
19156
19157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19158cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19159_ACEOF
19160sed -n '
19161h
19162s/^/S["/; s/!.*/"]=/
19163p
19164g
19165s/^[^!]*!//
19166:repl
19167t repl
19168s/'"$ac_delim"'$//
19169t delim
19170:nl
19171h
19172s/\(.\{148\}\)..*/\1/
19173t more1
19174s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19175p
19176n
19177b repl
19178:more1
19179s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19180p
19181g
19182s/.\{148\}//
19183t nl
19184:delim
19185h
19186s/\(.\{148\}\)..*/\1/
19187t more2
19188s/["\\]/\\&/g; s/^/"/; s/$/"/
19189p
19190b
19191:more2
19192s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19193p
19194g
19195s/.\{148\}//
19196t delim
19197' <conf$$subs.awk | sed '
19198/^[^""]/{
19199  N
19200  s/\n//
19201}
19202' >>$CONFIG_STATUS || ac_write_fail=1
19203rm -f conf$$subs.awk
19204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19205_ACAWK
19206cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19207  for (key in S) S_is_set[key] = 1
19208  FS = ""
19209
19210}
19211{
19212  line = $ 0
19213  nfields = split(line, field, "@")
19214  substed = 0
19215  len = length(field[1])
19216  for (i = 2; i < nfields; i++) {
19217    key = field[i]
19218    keylen = length(key)
19219    if (S_is_set[key]) {
19220      value = S[key]
19221      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19222      len += length(value) + length(field[++i])
19223      substed = 1
19224    } else
19225      len += 1 + keylen
19226  }
19227
19228  print line
19229}
19230
19231_ACAWK
19232_ACEOF
19233cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19234if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19235  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19236else
19237  cat
19238fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19239  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19240_ACEOF
19241
19242# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19243# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19244# trailing colons and then remove the whole line if VPATH becomes empty
19245# (actually we leave an empty line to preserve line numbers).
19246if test "x$srcdir" = x.; then
19247  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
19248h
19249s///
19250s/^/:/
19251s/[	 ]*$/:/
19252s/:\$(srcdir):/:/g
19253s/:\${srcdir}:/:/g
19254s/:@srcdir@:/:/g
19255s/^:*//
19256s/:*$//
19257x
19258s/\(=[	 ]*\).*/\1/
19259G
19260s/\n//
19261s/^[^=]*=[	 ]*$//
19262}'
19263fi
19264
19265cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19266fi # test -n "$CONFIG_FILES"
19267
19268# Set up the scripts for CONFIG_HEADERS section.
19269# No need to generate them if there are no CONFIG_HEADERS.
19270# This happens for instance with `./config.status Makefile'.
19271if test -n "$CONFIG_HEADERS"; then
19272cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19273BEGIN {
19274_ACEOF
19275
19276# Transform confdefs.h into an awk script `defines.awk', embedded as
19277# here-document in config.status, that substitutes the proper values into
19278# config.h.in to produce config.h.
19279
19280# Create a delimiter string that does not exist in confdefs.h, to ease
19281# handling of long lines.
19282ac_delim='%!_!# '
19283for ac_last_try in false false :; do
19284  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19285  if test -z "$ac_tt"; then
19286    break
19287  elif $ac_last_try; then
19288    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19289  else
19290    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19291  fi
19292done
19293
19294# For the awk script, D is an array of macro values keyed by name,
19295# likewise P contains macro parameters if any.  Preserve backslash
19296# newline sequences.
19297
19298ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19299sed -n '
19300s/.\{148\}/&'"$ac_delim"'/g
19301t rset
19302:rset
19303s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
19304t def
19305d
19306:def
19307s/\\$//
19308t bsnl
19309s/["\\]/\\&/g
19310s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19311D["\1"]=" \3"/p
19312s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
19313d
19314:bsnl
19315s/["\\]/\\&/g
19316s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
19317D["\1"]=" \3\\\\\\n"\\/p
19318t cont
19319s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19320t cont
19321d
19322:cont
19323n
19324s/.\{148\}/&'"$ac_delim"'/g
19325t clear
19326:clear
19327s/\\$//
19328t bsnlc
19329s/["\\]/\\&/g; s/^/"/; s/$/"/p
19330d
19331:bsnlc
19332s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19333b cont
19334' <confdefs.h | sed '
19335s/'"$ac_delim"'/"\\\
19336"/g' >>$CONFIG_STATUS || ac_write_fail=1
19337
19338cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19339  for (key in D) D_is_set[key] = 1
19340  FS = ""
19341}
19342/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19343  line = \$ 0
19344  split(line, arg, " ")
19345  if (arg[1] == "#") {
19346    defundef = arg[2]
19347    mac1 = arg[3]
19348  } else {
19349    defundef = substr(arg[1], 2)
19350    mac1 = arg[2]
19351  }
19352  split(mac1, mac2, "(") #)
19353  macro = mac2[1]
19354  prefix = substr(line, 1, index(line, defundef) - 1)
19355  if (D_is_set[macro]) {
19356    # Preserve the white space surrounding the "#".
19357    print prefix "define", macro P[macro] D[macro]
19358    next
19359  } else {
19360    # Replace #undef with comments.  This is necessary, for example,
19361    # in the case of _POSIX_SOURCE, which is predefined and required
19362    # on some systems where configure will not decide to define it.
19363    if (defundef == "undef") {
19364      print "/*", prefix defundef, macro, "*/"
19365      next
19366    }
19367  }
19368}
19369{ print }
19370_ACAWK
19371_ACEOF
19372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19373  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19374fi # test -n "$CONFIG_HEADERS"
19375
19376
19377eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19378shift
19379for ac_tag
19380do
19381  case $ac_tag in
19382  :[FHLC]) ac_mode=$ac_tag; continue;;
19383  esac
19384  case $ac_mode$ac_tag in
19385  :[FHL]*:*);;
19386  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19387  :[FH]-) ac_tag=-:-;;
19388  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19389  esac
19390  ac_save_IFS=$IFS
19391  IFS=:
19392  set x $ac_tag
19393  IFS=$ac_save_IFS
19394  shift
19395  ac_file=$1
19396  shift
19397
19398  case $ac_mode in
19399  :L) ac_source=$1;;
19400  :[FH])
19401    ac_file_inputs=
19402    for ac_f
19403    do
19404      case $ac_f in
19405      -) ac_f="$ac_tmp/stdin";;
19406      *) # Look for the file first in the build tree, then in the source tree
19407	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
19408	 # because $ac_f cannot contain `:'.
19409	 test -f "$ac_f" ||
19410	   case $ac_f in
19411	   [\\/$]*) false;;
19412	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19413	   esac ||
19414	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19415      esac
19416      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19417      as_fn_append ac_file_inputs " '$ac_f'"
19418    done
19419
19420    # Let's still pretend it is `configure' which instantiates (i.e., don't
19421    # use $as_me), people would be surprised to read:
19422    #    /* config.h.  Generated by config.status.  */
19423    configure_input='Generated from '`
19424	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19425	`' by configure.'
19426    if test x"$ac_file" != x-; then
19427      configure_input="$ac_file.  $configure_input"
19428      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19429$as_echo "$as_me: creating $ac_file" >&6;}
19430    fi
19431    # Neutralize special characters interpreted by sed in replacement strings.
19432    case $configure_input in #(
19433    *\&* | *\|* | *\\* )
19434       ac_sed_conf_input=`$as_echo "$configure_input" |
19435       sed 's/[\\\\&|]/\\\\&/g'`;; #(
19436    *) ac_sed_conf_input=$configure_input;;
19437    esac
19438
19439    case $ac_tag in
19440    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19441      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19442    esac
19443    ;;
19444  esac
19445
19446  ac_dir=`$as_dirname -- "$ac_file" ||
19447$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19448	 X"$ac_file" : 'X\(//\)[^/]' \| \
19449	 X"$ac_file" : 'X\(//\)$' \| \
19450	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19451$as_echo X"$ac_file" |
19452    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19453	    s//\1/
19454	    q
19455	  }
19456	  /^X\(\/\/\)[^/].*/{
19457	    s//\1/
19458	    q
19459	  }
19460	  /^X\(\/\/\)$/{
19461	    s//\1/
19462	    q
19463	  }
19464	  /^X\(\/\).*/{
19465	    s//\1/
19466	    q
19467	  }
19468	  s/.*/./; q'`
19469  as_dir="$ac_dir"; as_fn_mkdir_p
19470  ac_builddir=.
19471
19472case "$ac_dir" in
19473.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19474*)
19475  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19476  # A ".." for each directory in $ac_dir_suffix.
19477  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19478  case $ac_top_builddir_sub in
19479  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19480  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19481  esac ;;
19482esac
19483ac_abs_top_builddir=$ac_pwd
19484ac_abs_builddir=$ac_pwd$ac_dir_suffix
19485# for backward compatibility:
19486ac_top_builddir=$ac_top_build_prefix
19487
19488case $srcdir in
19489  .)  # We are building in place.
19490    ac_srcdir=.
19491    ac_top_srcdir=$ac_top_builddir_sub
19492    ac_abs_top_srcdir=$ac_pwd ;;
19493  [\\/]* | ?:[\\/]* )  # Absolute name.
19494    ac_srcdir=$srcdir$ac_dir_suffix;
19495    ac_top_srcdir=$srcdir
19496    ac_abs_top_srcdir=$srcdir ;;
19497  *) # Relative name.
19498    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19499    ac_top_srcdir=$ac_top_build_prefix$srcdir
19500    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19501esac
19502ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19503
19504
19505  case $ac_mode in
19506  :F)
19507  #
19508  # CONFIG_FILE
19509  #
19510
19511  case $INSTALL in
19512  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19513  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19514  esac
19515  ac_MKDIR_P=$MKDIR_P
19516  case $MKDIR_P in
19517  [\\/$]* | ?:[\\/]* ) ;;
19518  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19519  esac
19520_ACEOF
19521
19522cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19523# If the template does not know about datarootdir, expand it.
19524# FIXME: This hack should be removed a few years after 2.60.
19525ac_datarootdir_hack=; ac_datarootdir_seen=
19526ac_sed_dataroot='
19527/datarootdir/ {
19528  p
19529  q
19530}
19531/@datadir@/p
19532/@docdir@/p
19533/@infodir@/p
19534/@localedir@/p
19535/@mandir@/p'
19536case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19537*datarootdir*) ac_datarootdir_seen=yes;;
19538*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19539  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19540$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19541_ACEOF
19542cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19543  ac_datarootdir_hack='
19544  s&@datadir@&$datadir&g
19545  s&@docdir@&$docdir&g
19546  s&@infodir@&$infodir&g
19547  s&@localedir@&$localedir&g
19548  s&@mandir@&$mandir&g
19549  s&\\\${datarootdir}&$datarootdir&g' ;;
19550esac
19551_ACEOF
19552
19553# Neutralize VPATH when `$srcdir' = `.'.
19554# Shell code in configure.ac might set extrasub.
19555# FIXME: do we really want to maintain this feature?
19556cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19557ac_sed_extra="$ac_vpsub
19558$extrasub
19559_ACEOF
19560cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19561:t
19562/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19563s|@configure_input@|$ac_sed_conf_input|;t t
19564s&@top_builddir@&$ac_top_builddir_sub&;t t
19565s&@top_build_prefix@&$ac_top_build_prefix&;t t
19566s&@srcdir@&$ac_srcdir&;t t
19567s&@abs_srcdir@&$ac_abs_srcdir&;t t
19568s&@top_srcdir@&$ac_top_srcdir&;t t
19569s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19570s&@builddir@&$ac_builddir&;t t
19571s&@abs_builddir@&$ac_abs_builddir&;t t
19572s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19573s&@INSTALL@&$ac_INSTALL&;t t
19574s&@MKDIR_P@&$ac_MKDIR_P&;t t
19575$ac_datarootdir_hack
19576"
19577eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19578  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19579
19580test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19581  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19582  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
19583      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19584  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19585which seems to be undefined.  Please make sure it is defined" >&5
19586$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19587which seems to be undefined.  Please make sure it is defined" >&2;}
19588
19589  rm -f "$ac_tmp/stdin"
19590  case $ac_file in
19591  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19592  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19593  esac \
19594  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19595 ;;
19596  :H)
19597  #
19598  # CONFIG_HEADER
19599  #
19600  if test x"$ac_file" != x-; then
19601    {
19602      $as_echo "/* $configure_input  */" \
19603      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19604    } >"$ac_tmp/config.h" \
19605      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19606    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19607      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19608$as_echo "$as_me: $ac_file is unchanged" >&6;}
19609    else
19610      rm -f "$ac_file"
19611      mv "$ac_tmp/config.h" "$ac_file" \
19612	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19613    fi
19614  else
19615    $as_echo "/* $configure_input  */" \
19616      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19617      || as_fn_error $? "could not create -" "$LINENO" 5
19618  fi
19619# Compute "$ac_file"'s index in $config_headers.
19620_am_arg="$ac_file"
19621_am_stamp_count=1
19622for _am_header in $config_headers :; do
19623  case $_am_header in
19624    $_am_arg | $_am_arg:* )
19625      break ;;
19626    * )
19627      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19628  esac
19629done
19630echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19631$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19632	 X"$_am_arg" : 'X\(//\)[^/]' \| \
19633	 X"$_am_arg" : 'X\(//\)$' \| \
19634	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19635$as_echo X"$_am_arg" |
19636    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19637	    s//\1/
19638	    q
19639	  }
19640	  /^X\(\/\/\)[^/].*/{
19641	    s//\1/
19642	    q
19643	  }
19644	  /^X\(\/\/\)$/{
19645	    s//\1/
19646	    q
19647	  }
19648	  /^X\(\/\).*/{
19649	    s//\1/
19650	    q
19651	  }
19652	  s/.*/./; q'`/stamp-h$_am_stamp_count
19653 ;;
19654
19655  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19656$as_echo "$as_me: executing $ac_file commands" >&6;}
19657 ;;
19658  esac
19659
19660
19661  case $ac_file$ac_mode in
19662    "libtool":C)
19663
19664    # See if we are running on zsh, and set the options that allow our
19665    # commands through without removal of \ escapes.
19666    if test -n "${ZSH_VERSION+set}"; then
19667      setopt NO_GLOB_SUBST
19668    fi
19669
19670    cfgfile=${ofile}T
19671    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19672    $RM "$cfgfile"
19673
19674    cat <<_LT_EOF >> "$cfgfile"
19675#! $SHELL
19676# Generated automatically by $as_me ($PACKAGE) $VERSION
19677# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19678# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19679
19680# Provide generalized library-building support services.
19681# Written by Gordon Matzigkeit, 1996
19682
19683# Copyright (C) 2014 Free Software Foundation, Inc.
19684# This is free software; see the source for copying conditions.  There is NO
19685# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19686
19687# GNU Libtool is free software; you can redistribute it and/or modify
19688# it under the terms of the GNU General Public License as published by
19689# the Free Software Foundation; either version 2 of of the License, or
19690# (at your option) any later version.
19691#
19692# As a special exception to the GNU General Public License, if you
19693# distribute this file as part of a program or library that is built
19694# using GNU Libtool, you may include this file under the  same
19695# distribution terms that you use for the rest of that program.
19696#
19697# GNU Libtool is distributed in the hope that it will be useful, but
19698# WITHOUT ANY WARRANTY; without even the implied warranty of
19699# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19700# GNU General Public License for more details.
19701#
19702# You should have received a copy of the GNU General Public License
19703# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19704
19705
19706# The names of the tagged configurations supported by this script.
19707available_tags=''
19708
19709# Configured defaults for sys_lib_dlsearch_path munging.
19710: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19711
19712# ### BEGIN LIBTOOL CONFIG
19713
19714# Which release of libtool.m4 was used?
19715macro_version=$macro_version
19716macro_revision=$macro_revision
19717
19718# Whether or not to build static libraries.
19719build_old_libs=$enable_static
19720
19721# Whether or not to build shared libraries.
19722build_libtool_libs=$enable_shared
19723
19724# What type of objects to build.
19725pic_mode=$pic_mode
19726
19727# Whether or not to optimize for fast installation.
19728fast_install=$enable_fast_install
19729
19730# Shared archive member basename,for filename based shared library versioning on AIX.
19731shared_archive_member_spec=$shared_archive_member_spec
19732
19733# Shell to use when invoking shell scripts.
19734SHELL=$lt_SHELL
19735
19736# An echo program that protects backslashes.
19737ECHO=$lt_ECHO
19738
19739# The PATH separator for the build system.
19740PATH_SEPARATOR=$lt_PATH_SEPARATOR
19741
19742# The host system.
19743host_alias=$host_alias
19744host=$host
19745host_os=$host_os
19746
19747# The build system.
19748build_alias=$build_alias
19749build=$build
19750build_os=$build_os
19751
19752# A sed program that does not truncate output.
19753SED=$lt_SED
19754
19755# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19756Xsed="\$SED -e 1s/^X//"
19757
19758# A grep program that handles long lines.
19759GREP=$lt_GREP
19760
19761# An ERE matcher.
19762EGREP=$lt_EGREP
19763
19764# A literal string matcher.
19765FGREP=$lt_FGREP
19766
19767# A BSD- or MS-compatible name lister.
19768NM=$lt_NM
19769
19770# Whether we need soft or hard links.
19771LN_S=$lt_LN_S
19772
19773# What is the maximum length of a command?
19774max_cmd_len=$max_cmd_len
19775
19776# Object file suffix (normally "o").
19777objext=$ac_objext
19778
19779# Executable file suffix (normally "").
19780exeext=$exeext
19781
19782# whether the shell understands "unset".
19783lt_unset=$lt_unset
19784
19785# turn spaces into newlines.
19786SP2NL=$lt_lt_SP2NL
19787
19788# turn newlines into spaces.
19789NL2SP=$lt_lt_NL2SP
19790
19791# convert \$build file names to \$host format.
19792to_host_file_cmd=$lt_cv_to_host_file_cmd
19793
19794# convert \$build files to toolchain format.
19795to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19796
19797# An object symbol dumper.
19798OBJDUMP=$lt_OBJDUMP
19799
19800# Method to check whether dependent libraries are shared objects.
19801deplibs_check_method=$lt_deplibs_check_method
19802
19803# Command to use when deplibs_check_method = "file_magic".
19804file_magic_cmd=$lt_file_magic_cmd
19805
19806# How to find potential files when deplibs_check_method = "file_magic".
19807file_magic_glob=$lt_file_magic_glob
19808
19809# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19810want_nocaseglob=$lt_want_nocaseglob
19811
19812# DLL creation program.
19813DLLTOOL=$lt_DLLTOOL
19814
19815# Command to associate shared and link libraries.
19816sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19817
19818# The archiver.
19819AR=$lt_AR
19820
19821# Flags to create an archive.
19822AR_FLAGS=$lt_AR_FLAGS
19823
19824# How to feed a file listing to the archiver.
19825archiver_list_spec=$lt_archiver_list_spec
19826
19827# A symbol stripping program.
19828STRIP=$lt_STRIP
19829
19830# Commands used to install an old-style archive.
19831RANLIB=$lt_RANLIB
19832old_postinstall_cmds=$lt_old_postinstall_cmds
19833old_postuninstall_cmds=$lt_old_postuninstall_cmds
19834
19835# Whether to use a lock for old archive extraction.
19836lock_old_archive_extraction=$lock_old_archive_extraction
19837
19838# A C compiler.
19839LTCC=$lt_CC
19840
19841# LTCC compiler flags.
19842LTCFLAGS=$lt_CFLAGS
19843
19844# Take the output of nm and produce a listing of raw symbols and C names.
19845global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19846
19847# Transform the output of nm in a proper C declaration.
19848global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19849
19850# Transform the output of nm into a list of symbols to manually relocate.
19851global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19852
19853# Transform the output of nm in a C name address pair.
19854global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19855
19856# Transform the output of nm in a C name address pair when lib prefix is needed.
19857global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19858
19859# The name lister interface.
19860nm_interface=$lt_lt_cv_nm_interface
19861
19862# Specify filename containing input files for \$NM.
19863nm_file_list_spec=$lt_nm_file_list_spec
19864
19865# The root where to search for dependent libraries,and where our libraries should be installed.
19866lt_sysroot=$lt_sysroot
19867
19868# Command to truncate a binary pipe.
19869lt_truncate_bin=$lt_lt_cv_truncate_bin
19870
19871# The name of the directory that contains temporary libtool files.
19872objdir=$objdir
19873
19874# Used to examine libraries when file_magic_cmd begins with "file".
19875MAGIC_CMD=$MAGIC_CMD
19876
19877# Must we lock files when doing compilation?
19878need_locks=$lt_need_locks
19879
19880# Manifest tool.
19881MANIFEST_TOOL=$lt_MANIFEST_TOOL
19882
19883# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19884DSYMUTIL=$lt_DSYMUTIL
19885
19886# Tool to change global to local symbols on Mac OS X.
19887NMEDIT=$lt_NMEDIT
19888
19889# Tool to manipulate fat objects and archives on Mac OS X.
19890LIPO=$lt_LIPO
19891
19892# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19893OTOOL=$lt_OTOOL
19894
19895# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19896OTOOL64=$lt_OTOOL64
19897
19898# Old archive suffix (normally "a").
19899libext=$libext
19900
19901# Shared library suffix (normally ".so").
19902shrext_cmds=$lt_shrext_cmds
19903
19904# The commands to extract the exported symbol list from a shared archive.
19905extract_expsyms_cmds=$lt_extract_expsyms_cmds
19906
19907# Variables whose values should be saved in libtool wrapper scripts and
19908# restored at link time.
19909variables_saved_for_relink=$lt_variables_saved_for_relink
19910
19911# Do we need the "lib" prefix for modules?
19912need_lib_prefix=$need_lib_prefix
19913
19914# Do we need a version for libraries?
19915need_version=$need_version
19916
19917# Library versioning type.
19918version_type=$version_type
19919
19920# Shared library runtime path variable.
19921runpath_var=$runpath_var
19922
19923# Shared library path variable.
19924shlibpath_var=$shlibpath_var
19925
19926# Is shlibpath searched before the hard-coded library search path?
19927shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19928
19929# Format of library name prefix.
19930libname_spec=$lt_libname_spec
19931
19932# List of archive names.  First name is the real one, the rest are links.
19933# The last name is the one that the linker finds with -lNAME
19934library_names_spec=$lt_library_names_spec
19935
19936# The coded name of the library, if different from the real name.
19937soname_spec=$lt_soname_spec
19938
19939# Permission mode override for installation of shared libraries.
19940install_override_mode=$lt_install_override_mode
19941
19942# Command to use after installation of a shared archive.
19943postinstall_cmds=$lt_postinstall_cmds
19944
19945# Command to use after uninstallation of a shared archive.
19946postuninstall_cmds=$lt_postuninstall_cmds
19947
19948# Commands used to finish a libtool library installation in a directory.
19949finish_cmds=$lt_finish_cmds
19950
19951# As "finish_cmds", except a single script fragment to be evaled but
19952# not shown.
19953finish_eval=$lt_finish_eval
19954
19955# Whether we should hardcode library paths into libraries.
19956hardcode_into_libs=$hardcode_into_libs
19957
19958# Compile-time system search path for libraries.
19959sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19960
19961# Detected run-time system search path for libraries.
19962sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19963
19964# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19965configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19966
19967# Whether dlopen is supported.
19968dlopen_support=$enable_dlopen
19969
19970# Whether dlopen of programs is supported.
19971dlopen_self=$enable_dlopen_self
19972
19973# Whether dlopen of statically linked programs is supported.
19974dlopen_self_static=$enable_dlopen_self_static
19975
19976# Commands to strip libraries.
19977old_striplib=$lt_old_striplib
19978striplib=$lt_striplib
19979
19980
19981# The linker used to build libraries.
19982LD=$lt_LD
19983
19984# How to create reloadable object files.
19985reload_flag=$lt_reload_flag
19986reload_cmds=$lt_reload_cmds
19987
19988# Commands used to build an old-style archive.
19989old_archive_cmds=$lt_old_archive_cmds
19990
19991# A language specific compiler.
19992CC=$lt_compiler
19993
19994# Is the compiler the GNU compiler?
19995with_gcc=$GCC
19996
19997# Compiler flag to turn off builtin functions.
19998no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19999
20000# Additional compiler flags for building library objects.
20001pic_flag=$lt_lt_prog_compiler_pic
20002
20003# How to pass a linker flag through the compiler.
20004wl=$lt_lt_prog_compiler_wl
20005
20006# Compiler flag to prevent dynamic linking.
20007link_static_flag=$lt_lt_prog_compiler_static
20008
20009# Does compiler simultaneously support -c and -o options?
20010compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20011
20012# Whether or not to add -lc for building shared libraries.
20013build_libtool_need_lc=$archive_cmds_need_lc
20014
20015# Whether or not to disallow shared libs when runtime libs are static.
20016allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20017
20018# Compiler flag to allow reflexive dlopens.
20019export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20020
20021# Compiler flag to generate shared objects directly from archives.
20022whole_archive_flag_spec=$lt_whole_archive_flag_spec
20023
20024# Whether the compiler copes with passing no objects directly.
20025compiler_needs_object=$lt_compiler_needs_object
20026
20027# Create an old-style archive from a shared archive.
20028old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20029
20030# Create a temporary old-style archive to link instead of a shared archive.
20031old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20032
20033# Commands used to build a shared archive.
20034archive_cmds=$lt_archive_cmds
20035archive_expsym_cmds=$lt_archive_expsym_cmds
20036
20037# Commands used to build a loadable module if different from building
20038# a shared archive.
20039module_cmds=$lt_module_cmds
20040module_expsym_cmds=$lt_module_expsym_cmds
20041
20042# Whether we are building with GNU ld or not.
20043with_gnu_ld=$lt_with_gnu_ld
20044
20045# Flag that allows shared libraries with undefined symbols to be built.
20046allow_undefined_flag=$lt_allow_undefined_flag
20047
20048# Flag that enforces no undefined symbols.
20049no_undefined_flag=$lt_no_undefined_flag
20050
20051# Flag to hardcode \$libdir into a binary during linking.
20052# This must work even if \$libdir does not exist
20053hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20054
20055# Whether we need a single "-rpath" flag with a separated argument.
20056hardcode_libdir_separator=$lt_hardcode_libdir_separator
20057
20058# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20059# DIR into the resulting binary.
20060hardcode_direct=$hardcode_direct
20061
20062# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20063# DIR into the resulting binary and the resulting library dependency is
20064# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20065# library is relocated.
20066hardcode_direct_absolute=$hardcode_direct_absolute
20067
20068# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20069# into the resulting binary.
20070hardcode_minus_L=$hardcode_minus_L
20071
20072# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20073# into the resulting binary.
20074hardcode_shlibpath_var=$hardcode_shlibpath_var
20075
20076# Set to "yes" if building a shared library automatically hardcodes DIR
20077# into the library and all subsequent libraries and executables linked
20078# against it.
20079hardcode_automatic=$hardcode_automatic
20080
20081# Set to yes if linker adds runtime paths of dependent libraries
20082# to runtime path list.
20083inherit_rpath=$inherit_rpath
20084
20085# Whether libtool must link a program against all its dependency libraries.
20086link_all_deplibs=$link_all_deplibs
20087
20088# Set to "yes" if exported symbols are required.
20089always_export_symbols=$always_export_symbols
20090
20091# The commands to list exported symbols.
20092export_symbols_cmds=$lt_export_symbols_cmds
20093
20094# Symbols that should not be listed in the preloaded symbols.
20095exclude_expsyms=$lt_exclude_expsyms
20096
20097# Symbols that must always be exported.
20098include_expsyms=$lt_include_expsyms
20099
20100# Commands necessary for linking programs (against libraries) with templates.
20101prelink_cmds=$lt_prelink_cmds
20102
20103# Commands necessary for finishing linking programs.
20104postlink_cmds=$lt_postlink_cmds
20105
20106# Specify filename containing input files.
20107file_list_spec=$lt_file_list_spec
20108
20109# How to hardcode a shared library path into an executable.
20110hardcode_action=$hardcode_action
20111
20112# ### END LIBTOOL CONFIG
20113
20114_LT_EOF
20115
20116    cat <<'_LT_EOF' >> "$cfgfile"
20117
20118# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20119
20120# func_munge_path_list VARIABLE PATH
20121# -----------------------------------
20122# VARIABLE is name of variable containing _space_ separated list of
20123# directories to be munged by the contents of PATH, which is string
20124# having a format:
20125# "DIR[:DIR]:"
20126#       string "DIR[ DIR]" will be prepended to VARIABLE
20127# ":DIR[:DIR]"
20128#       string "DIR[ DIR]" will be appended to VARIABLE
20129# "DIRP[:DIRP]::[DIRA:]DIRA"
20130#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20131#       "DIRA[ DIRA]" will be appended to VARIABLE
20132# "DIR[:DIR]"
20133#       VARIABLE will be replaced by "DIR[ DIR]"
20134func_munge_path_list ()
20135{
20136    case x$2 in
20137    x)
20138        ;;
20139    *:)
20140        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20141        ;;
20142    x:*)
20143        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20144        ;;
20145    *::*)
20146        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20147        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20148        ;;
20149    *)
20150        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20151        ;;
20152    esac
20153}
20154
20155
20156# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
20157func_cc_basename ()
20158{
20159    for cc_temp in $*""; do
20160      case $cc_temp in
20161        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20162        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20163        \-*) ;;
20164        *) break;;
20165      esac
20166    done
20167    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20168}
20169
20170
20171# ### END FUNCTIONS SHARED WITH CONFIGURE
20172
20173_LT_EOF
20174
20175  case $host_os in
20176  aix3*)
20177    cat <<\_LT_EOF >> "$cfgfile"
20178# AIX sometimes has problems with the GCC collect2 program.  For some
20179# reason, if we set the COLLECT_NAMES environment variable, the problems
20180# vanish in a puff of smoke.
20181if test set != "${COLLECT_NAMES+set}"; then
20182  COLLECT_NAMES=
20183  export COLLECT_NAMES
20184fi
20185_LT_EOF
20186    ;;
20187  esac
20188
20189
20190ltmain=$ac_aux_dir/ltmain.sh
20191
20192
20193  # We use sed instead of cat because bash on DJGPP gets confused if
20194  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20195  # text mode, it properly converts lines to CR/LF.  This bash problem
20196  # is reportedly fixed, but why not run on old versions too?
20197  sed '$q' "$ltmain" >> "$cfgfile" \
20198     || (rm -f "$cfgfile"; exit 1)
20199
20200   mv -f "$cfgfile" "$ofile" ||
20201    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20202  chmod +x "$ofile"
20203
20204 ;;
20205    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20206  # Older Autoconf quotes --file arguments for eval, but not when files
20207  # are listed without --file.  Let's play safe and only enable the eval
20208  # if we detect the quoting.
20209  case $CONFIG_FILES in
20210  *\'*) eval set x "$CONFIG_FILES" ;;
20211  *)   set x $CONFIG_FILES ;;
20212  esac
20213  shift
20214  for mf
20215  do
20216    # Strip MF so we end up with the name of the file.
20217    mf=`echo "$mf" | sed -e 's/:.*$//'`
20218    # Check whether this is an Automake generated Makefile or not.
20219    # We used to match only the files named 'Makefile.in', but
20220    # some people rename them; so instead we look at the file content.
20221    # Grep'ing the first line is not enough: some people post-process
20222    # each Makefile.in and add a new line on top of each file to say so.
20223    # Grep'ing the whole file is not good either: AIX grep has a line
20224    # limit of 2048, but all sed's we know have understand at least 4000.
20225    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20226      dirpart=`$as_dirname -- "$mf" ||
20227$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20228	 X"$mf" : 'X\(//\)[^/]' \| \
20229	 X"$mf" : 'X\(//\)$' \| \
20230	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20231$as_echo X"$mf" |
20232    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20233	    s//\1/
20234	    q
20235	  }
20236	  /^X\(\/\/\)[^/].*/{
20237	    s//\1/
20238	    q
20239	  }
20240	  /^X\(\/\/\)$/{
20241	    s//\1/
20242	    q
20243	  }
20244	  /^X\(\/\).*/{
20245	    s//\1/
20246	    q
20247	  }
20248	  s/.*/./; q'`
20249    else
20250      continue
20251    fi
20252    # Extract the definition of DEPDIR, am__include, and am__quote
20253    # from the Makefile without running 'make'.
20254    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20255    test -z "$DEPDIR" && continue
20256    am__include=`sed -n 's/^am__include = //p' < "$mf"`
20257    test -z "$am__include" && continue
20258    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20259    # Find all dependency output files, they are included files with
20260    # $(DEPDIR) in their names.  We invoke sed twice because it is the
20261    # simplest approach to changing $(DEPDIR) to its actual value in the
20262    # expansion.
20263    for file in `sed -n "
20264      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20265	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20266      # Make sure the directory exists.
20267      test -f "$dirpart/$file" && continue
20268      fdir=`$as_dirname -- "$file" ||
20269$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20270	 X"$file" : 'X\(//\)[^/]' \| \
20271	 X"$file" : 'X\(//\)$' \| \
20272	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20273$as_echo X"$file" |
20274    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20275	    s//\1/
20276	    q
20277	  }
20278	  /^X\(\/\/\)[^/].*/{
20279	    s//\1/
20280	    q
20281	  }
20282	  /^X\(\/\/\)$/{
20283	    s//\1/
20284	    q
20285	  }
20286	  /^X\(\/\).*/{
20287	    s//\1/
20288	    q
20289	  }
20290	  s/.*/./; q'`
20291      as_dir=$dirpart/$fdir; as_fn_mkdir_p
20292      # echo "creating $dirpart/$file"
20293      echo '# dummy' > "$dirpart/$file"
20294    done
20295  done
20296}
20297 ;;
20298    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
20299        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
20300      esac ;;
20301    "po/stamp-it":C)
20302    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20303       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20304    fi
20305    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20306    >"po/stamp-it.tmp"
20307    sed '/^#/d
20308	 s/^[[].*] *//
20309	 /^[ 	]*$/d
20310	'"s|^|	$ac_top_srcdir/|" \
20311      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20312
20313    sed '/^POTFILES =/,/[^\\]$/ {
20314		/^POTFILES =/!d
20315		r po/POTFILES
20316	  }
20317	 ' "po/Makefile.in" >"po/Makefile"
20318    rm -f "po/Makefile.tmp"
20319    mv "po/stamp-it.tmp" "po/stamp-it"
20320   ;;
20321
20322  esac
20323done # for ac_tag
20324
20325
20326as_fn_exit 0
20327_ACEOF
20328ac_clean_files=$ac_clean_files_save
20329
20330test $ac_write_fail = 0 ||
20331  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20332
20333
20334# configure is writing to config.log, and then calls config.status.
20335# config.status does its own redirection, appending to config.log.
20336# Unfortunately, on DOS this fails, as config.log is still kept open
20337# by configure, so config.status won't be able to write to it; its
20338# output is simply discarded.  So we exec the FD to /dev/null,
20339# effectively closing config.log, so it can be properly (re)opened and
20340# appended to by config.status.  When coming back to configure, we
20341# need to make the FD available again.
20342if test "$no_create" != yes; then
20343  ac_cs_success=:
20344  ac_config_status_args=
20345  test "$silent" = yes &&
20346    ac_config_status_args="$ac_config_status_args --quiet"
20347  exec 5>/dev/null
20348  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20349  exec 5>>config.log
20350  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20351  # would make configure fail if this is the last instruction.
20352  $ac_cs_success || as_fn_exit 1
20353fi
20354if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20355  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20356$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20357fi
20358
20359
20360cat rodent-pkg.settings
20361echo "Build: $build"
20362
20363echo 'CFLAGS:' $CFLAGS
20364echo 'LDFLAGS:' $LDFLAGS
20365
20366if test "$ac_uname_s" = "Linux"; then
20367 echo 'Now do a make && sudo make install && sudo ldconfig'
20368else
20369 echo 'ATTENTION BSD user: Use gmake instead of make,'
20370 echo 'otherwise make process will halt with an error while building'
20371 echo 'translations.'
20372 echo '...'
20373 echo 'Now do a gmake && sudo gmake install && sudo ldconfig'
20374fi
20375
20376
20377
20378
20379